Guest User

Untitled

a guest
Oct 1st, 2013
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ----------------------
  2. minetest.register_node("enchanting:ore", {
  3. description = "Enchanted Ore",
  4. tiles = {"default_stone.png^enchanting_ore.png"},
  5. inventory_image = "default_stone.png^enchanting_ore.png",
  6. is_ground_content = true,
  7. groups = {cracky=3},
  8. drop = "enchanting:lump",
  9. sounds = default.node_sound_stone_defaults(),
  10. })
  11. minetest.register_craftitem("enchanting:lump", {
  12. description = "Enchanted Lump",
  13. inventory_image = "enchanting_lump.png",
  14. })
  15. minetest.register_tool("enchanting:sword", {
  16. description = "Enchanted Sword",
  17. inventory_image = "enchanting_sword.png",
  18. tool_capabilities = {
  19. full_punch_interval = 0.7,
  20. max_drop_level=1,
  21. groupcaps={
  22. snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3},
  23. },
  24. damage_groups = {fleshy=15},
  25. }
  26. })
  27. minetest.register_tool("enchanting:axe", {
  28. description = "Enchanted Axe",
  29. inventory_image = "enchanting_axe.png",
  30. tool_capabilities = {
  31. full_punch_interval = 0.9,
  32. max_drop_level=1,
  33. groupcaps={
  34. choppy={times={[1]=2.10, [2]=0.90, [3]=0.50}, uses=30, maxlevel=2},
  35. },
  36. damage_groups = {fleshy=14},
  37. },
  38. })
  39. minetest.register_tool("enchanting:shovel", {
  40. description = "Enchanted Shovel",
  41. inventory_image = "enchanting_shovel.png",
  42. tool_capabilities = {
  43. full_punch_interval = 1.0,
  44. max_drop_level=1,
  45. groupcaps={
  46. crumbly = {times={[1]=1.10, [2]=0.50, [3]=0.30}, uses=30, maxlevel=3},
  47. },
  48. damage_groups = {fleshy=10},
  49. },
  50. })
  51. minetest.register_tool("enchanting:pick", {
  52. description = "Enchanted Pick",
  53. inventory_image = "enchanting_pick.png",
  54. tool_capabilities = {
  55. full_punch_interval = 0.9,
  56. max_drop_level=3,
  57. groupcaps={
  58. cracky = {times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=30, maxlevel=3},
  59. },
  60. damage_groups = {fleshy=14},
  61. },
  62. })
  63. minetest.register_craftitem("enchanting:ingot", {
  64. description = "Enchanted Ingot",
  65. inventory_image = "enchanting_ingot.png",
  66. })
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×