2013-01-27 14:01:10 +01:00
|
|
|
This mod adds swamps to minetest.
|
|
|
|
If you have got some ideas, tell them to me.
|
2013-01-27 13:54:27 +01:00
|
|
|
|
2013-01-27 14:01:10 +01:00
|
|
|
**Depends:** [jungletree, habitat,](http://minetest.net/forum/viewtopic.php?pid=39943#p39943) default
|
|
|
|
**License:** GPL *(sounds)*, WTFPL *(code, textures except birch)*
|
2013-01-27 13:54:27 +01:00
|
|
|
|
2013-01-27 14:01:10 +01:00
|
|
|
*Delete following lines of the jungletree mod:*
|
2013-01-27 14:04:22 +01:00
|
|
|
`--function anti_generate(node, surfaces, minp, maxp, height_min, height_max, spread, habitat_size, habitat_nodes)
|
2013-01-27 14:04:46 +01:00
|
|
|
minetest.register_on_generated(function(minp, maxp, seed)
|
|
|
|
generate("jungletree:sapling", {"default:dirt_with_grass"}, minp, maxp, 0, 20, 10, 50, {"default:water_source"}, 30, {"default:desert_sand"})
|
2013-01-27 14:03:30 +01:00
|
|
|
end)`
|