config.lua 671 B

123456789101112131415161718192021222324252627
  1. treasures.max_level = tonumber(minetest.settings:get("treasures.max_level")) or 5
  2. treasures.registered_treasures={}
  3. treasures.treasure_default={
  4. is_ground_content = true,
  5. groups = {cracky = 3, choppy = 3},
  6. sounds = default.node_sound_wood_defaults(),
  7. drop = {
  8. max_items = 5,
  9. items = {
  10. {items = {'default:torch 10'},rarity = 15,},
  11. {items = {'default:apple 3'},rarity = 15,},
  12. {items = {'default:coal_lump 3'},rarity = 15,},
  13. }
  14. },
  15. }
  16. treasures.map_def={ore_type = "scatter",
  17. wherein = "default:stone",
  18. clust_scarcity = 10 * 10 * 10,
  19. clust_num_ores = 1,
  20. clust_size = 1,
  21. y_min = (-31000),
  22. y_max = 0,
  23. }