items.lua 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. -----------------------bars--------------
  2. minetest.register_craftitem('xtraores:nickel_bar', {
  3. description = "Nickel Ingot",
  4. inventory_image = "xtraores_nickel_bar.png",
  5. groups = {ingot = 1},
  6. })
  7. minetest.register_craftitem('xtraores:platinum_bar', {
  8. description = "Platinum Ingot",
  9. inventory_image = "xtraores_platinum_bar.png",
  10. groups = {ingot = 1},
  11. })
  12. minetest.register_craftitem('xtraores:palladium_bar', {
  13. description = "Palladium Ingot",
  14. inventory_image = "xtraores_palladium_bar.png",
  15. groups = {ingot = 1},
  16. })
  17. minetest.register_craftitem('xtraores:cobalt_bar', {
  18. description = "Cobalt Ingot",
  19. inventory_image = "xtraores_cobalt_bar.png",
  20. groups = {ingot = 1},
  21. })
  22. --[[
  23. minetest.register_craftitem('xtraores:thorium_bar', {
  24. description = "".. core.colorize("#68fff6", "Thorium bar\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 5"),
  25. inventory_image = "xtraores_thorium_bar.png",
  26. stack_max= 999,
  27. })
  28. minetest.register_craftitem('xtraores:osmium_bar', {
  29. description = "".. core.colorize("#68fff6", "Osmium bar\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 6"),
  30. inventory_image = "xtraores_osmium_bar.png",
  31. stack_max= 999,
  32. })
  33. minetest.register_craftitem('xtraores:rhenium_bar', {
  34. description = "".. core.colorize("#68fff6", "Rhenium bar\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 7"),
  35. inventory_image = "xtraores_rhenium_bar.png",
  36. stack_max= 999,
  37. })
  38. minetest.register_craftitem('xtraores:vanadium_bar', {
  39. description = "".. core.colorize("#68fff6", "vanadium bar\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 8"),
  40. inventory_image = "xtraores_vanadium_bar.png",
  41. stack_max= 999,
  42. })
  43. minetest.register_craftitem('xtraores:rarium_bar', {
  44. description = "".. core.colorize("#68fff6", "rarium bar\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 9"),
  45. inventory_image = "xtraores_rarium_bar.png",
  46. stack_max= 999,
  47. })
  48. minetest.register_craftitem('xtraores:orichalcum_bar', {
  49. description = "".. core.colorize("#68fff6", "Orichalcum bar\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  50. inventory_image = "xtraores_orichalcum_bar.png",
  51. stack_max= 999,
  52. })
  53. --]]
  54. --[[
  55. --------------------handles-------------
  56. minetest.register_craftitem('xtraores:steel_handle', {
  57. description = "".. core.colorize("#68fff6", "Steel handle\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 5-8"),
  58. inventory_image = "xtraores_steel_handle.png",
  59. stack_max= 999,
  60. })
  61. minetest.register_craft({
  62. output = 'xtraores:steel_handle 5',
  63. recipe = {
  64. {'', '', 'default:steel_ingot'},
  65. {'', 'default:steel_ingot', ''},
  66. {'default:steel_ingot', '', ''},
  67. }
  68. })
  69. minetest.register_craftitem('xtraores:duraglass_handle', {
  70. description = "".. core.colorize("#68fff6", "Duraglass handle\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 9-12"),
  71. inventory_image = "xtraores_duraglass_handle.png",
  72. stack_max= 999,
  73. })
  74. minetest.register_craft({
  75. output = 'xtraores:duraglass_handle 3',
  76. recipe = {
  77. {'', '', 'default:obsidian_shard'},
  78. {'', 'xtraores:osmium_bar', ''},
  79. {'default:glass', '', ''},
  80. }
  81. })
  82. --------------------revolverparts-------------
  83. minetest.register_craftitem('xtraores:platinum_mag', {
  84. description = "".. core.colorize("#68fff6", "Platinum revolver magazine\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 2"),
  85. inventory_image = "xtraores_platinum_mag.png",
  86. stack_max= 10,
  87. })
  88. minetest.register_craft({
  89. output = 'xtraores:platinum_mag',
  90. recipe = {
  91. {'xtraores:platinum_bar', 'xtraores:platinum_bar', ''},
  92. {'xtraores:platinum_bar', 'xtraores:platinum_bar', ''},
  93. {'xtraores:platinum_bar', 'xtraores:platinum_bar', ''},
  94. }
  95. })
  96. minetest.register_craftitem('xtraores:platinum_revolver_base', {
  97. description = "".. core.colorize("#68fff6", "Platinum revolver base\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 2"),
  98. inventory_image = "xtraores_platinum_revolver_base.png",
  99. stack_max= 10,
  100. })
  101. minetest.register_craft({
  102. output = 'xtraores:platinum_revolver_base',
  103. recipe = {
  104. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  105. {'', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  106. {'', 'xtraores:platinum_bar', ''},
  107. }
  108. })
  109. minetest.register_craftitem('xtraores:revolver_handle', {
  110. description = "".. core.colorize("#68fff6", "Revolver handle\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 2"),
  111. inventory_image = "xtraores_revolver_handle.png",
  112. stack_max= 10,
  113. })
  114. minetest.register_craft({
  115. output = 'xtraores:revolver_handle',
  116. recipe = {
  117. {'', 'group:wood', 'group:wood'},
  118. {'', 'xtraores:platinum_bar', 'group:wood'},
  119. {'', 'group:wood', 'group:wood'},
  120. }
  121. })
  122. --------------------handgunparts-------------
  123. minetest.register_craftitem('xtraores:cobalt_base', {
  124. description = "".. core.colorize("#68fff6", "Cobalt handgun base\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 4"),
  125. inventory_image = "xtraores_cobalt_base.png",
  126. stack_max= 10,
  127. })
  128. minetest.register_craft({
  129. output = 'xtraores:cobalt_base',
  130. recipe = {
  131. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', ''},
  132. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  133. {'', 'xtraores:cobalt_bar', ''},
  134. }
  135. })
  136. minetest.register_craftitem('xtraores:cobalt_top', {
  137. description = "".. core.colorize("#68fff6", "Cobalt handgun top\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 4"),
  138. inventory_image = "xtraores_cobalt_top.png",
  139. stack_max= 10,
  140. })
  141. minetest.register_craft({
  142. output = 'xtraores:cobalt_top',
  143. recipe = {
  144. {'', '', 'xtraores:cobalt_bar'},
  145. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  146. }
  147. })
  148. minetest.register_craftitem('xtraores:cobalt_handle', {
  149. description = "".. core.colorize("#68fff6", "Cobalt handgun handle\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 4"),
  150. inventory_image = "xtraores_cobalt_handle.png",
  151. stack_max= 10,
  152. })
  153. minetest.register_craft({
  154. output = 'xtraores:cobalt_handle',
  155. recipe = {
  156. {'xtraores:cobalt_bar', 'default:coal_lump', 'default:coal_lump'},
  157. {'xtraores:cobalt_bar', 'default:coal_lump', 'default:coal_lump'},
  158. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  159. }
  160. })
  161. --------------------orichalcum_rifle_parts-------------
  162. minetest.register_craftitem('xtraores:orichalcum_rifle_base', {
  163. description = "".. core.colorize("#68fff6", "orichalcum rifle base\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  164. inventory_image = "xtraores_orichalcum_rifle_base.png",
  165. stack_max= 10,
  166. })
  167. minetest.register_craft({
  168. output = 'xtraores:orichalcum_rifle_base',
  169. recipe = {
  170. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  171. {'', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  172. }
  173. })
  174. minetest.register_craftitem('xtraores:orichalcum_rifle_scope', {
  175. description = "".. core.colorize("#68fff6", "orichalcum rifle scope\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  176. inventory_image = "xtraores_orichalcum_rifle_scope.png",
  177. stack_max= 10,
  178. })
  179. minetest.register_craft({
  180. output = 'xtraores:orichalcum_rifle_scope',
  181. recipe = {
  182. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  183. {'default:diamond', 'xtraores:orichalcum_bar', 'default:diamond'},
  184. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  185. }
  186. })
  187. minetest.register_craftitem('xtraores:orichalcum_rifle_stock', {
  188. description = "".. core.colorize("#68fff6", "orichalcum rifle stock\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  189. inventory_image = "xtraores_orichalcum_rifle_stock.png",
  190. stack_max= 10,
  191. })
  192. minetest.register_craft({
  193. output = 'xtraores:orichalcum_rifle_stock',
  194. recipe = {
  195. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  196. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  197. {'', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  198. }
  199. })
  200. minetest.register_craftitem('xtraores:orichalcum_rifle_barrel', {
  201. description = "".. core.colorize("#68fff6", "orichalcum rifle barrel\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  202. inventory_image = "xtraores_orichalcum_rifle_barrel.png",
  203. stack_max= 10,
  204. })
  205. minetest.register_craft({
  206. output = 'xtraores:orichalcum_rifle_barrel',
  207. recipe = {
  208. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  209. }
  210. })
  211. minetest.register_craftitem('xtraores:orichalcum_rifle_grip', {
  212. description = "".. core.colorize("#68fff6", "orichalcum rifle grip\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  213. inventory_image = "xtraores_orichalcum_rifle_grip.png",
  214. stack_max= 10,
  215. })
  216. minetest.register_craft({
  217. output = 'xtraores:orichalcum_rifle_grip',
  218. recipe = {
  219. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  220. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  221. }
  222. })
  223. minetest.register_craftitem('xtraores:orichalcum_rifle_handle', {
  224. description = "".. core.colorize("#68fff6", "orichalcum rifle handle\n")..core.colorize("#FFFFFF", "Material\n")..core.colorize("#FFFFFF", "Xtraores material level: 10"),
  225. inventory_image = "xtraores_orichalcum_rifle_handle.png",
  226. stack_max= 10,
  227. })
  228. minetest.register_craft({
  229. output = 'xtraores:orichalcum_rifle_handle',
  230. recipe = {
  231. {'', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  232. {'', '', 'xtraores:orichalcum_bar'},
  233. }
  234. })
  235. --]]