crafting.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. minetest.register_craft({
  2. type = "shapeless",
  3. output = "currency:minegeld_5",
  4. recipe = {
  5. "currency:minegeld",
  6. "currency:minegeld",
  7. "currency:minegeld",
  8. "currency:minegeld",
  9. "currency:minegeld"
  10. },
  11. })
  12. minetest.register_craft({
  13. type = "shapeless",
  14. output = "currency:minegeld_2",
  15. recipe = {
  16. "currency:minegeld",
  17. "currency:minegeld",
  18. },
  19. })
  20. minetest.register_craft({
  21. type = "shapeless",
  22. output = "currency:minegeld_2 3",
  23. recipe = {
  24. "currency:minegeld",
  25. "currency:minegeld_5",
  26. },
  27. })
  28. minetest.register_craft({
  29. type = "shapeless",
  30. output = "currency:minegeld_2 4",
  31. recipe = {
  32. "currency:minegeld",
  33. "currency:minegeld",
  34. "currency:minegeld",
  35. "currency:minegeld_5",
  36. },
  37. })
  38. minetest.register_craft({
  39. type = "shapeless",
  40. output = "currency:minegeld_10",
  41. recipe = {
  42. "currency:minegeld",
  43. "currency:minegeld",
  44. "currency:minegeld",
  45. "currency:minegeld",
  46. "currency:minegeld",
  47. "currency:minegeld_5",
  48. },
  49. })
  50. minetest.register_craft({
  51. type = "shapeless",
  52. output = "currency:minegeld 5",
  53. recipe = {"currency:minegeld_5"},
  54. })
  55. minetest.register_craft({
  56. type = "shapeless",
  57. output = "currency:minegeld 2",
  58. recipe = {"currency:minegeld_2"},
  59. })
  60. minetest.register_craft({
  61. type = "shapeless",
  62. output = "currency:minegeld_10",
  63. recipe = {
  64. "currency:minegeld_5",
  65. "currency:minegeld_5"
  66. },
  67. })
  68. minetest.register_craft({
  69. type = "shapeless",
  70. output = "currency:minegeld_10",
  71. recipe = {
  72. "currency:minegeld_2",
  73. "currency:minegeld_2",
  74. "currency:minegeld_2",
  75. "currency:minegeld_2",
  76. "currency:minegeld_2",
  77. },
  78. })
  79. minetest.register_craft({
  80. type = "shapeless",
  81. output = "currency:minegeld_20",
  82. recipe = {
  83. "currency:minegeld_5",
  84. "currency:minegeld_5",
  85. "currency:minegeld_5",
  86. "currency:minegeld_5",
  87. },
  88. })
  89. minetest.register_craft({
  90. type = "shapeless",
  91. output = "currency:minegeld_5 2",
  92. recipe = {"currency:minegeld_10"},
  93. })
  94. minetest.register_craft({
  95. type = "shapeless",
  96. output = "currency:minegeld_10 2",
  97. recipe = {"currency:minegeld_20"},
  98. })
  99. minetest.register_craft({
  100. type = "shapeless",
  101. output = "currency:minegeld_10 5",
  102. recipe = {"currency:minegeld_50"},
  103. })
  104. minetest.register_craft({
  105. type = "shapeless",
  106. output = "currency:minegeld_20",
  107. recipe = {
  108. "currency:minegeld_10",
  109. "currency:minegeld_10",
  110. },
  111. })
  112. minetest.register_craft({
  113. type = "shapeless",
  114. output = "currency:minegeld_50",
  115. recipe = {
  116. "currency:minegeld_10",
  117. "currency:minegeld_10",
  118. "currency:minegeld_10",
  119. "currency:minegeld_10",
  120. "currency:minegeld_10"
  121. },
  122. })
  123. minetest.register_craft({
  124. type = "shapeless",
  125. output = "currency:minegeld_50",
  126. recipe = {
  127. "currency:minegeld_20",
  128. "currency:minegeld_20",
  129. "currency:minegeld_10",
  130. },
  131. })
  132. minetest.register_craft({
  133. type = "shapeless",
  134. output = "currency:minegeld_100",
  135. recipe = {
  136. "currency:minegeld_50",
  137. "currency:minegeld_50"
  138. },
  139. })
  140. minetest.register_craft({
  141. type = "shapeless",
  142. output = "currency:minegeld_100",
  143. recipe = {
  144. "currency:minegeld_20",
  145. "currency:minegeld_20",
  146. "currency:minegeld_20",
  147. "currency:minegeld_20",
  148. "currency:minegeld_20",
  149. },
  150. })
  151. minetest.register_craft({
  152. type = "shapeless",
  153. output = "currency:minegeld_100",
  154. recipe = {
  155. "currency:minegeld_50",
  156. "currency:minegeld_20",
  157. "currency:minegeld_20",
  158. "currency:minegeld_10",
  159. },
  160. })
  161. minetest.register_craft({
  162. type = "shapeless",
  163. output = "currency:minegeld_100",
  164. recipe = {
  165. "currency:minegeld_50",
  166. "currency:minegeld_20",
  167. "currency:minegeld_10",
  168. "currency:minegeld_10",
  169. "currency:minegeld_10",
  170. },
  171. })
  172. minetest.register_craft({
  173. type = "shapeless",
  174. output = "currency:minegeld_100",
  175. recipe = {
  176. "currency:minegeld_50",
  177. "currency:minegeld_10",
  178. "currency:minegeld_10",
  179. "currency:minegeld_10",
  180. "currency:minegeld_10",
  181. "currency:minegeld_10",
  182. },
  183. })
  184. minetest.register_craft({
  185. type = "shapeless",
  186. output = "currency:minegeld_100",
  187. recipe = {
  188. "currency:minegeld_20",
  189. "currency:minegeld_10",
  190. "currency:minegeld_10",
  191. "currency:minegeld_10",
  192. "currency:minegeld_10",
  193. "currency:minegeld_10",
  194. "currency:minegeld_10",
  195. "currency:minegeld_10",
  196. "currency:minegeld_10",
  197. },
  198. })
  199. minetest.register_craft({
  200. type = "shapeless",
  201. output = "currency:minegeld_100",
  202. recipe = {
  203. "currency:minegeld_20",
  204. "currency:minegeld_20",
  205. "currency:minegeld_10",
  206. "currency:minegeld_10",
  207. "currency:minegeld_10",
  208. "currency:minegeld_10",
  209. "currency:minegeld_10",
  210. "currency:minegeld_10",
  211. },
  212. })
  213. minetest.register_craft({
  214. type = "shapeless",
  215. output = "currency:minegeld_100",
  216. recipe = {
  217. "currency:minegeld_20",
  218. "currency:minegeld_20",
  219. "currency:minegeld_20",
  220. "currency:minegeld_10",
  221. "currency:minegeld_10",
  222. "currency:minegeld_10",
  223. "currency:minegeld_10",
  224. },
  225. })
  226. minetest.register_craft({
  227. type = "shapeless",
  228. output = "currency:minegeld_100",
  229. recipe = {
  230. "currency:minegeld_20",
  231. "currency:minegeld_20",
  232. "currency:minegeld_20",
  233. "currency:minegeld_20",
  234. "currency:minegeld_10",
  235. "currency:minegeld_10",
  236. },
  237. })
  238. minetest.register_craft({
  239. type = "shapeless",
  240. output = "currency:minegeld_50 2",
  241. recipe = {"currency:minegeld_100" },
  242. })
  243. minetest.register_craft({
  244. type = "shapeless",
  245. output = "currency:minegeld_bundle",
  246. recipe = {
  247. "group:minegeld",
  248. "group:minegeld",
  249. "group:minegeld",
  250. "group:minegeld",
  251. "group:minegeld",
  252. "group:minegeld",
  253. "group:minegeld",
  254. "group:minegeld",
  255. "group:minegeld"
  256. },
  257. })
  258. minetest.register_craft({
  259. type = "fuel",
  260. recipe = "currency:minegeld_bundle",
  261. burntime = 1,
  262. })