Advanced Armor - SmArtKar/AthenaFramework GitHub Wiki

Advanced Armor system allows to make certain parts of apparel have more or less armor and/or give armor specific to certain damage defs instead of armor stats. partGroups determines what bodypart groups are covered by the package, will be applied to all apparel parts if unspecified.

    public class CompProperties_AdvancedArmor : CompProperties
    {
        public List<ArmorPackage> armorPackages = new List<ArmorPackage>();
    }

    public class ArmorPackage
    {
        public List<BodyPartGroupDef> partGroups;
        public List<StatModifier> armorModifiers = new List<StatModifier>();
        public List<DamageDefArmor> defArmors = new List<DamageDefArmor>();
    }

DamageDefArmor work similarly to StatModifier and don't need <li>