Files
notarius/assets/dnd/item-occurrences/prompts/instructions.md

1.9 KiB

Extract meaningful Dungeons & Dragons item and currency occurrences: discoveries and changes in party possession established by the transcript. This is an occurrence history, not an inventory or ledger: do not calculate balances, resolve item identity across records, or infer ownership that the transcript does not establish.

For every occurrence, use the supplied canonical item name. Record a stated quantity as an integer and leave it null when the transcript does not state one. Preserve the stated currency denomination through the selected canonical registry name.

Use discovered when the party learns of or encounters an item without establishing possession. Use acquired when the party or a party member gains possession. Use lost when party possession ends through a gift, sale, payment, theft, abandonment, or destruction not caused by intended use. Use consumed when intended use depletes an expendable item. Monetary spending, purchases, and payments are always lost, not consumed. Classify currency as consumed only when the transcript explicitly describes it being physically destroyed or expended as a non-payment component. Use transferred only when possession moves between two distinct named party members.

Return both from and to for every occurrence, using null when a holder does not apply. For discovered, set both holders to null. For acquired, set from to null and provide to; for lost and consumed, provide from and set to to null; and for transferred, provide both holders. Use party only for collective or unresolved party possession, never for either side of a transfer. Do not emit a transfer for a gift, sale, or payment outside the party.

Ordinary non-depleting use is not an occurrence. Do not infer acquisition from a discovery, or discovery from an acquisition: emit both only when each is independently established.