1------------------------------------------------------------------------------[[ 2-- Filename: leg_armor.lua 3-- 4-- Description: This file contains the definitions of all leg armors that exist 5-- in Hero of Allacrost. Each armor has a unique integer identifier that is used 6-- as its key in the armor table below. 7-- 8-- Note (1): Armors ids do *not* need to be sequential. When you make a new 9-- armor, keep it grouped with similar leg armor types (greaves, leggings, 10-- etc.) and keep some space between groups. This way, we won't get a garbled 11-- mess of leg armor definitions. 12-- 13-- Note (2): Valid ids for head armors are 50001-60000. Do not go out of bounds 14-- with this limit, as other value ranges correspond to other types of objects 15-- (items, weapons, etc.) 16------------------------------------------------------------------------------]] 17 18-- All armor definitions are stored in this table 19if (armor == nil) then 20 armor = {} 21end 22 23-- ----------------------------------------------------------------------------- 24-- IDs 50001-50500 are reserved for greaves 25-- ----------------------------------------------------------------------------- 26 27armor[50001] = { 28 name = hoa_system.Translate("Karlate Greaves"), 29 description = hoa_system.Translate("Standard Karlate issued equipment. Light metal alloy protects the legs while minimizing the negative impact on movement."), 30 icon = "img/icons/armor/karlate_greaves.png", 31 physical_defense = 3, 32 metaphysical_defense = 0, 33 standard_price = 120, 34 usable_by = CLAUDIUS, 35 slots = 0 36} 37 38-- ----------------------------------------------------------------------------- 39-- IDs 50501-51000 are reserved for light footwear 40-- ----------------------------------------------------------------------------- 41 42armor[50501] = { 43 name = hoa_system.Translate("Leather Sandals"), 44 description = hoa_system.Translate("Light footwear that while fashionable, was not designed for battle and affords very poor protection for the user."), 45 icon = "img/icons/armor/leather_sandals.png", 46 physical_defense = 1, 47 metaphysical_defense = 1, 48 standard_price = 80, 49 usable_by = LAILA, 50 slots = 0 51} 52 53armor[50502] = { 54 name = hoa_system.Translate("Leather Boots"), 55 description = hoa_system.Translate("Comfortable leather that protects the entire foot and lower region of the shin."), 56 icon = "img/icons/armor/leather_boots.png", 57 physical_defense = 3, 58 metaphysical_defense = 1, 59 standard_price = 120, 60 usable_by = LAILA, 61 slots = 0 62} 63 64