Skip to reading
At the Clockmaker’s Bench: Illustrated Parser & Cursor Workshop

Wind the clock and speak to Elias

Edition 0.86.4.9

The 19-page 0.86.4.9 revision supersedes the supplied 18-page 0.86.4.8 Illustrated Workshop. The original cover and early lessons retain their 0.86.4.8 labels. Opening and validation instructions are revised, and page 19 adds an export check. The earlier PDF is retained for reference and excluded from current guide/page totals.

Download PDFView illustrations

A noun, a pronoun, a quotation and a topic each ask the parser to keep a different piece of the sentence.

In the Workshop room, enter look clock, press Enter, then enter wind it. The first command gives “it” something to refer to. The second runs the wind rule. The transcript shows both the description and the outcome.

14 The clock was examined and then started ticking. These are the game’s authored messages.

Select wind in Grammar. Its pattern is wind [target:entity]. Its response is actions, which sets wound to 1 and displays the ticking message. Allow pronoun for target lets a remembered object fill that slot. This sample rule accepts a room entity generally. For a puzzle meant only for this clock, use a clock-specific rule or check the captured ID before changing game state.

Why the quotation marks matter#

Enter the two lines below separately. Use straight double quotation marks in the first command. In the second, leave the topic unquoted and keep “about” in place.

Source table from Wind the clock and speak to Elias, page 10
Type thisWhat the rule captures
tell Elias "Hello there"person = Elias and message = Hello there. The quoted words form one value.
ask Elias about the old bellperson = Elias and topic = the old bell. The text slot takes the remaining words after “about.”

15 The two Elias commands reach different action lists. These particular replies were written into the workshop.

In your own game, put different responses behind those rules. Use [message:quoted] when the player should delimit the exact words and [topic:text] when “about” is enough to tell you where the topic begins.

Page 10 of 19Permalink
Go to page