{
  "version": "1.1",
  "name": "Pressure Plate Requires Heavy Object",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "Put the iron statue on a real pressure plate to hold the north door open. A pebble is too light. Taking the statue off closes the door again; putting it back reopens it.",
  "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 needs the iron statue resting on the pressure plate.\"\n  exit north: lesson_beyond when: lesson_open\n  name: \"Pressure Plate Room\"\n  description: \"Take the iron statue and PUT IRON STATUE ON PRESSURE PLATE. The north door stays open only while that weight is on the plate.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_beyond.taml",
      "content": "room lesson_beyond\n  exit south: lesson_room\n  name: \"Weight Gate Landing\"\n  description: \"The pressure plate room is south.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_plate.taml",
      "content": "object lesson_plate\n  name: \"pressure plate\"\n  description: \"A broad plate that needs the iron statue’s weight.\"\n  contents_v1: \"{\\\"version\\\":1,\\\"kind\\\":\\\"surface\\\"}\"\n  location: lesson_room\n  droppable: false\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_weight.taml",
      "content": "object lesson_weight\n  name: \"iron statue\"\n  description: \"A heavy iron statue that fits the pressure plate.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_pebble.taml",
      "content": "object lesson_pebble\n  name: \"pebble\"\n  description: \"A small stone, too light for the plate.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/sample_field_journal.taml",
      "content": "object sample_field_journal\n  name: \"field journal\"\n  description: \"Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.\"\n  location: inventory\n  aliases: [\"journal\"]\n  takeable: true\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    }
  ],
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_open",
        "name": "open",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_crossed",
        "name": "crossed",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_cross",
        "name": "cross",
        "enabled": true,
        "trigger": {
          "kind": "room",
          "target": "lesson_beyond",
          "event": "enter"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_crossed",
            "value": true
          },
          {
            "kind": "message",
            "value": "You cross while the iron statue holds the plate down."
          }
        ],
        "otherwise": "",
        "once": true
      },
      {
        "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_crossed",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "The real placed statue held the pressure plate and its door. 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_plate",
          "name": "Physical pressure plate",
          "description": "Physical pressure plate",
          "category": "Creator Cookbook",
          "enabled": true,
          "autoStart": true,
          "inputs": [],
          "variables": [],
          "scope": {
            "kind": "global",
            "rooms": []
          },
          "initialPhase": "",
          "phases": [],
          "rules": [
            {
              "id": "sense_weight",
              "name": "sense weight",
              "enabled": true,
              "trigger": {
                "kind": "turn",
                "target": "",
                "event": ""
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "objective",
                    "criterion": {
                      "kind": "object_at",
                      "target": "lesson_weight",
                      "targetKind": "object",
                      "secondary": "lesson_plate",
                      "destinationKind": "object",
                      "detail": "on"
                    }
                  }
                ]
              },
              "actions": [
                {
                  "kind": "state",
                  "target": "lesson_open",
                  "value": true
                }
              ],
              "otherwise": [
                {
                  "kind": "state",
                  "target": "lesson_open",
                  "value": false
                }
              ],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 0
            }
          ]
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "51-pressure-plate-requires-heavy-object",
        "choices": {
          "room": {
            "existing": "",
            "name": "Pressure Plate Room",
            "description": "Take the iron statue and PUT IRON STATUE ON PRESSURE PLATE. The north door stays open only while that weight is on the plate."
          },
          "beyond": {
            "existing": "",
            "name": "Weight Gate Landing",
            "description": "The pressure plate room is south."
          },
          "plate": {
            "existing": "",
            "name": "pressure plate",
            "description": "A broad plate that needs the iron statue’s weight."
          },
          "weight": {
            "existing": "",
            "name": "iron statue",
            "description": "A heavy iron statue that fits the pressure plate."
          },
          "pebble": {
            "existing": "",
            "name": "pebble",
            "description": "A small stone, too light for the plate."
          }
        },
        "values": {
          "blocked": "The door needs the iron statue resting on the pressure plate.",
          "arrive": "You cross while the iron statue holds the plate down."
        },
        "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 needs the iron statue resting on the pressure plate.\"\n  exit north: lesson_beyond when: lesson_open\n  name: \"Pressure Plate Room\"\n  description: \"Take the iron statue and PUT IRON STATUE ON PRESSURE PLATE. The north door stays open only while that weight is on the plate.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_beyond.taml",
          "after": {
            "path": "rooms/lesson_beyond.taml",
            "name": "lesson_beyond.taml",
            "content": "room lesson_beyond\n  exit south: lesson_room\n  name: \"Weight Gate Landing\"\n  description: \"The pressure plate room is south.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_plate.taml",
          "after": {
            "path": "objects/lesson_plate.taml",
            "name": "lesson_plate.taml",
            "content": "object lesson_plate\n  name: \"pressure plate\"\n  description: \"A broad plate that needs the iron statue’s weight.\"\n  contents_v1: \"{\\\"version\\\":1,\\\"kind\\\":\\\"surface\\\"}\"\n  location: lesson_room\n  droppable: false\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_weight.taml",
          "after": {
            "path": "objects/lesson_weight.taml",
            "name": "lesson_weight.taml",
            "content": "object lesson_weight\n  name: \"iron statue\"\n  description: \"A heavy iron statue that fits the pressure plate.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_pebble.taml",
          "after": {
            "path": "objects/lesson_pebble.taml",
            "name": "lesson_pebble.taml",
            "content": "object lesson_pebble\n  name: \"pebble\"\n  description: \"A small stone, too light for the plate.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_plate",
          "after": {
            "id": "lesson_plate",
            "name": "pressure plate",
            "description": "A broad plate that needs the iron statue’s weight.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "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": [],
            "contents": {
              "version": 1,
              "kind": "surface"
            }
          }
        },
        {
          "path": "objects",
          "key": "lesson_weight",
          "after": {
            "id": "lesson_weight",
            "name": "iron statue",
            "description": "A heavy iron statue that fits the pressure plate.",
            "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_pebble",
          "after": {
            "id": "lesson_pebble",
            "name": "pebble",
            "description": "A small stone, too light for the plate.",
            "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": "mapRooms",
          "key": "lesson_room",
          "after": {
            "id": "lesson_room",
            "name": "Pressure Plate Room",
            "description": "Take the iron statue and PUT IRON STATUE ON PRESSURE PLATE. The north door stays open only while that weight is on the plate.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {
              "north": "The door needs the iron statue resting on the pressure plate."
            }
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_beyond",
          "after": {
            "id": "lesson_beyond",
            "name": "Weight Gate Landing",
            "description": "The pressure plate room is south.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 320,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_door",
          "after": {
            "id": "lesson_route_door",
            "fromRoom": "lesson_room",
            "toRoom": "lesson_beyond",
            "direction": "north",
            "locked": false,
            "when": "lesson_open"
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_back",
          "after": {
            "id": "lesson_route_back",
            "fromRoom": "lesson_beyond",
            "toRoom": "lesson_room",
            "direction": "south",
            "locked": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_open",
          "after": {
            "id": "lesson_open",
            "name": "open",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_crossed",
          "after": {
            "id": "lesson_crossed",
            "name": "crossed",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_cross",
          "after": {
            "id": "lesson_cross",
            "name": "cross",
            "enabled": true,
            "trigger": {
              "kind": "room",
              "target": "lesson_beyond",
              "event": "enter"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_crossed",
                "value": true
              },
              {
                "kind": "message",
                "value": "You cross while the iron statue holds the plate down."
              }
            ],
            "otherwise": "",
            "once": true
          }
        },
        {
          "path": "manifest.story.features.mechanics",
          "key": "lesson_plate",
          "after": {
            "version": 1,
            "id": "lesson_plate",
            "name": "Physical pressure plate",
            "description": "Physical pressure plate",
            "category": "Creator Cookbook",
            "enabled": true,
            "autoStart": true,
            "inputs": [],
            "variables": [],
            "scope": {
              "kind": "global",
              "rooms": []
            },
            "initialPhase": "",
            "phases": [],
            "rules": [
              {
                "id": "sense_weight",
                "name": "sense weight",
                "enabled": true,
                "trigger": {
                  "kind": "turn",
                  "target": "",
                  "event": ""
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "objective",
                      "criterion": {
                        "kind": "object_at",
                        "target": "lesson_weight",
                        "targetKind": "object",
                        "secondary": "lesson_plate",
                        "destinationKind": "object",
                        "detail": "on"
                      }
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "state",
                    "target": "lesson_open",
                    "value": true
                  }
                ],
                "otherwise": [
                  {
                    "kind": "state",
                    "target": "lesson_open",
                    "value": false
                  }
                ],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 0
              }
            ]
          }
        }
      ]
    }
  ],
  "creatorNotes": "Put the iron statue on a real pressure plate to hold the north door open. A pebble is too light. Taking the statue off closes the door again; putting it back reopens it.\nOpen Help → Cookbook → Pressure Plate Requires Heavy Object → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: north; take pebble; put pebble on pressure plate; take iron statue; put iron statue on pressure plate; north; south; take iron statue from pressure plate; north; put iron statue on pressure plate; north; use field journal",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Pressure Plate Room",
      "description": "Take the iron statue and PUT IRON STATUE ON PRESSURE PLATE. The north door stays open only while that weight is on the plate.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {
        "north": "The door needs the iron statue resting on the pressure plate."
      }
    },
    {
      "id": "lesson_beyond",
      "name": "Weight Gate Landing",
      "description": "The pressure plate room is south.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 320,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    }
  ],
  "mapExits": [
    {
      "id": "lesson_route_door",
      "fromRoom": "lesson_room",
      "toRoom": "lesson_beyond",
      "direction": "north",
      "locked": false,
      "when": "lesson_open"
    },
    {
      "id": "lesson_route_back",
      "fromRoom": "lesson_beyond",
      "toRoom": "lesson_room",
      "direction": "south",
      "locked": false
    }
  ],
  "objects": [
    {
      "id": "lesson_plate",
      "name": "pressure plate",
      "description": "A broad plate that needs the iron statue’s weight.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "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": [],
      "contents": {
        "version": 1,
        "kind": "surface"
      }
    },
    {
      "id": "lesson_weight",
      "name": "iron statue",
      "description": "A heavy iron statue that fits the pressure plate.",
      "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_pebble",
      "name": "pebble",
      "description": "A small stone, too light for the plate.",
      "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": "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",
    "object-contents-v1",
    "creator-features-v1",
    "mechanics-builder-v1"
  ]
}
