2014-08-12 21:08:11 +02:00
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Grasses - Meadow Variation 0.0.1
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- by Mossmanikin
|
|
|
|
|
|
|
|
-- License (everything): WTFPL
|
2015-08-09 16:11:30 +02:00
|
|
|
-- Contains code from: biome_lib
|
2014-08-12 21:08:11 +02:00
|
|
|
-- Looked at code from: default
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
abstract_dryplants.grow_grass_variation = function(pos)
|
|
|
|
local right_here = {x=pos.x, y=pos.y, z=pos.z}
|
2014-08-16 01:34:15 +02:00
|
|
|
minetest.set_node(right_here, {name="dryplants:grass_short"})
|
2014-08-12 21:08:11 +02:00
|
|
|
end
|
|
|
|
|
2015-08-09 16:11:30 +02:00
|
|
|
biome_lib:register_generate_plant({
|
2014-08-12 21:08:11 +02:00
|
|
|
surface = {
|
|
|
|
"default:dirt_with_grass",
|
|
|
|
},
|
|
|
|
max_count = 4800,
|
|
|
|
rarity = 25,
|
|
|
|
min_elevation = 1, -- above sea level
|
|
|
|
plantlife_limit = -0.9,
|
|
|
|
},
|
2014-08-15 16:09:01 +02:00
|
|
|
abstract_dryplants.grow_grass_variation
|
2014-08-13 05:19:51 +02:00
|
|
|
)
|