armor.lua 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940
  1. if minetest.get_modpath("3d_armor") then
  2. ----------------nickel set----------------------
  3. armor:register_armor("xtraores:helmet_nickel", {
  4. description = "".. core.colorize("#68fff6", "Nickel helm\n")..core.colorize("#FFFFFF", "Protection: 7%\n")..core.colorize("#FFFFFF", "Heal chance: 0%\n") ..core.colorize("#FFFFFF", "Speed bonus: -1%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 1"),
  5. inventory_image = "xtraores_inv_helmet_nickel.png",
  6. groups = {armor_head=1, armor_heal=0, armor_use=1200,
  7. physics_speed=-0.01, physics_gravity=0.01},
  8. armor_groups = {fleshy=7},
  9. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  10. })
  11. minetest.register_craft({
  12. output = 'xtraores:helmet_nickel',
  13. recipe = {
  14. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  15. {'xtraores:nickel_bar', '', 'xtraores:nickel_bar'},
  16. {'', '', ''},
  17. }
  18. })
  19. armor:register_armor("xtraores:chestplate_nickel", {
  20. description = "".. core.colorize("#68fff6", "Nickel chestguard\n")..core.colorize("#FFFFFF", "Protection: 12%\n")..core.colorize("#FFFFFF", "Heal chance: 0%\n") ..core.colorize("#FFFFFF", "Speed bonus: -1%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 1"),
  21. inventory_image = "xtraores_inv_chestplate_nickel.png",
  22. groups = {armor_torso=1, armor_heal=0, armor_use=1200,
  23. physics_speed=-0.01, physics_gravity=0.01},
  24. armor_groups = {fleshy=12},
  25. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  26. })
  27. minetest.register_craft({
  28. output = 'xtraores:chestplate_nickel',
  29. recipe = {
  30. {'xtraores:nickel_bar', '', 'xtraores:nickel_bar'},
  31. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  32. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  33. }
  34. })
  35. armor:register_armor("xtraores:leggings_nickel", {
  36. description = "".. core.colorize("#68fff6", "Nickel leg protectors\n")..core.colorize("#FFFFFF", "Protection: 12%\n")..core.colorize("#FFFFFF", "Heal chance: 0%\n") ..core.colorize("#FFFFFF", "Speed bonus: -1%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 1"),
  37. inventory_image = "xtraores_inv_leggings_nickel.png",
  38. groups = {armor_legs=1, armor_heal=0, armor_use=1200,
  39. physics_speed=-0.01, physics_gravity=0.01},
  40. armor_groups = {fleshy=12},
  41. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  42. })
  43. minetest.register_craft({
  44. output = 'xtraores:leggings_nickel',
  45. recipe = {
  46. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  47. {'xtraores:nickel_bar', '', 'xtraores:nickel_bar'},
  48. {'xtraores:nickel_bar', '', 'xtraores:nickel_bar'},
  49. }
  50. })
  51. armor:register_armor("xtraores:boots_nickel", {
  52. description = "".. core.colorize("#68fff6", "Nickel boots\n")..core.colorize("#FFFFFF", "Protection: 7%\n")..core.colorize("#FFFFFF", "Heal chance: 0%\n") ..core.colorize("#FFFFFF", "Speed bonus: -1%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 1"),
  53. inventory_image = "xtraores_inv_boots_nickel.png",
  54. groups = {armor_feet=1, armor_heal=0, armor_use=1200,
  55. physics_speed=-0.01, physics_gravity=0.01},
  56. armor_groups = {fleshy=7},
  57. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  58. })
  59. minetest.register_craft({
  60. output = 'xtraores:boots_nickel',
  61. recipe = {
  62. {'', '', ''},
  63. {'xtraores:nickel_bar', '', 'xtraores:nickel_bar'},
  64. {'xtraores:nickel_bar', '', 'xtraores:nickel_bar'},
  65. }
  66. })
  67. armor:register_armor("xtraores:shield_nickel", {
  68. description = "".. core.colorize("#68fff6", "Nickel buckler\n")..core.colorize("#FFFFFF", "Protection: 7%\n")..core.colorize("#FFFFFF", "Heal chance: 0%\n") ..core.colorize("#FFFFFF", "Speed bonus: -1%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 1"),
  69. inventory_image = "xtraores_inv_shield_nickel.png",
  70. groups = {armor_shield=1, armor_heal=0, armor_use=1200,
  71. physics_speed=-0.01, physics_gravity=0.01},
  72. armor_groups = {fleshy=7},
  73. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  74. })
  75. minetest.register_craft({
  76. output = 'xtraores:shield_nickel',
  77. recipe = {
  78. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  79. {'xtraores:nickel_bar', 'xtraores:nickel_bar', 'xtraores:nickel_bar'},
  80. {'', 'xtraores:nickel_bar', ''},
  81. }
  82. })
  83. ----------------platinum set----------------------
  84. armor:register_armor("xtraores:helmet_platinum", {
  85. description = "".. core.colorize("#68fff6", "Platinum chain-helm\n")..core.colorize("#FFFFFF", "Protection: 12%\n")..core.colorize("#FFFFFF", "Heal chance: 7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 0%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 2"),
  86. inventory_image = "xtraores_inv_helmet_platinum.png",
  87. groups = {armor_head=1, armor_heal=7, armor_use=200,
  88. physics_speed=0.00, physics_gravity=0.00},
  89. armor_groups = {fleshy=12},
  90. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  91. })
  92. minetest.register_craft({
  93. output = 'xtraores:helmet_platinum',
  94. recipe = {
  95. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  96. {'xtraores:platinum_bar', '', 'xtraores:platinum_bar'},
  97. {'', '', ''},
  98. }
  99. })
  100. armor:register_armor("xtraores:chestplate_platinum", {
  101. description = "".. core.colorize("#68fff6", "Platinum chainmail\n")..core.colorize("#FFFFFF", "Protection: 17%\n")..core.colorize("#FFFFFF", "Heal chance: 7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 0%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 2"),
  102. inventory_image = "xtraores_inv_chestplate_platinum.png",
  103. groups = {armor_torso=1, armor_heal=7, armor_use=200,
  104. physics_speed=0.00, physics_gravity=0.00},
  105. armor_groups = {fleshy=17},
  106. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  107. })
  108. minetest.register_craft({
  109. output = 'xtraores:chestplate_platinum',
  110. recipe = {
  111. {'xtraores:platinum_bar', '', 'xtraores:platinum_bar'},
  112. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  113. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  114. }
  115. })
  116. armor:register_armor("xtraores:leggings_platinum", {
  117. description = "".. core.colorize("#68fff6", "Platinum chain leggings\n")..core.colorize("#FFFFFF", "Protection: 17%\n")..core.colorize("#FFFFFF", "Heal chance: 7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 0%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 2"),
  118. inventory_image = "xtraores_inv_leggings_platinum.png",
  119. groups = {armor_legs=1, armor_heal=7, armor_use=200,
  120. physics_speed=0.00, physics_gravity=0.00},
  121. armor_groups = {fleshy=17},
  122. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  123. })
  124. minetest.register_craft({
  125. output = 'xtraores:leggings_platinum',
  126. recipe = {
  127. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  128. {'xtraores:platinum_bar', '', 'xtraores:platinum_bar'},
  129. {'xtraores:platinum_bar', '', 'xtraores:platinum_bar'},
  130. }
  131. })
  132. armor:register_armor("xtraores:boots_platinum", {
  133. description = "".. core.colorize("#68fff6", "Platinum chained boots\n")..core.colorize("#FFFFFF", "Protection: 12%\n")..core.colorize("#FFFFFF", "Heal chance: 7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 0%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 2"),
  134. inventory_image = "xtraores_inv_boots_platinum.png",
  135. groups = {armor_feet=1, armor_heal=7, armor_use=200,
  136. physics_speed=0.00, physics_gravity=0.00},
  137. armor_groups = {fleshy=12},
  138. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  139. })
  140. minetest.register_craft({
  141. output = 'xtraores:boots_platinum',
  142. recipe = {
  143. {'', '', ''},
  144. {'xtraores:platinum_bar', '', 'xtraores:platinum_bar'},
  145. {'xtraores:platinum_bar', '', 'xtraores:platinum_bar'},
  146. }
  147. })
  148. armor:register_armor("xtraores:shield_platinum", {
  149. description = "".. core.colorize("#68fff6", "Platinum small-shield\n")..core.colorize("#FFFFFF", "Protection: 12%\n")..core.colorize("#FFFFFF", "Heal chance: 7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 0%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 2"),
  150. inventory_image = "xtraores_inv_shield_platinum.png",
  151. groups = {armor_shield=1, armor_heal=7, armor_use=200,
  152. physics_speed=0.00, physics_gravity=0.00},
  153. armor_groups = {fleshy=12},
  154. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  155. })
  156. minetest.register_craft({
  157. output = 'xtraores:shield_platinum',
  158. recipe = {
  159. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  160. {'xtraores:platinum_bar', 'xtraores:platinum_bar', 'xtraores:platinum_bar'},
  161. {'', 'xtraores:platinum_bar', ''},
  162. }
  163. })
  164. ----------------palladium set----------------------
  165. armor:register_armor("xtraores:helmet_palladium", {
  166. description = "".. core.colorize("#68fff6", "Palladium helmet\n")..core.colorize("#FFFFFF", "Protection: 15%\n")..core.colorize("#FFFFFF", "Heal chance: 12%\n") ..core.colorize("#FFFFFF", "Speed bonus: 3%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 3"),
  167. inventory_image = "xtraores_inv_helmet_palladium.png",
  168. groups = {armor_head=1, armor_heal=12, armor_use=150,
  169. physics_speed=0.03, physics_jump=0.00, physics_gravity=0.00},
  170. armor_groups = {fleshy=15},
  171. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  172. })
  173. minetest.register_craft({
  174. output = 'xtraores:helmet_palladium',
  175. recipe = {
  176. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  177. {'xtraores:palladium_bar', '', 'xtraores:palladium_bar'},
  178. {'', '', ''},
  179. }
  180. })
  181. armor:register_armor("xtraores:chestplate_palladium", {
  182. description = "".. core.colorize("#68fff6", "Palladium platemail\n")..core.colorize("#FFFFFF", "Protection: 20%\n")..core.colorize("#FFFFFF", "Heal chance: 12%\n") ..core.colorize("#FFFFFF", "Speed bonus: 3%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 3"),
  183. inventory_image = "xtraores_inv_chestplate_palladium.png",
  184. groups = {armor_torso=1, armor_heal=12, armor_use=150,
  185. physics_speed=0.03, physics_jump=0.00, physics_gravity=0.00},
  186. armor_groups = {fleshy=20},
  187. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  188. })
  189. minetest.register_craft({
  190. output = 'xtraores:chestplate_palladium',
  191. recipe = {
  192. {'xtraores:palladium_bar', '', 'xtraores:palladium_bar'},
  193. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  194. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  195. }
  196. })
  197. armor:register_armor("xtraores:leggings_palladium", {
  198. description = "".. core.colorize("#68fff6", "Palladium leggings\n")..core.colorize("#FFFFFF", "Protection: 20%\n")..core.colorize("#FFFFFF", "Heal chance: 12%\n") ..core.colorize("#FFFFFF", "Speed bonus: 3%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 3"),
  199. inventory_image = "xtraores_inv_leggings_palladium.png",
  200. groups = {armor_legs=1, armor_heal=12, armor_use=150,
  201. physics_speed=0.03, physics_jump=0.00, physics_gravity=0.00},
  202. armor_groups = {fleshy=20},
  203. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  204. })
  205. minetest.register_craft({
  206. output = 'xtraores:leggings_palladium',
  207. recipe = {
  208. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  209. {'xtraores:palladium_bar', '', 'xtraores:palladium_bar'},
  210. {'xtraores:palladium_bar', '', 'xtraores:palladium_bar'},
  211. }
  212. })
  213. armor:register_armor("xtraores:boots_palladium", {
  214. description = "".. core.colorize("#68fff6", "Palladium boots\n")..core.colorize("#FFFFFF", "Protection: 15%\n")..core.colorize("#FFFFFF", "Heal chance: 12%\n") ..core.colorize("#FFFFFF", "Speed bonus: 3%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 3"),
  215. inventory_image = "xtraores_inv_boots_palladium.png",
  216. groups = {armor_feet=1, armor_heal=12, armor_use=150,
  217. physics_speed=0.03, physics_jump=0.00, physics_gravity=0.00},
  218. armor_groups = {fleshy=15},
  219. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  220. })
  221. minetest.register_craft({
  222. output = 'xtraores:boots_palladium',
  223. recipe = {
  224. {'', '', ''},
  225. {'xtraores:palladium_bar', '', 'xtraores:palladium_bar'},
  226. {'xtraores:palladium_bar', '', 'xtraores:palladium_bar'},
  227. }
  228. })
  229. armor:register_armor("xtraores:shield_palladium", {
  230. description = "".. core.colorize("#68fff6", "Palladium shield\n")..core.colorize("#FFFFFF", "Protection: 15%\n")..core.colorize("#FFFFFF", "Heal chance: 12%\n") ..core.colorize("#FFFFFF", "Speed bonus: 3%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 3"),
  231. inventory_image = "xtraores_inv_shield_palladium.png",
  232. groups = {armor_shield=1, armor_heal=12, armor_use=150,
  233. physics_speed=0.03, physics_jump=0.00, physics_gravity=0.00},
  234. armor_groups = {fleshy=15},
  235. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  236. })
  237. minetest.register_craft({
  238. output = 'xtraores:shield_palladium',
  239. recipe = {
  240. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  241. {'xtraores:palladium_bar', 'xtraores:palladium_bar', 'xtraores:palladium_bar'},
  242. {'', 'xtraores:palladium_bar', ''},
  243. }
  244. })
  245. ----------------cobalt set----------------------
  246. armor:register_armor("xtraores:helmet_cobalt", {
  247. description = "".. core.colorize("#68fff6", "Cobalt helmet\n")..core.colorize("#FFFFFF", "Protection: 15.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.1%\n") ..core.colorize("#FFFFFF", "Speed bonus: 7%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 4"),
  248. inventory_image = "xtraores_inv_helmet_cobalt.png",
  249. groups = {armor_head=1, armor_heal=12.1, armor_use=100,
  250. physics_speed=0.07, physics_jump=0.00, physics_gravity=0.00},
  251. armor_groups = {fleshy=15.2},
  252. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  253. })
  254. minetest.register_craft({
  255. output = 'xtraores:helmet_cobalt',
  256. recipe = {
  257. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  258. {'xtraores:cobalt_bar', '', 'xtraores:cobalt_bar'},
  259. {'', '', ''},
  260. }
  261. })
  262. armor:register_armor("xtraores:chestplate_cobalt", {
  263. description = "".. core.colorize("#68fff6", "Cobalt platemail\n")..core.colorize("#FFFFFF", "Protection: 20.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.1%\n") ..core.colorize("#FFFFFF", "Speed bonus: 7%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 4"),
  264. inventory_image = "xtraores_inv_chestplate_cobalt.png",
  265. groups = {armor_torso=1, armor_heal=12.1, armor_use=100,
  266. physics_speed=0.07, physics_jump=0.00, physics_gravity=0.00},
  267. armor_groups = {fleshy=20.2},
  268. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  269. })
  270. minetest.register_craft({
  271. output = 'xtraores:chestplate_cobalt',
  272. recipe = {
  273. {'xtraores:cobalt_bar', '', 'xtraores:cobalt_bar'},
  274. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  275. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  276. }
  277. })
  278. armor:register_armor("xtraores:leggings_cobalt", {
  279. description = "".. core.colorize("#68fff6", "Cobalt leggings\n")..core.colorize("#FFFFFF", "Protection: 20.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.1%\n") ..core.colorize("#FFFFFF", "Speed bonus: 7%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 4"),
  280. inventory_image = "xtraores_inv_leggings_cobalt.png",
  281. groups = {armor_legs=1, armor_heal=12.1, armor_use=100,
  282. physics_speed=0.07, physics_jump=0.00, physics_gravity=0.00},
  283. armor_groups = {fleshy=20.2},
  284. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  285. })
  286. minetest.register_craft({
  287. output = 'xtraores:leggings_cobalt',
  288. recipe = {
  289. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  290. {'xtraores:cobalt_bar', '', 'xtraores:cobalt_bar'},
  291. {'xtraores:cobalt_bar', '', 'xtraores:cobalt_bar'},
  292. }
  293. })
  294. armor:register_armor("xtraores:boots_cobalt", {
  295. description = "".. core.colorize("#68fff6", "Cobalt boots\n")..core.colorize("#FFFFFF", "Protection: 15.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.1%\n") ..core.colorize("#FFFFFF", "Speed bonus: 7%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 4"),
  296. inventory_image = "xtraores_inv_boots_cobalt.png",
  297. groups = {armor_feet=1, armor_heal=12.1, armor_use=100,
  298. physics_speed=0.07, physics_jump=0.00, physics_gravity=0.00},
  299. armor_groups = {fleshy=15.2},
  300. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  301. })
  302. minetest.register_craft({
  303. output = 'xtraores:boots_cobalt',
  304. recipe = {
  305. {'', '', ''},
  306. {'xtraores:cobalt_bar', '', 'xtraores:cobalt_bar'},
  307. {'xtraores:cobalt_bar', '', 'xtraores:cobalt_bar'},
  308. }
  309. })
  310. armor:register_armor("xtraores:shield_cobalt", {
  311. description = "".. core.colorize("#68fff6", "Cobalt shield\n")..core.colorize("#FFFFFF", "Protection: 15.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.1%\n") ..core.colorize("#FFFFFF", "Speed bonus: 7%\n")..core.colorize("#FFFFFF", "Jump bonus: 0%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 4"),
  312. inventory_image = "xtraores_inv_shield_cobalt.png",
  313. groups = {armor_shield=1, armor_heal=12.1, armor_use=100,
  314. physics_speed=0.07, physics_jump=0.00, physics_gravity=0.00},
  315. armor_groups = {fleshy=15.2},
  316. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  317. })
  318. minetest.register_craft({
  319. output = 'xtraores:shield_cobalt',
  320. recipe = {
  321. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  322. {'xtraores:cobalt_bar', 'xtraores:cobalt_bar', 'xtraores:cobalt_bar'},
  323. {'', 'xtraores:cobalt_bar', ''},
  324. }
  325. })
  326. ----------------thorium set----------------------
  327. armor:register_armor("xtraores:helmet_thorium", {
  328. description = "".. core.colorize("#68fff6", "Thorium helmet\n")..core.colorize("#FFFFFF", "Protection: 15.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.2%\n") ..core.colorize("#FFFFFF", "Speed bonus: 11%\n")..core.colorize("#FFFFFF", "Jump bonus: 3%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 5"),
  329. inventory_image = "xtraores_inv_helmet_thorium.png",
  330. groups = {armor_head=1, armor_heal=12.2, armor_use=100,
  331. physics_speed=0.11, physics_jump=0.03, physics_gravity=0.00},
  332. armor_groups = {fleshy=15.4},
  333. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  334. })
  335. minetest.register_craft({
  336. output = 'xtraores:helmet_thorium',
  337. recipe = {
  338. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  339. {'xtraores:thorium_bar', '', 'xtraores:thorium_bar'},
  340. {'', '', ''},
  341. }
  342. })
  343. armor:register_armor("xtraores:chestplate_thorium", {
  344. description = "".. core.colorize("#68fff6", "Thorium platemail\n")..core.colorize("#FFFFFF", "Protection: 20.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.2%\n") ..core.colorize("#FFFFFF", "Speed bonus: 11%\n")..core.colorize("#FFFFFF", "Jump bonus: 3%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 5"),
  345. inventory_image = "xtraores_inv_chestplate_thorium.png",
  346. groups = {armor_torso=1, armor_heal=12.2, armor_use=100,
  347. physics_speed=0.11, physics_jump=0.03, physics_gravity=0.00},
  348. armor_groups = {fleshy=20.4},
  349. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  350. })
  351. minetest.register_craft({
  352. output = 'xtraores:chestplate_thorium',
  353. recipe = {
  354. {'xtraores:thorium_bar', '', 'xtraores:thorium_bar'},
  355. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  356. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  357. }
  358. })
  359. armor:register_armor("xtraores:leggings_thorium", {
  360. description = "".. core.colorize("#68fff6", "Thorium leggings\n")..core.colorize("#FFFFFF", "Protection: 20.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.2%\n") ..core.colorize("#FFFFFF", "Speed bonus: 11%\n")..core.colorize("#FFFFFF", "Jump bonus: 3%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 5"),
  361. inventory_image = "xtraores_inv_leggings_thorium.png",
  362. groups = {armor_legs=1, armor_heal=12.2, armor_use=100,
  363. physics_speed=0.11, physics_jump=0.03, physics_gravity=0.00},
  364. armor_groups = {fleshy=20.4},
  365. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  366. })
  367. minetest.register_craft({
  368. output = 'xtraores:leggings_thorium',
  369. recipe = {
  370. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  371. {'xtraores:thorium_bar', '', 'xtraores:thorium_bar'},
  372. {'xtraores:thorium_bar', '', 'xtraores:thorium_bar'},
  373. }
  374. })
  375. armor:register_armor("xtraores:boots_thorium", {
  376. description = "".. core.colorize("#68fff6", "Thorium boots\n")..core.colorize("#FFFFFF", "Protection: 15.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.2%\n") ..core.colorize("#FFFFFF", "Speed bonus: 11%\n")..core.colorize("#FFFFFF", "Jump bonus: 3%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 5"),
  377. inventory_image = "xtraores_inv_boots_thorium.png",
  378. groups = {armor_feet=1, armor_heal=12.2, armor_use=100,
  379. physics_speed=0.11, physics_jump=0.03, physics_gravity=0.00},
  380. armor_groups = {fleshy=15.4},
  381. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  382. })
  383. minetest.register_craft({
  384. output = 'xtraores:boots_thorium',
  385. recipe = {
  386. {'', '', ''},
  387. {'xtraores:thorium_bar', '', 'xtraores:thorium_bar'},
  388. {'xtraores:thorium_bar', '', 'xtraores:thorium_bar'},
  389. }
  390. })
  391. armor:register_armor("xtraores:shield_thorium", {
  392. description = "".. core.colorize("#68fff6", "Thorium shield\n")..core.colorize("#FFFFFF", "Protection: 15.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.2%\n") ..core.colorize("#FFFFFF", "Speed bonus: 11%\n")..core.colorize("#FFFFFF", "Jump bonus: 3%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 5"),
  393. inventory_image = "xtraores_inv_shield_thorium.png",
  394. groups = {armor_shield=1, armor_heal=12.2, armor_use=100,
  395. physics_speed=0.11, physics_jump=0.03, physics_gravity=0.00},
  396. armor_groups = {fleshy=15.4},
  397. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  398. })
  399. minetest.register_craft({
  400. output = 'xtraores:shield_thorium',
  401. recipe = {
  402. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  403. {'xtraores:thorium_bar', 'xtraores:thorium_bar', 'xtraores:thorium_bar'},
  404. {'', 'xtraores:thorium_bar', ''},
  405. }
  406. })
  407. ----------------osmium set----------------------
  408. armor:register_armor("xtraores:helmet_osmium", {
  409. description = "".. core.colorize("#68fff6", "Osmium helmet\n")..core.colorize("#FFFFFF", "Protection: 15.6%\n")..core.colorize("#FFFFFF", "Heal chance: 12.3%\n") ..core.colorize("#FFFFFF", "Speed bonus: 16%\n")..core.colorize("#FFFFFF", "Jump bonus: 5%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 6"),
  410. inventory_image = "xtraores_inv_helmet_osmium.png",
  411. groups = {armor_head=1, armor_heal=12.3, armor_use=60,
  412. physics_speed=0.16, physics_jump=0.05, physics_gravity=0.00},
  413. armor_groups = {fleshy=15.6},
  414. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  415. })
  416. minetest.register_craft({
  417. output = 'xtraores:helmet_osmium',
  418. recipe = {
  419. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  420. {'xtraores:osmium_bar', '', 'xtraores:osmium_bar'},
  421. {'', '', ''},
  422. }
  423. })
  424. armor:register_armor("xtraores:chestplate_osmium", {
  425. description = "".. core.colorize("#68fff6", "Osmium platemail\n")..core.colorize("#FFFFFF", "Protection: 20.6%\n")..core.colorize("#FFFFFF", "Heal chance: 12.3%\n") ..core.colorize("#FFFFFF", "Speed bonus: 16%\n")..core.colorize("#FFFFFF", "Jump bonus: 5%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 6"),
  426. inventory_image = "xtraores_inv_chestplate_osmium.png",
  427. groups = {armor_torso=1, armor_heal=12.3, armor_use=60,
  428. physics_speed=0.16, physics_jump=0.05, physics_gravity=0.00},
  429. armor_groups = {fleshy=20.6},
  430. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  431. })
  432. minetest.register_craft({
  433. output = 'xtraores:chestplate_osmium',
  434. recipe = {
  435. {'xtraores:osmium_bar', '', 'xtraores:osmium_bar'},
  436. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  437. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  438. }
  439. })
  440. armor:register_armor("xtraores:leggings_osmium", {
  441. description = "".. core.colorize("#68fff6", "Osmium leggings\n")..core.colorize("#FFFFFF", "Protection: 20.6%\n")..core.colorize("#FFFFFF", "Heal chance: 12.3%\n") ..core.colorize("#FFFFFF", "Speed bonus: 16%\n")..core.colorize("#FFFFFF", "Jump bonus: 5%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 6"),
  442. inventory_image = "xtraores_inv_leggings_osmium.png",
  443. groups = {armor_legs=1, armor_heal=12.3, armor_use=60,
  444. physics_speed=0.16, physics_jump=0.05, physics_gravity=0.00},
  445. armor_groups = {fleshy=20.6},
  446. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  447. })
  448. minetest.register_craft({
  449. output = 'xtraores:leggings_osmium',
  450. recipe = {
  451. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  452. {'xtraores:osmium_bar', '', 'xtraores:osmium_bar'},
  453. {'xtraores:osmium_bar', '', 'xtraores:osmium_bar'},
  454. }
  455. })
  456. armor:register_armor("xtraores:boots_osmium", {
  457. description = "".. core.colorize("#68fff6", "Osmium boots\n")..core.colorize("#FFFFFF", "Protection: 15.6%\n")..core.colorize("#FFFFFF", "Heal chance: 12.3%\n") ..core.colorize("#FFFFFF", "Speed bonus: 16%\n")..core.colorize("#FFFFFF", "Jump bonus: 5%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 6"),
  458. inventory_image = "xtraores_inv_boots_osmium.png",
  459. groups = {armor_feet=1, armor_heal=12.3, armor_use=60,
  460. physics_speed=0.16, physics_jump=0.05, physics_gravity=0.00},
  461. armor_groups = {fleshy=15.6},
  462. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  463. })
  464. minetest.register_craft({
  465. output = 'xtraores:boots_osmium',
  466. recipe = {
  467. {'', '', ''},
  468. {'xtraores:osmium_bar', '', 'xtraores:osmium_bar'},
  469. {'xtraores:osmium_bar', '', 'xtraores:osmium_bar'},
  470. }
  471. })
  472. armor:register_armor("xtraores:shield_osmium", {
  473. description = "".. core.colorize("#68fff6", "Osmium shield\n")..core.colorize("#FFFFFF", "Protection: 15.6%\n")..core.colorize("#FFFFFF", "Heal chance: 12.3%\n") ..core.colorize("#FFFFFF", "Speed bonus: 16%\n")..core.colorize("#FFFFFF", "Jump bonus: 5%\n")..core.colorize("#FFFFFF", "Gravity bonus: 0%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 6"),
  474. inventory_image = "xtraores_inv_shield_osmium.png",
  475. groups = {armor_shield=1, armor_heal=12.3, armor_use=60,
  476. physics_speed=0.16, physics_jump=0.05, physics_gravity=0.00},
  477. armor_groups = {fleshy=15.6},
  478. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  479. })
  480. minetest.register_craft({
  481. output = 'xtraores:shield_osmium',
  482. recipe = {
  483. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  484. {'xtraores:osmium_bar', 'xtraores:osmium_bar', 'xtraores:osmium_bar'},
  485. {'', 'xtraores:osmium_bar', ''},
  486. }
  487. })
  488. ----------------rhenium set----------------------
  489. armor:register_armor("xtraores:helmet_rhenium", {
  490. description = "".. core.colorize("#68fff6", "Rhenium helmet\n")..core.colorize("#FFFFFF", "Protection: 15.8%\n")..core.colorize("#FFFFFF", "Heal chance: 12.4%\n") ..core.colorize("#FFFFFF", "Speed bonus: 21%\n")..core.colorize("#FFFFFF", "Jump bonus: 8%\n")..core.colorize("#FFFFFF", "Gravity bonus: -1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 7"),
  491. inventory_image = "xtraores_inv_helmet_rhenium.png",
  492. groups = {armor_head=1, armor_heal=12.4, armor_use=40,
  493. physics_speed=0.21, physics_jump=0.08, physics_gravity=-0.01},
  494. armor_groups = {fleshy=15.8},
  495. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  496. })
  497. minetest.register_craft({
  498. output = 'xtraores:helmet_rhenium',
  499. recipe = {
  500. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  501. {'xtraores:rhenium_bar', '', 'xtraores:rhenium_bar'},
  502. {'', '', ''},
  503. }
  504. })
  505. armor:register_armor("xtraores:chestplate_rhenium", {
  506. description = "".. core.colorize("#68fff6", "Rhenium platemail\n")..core.colorize("#FFFFFF", "Protection: 20.8%\n")..core.colorize("#FFFFFF", "Heal chance: 12.4%\n") ..core.colorize("#FFFFFF", "Speed bonus: 21%\n")..core.colorize("#FFFFFF", "Jump bonus: 8%\n")..core.colorize("#FFFFFF", "Gravity bonus: -1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 7"),
  507. inventory_image = "xtraores_inv_chestplate_rhenium.png",
  508. groups = {armor_torso=1, armor_heal=12.4, armor_use=40,
  509. physics_speed=0.21, physics_jump=0.08, physics_gravity=-0.01},
  510. armor_groups = {fleshy=20.8},
  511. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  512. })
  513. minetest.register_craft({
  514. output = 'xtraores:chestplate_rhenium',
  515. recipe = {
  516. {'xtraores:rhenium_bar', '', 'xtraores:rhenium_bar'},
  517. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  518. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  519. }
  520. })
  521. armor:register_armor("xtraores:leggings_rhenium", {
  522. description = "".. core.colorize("#68fff6", "Rhenium leggings\n")..core.colorize("#FFFFFF", "Protection: 20.8%\n")..core.colorize("#FFFFFF", "Heal chance: 12.4%\n") ..core.colorize("#FFFFFF", "Speed bonus: 21%\n")..core.colorize("#FFFFFF", "Jump bonus: 8%\n")..core.colorize("#FFFFFF", "Gravity bonus: -1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 7"),
  523. inventory_image = "xtraores_inv_leggings_rhenium.png",
  524. groups = {armor_legs=1, armor_heal=12.4, armor_use=40,
  525. physics_speed=0.21, physics_jump=0.08, physics_gravity=-0.01},
  526. armor_groups = {fleshy=20.8},
  527. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  528. })
  529. minetest.register_craft({
  530. output = 'xtraores:leggings_rhenium',
  531. recipe = {
  532. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  533. {'xtraores:rhenium_bar', '', 'xtraores:rhenium_bar'},
  534. {'xtraores:rhenium_bar', '', 'xtraores:rhenium_bar'},
  535. }
  536. })
  537. armor:register_armor("xtraores:boots_rhenium", {
  538. description = "".. core.colorize("#68fff6", "Rhenium boots\n")..core.colorize("#FFFFFF", "Protection: 15.8%\n")..core.colorize("#FFFFFF", "Heal chance: 12.4%\n") ..core.colorize("#FFFFFF", "Speed bonus: 21%\n")..core.colorize("#FFFFFF", "Jump bonus: 8%\n")..core.colorize("#FFFFFF", "Gravity bonus: -1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 7"),
  539. inventory_image = "xtraores_inv_boots_rhenium.png",
  540. groups = {armor_feet=1, armor_heal=12.4, armor_use=40,
  541. physics_speed=0.21, physics_jump=0.08, physics_gravity=-0.01},
  542. armor_groups = {fleshy=15.8},
  543. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  544. })
  545. minetest.register_craft({
  546. output = 'xtraores:boots_rhenium',
  547. recipe = {
  548. {'', '', ''},
  549. {'xtraores:rhenium_bar', '', 'xtraores:rhenium_bar'},
  550. {'xtraores:rhenium_bar', '', 'xtraores:rhenium_bar'},
  551. }
  552. })
  553. armor:register_armor("xtraores:shield_rhenium", {
  554. description = "".. core.colorize("#68fff6", "Rhenium shield\n")..core.colorize("#FFFFFF", "Protection: 15.8%\n")..core.colorize("#FFFFFF", "Heal chance: 12.4%\n") ..core.colorize("#FFFFFF", "Speed bonus: 21%\n")..core.colorize("#FFFFFF", "Jump bonus: 8%\n")..core.colorize("#FFFFFF", "Gravity bonus: -1%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 7"),
  555. inventory_image = "xtraores_inv_shield_rhenium.png",
  556. groups = {armor_shield=1, armor_heal=12.4, armor_use=40,
  557. physics_speed=0.21, physics_jump=0.08, physics_gravity=-0.01},
  558. armor_groups = {fleshy=15.8},
  559. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  560. })
  561. minetest.register_craft({
  562. output = 'xtraores:shield_rhenium',
  563. recipe = {
  564. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  565. {'xtraores:rhenium_bar', 'xtraores:rhenium_bar', 'xtraores:rhenium_bar'},
  566. {'', 'xtraores:rhenium_bar', ''},
  567. }
  568. })
  569. ----------------vanadium set----------------------
  570. armor:register_armor("xtraores:helmet_vanadium", {
  571. description = "".. core.colorize("#68fff6", "Vanadium helmet\n")..core.colorize("#FFFFFF", "Protection: 16.0%\n")..core.colorize("#FFFFFF", "Heal chance: 12.5%\n") ..core.colorize("#FFFFFF", "Speed bonus: 25%\n")..core.colorize("#FFFFFF", "Jump bonus: 10%\n")..core.colorize("#FFFFFF", "Gravity bonus: -2%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 8"),
  572. inventory_image = "xtraores_inv_helmet_vanadium.png",
  573. groups = {armor_head=1, armor_heal=12.5, armor_use=25,
  574. physics_speed=0.25, physics_jump=0.10, physics_gravity=-0.02},
  575. armor_groups = {fleshy=16.0},
  576. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  577. })
  578. minetest.register_craft({
  579. output = 'xtraores:helmet_vanadium',
  580. recipe = {
  581. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  582. {'xtraores:vanadium_bar', '', 'xtraores:vanadium_bar'},
  583. {'', '', ''},
  584. }
  585. })
  586. armor:register_armor("xtraores:chestplate_vanadium", {
  587. description = "".. core.colorize("#68fff6", "Vanadium platemail\n")..core.colorize("#FFFFFF", "Protection: 21.0%\n")..core.colorize("#FFFFFF", "Heal chance: 12.5%\n") ..core.colorize("#FFFFFF", "Speed bonus: 25%\n")..core.colorize("#FFFFFF", "Jump bonus: 10%\n")..core.colorize("#FFFFFF", "Gravity bonus: -2%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 8"),
  588. inventory_image = "xtraores_inv_chestplate_vanadium.png",
  589. groups = {armor_torso=1, armor_heal=12.5, armor_use=25,
  590. physics_speed=0.25, physics_jump=0.10, physics_gravity=-0.02},
  591. armor_groups = {fleshy=21.0},
  592. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  593. })
  594. minetest.register_craft({
  595. output = 'xtraores:chestplate_vanadium',
  596. recipe = {
  597. {'xtraores:vanadium_bar', '', 'xtraores:vanadium_bar'},
  598. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  599. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  600. }
  601. })
  602. armor:register_armor("xtraores:leggings_vanadium", {
  603. description = "".. core.colorize("#68fff6", "Vanadium leggings\n")..core.colorize("#FFFFFF", "Protection: 21.0%\n")..core.colorize("#FFFFFF", "Heal chance: 12.5%\n") ..core.colorize("#FFFFFF", "Speed bonus: 25%\n")..core.colorize("#FFFFFF", "Jump bonus: 10%\n")..core.colorize("#FFFFFF", "Gravity bonus: -2%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 8"),
  604. inventory_image = "xtraores_inv_leggings_vanadium.png",
  605. groups = {armor_legs=1, armor_heal=12.5, armor_use=25,
  606. physics_speed=0.25, physics_jump=0.10, physics_gravity=-0.02},
  607. armor_groups = {fleshy=21.0},
  608. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  609. })
  610. minetest.register_craft({
  611. output = 'xtraores:leggings_vanadium',
  612. recipe = {
  613. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  614. {'xtraores:vanadium_bar', '', 'xtraores:vanadium_bar'},
  615. {'xtraores:vanadium_bar', '', 'xtraores:vanadium_bar'},
  616. }
  617. })
  618. armor:register_armor("xtraores:boots_vanadium", {
  619. description = "".. core.colorize("#68fff6", "Vanadium boots\n")..core.colorize("#FFFFFF", "Protection: 16.0%\n")..core.colorize("#FFFFFF", "Heal chance: 12.5%\n") ..core.colorize("#FFFFFF", "Speed bonus: 25%\n")..core.colorize("#FFFFFF", "Jump bonus: 10%\n")..core.colorize("#FFFFFF", "Gravity bonus: -2%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 8"),
  620. inventory_image = "xtraores_inv_boots_vanadium.png",
  621. groups = {armor_feet=1, armor_heal=12.5, armor_use=25,
  622. physics_speed=0.25, physics_jump=0.10, physics_gravity=-0.02},
  623. armor_groups = {fleshy=16.0},
  624. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  625. })
  626. minetest.register_craft({
  627. output = 'xtraores:boots_vanadium',
  628. recipe = {
  629. {'', '', ''},
  630. {'xtraores:vanadium_bar', '', 'xtraores:vanadium_bar'},
  631. {'xtraores:vanadium_bar', '', 'xtraores:vanadium_bar'},
  632. }
  633. })
  634. armor:register_armor("xtraores:shield_vanadium", {
  635. description = "".. core.colorize("#68fff6", "Vanadium shield\n")..core.colorize("#FFFFFF", "Protection: 16.0%\n")..core.colorize("#FFFFFF", "Heal chance: 12.5%\n") ..core.colorize("#FFFFFF", "Speed bonus: 25%\n")..core.colorize("#FFFFFF", "Jump bonus: 10%\n")..core.colorize("#FFFFFF", "Gravity bonus: -2%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 8"),
  636. inventory_image = "xtraores_inv_shield_vanadium.png",
  637. groups = {armor_shield=1, armor_heal=12.5, armor_use=25,
  638. physics_speed=0.25, physics_jump=0.10, physics_gravity=-0.02},
  639. armor_groups = {fleshy=16.0},
  640. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  641. })
  642. minetest.register_craft({
  643. output = 'xtraores:shield_vanadium',
  644. recipe = {
  645. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  646. {'xtraores:vanadium_bar', 'xtraores:vanadium_bar', 'xtraores:vanadium_bar'},
  647. {'', 'xtraores:vanadium_bar', ''},
  648. }
  649. })
  650. ----------------rarium set----------------------
  651. armor:register_armor("xtraores:helmet_rarium", {
  652. description = "".. core.colorize("#68fff6", "rarium heavy-helm\n")..core.colorize("#FFFFFF", "Protection: 16.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.6%\n") ..core.colorize("#FFFFFF", "Speed bonus: 29%\n")..core.colorize("#FFFFFF", "Jump bonus: 12%\n")..core.colorize("#FFFFFF", "Gravity bonus: -3%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 9"),
  653. inventory_image = "xtraores_inv_helmet_rarium.png",
  654. groups = {armor_head=1, armor_heal=12.6, armor_use=20,
  655. physics_speed=0.29, physics_jump=0.12, physics_gravity=-0.03},
  656. armor_groups = {fleshy=16.2},
  657. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  658. })
  659. minetest.register_craft({
  660. output = 'xtraores:helmet_rarium',
  661. recipe = {
  662. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  663. {'xtraores:rarium_bar', '', 'xtraores:rarium_bar'},
  664. {'', '', ''},
  665. }
  666. })
  667. armor:register_armor("xtraores:chestplate_rarium", {
  668. description = "".. core.colorize("#68fff6", "rarium heavy-platemail\n")..core.colorize("#FFFFFF", "Protection: 21.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.6%\n") ..core.colorize("#FFFFFF", "Speed bonus: 29%\n")..core.colorize("#FFFFFF", "Jump bonus: 12%\n")..core.colorize("#FFFFFF", "Gravity bonus: -3%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 9"),
  669. inventory_image = "xtraores_inv_chestplate_rarium.png",
  670. groups = {armor_torso=1, armor_heal=12.6, armor_use=20,
  671. physics_speed=0.29, physics_jump=0.12, physics_gravity=-0.03},
  672. armor_groups = {fleshy=21.2},
  673. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  674. })
  675. minetest.register_craft({
  676. output = 'xtraores:chestplate_rarium',
  677. recipe = {
  678. {'xtraores:rarium_bar', '', 'xtraores:rarium_bar'},
  679. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  680. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  681. }
  682. })
  683. armor:register_armor("xtraores:leggings_rarium", {
  684. description = "".. core.colorize("#68fff6", "rarium heavy-leggings\n")..core.colorize("#FFFFFF", "Protection: 21.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.6%\n") ..core.colorize("#FFFFFF", "Speed bonus: 29%\n")..core.colorize("#FFFFFF", "Jump bonus: 12%\n")..core.colorize("#FFFFFF", "Gravity bonus: -3%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 9"),
  685. inventory_image = "xtraores_inv_leggings_rarium.png",
  686. groups = {armor_legs=1, armor_heal=12.6, armor_use=20,
  687. physics_speed=0.29, physics_jump=0.12, physics_gravity=-0.03},
  688. armor_groups = {fleshy=21.2},
  689. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  690. })
  691. minetest.register_craft({
  692. output = 'xtraores:leggings_rarium',
  693. recipe = {
  694. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  695. {'xtraores:rarium_bar', '', 'xtraores:rarium_bar'},
  696. {'xtraores:rarium_bar', '', 'xtraores:rarium_bar'},
  697. }
  698. })
  699. armor:register_armor("xtraores:boots_rarium", {
  700. description = "".. core.colorize("#68fff6", "rarium heavy-boots\n")..core.colorize("#FFFFFF", "Protection: 16.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.6%\n") ..core.colorize("#FFFFFF", "Speed bonus: 29%\n")..core.colorize("#FFFFFF", "Jump bonus: 12%\n")..core.colorize("#FFFFFF", "Gravity bonus: -3%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 9"),
  701. inventory_image = "xtraores_inv_boots_rarium.png",
  702. groups = {armor_feet=1, armor_heal=12.6, armor_use=20,
  703. physics_speed=0.29, physics_jump=0.12, physics_gravity=-0.03},
  704. armor_groups = {fleshy=16.2},
  705. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  706. })
  707. minetest.register_craft({
  708. output = 'xtraores:boots_rarium',
  709. recipe = {
  710. {'', '', ''},
  711. {'xtraores:rarium_bar', '', 'xtraores:rarium_bar'},
  712. {'xtraores:rarium_bar', '', 'xtraores:rarium_bar'},
  713. }
  714. })
  715. armor:register_armor("xtraores:shield_rarium", {
  716. description = "".. core.colorize("#68fff6", "rarium heavy-shield\n")..core.colorize("#FFFFFF", "Protection: 16.2%\n")..core.colorize("#FFFFFF", "Heal chance: 12.6%\n") ..core.colorize("#FFFFFF", "Speed bonus: 29%\n")..core.colorize("#FFFFFF", "Jump bonus: 12%\n")..core.colorize("#FFFFFF", "Gravity bonus: -3%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 9"),
  717. inventory_image = "xtraores_inv_shield_rarium.png",
  718. groups = {armor_shield=1, armor_heal=12.6, armor_use=20,
  719. physics_speed=0.29, physics_jump=0.12, physics_gravity=-0.03},
  720. armor_groups = {fleshy=16.2},
  721. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  722. })
  723. minetest.register_craft({
  724. output = 'xtraores:shield_rarium',
  725. recipe = {
  726. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  727. {'xtraores:rarium_bar', 'xtraores:rarium_bar', 'xtraores:rarium_bar'},
  728. {'', 'xtraores:rarium_bar', ''},
  729. }
  730. })
  731. ----------------orichalcum set----------------------
  732. armor:register_armor("xtraores:helmet_orichalcum", {
  733. description = "".. core.colorize("#68fff6", "orichalcum heavy-helm\n")..core.colorize("#FFFFFF", "Protection: 16.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 33%\n")..core.colorize("#FFFFFF", "Jump bonus: 14%\n")..core.colorize("#FFFFFF", "Gravity bonus: -4%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 10"),
  734. inventory_image = "xtraores_inv_helmet_orichalcum.png",
  735. groups = {armor_head=1, armor_heal=12.7, armor_use=17,
  736. physics_speed=0.33, physics_jump=0.14, physics_gravity=-0.04},
  737. armor_groups = {fleshy=16.4},
  738. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  739. })
  740. minetest.register_craft({
  741. output = 'xtraores:helmet_orichalcum',
  742. recipe = {
  743. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  744. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  745. {'', '', ''},
  746. }
  747. })
  748. armor:register_armor("xtraores:chestplate_orichalcum", {
  749. description = "".. core.colorize("#68fff6", "orichalcum heavy-platemail\n")..core.colorize("#FFFFFF", "Protection: 21.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 33%\n")..core.colorize("#FFFFFF", "Jump bonus: 14%\n")..core.colorize("#FFFFFF", "Gravity bonus: -4%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 10"),
  750. inventory_image = "xtraores_inv_chestplate_orichalcum.png",
  751. groups = {armor_torso=1, armor_heal=12.7, armor_use=17,
  752. physics_speed=0.33, physics_jump=0.14, physics_gravity=-0.04},
  753. armor_groups = {fleshy=21.4},
  754. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  755. })
  756. minetest.register_craft({
  757. output = 'xtraores:chestplate_orichalcum',
  758. recipe = {
  759. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  760. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  761. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  762. }
  763. })
  764. armor:register_armor("xtraores:leggings_orichalcum", {
  765. description = "".. core.colorize("#68fff6", "orichalcum heavy-leggings\n")..core.colorize("#FFFFFF", "Protection: 21.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 33%\n")..core.colorize("#FFFFFF", "Jump bonus: 14%\n")..core.colorize("#FFFFFF", "Gravity bonus: -4%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 10"),
  766. inventory_image = "xtraores_inv_leggings_orichalcum.png",
  767. groups = {armor_legs=1, armor_heal=12.7, armor_use=17,
  768. physics_speed=0.33, physics_jump=0.14, physics_gravity=-0.04},
  769. armor_groups = {fleshy=21.4},
  770. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  771. })
  772. minetest.register_craft({
  773. output = 'xtraores:leggings_orichalcum',
  774. recipe = {
  775. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  776. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  777. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  778. }
  779. })
  780. armor:register_armor("xtraores:boots_orichalcum", {
  781. description = "".. core.colorize("#68fff6", "orichalcum heavy-boots\n")..core.colorize("#FFFFFF", "Protection: 16.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 33%\n")..core.colorize("#FFFFFF", "Jump bonus: 14%\n")..core.colorize("#FFFFFF", "Gravity bonus: -4%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 10"),
  782. inventory_image = "xtraores_inv_boots_orichalcum.png",
  783. groups = {armor_feet=1, armor_heal=12.7, armor_use=17,
  784. physics_speed=0.33, physics_jump=0.14, physics_gravity=-0.04},
  785. armor_groups = {fleshy=16.4},
  786. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  787. })
  788. minetest.register_craft({
  789. output = 'xtraores:boots_orichalcum',
  790. recipe = {
  791. {'', '', ''},
  792. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  793. {'xtraores:orichalcum_bar', '', 'xtraores:orichalcum_bar'},
  794. }
  795. })
  796. armor:register_armor("xtraores:shield_orichalcum", {
  797. description = "".. core.colorize("#68fff6", "orichalcum heavy-shield\n")..core.colorize("#FFFFFF", "Protection: 16.4%\n")..core.colorize("#FFFFFF", "Heal chance: 12.7%\n") ..core.colorize("#FFFFFF", "Speed bonus: 33%\n")..core.colorize("#FFFFFF", "Jump bonus: 14%\n")..core.colorize("#FFFFFF", "Gravity bonus: -4%\n")..core.colorize("#FFFFFF", "Xtraores armor level: 10"),
  798. inventory_image = "xtraores_inv_shield_orichalcum.png",
  799. groups = {armor_shield=1, armor_heal=12.7, armor_use=17,
  800. physics_speed=0.33, physics_jump=0.14, physics_gravity=-0.04},
  801. armor_groups = {fleshy=16.4},
  802. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  803. })
  804. minetest.register_craft({
  805. output = 'xtraores:shield_orichalcum',
  806. recipe = {
  807. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  808. {'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar', 'xtraores:orichalcum_bar'},
  809. {'', 'xtraores:orichalcum_bar', ''},
  810. }
  811. })
  812. end