Back to Creator Cookbook Samples

One-Way Shortcut Return

The player takes a longer route to reach the far side of a blocked shortcut. Using a door there opens the shortcut permanently, so the player can travel through it in both directions afterward.

“One-way” describes where the shortcut can first be opened. Once opened, travel works both ways.

Try the sample game

Play The Courtyard Shortcut · Download the editable game

You can also find One-Way Shortcut Return — The Courtyard Shortcut in Sample Projects → Creator Cookbook Samples. Choose its editable copy to inspect rooms, objects and the saved recipe. Playing the example or downloading the file does not replace the project you are editing. Save your current work before opening another project.

The sample has three rooms: Entry Hall, Long Hall and Rear Courtyard. Your goal is to open the shortcut and bring the courtyard's brass seal back to the Entry Hall.

Set up this recipe without scripting

In TAGMaker, open Guide → Creator Cookbook → One-Way Shortcut Return, then choose Start this recipe. This opens the guided setup in Rooms.

  1. Choose Create a shortcut. Pick the Starting side and Opening side from your saved rooms. Create the longer route between them first.
  2. Choose the shortcut direction from the starting side. TAGMaker supplies the opposite return direction automatically. The builder shows the exits already in each room. For each direction, choose Create a new connection if it is free, or Use existing connection if it already joins these two rooms.
  3. Choose Create a new fixed door, or choose an existing visible, fixed object under Door to use. It must be in the opening-side room and have no other interactions or changing text. Review the Door name; a new door needs a distinct name.
  4. Review the messages for a blocked attempt, examining the closed or open door, the first successful use, and using it again.
  5. Read Review the setup to see what will be added, reused, updated and kept. Choose Save recipe to apply it to your game. Preview setup lets you check the result first if you wish. Then use Save Project at the top to save your editable file.

For this sample, the settings are Entry Hall → east → Rear Courtyard, with Service Door on the courtyard side. The return exit is west. To inspect these choices, open the editable sample, return to this guide, choose Start this recipe, then Edit Service Door.

This recipe supports two ordinary rooms. Medium room cells are not included in this guided setup.

Use this recipe in a game you already started

The builder checks your existing setup as you choose rooms and directions. You can reuse one connection and create the missing return, or reuse both. If the connections are a linked pair, choose Use existing connection on both sides.

A reused connection keeps its destination and identity. Its travel rule changes: it stays blocked until the far-side door is used. The review shows its previous blocked message and the new message. The long route and other exits are kept.

A connection with an existing lock, key or other access condition needs review in Rooms first. A direction leading somewhere else cannot be reassigned by this recipe. Choose the matching room or a free direction. If the map and saved room setup disagree, the builder explains that before saving.

A reused door keeps its identity, location, aliases and ordinary properties. Its name and descriptions follow your form, and the recipe adds the opening behavior. Objects with other interactions, contents, carrying settings, changing text or dependencies need review in Objects first; you can create a new door instead. These checks protect work already in your game.

You do not have to delete and rebuild compatible exits or doors. Save recipe applies the connected setup together, and one Creator Undo restores it to how it was before that save.

What TAGMaker creates

Connected setting Purpose
New or reused fixed door in the opening-side room The player can use it there but cannot carry it away.
Remembered “shortcut open” state Starts closed and remembers that the door has been used.
Door's Use behavior Opens the shortcut once and shows the chosen repeat response afterward.
New or reused exit in each direction Both remain blocked until the door is used from its opening side.
Closed and open door descriptions Examining the door reflects whether the shortcut has been opened.

The brass seal and the sample's winning ending surround the recipe to make a small complete game. Your own shortcut does not add a seal, score or ending.

Play the walkthrough

Enter these commands in order:

east
north
north
examine service door
use service door
use service door
examine service door
west
east
take brass seal
west

The first east is blocked. Two north commands take the long route. The first use service door opens both shortcut exits; using it again gives a repeat message. Examining it now describes the open door. West, then east, proves that the shortcut works in both directions. Take the seal and return west to win with 100 points.

The editable game also includes this route in Test Lab. Run it to check the expected rooms, remembered state, carried seal and ending.

Check failures and saved progress

Continue or change the setup

Keep for later preserves an unfinished form without adding it to the playable game. Reopen it from this recipe's setup screen. Discard draft drops only the unfinished form.

Saved recipes keep their original rooms and direction; you can change their door name and messages. Create another shortcut for different connections. If you edit the generated door, behavior or connections directly in other tools, this form will refuse to overwrite those changes. Review the affected item in Objects, Story or Rooms.