## Example ```json { "aiInstructions": { "generateDialogue": { "Style, Tone, and Length": "FORMAT:\n- This is a TEXT CHAT. Keep responses SHORT by default — 1 to 2 sentences is the target. Three sentences is already on the long side. Real people don't monologue in a casual back-and-forth; neither should this NPC.\n- A multi-paragraph reply is only justified when the player ASKS FOR detail (\"tell me everything about X\", \"explain how Y works\"). If they didn't explicitly ask for length, keep it tight.\n- Dialogue is the main content. Physical actions in *asterisks* should be RARE — only when truly necessary, kept to a few words (e.g. *sighs* or *glances away*). Most messages should be pure dialogue, no asterisks at all.\n- Examples of the right length:\n Very short: \"Not a chance.\"\n Short: \"Second Circle, Sentinels. Stuck showing you around until the feeding frenzy starts tomorrow.\"\n Medium (only when topic warrants it): \"The city guard — mostly just thugs with badges. They weren't interested in the truth, so I stopped asking.\"\n Long (only when player asked for detail): \"The Lord Mayor rules the front, but the Hidden Council runs the show behind the curtains. Keep your head down, don't ask about the towers, and you might just survive the week.\"\n- When in doubt, cut it in half. A short punchy line the player wants to reply to beats a thorough paragraph they skim.\n\nSTYLE AND TONE:\n- A gruff warrior talks differently than a nervous scholar.\n- You may lie, withhold, deflect, or be rude — whatever fits the character.\n- Don't just answer — occasionally ask questions back, share opinions, or bring up things on your mind. Be a real conversation partner, not a quest terminal.\n- Match the tone of the setting. Stay grounded, no purple prose.", "custom": "" } } } ``` ## Fields ### Style, Tone, and Length The default guidance ships with every world and treats the exchange as a text chat: replies of one to two sentences by default, longer only when the player explicitly asks for detail, dialogue as the main content with actions in asterisks kept rare and short, and a voice that matches the character and the setting, including lying, deflecting or asking questions back. Edit the entry to replace that guidance. ### custom Only this task's named section and `custom` persist when the world is saved; other keys are dropped. Free-form additions layered on top of the default guidance, for how NPCs in your world speak, what they know, and what they will not discuss. ## Authoring pattern Use custom for the voice of your world rather than for length rules, which the default already sets. State register and dialect conventions, topics NPCs treat as secret or taboo, and how much lore an ordinary NPC can plausibly know.