Skip to reading
The Text Parser

Add a new Wind verb

Edition 0.86.3.4

Teach your adventure verbs and synonyms, add command input and connect typed instructions to real game actions.

Download PDFView illustrations

1. In Verb Command Designer, click Add New.

2. Give it the ID wind and display name Wind.

3. Add wind up, crank as synonyms.

4. Leave Enabled checked. A preposition is not needed for this one-object example.

5. Apply and save. You will add Wind's response to the clock in Chapter 9.

Figure 5. Wind is a separate command. Its multiword synonym wind up reaches the same Wind response.

Use a stable ID once other records refer to it. Changing an ID is more than changing the wording on a button. To improve what players read or type, edit the display name and synonyms first.

Multiword aliases and overlap#

An alias can contain more than one word. Matching looks for those words together, in order. Grandfather clock is a two-word alias; wind up is another. A longer matching alias takes priority over a shorter one. If equal-length matches belong to different records, the first encountered record wins; the game does not ask the player which one they meant.

Avoid giving two objects the same vague alias, such as door, when both can be targets in the room. Prefer archive door and street door, and test the short wording separately. Do the same with verbs: do not assign inspect to both Look and Use.

Ignored words can break a multiword alias. If at is ignored, look at becomes look in the cleaned sentence. Use the core verb look, and let the ignored word disappear. Check any phrase whose meaningful words overlap the ignore list.

Page 10 of 41Permalink
Go to page