recipes.lua 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. minetest.register_craft({
  2. output = 'stations:mortar',
  3. recipe = {
  4. {'default:flint'},
  5. {'earthbuild:clay_pot'},
  6. }
  7. })
  8. minetest.register_craft({
  9. output = 'stations:anvil1',
  10. recipe = {
  11. {'','default:steelblock','stations:hammer'},
  12. {'default:furnace', 'group:tree', 'bucket:bucket_water'}
  13. }
  14. })
  15. minetest.register_craft({
  16. output = 'stations:puck_creator',
  17. recipe = {
  18. {'','earthbuild:flint_knife',''},
  19. {'earthbuild:flint_knife', 'default:furnace', 'earthbuild:flint_knife'},
  20. {'','earthbuild:flint_knife',''},
  21. }
  22. })
  23. minetest.register_craft({
  24. output = 'stations:crystal_workshop',
  25. recipe = {
  26. {'drawers:wood4', 'default:obsidian_shard', 'epic:bloodstone_shard'},
  27. {'default:mese_crystal_fragment', 'epic:float_crystal_shard', 'quartz:quartz_crystal_piece'},
  28. {'','xdecor:table',''},
  29. }
  30. })
  31. minetest.register_craft({
  32. output = 'stations:glazier_workshop',
  33. recipe = {
  34. {'vessels:glass_fragments', 'vessels:glass_fragments', 'vessels:glass_fragments'},
  35. {'epic:lead_wire', '', 'epic:lead_wire'},
  36. {'drawers:wood4','xdecor:table','drawers:wood4'},
  37. }
  38. })
  39. minetest.register_craft({
  40. output = 'stations:woodworking',
  41. recipe = {
  42. {'tombs:chisel', 'tombs:chisel', 'tombs:chisel'},
  43. {'default:wood', 'default:pine_wood', 'default:junglewood'},
  44. {'default:fence_wood','xdecor:cabinet_half','default:fence_wood'},
  45. }
  46. })
  47. minetest.register_craft({
  48. output = 'stations:hammer',
  49. recipe = {
  50. {'default:steel_ingot', 'group:stick', 'default:steel_ingot'},
  51. {'', 'group:stick', ''}
  52. }
  53. })
  54. minetest.register_craft({
  55. type = 'fuel',
  56. recipe = 'stations:fuel_pucks',
  57. burntime = 25,
  58. })
  59. ------------------------------------------------------------------------------------------
  60. --Locked to Unlocked Stations
  61. local stations = {
  62. anvil1 = 'anvil_locked',
  63. crystal_workshop = 'crystal_workshop_locked',
  64. glazier_workshop = 'glazier_workshop_locked',
  65. woodworking = 'woodworking_locked',
  66. mortar = 'mortar_locked',
  67. puck_creator = 'puck_creator_locked',
  68. spinning_wheel = 'spinning_wheel_locked',
  69. sewing = 'sewing_locked',
  70. stain = 'stain_locked',
  71. weaving_loom = 'weaving_loom_locked',
  72. dying = 'dying_locked'
  73. }
  74. for unlocked, locked in pairs(stations) do
  75. minetest.register_craft({
  76. output = 'stations:'..unlocked,
  77. recipe = {{'stations:'..locked}}
  78. })
  79. minetest.register_craft({
  80. output = 'stations:'..locked,
  81. recipe = {{'stations:'..unlocked, 'furniture:lock'}}
  82. })
  83. end