• Build the body-part lozenges from a being's body structure, deriving each part's impairment status from the actor's active injuries (#464). A part takes the most serious injury across its hit locations (see bodyPartImpairment).

    Parameters

    • structure:
          | undefined
          | {
              parts?: readonly {
                  locations?: readonly { shortcode: string }[];
                  name?: string;
                  permanentImpairment?: number;
                  permanentlyUnusable?: boolean;
                  shortcode: string;
              }[];
          }

      The being's body structure, or undefined.

    • injuries: readonly LocationInjury[] = []

      Active injuries by location; empty for an uninjured actor.

    Returns BodyPartLozenge[]

    One lozenge per body part, or an empty array when none.