1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-17 07:10:29 +02:00

Remove biome_lib dep from dryplants (#63)

This commit is contained in:
Niklp
2023-10-26 17:53:09 +02:00
committed by GitHub
parent 3fce92a9f5
commit fbd4aaf034
7 changed files with 201 additions and 193 deletions

View File

@ -1,30 +1,20 @@
-----------------------------------------------------------------------------------------------
-- Grasses - More Tall Grass 0.0.2
-----------------------------------------------------------------------------------------------
-- by Mossmanikin
-- Contains code from: biome_lib
-- Looked at code from: default
-----------------------------------------------------------------------------------------------
biome_lib.register_on_generate(
{
surface = {
"default:dirt_with_grass",
"stoneage:grass_with_silex",
"sumpf:peat",
"sumpf:sumpf"
},
max_count = 4800,
rarity = 101 - 75,
min_elevation = 1, -- above sea level
plantlife_limit = -0.9,
check_air = true,
},
{ "default:grass_1",
minetest.register_decoration({
decoration = {
"default:grass_1",
"default:grass_2",
"default:grass_3",
"default:grass_4",
"default:grass_5"
}
)
},
fill_ratio = 0.8,
y_min = 1,
y_max = 40,
place_on = {
"default:dirt_with_grass",
"stoneage:grass_with_silex",
"sumpf:peat",
"sumpf:sumpf"
},
deco_type = "simple",
flags = "all_floors"
})