A single piece of worn armor's contribution to body-location protection, reduced to the plain data the aggregation needs. The Foundry layer builds these from each ArmorGear's logic (material, protection, covered locations).

interface ArmorLayer {
    flexibleLocations: string[];
    material: null | string;
    protection: {
        blunt: number;
        edged: number;
        fire: number;
        piercing: number;
    };
    rigidLocations: string[];
}

Properties

flexibleLocations: string[]

Shortcodes of locations this layer covers flexibly.

material: null | string

Display material, e.g. "Mail" — used to build the location's armorType.

protection: { blunt: number; edged: number; fire: number; piercing: number }

Protection this layer adds per aspect (blunt, edged, piercing, fire).

Type declaration

  • blunt: number

    Protection against blunt impact.

  • edged: number

    Protection against edged impact.

  • fire: number

    Protection against fire/heat impact.

  • piercing: number

    Protection against piercing impact.

rigidLocations: string[]

Shortcodes of locations this layer covers rigidly.