update vines from upstream

This commit is contained in:
Vanessa Ezekowitz
2015-03-01 12:25:54 -05:00
parent f0e3c1052a
commit 7059756929
2 changed files with 24 additions and 15 deletions

View File

@ -1,6 +1,5 @@
vines.register_vine = function( name, defs, biome )
--different properties for bottom and side vines.
local selection_box
local biome = biome
local groups = { vines=1, snappy=3, flammable=2 }
local vine_name_end = 'vines:'..name..'_end'
@ -19,6 +18,7 @@ vines.register_vine = function( name, defs, biome )
local selection_box = { type = "wallmounted", }
local drawtype = 'signlike'
if ( not biome.spawn_on_side ) then
--different properties for bottom and side vines.
selection_box = { type = "fixed", fixed = { -0.4, -1/2, -0.4, 0.4, 1/2, 0.4 }, }
drawtype = 'plantlike'
end