tools.lua 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278
  1. -------------------nickel set-------------------
  2. minetest.register_tool("xtraores:pickaxe_nickel", {
  3. description = "".. core.colorize("#68fff6", "Nickel pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 3\n")..core.colorize("#FFFFFF", "Full punch interval: 1.0\n")..core.colorize("#FFFFFF", "range: 4.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 1"),
  4. inventory_image = "xtraores_pickaxe_nickel.png",
  5. range = 4.0,
  6. tool_capabilities = {
  7. full_punch_interval = 1.0,
  8. max_drop_level=1,
  9. groupcaps={
  10. cracky = {times={[1]=6.00, [2]=1.85, [3]=0.90}, uses=15, maxlevel=2},
  11. },
  12. damage_groups = {fleshy=3},
  13. },
  14. sound = {breaks = "default_tool_breaks"},
  15. })
  16. minetest.register_craft({
  17. output = 'xtraores:pickaxe_nickel',
  18. recipe = {
  19. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  20. {'', 'group:stick', ''},
  21. {'', 'group:stick', ''},
  22. }
  23. })
  24. minetest.register_tool("xtraores:shovel_nickel", {
  25. description = "".. core.colorize("#68fff6", "Nickel shovel\n")..core.colorize("#FFFFFF", "Mele damage: 3\n")..core.colorize("#FFFFFF", "Full punch interval: 1.1\n")..core.colorize("#FFFFFF", "range: 4.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 1"),
  26. inventory_image = "xtraores_shovel_nickel.png",
  27. range = 4.0,
  28. tool_capabilities = {
  29. full_punch_interval = 1.1,
  30. max_drop_level=1,
  31. groupcaps={
  32. crumbly = {times={[1]=1.80, [2]=1.05, [3]=0.45}, uses=25, maxlevel=2},
  33. },
  34. damage_groups = {fleshy=3},
  35. },
  36. sound = {breaks = "default_tool_breaks"},
  37. })
  38. minetest.register_craft({
  39. output = 'xtraores:shovel_nickel',
  40. recipe = {
  41. {'', 'xtraores:nickel_bar', ''},
  42. {'', 'group:stick', ''},
  43. {'', 'group:stick', ''},
  44. }
  45. })
  46. minetest.register_tool("xtraores:axe_nickel", {
  47. description = "".. core.colorize("#68fff6", "Nickel axe\n")..core.colorize("#FFFFFF", "Mele damage: 4\n")..core.colorize("#FFFFFF", "Full punch interval: 1.0\n")..core.colorize("#FFFFFF", "range: 4.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 1"),
  48. inventory_image = "xtraores_axe_nickel.png",
  49. range = 4.0,
  50. tool_capabilities = {
  51. full_punch_interval = 1.0,
  52. max_drop_level=1,
  53. groupcaps={
  54. choppy={times={[1]=3.50, [2]=1.60, [3]=1.15}, uses=15, maxlevel=2},
  55. },
  56. damage_groups = {fleshy=4},
  57. },
  58. sound = {breaks = "default_tool_breaks"},
  59. })
  60. minetest.register_craft({
  61. output = 'xtraores:axe_nickel',
  62. recipe = {
  63. {'xtraores:nickel_bar', 'xtraores:nickel_bar', ''},
  64. {'xtraores:nickel_bar', 'group:stick', ''},
  65. {'', 'group:stick', ''},
  66. }
  67. })
  68. minetest.register_craft({
  69. output = 'xtraores:axe_nickel',
  70. recipe = {
  71. {'', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  72. {'', 'group:stick', 'xtraores:nickel_bar'},
  73. {'', 'group:stick', ''},
  74. }
  75. })
  76. minetest.register_tool("xtraores:sword_nickel", {
  77. description = "".. core.colorize("#68fff6", "Nickel sword\n")..core.colorize("#FFFFFF", "Mele damage: 5\n")..core.colorize("#FFFFFF", "Full punch interval: 0.8\n")..core.colorize("#FFFFFF", "range: 4.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 1"),
  78. inventory_image = "xtraores_sword_nickel.png",
  79. range = 4.0,
  80. tool_capabilities = {
  81. full_punch_interval = 0.8,
  82. max_drop_level=1,
  83. groupcaps={
  84. snappy={times={[1]=3.5, [2]=1.45, [3]=0.40}, uses=25, maxlevel=2},
  85. },
  86. damage_groups = {fleshy=5},
  87. },
  88. sound = {breaks = "default_tool_breaks"},
  89. })
  90. minetest.register_craft({
  91. output = 'xtraores:sword_nickel',
  92. recipe = {
  93. {'', 'xtraores:nickel_bar', ''},
  94. {'', 'xtraores:nickel_bar', ''},
  95. {'', 'group:stick', ''},
  96. }
  97. })
  98. minetest.register_tool("xtraores:shortsword_nickel", {
  99. description = "".. core.colorize("#68fff6", "Nickel shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 4\n")..core.colorize("#FFFFFF", "Full punch interval: 0.6\n")..core.colorize("#FFFFFF", "range: 3.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 1"),
  100. inventory_image = "xtraores_shortsword_nickel.png",
  101. range = 3.0,
  102. tool_capabilities = {
  103. full_punch_interval = 0.6,
  104. max_drop_level=1,
  105. groupcaps={
  106. snappy={times={[1]=3.5, [2]=1.45, [3]=0.40}, uses=25, maxlevel=2},
  107. },
  108. damage_groups = {fleshy=4},
  109. },
  110. sound = {breaks = "default_tool_breaks"},
  111. })
  112. minetest.register_craft({
  113. output = 'xtraores:shortsword_nickel',
  114. recipe = {
  115. {'', '', ''},
  116. {'', '', 'xtraores:nickel_bar'},
  117. {'', 'group:stick', ''},
  118. }
  119. })
  120. -------------------platinum set-------------------
  121. minetest.register_tool("xtraores:pickaxe_platinum", {
  122. description = "".. core.colorize("#68fff6", "platinum pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 6\n")..core.colorize("#FFFFFF", "Full punch interval: 0.88\n")..core.colorize("#FFFFFF", "range: 4.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 2"),
  123. inventory_image = "xtraores_pickaxe_platinum.png",
  124. range = 4.2,
  125. tool_capabilities = {
  126. full_punch_interval = 0.88,
  127. max_drop_level=1,
  128. groupcaps={
  129. cracky = {times={[1]=2.4, [2]=1.2, [3]=0.60}, uses=20, maxlevel=3},
  130. },
  131. damage_groups = {fleshy=6},
  132. },
  133. sound = {breaks = "default_tool_breaks"},
  134. })
  135. minetest.register_craft({
  136. output = 'xtraores:pickaxe_platinum',
  137. recipe = {
  138. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  139. {'', 'group:stick', ''},
  140. {'', 'group:stick', ''},
  141. }
  142. })
  143. minetest.register_tool("xtraores:shovel_platinum", {
  144. description = "".. core.colorize("#68fff6", "platinum shovel\n")..core.colorize("#FFFFFF", "Mele damage: 5\n")..core.colorize("#FFFFFF", "Full punch interval: 0.98\n")..core.colorize("#FFFFFF", "range: 4.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 2"),
  145. inventory_image = "xtraores_shovel_platinum.png",
  146. range = 4.2,
  147. tool_capabilities = {
  148. full_punch_interval = 0.98,
  149. max_drop_level=1,
  150. groupcaps={
  151. crumbly = {times={[1]=1.20, [2]=0.60, [3]=0.30}, uses=20, maxlevel=3},
  152. },
  153. damage_groups = {fleshy=5},
  154. },
  155. sound = {breaks = "default_tool_breaks"},
  156. })
  157. minetest.register_craft({
  158. output = 'xtraores:shovel_platinum',
  159. recipe = {
  160. {'', 'xtraores:platinum_bar', ''},
  161. {'', 'group:stick', ''},
  162. {'', 'group:stick', ''},
  163. }
  164. })
  165. minetest.register_tool("xtraores:axe_platinum", {
  166. description = "".. core.colorize("#68fff6", "platinum axe\n")..core.colorize("#FFFFFF", "Mele damage: 6\n")..core.colorize("#FFFFFF", "Full punch interval: 0.88\n")..core.colorize("#FFFFFF", "range: 4.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 2"),
  167. inventory_image = "xtraores_axe_platinum.png",
  168. range = 4.2,
  169. tool_capabilities = {
  170. full_punch_interval = 0.88,
  171. max_drop_level=1,
  172. groupcaps={
  173. choppy={times={[1]=2.20, [2]=1.00, [3]=0.60}, uses=20, maxlevel=3},
  174. },
  175. damage_groups = {fleshy=6},
  176. },
  177. sound = {breaks = "default_tool_breaks"},
  178. })
  179. minetest.register_craft({
  180. output = 'xtraores:axe_platinum',
  181. recipe = {
  182. {'xtraores:platinum_bar', 'xtraores:platinum_bar', ''},
  183. {'xtraores:platinum_bar', 'group:stick', ''},
  184. {'', 'group:stick', ''},
  185. }
  186. })
  187. minetest.register_craft({
  188. output = 'xtraores:axe_platinum',
  189. recipe = {
  190. {'', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  191. {'', 'group:stick', 'xtraores:platinum_bar'},
  192. {'', 'group:stick', ''},
  193. }
  194. })
  195. minetest.register_tool("xtraores:sword_platinum", {
  196. description = "".. core.colorize("#68fff6", "platinum sword\n")..core.colorize("#FFFFFF", "Mele damage: 7\n")..core.colorize("#FFFFFF", "Full punch interval: 0.68\n")..core.colorize("#FFFFFF", "range: 4.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 2"),
  197. inventory_image = "xtraores_sword_platinum.png",
  198. range = 4.2,
  199. tool_capabilities = {
  200. full_punch_interval = 0.68,
  201. max_drop_level=1,
  202. groupcaps={
  203. snappy={times={[1]=2.0, [2]=1.00, [3]=0.35}, uses=30, maxlevel=3},
  204. },
  205. damage_groups = {fleshy=7},
  206. },
  207. sound = {breaks = "default_tool_breaks"},
  208. })
  209. minetest.register_craft({
  210. output = 'xtraores:sword_platinum',
  211. recipe = {
  212. {'', 'xtraores:platinum_bar', ''},
  213. {'', 'xtraores:platinum_bar', ''},
  214. {'', 'group:stick', ''},
  215. }
  216. })
  217. minetest.register_tool("xtraores:shortsword_platinum", {
  218. description = "".. core.colorize("#68fff6", "platinum shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 6\n")..core.colorize("#FFFFFF", "Full punch interval: 0.58\n")..core.colorize("#FFFFFF", "range: 3.1\n")..core.colorize("#FFFFFF", "Xtraores tool level: 2"),
  219. inventory_image = "xtraores_shortsword_platinum.png",
  220. range = 3.1,
  221. tool_capabilities = {
  222. full_punch_interval = 0.48,
  223. max_drop_level=1,
  224. groupcaps={
  225. snappy={times={[1]=2.0, [2]=1.00, [3]=0.35}, uses=30, maxlevel=3},
  226. },
  227. damage_groups = {fleshy=6},
  228. },
  229. sound = {breaks = "default_tool_breaks"},
  230. })
  231. minetest.register_craft({
  232. output = 'xtraores:shortsword_platinum',
  233. recipe = {
  234. {'', '', ''},
  235. {'', '', 'xtraores:platinum_bar'},
  236. {'', 'group:stick', ''},
  237. }
  238. })
  239. -------------------palladium set-------------------
  240. minetest.register_tool("xtraores:pickaxe_palladium", {
  241. description = "".. core.colorize("#68fff6", "Palladium pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 8\n")..core.colorize("#FFFFFF", "Full punch interval: 0.86\n")..core.colorize("#FFFFFF", "range: 4.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 3"),
  242. inventory_image = "xtraores_pickaxe_palladium.png",
  243. range = 4.4,
  244. tool_capabilities = {
  245. full_punch_interval = 0.86,
  246. max_drop_level=1,
  247. groupcaps={
  248. cracky = {times={[4]=4.00, [1]=1.85, [2]=1.1, [3]=0.55}, uses=45, maxlevel=3},
  249. },
  250. damage_groups = {fleshy=8},
  251. },
  252. sound = {breaks = "default_tool_breaks"},
  253. })
  254. minetest.register_craft({
  255. output = 'xtraores:pickaxe_palladium',
  256. recipe = {
  257. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  258. {'', 'group:stick', ''},
  259. {'', 'group:stick', ''},
  260. }
  261. })
  262. minetest.register_tool("xtraores:shovel_palladium", {
  263. description = "".. core.colorize("#68fff6", "Palladium shovel\n")..core.colorize("#FFFFFF", "Mele damage: 7\n")..core.colorize("#FFFFFF", "Full punch interval: 0.96\n")..core.colorize("#FFFFFF", "range: 4.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 3"),
  264. inventory_image = "xtraores_shovel_palladium.png",
  265. range = 4.4,
  266. tool_capabilities = {
  267. full_punch_interval = 0.96,
  268. max_drop_level=1,
  269. groupcaps={
  270. crumbly = {times={[1]=0.95, [2]=0.40, [3]=0.25}, uses=45, maxlevel=3},
  271. },
  272. damage_groups = {fleshy=7},
  273. },
  274. sound = {breaks = "default_tool_breaks"},
  275. })
  276. minetest.register_craft({
  277. output = 'xtraores:shovel_palladium',
  278. recipe = {
  279. {'', 'xtraores:palladium_bar', ''},
  280. {'', 'group:stick', ''},
  281. {'', 'group:stick', ''},
  282. }
  283. })
  284. minetest.register_tool("xtraores:axe_palladium", {
  285. description = "".. core.colorize("#68fff6", "Palladium axe\n")..core.colorize("#FFFFFF", "Mele damage: 8\n")..core.colorize("#FFFFFF", "Full punch interval: 0.86\n")..core.colorize("#FFFFFF", "range: 4.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 3"),
  286. inventory_image = "xtraores_axe_palladium.png",
  287. range = 4.4,
  288. tool_capabilities = {
  289. full_punch_interval = 0.86,
  290. max_drop_level=1,
  291. groupcaps={
  292. choppy={times={[1]=1.95, [2]=0.80, [3]=0.45}, uses=45, maxlevel=3},
  293. },
  294. damage_groups = {fleshy=8},
  295. },
  296. sound = {breaks = "default_tool_breaks"},
  297. })
  298. minetest.register_craft({
  299. output = 'xtraores:axe_palladium',
  300. recipe = {
  301. {'xtraores:palladium_bar', 'xtraores:palladium_bar', ''},
  302. {'xtraores:palladium_bar', 'group:stick', ''},
  303. {'', 'group:stick', ''},
  304. }
  305. })
  306. minetest.register_craft({
  307. output = 'xtraores:axe_palladium',
  308. recipe = {
  309. {'', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  310. {'', 'group:stick', 'xtraores:palladium_bar'},
  311. {'', 'group:stick', ''},
  312. }
  313. })
  314. minetest.register_tool("xtraores:sword_palladium", {
  315. description = "".. core.colorize("#68fff6", "palladium sword\n")..core.colorize("#FFFFFF", "Mele damage: 9\n")..core.colorize("#FFFFFF", "Full punch interval: 0.66\n")..core.colorize("#FFFFFF", "range: 4.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 3"),
  316. inventory_image = "xtraores_sword_palladium.png",
  317. range = 4.4,
  318. tool_capabilities = {
  319. full_punch_interval = 0.66,
  320. max_drop_level=1,
  321. groupcaps={
  322. snappy={times={[1]=1.75, [2]=0.80, [3]=0.25}, uses=45, maxlevel=3},
  323. },
  324. damage_groups = {fleshy=9},
  325. },
  326. sound = {breaks = "default_tool_breaks"},
  327. })
  328. minetest.register_craft({
  329. output = 'xtraores:sword_palladium',
  330. recipe = {
  331. {'', 'xtraores:palladium_bar', ''},
  332. {'', 'xtraores:palladium_bar', ''},
  333. {'', 'group:stick', ''},
  334. }
  335. })
  336. minetest.register_tool("xtraores:shortsword_palladium", {
  337. description = "".. core.colorize("#68fff6", "palladium shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 8\n")..core.colorize("#FFFFFF", "Full punch interval: 0.56\n")..core.colorize("#FFFFFF", "range: 3.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 3"),
  338. inventory_image = "xtraores_shortsword_palladium.png",
  339. range = 3.2,
  340. tool_capabilities = {
  341. full_punch_interval = 0.56,
  342. max_drop_level=1,
  343. groupcaps={
  344. snappy={times={[1]=1.75, [2]=0.80, [3]=0.25}, uses=45, maxlevel=3},
  345. },
  346. damage_groups = {fleshy=8},
  347. },
  348. sound = {breaks = "default_tool_breaks"},
  349. })
  350. minetest.register_craft({
  351. output = 'xtraores:shortsword_palladium',
  352. recipe = {
  353. {'', '', ''},
  354. {'', '', 'xtraores:palladium_bar'},
  355. {'', 'group:stick', ''},
  356. }
  357. })
  358. -------------------cobalt set-------------------
  359. minetest.register_tool("xtraores:pickaxe_cobalt", {
  360. description = "".. core.colorize("#68fff6", "cobalt pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 10\n")..core.colorize("#FFFFFF", "Full punch interval: 0.84\n")..core.colorize("#FFFFFF", "range: 4.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 4"),
  361. inventory_image = "xtraores_pickaxe_cobalt.png",
  362. range = 4.6,
  363. tool_capabilities = {
  364. full_punch_interval = 0.84,
  365. max_drop_level=1,
  366. groupcaps={
  367. cracky = {times={[5]=6.00, [4]=3.50, [1]=1.65, [2]=0.95, [3]=0.45}, uses=60, maxlevel=3},
  368. },
  369. damage_groups = {fleshy=10},
  370. },
  371. sound = {breaks = "default_tool_breaks"},
  372. })
  373. minetest.register_craft({
  374. output = 'xtraores:pickaxe_cobalt',
  375. recipe = {
  376. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  377. {'', 'group:stick', ''},
  378. {'', 'group:stick', ''},
  379. }
  380. })
  381. minetest.register_tool("xtraores:shovel_cobalt", {
  382. description = "".. core.colorize("#68fff6", "cobalt shovel\n")..core.colorize("#FFFFFF", "Mele damage: 9\n")..core.colorize("#FFFFFF", "Full punch interval: 0.94\n")..core.colorize("#FFFFFF", "range: 4.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 4"),
  383. inventory_image = "xtraores_shovel_cobalt.png",
  384. range = 4.6,
  385. tool_capabilities = {
  386. full_punch_interval = 0.94,
  387. max_drop_level=1,
  388. groupcaps={
  389. crumbly = {times={[1]=0.8, [2]=0.30, [3]=0.20}, uses=60, maxlevel=3},
  390. },
  391. damage_groups = {fleshy=9},
  392. },
  393. sound = {breaks = "default_tool_breaks"},
  394. })
  395. minetest.register_craft({
  396. output = 'xtraores:shovel_cobalt',
  397. recipe = {
  398. {'', 'xtraores:cobalt_bar', ''},
  399. {'', 'group:stick', ''},
  400. {'', 'group:stick', ''},
  401. }
  402. })
  403. minetest.register_tool("xtraores:axe_cobalt", {
  404. description = "".. core.colorize("#68fff6", "cobalt axe\n")..core.colorize("#FFFFFF", "Mele damage: 10\n")..core.colorize("#FFFFFF", "Full punch interval: 0.84\n")..core.colorize("#FFFFFF", "range: 4.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 4"),
  405. inventory_image = "xtraores_axe_cobalt.png",
  406. range = 4.6,
  407. tool_capabilities = {
  408. full_punch_interval = 0.84,
  409. max_drop_level=1,
  410. groupcaps={
  411. choppy={times={[1]=1.8, [2]=0.70, [3]=0.40}, uses=60, maxlevel=3},
  412. },
  413. damage_groups = {fleshy=10},
  414. },
  415. sound = {breaks = "default_tool_breaks"},
  416. })
  417. minetest.register_craft({
  418. output = 'xtraores:axe_cobalt',
  419. recipe = {
  420. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', ''},
  421. {'xtraores:cobalt_bar', 'group:stick', ''},
  422. {'', 'group:stick', ''},
  423. }
  424. })
  425. minetest.register_craft({
  426. output = 'xtraores:axe_cobalt',
  427. recipe = {
  428. {'', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  429. {'', 'group:stick', 'xtraores:cobalt_bar'},
  430. {'', 'group:stick', ''},
  431. }
  432. })
  433. minetest.register_tool("xtraores:sword_cobalt", {
  434. description = "".. core.colorize("#68fff6", "cobalt sword\n")..core.colorize("#FFFFFF", "Mele damage: 11\n")..core.colorize("#FFFFFF", "Full punch interval: 0.64\n")..core.colorize("#FFFFFF", "range: 4.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 4"),
  435. inventory_image = "xtraores_sword_cobalt.png",
  436. range = 4.6,
  437. tool_capabilities = {
  438. full_punch_interval = 0.64,
  439. max_drop_level=1,
  440. groupcaps={
  441. snappy={times={[1]=1.60, [2]=0.70, [3]=0.20}, uses=60, maxlevel=3},
  442. },
  443. damage_groups = {fleshy=11},
  444. },
  445. sound = {breaks = "default_tool_breaks"},
  446. })
  447. minetest.register_craft({
  448. output = 'xtraores:sword_cobalt',
  449. recipe = {
  450. {'', 'xtraores:cobalt_bar', ''},
  451. {'', 'xtraores:cobalt_bar', ''},
  452. {'', 'group:stick', ''},
  453. }
  454. })
  455. minetest.register_tool("xtraores:shortsword_cobalt", {
  456. description = "".. core.colorize("#68fff6", "cobalt shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 10\n")..core.colorize("#FFFFFF", "Full punch interval: 0.54\n")..core.colorize("#FFFFFF", "range: 3.3\n")..core.colorize("#FFFFFF", "Xtraores tool level: 4"),
  457. inventory_image = "xtraores_shortsword_cobalt.png",
  458. range = 3.3,
  459. tool_capabilities = {
  460. full_punch_interval = 0.54,
  461. max_drop_level=1,
  462. groupcaps={
  463. snappy={times={[1]=1.6, [2]=0.70, [3]=0.20}, uses=60, maxlevel=3},
  464. },
  465. damage_groups = {fleshy=10},
  466. },
  467. sound = {breaks = "default_tool_breaks"},
  468. })
  469. minetest.register_craft({
  470. output = 'xtraores:shortsword_cobalt',
  471. recipe = {
  472. {'', '', ''},
  473. {'', '', 'xtraores:cobalt_bar'},
  474. {'', 'group:stick', ''},
  475. }
  476. })
  477. -------------------thorium set-------------------
  478. minetest.register_tool("xtraores:pickaxe_thorium", {
  479. description = "".. core.colorize("#68fff6", "Thorium pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 12\n")..core.colorize("#FFFFFF", "Full punch interval: 0.82\n")..core.colorize("#FFFFFF", "range: 4.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 5"),
  480. inventory_image = "xtraores_pickaxe_thorium.png",
  481. range = 4.8,
  482. tool_capabilities = {
  483. full_punch_interval = 0.82,
  484. max_drop_level=1,
  485. groupcaps={
  486. cracky = {times={[6]=8.00, [5]=5.40, [4]=3.50, [1]=1.5, [2]=0.85, [3]=0.40}, uses=90, maxlevel=3},
  487. crumbly = {times={[1]=0.6, [2]=0.20, [3]=0.15}, uses=90, maxlevel=3},
  488. },
  489. damage_groups = {fleshy=12},
  490. },
  491. sound = {breaks = "default_tool_breaks"},
  492. })
  493. minetest.register_craft({
  494. output = 'xtraores:pickaxe_thorium',
  495. recipe = {
  496. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  497. {'', 'xtraores:steel_handle', ''},
  498. {'', 'xtraores:steel_handle', ''},
  499. }
  500. })
  501. minetest.register_tool("xtraores:axe_thorium", {
  502. description = "".. core.colorize("#68fff6", "Thorium axe\n")..core.colorize("#FFFFFF", "Mele damage: 12\n")..core.colorize("#FFFFFF", "Full punch interval: 0.82\n")..core.colorize("#FFFFFF", "range: 4.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 5"),
  503. inventory_image = "xtraores_axe_thorium.png",
  504. range = 4.8,
  505. tool_capabilities = {
  506. full_punch_interval = 0.82,
  507. max_drop_level=1,
  508. groupcaps={
  509. choppy={times={[1]=1.6, [2]=0.60, [3]=0.35}, uses=90, maxlevel=3},
  510. },
  511. damage_groups = {fleshy=12},
  512. },
  513. sound = {breaks = "default_tool_breaks"},
  514. })
  515. minetest.register_craft({
  516. output = 'xtraores:axe_thorium',
  517. recipe = {
  518. {'xtraores:thorium_bar', 'xtraores:thorium_bar', ''},
  519. {'xtraores:thorium_bar', 'xtraores:steel_handle', ''},
  520. {'', 'xtraores:steel_handle', ''},
  521. }
  522. })
  523. minetest.register_craft({
  524. output = 'xtraores:axe_thorium',
  525. recipe = {
  526. {'', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  527. {'', 'xtraores:steel_handle', 'xtraores:thorium_bar'},
  528. {'', 'xtraores:steel_handle', ''},
  529. }
  530. })
  531. minetest.register_tool("xtraores:sword_thorium", {
  532. description = "".. core.colorize("#68fff6", "Thorium sword\n")..core.colorize("#FFFFFF", "Mele damage: 13\n")..core.colorize("#FFFFFF", "Full punch interval: 0.62\n")..core.colorize("#FFFFFF", "range: 4.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 5"),
  533. inventory_image = "xtraores_sword_thorium.png",
  534. range = 4.8,
  535. tool_capabilities = {
  536. full_punch_interval = 0.62,
  537. max_drop_level=1,
  538. groupcaps={
  539. snappy={times={[1]=1.40, [2]=0.60, [3]=0.15}, uses=90, maxlevel=3},
  540. },
  541. damage_groups = {fleshy=13},
  542. },
  543. sound = {breaks = "default_tool_breaks"},
  544. })
  545. minetest.register_craft({
  546. output = 'xtraores:sword_thorium',
  547. recipe = {
  548. {'', 'xtraores:thorium_bar', ''},
  549. {'', 'xtraores:thorium_bar', ''},
  550. {'', 'xtraores:steel_handle', ''},
  551. }
  552. })
  553. minetest.register_tool("xtraores:spear_thorium", {
  554. description = "".. core.colorize("#68fff6", "Thorium spear\n")..core.colorize("#FFFFFF", "Mele damage: 14\n")..core.colorize("#FFFFFF", "Full punch interval: 0.93\n")..core.colorize("#FFFFFF", "range: 6.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 5"),
  555. inventory_image = "xtraores_spear_thorium.png",
  556. wield_scale = {x=2.0,y=2.0,z=1.0},
  557. range = 6.0,
  558. tool_capabilities = {
  559. full_punch_interval = 0.93,
  560. max_drop_level=1,
  561. groupcaps={
  562. snappy={times={[1]=1.40, [2]=0.60, [3]=0.15}, uses=90, maxlevel=3},
  563. },
  564. damage_groups = {fleshy=14},
  565. },
  566. sound = {breaks = "default_tool_breaks"},
  567. })
  568. minetest.register_craft({
  569. output = 'xtraores:spear_thorium',
  570. recipe = {
  571. {'', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  572. {'', 'xtraores:steel_handle', 'xtraores:thorium_bar'},
  573. {'xtraores:steel_handle', '', ''},
  574. }
  575. })
  576. minetest.register_tool("xtraores:shortsword_thorium", {
  577. description = "".. core.colorize("#68fff6", "Thorium shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 12\n")..core.colorize("#FFFFFF", "Full punch interval: 0.52\n")..core.colorize("#FFFFFF", "range: 3.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 5"),
  578. inventory_image = "xtraores_shortsword_thorium.png",
  579. range = 3.4,
  580. tool_capabilities = {
  581. full_punch_interval = 0.52,
  582. max_drop_level=1,
  583. groupcaps={
  584. snappy={times={[1]=1.4, [2]=0.60, [3]=0.15}, uses=90, maxlevel=3},
  585. },
  586. damage_groups = {fleshy=12},
  587. },
  588. sound = {breaks = "default_tool_breaks"},
  589. })
  590. minetest.register_craft({
  591. output = 'xtraores:shortsword_thorium',
  592. recipe = {
  593. {'', '', ''},
  594. {'', '', 'xtraores:thorium_bar'},
  595. {'', 'xtraores:steel_handle', ''},
  596. }
  597. })
  598. -------------------osmium set-------------------
  599. minetest.register_tool("xtraores:pickaxe_osmium", {
  600. description = "".. core.colorize("#68fff6", "Osmium pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 14\n")..core.colorize("#FFFFFF", "Full punch interval: 0.80\n")..core.colorize("#FFFFFF", "range: 5.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 6"),
  601. inventory_image = "xtraores_pickaxe_osmium.png",
  602. range = 5.0,
  603. tool_capabilities = {
  604. full_punch_interval = 0.80,
  605. max_drop_level=1,
  606. groupcaps={
  607. cracky = {times={[7]=10.00, [6]=7.20, [5]=5.40, [4]=3.00, [1]=1.3, [2]=0.75, [3]=0.35}, uses=125, maxlevel=3},
  608. crumbly = {times={[1]=0.3, [2]=0.12, [3]=0.08}, uses=125, maxlevel=3},
  609. },
  610. damage_groups = {fleshy=14},
  611. },
  612. sound = {breaks = "default_tool_breaks"},
  613. })
  614. minetest.register_craft({
  615. output = 'xtraores:pickaxe_osmium',
  616. recipe = {
  617. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  618. {'', 'xtraores:steel_handle', ''},
  619. {'', 'xtraores:steel_handle', ''},
  620. }
  621. })
  622. minetest.register_tool("xtraores:axe_osmium", {
  623. description = "".. core.colorize("#68fff6", "Osmium axe\n")..core.colorize("#FFFFFF", "Mele damage: 14\n")..core.colorize("#FFFFFF", "Full punch interval: 0.80\n")..core.colorize("#FFFFFF", "range: 5.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 6"),
  624. inventory_image = "xtraores_axe_osmium.png",
  625. range = 5.0,
  626. tool_capabilities = {
  627. full_punch_interval = 0.80,
  628. max_drop_level=1,
  629. groupcaps={
  630. choppy={times={[1]=1.4, [2]=0.50, [3]=0.30}, uses=125, maxlevel=3},
  631. },
  632. damage_groups = {fleshy=14},
  633. },
  634. sound = {breaks = "default_tool_breaks"},
  635. })
  636. minetest.register_craft({
  637. output = 'xtraores:axe_osmium',
  638. recipe = {
  639. {'xtraores:osmium_bar', 'xtraores:osmium_bar', ''},
  640. {'xtraores:osmium_bar', 'xtraores:steel_handle', ''},
  641. {'', 'xtraores:steel_handle', ''},
  642. }
  643. })
  644. minetest.register_craft({
  645. output = 'xtraores:axe_osmium',
  646. recipe = {
  647. {'', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  648. {'', 'xtraores:steel_handle', 'xtraores:osmium_bar'},
  649. {'', 'xtraores:steel_handle', ''},
  650. }
  651. })
  652. minetest.register_tool("xtraores:sword_osmium", {
  653. description = "".. core.colorize("#68fff6", "Osmium sword\n")..core.colorize("#FFFFFF", "Mele damage: 15\n")..core.colorize("#FFFFFF", "Full punch interval: 0.60\n")..core.colorize("#FFFFFF", "range: 5.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 6"),
  654. inventory_image = "xtraores_sword_osmium.png",
  655. range = 5.0,
  656. tool_capabilities = {
  657. full_punch_interval = 0.60,
  658. max_drop_level=1,
  659. groupcaps={
  660. snappy={times={[1]=1.20, [2]=0.50, [3]=0.10}, uses=125, maxlevel=3},
  661. },
  662. damage_groups = {fleshy=15},
  663. },
  664. sound = {breaks = "default_tool_breaks"},
  665. })
  666. minetest.register_craft({
  667. output = 'xtraores:sword_osmium',
  668. recipe = {
  669. {'', 'xtraores:osmium_bar', ''},
  670. {'', 'xtraores:osmium_bar', ''},
  671. {'', 'xtraores:steel_handle', ''},
  672. }
  673. })
  674. minetest.register_tool("xtraores:spear_osmium", {
  675. description = "".. core.colorize("#68fff6", "Osmium spear\n")..core.colorize("#FFFFFF", "Mele damage: 16\n")..core.colorize("#FFFFFF", "Full punch interval: 0.90\n")..core.colorize("#FFFFFF", "range: 6.3\n")..core.colorize("#FFFFFF", "Xtraores tool level: 6"),
  676. inventory_image = "xtraores_spear_osmium.png",
  677. wield_scale = {x=2.0,y=2.0,z=1.0},
  678. range = 6.3,
  679. tool_capabilities = {
  680. full_punch_interval = 0.90,
  681. max_drop_level=1,
  682. groupcaps={
  683. snappy={times={[1]=1.20, [2]=0.50, [3]=0.10}, uses=125, maxlevel=3},
  684. },
  685. damage_groups = {fleshy=16},
  686. },
  687. sound = {breaks = "default_tool_breaks"},
  688. })
  689. minetest.register_craft({
  690. output = 'xtraores:spear_osmium',
  691. recipe = {
  692. {'', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  693. {'', 'xtraores:steel_handle', 'xtraores:osmium_bar'},
  694. {'xtraores:steel_handle', '', ''},
  695. }
  696. })
  697. minetest.register_tool("xtraores:shortsword_osmium", {
  698. description = "".. core.colorize("#68fff6", "Osmium shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 14\n")..core.colorize("#FFFFFF", "Full punch interval: 0.50\n")..core.colorize("#FFFFFF", "range: 3.5\n")..core.colorize("#FFFFFF", "Xtraores tool level: 6"),
  699. inventory_image = "xtraores_shortsword_osmium.png",
  700. range = 3.5,
  701. tool_capabilities = {
  702. full_punch_interval = 0.50,
  703. max_drop_level=1,
  704. groupcaps={
  705. snappy={times={[1]=1.2, [2]=0.50, [3]=0.10}, uses=125, maxlevel=3},
  706. },
  707. damage_groups = {fleshy=14},
  708. },
  709. sound = {breaks = "default_tool_breaks"},
  710. })
  711. minetest.register_craft({
  712. output = 'xtraores:shortsword_osmium',
  713. recipe = {
  714. {'', '', ''},
  715. {'', '', 'xtraores:osmium_bar'},
  716. {'', 'xtraores:steel_handle', ''},
  717. }
  718. })
  719. -------------------rhenium set-------------------
  720. minetest.register_tool("xtraores:pickaxe_rhenium", {
  721. description = "".. core.colorize("#68fff6", "Rhenium pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 16\n")..core.colorize("#FFFFFF", "Full punch interval: 0.78\n")..core.colorize("#FFFFFF", "range: 5.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 7"),
  722. inventory_image = "xtraores_pickaxe_rhenium.png",
  723. range = 5.2,
  724. tool_capabilities = {
  725. full_punch_interval = 0.78,
  726. max_drop_level=1,
  727. groupcaps={
  728. cracky = {times={[8]=12.00, [7]=9.00, [6]=6.40, [5]=4.80, [4]=2.60, [1]=1.1, [2]=0.65, [3]=0.30}, uses=175, maxlevel=3},
  729. crumbly = {times={[1]=0.2, [2]=0.08, [3]=0.05}, uses=175, maxlevel=3},
  730. },
  731. damage_groups = {fleshy=16},
  732. },
  733. sound = {breaks = "default_tool_breaks"},
  734. })
  735. minetest.register_craft({
  736. output = 'xtraores:pickaxe_rhenium',
  737. recipe = {
  738. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  739. {'', 'xtraores:steel_handle', ''},
  740. {'', 'xtraores:steel_handle', ''},
  741. }
  742. })
  743. minetest.register_tool("xtraores:axe_rhenium", {
  744. description = "".. core.colorize("#68fff6", "Rhenium axe\n")..core.colorize("#FFFFFF", "Mele damage: 16\n")..core.colorize("#FFFFFF", "Full punch interval: 0.78\n")..core.colorize("#FFFFFF", "range: 5.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 7"),
  745. inventory_image = "xtraores_axe_rhenium.png",
  746. range = 5.2,
  747. tool_capabilities = {
  748. full_punch_interval = 0.78,
  749. max_drop_level=1,
  750. groupcaps={
  751. choppy={times={[1]=1.1, [2]=0.30, [3]=0.20}, uses=175, maxlevel=3},
  752. },
  753. damage_groups = {fleshy=16},
  754. },
  755. sound = {breaks = "default_tool_breaks"},
  756. })
  757. minetest.register_craft({
  758. output = 'xtraores:axe_rhenium',
  759. recipe = {
  760. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', ''},
  761. {'xtraores:rhenium_bar', 'xtraores:steel_handle', ''},
  762. {'', 'xtraores:steel_handle', ''},
  763. }
  764. })
  765. minetest.register_craft({
  766. output = 'xtraores:axe_rhenium',
  767. recipe = {
  768. {'', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  769. {'', 'xtraores:steel_handle', 'xtraores:rhenium_bar'},
  770. {'', 'xtraores:steel_handle', ''},
  771. }
  772. })
  773. minetest.register_tool("xtraores:sword_rhenium", {
  774. description = "".. core.colorize("#68fff6", "Rhenium sword\n")..core.colorize("#FFFFFF", "Mele damage: 17\n")..core.colorize("#FFFFFF", "Full punch interval: 0.58\n")..core.colorize("#FFFFFF", "range: 5.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 7"),
  775. inventory_image = "xtraores_sword_rhenium.png",
  776. range = 5.2,
  777. tool_capabilities = {
  778. full_punch_interval = 0.58,
  779. max_drop_level=1,
  780. groupcaps={
  781. snappy={times={[1]=1.00, [2]=0.40, [3]=0.05}, uses=175, maxlevel=3},
  782. },
  783. damage_groups = {fleshy=17},
  784. },
  785. sound = {breaks = "default_tool_breaks"},
  786. })
  787. minetest.register_craft({
  788. output = 'xtraores:sword_rhenium',
  789. recipe = {
  790. {'', 'xtraores:rhenium_bar', ''},
  791. {'', 'xtraores:rhenium_bar', ''},
  792. {'', 'xtraores:steel_handle', ''},
  793. }
  794. })
  795. minetest.register_tool("xtraores:spear_rhenium", {
  796. description = "".. core.colorize("#68fff6", "Rhenium spear\n")..core.colorize("#FFFFFF", "Mele damage: 18\n")..core.colorize("#FFFFFF", "Full punch interval: 0.87\n")..core.colorize("#FFFFFF", "range: 6.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 7"),
  797. inventory_image = "xtraores_spear_rhenium.png",
  798. wield_scale = {x=2.0,y=2.0,z=1.0},
  799. range = 6.6,
  800. tool_capabilities = {
  801. full_punch_interval = 0.87,
  802. max_drop_level=1,
  803. groupcaps={
  804. snappy={times={[1]=1.20, [2]=0.50, [3]=0.10}, uses=175, maxlevel=3},
  805. },
  806. damage_groups = {fleshy=18},
  807. },
  808. sound = {breaks = "default_tool_breaks"},
  809. })
  810. minetest.register_craft({
  811. output = 'xtraores:spear_rhenium',
  812. recipe = {
  813. {'', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  814. {'', 'xtraores:steel_handle', 'xtraores:rhenium_bar'},
  815. {'xtraores:steel_handle', '', ''},
  816. }
  817. })
  818. minetest.register_tool("xtraores:shortsword_rhenium", {
  819. description = "".. core.colorize("#68fff6", "Rhenium shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 16\n")..core.colorize("#FFFFFF", "Full punch interval: 0.48\n")..core.colorize("#FFFFFF", "range: 3.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 7"),
  820. inventory_image = "xtraores_shortsword_rhenium.png",
  821. range = 3.6,
  822. tool_capabilities = {
  823. full_punch_interval = 0.48,
  824. max_drop_level=1,
  825. groupcaps={
  826. snappy={times={[1]=1.0, [2]=0.40, [3]=0.05}, uses=175, maxlevel=3},
  827. },
  828. damage_groups = {fleshy=16},
  829. },
  830. sound = {breaks = "default_tool_breaks"},
  831. })
  832. minetest.register_craft({
  833. output = 'xtraores:shortsword_rhenium',
  834. recipe = {
  835. {'', '', ''},
  836. {'', '', 'xtraores:rhenium_bar'},
  837. {'', 'xtraores:steel_handle', ''},
  838. }
  839. })
  840. -------------------vanadium set-------------------
  841. minetest.register_tool("xtraores:pickaxe_vanadium", {
  842. description = "".. core.colorize("#68fff6", "vanadium pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 18\n")..core.colorize("#FFFFFF", "Full punch interval: 0.76\n")..core.colorize("#FFFFFF", "range: 5.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 8"),
  843. inventory_image = "xtraores_pickaxe_vanadium.png",
  844. range = 5.4,
  845. tool_capabilities = {
  846. full_punch_interval = 0.76,
  847. max_drop_level=1,
  848. groupcaps={
  849. cracky = {times={[9]=15.00, [8]=10.00, [7]=8.00, [6]=6.00, [5]=4.40, [4]=2.20, [1]=0.9, [2]=0.5, [3]=0.25}, uses=255, maxlevel=3},
  850. crumbly = {times={[1]=0.1, [2]=0.04, [3]=0.025}, uses=255, maxlevel=3},
  851. },
  852. damage_groups = {fleshy=18},
  853. },
  854. sound = {breaks = "default_tool_breaks"},
  855. })
  856. minetest.register_craft({
  857. output = 'xtraores:pickaxe_vanadium',
  858. recipe = {
  859. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  860. {'', 'xtraores:steel_handle', ''},
  861. {'', 'xtraores:steel_handle', ''},
  862. }
  863. })
  864. minetest.register_tool("xtraores:axe_vanadium", {
  865. description = "".. core.colorize("#68fff6", "vanadium axe\n")..core.colorize("#FFFFFF", "Mele damage: 18\n")..core.colorize("#FFFFFF", "Full punch interval: 0.76\n")..core.colorize("#FFFFFF", "range: 5.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 8"),
  866. inventory_image = "xtraores_axe_vanadium.png",
  867. range = 5.4,
  868. tool_capabilities = {
  869. full_punch_interval = 0.76,
  870. max_drop_level=1,
  871. groupcaps={
  872. choppy={times={[1]=0.9, [2]=0.25, [3]=0.175}, uses=255, maxlevel=3},
  873. },
  874. damage_groups = {fleshy=18},
  875. },
  876. sound = {breaks = "default_tool_breaks"},
  877. })
  878. minetest.register_craft({
  879. output = 'xtraores:axe_vanadium',
  880. recipe = {
  881. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', ''},
  882. {'xtraores:vanadium_bar', 'xtraores:steel_handle', ''},
  883. {'', 'xtraores:steel_handle', ''},
  884. }
  885. })
  886. minetest.register_craft({
  887. output = 'xtraores:axe_vanadium',
  888. recipe = {
  889. {'', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  890. {'', 'xtraores:steel_handle', 'xtraores:vanadium_bar'},
  891. {'', 'xtraores:steel_handle', ''},
  892. }
  893. })
  894. minetest.register_tool("xtraores:sword_vanadium", {
  895. description = "".. core.colorize("#68fff6", "vanadium sword\n")..core.colorize("#FFFFFF", "Mele damage: 19\n")..core.colorize("#FFFFFF", "Full punch interval: 0.56\n")..core.colorize("#FFFFFF", "range: 5.4\n")..core.colorize("#FFFFFF", "Xtraores tool level: 8"),
  896. inventory_image = "xtraores_sword_vanadium.png",
  897. range = 5.4,
  898. tool_capabilities = {
  899. full_punch_interval = 0.56,
  900. max_drop_level=1,
  901. groupcaps={
  902. snappy={times={[1]=0.80, [2]=0.30, [3]=0.025}, uses=255, maxlevel=3},
  903. },
  904. damage_groups = {fleshy=19},
  905. },
  906. sound = {breaks = "default_tool_breaks"},
  907. })
  908. minetest.register_craft({
  909. output = 'xtraores:sword_vanadium',
  910. recipe = {
  911. {'', 'xtraores:vanadium_bar', ''},
  912. {'', 'xtraores:vanadium_bar', ''},
  913. {'', 'xtraores:steel_handle', ''},
  914. }
  915. })
  916. minetest.register_tool("xtraores:spear_vanadium", {
  917. description = "".. core.colorize("#68fff6", "vanadium spear\n")..core.colorize("#FFFFFF", "Mele damage: 20\n")..core.colorize("#FFFFFF", "Full punch interval: 0.84\n")..core.colorize("#FFFFFF", "range: 6.85\n")..core.colorize("#FFFFFF", "Xtraores tool level: 8"),
  918. inventory_image = "xtraores_spear_vanadium.png",
  919. wield_scale = {x=2.0,y=2.0,z=1.0},
  920. range = 6.85,
  921. tool_capabilities = {
  922. full_punch_interval = 0.84,
  923. max_drop_level=1,
  924. groupcaps={
  925. snappy={times={[1]=0.80, [2]=0.40, [3]=0.05}, uses=255, maxlevel=3},
  926. },
  927. damage_groups = {fleshy=20},
  928. },
  929. sound = {breaks = "default_tool_breaks"},
  930. })
  931. minetest.register_craft({
  932. output = 'xtraores:spear_vanadium',
  933. recipe = {
  934. {'', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  935. {'', 'xtraores:steel_handle', 'xtraores:vanadium_bar'},
  936. {'xtraores:steel_handle', '', ''},
  937. }
  938. })
  939. minetest.register_tool("xtraores:shortsword_vanadium", {
  940. description = "".. core.colorize("#68fff6", "vanadium shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 18\n")..core.colorize("#FFFFFF", "Full punch interval: 0.46\n")..core.colorize("#FFFFFF", "range: 3.7\n")..core.colorize("#FFFFFF", "Xtraores tool level: 8"),
  941. inventory_image = "xtraores_shortsword_vanadium.png",
  942. range = 3.7,
  943. tool_capabilities = {
  944. full_punch_interval = 0.46,
  945. max_drop_level=1,
  946. groupcaps={
  947. snappy={times={[1]=0.8, [2]=0.30, [3]=0.025}, uses=255, maxlevel=3},
  948. },
  949. damage_groups = {fleshy=18},
  950. },
  951. sound = {breaks = "default_tool_breaks"},
  952. })
  953. minetest.register_craft({
  954. output = 'xtraores:shortsword_vanadium',
  955. recipe = {
  956. {'', '', ''},
  957. {'', '', 'xtraores:vanadium_bar'},
  958. {'', 'xtraores:steel_handle', ''},
  959. }
  960. })
  961. -------------------rarium set-------------------
  962. minetest.register_tool("xtraores:pickaxe_rarium", {
  963. description = "".. core.colorize("#68fff6", "rarium pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 20\n")..core.colorize("#FFFFFF", "Full punch interval: 0.74\n")..core.colorize("#FFFFFF", "range: 5.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 9"),
  964. inventory_image = "xtraores_pickaxe_rarium.png",
  965. range = 5.6,
  966. tool_capabilities = {
  967. full_punch_interval = 0.74,
  968. max_drop_level=1,
  969. groupcaps={
  970. cracky = {times={[10]=20.00, [9]=12.00, [8]=8.00, [7]=7.40, [6]=5.00, [5]=3.90, [4]=1.80, [1]=0.65, [2]=0.35, [3]=0.175}, uses=300, maxlevel=3},
  971. crumbly = {times={[1]=0.05, [2]=0.02, [3]=0.0125}, uses=255, maxlevel=3},
  972. },
  973. damage_groups = {fleshy=20},
  974. },
  975. sound = {breaks = "default_tool_breaks"},
  976. })
  977. minetest.register_craft({
  978. output = 'xtraores:pickaxe_rarium',
  979. recipe = {
  980. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  981. {'', 'xtraores:duragalss_handle', ''},
  982. {'', 'xtraores:duragalss_handle', ''},
  983. }
  984. })
  985. minetest.register_tool("xtraores:axe_rarium", {
  986. description = "".. core.colorize("#68fff6", "rarium axe\n")..core.colorize("#FFFFFF", "Mele damage: 20\n")..core.colorize("#FFFFFF", "Full punch interval: 0.74\n")..core.colorize("#FFFFFF", "range: 5.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 9"),
  987. inventory_image = "xtraores_axe_rarium.png",
  988. range = 5.6,
  989. tool_capabilities = {
  990. full_punch_interval = 0.74,
  991. max_drop_level=1,
  992. groupcaps={
  993. choppy={times={[1]=0.7, [2]=0.20, [3]=0.10}, uses=300, maxlevel=3},
  994. },
  995. damage_groups = {fleshy=20},
  996. },
  997. sound = {breaks = "default_tool_breaks"},
  998. })
  999. minetest.register_craft({
  1000. output = 'xtraores:axe_rarium',
  1001. recipe = {
  1002. {'xtraores:rarium_bar', 'xtraores:rarium_bar', ''},
  1003. {'xtraores:rarium_bar', 'xtraores:duragalss_handle', ''},
  1004. {'', 'xtraores:duragalss_handle', ''},
  1005. }
  1006. })
  1007. minetest.register_craft({
  1008. output = 'xtraores:axe_rarium',
  1009. recipe = {
  1010. {'', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  1011. {'', 'xtraores:duragalss_handle', 'xtraores:rarium_bar'},
  1012. {'', 'xtraores:duragalss_handle', ''},
  1013. }
  1014. })
  1015. minetest.register_tool("xtraores:sword_rarium", {
  1016. description = "".. core.colorize("#68fff6", "rarium sword\n")..core.colorize("#FFFFFF", "Mele damage: 21\n")..core.colorize("#FFFFFF", "Full punch interval: 0.54\n")..core.colorize("#FFFFFF", "range: 5.6\n")..core.colorize("#FFFFFF", "Xtraores tool level: 9"),
  1017. inventory_image = "xtraores_sword_rarium.png",
  1018. range = 5.6,
  1019. tool_capabilities = {
  1020. full_punch_interval = 0.54,
  1021. max_drop_level=1,
  1022. groupcaps={
  1023. snappy={times={[1]=0.80, [2]=0.30, [3]=0.025}, uses=300, maxlevel=3},
  1024. },
  1025. damage_groups = {fleshy=21},
  1026. },
  1027. sound = {breaks = "default_tool_breaks"},
  1028. })
  1029. minetest.register_craft({
  1030. output = 'xtraores:sword_rarium',
  1031. recipe = {
  1032. {'', 'xtraores:rarium_bar', ''},
  1033. {'', 'xtraores:rarium_bar', ''},
  1034. {'', 'xtraores:duragalss_handle', ''},
  1035. }
  1036. })
  1037. minetest.register_tool("xtraores:spear_rarium", {
  1038. description = "".. core.colorize("#68fff6", "rarium spear\n")..core.colorize("#FFFFFF", "Mele damage: 22\n")..core.colorize("#FFFFFF", "Full punch interval: 0.81\n")..core.colorize("#FFFFFF", "range: 7.0\n")..core.colorize("#FFFFFF", "Xtraores tool level: 9"),
  1039. inventory_image = "xtraores_spear_rarium.png",
  1040. wield_scale = {x=2.0,y=2.0,z=1.0},
  1041. range = 7.0,
  1042. tool_capabilities = {
  1043. full_punch_interval = 0.81,
  1044. max_drop_level=1,
  1045. groupcaps={
  1046. snappy={times={[1]=0.60, [2]=0.20, [3]=0.001}, uses=300, maxlevel=3},
  1047. },
  1048. damage_groups = {fleshy=22},
  1049. },
  1050. sound = {breaks = "default_tool_breaks"},
  1051. })
  1052. minetest.register_craft({
  1053. output = 'xtraores:spear_rarium',
  1054. recipe = {
  1055. {'', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  1056. {'', 'xtraores:duragalss_handle', 'xtraores:rarium_bar'},
  1057. {'xtraores:duragalss_handle', '', ''},
  1058. }
  1059. })
  1060. minetest.register_tool("xtraores:shortsword_rarium", {
  1061. description = "".. core.colorize("#68fff6", "rarium shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 20\n")..core.colorize("#FFFFFF", "Full punch interval: 0.44\n")..core.colorize("#FFFFFF", "range: 3.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 9"),
  1062. inventory_image = "xtraores_shortsword_rarium.png",
  1063. range = 3.8,
  1064. tool_capabilities = {
  1065. full_punch_interval = 0.44,
  1066. max_drop_level=1,
  1067. groupcaps={
  1068. snappy={times={[1]=0.6, [2]=0.20, [3]=0.015}, uses=300, maxlevel=3},
  1069. },
  1070. damage_groups = {fleshy=20},
  1071. },
  1072. sound = {breaks = "default_tool_breaks"},
  1073. })
  1074. minetest.register_craft({
  1075. output = 'xtraores:shortsword_rarium',
  1076. recipe = {
  1077. {'', '', ''},
  1078. {'', '', 'xtraores:rarium_bar'},
  1079. {'', 'xtraores:duragalss_handle', ''},
  1080. }
  1081. })
  1082. -------------------orichalcum set-------------------
  1083. minetest.register_tool("xtraores:pickaxe_orichalcum", {
  1084. description = "".. core.colorize("#68fff6", "Orichalcum pickaxe\n")..core.colorize("#FFFFFF", "Mele damage: 22\n")..core.colorize("#FFFFFF", "Full punch interval: 0.72\n")..core.colorize("#FFFFFF", "range: 5.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 10"),
  1085. inventory_image = "xtraores_pickaxe_orichalcum.png",
  1086. range = 5.8,
  1087. tool_capabilities = {
  1088. full_punch_interval = 0.72,
  1089. max_drop_level=1,
  1090. groupcaps={
  1091. cracky = {times={[11]=25.00, [10]=16.00, [9]=10.00, [8]=7.00, [7]=6.90, [6]=4.50, [5]=3.50, [4]=1.20, [1]=0.5, [2]=0.25, [3]=0.13}, uses=360, maxlevel=3},
  1092. crumbly = {times={[1]=0.03, [2]=0.01, [3]=0.009}, uses=360, maxlevel=3},
  1093. },
  1094. damage_groups = {fleshy=22},
  1095. },
  1096. sound = {breaks = "default_tool_breaks"},
  1097. })
  1098. minetest.register_craft({
  1099. output = 'xtraores:pickaxe_orichalcum',
  1100. recipe = {
  1101. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  1102. {'', 'xtraores:duragalss_handle', ''},
  1103. {'', 'xtraores:duragalss_handle', ''},
  1104. }
  1105. })
  1106. minetest.register_tool("xtraores:axe_orichalcum", {
  1107. description = "".. core.colorize("#68fff6", "Orichalcum axe\n")..core.colorize("#FFFFFF", "Mele damage: 22\n")..core.colorize("#FFFFFF", "Full punch interval: 0.72\n")..core.colorize("#FFFFFF", "range: 5.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 10"),
  1108. inventory_image = "xtraores_axe_orichalcum.png",
  1109. range = 5.8,
  1110. tool_capabilities = {
  1111. full_punch_interval = 0.72,
  1112. max_drop_level=1,
  1113. groupcaps={
  1114. choppy={times={[1]=0.5, [2]=0.15, [3]=0.075}, uses=360, maxlevel=3},
  1115. },
  1116. damage_groups = {fleshy=22},
  1117. },
  1118. sound = {breaks = "default_tool_breaks"},
  1119. })
  1120. minetest.register_craft({
  1121. output = 'xtraores:axe_orichalcum',
  1122. recipe = {
  1123. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', ''},
  1124. {'xtraores:orichalcum_bar', 'xtraores:duragalss_handle', ''},
  1125. {'', 'xtraores:duragalss_handle', ''},
  1126. }
  1127. })
  1128. minetest.register_craft({
  1129. output = 'xtraores:axe_orichalcum',
  1130. recipe = {
  1131. {'', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  1132. {'', 'xtraores:duragalss_handle', 'xtraores:orichalcum_bar'},
  1133. {'', 'xtraores:duragalss_handle', ''},
  1134. }
  1135. })
  1136. minetest.register_tool("xtraores:sword_orichalcum", {
  1137. description = "".. core.colorize("#68fff6", "Orichalcum sword\n")..core.colorize("#FFFFFF", "Mele damage: 23\n")..core.colorize("#FFFFFF", "Full punch interval: 0.52\n")..core.colorize("#FFFFFF", "range: 5.8\n")..core.colorize("#FFFFFF", "Xtraores tool level: 10"),
  1138. inventory_image = "xtraores_sword_orichalcum.png",
  1139. range = 5.8,
  1140. tool_capabilities = {
  1141. full_punch_interval = 0.52,
  1142. max_drop_level=1,
  1143. groupcaps={
  1144. snappy={times={[1]=0.50, [2]=0.30, [3]=0.015}, uses=360, maxlevel=3},
  1145. },
  1146. damage_groups = {fleshy=23},
  1147. },
  1148. sound = {breaks = "default_tool_breaks"},
  1149. })
  1150. minetest.register_craft({
  1151. output = 'xtraores:sword_orichalcum',
  1152. recipe = {
  1153. {'', 'xtraores:orichalcum_bar', ''},
  1154. {'', 'xtraores:orichalcum_bar', ''},
  1155. {'', 'xtraores:duragalss_handle', ''},
  1156. }
  1157. })
  1158. minetest.register_tool("xtraores:spear_orichalcum", {
  1159. description = "".. core.colorize("#68fff6", "Orichalcum spear\n")..core.colorize("#FFFFFF", "Mele damage: 24\n")..core.colorize("#FFFFFF", "Full punch interval: 0.78\n")..core.colorize("#FFFFFF", "range: 7.2\n")..core.colorize("#FFFFFF", "Xtraores tool level: 10"),
  1160. inventory_image = "xtraores_spear_orichalcum.png",
  1161. wield_scale = {x=2.0,y=2.0,z=1.0},
  1162. range = 7.2,
  1163. tool_capabilities = {
  1164. full_punch_interval = 0.78,
  1165. max_drop_level=1,
  1166. groupcaps={
  1167. snappy={times={[1]=0.40, [2]=0.10, [3]=0.001}, uses=360, maxlevel=3},
  1168. },
  1169. damage_groups = {fleshy=24},
  1170. },
  1171. sound = {breaks = "default_tool_breaks"},
  1172. })
  1173. minetest.register_craft({
  1174. output = 'xtraores:spear_orichalcum',
  1175. recipe = {
  1176. {'', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  1177. {'', 'xtraores:duragalss_handle', 'xtraores:orichalcum_bar'},
  1178. {'xtraores:duragalss_handle', '', ''},
  1179. }
  1180. })
  1181. minetest.register_tool("xtraores:shortsword_orichalcum", {
  1182. description = "".. core.colorize("#68fff6", "Orichalcum shortsword\n")..core.colorize("#FFFFFF", "Mele damage: 23\n")..core.colorize("#FFFFFF", "Full punch interval: 0.42\n")..core.colorize("#FFFFFF", "range: 3.9\n")..core.colorize("#FFFFFF", "Xtraores tool level: 10"),
  1183. inventory_image = "xtraores_shortsword_orichalcum.png",
  1184. range = 3.9,
  1185. tool_capabilities = {
  1186. full_punch_interval = 0.42,
  1187. max_drop_level=1,
  1188. groupcaps={
  1189. snappy={times={[1]=0.4, [2]=0.15, [3]=0.010}, uses=360, maxlevel=3},
  1190. },
  1191. damage_groups = {fleshy=23},
  1192. },
  1193. sound = {breaks = "default_tool_breaks"},
  1194. })
  1195. minetest.register_craft({
  1196. output = 'xtraores:shortsword_orichalcum',
  1197. recipe = {
  1198. {'', '', ''},
  1199. {'', '', 'xtraores:orichalcum_bar'},
  1200. {'', 'xtraores:duragalss_handle', ''},
  1201. }
  1202. })