feat(world): annotate lamp/matches/letter for read/light/extinguish

Adds the new schema flags and per-state body sections so the dispatcher's
new verb handlers have content to narrate.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 14:12:10 -05:00
parent ee3cfcc00d
commit 2fecc7878d
3 changed files with 18 additions and 0 deletions
+7
View File
@@ -3,8 +3,15 @@ id: lamp
names: ["lamp", "oil lamp", "torch"] names: ["lamp", "oil lamp", "torch"]
short: "an oil lamp" short: "an oil lamp"
takeable: true takeable: true
lightable: true
initialState: initialState:
lit: false lit: false
--- ---
An iron oil lamp with a glass chimney. Currently unlit. An iron oil lamp with a glass chimney. Currently unlit.
## lit
The wick catches. Warm yellow light pushes the dark back.
## extinguished
You smother the wick. The room closes around you again.
+4
View File
@@ -3,6 +3,10 @@ id: letter
names: ["letter", "folded letter", "paper"] names: ["letter", "folded letter", "paper"]
short: "a folded letter" short: "a folded letter"
takeable: true takeable: true
readable: true
--- ---
A folded letter. The wax seal has been broken once already.
## read
A folded letter on yellowed paper. The hand is unfamiliar. It reads: "Come at once. The thing in the cellar is waking." A folded letter on yellowed paper. The hand is unfamiliar. It reads: "Come at once. The thing in the cellar is waking."
+7
View File
@@ -3,6 +3,13 @@ id: matches
names: ["matches", "safety matches", "box"] names: ["matches", "safety matches", "box"]
short: "a box of safety matches" short: "a box of safety matches"
takeable: true takeable: true
lighter: true
lighterUses: 4
initialState:
uses: 4
--- ---
A small cardboard box of safety matches. Half-full. A small cardboard box of safety matches. Half-full.
## lighter-empty
The last match flares, burns down, and goes out. The book is empty.