mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-15 22:30:43 +02:00
Imported dryplants and ferns mods and all components of the Undergrowth modpack
This commit is contained in:
27
dryplants/meadowvariation.lua
Normal file
27
dryplants/meadowvariation.lua
Normal file
@ -0,0 +1,27 @@
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Grasses - Meadow Variation 0.0.1
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- by Mossmanikin
|
||||
|
||||
-- License (everything): WTFPL
|
||||
-- Contains code from: plants_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.add_node(right_here, {name="dryplants:grass_short"})
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
surface = {
|
||||
"default:dirt_with_grass",
|
||||
},
|
||||
max_count = 4800,
|
||||
rarity = 25,
|
||||
min_elevation = 1, -- above sea level
|
||||
plantlife_limit = -0.9,
|
||||
check_air = false,
|
||||
},
|
||||
"abstract_dryplants.grow_grass_variation"
|
||||
)
|
Reference in New Issue
Block a user