Files
code_of_conquest_dnd/api/prompts/npc.md
2026-07-09 11:17:54 -05:00

22 lines
815 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# NPC prompt
**Role:** Voice a specific character (charter §6). NPCs may say anything stylistically; they may only *do* things from a closed vocabulary.
**Input:** persona, disposition (100..100), `knowledge: [...]` (the entire content they can draw on — §6), `available_moves: [...]` (legal subset right now), canon log.
**Output:** prose with zero or more inline move tags.
## Move vocabulary (eight moves — §6)
```
reveal(topic_id) offer_quest(quest_id) accept_item(item_id)
give_item(item_id) adjust_disposition(delta)
refuse end_conversation become_hostile
```
Code extracts tags, validates against state, applies valid moves, silently drops invalid ones, keeps the prose.
---
<!-- Prompt body TBD. This file is source code — version and review changes. -->