1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-26 11:30:19 +02:00

Update home decor and plantlife

more mesh on homedecor, and important performance upgrade for plantlife
This commit is contained in:
Ombridride
2015-03-02 21:55:02 +01:00
parent 989b94df71
commit ef8497f9b2
2267 changed files with 3507 additions and 586 deletions

4
mods/plantlife_modpack/vines/functions.lua Normal file → Executable file
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