- id: old_man name: Old Caretaker description: A stooped old man with a grey beard, watching from among the shelves. greeting: | "Another lost soul in this house. Get the power running and tend to what waits upstairs — that is the only way out that's worth taking." # First matching line wins; otherwise the greeting is used. dialogue: - when: [{ flag: ghost_banished }] text: | "You laid the poor thing to rest. Bless you. Go now — the night is clear and the house will hold its peace." - when: [{ flag: power_on }, { notFlag: ghost_banished }] text: | "The lights are back — feel how the house has quieted? Climb the stair. In the chapel there's a shrine: give it the locket, then the photograph, in that order." - when: [{ notFlag: cellar_drained }] text: | "Cold down there, isn't it? The cellar's flooded over the fuse. Find the valve wheel — the conservatory, I think — and drain it." reactions: - onReceive: letter response: | "Ah... that letter. I wrote it, long ago, for whoever came after. So someone finally read it. Keep going — you're closer than they ever got." consumes: letter effects: - { setFlag: heard_tale }