tools.lua 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. minetest.register_tool('minerdream:pick_rhodium', {
  2. description = "".. core.colorize("#00FF00", "rhodium pickaxe\n")..core.colorize("#A0A0A0", "tier: 6 (epic)\n")..core.colorize("#A0A0A0", "mele damage: 12\n")..core.colorize("#A0A0A0", "range: 5.0 \n")..core.colorize("#A0A0A0", "attack interval: 0.75 "),
  3. wield_scale = {x=1.55,y=1.55,z=1.2},
  4. inventory_image = "minerdream_pick_rhodium.png",
  5. range = 5.0,
  6. tool_capabilities = {
  7. full_punch_interval = 0.8,
  8. max_drop_level=1,
  9. groupcaps={
  10. cracky={times={[6]=6.00, [5]=4.00, [4]=3.00, [1]=1.25, [2]=0.5, [3]=0.20}, uses=105, maxlevel=3},
  11. crumbly={times={[1]=0.6, [2]=0.25, [3]=0.10}, uses=105, maxlevel=3},
  12. },
  13. damage_groups = {fleshy=12},
  14. },
  15. })
  16. minetest.register_tool('minerdream:axe_rhodium', {
  17. description = "".. core.colorize("#00FF00", "rhodium axe\n")..core.colorize("#A0A0A0", "tier: 6 (epic)\n")..core.colorize("#A0A0A0", "mele damage: 12\n")..core.colorize("#A0A0A0", "range: 5.0 \n")..core.colorize("#A0A0A0", "attack interval: 0.75 "),
  18. wield_scale = {x=1.55,y=1.55,z=1.2 },
  19. inventory_image = "minerdream_axe_rhodium.png",
  20. range = 5.0,
  21. tool_capabilities = {
  22. full_punch_interval = 0.80,
  23. max_drop_level=1,
  24. groupcaps={
  25. choppy={times={[1]=1.20, [2]=0.4, [3]=0.25}, uses=105, maxlevel=3},
  26. },
  27. damage_groups = {fleshy=12},
  28. },
  29. })
  30. minetest.register_tool('minerdream:sword_rhodium', {
  31. description = "".. core.colorize("#00FF00", "rhodium sword\n")..core.colorize("#A0A0A0", "tier: 6 (epic)\n")..core.colorize("#A0A0A0", "mele damage: 14\n")..core.colorize("#A0A0A0", "range: 5.0 \n")..core.colorize("#A0A0A0", "attack interval: 0.65 "),
  32. wield_scale = {x=1.55,y=1.55,z=1.2},
  33. inventory_image = "minerdream_sword_rhodium.png",
  34. range = 5.0,
  35. tool_capabilities = {
  36. full_punch_interval = 0.60,
  37. max_drop_level=1,
  38. groupcaps={
  39. snappy={times={[1]=1.25, [2]=0.55, [3]=0.05}, uses=105, maxlevel=3},
  40. },
  41. damage_groups = {fleshy=14},
  42. },
  43. })
  44. minetest.register_tool('minerdream:pick_tantalum', {
  45. description = "".. core.colorize("#00FF00", "tantalum pickaxe\n")..core.colorize("#A0A0A0", "tier: 6 (epic)\n")..core.colorize("#A0A0A0", "mele damage: 12\n")..core.colorize("#A0A0A0", "range: 5.0 \n")..core.colorize("#A0A0A0", "attack interval: 0.75 "),
  46. wield_scale = {x=1.55,y=1.55,z=1.2},
  47. inventory_image = "minerdream_pick_tantalum.png",
  48. range = 5.0,
  49. tool_capabilities = {
  50. full_punch_interval = 0.8,
  51. max_drop_level=1,
  52. groupcaps={
  53. cracky={times={[6]=6.00, [5]=4.00, [4]=3.00, [1]=1.25, [2]=0.5, [3]=0.20}, uses=105, maxlevel=3},
  54. crumbly={times={[1]=0.6, [2]=0.25, [3]=0.10}, uses=110, maxlevel=3},
  55. },
  56. damage_groups = {fleshy=12},
  57. },
  58. })
  59. minetest.register_tool('minerdream:axe_tantalum', {
  60. description = "".. core.colorize("#00FF00", "tantalum axe\n")..core.colorize("#A0A0A0", "tier: 6 (epic)\n")..core.colorize("#A0A0A0", "mele damage: 12\n")..core.colorize("#A0A0A0", "range: 5.0 \n")..core.colorize("#A0A0A0", "attack interval: 0.75 "),
  61. wield_scale = {x=1.55,y=1.55,z=1.2 },
  62. inventory_image = "minerdream_axe_tantalum.png",
  63. range = 5.0,
  64. tool_capabilities = {
  65. full_punch_interval = 0.80,
  66. max_drop_level=1,
  67. groupcaps={
  68. choppy={times={[1]=1.20, [2]=0.4, [3]=0.25}, uses=110, maxlevel=3},
  69. },
  70. damage_groups = {fleshy=12},
  71. },
  72. })
  73. minetest.register_tool('minerdream:sword_tantalum', {
  74. description = "".. core.colorize("#00FF00", "tantalum sword\n")..core.colorize("#A0A0A0", "tier: 6 (epic)\n")..core.colorize("#A0A0A0", "mele damage: 14\n")..core.colorize("#A0A0A0", "range: 5.0 \n")..core.colorize("#A0A0A0", "attack interval: 0.65 "),
  75. wield_scale = {x=1.55,y=1.55,z=1.2},
  76. inventory_image = "minerdream_sword_tantalum.png",
  77. range = 5.0,
  78. tool_capabilities = {
  79. full_punch_interval = 0.60,
  80. max_drop_level=1,
  81. groupcaps={
  82. snappy={times={[1]=1.25, [2]=0.55, [3]=0.05}, uses=110, maxlevel=3},
  83. },
  84. damage_groups = {fleshy=14},
  85. },
  86. })
  87. minetest.register_tool('minerdream:pick_ruthenium', {
  88. description = "".. core.colorize("#0040FF", "ruthenium pickaxe\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 10\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.8 "),
  89. wield_scale = {x=1.4,y=1.4,z=1.4},
  90. inventory_image = "minerdream_pick_ruthenium.png",
  91. range = 4.65,
  92. tool_capabilities = {
  93. full_punch_interval = 0.8,
  94. max_drop_level=1,
  95. groupcaps={
  96. cracky={times={[5]=5.00, [4]=3.50, [1]=1.5, [2]=0.7, [3]=0.25}, uses=80, maxlevel=3},
  97. },
  98. damage_groups = {fleshy=10},
  99. },
  100. })
  101. minetest.register_tool('minerdream:axe_ruthenium', {
  102. description = "".. core.colorize("#0040FF", "ruthenium axe\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 11\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.8 "),
  103. wield_scale = {x=1.4,y=1.4,z=1.4 },
  104. inventory_image = "minerdream_axe_ruthenium.png",
  105. range = 4.65,
  106. tool_capabilities = {
  107. full_punch_interval = 0.80,
  108. max_drop_level=1,
  109. groupcaps={
  110. choppy={times={[1]=1.50, [2]=0.5, [3]=0.30}, uses=80, maxlevel=3},
  111. },
  112. damage_groups = {fleshy=11},
  113. },
  114. })
  115. minetest.register_tool('minerdream:sword_ruthenium', {
  116. description = "".. core.colorize("#0040FF", "ruthenium sword\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 11\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.65 "),
  117. wield_scale = {x=1.4,y=1.4,z=1.4},
  118. inventory_image = "minerdream_sword_ruthenium.png",
  119. range = 4.65,
  120. tool_capabilities = {
  121. full_punch_interval = 0.65,
  122. max_drop_level=1,
  123. groupcaps={
  124. snappy={times={[1]=1.50, [2]=0.7, [3]=0.10}, uses=80, maxlevel=3},
  125. },
  126. damage_groups = {fleshy=11},
  127. },
  128. })
  129. minetest.register_tool('minerdream:shovel_ruthenium', {
  130. description = "".. core.colorize("#0040FF", "ruthenium shovel\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 9\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.85 "),
  131. wield_scale = {x=1.4,y=1.4,z=1.4},
  132. inventory_image = "minerdream_shovel_ruthenium.png",
  133. range = 4.65,
  134. tool_capabilities = {
  135. full_punch_interval = 0.85,
  136. max_drop_level=1,
  137. groupcaps={
  138. crumbly={times={[1]=0.8, [2]=0.3, [3]=0.15}, uses=80, maxlevel=3},
  139. },
  140. damage_groups = {fleshy=9},
  141. },
  142. })
  143. minetest.register_tool('minerdream:pick_cobalt', {
  144. description = "".. core.colorize("#0040FF", "Cobalt pickaxe\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 9\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.7 "),
  145. wield_scale = {x=1.4,y=1.4,z=1.4},
  146. inventory_image = "minerdream_pick_cobalt.png",
  147. range = 4.65,
  148. tool_capabilities = {
  149. full_punch_interval = 0.7,
  150. max_drop_level=1,
  151. groupcaps={
  152. cracky={times={[5]=5.00, [4]=3.50, [1]=1.5, [2]=0.7, [3]=0.25}, uses=80, maxlevel=3},
  153. },
  154. damage_groups = {fleshy=9},
  155. },
  156. })
  157. minetest.register_tool('minerdream:axe_cobalt', {
  158. description = "".. core.colorize("#0040FF", "Cobalt axe\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 10\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.7 "),
  159. wield_scale = {x=1.4,y=1.4,z=1.4 },
  160. inventory_image = "minerdream_axe_cobalt.png",
  161. range = 4.65,
  162. tool_capabilities = {
  163. full_punch_interval = 0.70,
  164. max_drop_level=1,
  165. groupcaps={
  166. choppy={times={[1]=1.50, [2]=0.5, [3]=0.30}, uses=80, maxlevel=3},
  167. },
  168. damage_groups = {fleshy=10},
  169. },
  170. })
  171. minetest.register_tool('minerdream:sword_cobalt', {
  172. description = "".. core.colorize("#0040FF", "Cobalt sword\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 10\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.55 "),
  173. wield_scale = {x=1.4,y=1.4,z=1.4},
  174. inventory_image = "minerdream_sword_cobalt.png",
  175. range = 4.65,
  176. tool_capabilities = {
  177. full_punch_interval = 0.55,
  178. max_drop_level=1,
  179. groupcaps={
  180. snappy={times={[1]=1.50, [2]=0.7, [3]=0.10}, uses=80, maxlevel=3},
  181. },
  182. damage_groups = {fleshy=10},
  183. },
  184. })
  185. minetest.register_tool('minerdream:shovel_cobalt', {
  186. description = "".. core.colorize("#0040FF", "Cobalt shovel\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)\n")..core.colorize("#A0A0A0", "mele damage: 8\n")..core.colorize("#A0A0A0", "range: 4.65 \n")..core.colorize("#A0A0A0", "attack interval: 0.75 "),
  187. wield_scale = {x=1.4,y=1.4,z=1.4},
  188. inventory_image = "minerdream_shovel_cobalt.png",
  189. range = 4.65,
  190. tool_capabilities = {
  191. full_punch_interval = 0.75,
  192. max_drop_level=1,
  193. groupcaps={
  194. crumbly={times={[1]=0.8, [2]=0.3, [3]=0.15}, uses=80, maxlevel=3},
  195. },
  196. damage_groups = {fleshy=8},
  197. },
  198. })
  199. minetest.register_tool('minerdream:pick_platinum', {
  200. description = "".. core.colorize("#40FF80", "platinum pickaxe\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 8\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.8 "),
  201. wield_scale = {x=1.3,y=1.3,z=1.3},
  202. inventory_image = "minerdream_pick_platinum.png",
  203. range = 4.5,
  204. tool_capabilities = {
  205. full_punch_interval = 0.8,
  206. max_drop_level=1,
  207. groupcaps={
  208. cracky={times={[4]=3.80, [1]=1.7, [2]=0.8, [3]=0.3}, uses=60, maxlevel=3},
  209. },
  210. damage_groups = {fleshy=8},
  211. },
  212. })
  213. minetest.register_tool('minerdream:axe_platinum', {
  214. description = "".. core.colorize("#40FF80", "platinum axe\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 8\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.8 "),
  215. wield_scale = {x=1.30,y=1.30,z=1.30 },
  216. inventory_image = "minerdream_axe_platinum.png",
  217. range = 4.5,
  218. tool_capabilities = {
  219. full_punch_interval = 0.80,
  220. max_drop_level=1,
  221. groupcaps={
  222. choppy={times={[1]=1.70, [2]=0.65, [3]=0.35}, uses=60, maxlevel=3},
  223. },
  224. damage_groups = {fleshy=8},
  225. },
  226. })
  227. minetest.register_tool('minerdream:sword_platinum', {
  228. description = "".. core.colorize("#40FF80", "platinum sword\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 9\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.65 "),
  229. wield_scale = {x=1.3,y=1.3,z=1.3},
  230. inventory_image = "minerdream_sword_platinum.png",
  231. range = 4.5,
  232. tool_capabilities = {
  233. full_punch_interval = 0.65,
  234. max_drop_level=1,
  235. groupcaps={
  236. snappy={times={[1]=1.50, [2]=0.7, [3]=0.10}, uses=60, maxlevel=3},
  237. },
  238. damage_groups = {fleshy=9},
  239. },
  240. })
  241. minetest.register_tool('minerdream:shovel_platinum', {
  242. description = "".. core.colorize("#40FF80", "platinum shovel\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.85 "),
  243. wield_scale = {x=1.3,y=1.3,z=1.3},
  244. inventory_image = "minerdream_shovel_platinum.png",
  245. range = 4.5,
  246. tool_capabilities = {
  247. full_punch_interval = 0.85,
  248. max_drop_level=1,
  249. groupcaps={
  250. crumbly={times={[1]=0.8, [2]=0.3, [3]=0.15}, uses=60, maxlevel=3},
  251. },
  252. damage_groups = {fleshy=7},
  253. },
  254. })
  255. minetest.register_tool('minerdream:pick_aluminum', {
  256. description = "".. core.colorize("#40FF80", "aluminum pickaxe\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.65 "),
  257. wield_scale = {x=1.3,y=1.3,z=1.3},
  258. inventory_image = "minerdream_pick_aluminum.png",
  259. range = 4.5,
  260. tool_capabilities = {
  261. full_punch_interval = 0.65,
  262. max_drop_level=1,
  263. groupcaps={
  264. cracky={times={[4]=4.00, [1]=1.85, [2]=0.9, [3]=0.35}, uses=60, maxlevel=3},
  265. },
  266. damage_groups = {fleshy=7},
  267. },
  268. })
  269. minetest.register_tool('minerdream:axe_aluminum', {
  270. description = "".. core.colorize("#40FF80", "aluminum axe\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.65 "),
  271. wield_scale = {x=1.30,y=1.30,z=1.30 },
  272. inventory_image = "minerdream_axe_aluminum.png",
  273. range = 4.5,
  274. tool_capabilities = {
  275. full_punch_interval = 0.65,
  276. max_drop_level=1,
  277. groupcaps={
  278. choppy={times={[1]=1.85, [2]=0.70, [3]=0.40}, uses=60, maxlevel=3},
  279. },
  280. damage_groups = {fleshy=7},
  281. },
  282. })
  283. minetest.register_tool('minerdream:sword_aluminum', {
  284. description = "".. core.colorize("#40FF80", "aluminum sword\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 8\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.5 "),
  285. wield_scale = {x=1.3,y=1.3,z=1.3},
  286. inventory_image = "minerdream_sword_aluminum.png",
  287. range = 4.5,
  288. tool_capabilities = {
  289. full_punch_interval = 0.5,
  290. max_drop_level=1,
  291. groupcaps={
  292. snappy={times={[1]=1.65, [2]=0.8, [3]=0.15}, uses=60, maxlevel=3},
  293. },
  294. damage_groups = {fleshy=8},
  295. },
  296. })
  297. minetest.register_tool('minerdream:shovel_aluminum', {
  298. description = "".. core.colorize("#40FF80", "aluminum shovel\n")..core.colorize("#A0A0A0", "tier: 4 (rare)\n")..core.colorize("#A0A0A0", "mele damage: 5\n")..core.colorize("#A0A0A0", "range: 4.5 \n")..core.colorize("#A0A0A0", "attack interval: 0.7 "),
  299. wield_scale = {x=1.3,y=1.3,z=1.3},
  300. inventory_image = "minerdream_shovel_aluminum.png",
  301. range = 4.5,
  302. tool_capabilities = {
  303. full_punch_interval = 0.7,
  304. max_drop_level=1,
  305. groupcaps={
  306. crumbly={times={[1]=0.95, [2]=0.4, [3]=0.20}, uses=60, maxlevel=3},
  307. },
  308. damage_groups = {fleshy=5},
  309. },
  310. })
  311. minetest.register_tool('minerdream:pick_stainlesssteel', {
  312. description = "".. core.colorize("#BFFFFF", "Stainless steel pickaxe\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 4.75\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.95 "),
  313. wield_scale = {x=1.1,y=1.1,z=1.1},
  314. inventory_image = "minerdream_pick_stainlesssteel.png",
  315. range = 4.25,
  316. tool_capabilities = {
  317. full_punch_interval = 0.95,
  318. max_drop_level=1,
  319. groupcaps={
  320. cracky={times={[1]=3.60, [2]=1.40, [3]=0.70}, uses=100, maxlevel=2},
  321. },
  322. damage_groups = {fleshy=4.75},
  323. },
  324. })
  325. minetest.register_tool('minerdream:axe_stainlesssteel', {
  326. description = "".. core.colorize("#BFFFFF", "Stainless steel axe\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 5.25\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.95 "),
  327. wield_scale = {x=1.1,y=1.1,z=1.1},
  328. inventory_image = "minerdream_axe_stainlesssteel.png",
  329. range = 4.25,
  330. tool_capabilities = {
  331. full_punch_interval = 0.95,
  332. max_drop_level=1,
  333. groupcaps={
  334. choppy={times={[1]=2.35, [2]=1.30, [3]=0.90}, uses=100, maxlevel=2},
  335. },
  336. damage_groups = {fleshy=5.25},
  337. },
  338. })
  339. minetest.register_tool('minerdream:sword_stainlesssteel', {
  340. description = "".. core.colorize("#BFFFFF", "Stainless steel sword\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 6.25\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.75 "),
  341. wield_scale = {x=1.1,y=1.1,z=1.1},
  342. inventory_image = "minerdream_sword_stainlesssteel.png",
  343. range = 4.25,
  344. tool_capabilities = {
  345. full_punch_interval = 0.75,
  346. max_drop_level=1,
  347. groupcaps={
  348. snappy={times={[1]=2.35, [2]=1.10, [3]=0.30}, uses=100, maxlevel=2},
  349. },
  350. damage_groups = {fleshy=6.25},
  351. },
  352. })
  353. minetest.register_tool('minerdream:shovel_stainlesssteel', {
  354. description = "".. core.colorize("#BFFFFF", "Stainless steel shovel\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 3.25\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 1.0 "),
  355. wield_scale = {x=1.1,y=1.1,z=1.1},
  356. inventory_image = "minerdream_shovel_stainlesssteel.png",
  357. range = 4.25,
  358. tool_capabilities = {
  359. full_punch_interval = 1.0,
  360. max_drop_level=1,
  361. groupcaps={
  362. crumbly={times={[1]=1.35, [2]=0.8, [3]=0.35}, uses=100, maxlevel=2},
  363. },
  364. damage_groups = {fleshy=3.25},
  365. },
  366. })
  367. minetest.register_tool('minerdream:pick_lead', {
  368. description = "".. core.colorize("#00FFFF", "lead pickaxe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 9\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.6 "),
  369. wield_scale = {x=1.15,y=1.15,z=1.15},
  370. inventory_image = "minerdream_pick_lead.png",
  371. range = 4.3,
  372. tool_capabilities = {
  373. full_punch_interval = 1.60,
  374. max_drop_level=1,
  375. groupcaps={
  376. cracky={times={[1]=2.40, [2]=1.2, [3]=0.60}, uses=5, maxlevel=3},
  377. },
  378. damage_groups = {fleshy=9},
  379. },
  380. })
  381. minetest.register_tool('minerdream:axe_lead', {
  382. description = "".. core.colorize("#00FFFF", "lead axe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 9\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.6 "),
  383. wield_scale = {x=1.15,y=1.15,z=1.15},
  384. inventory_image = "minerdream_axe_lead.png",
  385. range = 4.3,
  386. tool_capabilities = {
  387. full_punch_interval = 1.6,
  388. max_drop_level=1,
  389. groupcaps={
  390. choppy={times={[1]=2.20, [2]=1.0, [3]=0.60}, uses=5, maxlevel=3},
  391. },
  392. damage_groups = {fleshy=9},
  393. },
  394. })
  395. minetest.register_tool('minerdream:sword_lead', {
  396. description = "".. core.colorize("#00FFFF", "lead sword\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 10\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.5 "),
  397. wield_scale = {x=1.15,y=1.15,z=1.15},
  398. inventory_image = "minerdream_sword_lead.png",
  399. range = 4.3,
  400. tool_capabilities = {
  401. full_punch_interval = 1.5,
  402. max_drop_level=1,
  403. groupcaps={
  404. snappy={times={[1]=2.0, [2]=1.0, [3]=0.25}, uses=5, maxlevel=3},
  405. },
  406. damage_groups = {fleshy=10},
  407. },
  408. })
  409. minetest.register_tool('minerdream:shovel_lead', {
  410. description = "".. core.colorize("#00FFFF", "lead shovel\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.65 "),
  411. wield_scale = {x=1.15,y=1.15,z=1.15},
  412. inventory_image = "minerdream_shovel_lead.png",
  413. range = 4.3,
  414. tool_capabilities = {
  415. full_punch_interval = 1.65,
  416. max_drop_level=1,
  417. groupcaps={
  418. crumbly={times={[1]=1.20, [2]=0.6, [3]=0.30}, uses=5, maxlevel=3},
  419. },
  420. damage_groups = {fleshy=7},
  421. },
  422. })
  423. minetest.register_tool("minerdream:pick_nickel", {
  424. description = "".. core.colorize("#BFFFFF", "Nickel pickaxe\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 5.25\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.90 "),
  425. inventory_image = "minerdream_pick_nickel.png",
  426. wield_scale = {x=1.1,y=1.1,z=1.1},
  427. range = 4.25,
  428. tool_capabilities = {
  429. full_punch_interval = 0.90,
  430. max_drop_level=1,
  431. groupcaps={
  432. cracky={times={[1]=3.40, [2]=1.30, [3]=0.65}, uses=45, maxlevel=2},
  433. },
  434. damage_groups = {fleshy=5.25},
  435. },
  436. sound = {breaks = "default_tool_breaks"},
  437. })
  438. minetest.register_tool("minerdream:sword_nickel", {
  439. description = "".. core.colorize("#BFFFFF", "Nickel sword\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 6.75\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.70 "),
  440. inventory_image = "minerdream_sword_nickel.png",
  441. wield_scale = {x=1.1,y=1.1,z=1.1},
  442. range = 4.25,
  443. tool_capabilities = {
  444. full_punch_interval = 0.70,
  445. max_drop_level=1,
  446. groupcaps={
  447. snappy={times={[1]=2.20, [2]=0.95, [3]=0.275}, uses=45, maxlevel=2},
  448. },
  449. damage_groups = {fleshy=6.75},
  450. },
  451. sound = {breaks = "default_tool_breaks"},
  452. })
  453. minetest.register_tool("minerdream:axe_nickel", {
  454. description = "".. core.colorize("#BFFFFF", "Nickel axe\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 5.75\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.90 "),
  455. wield_scale = {x=1.1,y=1.1,z=1.1},
  456. range = 4.25,
  457. inventory_image = "minerdream_axe_nickel.png",
  458. tool_capabilities = {
  459. full_punch_interval = 0.90,
  460. max_drop_level=1,
  461. groupcaps={
  462. choppy={times={[1]=2.275, [2]=1.20, [3]=0.75}, uses=45, maxlevel=2},
  463. },
  464. damage_groups = {fleshy=5.75},
  465. },
  466. sound = {breaks = "default_tool_breaks"},
  467. })
  468. minetest.register_tool("minerdream:shovel_nickel", {
  469. description = "".. core.colorize("#BFFFFF", "Nickel shovel\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 3.75\n")..core.colorize("#A0A0A0", "range: 4.25 \n")..core.colorize("#A0A0A0", "attack interval: 0.95 "),
  470. wield_scale = {x=1.1,y=1.1,z=1.1},
  471. range = 4.25,
  472. inventory_image = "minerdream_shovel_nickel.png",
  473. wield_image = "minerdream_shovel_nickel.png",
  474. tool_capabilities = {
  475. full_punch_interval = 0.95,
  476. max_drop_level=1,
  477. groupcaps={
  478. crumbly = {times={[1]=1.30, [2]=0.75, [3]=0.325}, uses=45, maxlevel=2},
  479. },
  480. damage_groups = {fleshy=3.75},
  481. },
  482. sound = {breaks = "default_tool_breaks"},
  483. })
  484. minetest.register_tool('minerdream:pick_gold', {
  485. description = "".. core.colorize("#00FFFF", "Golden pickaxe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 5.5\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.1 "),
  486. wield_scale = {x=1.15,y=1.15,z=1.15},
  487. inventory_image = "minerdream_pick_gold.png",
  488. range = 4.3,
  489. tool_capabilities = {
  490. full_punch_interval = 1.10,
  491. max_drop_level=1,
  492. groupcaps={
  493. cracky={times={[1]=2.40, [2]=1.2, [3]=0.60}, uses=5, maxlevel=3},
  494. },
  495. damage_groups = {fleshy=5.5},
  496. },
  497. })
  498. minetest.register_tool('minerdream:axe_gold', {
  499. description = "".. core.colorize("#00FFFF", "Golden axe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 6\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.1 "),
  500. wield_scale = {x=1.15,y=1.15,z=1.15},
  501. inventory_image = "minerdream_axe_gold.png",
  502. range = 4.3,
  503. tool_capabilities = {
  504. full_punch_interval = 1.1,
  505. max_drop_level=1,
  506. groupcaps={
  507. choppy={times={[1]=2.20, [2]=1.0, [3]=0.60}, uses=5, maxlevel=3},
  508. },
  509. damage_groups = {fleshy=6},
  510. },
  511. })
  512. minetest.register_tool('minerdream:sword_gold', {
  513. description = "".. core.colorize("#00FFFF", "Golden sword\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 0.925 "),
  514. wield_scale = {x=1.15,y=1.15,z=1.15},
  515. inventory_image = "minerdream_sword_gold.png",
  516. range = 4.3,
  517. tool_capabilities = {
  518. full_punch_interval = 0.925,
  519. max_drop_level=1,
  520. groupcaps={
  521. snappy={times={[1]=2.0, [2]=1.0, [3]=0.25}, uses=5, maxlevel=3},
  522. },
  523. damage_groups = {fleshy=7},
  524. },
  525. })
  526. minetest.register_tool('minerdream:shovel_gold', {
  527. description = "".. core.colorize("#00FFFF", "Golden shovel\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 4\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 1.15 "),
  528. wield_scale = {x=1.15,y=1.15,z=1.15},
  529. inventory_image = "minerdream_shovel_gold.png",
  530. range = 4.3,
  531. tool_capabilities = {
  532. full_punch_interval = 1.15,
  533. max_drop_level=1,
  534. groupcaps={
  535. crumbly={times={[1]=1.20, [2]=0.6, [3]=0.30}, uses=5, maxlevel=3},
  536. },
  537. damage_groups = {fleshy=4},
  538. },
  539. })
  540. minetest.register_tool('minerdream:pick_silver', {
  541. description = "".. core.colorize("#00FFFF", "Silver pickaxe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 5.5\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 0.9 "),
  542. wield_scale = {x=1.15,y=1.15,z=1.15},
  543. inventory_image = "minerdream_pick_silver.png",
  544. range = 4.3,
  545. tool_capabilities = {
  546. full_punch_interval = 0.9,
  547. max_drop_level=1,
  548. groupcaps={
  549. cracky={times={[1]=2.40, [2]=1.2, [3]=0.60}, uses=45, maxlevel=3},
  550. },
  551. damage_groups = {fleshy=5.5},
  552. },
  553. })
  554. minetest.register_tool('minerdream:axe_silver', {
  555. description = "".. core.colorize("#00FFFF", "Silver axe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 6\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 0.9 "),
  556. wield_scale = {x=1.15,y=1.15,z=1.15},
  557. inventory_image = "minerdream_axe_silver.png",
  558. range = 4.3,
  559. tool_capabilities = {
  560. full_punch_interval = 0.9,
  561. max_drop_level=1,
  562. groupcaps={
  563. choppy={times={[1]=2.40, [2]=1.1, [3]=0.65}, uses=45, maxlevel=3},
  564. },
  565. damage_groups = {fleshy=6},
  566. },
  567. })
  568. minetest.register_tool('minerdream:sword_silver', {
  569. description = "".. core.colorize("#00FFFF", "Silver sword\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 0.725 "),
  570. wield_scale = {x=1.15,y=1.15,z=1.15},
  571. inventory_image = "minerdream_sword_silver.png",
  572. range = 4.3,
  573. tool_capabilities = {
  574. full_punch_interval = 0.725,
  575. max_drop_level=1,
  576. groupcaps={
  577. snappy={times={[1]=2.2, [2]=1.1, [3]=0.3}, uses=45, maxlevel=3},
  578. },
  579. damage_groups = {fleshy=7},
  580. },
  581. })
  582. minetest.register_tool('minerdream:shovel_silver', {
  583. description = "".. core.colorize("#00FFFF", "Silver shovel\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 4\n")..core.colorize("#A0A0A0", "range: 4.3 \n")..core.colorize("#A0A0A0", "attack interval: 0.95 "),
  584. wield_scale = {x=1.15,y=1.15,z=1.15},
  585. inventory_image = "minerdream_shovel_silver.png",
  586. range = 4.3,
  587. tool_capabilities = {
  588. full_punch_interval = 0.95,
  589. max_drop_level=1,
  590. groupcaps={
  591. crumbly={times={[1]=1.40, [2]=0.7, [3]=0.35}, uses=45, maxlevel=3},
  592. },
  593. damage_groups = {fleshy=4},
  594. },
  595. })
  596. minetest.register_tool('minerdream:pick_flint', {
  597. description = "".. core.colorize("#FFFFFF", "flint pickaxe\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 4\n")..core.colorize("#A0A0A0", "range: 4.15 \n")..core.colorize("#A0A0A0", "attack interval: 1.1 "),
  598. wield_scale = {x=1.00,y=1.00,z=1.00},
  599. inventory_image = "minerdream_pick_flint.png",
  600. range = 4.15,
  601. tool_capabilities = {
  602. full_punch_interval = 1.10,
  603. max_drop_level=1,
  604. groupcaps={
  605. cracky={times={[1]=4.15, [2]=1.7, [3]=0.85}, uses=20, maxlevel=2},
  606. },
  607. damage_groups = {fleshy=4},
  608. },
  609. })
  610. minetest.register_tool('minerdream:axe_flint', {
  611. description = "".. core.colorize("#FFFFFF", "flint axe\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 5\n")..core.colorize("#A0A0A0", "range: 4.15 \n")..core.colorize("#A0A0A0", "attack interval: 1.1 "),
  612. wield_scale = {x=1.00,y=1.00,z=1.00},
  613. inventory_image = "minerdream_axe_flint.png",
  614. range = 4.15,
  615. tool_capabilities = {
  616. full_punch_interval = 1.10,
  617. max_drop_level=1,
  618. groupcaps={
  619. choppy={times={[1]=2.65, [2]=1.50, [3]=1.05}, uses=20, maxlevel=2},
  620. },
  621. damage_groups = {fleshy=5},
  622. },
  623. })
  624. minetest.register_tool('minerdream:shovel_flint', {
  625. description = "".. core.colorize("#FFFFFF", "flint shovel\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 4\n")..core.colorize("#A0A0A0", "range: 4.15 \n")..core.colorize("#A0A0A0", "attack interval: 1.15 "),
  626. wield_scale = {x=1.00,y=1.00,z=1.00},
  627. inventory_image = "minerdream_shovel_flint.png",
  628. range = 4.15,
  629. tool_capabilities = {
  630. full_punch_interval = 1.15,
  631. max_drop_level=1,
  632. groupcaps={
  633. crumbly={times={[1]=1.65, [2]=1.0, [3]=0.45}, uses=20, maxlevel=2},
  634. },
  635. damage_groups = {fleshy=4},
  636. },
  637. })
  638. minetest.register_tool('minerdream:sword_flint', {
  639. description = "".. core.colorize("#FFFFFF", "flint sword\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 5\n")..core.colorize("#A0A0A0", "range: 4.15 \n")..core.colorize("#A0A0A0", "attack interval: 0.9 "),
  640. wield_scale = {x=1.00,y=1.00,z=1.00},
  641. inventory_image = "minerdream_sword_flint.png",
  642. range = 4.15,
  643. tool_capabilities = {
  644. full_punch_interval = 0.9,
  645. max_drop_level=1,
  646. groupcaps={
  647. snappy={times={[1]=2.65, [2]=1.30, [3]=0.40}, uses=20, maxlevel=2},
  648. },
  649. damage_groups = {fleshy=5},
  650. },
  651. })