Advertisement
Guest User

Untitled

a guest
Feb 17th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. minetest.register_node("survivalplus:nickel_ore", {
  2. description = "Nickel Ore",
  3. drawtype = "scatter",
  4. tiles = {"survivalplus_nickel_ore.png"},
  5. is_ground_content = true,
  6. groups = {cracky=3, stone=1},
  7. drop = "survivalplus:nickel"
  8. })
  9. minetest.register_craftitem("survivalplus:nickel", {
  10. description = "Nickel",
  11. inventory_image = "survivalplus_nickel.png",
  12. wield_image = "survivalplus_nickel.png",
  13. wield_scale = "1",
  14. stack_max = "99"
  15. })
  16. minetest.register_craftitem("survivalplus:nickel_ingot", {
  17. description = "Nickel Ingot",
  18. inventory_image = "survivalplus_nickel_ingot.png",
  19. wield_image = "survivalplus_nickel_ingot.png",
  20. wield_scale = "1",
  21. stack_max = "99"
  22. })
  23. minetest.register_ore({
  24. ore_type = "scatter",
  25. ore = "survivalplus:nickel_ore",
  26. wherein = "default:stone",
  27. clust_scarcity = "7*7*7",
  28. clust_num_ores = "5",
  29. clust_size = "3",
  30. height_min = "-31000",
  31. height_max = "20",
  32. noise_threshhold = "0.5",
  33. noise_params = {offset=0, scale=1, spread={x=100, y=100, z=100}, seed=23, octaves=3, persist=0.70}
  34. })
  35. minetest.register_craft({
  36. type = "cooking",
  37. output = "survivalplus:nickel_ingot",
  38. recipe = "survivalplus:nickel",
  39. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement