• Seed a ResolveInjuryData from an action scope payload and the world's auto-record default. Accepts an already-revived scope object or a raw JSON string (a chat-card data-scope); unknown/blank fields fall back to the spec defaults. Reads the zone-die vocabulary (bodyLocationCode/targetZoneNumber/zoneDie), with location accepted as an alias for bodyLocationCode, so a combat injury button and the manual path feed the same shape. Pure and Foundry-free.

    zoneDie defaults to 0, the "unset" sentinel — the executor fills it with the body's max zone number so an unaimed derive covers the whole body.

    Parameters

    • input: unknown

      The revived scope object, a raw JSON string, or nothing.

    • autoAddInjury: boolean

      The world default for recording the Trauma (from the "record trauma" setting); the dialog may still override it.

    Returns ResolveInjuryData

    The seeded resolve-injury parameters (never bodyLocationOverriden).