crafts.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. -- Nodes
  2. -- 9 Candy Canes into 3 Candy Cane Blocks.
  3. minetest.register_craft({
  4. output = "christmas_holiday_pack:candy_cane_block 3",
  5. recipe = {
  6. {"christmas_holiday_pack:candy_cane", "christmas_holiday_pack:candy_cane", "christmas_holiday_pack:candy_cane"},
  7. {"christmas_holiday_pack:candy_cane", "christmas_holiday_pack:candy_cane", "christmas_holiday_pack:candy_cane"},
  8. {"christmas_holiday_pack:candy_cane", "christmas_holiday_pack:candy_cane", "christmas_holiday_pack:candy_cane"},
  9. },
  10. })
  11. -- 9 Green Candy Canes into 3 Green Candy Cane Blocks.
  12. minetest.register_craft({
  13. output = "christmas_holiday_pack:green_candy_cane_block 3",
  14. recipe = {
  15. {"christmas_holiday_pack:green_candy_cane", "christmas_holiday_pack:green_candy_cane", "christmas_holiday_pack:green_candy_cane"},
  16. {"christmas_holiday_pack:green_candy_cane", "christmas_holiday_pack:green_candy_cane", "christmas_holiday_pack:green_candy_cane"},
  17. {"christmas_holiday_pack:green_candy_cane", "christmas_holiday_pack:green_candy_cane", "christmas_holiday_pack:green_candy_cane"},
  18. },
  19. })
  20. -- 9 Gingerbread Men into 3 Gingerbread Blocks.
  21. minetest.register_craft({
  22. output = "christmas_holiday_pack:gingerbread_block 3",
  23. recipe = {
  24. {"christmas_holiday_pack:gingerbread_man", "christmas_holiday_pack:gingerbread_man", "christmas_holiday_pack:gingerbread_man"},
  25. {"christmas_holiday_pack:gingerbread_man", "christmas_holiday_pack:gingerbread_man", "christmas_holiday_pack:gingerbread_man"},
  26. {"christmas_holiday_pack:gingerbread_man", "christmas_holiday_pack:gingerbread_man", "christmas_holiday_pack:gingerbread_man"},
  27. },
  28. })
  29. -- 9 Gingerbread into 3 Gingerbread Blocks.
  30. minetest.register_craft({
  31. output = "christmas_holiday_pack:gingerbread_block 3",
  32. recipe = {
  33. {"christmas_holiday_pack:gingerbread", "christmas_holiday_pack:gingerbread", "christmas_holiday_pack:gingerbread"},
  34. {"christmas_holiday_pack:gingerbread", "christmas_holiday_pack:gingerbread", "christmas_holiday_pack:gingerbread"},
  35. {"christmas_holiday_pack:gingerbread", "christmas_holiday_pack:gingerbread", "christmas_holiday_pack:gingerbread"},
  36. },
  37. })
  38. -- Frosting Block
  39. minetest.register_craft({
  40. output = "christmas_holiday_pack:frosting_block 3",
  41. recipe = {
  42. {"group:food_sugar", "group:food_sugar", "group:food_sugar"},
  43. {"group:food_sugar", "mobs_creatures:milk_bucket", "group:food_sugar"},
  44. {"group:food_sugar", "group:food_sugar", "group:food_sugar"},
  45. },
  46. replacements = {{"mobs_creatures:milk_bucket", "mesecraft_bucket:bucket_empty"}},
  47. })
  48. -- 3d_armor : Candy Cane Armor
  49. minetest.register_craft({
  50. output = "christmas_holiday_pack:helmet_cane",
  51. recipe = {
  52. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  53. {"christmas_holiday_pack:candy_cane_block", "", "christmas_holiday_pack:candy_cane_block"},
  54. {"", "", ""},
  55. },
  56. })
  57. minetest.register_craft({
  58. output = "christmas_holiday_pack:chestplate_cane",
  59. recipe = {
  60. {"christmas_holiday_pack:candy_cane_block", "", "christmas_holiday_pack:candy_cane_block"},
  61. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  62. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  63. },
  64. })
  65. minetest.register_craft({
  66. output = "christmas_holiday_pack:leggings_cane",
  67. recipe = {
  68. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  69. {"christmas_holiday_pack:candy_cane_block", "", "christmas_holiday_pack:candy_cane_block"},
  70. {"christmas_holiday_pack:candy_cane_block", "", "christmas_holiday_pack:candy_cane_block"},
  71. },
  72. })
  73. minetest.register_craft({
  74. output = "christmas_holiday_pack:boots_cane",
  75. recipe = {
  76. {"christmas_holiday_pack:candy_cane_block", "", "christmas_holiday_pack:candy_cane_block"},
  77. {"christmas_holiday_pack:candy_cane_block", "", "christmas_holiday_pack:candy_cane_block"},
  78. },
  79. })
  80. minetest.register_craft({
  81. output = "christmas_holiday_pack:shield_cane",
  82. recipe = {
  83. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  84. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  85. {"", "christmas_holiday_pack:candy_cane_block", ""},
  86. },
  87. })
  88. -- Candy Cane Pickaxe
  89. minetest.register_craft({
  90. output = "christmas_holiday_pack:candy_cane_pickaxe",
  91. recipe = {
  92. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block"},
  93. {"", "christmas_holiday_pack:candy_cane", ""},
  94. {"", "christmas_holiday_pack:candy_cane", ""},
  95. },
  96. })
  97. -- Candy Cane Axe
  98. minetest.register_craft({
  99. output = "christmas_holiday_pack:candy_cane_axe",
  100. recipe = {
  101. {"christmas_holiday_pack:candy_cane_block", "christmas_holiday_pack:candy_cane_block", ""},
  102. {"", "christmas_holiday_pack:candy_cane", ""},
  103. {"", "christmas_holiday_pack:candy_cane", ""},
  104. },
  105. })
  106. -- Candy Cane Sword
  107. minetest.register_craft({
  108. output = "christmas_holiday_pack:candy_cane_sword",
  109. recipe = {
  110. {"", "christmas_holiday_pack:candy_cane_block", ""},
  111. {"", "christmas_holiday_pack:candy_cane_block", ""},
  112. {"", "christmas_holiday_pack:candy_cane", ""},
  113. },
  114. })
  115. -- Christmas Bell
  116. -- Mistletoe
  117. -- Christmas Reef
  118. -- Icicles
  119. -- Christmas Tree Star
  120. -- Garland
  121. minetest.register_craft({
  122. output = "christmas_holiday_pack:garland 3",
  123. type = "shapeless",
  124. recipe = {"default:pine_needles", "default:pine_needles", "default:pine_needles"},
  125. })
  126. -- Festive Garland
  127. minetest.register_craft({
  128. output = "christmas_holiday_pack:festive_garland",
  129. type = "shapeless",
  130. recipe = {"christmas_holiday_pack:garland", "farming:raspberries"},
  131. })
  132. -- Festive Garland with Lights
  133. minetest.register_craft({
  134. output = "christmas_holiday_pack:festive_garland_lights",
  135. type = "shapeless",
  136. recipe = {"christmas_holiday_pack:festive_garland", "holiday_lights:lights_white"},
  137. })
  138. -- Red Garland
  139. minetest.register_craft({
  140. output = "christmas_holiday_pack:garland_red 3",
  141. type = "shapeless",
  142. recipe = {"christmas_holiday_pack:garland","christmas_holiday_pack:garland","christmas_holiday_pack:garland", "dye:red"},
  143. })
  144. -- Yellow Garland
  145. minetest.register_craft({
  146. output = "christmas_holiday_pack:garland_yellow 3",
  147. type = "shapeless",
  148. recipe = {"christmas_holiday_pack:garland","christmas_holiday_pack:garland","christmas_holiday_pack:garland", "dye:yellow"},
  149. })
  150. -- White Garland
  151. minetest.register_craft({
  152. output = "christmas_holiday_pack:garland_white 3",
  153. type = "shapeless",
  154. recipe = {"christmas_holiday_pack:garland","christmas_holiday_pack:garland","christmas_holiday_pack:garland", "dye:white"},
  155. })
  156. -- ORNAMENTS
  157. -- SKIPPED
  158. -- CRAFT ITEMS
  159. -- Candy Cane
  160. -- SKIPPED
  161. -- Green Candy Cane
  162. -- SKIPPED
  163. -- Peppermint Candies
  164. minetest.register_craft({
  165. output = "christmas_holiday_pack:peppermint_candies 8",
  166. type = "shapeless",
  167. recipe = {"christmas_holiday_pack:peppermint","christmas_holiday_pack:peppermint","group:food_sugar", "group:food_sugar", "dye:red", "farming:mortar_pestle"},
  168. replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}},
  169. })
  170. -- Green Peppermint Candies
  171. minetest.register_craft({
  172. output = "christmas_holiday_pack:green_peppermint_candies 8",
  173. type = "shapeless",
  174. recipe = {"christmas_holiday_pack:peppermint","christmas_holiday_pack:peppermint","group:food_sugar", "group:food_sugar", "dye:green", "farming:mortar_pestle"},
  175. replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}},
  176. })
  177. -- Gingerbread Dough
  178. minetest.register_craft({
  179. output = "christmas_holiday_pack:gingerbread_dough",
  180. type = "shapeless",
  181. recipe = {"christmas_holiday_pack:ginger","christmas_holiday_pack:ginger","group:food_flour", "group:food_flour", "group:food_sugar", "group:food_egg", "mobs_creatures:butter", "farming:mortar_pestle"},
  182. replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}},
  183. })
  184. -- Gingerbread Cooking Recipe
  185. minetest.register_craft({
  186. type = "cooking",
  187. output = "christmas_holiday_pack:gingerbread",
  188. recipe = "christmas_holiday_pack:gingerbread_dough",
  189. cooktime = 10,
  190. })
  191. -- Gingerbread Cookie (Man)
  192. -- SKIPPED
  193. -- Sugar Cookie
  194. minetest.register_craft({
  195. output = "christmas_holiday_pack:sugar_cookie 6",
  196. type = "shapeless",
  197. recipe = {"group:food_flour","group:food_flour", "group:food_sugar", "group:food_sugar", "group:food_egg", "mobs_creatures:butter"},
  198. })
  199. -- Bell Sugar Cookie
  200. minetest.register_craft({
  201. output = "christmas_holiday_pack:sugar_cookie_bell 4",
  202. type = "shapeless",
  203. recipe = {"group:food_flour","group:food_flour", "group:food_sugar", "group:food_sugar", "group:food_egg", "mobs_creatures:butter", "dye:blue"},
  204. })
  205. -- Star Sugar Cookie
  206. minetest.register_craft({
  207. output = "christmas_holiday_pack:sugar_cookie_star 4",
  208. type = "shapeless",
  209. recipe = {"group:food_flour","group:food_flour", "group:food_sugar", "group:food_sugar", "group:food_egg", "mobs_creatures:butter", "dye:red"},
  210. })
  211. -- Tree Sugar Cookie
  212. minetest.register_craft({
  213. output = "christmas_holiday_pack:sugar_cookie_tree 4",
  214. type = "shapeless",
  215. recipe = {"group:food_flour","group:food_flour", "group:food_sugar", "group:food_sugar", "group:food_egg", "mobs_creatures:butter", "dye:green"},
  216. })
  217. -- Glass of Hot Chocolate
  218. -- SKIPPED
  219. -- Glass of Eggnog
  220. -- SKIPPED, maybe use ginger
  221. -- Stocking
  222. --minetest.register_craft({
  223. -- output = "christmas_holiday_pack:stocking",
  224. -- recipe = {
  225. -- {"farming:string", "wool:white", "wool:white"},
  226. -- {"", "wool:red", "wool:red"},
  227. -- {"wool:red", "wool:red", "wool:red"},
  228. -- }
  229. --})
  230. -- Green Stockings
  231. --minetest.register_craft({
  232. -- output = "christmas_holiday_pack:green_stocking",
  233. -- recipe = {
  234. -- {"farming:string", "wool:white", "wool:white"},
  235. -- {"", "wool:green", "wool:green"},
  236. -- {"wool:green", "wool:green", "wool:green"},
  237. -- }
  238. --})