Text Adventure Engine: rooms, exits, inventory & parser

Turn any scenario into an old-school text adventure. Players type `take lamp`, `go north` or `x chest`. The script tracks the world; the AI writes the story around it. What it does Movement: `n`/`s`/`e`/`w`/`up`/`down`, and plain words: `go to the bridge`, `enter the cave`, `get out`, `climb the ladder`. Exits work both ways, and new places grow as players explore. Inventory and objects: take, drop, put, open, unlock, wear, give, with containers, locks and keys. Script replies: LOOK starts with the place's name, like `[Troll Bridge]`. The script answers EXITS and HELP itself, the same every time. Success notices such as `[Picked up brass lamp]` or `[Moved to Troll Bridge]`. The AI never sees them. Renames: a vague "shiny" that turns out to be a metal cup is renamed everywhere (`was:`), and the old name still works. Story cards for locations, objects, characters and the Player, with type tags and editable vars. Erase and Retry roll everything back. How to use it Add the scripts to your scenario and add the Text Adventure Settings card, with its triggers left empty. Write `location` cards with vars like `exits: north=Pantry, up=?`, `objects:` and `npcs:`, plus `object` and `character` cards. Add a `Player` card with `location:` to set the start. The script fills in only what's missing. In the settings card, toggle tracking, pick a strictness (narrate, soft, strict), and tune world growth, `notices`, `quietStart` and `helpText`.

Cover art for Text Adventure Engine: rooms, exits, inventory & parser, a text adventure script on AI Dungeon