Add complete game content: Vogon ship, Heart of Gold, off-Earth, dream system

Engine refactoring:
- Replace hardcoded state attributes with generic state.flags dict
- Add death system (jigs_up/finish) with dream-restore callbacks
- Add inventory extras hook system (removes hardcoded headache/tea lines)
- Add 16 new verb handlers (consult, say, carve, plug, repair, kick, etc.)
- Add verb synonyms to parser

New content modules (25 rooms, 107 objects total):
- vogon.py: Hold, Captain's Quarters, Airlock; babel fish puzzle, poetry
  scene, airlock ejection sequence with timed events
- heart.py: 10 Heart of Gold rooms; Marvin tool quest, tea/no-tea paradox,
  Nutrimat overload, Infinite Improbability Drive puzzle, victory sequence
- unearth.py: Traal (Beast lair with towel/name/carve puzzle), War Chamber,
  Inside Whale, Maze with random exits and particle
- dark.py: Dream dispatch room with probabilistic destination selection,
  sensory discovery mechanic, dream-restore callback

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 21:52:57 +02:00
parent a6fe624c5e
commit a1bb4cbf02
11 changed files with 3901 additions and 63 deletions
+42
View File
@@ -0,0 +1,42 @@
{
"cSpell.words": [
"ACTORBIT",
"CONTBIT",
"DARKBIT",
"DOORBIT",
"DRINKBIT",
"fclear",
"fdesc",
"Infocom",
"INTEGRALBIT",
"ldesc",
"LIGHTBIT",
"MUNGEDBIT",
"NARTICLEBIT",
"NDESCBIT",
"ONBIT",
"OPENBIT",
"OUTSIDEBIT",
"prosser",
"prsa",
"prsi",
"prso",
"READBIT",
"REVISITBIT",
"RLANDBIT",
"SEARCHBIT",
"superbrief",
"SURFACEBIT",
"TAKEBIT",
"TOOLBIT",
"TOUCHBIT",
"traal",
"TRANSBIT",
"TRYTAKEBIT",
"VEHBIT",
"vogon",
"VOWELBIT",
"WEARBIT",
"WORNBIT"
]
}