Skip to reading
Text & Sierra-Style Adventures

13. Connect a verb to an action list

Edition 0.86.3.4

Build a complete text or graphical parser adventure with typed commands, inventory puzzles and press-to-walk controls.

Download PDFView illustrations

Select the note object in the Scene Designer. Enable its hotspot if needed, open Verb Actions and find the response for Look. Add a Show Message action containing the note’s text.

Figure 7. Verb Actions for the note. This shows the finished controller call; begin with a Show Message action for the first test.

Source table from 13. Connect a verb to an action list, page 16
ResponseActions in order
Look at noteShow Message: “Key on the bench. Spare fuse inside. Send the warning.”
Take key: simple first testAdd Inventory: Brass Key; Hide / Unhide Object: room key, Visible off; show “Taken.”
Open door: initial testShow Message: “It is locked.”

Run LOOK NOTE through the native field. Then click the note with the Look verb selected. Both should reach the same object response. That is the useful connection between the parser, the Verb Designer and action lists.

The simple Take sequence is only a first test. It needs a guard before it becomes a finished puzzle: if the item has already been taken, say so and stop. If you put inventory and score changes in an unconditional list, repeated commands can duplicate rewards.

Later pages route these responses to the shared Adventure Controller instead. Use one finished implementation for each puzzle. Remove the temporary unconditional Take actions before connecting the controller.

Page 16 of 68Permalink
Go to page