mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-02-03 20:00:23 +01:00
translate horsetail.lua
This commit is contained in:
parent
3c390beb0f
commit
21816e5a43
@ -73,16 +73,17 @@ create_nodes()
|
|||||||
-- Generating
|
-- Generating
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
biome_lib.register_on_generate({
|
minetest.register_decoration({ -- near trees (woodlands)
|
||||||
surface = {
|
decoration = node_names,
|
||||||
|
deco_type = "simple",
|
||||||
|
flags = "all_floors",
|
||||||
|
place_on = {
|
||||||
"default:dirt_with_grass",
|
"default:dirt_with_grass",
|
||||||
"default:dirt_with_coniferous_litter", -- minetest >= 0.5
|
"default:dirt_with_coniferous_litter",
|
||||||
"sumpf:sumpf"
|
"sumpf:sumpf"
|
||||||
},
|
},
|
||||||
max_count = 35,
|
y_min = 1, -- above sea level
|
||||||
rarity = 40,
|
spawn_by = {
|
||||||
min_elevation = 1, -- above sea level
|
|
||||||
near_nodes = {
|
|
||||||
"group:water", -- likes water (of course)
|
"group:water", -- likes water (of course)
|
||||||
"default:gravel", -- near those on gravel
|
"default:gravel", -- near those on gravel
|
||||||
"default:sand", -- some like sand
|
"default:sand", -- some like sand
|
||||||
@ -92,34 +93,21 @@ biome_lib.register_on_generate({
|
|||||||
"default:cobble",
|
"default:cobble",
|
||||||
"sumpf:sumpf"
|
"sumpf:sumpf"
|
||||||
},
|
},
|
||||||
near_nodes_size = 3,
|
num_spawn_by = 1,
|
||||||
near_nodes_vertical = 2,--3,
|
fill_ratio = 0.1,
|
||||||
near_nodes_count = 1,
|
})
|
||||||
plantlife_limit = -0.9,
|
|
||||||
humidity_min = 0.4,
|
|
||||||
temp_max = -0.5, -- 55 °C
|
|
||||||
temp_min = 0.53, -- 0 °C, dies back in winter
|
|
||||||
--random_facedir = { 0, 179 },
|
|
||||||
},
|
|
||||||
node_names
|
|
||||||
)
|
|
||||||
|
|
||||||
biome_lib.register_on_generate({
|
minetest.register_decoration({ -- near trees (woodlands)
|
||||||
surface = {
|
decoration = node_names,
|
||||||
|
deco_type = "simple",
|
||||||
|
flags = "all_floors",
|
||||||
|
place_on = {
|
||||||
"default:gravel", -- roots go deep
|
"default:gravel", -- roots go deep
|
||||||
"default:mossycobble",
|
"default:mossycobble",
|
||||||
"stoneage:dirt_with_silex",
|
"stoneage:dirt_with_silex",
|
||||||
"stoneage:grass_with_silex",
|
"stoneage:grass_with_silex",
|
||||||
"stoneage:sand_with_silex", -- roots go deep
|
"stoneage:sand_with_silex", -- roots go deep
|
||||||
},
|
},
|
||||||
max_count = 35,
|
y_min = 1, -- above sea level
|
||||||
rarity = 20,
|
fill_ratio = 0.1,
|
||||||
min_elevation = 1, -- above sea level
|
})
|
||||||
plantlife_limit = -0.9,
|
|
||||||
humidity_min = 0.4,
|
|
||||||
temp_max = -0.5, -- 55 °C
|
|
||||||
temp_min = 0.53, -- 0 °C, dies back in winter
|
|
||||||
--random_facedir = { 0, 179 },
|
|
||||||
},
|
|
||||||
node_names
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user