Keep a failed interaction recoverable
0.86.4.0 walkthrough / Read what the Runner actually did > p. 27
TROUBLESHOOTING REFERENCE
Suppose a ride charges two tickets and then takes the player to another room. What should happen if the player clicks twice, the destination is missing, or a save is loaded between the charge and arrival?
| Before changing state | Check that the ride is available, the player can pay, and the destination belongs to this journey. Decide whether a ticket covers one trip or all future trips. |
|---|---|
| When the first click starts | Mark the interaction as in progress before the first wait. A second click can give a short response or do nothing. It should never charge a second fare for the same trip. |
| When a step fails | Record which step failed. If your design already charged the fare, refund that specific charge once or leave a saved “paid, awaiting travel” state that lets the player resume. Release any input lock owned by this interaction. |
| When travel succeeds | Mark the journey complete at the point your design considers arrival. Refresh the interface from that state so it shows what really happened. |
| When a save is loaded | Rebuild the room and controls from the stored state. Avoid replaying a charge simply because a room-entry handler ran a second time. |
Four questions for the next playtest#
How many tickets remain after a normal ride? What about a rapid double-click? Can a failed departure be retried without a second charge? After loading the resulting save, do the ticket count, the current room and the available controls all tell the same story?
Use this pattern when an action has lasting consequences. For something harmless like examining a sign, a simple condition and a readable message are usually enough.
