13. Connect a verb to an action list
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.
| Response | Actions in order |
|---|---|
| Look at note | Show Message: “Key on the bench. Spare fuse inside. Send the warning.” |
| Take key: simple first test | Add Inventory: Brass Key; Hide / Unhide Object: room key, Visible off; show “Taken.” |
| Open door: initial test | Show 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.
