{
  "version": "1.1",
  "name": "Choice Creates Permanent Consequence",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "Choose which bridge to restore. One choice opens the north path, the other opens the east path. Once chosen, the decision cannot be changed or used to open both routes.",
  "playerAppearance": {
    "version": 1,
    "layout": "modern",
    "font": "sans",
    "colorScheme": "light",
    "textSize": 18,
    "lineHeight": 1.6,
    "readingWidth": 80,
    "quietReading": false,
    "mapMode": "discovered",
    "panels": {
      "inventory": true,
      "map": true,
      "objectives": true,
      "status": true,
      "words": true
    },
    "picture": {
      "visible": true,
      "fit": "contain",
      "focalX": 50,
      "focalY": 50
    },
    "commands": {
      "visible": true,
      "standard": [
        "look",
        "search",
        "inventory",
        "help"
      ],
      "custom": []
    },
    "words": []
  },
  "created": "2026-11-01T00:00:00.000Z",
  "modified": "2026-11-01T00:00:00.000Z",
  "files": [
    {
      "path": "rooms/lesson_room.taml",
      "content": "room lesson_room\n  blocked east: \"That bridge has not been restored.\"\n  exit east: lesson_east when: lesson_east_open\n  blocked north: \"That bridge has not been restored.\"\n  exit north: lesson_north when: lesson_north_open\n  name: \"Bridge Control House\"\n  description: \"Use the bridge controls to make one permanent repair choice.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_north.taml",
      "content": "room lesson_north\n  exit south: lesson_room\n  name: \"North Bank\"\n  description: \"You crossed the repaired north bridge. Return south.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_east.taml",
      "content": "room lesson_east\n  exit west: lesson_room\n  name: \"East Bank\"\n  description: \"You crossed the repaired east bridge. Return west.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_control.taml",
      "content": "object lesson_control\n  name: \"bridge controls\"\n  description: \"There is enough power to restore one bridge only.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/sample_field_journal.taml",
      "content": "object sample_field_journal\n  name: \"field journal\"\n  description: \"Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.\"\n  location: inventory\n  aliases: [\"journal\"]\n  takeable: true\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    }
  ],
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_decided",
        "name": "decided",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_north_open",
        "name": "north open",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_east_open",
        "name": "east open",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_choose",
        "name": "choose",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_control",
          "event": "use"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "prompt",
            "target": "lesson_decision"
          }
        ],
        "otherwise": "",
        "once": false
      },
      {
        "id": "sample_finish",
        "name": "Record the completed expedition",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "sample_field_journal",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_decided",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "Your bridge choice is saved and cannot be changed by repeating it. You record the result in your field journal. Your expedition is complete."
          },
          {
            "kind": "score",
            "value": 100
          },
          {
            "kind": "end",
            "value": "Your expedition is complete."
          }
        ],
        "otherwise": "Your expedition is not complete yet. Follow the room clues, then use the field journal to record your success.",
        "once": true
      }
    ],
    "features": {
      "version": 1,
      "prompts": [
        {
          "id": "lesson_decision",
          "name": "Which bridge will you restore? This choice is permanent.",
          "enabled": true,
          "text": "Which bridge will you restore? This choice is permanent.",
          "cancelLabel": "Leave the choice for later",
          "cancelable": true,
          "owner": {
            "kind": "object",
            "id": "lesson_control"
          },
          "options": [
            {
              "id": "north",
              "label": "Restore the north bridge",
              "match": "all",
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_decided",
                  "operator": "==",
                  "value": false
                }
              ],
              "actions": [
                {
                  "kind": "state",
                  "target": "lesson_decided",
                  "value": true
                },
                {
                  "kind": "state",
                  "target": "lesson_north_open",
                  "value": true
                },
                {
                  "kind": "message",
                  "value": "The north bridge rises. The east bridge remains closed."
                }
              ],
              "once": false,
              "unavailable": "disable"
            },
            {
              "id": "east",
              "label": "Restore the east bridge",
              "match": "all",
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_decided",
                  "operator": "==",
                  "value": false
                }
              ],
              "actions": [
                {
                  "kind": "state",
                  "target": "lesson_decided",
                  "value": true
                },
                {
                  "kind": "state",
                  "target": "lesson_east_open",
                  "value": true
                },
                {
                  "kind": "message",
                  "value": "The east bridge rises. The north bridge remains closed."
                }
              ],
              "once": false,
              "unavailable": "disable"
            }
          ]
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "33-choice-creates-permanent-consequence",
        "choices": {
          "room": {
            "existing": "",
            "name": "Bridge Control House",
            "description": "Use the bridge controls to make one permanent repair choice."
          },
          "north": {
            "existing": "",
            "name": "North Bank",
            "description": "You crossed the repaired north bridge. Return south."
          },
          "east": {
            "existing": "",
            "name": "East Bank",
            "description": "You crossed the repaired east bridge. Return west."
          },
          "control": {
            "existing": "",
            "name": "bridge controls",
            "description": "There is enough power to restore one bridge only."
          }
        },
        "values": {
          "question": "Which bridge will you restore? This choice is permanent.",
          "north": "The north bridge rises. The east bridge remains closed.",
          "east": "The east bridge rises. The north bridge remains closed.",
          "blocked": "That bridge has not been restored."
        },
        "reuseRoutes": {}
      },
      "owned": [
        {
          "path": "files",
          "key": "rooms/lesson_room.taml",
          "after": {
            "path": "rooms/lesson_room.taml",
            "name": "lesson_room.taml",
            "content": "room lesson_room\n  blocked east: \"That bridge has not been restored.\"\n  exit east: lesson_east when: lesson_east_open\n  blocked north: \"That bridge has not been restored.\"\n  exit north: lesson_north when: lesson_north_open\n  name: \"Bridge Control House\"\n  description: \"Use the bridge controls to make one permanent repair choice.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_north.taml",
          "after": {
            "path": "rooms/lesson_north.taml",
            "name": "lesson_north.taml",
            "content": "room lesson_north\n  exit south: lesson_room\n  name: \"North Bank\"\n  description: \"You crossed the repaired north bridge. Return south.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_east.taml",
          "after": {
            "path": "rooms/lesson_east.taml",
            "name": "lesson_east.taml",
            "content": "room lesson_east\n  exit west: lesson_room\n  name: \"East Bank\"\n  description: \"You crossed the repaired east bridge. Return west.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_control.taml",
          "after": {
            "path": "objects/lesson_control.taml",
            "name": "lesson_control.taml",
            "content": "object lesson_control\n  name: \"bridge controls\"\n  description: \"There is enough power to restore one bridge only.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_control",
          "after": {
            "id": "lesson_control",
            "name": "bridge controls",
            "description": "There is enough power to restore one bridge only.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": true,
            "takeable": false,
            "droppable": false,
            "useGive": true,
            "container": false,
            "switchable": false,
            "edible": false,
            "drinkable": false,
            "wearable": false,
            "weapon": false,
            "weight": 0.1,
            "locked": false,
            "lockKey": "",
            "events": []
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_room",
          "after": {
            "id": "lesson_room",
            "name": "Bridge Control House",
            "description": "Use the bridge controls to make one permanent repair choice.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {
              "north": "That bridge has not been restored.",
              "east": "That bridge has not been restored."
            }
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_north",
          "after": {
            "id": "lesson_north",
            "name": "North Bank",
            "description": "You crossed the repaired north bridge. Return south.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 320,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_east",
          "after": {
            "id": "lesson_east",
            "name": "East Bank",
            "description": "You crossed the repaired east bridge. Return west.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 540,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_north",
          "after": {
            "id": "lesson_route_north",
            "fromRoom": "lesson_room",
            "toRoom": "lesson_north",
            "direction": "north",
            "locked": false,
            "when": "lesson_north_open"
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_north_back",
          "after": {
            "id": "lesson_route_north_back",
            "fromRoom": "lesson_north",
            "toRoom": "lesson_room",
            "direction": "south",
            "locked": false
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_east",
          "after": {
            "id": "lesson_route_east",
            "fromRoom": "lesson_room",
            "toRoom": "lesson_east",
            "direction": "east",
            "locked": false,
            "when": "lesson_east_open"
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_east_back",
          "after": {
            "id": "lesson_route_east_back",
            "fromRoom": "lesson_east",
            "toRoom": "lesson_room",
            "direction": "west",
            "locked": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_decided",
          "after": {
            "id": "lesson_decided",
            "name": "decided",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_north_open",
          "after": {
            "id": "lesson_north_open",
            "name": "north open",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_east_open",
          "after": {
            "id": "lesson_east_open",
            "name": "east open",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_choose",
          "after": {
            "id": "lesson_choose",
            "name": "choose",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_control",
              "event": "use"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "prompt",
                "target": "lesson_decision"
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.features.prompts",
          "key": "lesson_decision",
          "after": {
            "id": "lesson_decision",
            "name": "Which bridge will you restore? This choice is permanent.",
            "enabled": true,
            "text": "Which bridge will you restore? This choice is permanent.",
            "cancelLabel": "Leave the choice for later",
            "cancelable": true,
            "owner": {
              "kind": "object",
              "id": "lesson_control"
            },
            "options": [
              {
                "id": "north",
                "label": "Restore the north bridge",
                "match": "all",
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_decided",
                    "operator": "==",
                    "value": false
                  }
                ],
                "actions": [
                  {
                    "kind": "state",
                    "target": "lesson_decided",
                    "value": true
                  },
                  {
                    "kind": "state",
                    "target": "lesson_north_open",
                    "value": true
                  },
                  {
                    "kind": "message",
                    "value": "The north bridge rises. The east bridge remains closed."
                  }
                ],
                "once": false,
                "unavailable": "disable"
              },
              {
                "id": "east",
                "label": "Restore the east bridge",
                "match": "all",
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_decided",
                    "operator": "==",
                    "value": false
                  }
                ],
                "actions": [
                  {
                    "kind": "state",
                    "target": "lesson_decided",
                    "value": true
                  },
                  {
                    "kind": "state",
                    "target": "lesson_east_open",
                    "value": true
                  },
                  {
                    "kind": "message",
                    "value": "The east bridge rises. The north bridge remains closed."
                  }
                ],
                "once": false,
                "unavailable": "disable"
              }
            ]
          }
        }
      ]
    }
  ],
  "creatorNotes": "Choose which bridge to restore. One choice opens the north path, the other opens the east path. Once chosen, the decision cannot be changed or used to open both routes.\nOpen Help → Cookbook → Choice Creates Permanent Consequence → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: north; east; use bridge controls; 0; use bridge controls; 1; use bridge controls; 2; 0; north; south; east; use field journal",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Bridge Control House",
      "description": "Use the bridge controls to make one permanent repair choice.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {
        "north": "That bridge has not been restored.",
        "east": "That bridge has not been restored."
      }
    },
    {
      "id": "lesson_north",
      "name": "North Bank",
      "description": "You crossed the repaired north bridge. Return south.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 320,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    },
    {
      "id": "lesson_east",
      "name": "East Bank",
      "description": "You crossed the repaired east bridge. Return west.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 540,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    }
  ],
  "mapExits": [
    {
      "id": "lesson_route_north",
      "fromRoom": "lesson_room",
      "toRoom": "lesson_north",
      "direction": "north",
      "locked": false,
      "when": "lesson_north_open"
    },
    {
      "id": "lesson_route_north_back",
      "fromRoom": "lesson_north",
      "toRoom": "lesson_room",
      "direction": "south",
      "locked": false
    },
    {
      "id": "lesson_route_east",
      "fromRoom": "lesson_room",
      "toRoom": "lesson_east",
      "direction": "east",
      "locked": false,
      "when": "lesson_east_open"
    },
    {
      "id": "lesson_route_east_back",
      "fromRoom": "lesson_east",
      "toRoom": "lesson_room",
      "direction": "west",
      "locked": false
    }
  ],
  "objects": [
    {
      "id": "lesson_control",
      "name": "bridge controls",
      "description": "There is enough power to restore one bridge only.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": true,
      "takeable": false,
      "droppable": false,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "sample_field_journal",
      "name": "field journal",
      "description": "Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.",
      "article": "",
      "location": "inventory",
      "aliases": [
        "journal"
      ],
      "visible": true,
      "takeable": true,
      "droppable": false,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    }
  ],
  "npcs": [],
  "activeMechanics": [],
  "verbAliases": [],
  "scripts": [],
  "worldEvents": [],
  "customMechanicDefs": [],
  "savedMechanicTemplates": [],
  "objectiveSets": [],
  "gameOutliner": {},
  "customRoomTemplates": [],
  "customObjectTemplates": [],
  "customNpcTemplates": [],
  "customSavedScripts": [],
  "requiredCapabilities": [
    "story-rules-v1",
    "creator-features-v1"
  ]
}
