Repository for the io_moon mod.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mapgen.lua 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --minetest.clear_registered_ores()
  2. minetest.clear_registered_biomes()
  3. minetest.clear_registered_decorations()
  4. --normal io biome
  5. minetest.register_biome({
  6. name = "io_moon",
  7. --node_dust = "default:gravel",
  8. node_top = "io_moon:ground_rocks",
  9. depth_top = 1,
  10. node_filler = "io_moon:stone",
  11. depth_filler = 3,
  12. node_stone = "io_moon:stone",
  13. node_water_top = "default:lava_source",
  14. depth_water_top = 1 ,
  15. node_water = "default:lava_source",
  16. node_river_water = "default:lava_source",
  17. y_min = -31000,
  18. y_max = 200,
  19. heat_point = 100,
  20. humidity_point = 0,
  21. })
  22. --lava ore
  23. minetest.register_ore({
  24. ore_type = "scatter",
  25. ore = "default:lava_source",
  26. wherein = "io_moon:stone",
  27. clust_scarcity = 9 * 9 * 9,
  28. clust_num_ores = 12,
  29. clust_size = 3,
  30. y_min = -31000,
  31. y_max = 31000,
  32. })
  33. minetest.register_ore({
  34. ore_type = "scatter",
  35. ore = "default:lava_source",
  36. wherein = "io_moon:ground_rocks",
  37. clust_scarcity = 12 * 12 * 12,
  38. clust_num_ores = 15,
  39. clust_size = 5,
  40. y_min = -31000,
  41. y_max = 31000,
  42. })