crafts.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. -- Crafting recipes for pipes
  2. minetest.register_craft( {
  3. output = "pipeworks:pipe_1_empty 12",
  4. recipe = {
  5. { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
  6. { "", "", "" },
  7. { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
  8. },
  9. })
  10. minetest.register_craft( {
  11. output = "pipeworks:straight_pipe_empty 3",
  12. recipe = {
  13. { "pipeworks:pipe_1_empty", "pipeworks:pipe_1_empty", "pipeworks:pipe_1_empty" },
  14. },
  15. })
  16. minetest.register_craft( {
  17. output = "pipeworks:spigot 3",
  18. recipe = {
  19. { "pipeworks:pipe_1_empty", "" },
  20. { "", "pipeworks:pipe_1_empty" },
  21. },
  22. })
  23. minetest.register_craft( {
  24. output = "pipeworks:entry_panel_empty 2",
  25. recipe = {
  26. { "", "default:steel_ingot", "" },
  27. { "", "pipeworks:pipe_1_empty", "" },
  28. { "", "default:steel_ingot", "" },
  29. },
  30. })
  31. -- Various ancillary pipe devices
  32. minetest.register_craft( {
  33. output = "pipeworks:pump_off 2",
  34. recipe = {
  35. { "default:stone", "default:steel_ingot", "default:stone" },
  36. { "default:copper_ingot", "default:mese_crystal_fragment", "default:copper_ingot" },
  37. { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
  38. },
  39. })
  40. minetest.register_craft( {
  41. output = "pipeworks:valve_off_empty 2",
  42. recipe = {
  43. { "", "group:stick", "" },
  44. { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
  45. { "", "default:steel_ingot", "" }
  46. },
  47. })
  48. minetest.register_craft( {
  49. output = "pipeworks:storage_tank_0 2",
  50. recipe = {
  51. { "", "default:steel_ingot", "default:steel_ingot" },
  52. { "default:steel_ingot", "default:glass", "default:steel_ingot" },
  53. { "default:steel_ingot", "default:steel_ingot", "" }
  54. },
  55. })
  56. minetest.register_craft( {
  57. output = "pipeworks:grating 2",
  58. recipe = {
  59. { "default:steel_ingot", "", "default:steel_ingot" },
  60. { "", "pipeworks:pipe_1_empty", "" },
  61. { "default:steel_ingot", "", "default:steel_ingot" }
  62. },
  63. })
  64. minetest.register_craft( {
  65. output = "pipeworks:flow_sensor_empty 2",
  66. recipe = {
  67. { "pipeworks:pipe_1_empty", "mesecons:mesecon", "pipeworks:pipe_1_empty" },
  68. },
  69. })
  70. minetest.register_craft( {
  71. output = "pipeworks:fountainhead 2",
  72. recipe = {
  73. { "pipeworks:pipe_1_empty" },
  74. { "pipeworks:pipe_1_empty" }
  75. },
  76. })