{
  "version": "1.1",
  "name": "Use Lantern to Light a Dark Room",
  "startRoom": "lesson_hall",
  "author": "TAGMaker",
  "description": "A carried lantern lights a genuinely dark cellar. Searching without light fails; searching with light reveals a hidden key. Using the lantern again turns it off.",
  "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_hall.taml",
      "content": "room lesson_hall\n  exit north: lesson_cellar\n  name: \"Cellar Landing\"\n  description: \"Take the lantern and use it to switch it on. The dark cellar is north.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_cellar.taml",
      "content": "room lesson_cellar\n  exit south: lesson_hall\n  name: \"Dark Cellar\"\n  description: \"Broken boards line the cellar. Search here with a lit lantern to find a key.\"\n  dark: true\nend"
    },
    {
      "path": "objects/lesson_lamp.taml",
      "content": "object lesson_lamp\n  name: \"lantern\"\n  description: \"A lantern with a limited fuel supply. Carry it, then use it to turn the light on or off.\"\n  location: lesson_hall\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_key.taml",
      "content": "object lesson_key\n  name: \"rusted key\"\n  description: \"A rusted key from beneath the boards.\"\n  location: lesson_cellar\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_found",
        "name": "found",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_search",
        "name": "search",
        "enabled": true,
        "trigger": {
          "kind": "room",
          "target": "lesson_cellar",
          "event": "search"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "light",
            "target": "current",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "reveal",
            "target": "lesson_key"
          },
          {
            "kind": "state",
            "target": "lesson_found",
            "value": true
          },
          {
            "kind": "message",
            "value": "Something metal glints beneath a broken board. You reveal a rusted key."
          }
        ],
        "otherwise": "The cellar is too dark to search properly. Carry and use the lantern.",
        "once": true,
        "repeatText": "You find nothing else beneath the boards."
      },
      {
        "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_found",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "The lantern let you search the dark cellar and find its hidden key. 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,
      "mechanics": [
        {
          "version": 1,
          "id": "lesson_light",
          "name": "lantern light",
          "description": "A carried light can be switched on and off, consumes finite fuel, and illuminates native dark rooms independently of other lights.",
          "category": "Classic Mechanics",
          "enabled": true,
          "autoStart": true,
          "inputs": [
            {
              "id": "light",
              "name": "Takeable light object",
              "kind": "object",
              "required": true,
              "value": "lesson_lamp"
            },
            {
              "id": "fuel",
              "name": "Turns of light",
              "kind": "number",
              "required": true,
              "value": 30,
              "min": 1,
              "max": 10000
            }
          ],
          "variables": [
            {
              "id": "fuel",
              "name": "Light fuel remaining",
              "type": "number",
              "initial": "$fuel",
              "min": 0,
              "max": 10000,
              "showInPlayer": true
            }
          ],
          "scope": {
            "kind": "global",
            "rooms": []
          },
          "initialPhase": "off",
          "phases": [
            {
              "id": "off",
              "name": "Off",
              "onEnter": [
                {
                  "kind": "lighting",
                  "value": false
                }
              ],
              "onExit": []
            },
            {
              "id": "on",
              "name": "On",
              "onEnter": [
                {
                  "kind": "lighting",
                  "value": true
                },
                {
                  "kind": "message",
                  "value": "Your light illuminates the darkness."
                }
              ],
              "onExit": [
                {
                  "kind": "lighting",
                  "value": false
                }
              ]
            }
          ],
          "rules": [
            {
              "id": "ignite",
              "name": "Use a carried fueled light",
              "enabled": true,
              "trigger": {
                "kind": "object",
                "target": "$light",
                "event": "use"
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "event",
                    "field": "secondary",
                    "operator": "==",
                    "value": ""
                  },
                  {
                    "match": "all",
                    "conditions": [
                      {
                        "kind": "objective",
                        "criterion": {
                          "kind": "object_possessed",
                          "target": "$light",
                          "targetKind": "object"
                        }
                      },
                      {
                        "kind": "local",
                        "target": "fuel",
                        "operator": ">",
                        "value": 0
                      }
                    ]
                  }
                ]
              },
              "actions": [
                {
                  "kind": "phase",
                  "target": "on"
                }
              ],
              "otherwise": [
                {
                  "kind": "message",
                  "value": "Carry the light, and check that it still has fuel."
                }
              ],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 0,
              "phase": "off"
            },
            {
              "id": "extinguish",
              "name": "Switch the light off",
              "enabled": true,
              "trigger": {
                "kind": "object",
                "target": "$light",
                "event": "use"
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "event",
                    "field": "secondary",
                    "operator": "==",
                    "value": ""
                  },
                  {
                    "match": "all",
                    "conditions": []
                  }
                ]
              },
              "actions": [
                {
                  "kind": "phase",
                  "target": "off"
                },
                {
                  "kind": "message",
                  "value": "You extinguish the light."
                }
              ],
              "otherwise": [],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 0,
              "phase": "on"
            },
            {
              "id": "drop",
              "name": "Dropping the light stops its illumination",
              "enabled": true,
              "trigger": {
                "kind": "object",
                "target": "$light",
                "event": "drop"
              },
              "conditions": {
                "match": "all",
                "conditions": []
              },
              "actions": [
                {
                  "kind": "phase",
                  "target": "off"
                }
              ],
              "otherwise": [],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 0,
              "phase": "on"
            },
            {
              "id": "carry",
              "name": "Losing possession extinguishes it",
              "enabled": true,
              "trigger": {
                "kind": "turn",
                "target": "",
                "event": ""
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "match": "not",
                    "conditions": [
                      {
                        "kind": "objective",
                        "criterion": {
                          "kind": "object_possessed",
                          "target": "$light",
                          "targetKind": "object"
                        }
                      }
                    ]
                  }
                ]
              },
              "actions": [
                {
                  "kind": "phase",
                  "target": "off"
                }
              ],
              "otherwise": [],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 30,
              "phase": "on"
            },
            {
              "id": "burn",
              "name": "Burn one fuel unit per active turn",
              "enabled": true,
              "trigger": {
                "kind": "turn",
                "target": "",
                "event": ""
              },
              "conditions": {
                "match": "all",
                "conditions": []
              },
              "actions": [
                {
                  "kind": "local",
                  "target": "fuel",
                  "operation": "subtract",
                  "value": 1
                }
              ],
              "otherwise": [],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 20,
              "phase": "on"
            },
            {
              "id": "spent",
              "name": "Extinguish at zero fuel",
              "enabled": true,
              "trigger": {
                "kind": "turn",
                "target": "",
                "event": ""
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "local",
                    "target": "fuel",
                    "operator": "<=",
                    "value": 0
                  }
                ]
              },
              "actions": [
                {
                  "kind": "phase",
                  "target": "off"
                },
                {
                  "kind": "message",
                  "value": "Your light runs out of fuel."
                }
              ],
              "otherwise": [],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 0,
              "phase": "on"
            }
          ],
          "sourcePreset": "legacy_light_source",
          "notes": "A takeable light object.\nMark relevant rooms Dark in Room Setup. Fuel and light lifecycle are editable.",
          "onControl": {
            "disable": [
              {
                "kind": "lighting",
                "value": false
              },
              {
                "kind": "phase",
                "target": "off"
              }
            ],
            "complete": [
              {
                "kind": "lighting",
                "value": false
              },
              {
                "kind": "phase",
                "target": "off"
              }
            ],
            "fail": [
              {
                "kind": "lighting",
                "value": false
              },
              {
                "kind": "phase",
                "target": "off"
              }
            ],
            "reset": [
              {
                "kind": "lighting",
                "value": false
              },
              {
                "kind": "phase",
                "target": "off"
              }
            ]
          }
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "13-use-lantern-to-light-a-dark-room",
        "choices": {
          "hall": {
            "existing": "",
            "name": "Cellar Landing",
            "description": "Take the lantern and use it to switch it on. The dark cellar is north."
          },
          "cellar": {
            "existing": "",
            "name": "Dark Cellar",
            "description": "Broken boards line the cellar. Search here with a lit lantern to find a key."
          },
          "lamp": {
            "existing": "",
            "name": "lantern",
            "description": "A lantern with a limited fuel supply. Carry it, then use it to turn the light on or off."
          },
          "key": {
            "existing": "",
            "name": "rusted key",
            "description": "A rusted key from beneath the boards."
          }
        },
        "values": {
          "fuel": 30,
          "success": "Something metal glints beneath a broken board. You reveal a rusted key.",
          "failure": "The cellar is too dark to search properly. Carry and use the lantern.",
          "repeat": "You find nothing else beneath the boards."
        },
        "reuseRoutes": {}
      },
      "owned": [
        {
          "path": "files",
          "key": "rooms/lesson_hall.taml",
          "after": {
            "path": "rooms/lesson_hall.taml",
            "name": "lesson_hall.taml",
            "content": "room lesson_hall\n  exit north: lesson_cellar\n  name: \"Cellar Landing\"\n  description: \"Take the lantern and use it to switch it on. The dark cellar is north.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_cellar.taml",
          "after": {
            "path": "rooms/lesson_cellar.taml",
            "name": "lesson_cellar.taml",
            "content": "room lesson_cellar\n  exit south: lesson_hall\n  name: \"Dark Cellar\"\n  description: \"Broken boards line the cellar. Search here with a lit lantern to find a key.\"\n  dark: true\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_lamp.taml",
          "after": {
            "path": "objects/lesson_lamp.taml",
            "name": "lesson_lamp.taml",
            "content": "object lesson_lamp\n  name: \"lantern\"\n  description: \"A lantern with a limited fuel supply. Carry it, then use it to turn the light on or off.\"\n  location: lesson_hall\n  takeable: true\n  use_give: true\n  weight: 0.1\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: \"rusted key\"\n  description: \"A rusted key from beneath the boards.\"\n  location: lesson_cellar\n  visible: false\n  takeable: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_lamp",
          "after": {
            "id": "lesson_lamp",
            "name": "lantern",
            "description": "A lantern with a limited fuel supply. Carry it, then use it to turn the light on or off.",
            "article": "",
            "location": "lesson_hall",
            "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_key",
          "after": {
            "id": "lesson_key",
            "name": "rusted key",
            "description": "A rusted key from beneath the boards.",
            "article": "",
            "location": "lesson_cellar",
            "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_hall",
          "after": {
            "id": "lesson_hall",
            "name": "Cellar Landing",
            "description": "Take the lantern and use it to switch it on. The dark cellar is north.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_cellar",
          "after": {
            "id": "lesson_cellar",
            "name": "Dark Cellar",
            "description": "Broken boards line the cellar. Search here with a lit lantern to find a key.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": true,
            "roomType": "regular",
            "x": 320,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_cellar",
          "after": {
            "id": "lesson_route_cellar",
            "fromRoom": "lesson_hall",
            "toRoom": "lesson_cellar",
            "direction": "north",
            "locked": false
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_return",
          "after": {
            "id": "lesson_route_return",
            "fromRoom": "lesson_cellar",
            "toRoom": "lesson_hall",
            "direction": "south",
            "locked": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_found",
          "after": {
            "id": "lesson_found",
            "name": "found",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_search",
          "after": {
            "id": "lesson_search",
            "name": "search",
            "enabled": true,
            "trigger": {
              "kind": "room",
              "target": "lesson_cellar",
              "event": "search"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "light",
                "target": "current",
                "operator": "==",
                "value": true
              }
            ],
            "actions": [
              {
                "kind": "reveal",
                "target": "lesson_key"
              },
              {
                "kind": "state",
                "target": "lesson_found",
                "value": true
              },
              {
                "kind": "message",
                "value": "Something metal glints beneath a broken board. You reveal a rusted key."
              }
            ],
            "otherwise": "The cellar is too dark to search properly. Carry and use the lantern.",
            "once": true,
            "repeatText": "You find nothing else beneath the boards."
          }
        },
        {
          "path": "manifest.story.features.mechanics",
          "key": "lesson_light",
          "after": {
            "version": 1,
            "id": "lesson_light",
            "name": "lantern light",
            "description": "A carried light can be switched on and off, consumes finite fuel, and illuminates native dark rooms independently of other lights.",
            "category": "Classic Mechanics",
            "enabled": true,
            "autoStart": true,
            "inputs": [
              {
                "id": "light",
                "name": "Takeable light object",
                "kind": "object",
                "required": true,
                "value": "lesson_lamp"
              },
              {
                "id": "fuel",
                "name": "Turns of light",
                "kind": "number",
                "required": true,
                "value": 30,
                "min": 1,
                "max": 10000
              }
            ],
            "variables": [
              {
                "id": "fuel",
                "name": "Light fuel remaining",
                "type": "number",
                "initial": "$fuel",
                "min": 0,
                "max": 10000,
                "showInPlayer": true
              }
            ],
            "scope": {
              "kind": "global",
              "rooms": []
            },
            "initialPhase": "off",
            "phases": [
              {
                "id": "off",
                "name": "Off",
                "onEnter": [
                  {
                    "kind": "lighting",
                    "value": false
                  }
                ],
                "onExit": []
              },
              {
                "id": "on",
                "name": "On",
                "onEnter": [
                  {
                    "kind": "lighting",
                    "value": true
                  },
                  {
                    "kind": "message",
                    "value": "Your light illuminates the darkness."
                  }
                ],
                "onExit": [
                  {
                    "kind": "lighting",
                    "value": false
                  }
                ]
              }
            ],
            "rules": [
              {
                "id": "ignite",
                "name": "Use a carried fueled light",
                "enabled": true,
                "trigger": {
                  "kind": "object",
                  "target": "$light",
                  "event": "use"
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "event",
                      "field": "secondary",
                      "operator": "==",
                      "value": ""
                    },
                    {
                      "match": "all",
                      "conditions": [
                        {
                          "kind": "objective",
                          "criterion": {
                            "kind": "object_possessed",
                            "target": "$light",
                            "targetKind": "object"
                          }
                        },
                        {
                          "kind": "local",
                          "target": "fuel",
                          "operator": ">",
                          "value": 0
                        }
                      ]
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "phase",
                    "target": "on"
                  }
                ],
                "otherwise": [
                  {
                    "kind": "message",
                    "value": "Carry the light, and check that it still has fuel."
                  }
                ],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 0,
                "phase": "off"
              },
              {
                "id": "extinguish",
                "name": "Switch the light off",
                "enabled": true,
                "trigger": {
                  "kind": "object",
                  "target": "$light",
                  "event": "use"
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "event",
                      "field": "secondary",
                      "operator": "==",
                      "value": ""
                    },
                    {
                      "match": "all",
                      "conditions": []
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "phase",
                    "target": "off"
                  },
                  {
                    "kind": "message",
                    "value": "You extinguish the light."
                  }
                ],
                "otherwise": [],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 0,
                "phase": "on"
              },
              {
                "id": "drop",
                "name": "Dropping the light stops its illumination",
                "enabled": true,
                "trigger": {
                  "kind": "object",
                  "target": "$light",
                  "event": "drop"
                },
                "conditions": {
                  "match": "all",
                  "conditions": []
                },
                "actions": [
                  {
                    "kind": "phase",
                    "target": "off"
                  }
                ],
                "otherwise": [],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 0,
                "phase": "on"
              },
              {
                "id": "carry",
                "name": "Losing possession extinguishes it",
                "enabled": true,
                "trigger": {
                  "kind": "turn",
                  "target": "",
                  "event": ""
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "match": "not",
                      "conditions": [
                        {
                          "kind": "objective",
                          "criterion": {
                            "kind": "object_possessed",
                            "target": "$light",
                            "targetKind": "object"
                          }
                        }
                      ]
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "phase",
                    "target": "off"
                  }
                ],
                "otherwise": [],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 30,
                "phase": "on"
              },
              {
                "id": "burn",
                "name": "Burn one fuel unit per active turn",
                "enabled": true,
                "trigger": {
                  "kind": "turn",
                  "target": "",
                  "event": ""
                },
                "conditions": {
                  "match": "all",
                  "conditions": []
                },
                "actions": [
                  {
                    "kind": "local",
                    "target": "fuel",
                    "operation": "subtract",
                    "value": 1
                  }
                ],
                "otherwise": [],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 20,
                "phase": "on"
              },
              {
                "id": "spent",
                "name": "Extinguish at zero fuel",
                "enabled": true,
                "trigger": {
                  "kind": "turn",
                  "target": "",
                  "event": ""
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "local",
                      "target": "fuel",
                      "operator": "<=",
                      "value": 0
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "phase",
                    "target": "off"
                  },
                  {
                    "kind": "message",
                    "value": "Your light runs out of fuel."
                  }
                ],
                "otherwise": [],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 0,
                "phase": "on"
              }
            ],
            "sourcePreset": "legacy_light_source",
            "notes": "A takeable light object.\nMark relevant rooms Dark in Room Setup. Fuel and light lifecycle are editable.",
            "onControl": {
              "disable": [
                {
                  "kind": "lighting",
                  "value": false
                },
                {
                  "kind": "phase",
                  "target": "off"
                }
              ],
              "complete": [
                {
                  "kind": "lighting",
                  "value": false
                },
                {
                  "kind": "phase",
                  "target": "off"
                }
              ],
              "fail": [
                {
                  "kind": "lighting",
                  "value": false
                },
                {
                  "kind": "phase",
                  "target": "off"
                }
              ],
              "reset": [
                {
                  "kind": "lighting",
                  "value": false
                },
                {
                  "kind": "phase",
                  "target": "off"
                }
              ]
            }
          }
        }
      ]
    }
  ],
  "creatorNotes": "A carried lantern lights a genuinely dark cellar. Searching without light fails; searching with light reveals a hidden key. Using the lantern again turns it off.\nOpen Help → Cookbook → Use Lantern to Light a Dark Room → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: north; search; south; take lantern; use lantern; north; search; take rusted key; search; use lantern; south; use lantern; use field journal",
  "mapRooms": [
    {
      "id": "lesson_hall",
      "name": "Cellar Landing",
      "description": "Take the lantern and use it to switch it on. The dark cellar is north.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    },
    {
      "id": "lesson_cellar",
      "name": "Dark Cellar",
      "description": "Broken boards line the cellar. Search here with a lit lantern to find a key.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": true,
      "roomType": "regular",
      "x": 320,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    }
  ],
  "mapExits": [
    {
      "id": "lesson_route_cellar",
      "fromRoom": "lesson_hall",
      "toRoom": "lesson_cellar",
      "direction": "north",
      "locked": false
    },
    {
      "id": "lesson_route_return",
      "fromRoom": "lesson_cellar",
      "toRoom": "lesson_hall",
      "direction": "south",
      "locked": false
    }
  ],
  "objects": [
    {
      "id": "lesson_lamp",
      "name": "lantern",
      "description": "A lantern with a limited fuel supply. Carry it, then use it to turn the light on or off.",
      "article": "",
      "location": "lesson_hall",
      "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_key",
      "name": "rusted key",
      "description": "A rusted key from beneath the boards.",
      "article": "",
      "location": "lesson_cellar",
      "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",
    "mechanics-builder-v1"
  ]
}
