====== Armor ====== Armor is the base class for all armor items in Remixed Dungeon. ==== Description ==== Armor items protect the hero from physical damage. Different types of armor provide varying levels of protection and different penalties or benefits. ==== Base Properties ==== * **Type**: Equipment for armor slot * **Protection**: Reduces incoming physical damage * **Tier**: Armor comes in different tiers affecting protection and weight * **Enchantments**: Can be enchanted with special glyphs for additional effects * **Durability**: Depletes with use and time ==== Armor Tiers ==== * **Cloth Armor (Tier 1)** - Lightest armor with minimal protection * **Leather Armor (Tier 2)** - Balanced protection and weight * **Mail Armor (Tier 3)** - Good protection with moderate weight * **Scale Armor (Tier 4)** - Heavy armor with good protection * **Plate Armor (Tier 5)** - Heaviest armor with maximum protection ==== Common Mechanics ==== * **Defense Rate**: Reduces damage taken from physical attacks * **Speed Penalty**: Heavier armor may slow movement * **Enchantments**: Can be upgraded with armor glyphs * **Identification**: Armor must be identified to see its level and enchantment ==== Code References ==== * Java Base Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/Armor.java|Armor.java]] - Base implementation * Item System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java|Item.java]] - General item mechanics * Equipment System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java|Belongings.java]] - How armor is equipped * Sprite System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/sprites/ItemSpriteSheet.java|ItemSpriteSheet.java]] - Armor sprites * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All armor names and descriptions ==== Common Armors ==== * [[en:rpd:cloth_armor_item|Cloth Armor]] * [[en:rpd:leather_armor_item|Leather Armor]] * [[en:rpd:mail_armor_item|Mail Armor]] * [[en:rpd:scale_armor_item|Scale Armor]] * [[en:rpd:plate_armor_item|Plate Armor]] * [[en:rpd:dragon_armor_item|Dragon Armor]] * [[en:rpd:class_armor_item|Class Armor]] ==== See Also ==== * [[en:rpd:items|Items]] * [[en:rpd:equipment|Equipment]] * [[en:rpd:armor_glyphs|Armor Glyphs]] * [[en:rpd:armor_tiers|Armor Tiers]] * [[en:rpd:defense_mechanic|Defense]] {{tag> rpd items armor base_class }}