Skip to reading
The Sock Exchange, Part 5: The Midnight Pickup

Give the cabinet two answers

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

TUTORIAL 05 • SCENE DESIGNER / INVENTORY ACTIONS

A wrong guess can help a player. If Bea tries the token in the sorter, she learns where else to try it. If she brings the flat plate, the machine accepts it.

1 In Adventure Database › Variables, add these four records. A Boolean is a yes/no answer. A Number lets the machine count correct buttons. Use the IDs exactly as shown. Turn off Leave Blank At Start. For false, leave Initial Boolean Value unchecked. Apply each record.

Source table from Give the cabinet two answers, page 7
Variable IDTypeStartWhat the game remembers
plate_fittedBooleanfalseThe flat plate is in the cabinet.
dispatch_okBooleanfalseGus heard the route.
sort_stepNumber0Correct buttons in this attempt.
pickup_doneBooleanfalseThe last load has gone out.

2 Open Service Yard › Yard sorter › Inventory Actions. Click Add Inventory Interaction. Allow only Token. Its one result is Show Message: “Round token. Flat slot. Try the token on the hanging tag.”

3 Click Add Inventory Interaction again to make a separate rule. This time allow only Claim plate. Enter the three result steps below under this second rule. Use Add Next Action to add steps 2 and 3, then Apply Changes.

Source table from Give the cabinet two answers, page 7
StepResult actionValue
1Set Variableplate_fitted = true
2Remove InventoryClaim plate, count 1
3Show MessagePlate seated. Dispatch needs Gus on the Lobby radio.

Try it in play. Select Use if you are using the verb buttons. Click the Token in the bag, then the sorter. Next use the Token on the hanging tag. Finally use the new Claim plate on the sorter. The tag should be gone and Bea should have one Token left.

PCA 3D Adventure Studio / 7

Page 7 of 19Permalink
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