crafts.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. -- Cost-in-mese calculation for these recipes is carefully considered!
  2. minetest.register_craft({
  3. output = "protector:protect",
  4. recipe = {
  5. {"default:stone", "default:mese_crystal", "default:stone"},
  6. {"default:stone", "default:mese", "default:stone"},
  7. {"default:mese_crystal", "default:stone", "default:mese_crystal"},
  8. }
  9. })
  10. minetest.register_craft({
  11. output = "default:mese_crystal 12",
  12. type = "shapeless",
  13. recipe = {"protector:protect"}
  14. })
  15. minetest.register_craft({
  16. output = "protector:protect2",
  17. recipe = {
  18. {"moreores:tin_ingot", "default:mese_crystal", "moreores:tin_ingot"},
  19. {"moreores:tin_ingot", "default:mese", "moreores:tin_ingot"},
  20. {"default:mese_crystal", "moreores:tin_ingot", "default:mese_crystal"},
  21. }
  22. })
  23. minetest.register_craft({
  24. output = "default:mese_crystal 12",
  25. type = "shapeless",
  26. recipe = {"protector:protect2"}
  27. })
  28. minetest.register_craft({
  29. output = "protector:protect3",
  30. recipe = {
  31. {"default:stone", "default:mese_crystal", "default:stone"},
  32. {"default:stone", "default:mese_crystal", "default:stone"},
  33. {"default:mese_crystal", "default:stone", "default:mese_crystal"},
  34. }
  35. })
  36. minetest.register_craft({
  37. output = "default:mese_crystal 4",
  38. type = "shapeless",
  39. recipe = {"protector:protect3"}
  40. })
  41. minetest.register_craft({
  42. output = "protector:protect4",
  43. recipe = {
  44. {"moreores:tin_ingot", "default:mese_crystal", "moreores:tin_ingot"},
  45. {"moreores:tin_ingot", "default:mese_crystal", "moreores:tin_ingot"},
  46. {"default:mese_crystal", "moreores:tin_ingot", "default:mese_crystal"},
  47. }
  48. })
  49. minetest.register_craft({
  50. output = "default:mese_crystal 4",
  51. type = "shapeless",
  52. recipe = {"protector:protect4"}
  53. })