recipes.lua 921 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. local OB = "default:obsidian"
  2. local MC = "default:mese_crystal"
  3. local MB = "default:mese_block"
  4. local DI = "default:diamond"
  5. local MC = "default:mese_crystal"
  6. local GL = "default:obsidian_glass"
  7. local LV = "bucket:bucket_lava"
  8. local TC = "meseportals:tesseract_crystal"
  9. local PS = "meseportals:portal_segment"
  10. minetest.register_craft({
  11. output = "meseportals:tesseract_crystal",
  12. recipe = {
  13. {DI, MC, DI},
  14. {MC, OB, MC},
  15. {DI, MC, DI},
  16. }
  17. })
  18. minetest.register_craft({
  19. output = "meseportals:portal_segment",
  20. recipe = {
  21. {OB, OB, OB},
  22. {MB, LV, MB},
  23. {OB, OB, OB},
  24. },
  25. replacements = {{"bucket:bucket_lava", "bucket:bucket_empty"}}
  26. })
  27. minetest.register_craft({
  28. output = "meseportals:portalnode_off",
  29. recipe = {
  30. {PS, TC, PS},
  31. {TC, "", TC},
  32. {PS, TC, PS},
  33. }
  34. })
  35. minetest.register_craft({
  36. output = "meseportals:unlinked_portal_controller",
  37. recipe = {
  38. {GL, GL, GL},
  39. {GL, TC, GL},
  40. {GL, GL, GL},
  41. }
  42. })