1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +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

0
mods/plantlife_modpack/vines/LICENSE.md Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/README.md Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/aliases.lua Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/crafts.lua Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/depends.txt Normal file → Executable file
View File

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

0
mods/plantlife_modpack/vines/init.lua Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/nodes.lua Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/recipes.lua Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/shear.lua Normal file → Executable file
View File

0
mods/plantlife_modpack/vines/textures/vines_item.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 167 B

View File

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 497 B

View File

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 481 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 201 B

0
mods/plantlife_modpack/vines/textures/vines_rope.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 106 B

View File

Before

Width:  |  Height:  |  Size: 118 B

After

Width:  |  Height:  |  Size: 118 B

0
mods/plantlife_modpack/vines/textures/vines_shears.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 194 B

View File

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 247 B

View File

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 225 B

View File

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 364 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 226 B

View File

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 196 B

29
mods/plantlife_modpack/vines/vines.lua Normal file → Executable file
View File

@ -27,10 +27,10 @@ vines.register_vine( 'vine', {
spawn_chance = 100,
spawn_surfaces = {
"default:leaves",
"default:jungleleave",
"moretrees:jungetree_leaves_red",
"moretrees:jungetree_leaves_yellow",
"moretrees:jungetree_leaves_green"
"default:jungleleaves",
"moretrees:jungletree_leaves_red",
"moretrees:jungletree_leaves_yellow",
"moretrees:jungletree_leaves_green"
},
spawn_on_bottom = true,
plantlife_limit = -0.9,
@ -39,10 +39,10 @@ vines.register_vine( 'vine', {
vines.register_vine( 'side', {
description = "Vines",
average_length = 3,
average_length = 6,
},{
choose_random_wall = true,
avoid_nodes = {"group:vines"},
avoid_nodes = {"group:vines", "default:apple"},
choose_random_wall = true,
avoid_radius = 3,
spawn_delay = 500,
@ -59,12 +59,21 @@ vines.register_vine( 'side', {
humidity_min = 0.4,
})
vines.register_vine( 'jungle', {
vines.register_vine( "jungle", {
description = "Jungle Vines",
average_length = 7,
},{
choose_random_wall = true,
avoid_nodes = {"group:vines"},
neighbors = {
"default:jungleleaves",
"moretrees:jungletree_leaves_red",
"moretrees:jungletree_leaves_yellow",
"moretrees:jungletree_leaves_green"
},
avoid_nodes = {
"vines:jungle_middle",
"vines:jungle_end",
},
avoid_radius = 5,
spawn_delay = 500,
spawn_chance = 100,
@ -73,7 +82,7 @@ vines.register_vine( 'jungle', {
"moretrees:jungletree_trunk"
},
spawn_on_side = true,
plantlife_limit = -0.4,
plantlife_limit = -0.9,
humidity_min = 0.2,
})
@ -86,8 +95,8 @@ vines.register_vine( 'willow', {
avoid_radius = 5,
near_nodes = { 'default:water_source' },
near_nodes_size = 1,
near_nodes_vertical = 7,
near_nodes_count = 1,
near_nodes_vertical = 7,
plantlife_limit = -0.8,
spawn_chance = 10,
spawn_delay = 500,