Skip to reading
Text & Sierra-Style Adventures

8. Name the things players can talk about

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

Each noun needs a record and a clear name. Use the same noun in the room description and in the parser vocabulary. If the text calls something a transmitter, accept TRANSMITTER as well as RADIO.

Source table from 8. Name the things players can talk about, page 11
Visible nameRecord / IDSynonyms
Brass KeyRoom object lab_key; inventory brass_keykey, brass key; add pocket key to the inventory record
Spare FuseRoom object cabin_fuse; inventory fusefuse, spare fuse
Cabin DoorRoom object cabin_doordoor, cabin door
Station NoteRoom object yard_notenote, notice, paper
RadioRoom object radiotransmitter, wireless
MorganCharacter morganoperator, station operator

Open an object’s inspector and enter its synonyms. Add a useful Look response in its Verb Actions. A background decoration does not have to be clickable, but if the room text mentions it prominently, consider letting the player examine it.

The native matcher can see aliases for room entities and inventory definitions. A carried key and its room model may both be called “key.” Give the inventory item a distinctive alias such as pocket key, then test USE POCKET KEY ON DOOR in Command Preview.

A successful name match is not proof that the player owns the item. Ownership, visibility, distance and puzzle conditions still belong in the response rules. The complete controller checks those conditions explicitly.

Page 11 of 68Permalink
Go to page