crafting.lua 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. minetest.register_craft({
  2. output = 'etherium_stuff:torch 4',
  3. recipe = {
  4. {'ethereal:etherium_dust'},
  5. {'default:coal_lump'},
  6. {'group:stick'},
  7. }
  8. })
  9. minetest.register_craft({
  10. type = "shapeless",
  11. output = "etherium_stuff:bucket_crystal_water",
  12. recipe = {
  13. "bucket:bucket_water", "ethereal:crystal_spike", "ethereal:etherium_dust"
  14. },
  15. })
  16. if not minetest.get_modpath("technic") then
  17. minetest.register_craft({
  18. output = "etherium_stuff:sandstone",
  19. recipe = {
  20. {"etherium_stuff:sand", "etherium_stuff:sand"},
  21. {"etherium_stuff:sand", "etherium_stuff:sand"},
  22. },
  23. })
  24. minetest.register_craft({
  25. output = "etherium_stuff:sand 2",
  26. recipe = {
  27. {"etherium_stuff:sandstone"},
  28. }
  29. })
  30. minetest.register_craft({
  31. output = "etherium_stuff:crystal_glass 4",
  32. recipe = {
  33. {"", "etherium_stuff:glass", ""},
  34. {"etherium_stuff:glass", "ethereal:crystal_spike", "etherium_stuff:glass"},
  35. {"", "etherium_stuff:glass", ""},
  36. },
  37. })
  38. else
  39. technic.register_compressor_recipe({input = {"etherium_stuff:sand 2"}, output = "etherium_stuff:sandstone"})
  40. technic.register_alloy_recipe({input = {"etherium_stuff:glass 4", "ethereal:crystal_spike"}, output = "etherium_stuff:crystal_glass 4", time = 2})
  41. technic.register_grinder_recipe({input = {"etherium_stuff:sandstone"}, output = "etherium_stuff:sand 2"})
  42. end
  43. minetest.register_craft({
  44. output = "etherium_stuff:sandstone_brick 4",
  45. recipe = {
  46. {"etherium_stuff:sandstone", "etherium_stuff:sandstone"},
  47. {"etherium_stuff:sandstone", "etherium_stuff:sandstone"},
  48. }
  49. })
  50. minetest.register_craft({
  51. output = "etherium_stuff:sandstone_block 9",
  52. recipe = {
  53. {"etherium_stuff:sandstone", "etherium_stuff:sandstone", "etherium_stuff:sandstone"},
  54. {"etherium_stuff:sandstone", "etherium_stuff:sandstone", "etherium_stuff:sandstone"},
  55. {"etherium_stuff:sandstone", "etherium_stuff:sandstone", "etherium_stuff:sandstone"},
  56. }
  57. })
  58. minetest.register_craft({
  59. output = "etherium_stuff:sand 8",
  60. recipe = {
  61. {"group:sand", "group:sand", "group:sand"},
  62. {"group:sand", "ethereal:etherium_dust", "group:sand"},
  63. {"group:sand", "group:sand", "group:sand"},
  64. }
  65. })
  66. minetest.register_craft({
  67. type = "cooking",
  68. output = "etherium_stuff:glass",
  69. recipe = "etherium_stuff:sand",
  70. })
  71. if not minetest.get_modpath("morelights") then
  72. minetest.register_craft({
  73. output = "etherium_stuff:sandstone_light_block",
  74. recipe = {
  75. {"", "etherium_stuff:crystal_glass", ""},
  76. {"", "default:torch", ""},
  77. {"", "etherium_stuff:sandstone_block", ""},
  78. }
  79. })
  80. else
  81. minetest.register_craft({
  82. output = "etherium_stuff:sandstone_light_block",
  83. recipe = {
  84. {"", "etherium_stuff:crystal_glass", ""},
  85. {"", "morelights:bulb", ""},
  86. {"", "etherium_stuff:sandstone_block", ""},
  87. }
  88. })
  89. end