wells.lua 890 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. local modname = minetest.get_current_modname()
  2. local wherein =
  3. {
  4. modname .. ":stone",
  5. modname .. ":sand",
  6. modname .. ":grass",
  7. modname .. ":dirt",
  8. }
  9. minetest.register_ore(
  10. {
  11. ore_type = "scatter",
  12. ore = modname .. ":river_water_source",
  13. wherein = wherein,
  14. clust_scarcity = 2,
  15. clust_num_ores = 25,
  16. clust_size = 3,
  17. y_min = -31000,
  18. y_max = 0,
  19. noise_threshold = 0.3,
  20. noise_params =
  21. {
  22. offset = 0,
  23. scale = 0.3,
  24. spread = {x = 20, y = 200, z = 20},
  25. seed = 48294,
  26. octaves = 2,
  27. persist = 0.6,
  28. }
  29. })
  30. minetest.register_ore(
  31. {
  32. ore_type = "scatter",
  33. ore = "air",
  34. wherein = wherein,
  35. clust_scarcity = 2,
  36. clust_num_ores = 13,
  37. clust_size = 3,
  38. y_min = 0,
  39. y_max = 20,
  40. noise_threshold = 0.3,
  41. noise_params =
  42. {
  43. offset = 0,
  44. scale = 0.3,
  45. spread = {x = 20, y = 200, z = 20},
  46. seed = 48294,
  47. octaves = 2,
  48. persist = 0.6,
  49. }
  50. })