Skip to reading
The Sock Exchange, Part 4: Trouble After Closing

Teach it the words players will try

Edition 0.86.4.2

0.86.4.2 edition with appended native sprite-motion lessons. Earlier chapters, reference counts and screenshots retain their original edition context.

Download PDFView illustrations

TUTORIAL 04 • TEXT PARSER DESIGNER

A parser breaks a sentence into an action and a target. “Please look at the brass tag” boils down to Look plus Brass tag. That calls the very same Look action you attached on page 9.

1 Open Adventure Database › Text Parser. Check Enable Text Parser. Under Words to Ignore, keep please, at, the and to, one per line. Click Apply Parser Settings. Keep look, use and open as verbs. These tell the game what to do.

2 In Scene Designer give the Brass tag object the synonym tag and the Yard switch the synonyms switch and lamp switch. Keep the door names from page 7. Apply the objects. Back in Text Parser Designer enter please look at the brass tag under Command Preview and click Parse Preview.

The preview finds verb Look and target Brass tag (object). In the running game the target also has to be in the current room.

Source table from Teach it the words players will try, page 17
Where Bea isClick the text box, type, press EnterWhat should happen
Lobbytalk to GusGus offers four questions.
Sorting Roomopen service doorLocked hint or trip outside.
Service Yardplease look at the brass tagBea identifies the tapping.
Service Yarduse lamp switchThe pad changes brightness.
Service Yardopen staff doorBea returns to the washer.

After Enter • Bea identifies the tapping.

In play • type the sentence into the box.

What about the bag? Leave it visible. The Part 3 recipe still works by dragging the sock onto the tokens. To use the finished weight, click its inventory slot and then the washer window. You can play this stretch with the command line and still handle the actual items with the mouse.

PCA 3D Adventure Studio / 17

Page 17 of 20Permalink
Go to page

Continue your 2D adventure

  1. Part 1The Sock Exchange, Part 1: Your First 2D Adventure
  2. Part 2The Sock Exchange, Part 2: The Missing Laundry
  3. Part 3The Sock Exchange, Part 3: The Dryer Conspiracy
  4. Part 4The Sock Exchange, Part 4: Trouble After Closing
  5. Part 5The Sock Exchange, Part 5: The Midnight Pickup
  6. Part 6The Sock Exchange, Part 6: Closing Time