Aggregate worn armor onto a body's locations for the current lifecycle
cycle. For every location each covering layer adds its protection, a rigid
layer flags the location isRigid, and the layer's material is appended to
the location's armorType. Natural protectionBase is left untouched —
armor is tracked separately on armorProtection.
Pure and Foundry-free (mutates the supplied BodyStructure's location
objects, which are rebuilt each cycle). Idempotent: any prior aggregation
state on the locations is reset before applying the given layers.
Aggregate worn armor onto a body's locations for the current lifecycle cycle. For every location each covering layer adds its protection, a rigid layer flags the location
isRigid, and the layer's material is appended to the location'sarmorType. NaturalprotectionBaseis left untouched — armor is tracked separately onarmorProtection.Pure and Foundry-free (mutates the supplied BodyStructure's location objects, which are rebuilt each cycle). Idempotent: any prior aggregation state on the locations is reset before applying the given layers.