minetest-mm/mods/plantlife_modpack/dryplants/moregrass.lua

31 lines
835 B
Lua
Raw Normal View History

2020-10-26 17:38:53 +01:00
-----------------------------------------------------------------------------------------------
-- Grasses - More Tall Grass 0.0.2
-----------------------------------------------------------------------------------------------
-- by Mossmanikin
-- Contains code from: biome_lib
-- Looked at code from: default
-----------------------------------------------------------------------------------------------
2021-07-24 12:22:10 +02:00
biome_lib.register_on_generate(
2021-04-10 09:51:05 +02:00
{
surface = {
"default:dirt_with_grass",
"stoneage:grass_with_silex",
"sumpf:peat",
"sumpf:sumpf"
},
max_count = TALL_GRASS_PER_MAPBLOCK,
rarity = 101 - TALL_GRASS_RARITY,
min_elevation = 1, -- above sea level
plantlife_limit = -0.9,
check_air = true,
2020-10-26 17:38:53 +01:00
},
2021-04-10 09:51:05 +02:00
{ "default:grass_1",
"default:grass_2",
"default:grass_3",
"default:grass_4",
"default:grass_5"
}
2020-10-26 17:38:53 +01:00
)