armor.lua 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. armor:register_armor('epic:crown', {
  2. description = 'Admin Crown',
  3. inventory_image = 'epic_crown_inv.png',
  4. groups = {armor_head=1, armor_use=0, armor_fire=5, armor_block=100, armor_water=5, physics_jump=0.5, physics_speed=1.3, armor_heal = 20, not_in_creative_inventory=1},
  5. armor_groups = {fleshy=100},
  6. damage_groups = {cracky=2, snappy=1, level=3},
  7. on_drop = function(itemstack, dropper, pos)
  8. return
  9. end,
  10. })
  11. armor:register_armor('epic:cap_deception', {
  12. description = 'Fur Cap of Deception',
  13. inventory_image = 'epic_cap_deception_inv.png',
  14. groups = {armor_head=1, armor_use=300, armor_block=1, physics_jump=-0.12, physics_speed=-.1, armor_heal = 2, not_in_creative_inventory=1},
  15. armor_groups = {fleshy=25},
  16. damage_groups = {cracky=2, snappy=1, level=3},
  17. })
  18. --[[default groups:
  19. Elements: armor_head, armor_torso, armor_legs, armor_feet
  20. Attributes: armor_heal, armor_fire, armor_water, armor_block
  21. Armor_heal actively heals the wearer. Max HP is 50.
  22. Armor_fire protects against fire and lava.
  23. Armor_water allows for breathing underwater.
  24. Armor_block determins if an attack with deal damage.
  25. Physics: physics_jump, physics_speed, physics_gravity
  26. Durability: armor_use, flammable
  27. {'epic:float_crystal', 'gravity'},
  28. {'epic:bloodstone', 'healing'},
  29. {'epic:huntite', 'fire'},
  30. {'ocean:prismarine_crystals', 'water'},
  31. {'epic:garnet', 'speed'},
  32. {'quartz:quartz_crystal_piece', 'jump'}
  33. Armor Stats Shields can improve these values.
  34. wood
  35. Level 27, block 6%
  36. steel
  37. Level 37.8, block 24%
  38. Bronze
  39. Level 45, block 36%
  40. Gold
  41. Level 48.6, block 44%
  42. Diamond
  43. Level 63, block 60%
  44. Diamond Enchanted
  45. Level 66.6, block 68%
  46. Titanium
  47. Level 21.6, block 80%
  48. --]]
  49. --Actinolite armor provides lower gravity.
  50. armor:register_armor('epic:helmet_gravity', {
  51. _doc_items_crafting = 'This tool is crafted in the Crystal Workshop.',
  52. description = 'Diamond helmet with Actinolite enchantment',
  53. inventory_image = 'epic_helmet_inv.png^epic_gravity_overlay.png',
  54. groups = {armor_head=1, armor_block=17, armor_use=190, physics_gravity=-.15},
  55. armor_groups = {fleshy=16},
  56. damage_groups = {cracky=2, snappy=1, choppy=1, level=4},
  57. })
  58. armor:register_armor('epic:chestplate_gravity', {
  59. description = 'Diamond chestplate with Actinolite enchantment',
  60. inventory_image = 'epic_chestplate_inv.png^epic_gravity_overlay.png',
  61. groups = {armor_torso=1, armor_block=17, armor_use=190, physics_gravity=-.2},
  62. armor_groups = {fleshy=21},
  63. damage_groups = {cracky=2, snappy=1, level=4},
  64. })
  65. armor:register_armor('epic:leggings_gravity', {
  66. description = 'Diamond leggings with Actinolite enchantment',
  67. inventory_image = 'epic_leggings_inv.png^epic_gravity_overlay.png',
  68. groups = {armor_legs=1, armor_block=17, armor_use=190, physics_gravity=-.2},
  69. armor_groups = {fleshy=21},
  70. damage_groups = {cracky=2, snappy=1, level=4},
  71. })
  72. armor:register_armor('epic:boots_gravity', {
  73. description = 'Diamond boots with Actinolite enchantment',
  74. inventory_image = 'epic_boots_inv.png^epic_gravity_overlay.png',
  75. groups = {armor_feet=1, armor_block=17, armor_use=190, physics_gravity=-.15},
  76. armor_groups = {fleshy=16},
  77. damage_groups = {cracky=2, snappy=1, level=4},
  78. })
  79. --Bloodstone armor provides healing.
  80. armor:register_armor('epic:helmet_healing', {
  81. description = 'Diamond helmet with Bloodstone enchantment',
  82. inventory_image = 'epic_helmet_inv.png^epic_healing_overlay.png',
  83. groups = {armor_head=1, armor_block=17, armor_use=190, armor_heal=1},
  84. armor_groups = {fleshy=16},
  85. damage_groups = {cracky=2, snappy=1, level=4},
  86. })
  87. armor:register_armor('epic:chestplate_healing', {
  88. description = 'Diamond chestplate with Bloodstone enchantment',
  89. inventory_image = 'epic_chestplate_inv.png^epic_healing_overlay.png',
  90. groups = {armor_torso=1, armor_block=17, armor_use=190, armor_heal=1},
  91. armor_groups = {fleshy=21},
  92. damage_groups = {cracky=2, snappy=1, level=4},
  93. })
  94. armor:register_armor('epic:leggings_healing', {
  95. description = 'Diamond leggings with Bloodstone enchantment',
  96. inventory_image = 'epic_leggings_inv.png^epic_healing_overlay.png',
  97. groups = {armor_legs=1, armor_block=17, armor_use=190, armor_heal=1},
  98. armor_groups = {fleshy=21},
  99. damage_groups = {cracky=2, snappy=1, level=4},
  100. })
  101. armor:register_armor('epic:boots_healing', {
  102. description = 'Diamond boots with Bloodstone enchantment',
  103. inventory_image = 'epic_boots_inv.png^epic_healing_overlay.png',
  104. groups = {armor_feet=1, armor_block=17, armor_use=190, armor_heal=1},
  105. armor_groups = {fleshy=16},
  106. damage_groups = {cracky=2, snappy=1, level=4},
  107. })
  108. --huntite armor provides fire protection.
  109. armor:register_armor('epic:helmet_fire', {
  110. description = 'Diamond helmet with Huntite enchantment',
  111. inventory_image = 'epic_helmet_inv.png^epic_fire_overlay.png',
  112. groups = {armor_head=1, armor_block=17, armor_use=380, armor_fire=1, flammable=1},
  113. armor_groups = {fleshy=16},
  114. damage_groups = {cracky=2, snappy=1, level=4},
  115. })
  116. armor:register_armor('epic:chestplate_fire', {
  117. description = 'Diamond chestplate with Huntite enchantment',
  118. inventory_image = 'epic_chestplate_inv.png^epic_fire_overlay.png',
  119. groups = {armor_torso=1, armor_block=17, armor_use=190, armor_fire=2, flammable=1},
  120. armor_groups = {fleshy=21},
  121. damage_groups = {cracky=2, snappy=1, level=4},
  122. })
  123. armor:register_armor('epic:leggings_fire', {
  124. description = 'Diamond leggings with Huntite enchantment',
  125. inventory_image = 'epic_leggings_inv.png^epic_fire_overlay.png',
  126. groups = {armor_legs=1, armor_block=17, armor_use=190, armor_fire=2, flammable=1},
  127. armor_groups = {fleshy=21},
  128. damage_groups = {cracky=2, snappy=1, level=4},
  129. })
  130. armor:register_armor('epic:boots_fire', {
  131. description = 'Diamond boots with Huntite enchantment',
  132. inventory_image = 'epic_boots_inv.png^epic_fire_overlay.png',
  133. groups = {armor_feet=1, armor_block=17, armor_use=380, armor_fire=1, flammable=11},
  134. armor_groups = {fleshy=16},
  135. damage_groups = {cracky=2, snappy=1, level=4},
  136. })
  137. --prismarine crystals armor provides underwater breathing.
  138. armor:register_armor('epic:helmet_water', {
  139. description = 'Diamond helmet with Prismarine enchantment',
  140. inventory_image = 'epic_helmet_inv.png^epic_water_overlay.png',
  141. groups = {armor_head=1, armor_block=17, armor_use=190, armor_water=1},
  142. armor_groups = {fleshy=16},
  143. damage_groups = {cracky=2, snappy=1, level=4},
  144. })
  145. armor:register_armor('epic:chestplate_water', {
  146. description = 'Diamond chestplate with Prismarine enchantment',
  147. inventory_image = 'epic_chestplate_inv.png^epic_water_overlay.png',
  148. groups = {armor_torso=1, armor_block=17, armor_use=190, armor_water=1},
  149. armor_groups = {fleshy=21},
  150. damage_groups = {cracky=2, snappy=1, level=4},
  151. })
  152. armor:register_armor('epic:leggings_water', {
  153. description = 'Diamond leggings with Prismarine enchantment',
  154. inventory_image = 'epic_leggings_inv.png^epic_water_overlay.png',
  155. groups = {armor_legs=1, armor_block=17, armor_use=190, armor_water=1},
  156. armor_groups = {fleshy=21},
  157. damage_groups = {cracky=2, snappy=1, level=4},
  158. })
  159. armor:register_armor('epic:boots_water', {
  160. description = 'Diamond boots with Prismarine enchantment',
  161. inventory_image = 'epic_boots_inv.png^epic_water_overlay.png',
  162. groups = {armor_feet=1, armor_block=17, armor_use=190, armor_water=1},
  163. armor_groups = {fleshy=16},
  164. damage_groups = {cracky=2, snappy=1, level=4},
  165. })
  166. --Garnet crystals armor provides speed.
  167. armor:register_armor('epic:helmet_speed', {
  168. description = 'Diamond helmet with Garnet enchantment',
  169. inventory_image = 'epic_helmet_inv.png^epic_speed_overlay.png',
  170. groups = {armor_head=1, armor_block=17, armor_use=190, physics_speed=.2},
  171. armor_groups = {fleshy=16},
  172. damage_groups = {cracky=2, snappy=1, level=4},
  173. })
  174. armor:register_armor('epic:chestplate_speed', {
  175. description = 'Diamond chestplate with Garnet enchantment',
  176. inventory_image = 'epic_chestplate_inv.png^epic_speed_overlay.png',
  177. groups = {armor_torso=1, armor_block=17, armor_use=190, physics_speed=.4},
  178. armor_groups = {fleshy=21},
  179. damage_groups = {cracky=2, snappy=1, level=4},
  180. })
  181. armor:register_armor('epic:leggings_speed', {
  182. description = 'Diamond leggings with Garnet enchantment',
  183. inventory_image = 'epic_leggings_inv.png^epic_speed_overlay.png',
  184. groups = {armor_legs=1, armor_block=17, armor_use=190, physics_speed=.4},
  185. armor_groups = {fleshy=21},
  186. damage_groups = {cracky=2, snappy=1, level=4},
  187. })
  188. armor:register_armor('epic:boots_speed', {
  189. description = 'Diamond boots with Garnet enchantment',
  190. inventory_image = 'epic_boots_inv.png^epic_speed_overlay.png',
  191. groups = {armor_feet=1, armor_block=17, armor_use=190, physics_speed=.2},
  192. armor_groups = {fleshy=16},
  193. damage_groups = {cracky=2, snappy=1, level=4},
  194. })
  195. --Titanium, very light, high block chance, but low damge absorbtion.
  196. armor:register_armor('epic:helmet_titanium', {
  197. description = 'Titanium helmet',
  198. inventory_image = 'epic_helmet_titanium_inv.png',
  199. groups = {armor_head=1, armor_block=15, armor_use=180, physics_speed=.15, physics_jump=0.1},
  200. armor_groups = {fleshy=4},
  201. damage_groups = {cracky=2, snappy=1, level=4},
  202. })
  203. armor:register_armor('epic:chestplate_titanium', {
  204. description = 'Titanium chestplate',
  205. inventory_image = 'epic_chestplate_titanium_inv.png',
  206. groups = {armor_torso=1, armor_block=25, armor_use=180, physics_speed=.25, physics_jump=0.1},
  207. armor_groups = {fleshy=8},
  208. damage_groups = {cracky=2, snappy=1, level=4},
  209. })
  210. armor:register_armor('epic:leggings_titanium', {
  211. description = 'Titanium leggings',
  212. inventory_image = 'epic_leggings_titanium_inv.png',
  213. groups = {armor_legs=1, armor_block=25, armor_use=180, physics_speed=.25, physics_jump=0.1},
  214. armor_groups = {fleshy=8},
  215. damage_groups = {cracky=2, snappy=1, level=4},
  216. })
  217. armor:register_armor('epic:boots_titanium', {
  218. description = 'Titanium boots',
  219. inventory_image = 'epic_boots_titanium_inv.png',
  220. groups = {armor_feet=1, armor_block=15, armor_use=180, physics_speed=.15, physics_jump=0.1},
  221. armor_groups = {fleshy=4},
  222. damage_groups = {cracky=2, snappy=1, level=4},
  223. })
  224. armor:register_armor('epic:shield_titanium', {
  225. description = 'Titanium shield',
  226. inventory_image = 'epic_inv_shield_titanium.png',
  227. groups = {armor_shield=1, armor_block=15, armor_use=180},
  228. armor_groups = {fleshy=10},
  229. damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2},
  230. })