Skip to reading
The Text Parser

Order matters when commands overlap

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

Figure 18. The preview identifies a custom command and its script instead of giving an ordinary verb-and-target result.

Custom commands are checked before ordinary verb matching and before two-object commands. A custom look clock would therefore take ownership of that exact cleaned sentence. Use a custom phrase only when you want that override.

Avoid two rows that become identical after cleanup. Help and please help are duplicates when please is ignored. The first matching row wins; a later row does not add another action to it.

Remove, None and missing scripts#

Remove deletes the row from the parser configuration; apply and save afterwards. It leaves the script record available elsewhere in the project.

None means no script is assigned. A named command left that way produces That custom command has no Script assigned. in play. A Missing Script label means the stored ID no longer resolves to an available choice. Choose a valid script or remove the command.

The project validator can catch an unfinished row before the game preview starts. In the screenshot, the test phrase sing has no script. Assign its handler or remove the row, apply the parser settings and test again.

Page 22 of 41Permalink
Go to page