Skip to reading
Text & Sierra-Style Adventures

15. What the native parser will not write for you

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 PDF page

The native parser is a matcher for your authored adventure data. It does not invent puzzle responses, conversation topics or story knowledge.

Source table from 15. What the native parser will not write for you, page 18
You want…What to author
LOOK, EXAMINE and INSPECT to mean the same thingVerb synonyms.
A secret phrase such as OPEN SESAMEAn exact Custom Command row pointing to a script.
A key to work only while carriedAn ownership condition in the response.
ASK MORGAN ABOUT RADIOA topic rule or a custom phrase.
IT to mean the last objectA project-level last-object variable and a rule that resolves the pronoun.
A permanent scrolling transcriptA GUI reader plus a project script that stores and displays replies.
Commands separated by ANDA deliberate multi-command grammar, including a rule for stopping after failure.

For a first game, leave pronouns, chained commands and typo correction out. Give the player a short HELP page and useful responses to incomplete commands. A small vocabulary with good feedback feels better than a huge vocabulary that guesses unpredictably.

The next stage adds a modest command handler. It accepts a published set of commands, gives consistent errors and shares all puzzle state between the text and graphical presentations.

Page 18 of 68Permalink
Go to page