{
  "version": "1.1",
  "name": "Three-Symbol Riddle Lock",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "Choose the sun token to answer a three-symbol riddle. Moon and star attempts leave the lock closed and keep their tokens. The correct token reveals one hidden map.",
  "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: \"Symbol Shrine\"\n  description: \"The riddle lock asks: Which symbol brings the day? Take a token and use it with the riddle lock.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_lock.taml",
      "content": "object lesson_lock\n  name: \"riddle lock\"\n  description: \"Sun, moon and star symbols surround the lock.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_sun.taml",
      "content": "object lesson_sun\n  name: \"sun token\"\n  description: \"A token marked with a sun.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_moon.taml",
      "content": "object lesson_moon\n  name: \"moon token\"\n  description: \"A token marked with a moon.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_star.taml",
      "content": "object lesson_star\n  name: \"star token\"\n  description: \"A token marked with a star.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_map.taml",
      "content": "object lesson_map\n  name: \"hidden map\"\n  description: \"A map revealed by solving the riddle.\"\n  location: lesson_room\n  visible: false\n  takeable: 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_solved",
        "name": "solved",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "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_solved",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "The correct symbol revealed the map without consuming the wrong tokens. 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,
      "recipes": [
        {
          "id": "lesson_sun",
          "name": "sun",
          "enabled": true,
          "verbs": [
            "use"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_sun",
              "disposition": "retain"
            }
          ],
          "tools": [],
          "target": {
            "kind": "object",
            "id": "lesson_lock"
          },
          "match": "all",
          "conditions": [],
          "actions": [
            {
              "kind": "state",
              "target": "lesson_solved",
              "value": true
            },
            {
              "kind": "reveal",
              "target": "lesson_map"
            }
          ],
          "once": true,
          "success": "The sun token fits. A hidden map unfolds from the lock.",
          "failure": "Carry a token. The riddle asks which symbol brings the day.",
          "repeat": "The riddle is solved and the map is already revealed."
        },
        {
          "id": "lesson_moon",
          "name": "moon",
          "enabled": true,
          "verbs": [
            "use"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_moon",
              "disposition": "retain"
            }
          ],
          "tools": [],
          "target": {
            "kind": "object",
            "id": "lesson_lock"
          },
          "match": "all",
          "conditions": [],
          "actions": [],
          "once": false,
          "success": "That symbol does not bring the day. Your token is kept.",
          "failure": "Carry a token. The riddle asks which symbol brings the day.",
          "repeat": "The riddle is solved and the map is already revealed."
        },
        {
          "id": "lesson_star",
          "name": "star",
          "enabled": true,
          "verbs": [
            "use"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_star",
              "disposition": "retain"
            }
          ],
          "tools": [],
          "target": {
            "kind": "object",
            "id": "lesson_lock"
          },
          "match": "all",
          "conditions": [],
          "actions": [],
          "once": false,
          "success": "That symbol does not bring the day. Your token is kept.",
          "failure": "Carry a token. The riddle asks which symbol brings the day.",
          "repeat": "The riddle is solved and the map is already revealed."
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "three-symbol-riddle",
        "choices": {
          "room": {
            "existing": "",
            "name": "Symbol Shrine",
            "description": "The riddle lock asks: Which symbol brings the day? Take a token and use it with the riddle lock."
          },
          "lock": {
            "existing": "",
            "name": "riddle lock",
            "description": "Sun, moon and star symbols surround the lock."
          },
          "sun": {
            "existing": "",
            "name": "sun token",
            "description": "A token marked with a sun."
          },
          "moon": {
            "existing": "",
            "name": "moon token",
            "description": "A token marked with a moon."
          },
          "star": {
            "existing": "",
            "name": "star token",
            "description": "A token marked with a star."
          },
          "map": {
            "existing": "",
            "name": "hidden map",
            "description": "A map revealed by solving the riddle."
          }
        },
        "values": {
          "success": "The sun token fits. A hidden map unfolds from the lock.",
          "failure": "Carry a token. The riddle asks which symbol brings the day.",
          "wrong": "That symbol does not bring the day. Your token is kept.",
          "repeat": "The riddle is solved and the map is already revealed."
        },
        "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: \"Symbol Shrine\"\n  description: \"The riddle lock asks: Which symbol brings the day? Take a token and use it with the riddle lock.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_lock.taml",
          "after": {
            "path": "objects/lesson_lock.taml",
            "name": "lesson_lock.taml",
            "content": "object lesson_lock\n  name: \"riddle lock\"\n  description: \"Sun, moon and star symbols surround the lock.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_sun.taml",
          "after": {
            "path": "objects/lesson_sun.taml",
            "name": "lesson_sun.taml",
            "content": "object lesson_sun\n  name: \"sun token\"\n  description: \"A token marked with a sun.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_moon.taml",
          "after": {
            "path": "objects/lesson_moon.taml",
            "name": "lesson_moon.taml",
            "content": "object lesson_moon\n  name: \"moon token\"\n  description: \"A token marked with a moon.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_star.taml",
          "after": {
            "path": "objects/lesson_star.taml",
            "name": "lesson_star.taml",
            "content": "object lesson_star\n  name: \"star token\"\n  description: \"A token marked with a star.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_map.taml",
          "after": {
            "path": "objects/lesson_map.taml",
            "name": "lesson_map.taml",
            "content": "object lesson_map\n  name: \"hidden map\"\n  description: \"A map revealed by solving the riddle.\"\n  location: lesson_room\n  visible: false\n  takeable: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_lock",
          "after": {
            "id": "lesson_lock",
            "name": "riddle lock",
            "description": "Sun, moon and star symbols surround the lock.",
            "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_sun",
          "after": {
            "id": "lesson_sun",
            "name": "sun token",
            "description": "A token marked with a sun.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": true,
            "takeable": true,
            "droppable": true,
            "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_moon",
          "after": {
            "id": "lesson_moon",
            "name": "moon token",
            "description": "A token marked with a moon.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": true,
            "takeable": true,
            "droppable": true,
            "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_star",
          "after": {
            "id": "lesson_star",
            "name": "star token",
            "description": "A token marked with a star.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": true,
            "takeable": true,
            "droppable": true,
            "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_map",
          "after": {
            "id": "lesson_map",
            "name": "hidden map",
            "description": "A map revealed by solving the riddle.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": false,
            "takeable": true,
            "droppable": true,
            "useGive": false,
            "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": "Symbol Shrine",
            "description": "The riddle lock asks: Which symbol brings the day? Take a token and use it with the riddle lock.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000"
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_solved",
          "after": {
            "id": "lesson_solved",
            "name": "solved",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_sun",
          "after": {
            "id": "lesson_sun",
            "name": "sun",
            "enabled": true,
            "verbs": [
              "use"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_sun",
                "disposition": "retain"
              }
            ],
            "tools": [],
            "target": {
              "kind": "object",
              "id": "lesson_lock"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_solved",
                "value": true
              },
              {
                "kind": "reveal",
                "target": "lesson_map"
              }
            ],
            "once": true,
            "success": "The sun token fits. A hidden map unfolds from the lock.",
            "failure": "Carry a token. The riddle asks which symbol brings the day.",
            "repeat": "The riddle is solved and the map is already revealed."
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_moon",
          "after": {
            "id": "lesson_moon",
            "name": "moon",
            "enabled": true,
            "verbs": [
              "use"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_moon",
                "disposition": "retain"
              }
            ],
            "tools": [],
            "target": {
              "kind": "object",
              "id": "lesson_lock"
            },
            "match": "all",
            "conditions": [],
            "actions": [],
            "once": false,
            "success": "That symbol does not bring the day. Your token is kept.",
            "failure": "Carry a token. The riddle asks which symbol brings the day.",
            "repeat": "The riddle is solved and the map is already revealed."
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_star",
          "after": {
            "id": "lesson_star",
            "name": "star",
            "enabled": true,
            "verbs": [
              "use"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_star",
                "disposition": "retain"
              }
            ],
            "tools": [],
            "target": {
              "kind": "object",
              "id": "lesson_lock"
            },
            "match": "all",
            "conditions": [],
            "actions": [],
            "once": false,
            "success": "That symbol does not bring the day. Your token is kept.",
            "failure": "Carry a token. The riddle asks which symbol brings the day.",
            "repeat": "The riddle is solved and the map is already revealed."
          }
        }
      ]
    }
  ],
  "creatorNotes": "Choose the sun token to answer a three-symbol riddle. Moon and star attempts leave the lock closed and keep their tokens. The correct token reveals one hidden map.\nOpen Help → Cookbook → Three-Symbol Riddle Lock → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: take hidden map; take moon token; use moon token with riddle lock; take star token; use star token with riddle lock; take sun token; use sun token with riddle lock; take hidden map; use sun token with riddle lock; use field journal",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Symbol Shrine",
      "description": "The riddle lock asks: Which symbol brings the day? Take a token and use it with the riddle lock.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [],
  "objects": [
    {
      "id": "lesson_lock",
      "name": "riddle lock",
      "description": "Sun, moon and star symbols surround the lock.",
      "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_sun",
      "name": "sun token",
      "description": "A token marked with a sun.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "lesson_moon",
      "name": "moon token",
      "description": "A token marked with a moon.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "lesson_star",
      "name": "star token",
      "description": "A token marked with a star.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "lesson_map",
      "name": "hidden map",
      "description": "A map revealed by solving the riddle.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": false,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "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"
  ]
}
