Skip to reading
The Text Parser

20. Finish with a complete test pass

Edition 0.86.3.4

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

Download PDFView PDF page

Run these checks in a fresh preview after saving. Replace the sample names with your own. Use both a direct room test and the normal game startup so the HUD, starting inventory and player state are checked together.

Source table from 20. Finish with a complete test pass, page 40
TestExpected result in the workshop example
look clockThe clock's Look response.
please examine the timepiece!The same Look response through aliases and cleanup.
wind up the clockWind response; clock_wound becomes True.
check clock, before and after windingThe appropriate stopped or running reply.
helpThe selected custom handler's instructions.
instructionsThe visual help handler, if you added that row.
help clockDoes not match the custom Help row.
talk to eliasElias's authored Talk actions.
look brass keyThe carried item's Look response in the tested mode.
use the lantern on the clockThe source lantern's second-target response.
use the brass key on the clockThe carried key's pair response; test again without the key.
lookThe room description.
walk 2 1Movement to a reachable coordinate, where navigation permits it.
walk 100 100A refusal for an unreachable destination in this room.
polish the clockAn unrecognised verb unless you deliberately added Polish.
look unicornA recognised verb with no matching target.
please theA request for a verb and target because all words are ignored.
Page 40 of 41Permalink
Go to page