Files
notarius/internal/modules/dnd/extract/itemevents/assets/prompts/instructions.md

1.7 KiB

Return one event only when the transcript establishes a meaningful item or currency occurrence. Use a concise observed item name and preserve the stated currency denomination. Set quantity to the explicitly stated integer, or to null when the transcript does not state one.

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 event, 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 event. Do not infer acquisition from a discovery, or discovery from an acquisition: emit both only when each is independently established. Every event needs at least one narrow transcript range. Return no lore, inventory totals, aliases, or unstated holder details.