minerals.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- Note: these 4 ores do NOT give extra drops when blasted with TNT.
  2. minetest.register_node("xtraores:basalt_with_nickel", {
  3. description = "Nickel Ore",
  4. tiles = {"darkage_basalt.png^xtraores_mineral_nickel.png"},
  5. groups = utility.dig_groups("mineral", {ore = 1}),
  6. drop = 'xtraores:nickel_ore',
  7. silverpick_drop = true,
  8. sounds = default.node_sound_stone_defaults(),
  9. place_param2 = 10,
  10. })
  11. minetest.register_node("xtraores:basalt_with_platinum", {
  12. description = "Platinum Ore",
  13. tiles = {"darkage_basalt.png^xtraores_mineral_platinum.png"},
  14. groups = utility.dig_groups("mineral", {ore = 1}),
  15. drop = 'xtraores:platinum_ore',
  16. silverpick_drop = true,
  17. sounds = default.node_sound_stone_defaults(),
  18. place_param2 = 10,
  19. })
  20. minetest.register_node("xtraores:basalt_with_palladium", {
  21. description = "Palladium Ore",
  22. tiles = {"darkage_basalt.png^xtraores_mineral_palladium.png"},
  23. groups = utility.dig_groups("mineral", {ore = 1}),
  24. drop = 'xtraores:palladium_ore',
  25. silverpick_drop = true,
  26. sounds = default.node_sound_stone_defaults(),
  27. place_param2 = 10,
  28. })
  29. minetest.register_node("xtraores:basalt_with_cobalt", {
  30. description = "Cobalt Ore",
  31. tiles = {"darkage_basalt.png^xtraores_mineral_cobalt.png"},
  32. groups = utility.dig_groups("mineral", {ore = 1}),
  33. drop = 'xtraores:cobalt_ore',
  34. silverpick_drop = true,
  35. sounds = default.node_sound_stone_defaults(),
  36. place_param2 = 10,
  37. })