# Quest chain 3 (D29/D33): activated on the day-start after the carrot-quest # completes, completes when the mayor dialogue is finished (dialogue-end with # the mayor dialogue id — the terminal node auto-ends the dialogue, D21), # pays an egg + a +100 gold grant on completion. The gold reward uses the # `add` incremental action (D33) — the D29 language gap (set-state is absolute, # D20) is closed; questProgress stays an absolute set-state. id: mayor-talk-quest initial: inactive states: - id: inactive - id: active - id: complete onEnter: - action: give-item itemId: egg qty: 1 - action: add path: player.gold value: 100 - action: set-state path: player.questProgress.mayor-talk-quest value: complete transitions: - from: inactive to: active on: day-start when: and: - { op: eq, path: player.questProgress.carrot-quest, value: complete } - not: { op: exists, path: player.questProgress.mayor-talk-quest } - from: active to: complete on: dialogue-end when: op: eq path: payload.dialogueId value: mayor