1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-05 18:00:28 +01:00
plantlife_modpack/dryplants/meadowvariation.lua
Vanessa Dannenberg a2976c609a update all generate, spawn, and grow calls
to use "." instead of ":" notation
(quells all those "deprecated" warnings)
2021-07-19 14:18:01 -04:00

26 lines
821 B
Lua

-----------------------------------------------------------------------------------------------
-- Grasses - Meadow Variation 0.0.1
-----------------------------------------------------------------------------------------------
-- by Mossmanikin
-- Contains code from: biome_lib
-- Looked at code from: default
-----------------------------------------------------------------------------------------------
abstract_dryplants.grow_grass_variation = function(pos)
local right_here = {x=pos.x, y=pos.y, z=pos.z}
minetest.swap_node(right_here, {name="dryplants:grass_short"})
end
biome_lib.register_on_generate({
surface = {
"default:dirt_with_grass",
},
max_count = 4800,
rarity = 25,
min_elevation = 1, -- above sea level
plantlife_limit = -0.9,
},
abstract_dryplants.grow_grass_variation
)