The resolved injury to render.
Foundry-supplied context the card needs beyond the injury.
Extra context the chat card needs beyond the resolved injury itself.
The injured actor's id (for the card's data-actor-id).
Whether the injury was recorded on the character sheet.
Optionalaim?: InjuryAimTraceThe zone-die aim trace, present only when the location was derived; the card shows it in place of the "location overridden" notice.
Optionalamputation?: AmputationCardInfoThe performed amputation test's outcome, when the wound triggered one.
UUID of the actor that handles the card's buttons (e.g. Shock Roll).
OptionalisBleeder?: booleanFinal bleeder disposition, overriding the injury's own when an amputation result makes an otherwise-non-bleeding wound bleed.
OptionallocationOverridden?: booleanTrue when the player specified the hit location by hand rather than deriving it; the card then shows a "Location overridden by player" note.
Card subtitle, e.g. the attacking weapon or a generic label.
OptionaltreatmentModifier?: numberTreatment modifier recorded on the wound (echoed onto the card).
The render context for injury-card.hbs.
Build the render context for
injury-card.hbsfrom a resolved injury. Pure and Foundry-free so it can be unit-tested; the Foundry layer supplies the InjuryCardContext and posts the result via sohl.core.logic.SohlSpeaker.