{
  "version": "1.1",
  "name": "Mirror Puzzle Reveals Hidden Message",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "Align a mirror to reveal writing on a wall. Examining the wall before alignment gives no clue; afterward it shows the reflected message and records the discovery.",
  "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  name: \"Mirror Chamber\"\n  description: \"Use the brass mirror to align its reflection, then examine the blank wall.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_mirror.taml",
      "content": "object lesson_mirror\n  name: \"brass mirror\"\n  description: \"The mirror can reflect light onto the wall.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_wall.taml",
      "content": "object lesson_wall\n  name: \"blank wall\"\n  description: \"The wall appears blank until the reflection aligns.\"\n  smart_description: \"{\\\"version\\\":1,\\\"parts\\\":[{\\\"type\\\":\\\"conditional\\\",\\\"id\\\":\\\"lesson_wall_text\\\",\\\"when\\\":{\\\"kind\\\":\\\"flag_equals\\\",\\\"flag\\\":\\\"lesson_aligned\\\",\\\"value\\\":true},\\\"then\\\":\\\"Reflected letters read: Follow the western star.\\\",\\\"otherwise\\\":\\\"The wall is blank. Align the brass mirror to reveal its writing.\\\"}]}\"\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_aligned",
        "name": "aligned",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_read",
        "name": "read",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_align",
        "name": "align",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_mirror",
          "event": "use"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_aligned",
            "value": true
          },
          {
            "kind": "message",
            "value": "You turn the mirror. A bright reflection lands on the wall."
          }
        ],
        "otherwise": "",
        "once": true,
        "repeatText": "The mirror is already aligned."
      },
      {
        "id": "lesson_read",
        "name": "read",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_wall",
          "event": "examine"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_aligned",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_read",
            "value": true
          },
          {
            "kind": "message",
            "value": "Reflected letters read: Follow the western star."
          }
        ],
        "otherwise": "The wall is blank. Align the brass mirror to reveal its writing.",
        "once": true,
        "repeatText": "The reflected message still points to the western star."
      },
      {
        "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_read",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "Aligning the mirror revealed the wall’s hidden message. 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
      }
    ]
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "52-mirror-puzzle-reveals-hidden-message",
        "choices": {
          "room": {
            "existing": "",
            "name": "Mirror Chamber",
            "description": "Use the brass mirror to align its reflection, then examine the blank wall."
          },
          "mirror": {
            "existing": "",
            "name": "brass mirror",
            "description": "The mirror can reflect light onto the wall."
          },
          "wall": {
            "existing": "",
            "name": "blank wall",
            "description": "The wall appears blank until the reflection aligns."
          }
        },
        "values": {
          "align": "You turn the mirror. A bright reflection lands on the wall.",
          "before": "The wall is blank. Align the brass mirror to reveal its writing.",
          "after": "Reflected letters read: Follow the western star.",
          "repeat": "The reflected message still points to the western star."
        },
        "reuseRoutes": {}
      },
      "owned": [
        {
          "path": "files",
          "key": "rooms/lesson_room.taml",
          "after": {
            "path": "rooms/lesson_room.taml",
            "name": "lesson_room.taml",
            "content": "room lesson_room\n  name: \"Mirror Chamber\"\n  description: \"Use the brass mirror to align its reflection, then examine the blank wall.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_mirror.taml",
          "after": {
            "path": "objects/lesson_mirror.taml",
            "name": "lesson_mirror.taml",
            "content": "object lesson_mirror\n  name: \"brass mirror\"\n  description: \"The mirror can reflect light onto the wall.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_wall.taml",
          "after": {
            "path": "objects/lesson_wall.taml",
            "name": "lesson_wall.taml",
            "content": "object lesson_wall\n  name: \"blank wall\"\n  description: \"The wall appears blank until the reflection aligns.\"\n  smart_description: \"{\\\"version\\\":1,\\\"parts\\\":[{\\\"type\\\":\\\"conditional\\\",\\\"id\\\":\\\"lesson_wall_text\\\",\\\"when\\\":{\\\"kind\\\":\\\"flag_equals\\\",\\\"flag\\\":\\\"lesson_aligned\\\",\\\"value\\\":true},\\\"then\\\":\\\"Reflected letters read: Follow the western star.\\\",\\\"otherwise\\\":\\\"The wall is blank. Align the brass mirror to reveal its writing.\\\"}]}\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_mirror",
          "after": {
            "id": "lesson_mirror",
            "name": "brass mirror",
            "description": "The mirror can reflect light onto the wall.",
            "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": "objects",
          "key": "lesson_wall",
          "after": {
            "id": "lesson_wall",
            "name": "blank wall",
            "description": "The wall appears blank until the reflection aligns.",
            "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": [],
            "smartProse": {
              "description": {
                "version": 1,
                "parts": [
                  {
                    "type": "conditional",
                    "id": "lesson_wall_text",
                    "when": {
                      "kind": "flag_equals",
                      "flag": "lesson_aligned",
                      "value": true
                    },
                    "then": "Reflected letters read: Follow the western star.",
                    "otherwise": "The wall is blank. Align the brass mirror to reveal its writing."
                  }
                ]
              }
            }
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_room",
          "after": {
            "id": "lesson_room",
            "name": "Mirror Chamber",
            "description": "Use the brass mirror to align its reflection, then examine the blank wall.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000"
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_aligned",
          "after": {
            "id": "lesson_aligned",
            "name": "aligned",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_read",
          "after": {
            "id": "lesson_read",
            "name": "read",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_align",
          "after": {
            "id": "lesson_align",
            "name": "align",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_mirror",
              "event": "use"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_aligned",
                "value": true
              },
              {
                "kind": "message",
                "value": "You turn the mirror. A bright reflection lands on the wall."
              }
            ],
            "otherwise": "",
            "once": true,
            "repeatText": "The mirror is already aligned."
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_read",
          "after": {
            "id": "lesson_read",
            "name": "read",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_wall",
              "event": "examine"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_aligned",
                "operator": "==",
                "value": true
              }
            ],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_read",
                "value": true
              },
              {
                "kind": "message",
                "value": "Reflected letters read: Follow the western star."
              }
            ],
            "otherwise": "The wall is blank. Align the brass mirror to reveal its writing.",
            "once": true,
            "repeatText": "The reflected message still points to the western star."
          }
        }
      ]
    }
  ],
  "creatorNotes": "Align a mirror to reveal writing on a wall. Examining the wall before alignment gives no clue; afterward it shows the reflected message and records the discovery.\nOpen Help → Cookbook → Mirror Puzzle Reveals Hidden Message → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: examine blank wall; use brass mirror; examine blank wall; use brass mirror; examine blank wall; use field journal",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Mirror Chamber",
      "description": "Use the brass mirror to align its reflection, then examine the blank wall.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [],
  "objects": [
    {
      "id": "lesson_mirror",
      "name": "brass mirror",
      "description": "The mirror can reflect light onto the wall.",
      "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": "lesson_wall",
      "name": "blank wall",
      "description": "The wall appears blank until the reflection aligns.",
      "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": [],
      "smartProse": {
        "description": {
          "version": 1,
          "parts": [
            {
              "type": "conditional",
              "id": "lesson_wall_text",
              "when": {
                "kind": "flag_equals",
                "flag": "lesson_aligned",
                "value": true
              },
              "then": "Reflected letters read: Follow the western star.",
              "otherwise": "The wall is blank. Align the brass mirror to reveal its writing."
            }
          ]
        }
      }
    },
    {
      "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": [
    "smart-prose-v1",
    "story-rules-v1"
  ]
}
