{
  "version": "1.1",
  "name": "Bilingual Text & Controlled Randomness",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "A guaranteed key puzzle has English and Spanish text. Optional prism outcomes use a fixed random seed, while telescope prose follows a repeating sequence. Neither variety nor language changes the puzzle requirements.",
  "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 north: \"The door is closed. Use the carried brass key with it.\"\n  exit north: lesson_garden when: lesson_opened\n  name: \"Sky Workshop\"\n  description: \"Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_garden.taml",
      "content": "room lesson_garden\n  name: \"Quiet Garden\"\n  description: \"The key opened the route to this garden.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_key.taml",
      "content": "object lesson_key\n  name: \"brass key\"\n  description: \"Use this with the door.\"\n  location: lesson_room\n  aliases: [\"key\", \"llave\", \"llave de latón\"]\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_door.taml",
      "content": "object lesson_door\n  name: \"door\"\n  description: \"The key opens this door.\"\n  location: lesson_room\n  aliases: [\"puerta\"]\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_prism.taml",
      "content": "object lesson_prism\n  name: \"prism\"\n  description: \"Use for an optional sky observation.\"\n  location: lesson_room\n  aliases: [\"prisma\"]\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_telescope.taml",
      "content": "object lesson_telescope\n  name: \"telescope\"\n  description: \"Examine for changing prose.\"\n  location: lesson_room\n  aliases: [\"telescopio\"]\n  droppable: false\n  weight: 0.1\nend"
    }
  ],
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_opened",
        "name": "opened",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_observed",
        "name": "observed",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_done",
        "name": "done",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_roll",
        "name": "roll",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_prism",
          "event": "use"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "random",
            "target": "lesson_sky"
          }
        ],
        "otherwise": "",
        "once": false
      },
      {
        "id": "lesson_vary",
        "name": "vary",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_telescope",
          "event": "examine"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "variation",
            "target": "lesson_stars"
          }
        ],
        "otherwise": "",
        "once": false
      }
    ],
    "features": {
      "version": 1,
      "randomSeed": 20261102,
      "randomTables": [
        {
          "id": "lesson_sky",
          "name": "Optional sky",
          "enabled": true,
          "probability": 1,
          "cooldown": 0,
          "outcomes": [
            {
              "id": "red",
              "weight": 2,
              "conditions": [],
              "match": "all",
              "actions": [
                {
                  "kind": "state",
                  "target": "lesson_observed",
                  "value": true
                },
                {
                  "kind": "message",
                  "value": "The prism shows a red sky."
                }
              ]
            },
            {
              "id": "blue",
              "weight": 1,
              "conditions": [],
              "match": "all",
              "actions": [
                {
                  "kind": "state",
                  "target": "lesson_observed",
                  "value": true
                },
                {
                  "kind": "message",
                  "value": "The prism shows a blue sky."
                }
              ]
            }
          ]
        }
      ],
      "variations": [
        {
          "id": "lesson_stars",
          "name": "Telescope sequence",
          "mode": "sequence",
          "texts": [
            "A bright star rises.",
            "A pale moon shines."
          ]
        }
      ],
      "recipes": [
        {
          "id": "lesson_open",
          "name": "open",
          "enabled": true,
          "verbs": [
            "use"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_key",
              "disposition": "retain"
            }
          ],
          "tools": [],
          "target": {
            "kind": "object",
            "id": "lesson_door"
          },
          "match": "all",
          "conditions": [],
          "actions": [
            {
              "kind": "state",
              "target": "lesson_opened",
              "value": true
            }
          ],
          "once": true,
          "success": "The key opens the door. The north route is ready.",
          "failure": "Carry the brass key and use it with the door.",
          "repeat": "The door is already open."
        }
      ],
      "endings": [
        {
          "id": "lesson_garden_ending",
          "name": "Garden reached",
          "enabled": true,
          "automatic": true,
          "priority": 1,
          "conditions": [
            {
              "kind": "state",
              "target": "lesson_opened",
              "operator": "==",
              "value": true
            },
            {
              "kind": "room",
              "target": "lesson_garden",
              "operator": "==",
              "value": true
            }
          ],
          "match": "all",
          "text": "You reach the garden. Your observations were optional; the key provided a guaranteed way through.",
          "actions": [
            {
              "kind": "state",
              "target": "lesson_done",
              "value": true
            },
            {
              "kind": "score",
              "value": 100
            }
          ]
        }
      ],
      "language": {
        "version": 1,
        "sourceLanguage": "en",
        "defaultLanguage": "en",
        "languages": [
          "en",
          "es"
        ],
        "catalog": [
          {
            "id": "text_4smeaz",
            "key": "room/lesson_room/name",
            "source": "Sky Workshop",
            "translations": {
              "es": {
                "text": "Taller del cielo",
                "source": "Sky Workshop"
              }
            }
          },
          {
            "id": "text_1sedov6",
            "key": "room/lesson_room/description",
            "source": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English.",
            "translations": {
              "es": {
                "text": "Toma la llave de latón, úsala con la puerta y ve al norte. El prisma y el telescopio añaden variedad opcional. Escribe LANGUAGE ES para español o LANGUAGE EN para inglés.",
                "source": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English."
              }
            }
          },
          {
            "id": "text_ev0j1o",
            "key": "room/lesson_room/blocked/north",
            "source": "The door is closed. Use the carried brass key with it.",
            "translations": {
              "es": {
                "text": "La puerta está cerrada. Usa la llave que llevas.",
                "source": "The door is closed. Use the carried brass key with it."
              }
            }
          },
          {
            "id": "text_105miul",
            "key": "room/lesson_garden/name",
            "source": "Quiet Garden",
            "translations": {
              "es": {
                "text": "Jardín tranquilo",
                "source": "Quiet Garden"
              }
            }
          },
          {
            "id": "text_1yppzw0",
            "key": "room/lesson_garden/description",
            "source": "The key opened the route to this garden.",
            "translations": {}
          },
          {
            "id": "text_1wyras7",
            "key": "object/lesson_key/name",
            "source": "brass key",
            "translations": {
              "es": {
                "text": "llave de latón",
                "source": "brass key"
              }
            }
          },
          {
            "id": "text_h5iehi",
            "key": "object/lesson_key/description",
            "source": "Use this with the door.",
            "translations": {}
          },
          {
            "id": "text_1al02tn",
            "key": "object/lesson_key/aliases/0",
            "source": "key",
            "translations": {}
          },
          {
            "id": "text_1ab0h4o",
            "key": "object/lesson_key/aliases/1",
            "source": "llave",
            "translations": {}
          },
          {
            "id": "text_1b4za7l",
            "key": "object/lesson_key/aliases/2",
            "source": "llave de latón",
            "translations": {}
          },
          {
            "id": "text_2c3jcq",
            "key": "object/lesson_door/name",
            "source": "door",
            "translations": {
              "es": {
                "text": "puerta",
                "source": "door"
              }
            }
          },
          {
            "id": "text_opvv39",
            "key": "object/lesson_door/description",
            "source": "The key opens this door.",
            "translations": {}
          },
          {
            "id": "text_qogjsc",
            "key": "object/lesson_door/aliases/0",
            "source": "puerta",
            "translations": {}
          },
          {
            "id": "text_1yf2kep",
            "key": "object/lesson_prism/name",
            "source": "prism",
            "translations": {
              "es": {
                "text": "prisma",
                "source": "prism"
              }
            }
          },
          {
            "id": "text_1r233po",
            "key": "object/lesson_prism/description",
            "source": "Use for an optional sky observation.",
            "translations": {}
          },
          {
            "id": "text_16a7mmh",
            "key": "object/lesson_prism/aliases/0",
            "source": "prisma",
            "translations": {}
          },
          {
            "id": "text_14hpyue",
            "key": "object/lesson_telescope/name",
            "source": "telescope",
            "translations": {
              "es": {
                "text": "telescopio",
                "source": "telescope"
              }
            }
          },
          {
            "id": "text_1cuupex",
            "key": "object/lesson_telescope/description",
            "source": "Examine for changing prose.",
            "translations": {}
          },
          {
            "id": "text_1ebc71c",
            "key": "object/lesson_telescope/aliases/0",
            "source": "telescopio",
            "translations": {}
          },
          {
            "id": "text_djrs5",
            "key": "rules/lesson_roll/name",
            "source": "roll",
            "translations": {}
          },
          {
            "id": "text_1k5trx0",
            "key": "rules/lesson_vary/name",
            "source": "vary",
            "translations": {}
          },
          {
            "id": "text_1525hfu",
            "key": "features/randomTables/lesson_sky/name",
            "source": "Optional sky",
            "translations": {}
          },
          {
            "id": "text_199w0ua",
            "key": "features/randomTables/lesson_sky/outcomes/red/actions/1/value",
            "source": "The prism shows a red sky.",
            "translations": {
              "es": {
                "text": "El prisma muestra un cielo rojo.",
                "source": "The prism shows a red sky."
              }
            }
          },
          {
            "id": "text_r2ibi3",
            "key": "features/randomTables/lesson_sky/outcomes/blue/actions/1/value",
            "source": "The prism shows a blue sky.",
            "translations": {
              "es": {
                "text": "El prisma muestra un cielo azul.",
                "source": "The prism shows a blue sky."
              }
            }
          },
          {
            "id": "text_1rregim",
            "key": "features/variations/lesson_stars/name",
            "source": "Telescope sequence",
            "translations": {}
          },
          {
            "id": "text_132kg0g",
            "key": "features/variations/lesson_stars/texts/0",
            "source": "A bright star rises.",
            "translations": {
              "es": {
                "text": "Sale una estrella brillante.",
                "source": "A bright star rises."
              }
            }
          },
          {
            "id": "text_13ck1pf",
            "key": "features/variations/lesson_stars/texts/1",
            "source": "A pale moon shines.",
            "translations": {
              "es": {
                "text": "Brilla una luna pálida.",
                "source": "A pale moon shines."
              }
            }
          },
          {
            "id": "text_1llbniu",
            "key": "features/recipes/lesson_open/name",
            "source": "open",
            "translations": {}
          },
          {
            "id": "text_1633pb4",
            "key": "features/recipes/lesson_open/success",
            "source": "The key opens the door. The north route is ready.",
            "translations": {
              "es": {
                "text": "La llave abre la puerta. La ruta al norte está abierta.",
                "source": "The key opens the door. The north route is ready."
              }
            }
          },
          {
            "id": "text_a90toh",
            "key": "features/recipes/lesson_open/failure",
            "source": "Carry the brass key and use it with the door.",
            "translations": {
              "es": {
                "text": "Lleva la llave de latón y úsala con la puerta.",
                "source": "Carry the brass key and use it with the door."
              }
            }
          },
          {
            "id": "text_1qmbbne",
            "key": "features/recipes/lesson_open/repeat",
            "source": "The door is already open.",
            "translations": {
              "es": {
                "text": "La puerta ya está abierta.",
                "source": "The door is already open."
              }
            }
          },
          {
            "id": "text_lc8w3u",
            "key": "features/endings/lesson_garden_ending/name",
            "source": "Garden reached",
            "translations": {}
          },
          {
            "id": "text_1csfvky",
            "key": "features/endings/lesson_garden_ending/text",
            "source": "You reach the garden. Your observations were optional; the key provided a guaranteed way through.",
            "translations": {
              "es": {
                "text": "Llegas al jardín. Las observaciones eran opcionales; la llave aseguraba el paso.",
                "source": "You reach the garden. Your observations were optional; the key provided a guaranteed way through."
              }
            }
          }
        ]
      }
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "bilingual-randomness",
        "choices": {
          "room": {
            "existing": "",
            "name": "Sky Workshop",
            "description": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English."
          },
          "garden": {
            "existing": "",
            "name": "Quiet Garden",
            "description": "The key opened the route to this garden."
          },
          "key": {
            "existing": "",
            "name": "brass key",
            "description": "Use this with the door."
          },
          "door": {
            "existing": "",
            "name": "door",
            "description": "The key opens this door."
          },
          "prism": {
            "existing": "",
            "name": "prism",
            "description": "Use for an optional sky observation."
          },
          "telescope": {
            "existing": "",
            "name": "telescope",
            "description": "Examine for changing prose."
          }
        },
        "values": {
          "red": "The prism shows a red sky.",
          "red_es": "El prisma muestra un cielo rojo.",
          "blue": "The prism shows a blue sky.",
          "blue_es": "El prisma muestra un cielo azul.",
          "first": "A bright star rises.",
          "first_es": "Sale una estrella brillante.",
          "second": "A pale moon shines.",
          "second_es": "Brilla una luna pálida.",
          "opened": "The key opens the door. The north route is ready.",
          "opened_es": "La llave abre la puerta. La ruta al norte está abierta.",
          "failure": "Carry the brass key and use it with the door.",
          "failure_es": "Lleva la llave de latón y úsala con la puerta.",
          "repeat": "The door is already open.",
          "repeat_es": "La puerta ya está abierta.",
          "ending": "You reach the garden. Your observations were optional; the key provided a guaranteed way through.",
          "ending_es": "Llegas al jardín. Las observaciones eran opcionales; la llave aseguraba el paso.",
          "seed": 20261102
        },
        "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 north: \"The door is closed. Use the carried brass key with it.\"\n  exit north: lesson_garden when: lesson_opened\n  name: \"Sky Workshop\"\n  description: \"Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_garden.taml",
          "after": {
            "path": "rooms/lesson_garden.taml",
            "name": "lesson_garden.taml",
            "content": "room lesson_garden\n  name: \"Quiet Garden\"\n  description: \"The key opened the route to this garden.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_key.taml",
          "after": {
            "path": "objects/lesson_key.taml",
            "name": "lesson_key.taml",
            "content": "object lesson_key\n  name: \"brass key\"\n  description: \"Use this with the door.\"\n  location: lesson_room\n  aliases: [\"key\", \"llave\", \"llave de latón\"]\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_door.taml",
          "after": {
            "path": "objects/lesson_door.taml",
            "name": "lesson_door.taml",
            "content": "object lesson_door\n  name: \"door\"\n  description: \"The key opens this door.\"\n  location: lesson_room\n  aliases: [\"puerta\"]\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_prism.taml",
          "after": {
            "path": "objects/lesson_prism.taml",
            "name": "lesson_prism.taml",
            "content": "object lesson_prism\n  name: \"prism\"\n  description: \"Use for an optional sky observation.\"\n  location: lesson_room\n  aliases: [\"prisma\"]\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_telescope.taml",
          "after": {
            "path": "objects/lesson_telescope.taml",
            "name": "lesson_telescope.taml",
            "content": "object lesson_telescope\n  name: \"telescope\"\n  description: \"Examine for changing prose.\"\n  location: lesson_room\n  aliases: [\"telescopio\"]\n  droppable: false\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_key",
          "after": {
            "id": "lesson_key",
            "name": "brass key",
            "description": "Use this with the door.",
            "article": "",
            "location": "lesson_room",
            "aliases": [
              "key",
              "llave",
              "llave de latón"
            ],
            "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_door",
          "after": {
            "id": "lesson_door",
            "name": "door",
            "description": "The key opens this door.",
            "article": "",
            "location": "lesson_room",
            "aliases": [
              "puerta"
            ],
            "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_prism",
          "after": {
            "id": "lesson_prism",
            "name": "prism",
            "description": "Use for an optional sky observation.",
            "article": "",
            "location": "lesson_room",
            "aliases": [
              "prisma"
            ],
            "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_telescope",
          "after": {
            "id": "lesson_telescope",
            "name": "telescope",
            "description": "Examine for changing prose.",
            "article": "",
            "location": "lesson_room",
            "aliases": [
              "telescopio"
            ],
            "visible": true,
            "takeable": false,
            "droppable": false,
            "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": "Sky Workshop",
            "description": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {
              "north": "The door is closed. Use the carried brass key with it."
            }
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_garden",
          "after": {
            "id": "lesson_garden",
            "name": "Quiet Garden",
            "description": "The key opened the route to this garden.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 320,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000"
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_north",
          "after": {
            "id": "lesson_route_north",
            "fromRoom": "lesson_room",
            "toRoom": "lesson_garden",
            "direction": "north",
            "locked": false,
            "when": "lesson_opened"
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_opened",
          "after": {
            "id": "lesson_opened",
            "name": "opened",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_observed",
          "after": {
            "id": "lesson_observed",
            "name": "observed",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_done",
          "after": {
            "id": "lesson_done",
            "name": "done",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_roll",
          "after": {
            "id": "lesson_roll",
            "name": "roll",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_prism",
              "event": "use"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "random",
                "target": "lesson_sky"
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_vary",
          "after": {
            "id": "lesson_vary",
            "name": "vary",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_telescope",
              "event": "examine"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "variation",
                "target": "lesson_stars"
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.features.randomTables",
          "key": "lesson_sky",
          "after": {
            "id": "lesson_sky",
            "name": "Optional sky",
            "enabled": true,
            "probability": 1,
            "cooldown": 0,
            "outcomes": [
              {
                "id": "red",
                "weight": 2,
                "conditions": [],
                "match": "all",
                "actions": [
                  {
                    "kind": "state",
                    "target": "lesson_observed",
                    "value": true
                  },
                  {
                    "kind": "message",
                    "value": "The prism shows a red sky."
                  }
                ]
              },
              {
                "id": "blue",
                "weight": 1,
                "conditions": [],
                "match": "all",
                "actions": [
                  {
                    "kind": "state",
                    "target": "lesson_observed",
                    "value": true
                  },
                  {
                    "kind": "message",
                    "value": "The prism shows a blue sky."
                  }
                ]
              }
            ]
          }
        },
        {
          "path": "manifest.story.features.variations",
          "key": "lesson_stars",
          "after": {
            "id": "lesson_stars",
            "name": "Telescope sequence",
            "mode": "sequence",
            "texts": [
              "A bright star rises.",
              "A pale moon shines."
            ]
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_open",
          "after": {
            "id": "lesson_open",
            "name": "open",
            "enabled": true,
            "verbs": [
              "use"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_key",
                "disposition": "retain"
              }
            ],
            "tools": [],
            "target": {
              "kind": "object",
              "id": "lesson_door"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_opened",
                "value": true
              }
            ],
            "once": true,
            "success": "The key opens the door. The north route is ready.",
            "failure": "Carry the brass key and use it with the door.",
            "repeat": "The door is already open."
          }
        },
        {
          "path": "manifest.story.features.endings",
          "key": "lesson_garden_ending",
          "after": {
            "id": "lesson_garden_ending",
            "name": "Garden reached",
            "enabled": true,
            "automatic": true,
            "priority": 1,
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_opened",
                "operator": "==",
                "value": true
              },
              {
                "kind": "room",
                "target": "lesson_garden",
                "operator": "==",
                "value": true
              }
            ],
            "match": "all",
            "text": "You reach the garden. Your observations were optional; the key provided a guaranteed way through.",
            "actions": [
              {
                "kind": "state",
                "target": "lesson_done",
                "value": true
              },
              {
                "kind": "score",
                "value": 100
              }
            ]
          }
        },
        {
          "path": "manifest.story.features.randomSeed",
          "key": "$value",
          "after": 20261102
        },
        {
          "path": "manifest.story.features.language",
          "key": "$value",
          "after": {
            "version": 1,
            "sourceLanguage": "en",
            "defaultLanguage": "en",
            "languages": [
              "en",
              "es"
            ],
            "catalog": [
              {
                "id": "text_4smeaz",
                "key": "room/lesson_room/name",
                "source": "Sky Workshop",
                "translations": {
                  "es": {
                    "text": "Taller del cielo",
                    "source": "Sky Workshop"
                  }
                }
              },
              {
                "id": "text_1sedov6",
                "key": "room/lesson_room/description",
                "source": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English.",
                "translations": {
                  "es": {
                    "text": "Toma la llave de latón, úsala con la puerta y ve al norte. El prisma y el telescopio añaden variedad opcional. Escribe LANGUAGE ES para español o LANGUAGE EN para inglés.",
                    "source": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English."
                  }
                }
              },
              {
                "id": "text_ev0j1o",
                "key": "room/lesson_room/blocked/north",
                "source": "The door is closed. Use the carried brass key with it.",
                "translations": {
                  "es": {
                    "text": "La puerta está cerrada. Usa la llave que llevas.",
                    "source": "The door is closed. Use the carried brass key with it."
                  }
                }
              },
              {
                "id": "text_105miul",
                "key": "room/lesson_garden/name",
                "source": "Quiet Garden",
                "translations": {
                  "es": {
                    "text": "Jardín tranquilo",
                    "source": "Quiet Garden"
                  }
                }
              },
              {
                "id": "text_1yppzw0",
                "key": "room/lesson_garden/description",
                "source": "The key opened the route to this garden.",
                "translations": {}
              },
              {
                "id": "text_1wyras7",
                "key": "object/lesson_key/name",
                "source": "brass key",
                "translations": {
                  "es": {
                    "text": "llave de latón",
                    "source": "brass key"
                  }
                }
              },
              {
                "id": "text_h5iehi",
                "key": "object/lesson_key/description",
                "source": "Use this with the door.",
                "translations": {}
              },
              {
                "id": "text_1al02tn",
                "key": "object/lesson_key/aliases/0",
                "source": "key",
                "translations": {}
              },
              {
                "id": "text_1ab0h4o",
                "key": "object/lesson_key/aliases/1",
                "source": "llave",
                "translations": {}
              },
              {
                "id": "text_1b4za7l",
                "key": "object/lesson_key/aliases/2",
                "source": "llave de latón",
                "translations": {}
              },
              {
                "id": "text_2c3jcq",
                "key": "object/lesson_door/name",
                "source": "door",
                "translations": {
                  "es": {
                    "text": "puerta",
                    "source": "door"
                  }
                }
              },
              {
                "id": "text_opvv39",
                "key": "object/lesson_door/description",
                "source": "The key opens this door.",
                "translations": {}
              },
              {
                "id": "text_qogjsc",
                "key": "object/lesson_door/aliases/0",
                "source": "puerta",
                "translations": {}
              },
              {
                "id": "text_1yf2kep",
                "key": "object/lesson_prism/name",
                "source": "prism",
                "translations": {
                  "es": {
                    "text": "prisma",
                    "source": "prism"
                  }
                }
              },
              {
                "id": "text_1r233po",
                "key": "object/lesson_prism/description",
                "source": "Use for an optional sky observation.",
                "translations": {}
              },
              {
                "id": "text_16a7mmh",
                "key": "object/lesson_prism/aliases/0",
                "source": "prisma",
                "translations": {}
              },
              {
                "id": "text_14hpyue",
                "key": "object/lesson_telescope/name",
                "source": "telescope",
                "translations": {
                  "es": {
                    "text": "telescopio",
                    "source": "telescope"
                  }
                }
              },
              {
                "id": "text_1cuupex",
                "key": "object/lesson_telescope/description",
                "source": "Examine for changing prose.",
                "translations": {}
              },
              {
                "id": "text_1ebc71c",
                "key": "object/lesson_telescope/aliases/0",
                "source": "telescopio",
                "translations": {}
              },
              {
                "id": "text_djrs5",
                "key": "rules/lesson_roll/name",
                "source": "roll",
                "translations": {}
              },
              {
                "id": "text_1k5trx0",
                "key": "rules/lesson_vary/name",
                "source": "vary",
                "translations": {}
              },
              {
                "id": "text_1525hfu",
                "key": "features/randomTables/lesson_sky/name",
                "source": "Optional sky",
                "translations": {}
              },
              {
                "id": "text_199w0ua",
                "key": "features/randomTables/lesson_sky/outcomes/red/actions/1/value",
                "source": "The prism shows a red sky.",
                "translations": {
                  "es": {
                    "text": "El prisma muestra un cielo rojo.",
                    "source": "The prism shows a red sky."
                  }
                }
              },
              {
                "id": "text_r2ibi3",
                "key": "features/randomTables/lesson_sky/outcomes/blue/actions/1/value",
                "source": "The prism shows a blue sky.",
                "translations": {
                  "es": {
                    "text": "El prisma muestra un cielo azul.",
                    "source": "The prism shows a blue sky."
                  }
                }
              },
              {
                "id": "text_1rregim",
                "key": "features/variations/lesson_stars/name",
                "source": "Telescope sequence",
                "translations": {}
              },
              {
                "id": "text_132kg0g",
                "key": "features/variations/lesson_stars/texts/0",
                "source": "A bright star rises.",
                "translations": {
                  "es": {
                    "text": "Sale una estrella brillante.",
                    "source": "A bright star rises."
                  }
                }
              },
              {
                "id": "text_13ck1pf",
                "key": "features/variations/lesson_stars/texts/1",
                "source": "A pale moon shines.",
                "translations": {
                  "es": {
                    "text": "Brilla una luna pálida.",
                    "source": "A pale moon shines."
                  }
                }
              },
              {
                "id": "text_1llbniu",
                "key": "features/recipes/lesson_open/name",
                "source": "open",
                "translations": {}
              },
              {
                "id": "text_1633pb4",
                "key": "features/recipes/lesson_open/success",
                "source": "The key opens the door. The north route is ready.",
                "translations": {
                  "es": {
                    "text": "La llave abre la puerta. La ruta al norte está abierta.",
                    "source": "The key opens the door. The north route is ready."
                  }
                }
              },
              {
                "id": "text_a90toh",
                "key": "features/recipes/lesson_open/failure",
                "source": "Carry the brass key and use it with the door.",
                "translations": {
                  "es": {
                    "text": "Lleva la llave de latón y úsala con la puerta.",
                    "source": "Carry the brass key and use it with the door."
                  }
                }
              },
              {
                "id": "text_1qmbbne",
                "key": "features/recipes/lesson_open/repeat",
                "source": "The door is already open.",
                "translations": {
                  "es": {
                    "text": "La puerta ya está abierta.",
                    "source": "The door is already open."
                  }
                }
              },
              {
                "id": "text_lc8w3u",
                "key": "features/endings/lesson_garden_ending/name",
                "source": "Garden reached",
                "translations": {}
              },
              {
                "id": "text_1csfvky",
                "key": "features/endings/lesson_garden_ending/text",
                "source": "You reach the garden. Your observations were optional; the key provided a guaranteed way through.",
                "translations": {
                  "es": {
                    "text": "Llegas al jardín. Las observaciones eran opcionales; la llave aseguraba el paso.",
                    "source": "You reach the garden. Your observations were optional; the key provided a guaranteed way through."
                  }
                }
              }
            ]
          }
        }
      ]
    }
  ],
  "creatorNotes": "A guaranteed key puzzle has English and Spanish text. Optional prism outcomes use a fixed random seed, while telescope prose follows a repeating sequence. Neither variety nor language changes the puzzle requirements. Open this recipe in Help to inspect its saved settings.",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Sky Workshop",
      "description": "Take the brass key, use it with the door, then go north. The prism and telescope add optional variety. Type LANGUAGE ES for Spanish or LANGUAGE EN for English.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {
        "north": "The door is closed. Use the carried brass key with it."
      }
    },
    {
      "id": "lesson_garden",
      "name": "Quiet Garden",
      "description": "The key opened the route to this garden.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 320,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [
    {
      "id": "lesson_route_north",
      "fromRoom": "lesson_room",
      "toRoom": "lesson_garden",
      "direction": "north",
      "locked": false,
      "when": "lesson_opened"
    }
  ],
  "objects": [
    {
      "id": "lesson_key",
      "name": "brass key",
      "description": "Use this with the door.",
      "article": "",
      "location": "lesson_room",
      "aliases": [
        "key",
        "llave",
        "llave de latón"
      ],
      "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_door",
      "name": "door",
      "description": "The key opens this door.",
      "article": "",
      "location": "lesson_room",
      "aliases": [
        "puerta"
      ],
      "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_prism",
      "name": "prism",
      "description": "Use for an optional sky observation.",
      "article": "",
      "location": "lesson_room",
      "aliases": [
        "prisma"
      ],
      "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_telescope",
      "name": "telescope",
      "description": "Examine for changing prose.",
      "article": "",
      "location": "lesson_room",
      "aliases": [
        "telescopio"
      ],
      "visible": true,
      "takeable": false,
      "droppable": false,
      "useGive": false,
      "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"
  ]
}
