2013-01-27 13:54:27 +01:00
|
|
|
This mod adds swamps to minetest.
|
|
|
|
If you have got some ideas, tell them to me.
|
|
|
|
|
2013-01-27 13:55:32 +01:00
|
|
|
Depends: http://minetest.net/forum/viewtopic.php?pid=39943#p39943 jungletree, habitat, default
|
|
|
|
License: GPL (sounds), WTFPL (code, textures except birch)
|
2013-01-27 13:54:27 +01:00
|
|
|
|
|
|
|
[quote][i]Delete following lines of the jungletree mod:[/i][code]--function anti_generate(node, surfaces, minp, maxp, height_min, height_max, spread, habitat_size, habitat_nodes)
|
|
|
|
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"})
|
|
|
|
end)[/code][/quote]
|