overrides.lua 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. local S=minerdream.intllib
  2. minetest.override_item('3d_armor:helmet_diamond', {
  3. description = "".. core.colorize("#00FFFF", "Soft "..S("diamond").." "..S("helmet\n"))..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 13\n")..core.colorize("#A0A0A0", "heal: 7 \n")..core.colorize("#A0A0A0", "type: head gear "),
  4. groups = {armor_head=1, armor_heal=7, armor_use=150,},
  5. armor_groups = {fleshy=13},
  6. })
  7. minetest.override_item('3d_armor:chestplate_diamond', {
  8. description = "".. core.colorize("#00FFFF", "Soft "..S("diamond").." "..S("chestplate\n"))..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 18\n")..core.colorize("#A0A0A0", "heal: 7 \n")..core.colorize("#A0A0A0", "type: torso gear "),
  9. groups = {armor_torso=1, armor_heal=7, armor_use=150,},
  10. armor_groups = {fleshy=18},
  11. })
  12. minetest.override_item('3d_armor:leggings_diamond', {
  13. description = "".. core.colorize("#00FFFF", "Soft "..S("diamond").." "..S("leggings\n"))..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 18\n")..core.colorize("#A0A0A0", "heal: 7 \n")..core.colorize("#A0A0A0", "type: leg gear "),
  14. groups = {armor_legs=1, armor_heal=7, armor_use=150,},
  15. armor_groups = {fleshy=18},
  16. })
  17. minetest.override_item('3d_armor:boots_diamond', {
  18. description = "".. core.colorize("#00FFFF", "Soft "..S("diamond").." "..S("boots\n"))..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 13\n")..core.colorize("#A0A0A0", "heal: 7 \n")..core.colorize("#A0A0A0", "type: feet gear "),
  19. groups = {armor_feet=1, armor_heal=7, armor_use=150,},
  20. armor_groups = {fleshy=13},
  21. })
  22. minetest.override_item('shields:shield_diamond', {
  23. description = "".. core.colorize("#00FFFF", "Soft "..S("diamond").." "..S("shield\n"))..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 13\n")..core.colorize("#A0A0A0", "heal: 7 \n")..core.colorize("#A0A0A0", "type: hand gear "),
  24. groups = {armor_shield=1, armor_heal=7, armor_use=150,},
  25. armor_groups = {fleshy=13},
  26. })
  27. minetest.override_item('3d_armor:helmet_gold', {
  28. description = "".. core.colorize("#00FFFF", "Golden helmet\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 12\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 2%\n")..core.colorize("#A0A0A0", "gravity + 2%\n")..core.colorize("#A0A0A0", "type: head gear "),
  29. groups = {armor_head=1, armor_heal=5, armor_use=1500,
  30. physics_speed=-0.02, physics_gravity=0.02},
  31. armor_groups = {fleshy=12},
  32. })
  33. minetest.override_item('3d_armor:chestplate_gold', {
  34. description = "".. core.colorize("#00FFFF", "Golden chestplate\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 17\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 5%\n")..core.colorize("#A0A0A0", "gravity + 5%\n")..core.colorize("#A0A0A0", "type: torso gear "),
  35. groups = {armor_torso=1, armor_heal=5, armor_use=1500,
  36. physics_speed=-0.05, physics_gravity=0.05},
  37. armor_groups = {fleshy=17},
  38. })
  39. minetest.override_item('3d_armor:leggings_gold', {
  40. description = "".. core.colorize("#00FFFF", "Golden leggings\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 17\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 4%\n")..core.colorize("#A0A0A0", "gravity + 4%\n")..core.colorize("#A0A0A0", "type: leg gear "),
  41. groups = {armor_legs=1, armor_heal=5, armor_use=1500,
  42. physics_speed=-0.04, physics_gravity=0.04},
  43. armor_groups = {fleshy=17},
  44. })
  45. minetest.override_item('3d_armor:boots_gold', {
  46. description = "".. core.colorize("#00FFFF", "Golden boots\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 12\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 2%\n")..core.colorize("#A0A0A0", "gravity + 2%\n")..core.colorize("#A0A0A0", "type: feet gear "),
  47. groups = {armor_feet=1, armor_heal=5, armor_use=1500,
  48. physics_speed=-0.02, physics_gravity=0.02},
  49. armor_groups = {fleshy=12},
  50. })
  51. minetest.override_item('shields:shield_gold', {
  52. description = "".. core.colorize("#00FFFF", "Golden shield\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "Defence: 12\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 4%\n")..core.colorize("#A0A0A0", "gravity + 4%\n")..core.colorize("#A0A0A0", "type: hand gear "),
  53. groups = {armor_shield=1, armor_heal=5, armor_use=1500,
  54. physics_speed=-0.04, physics_gravity=0.04},
  55. armor_groups = {fleshy=12},
  56. })
  57. minetest.override_item('3d_armor:helmet_wood', {
  58. description = "".. core.colorize("#FFFFFF", "wooden helmet\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 5\n")..core.colorize("#A0A0A0", "type: head gear "),
  59. })
  60. minetest.override_item('3d_armor:chestplate_wood', {
  61. description = "".. core.colorize("#FFFFFF", "wooden chestplate\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "type: torso gear "),
  62. })
  63. minetest.override_item('3d_armor:leggings_wood', {
  64. description = "".. core.colorize("#FFFFFF", "wooden leggings\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "type: leg gear "),
  65. })
  66. minetest.override_item('3d_armor:boots_wood', {
  67. description = "".. core.colorize("#FFFFFF", "wooden boots\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 5\n")..core.colorize("#A0A0A0", "type: feet gear "),
  68. })
  69. minetest.override_item('shields:shield_wood', {
  70. description = "".. core.colorize("#FFFFFF", "wooden shield\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 5\n")..core.colorize("#A0A0A0", "type: hand gear "),
  71. })
  72. minetest.override_item('3d_armor:helmet_cactus', {
  73. description = "".. core.colorize("#FFFFFF", "cactus helmet\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 5\n")..core.colorize("#A0A0A0", "type: head gear "),
  74. })
  75. minetest.override_item('3d_armor:chestplate_cactus', {
  76. description = "".. core.colorize("#FFFFFF", "cactus chestplate\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "type: torso gear "),
  77. })
  78. minetest.override_item('3d_armor:leggings_cactus', {
  79. description = "".. core.colorize("#FFFFFF", "cactus leggings\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "type: leg gear "),
  80. })
  81. minetest.override_item('3d_armor:boots_cactus', {
  82. description = "".. core.colorize("#FFFFFF", "cactus boots\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 5\n")..core.colorize("#A0A0A0", "type: feet gear "),
  83. })
  84. minetest.override_item('shields:shield_cactus', {
  85. description = "".. core.colorize("#FFFFFF", "cactus shield\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "Defence: 5\n")..core.colorize("#A0A0A0", "type: hand gear "),
  86. })
  87. minetest.override_item('3d_armor:helmet_bronze', {
  88. description = "".. core.colorize("#BFFFFF", "bronze helmet\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 9\n")..core.colorize("#A0A0A0", "heal: 3 \n")..core.colorize("#A0A0A0", "walking speed - 1%\n")..core.colorize("#A0A0A0", "gravity + 1%\n")..core.colorize("#A0A0A0", "type: head gear "),
  89. groups = {armor_head=1, armor_heal=3, armor_use=600,
  90. physics_speed=-0.01, physics_gravity=0.01},
  91. armor_groups = {fleshy=9},
  92. })
  93. minetest.override_item('3d_armor:chestplate_bronze', {
  94. description = "".. core.colorize("#BFFFFF", "bronze chestplate\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 14\n")..core.colorize("#A0A0A0", "heal: 3 \n")..core.colorize("#A0A0A0", "walking speed - 4%\n")..core.colorize("#A0A0A0", "gravity + 4%\n")..core.colorize("#A0A0A0", "type: torso gear "),
  95. groups = {armor_torso=1, armor_heal=3, armor_use=600,
  96. physics_speed=-0.04, physics_gravity=0.04},
  97. armor_groups = {fleshy=14},
  98. })
  99. minetest.override_item('3d_armor:leggings_bronze', {
  100. description = "".. core.colorize("#BFFFFF", "bronze leggings\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 14\n")..core.colorize("#A0A0A0", "heal: 3 \n")..core.colorize("#A0A0A0", "walking speed - 3%\n")..core.colorize("#A0A0A0", "gravity + 3%\n")..core.colorize("#A0A0A0", "type: leg gear "),
  101. groups = {armor_legs=1, armor_heal=3, armor_use=600,
  102. physics_speed=-0.03, physics_gravity=0.03},
  103. armor_groups = {fleshy=14},
  104. })
  105. minetest.override_item('3d_armor:boots_bronze', {
  106. description = "".. core.colorize("#BFFFFF", "bronze boots\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 9\n")..core.colorize("#A0A0A0", "heal: 3 \n")..core.colorize("#A0A0A0", "walking speed - 1%\n")..core.colorize("#A0A0A0", "gravity + 1%\n")..core.colorize("#A0A0A0", "type: feet gear "),
  107. groups = {armor_feet=1, armor_heal=3, armor_use=600,
  108. physics_speed=-0.01, physics_gravity=0.01},
  109. armor_groups = {fleshy=9},
  110. })
  111. minetest.override_item('shields:shield_bronze', {
  112. description = "".. core.colorize("#BFFFFF", "bronze shield\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 9\n")..core.colorize("#A0A0A0", "heal: 3 \n")..core.colorize("#A0A0A0", "walking speed - 3%\n")..core.colorize("#A0A0A0", "gravity + 3%\n")..core.colorize("#A0A0A0", "type: hand gear "),
  113. groups = {armor_shield=1, armor_heal=3, armor_use=600,
  114. physics_speed=-0.03, physics_gravity=0.03},
  115. armor_groups = {fleshy=9},
  116. })
  117. minetest.override_item('3d_armor:helmet_steel', {
  118. description = "".. core.colorize("#BFFFFF", "steel helmet\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 1%\n")..core.colorize("#A0A0A0", "gravity + 1%\n")..core.colorize("#A0A0A0", "type: head gear "),
  119. groups = {armor_head=1, armor_heal=5, armor_use=400,
  120. physics_speed=-0.01, physics_gravity=0.01},
  121. armor_groups = {fleshy=10},
  122. })
  123. minetest.override_item('3d_armor:chestplate_steel', {
  124. description = "".. core.colorize("#BFFFFF", "steel chestplate\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 15\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 4%\n")..core.colorize("#A0A0A0", "gravity + 4%\n")..core.colorize("#A0A0A0", "type: torso gear "),
  125. groups = {armor_torso=1, armor_heal=5, armor_use=400,
  126. physics_speed=-0.04, physics_gravity=0.04},
  127. armor_groups = {fleshy=15},
  128. })
  129. minetest.override_item('3d_armor:leggings_steel', {
  130. description = "".. core.colorize("#BFFFFF", "steel leggings\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 15\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 3%\n")..core.colorize("#A0A0A0", "gravity + 3%\n")..core.colorize("#A0A0A0", "type: leg gear "),
  131. groups = {armor_legs=1, armor_heal=5, armor_use=400,
  132. physics_speed=-0.03, physics_gravity=0.03},
  133. armor_groups = {fleshy=15},
  134. })
  135. minetest.override_item('3d_armor:boots_steel', {
  136. description = "".. core.colorize("#BFFFFF", "steel boots\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 1%\n")..core.colorize("#A0A0A0", "gravity + 1%\n")..core.colorize("#A0A0A0", "type: feet gear "),
  137. groups = {armor_feet=1, armor_heal=5, armor_use=400,
  138. physics_speed=-0.01, physics_gravity=0.01},
  139. armor_groups = {fleshy=10},
  140. })
  141. minetest.override_item('shields:shield_steel', {
  142. description = "".. core.colorize("#BFFFFF", "steel shield\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "Defence: 10\n")..core.colorize("#A0A0A0", "heal: 5 \n")..core.colorize("#A0A0A0", "walking speed - 3%\n")..core.colorize("#A0A0A0", "gravity + 3%\n")..core.colorize("#A0A0A0", "type: hand gear "),
  143. groups = {armor_shield=1, armor_heal=5, armor_use=400,
  144. physics_speed=-0.03, physics_gravity=0.03},
  145. armor_groups = {fleshy=10},
  146. })
  147. minetest.override_item('default:sword_wood', {
  148. description = "".. core.colorize("#FFFFFF", "Wooden sword\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 2\n")..core.colorize("#A0A0A0", "range: 3.8 \n")..core.colorize("#A0A0A0", "attack interval: 1.0 "),
  149. wield_scale = {x=0.9,y=0.9,z=0.9},
  150. range = 3.8,
  151. })
  152. minetest.override_item('default:sword_stone', {
  153. description = "".. core.colorize("#FFFFFF", "Stone sword\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 4\n")..core.colorize("#A0A0A0", "range: 4 \n")..core.colorize("#A0A0A0", "attack interval: 1.2 "),
  154. wield_scale = {x=1.0,y=1.0,z=1.0},
  155. range = 4,
  156. })
  157. minetest.override_item('default:sword_steel', {
  158. description = "".. core.colorize("#BFFFFF", "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 "),
  159. wield_scale = {x=1.1,y=1.1,z=1.1},
  160. range = 4.25,
  161. tool_capabilities = {
  162. full_punch_interval = 0.75,
  163. max_drop_level=1,
  164. groupcaps={
  165. snappy={times={[1]=2.35, [2]=1.10, [3]=0.30}, uses=40, maxlevel=2},
  166. },
  167. damage_groups = {fleshy=6.25},
  168. },
  169. })
  170. minetest.override_item('default:sword_bronze', {
  171. description = "".. core.colorize("#BFFFFF", "Bronze sword\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 6\n")..core.colorize("#A0A0A0", "range: 4.20 \n")..core.colorize("#A0A0A0", "attack interval: 0.8 "),
  172. wield_scale = {x=1.05,y=1.05,z=1.05},
  173. range = 4.2,
  174. tool_capabilities = {
  175. full_punch_interval = 0.8,
  176. max_drop_level=1,
  177. groupcaps={
  178. snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
  179. },
  180. damage_groups = {fleshy=6},
  181. },
  182. })
  183. minetest.override_item('default:sword_mese', {
  184. description = "".. core.colorize("#00FFFF", "MESE 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 "),
  185. wield_scale = {x=1.15,y=1.15,z=1.15},
  186. range = 4.3,
  187. tool_capabilities = {
  188. full_punch_interval = 0.725,
  189. max_drop_level=1,
  190. groupcaps={
  191. snappy={times={[1]=2.0, [2]=1.0, [3]=0.25}, uses=40, maxlevel=3},
  192. },
  193. damage_groups = {fleshy=7},
  194. },
  195. })
  196. minetest.override_item('default:sword_diamond', {
  197. description = "".. core.colorize("#00FFFF", "Soft diamond sword\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 8\n")..core.colorize("#A0A0A0", "range: 4.35 \n")..core.colorize("#A0A0A0", "attack interval: 0.7 "),
  198. wield_scale = {x=1.2,y=1.2,z=1.2},
  199. range = 4.35,
  200. tool_capabilities = {
  201. full_punch_interval = 0.7,
  202. max_drop_level=1,
  203. groupcaps={
  204. snappy={times={[1]=1.8, [2]=0.9, [3]=0.20}, uses=50, maxlevel=3},
  205. },
  206. damage_groups = {fleshy=8},
  207. },
  208. })
  209. minetest.override_item('default:shovel_wood', {
  210. description = "".. core.colorize("#FFFFFF", "Wooden shovel\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 2\n")..core.colorize("#A0A0A0", "range: 3.8 \n")..core.colorize("#A0A0A0", "attack interval: 1.2 "),
  211. wield_scale = {x=0.9,y=0.9,z=0.9},
  212. range = 3.8,
  213. })
  214. minetest.override_item('default:shovel_stone', {
  215. description = "".. core.colorize("#FFFFFF", "Stone shovel\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 2.5\n")..core.colorize("#A0A0A0", "range: 4 \n")..core.colorize("#A0A0A0", "attack interval: 1.4 "),
  216. wield_scale = {x=1.0,y=1.0,z=1.0},
  217. range = 4,
  218. tool_capabilities = {
  219. full_punch_interval = 1.4,
  220. max_drop_level=1,
  221. groupcaps={
  222. snappy={times={[1]=1.8, [2]=1.2, [3]=0.5}, uses=30, maxlevel=2},
  223. },
  224. damage_groups = {fleshy=2.5},
  225. },
  226. })
  227. minetest.override_item('default:shovel_bronze', {
  228. description = "".. core.colorize("#BFFFFF", "Bronze shovel\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 3\n")..core.colorize("#A0A0A0", "range: 4.20 \n")..core.colorize("#A0A0A0", "attack interval: 1.05 "),
  229. wield_scale = {x=1.05,y=1.05,z=1.05},
  230. range = 4.20,
  231. tool_capabilities = {
  232. full_punch_interval = 1.05,
  233. max_drop_level=1,
  234. groupcaps={
  235. crumbly={times={[1]=1.5, [2]=0.9, [3]=0.4}, uses=30, maxlevel=2},
  236. },
  237. damage_groups = {fleshy=3},
  238. },
  239. })
  240. minetest.override_item('default:shovel_steel', {
  241. description = "".. core.colorize("#BFFFFF", "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 "),
  242. wield_scale = {x=1.1,y=1.1,z=1.1},
  243. range = 4.25,
  244. tool_capabilities = {
  245. full_punch_interval = 1.0,
  246. max_drop_level=1,
  247. groupcaps={
  248. crumbly={times={[1]=1.35, [2]=0.8, [3]=0.35}, uses=40, maxlevel=2},
  249. },
  250. damage_groups = {fleshy=3.25},
  251. },
  252. })
  253. minetest.override_item('default:shovel_mese', {
  254. description = "".. core.colorize("#00FFFF", "MESE 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 "),
  255. wield_scale = {x=1.15,y=1.15,z=1.15},
  256. range = 4.3,
  257. tool_capabilities = {
  258. full_punch_interval = 0.95,
  259. max_drop_level=1,
  260. groupcaps={
  261. crumbly={times={[1]=1.20, [2]=0.6, [3]=0.30}, uses=40, maxlevel=3},
  262. },
  263. damage_groups = {fleshy=4},
  264. },
  265. })
  266. minetest.override_item('default:shovel_diamond', {
  267. description = "".. core.colorize("#00FFFF", "Soft diamond shovel\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 5\n")..core.colorize("#A0A0A0", "range: 4.35 \n")..core.colorize("#A0A0A0", "attack interval: 0.9 "),
  268. wield_scale = {x=1.2,y=1.2,z=1.2},
  269. range = 4.35,
  270. tool_capabilities = {
  271. full_punch_interval = 0.9,
  272. max_drop_level=1,
  273. groupcaps={
  274. crumbly={times={[1]=1.10, [2]=0.5, [3]=0.25}, uses=50, maxlevel=3},
  275. },
  276. damage_groups = {fleshy=5},
  277. },
  278. })
  279. minetest.override_item('default:axe_wood', {
  280. description = "".. core.colorize("#FFFFFF", "Wooden axe\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 2\n")..core.colorize("#A0A0A0", "range: 3.8 \n")..core.colorize("#A0A0A0", "attack interval: 1.0 "),
  281. wield_scale = {x=0.9,y=0.9,z=0.9},
  282. range = 3.8,
  283. })
  284. minetest.override_item('default:axe_stone', {
  285. description = "".. core.colorize("#FFFFFF", "Stone axe\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 3\n")..core.colorize("#A0A0A0", "range: 4 \n")..core.colorize("#A0A0A0", "attack interval: 1.2 "),
  286. wield_scale = {x=1.0,y=1.0,z=1.0},
  287. range = 4,
  288. })
  289. minetest.override_item('default:axe_bronze', {
  290. description = "".. core.colorize("#BFFFFF", "Bronze axe\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 5\n")..core.colorize("#A0A0A0", "range: 4.20 \n")..core.colorize("#A0A0A0", "attack interval: 1.0 "),
  291. wield_scale = {x=1.05,y=1.05,z=1.05},
  292. range = 4.20,
  293. tool_capabilities = {
  294. full_punch_interval = 1.00,
  295. max_drop_level=1,
  296. groupcaps={
  297. choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=30, maxlevel=2},
  298. },
  299. damage_groups = {fleshy=5},
  300. },
  301. })
  302. minetest.override_item('default:axe_steel', {
  303. description = "".. core.colorize("#BFFFFF", "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 "),
  304. wield_scale = {x=1.1,y=1.1,z=1.1},
  305. range = 4.25,
  306. tool_capabilities = {
  307. full_punch_interval = 0.95,
  308. max_drop_level=1,
  309. groupcaps={
  310. choppy={times={[1]=2.35, [2]=1.30, [3]=0.90}, uses=40, maxlevel=2},
  311. },
  312. damage_groups = {fleshy=5.25},
  313. },
  314. })
  315. minetest.override_item('default:axe_mese', {
  316. description = "".. core.colorize("#00FFFF", "MESE 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 "),
  317. wield_scale = {x=1.15,y=1.15,z=1.15},
  318. range = 4.3,
  319. tool_capabilities = {
  320. full_punch_interval = 0.90,
  321. max_drop_level=1,
  322. groupcaps={
  323. choppy={times={[1]=2.20, [2]=1.0, [3]=0.60}, uses=40, maxlevel=3},
  324. },
  325. damage_groups = {fleshy=6},
  326. },
  327. })
  328. minetest.override_item('default:axe_diamond', {
  329. description = "".. core.colorize("#00FFFF", "Soft diamond axe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 7\n")..core.colorize("#A0A0A0", "range: 4.35 \n")..core.colorize("#A0A0A0", "attack interval: 0.85 "),
  330. wield_scale = {x=1.2,y=1.2,z=1.2},
  331. range = 4.35,
  332. tool_capabilities = {
  333. full_punch_interval = 0.85,
  334. max_drop_level=1,
  335. groupcaps={
  336. choppy={times={[1]=2.00, [2]=0.80, [3]=0.45}, uses=50, maxlevel=3},
  337. },
  338. damage_groups = {fleshy=7},
  339. },
  340. })
  341. minetest.override_item('default:pick_wood', {
  342. description = "".. core.colorize("#FFFFFF", "Wooden pickaxe\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 2\n")..core.colorize("#A0A0A0", "range: 3.8 \n")..core.colorize("#A0A0A0", "attack interval: 1.0 "),
  343. wield_scale = {x=0.9,y=0.9,z=0.9},
  344. range = 3.8,
  345. })
  346. minetest.override_item('default:pick_stone', {
  347. description = "".. core.colorize("#FFFFFF", "Stone pickaxe\n")..core.colorize("#A0A0A0", "tier: 1 (common)\n")..core.colorize("#A0A0A0", "mele damage: 3\n")..core.colorize("#A0A0A0", "range: 4 \n")..core.colorize("#A0A0A0", "attack interval: 1.2 "),
  348. wield_scale = {x=1.0,y=1.0,z=1.0},
  349. range = 4,
  350. })
  351. minetest.override_item('default:pick_bronze', {
  352. description = "".. core.colorize("#BFFFFF", "Bronze pickaxe\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)\n")..core.colorize("#A0A0A0", "mele damage: 4.5\n")..core.colorize("#A0A0A0", "range: 4.20 \n")..core.colorize("#A0A0A0", "attack interval: 1.0 "),
  353. wield_scale = {x=1.05,y=1.05,z=1.05},
  354. range = 4.20,
  355. tool_capabilities = {
  356. full_punch_interval = 1.00,
  357. max_drop_level=1,
  358. groupcaps={
  359. cracky={times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=30, maxlevel=2},
  360. },
  361. damage_groups = {fleshy=4.5},
  362. },
  363. })
  364. minetest.override_item('default:pick_steel', {
  365. description = "".. core.colorize("#BFFFFF", "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 "),
  366. wield_scale = {x=1.1,y=1.1,z=1.1},
  367. range = 4.25,
  368. tool_capabilities = {
  369. full_punch_interval = 0.95,
  370. max_drop_level=1,
  371. groupcaps={
  372. cracky={times={[1]=3.60, [2]=1.40, [3]=0.70}, uses=40, maxlevel=2},
  373. },
  374. damage_groups = {fleshy=4.75},
  375. },
  376. })
  377. minetest.override_item('default:pick_mese', {
  378. description = "".. core.colorize("#00FFFF", "MESE 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 "),
  379. wield_scale = {x=1.15,y=1.15,z=1.15},
  380. range = 4.3,
  381. tool_capabilities = {
  382. full_punch_interval = 0.90,
  383. max_drop_level=1,
  384. groupcaps={
  385. cracky={times={[1]=2.40, [2]=1.2, [3]=0.60}, uses=40, maxlevel=3},
  386. },
  387. damage_groups = {fleshy=5.5},
  388. },
  389. })
  390. minetest.override_item('default:pick_diamond', {
  391. description = "".. core.colorize("#00FFFF", "Soft diamond pickaxe\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)\n")..core.colorize("#A0A0A0", "mele damage: 6.5\n")..core.colorize("#A0A0A0", "range: 4.35 \n")..core.colorize("#A0A0A0", "attack interval: 0.85 "),
  392. wield_scale = {x=1.2,y=1.2,z=1.2},
  393. range = 4.35,
  394. tool_capabilities = {
  395. full_punch_interval = 0.85,
  396. max_drop_level=1,
  397. groupcaps={
  398. cracky={times={[1]=2.00, [2]=1.00, [3]=0.40}, uses=50, maxlevel=3},
  399. },
  400. damage_groups = {fleshy=6.5},
  401. },
  402. })
  403. minetest.override_item('default:coal_lump', {
  404. description = "".. core.colorize("#FFFFFF", "Coal lump\n")..core.colorize("#A0A0A0", "tier: 1 (common)"),
  405. stack_max= 1000,
  406. })
  407. minetest.override_item('default:flint', {
  408. description = "".. core.colorize("#FFFFFF", "flint\n")..core.colorize("#A0A0A0", "tier: 1 (common)"),
  409. stack_max= 1000,
  410. })
  411. minetest.override_item('default:iron_lump', {
  412. description = "".. core.colorize("#BFFFFF", "Iron lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  413. stack_max= 1000,
  414. })
  415. minetest.override_item('default:tin_lump', {
  416. description = "".. core.colorize("#BFFFFF", "Tin lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  417. stack_max= 1000,
  418. })
  419. minetest.override_item('default:copper_lump', {
  420. description = "".. core.colorize("#BFFFFF", "Copper lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  421. stack_max= 1000,
  422. })
  423. minetest.override_item('default:gold_lump', {
  424. description = "".. core.colorize("#00FFFF", "Gold lump\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
  425. stack_max= 1000,
  426. })
  427. minetest.override_item('default:steel_ingot', {
  428. description = "".. core.colorize("#BFFFFF", "Steel bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  429. stack_max= 250,
  430. })
  431. minetest.override_item('default:tin_ingot', {
  432. description = "".. core.colorize("#BFFFFF", "Tin bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  433. stack_max= 250,
  434. })
  435. minetest.override_item('default:copper_ingot', {
  436. description = "".. core.colorize("#BFFFFF", "Copper bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  437. stack_max= 250,
  438. })
  439. minetest.override_item('default:bronze_ingot', {
  440. description = "".. core.colorize("#BFFFFF", "Bronze bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
  441. stack_max= 250,
  442. })
  443. minetest.override_item('default:gold_ingot', {
  444. description = "".. core.colorize("#00FFFF", "Gold bar\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
  445. stack_max= 250,
  446. })
  447. minetest.override_item('default:diamond', {
  448. description = "".. core.colorize("#00FFFF", "Soft diamond\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
  449. stack_max= 1000,
  450. })
  451. minetest.override_item('default:mese_crystal', {
  452. description = "".. core.colorize("#00FFFF", "MESE crystal\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
  453. stack_max= 1000,
  454. })
  455. minetest.override_item('default:cobble', {
  456. stack_max= 30000,
  457. })
  458. minetest.override_item('default:torch', {
  459. stack_max= 1000,
  460. })
  461. if minetest.get_modpath("hbhunger") then
  462. hbhunger.register_food("minerdream:vitamin", 1, "", nil, 3)
  463. hbhunger.register_food("minerdream:potion_tiny", 0, "", nil, 5)
  464. hbhunger.register_food("minerdream:potion_lesser", 0, "", nil, 10)
  465. hbhunger.register_food("minerdream:potion_normal", 0, "", nil, 15)
  466. hbhunger.register_food("minerdream:potion_greater", 0, "", nil, 20)
  467. end
  468. if minetest.get_modpath("hunger") then
  469. hunger.register_food("minerdream:vitamin", 1, "", nil, 3)
  470. hunger.register_food("minerdream:potion_tiny", 0, "", nil, 5)
  471. hunger.register_food("minerdream:potion_lesser", 0, "", nil, 10)
  472. hunger.register_food("minerdream:potion_normal", 0, "", nil, 15)
  473. hunger.register_food("minerdream:potion_greater", 0, "", nil, 20)
  474. end