41. Add a new verb and its failure replies
A new verb needs more than a word in a dropdown. If you add RING, decide which objects can be rung and how the game should respond when the player tries the verb on something else.
1. Create a native Ring verb if you also want it in clickable interfaces.
2. Add ring → ring to the controller’s VERBS dictionary.
3. In act(), add the successful ring + bell branch.
4. Leave a useful fallback for RING DOOR, RING RADIO and a missing target.
5. Test it in both presentations and through any action-list call.
For longer verb phrases, normalize the phrase before splitting the command into a verb and target. The controller already does this for PICK UP: it converts PICK UP KEY into TAKE KEY. That is why it can recognize a two-word verb without treating UP as part of the object name.
| Player input | Helpful response |
|---|---|
| RING | What do you want to ring? |
| RING BELL | The bell sounds; the appropriate state changes. |
| RING RADIO | The radio has a switch, not a bell. |
| RING UNKNOWN OBJECT | A clear missing-target reply. |
The exact wording in this extension is a design example. The shipped controller accepts the commands printed in its vocabulary and command reference; it does not already contain the bell extension.
