{
  "version": "1.1",
  "requiredCapabilities": [
    "story-rules-v1",
    "record-replay-v1",
    "object-contents-v1",
    "creator-features-v1"
  ],
  "name": "Containers & Interactions Workshop",
  "author": "TAGMaker",
  "description": "Explore containers, crafting, conversations and NPC routines. Complete the workshop tasks to earn up to 200 points.",
  "startRoom": "workshop",
  "created": "2026-10-22T00:00:00Z",
  "modified": "2026-10-25T22:02:11.746Z",
  "story": {
    "version": 1,
    "states": [
      {
        "id": "power",
        "name": "Workshop powered",
        "description": "Power restored using the panel prompt.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "briefed",
        "name": "Guide briefing complete",
        "description": "The guide explained the escape route.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "alert",
        "name": "Patrol alert",
        "description": "A high-priority routine trigger for manual testing.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "panel_choice",
        "name": "panel choice",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "panel",
          "event": "use"
        },
        "actions": [
          {
            "kind": "prompt",
            "target": "power_choice"
          }
        ],
        "conditions": [],
        "once": false,
        "match": "all",
        "otherwise": "Finish the workshop tasks before leaving."
      },
      {
        "id": "finish",
        "name": "finish",
        "enabled": true,
        "trigger": {
          "kind": "room",
          "target": "yard",
          "event": "enter"
        },
        "actions": [
          {
            "kind": "score",
            "value": 100
          },
          {
            "kind": "message",
            "value": "Workshop checks complete. Maximum score: 200."
          },
          {
            "kind": "end"
          }
        ],
        "conditions": [
          {
            "kind": "state",
            "target": "power",
            "operator": "==",
            "value": true
          },
          {
            "kind": "state",
            "target": "briefed",
            "operator": "==",
            "value": true
          },
          {
            "kind": "inventory",
            "target": "grappling_hook",
            "operator": "==",
            "value": true
          },
          {
            "kind": "inventory",
            "target": "medallion",
            "operator": "==",
            "value": true
          }
        ],
        "once": true,
        "match": "all",
        "otherwise": "Finish the workshop tasks before leaving."
      }
    ],
    "features": {
      "version": 1,
      "commandContext": true,
      "keywordActions": [
        {
          "id": "snow_key",
          "name": "Search the scenery snow",
          "enabled": true,
          "roomId": "workshop",
          "keywords": [
            "snow",
            "snowdrift"
          ],
          "match": "all",
          "conditions": [],
          "actions": [
            {
              "kind": "place",
              "target": "brass_key",
              "destination": "current"
            }
          ],
          "once": true,
          "success": "A brass key glints in the snow.",
          "failure": "You cannot search the snow yet.",
          "repeat": "You have already found the snow's key."
        }
      ],
      "recipes": [
        {
          "id": "hook_rope",
          "name": "Make a grappling hook",
          "enabled": true,
          "verbs": [
            "combine"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "rope",
              "disposition": "consume"
            },
            {
              "objectId": "hook",
              "disposition": "consume"
            }
          ],
          "tools": [],
          "resultObjectId": "grappling_hook",
          "match": "all",
          "conditions": [],
          "actions": [
            {
              "kind": "score",
              "value": 25
            }
          ],
          "once": true,
          "success": "You tie the rope to the hook. +25 points.",
          "failure": "Carry both the rope and hook first.",
          "repeat": "The grappling hook is already assembled."
        }
      ],
      "prompts": [
        {
          "id": "power_choice",
          "name": "Power panel",
          "enabled": true,
          "text": "Restore power to the workshop?",
          "cancelable": true,
          "cancelLabel": "Leave the panel",
          "owner": {
            "kind": "object",
            "id": "panel"
          },
          "options": [
            {
              "id": "yes",
              "label": "Yes, restore power",
              "match": "all",
              "conditions": [
                {
                  "kind": "state",
                  "target": "power",
                  "operator": "==",
                  "value": false
                }
              ],
              "actions": [
                {
                  "kind": "state",
                  "target": "power",
                  "value": true
                },
                {
                  "kind": "score",
                  "value": 25
                },
                {
                  "kind": "message",
                  "value": "Power restored. +25 points."
                }
              ],
              "once": true,
              "unavailable": "disable"
            },
            {
              "id": "no",
              "label": "No, leave it off",
              "match": "all",
              "conditions": [],
              "actions": [
                {
                  "kind": "message",
                  "value": "You leave the controls alone."
                }
              ],
              "once": false,
              "unavailable": "hide"
            }
          ]
        }
      ],
      "conversations": [
        {
          "id": "guide_flow",
          "name": "Guide briefing",
          "enabled": true,
          "npcId": "guide",
          "startNodeId": "hello",
          "nodes": [
            {
              "id": "hello",
              "text": "The guide checks the power lamps.",
              "actions": [],
              "choices": [
                {
                  "id": "brief",
                  "label": "Ask for the escape briefing",
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "state",
                      "target": "power",
                      "operator": "==",
                      "value": true
                    }
                  ],
                  "actions": [
                    {
                      "kind": "state",
                      "target": "briefed",
                      "value": true
                    },
                    {
                      "kind": "score",
                      "value": 50
                    },
                    {
                      "kind": "message",
                      "value": "Carry the medallion and grappling hook, then go north. +50 points."
                    }
                  ],
                  "once": true,
                  "unavailable": "disabled",
                  "next": "details"
                },
                {
                  "id": "leave",
                  "label": "End conversation",
                  "match": "all",
                  "conditions": [],
                  "actions": [],
                  "once": false,
                  "unavailable": "hidden",
                  "next": "$end"
                }
              ]
            },
            {
              "id": "details",
              "text": "The north yard is the exit. You can return to the first topic or finish.",
              "actions": [],
              "choices": [
                {
                  "id": "back",
                  "label": "Return to previous topic",
                  "match": "all",
                  "conditions": [],
                  "actions": [],
                  "once": false,
                  "unavailable": "hidden",
                  "next": "$back"
                },
                {
                  "id": "done",
                  "label": "Finish briefing",
                  "match": "all",
                  "conditions": [],
                  "actions": [],
                  "once": false,
                  "unavailable": "hidden",
                  "next": "$end"
                }
              ]
            }
          ]
        }
      ],
      "routines": [
        {
          "id": "robot_patrol",
          "name": "Workshop robot patrol",
          "enabled": true,
          "npcId": "robot",
          "activities": [
            {
              "id": "investigate",
              "name": "Investigate alert",
              "enabled": true,
              "priority": 20,
              "conditions": [
                {
                  "kind": "state",
                  "target": "alert",
                  "operator": "==",
                  "value": true
                }
              ],
              "match": "all",
              "destinationId": "workshop",
              "duration": 2,
              "actions": [
                {
                  "kind": "message",
                  "value": "The robot investigates the alert."
                }
              ],
              "completionActions": [
                {
                  "kind": "state",
                  "target": "alert",
                  "value": false
                }
              ],
              "nextActivityId": "patrol_yard",
              "once": false
            },
            {
              "id": "patrol_workshop",
              "name": "Visit workshop",
              "enabled": true,
              "priority": 1,
              "conditions": [],
              "match": "all",
              "destinationId": "workshop",
              "duration": 2,
              "actions": [],
              "completionActions": [],
              "nextActivityId": "patrol_yard",
              "once": false
            },
            {
              "id": "patrol_yard",
              "name": "Visit yard",
              "enabled": true,
              "priority": 1,
              "conditions": [],
              "match": "all",
              "destinationId": "yard",
              "duration": 2,
              "actions": [],
              "completionActions": [],
              "nextActivityId": "patrol_workshop",
              "once": false
            }
          ]
        }
      ]
    }
  },
  "files": [
    {
      "path": "scripts/game_start.taml",
      "content": "script on_game_start\n set score = 0\n goto: workshop\nend"
    },
    {
      "path": "scripts/on_turn_end.taml",
      "content": "script on_turn_end\nend"
    },
    {
      "path": "rooms/workshop.taml",
      "content": "room workshop\n name: \"Creator Regression Workshop\"\n description: \"Snow covers the floor beside a locked chest, a workbench and a glass case. A canvas bag, rope and hook are available. A power panel controls the lamps. The guide waits here; the exit yard is north.\"\n exit north: yard\nend"
    },
    {
      "path": "rooms/yard.taml",
      "content": "room yard\n name: \"Exit Yard\"\n description: \"The workshop lies south. Complete the workshop checks to finish with 200 points.\"\n exit south: workshop\nend"
    },
    {
      "path": "objects/bag.taml",
      "content": "object bag\n  name: \"canvas bag\"\n  contents_v1: \"{\\\"version\\\":1,\\\"kind\\\":\\\"container\\\",\\\"open\\\":true,\\\"capacityKg\\\":2}\"\n  location: workshop\n  aliases: [\"bag\"]\n  takeable: true\n  container: true\n  weight: 0.5\nend"
    },
    {
      "path": "objects/chest.taml",
      "content": "object chest\n  name: \"wooden chest\"\n  contents_v1: \"{\\\"version\\\":1,\\\"kind\\\":\\\"container\\\",\\\"locked\\\":true,\\\"keyId\\\":\\\"brass_key\\\",\\\"capacityKg\\\":3}\"\n  location: workshop\n  aliases: [\"chest\"]\n  container: true\n  weight: 2\nend"
    },
    {
      "path": "objects/medallion.taml",
      "content": "object medallion\n  name: \"silver medallion\"\n  contents_v1: \"{\\\"version\\\":1,\\\"placement\\\":{\\\"parentId\\\":\\\"chest\\\",\\\"relation\\\":\\\"inside\\\"}}\"\n  aliases: [\"medallion\"]\n  takeable: true\n  weight: 0.2\nend"
    },
    {
      "path": "objects/brass_key.taml",
      "content": "object brass_key\n  name: \"brass key\"\n  aliases: [\"key\", \"brass\"]\n  takeable: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/copper_key.taml",
      "content": "object copper_key\n  name: \"copper key\"\n  location: workshop\n  aliases: [\"key\", \"copper\"]\n  takeable: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/rope.taml",
      "content": "object rope\n  name: \"rope\"\n  location: workshop\n  takeable: true\n  weight: 0.4\nend"
    },
    {
      "path": "objects/hook.taml",
      "content": "object hook\n  name: \"hook\"\n  location: workshop\n  takeable: true\n  weight: 0.3\nend"
    },
    {
      "path": "objects/grappling_hook.taml",
      "content": "object grappling_hook\n  name: \"grappling hook\"\n  aliases: [\"grappler\"]\n  takeable: true\n  weight: 0.7\nend"
    },
    {
      "path": "objects/panel.taml",
      "content": "object panel\n  name: \"power panel\"\n  location: workshop\n  aliases: [\"panel\"]\n  weight: 0\nend"
    },
    {
      "path": "objects/table.taml",
      "content": "object table\n  name: \"workbench\"\n  contents_v1: \"{\\\"version\\\":1,\\\"kind\\\":\\\"surface\\\",\\\"capacityKg\\\":4}\"\n  location: workshop\n  aliases: [\"table\", \"workbench\"]\n  weight: 5\nend"
    },
    {
      "path": "objects/glass_case.taml",
      "content": "object glass_case\n  name: \"glass case\"\n  contents_v1: \"{\\\"version\\\":1,\\\"kind\\\":\\\"container\\\",\\\"transparent\\\":true}\"\n  location: workshop\n  aliases: [\"case\"]\n  container: true\n  weight: 1\nend"
    },
    {
      "path": "objects/red_token.taml",
      "content": "object red_token\n  name: \"red token\"\n  contents_v1: \"{\\\"version\\\":1,\\\"placement\\\":{\\\"parentId\\\":\\\"glass_case\\\",\\\"relation\\\":\\\"inside\\\"}}\"\n  aliases: [\"token\"]\n  takeable: true\n  weight: 0.1\nend"
    },
    {
      "path": "npcs/guide.taml",
      "content": "npc guide\n  name: \"Guide\"\n  description: \"\"\n  location: workshop\n  mobile: true\n  follow: false\n  health: 100\n  combat_side: neutral\n  auto_fight: false\n  attack_power: 10\n  defense: 0\n  trust: 50\n  dialogue default:\n    print \"guide looks at you in silence.\"\n  end\nend"
    },
    {
      "path": "npcs/robot.taml",
      "content": "npc robot\n  name: \"Patrol Robot\"\n  description: \"\"\n  location: yard\n  mobile: true\n  follow: false\n  health: 100\n  combat_side: neutral\n  auto_fight: false\n  attack_power: 10\n  defense: 0\n  trust: 50\n  dialogue default:\n    print \"robot looks at you in silence.\"\n  end\nend"
    }
  ],
  "objects": [
    {
      "id": "bag",
      "name": "canvas bag",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [
        "bag"
      ],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "container": true,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.5,
      "locked": false,
      "lockKey": "",
      "events": [],
      "contents": {
        "version": 1,
        "kind": "container",
        "open": true,
        "capacityKg": 2
      }
    },
    {
      "id": "chest",
      "name": "wooden chest",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [
        "chest"
      ],
      "visible": true,
      "takeable": false,
      "droppable": true,
      "useGive": false,
      "container": true,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 2,
      "locked": false,
      "lockKey": "",
      "events": [],
      "contents": {
        "version": 1,
        "kind": "container",
        "locked": true,
        "keyId": "brass_key",
        "capacityKg": 3
      }
    },
    {
      "id": "medallion",
      "name": "silver medallion",
      "description": "",
      "article": "",
      "location": "nowhere",
      "aliases": [
        "medallion"
      ],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.2,
      "locked": false,
      "lockKey": "",
      "events": [],
      "contents": {
        "version": 1,
        "placement": {
          "parentId": "chest",
          "relation": "inside"
        }
      }
    },
    {
      "id": "brass_key",
      "name": "brass key",
      "description": "",
      "article": "",
      "location": "nowhere",
      "aliases": [
        "key",
        "brass"
      ],
      "visible": true,
      "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": "copper_key",
      "name": "copper key",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [
        "key",
        "copper"
      ],
      "visible": true,
      "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": "rope",
      "name": "rope",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.4,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "hook",
      "name": "hook",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.3,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "grappling_hook",
      "name": "grappling hook",
      "description": "",
      "article": "",
      "location": "nowhere",
      "aliases": [
        "grappler"
      ],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.7,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "panel",
      "name": "power panel",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [
        "panel"
      ],
      "visible": true,
      "takeable": false,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "table",
      "name": "workbench",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [
        "table",
        "workbench"
      ],
      "visible": true,
      "takeable": false,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 5,
      "locked": false,
      "lockKey": "",
      "events": [],
      "contents": {
        "version": 1,
        "kind": "surface",
        "capacityKg": 4
      }
    },
    {
      "id": "glass_case",
      "name": "glass case",
      "description": "",
      "article": "",
      "location": "workshop",
      "aliases": [
        "case"
      ],
      "visible": true,
      "takeable": false,
      "droppable": true,
      "useGive": false,
      "container": true,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 1,
      "locked": false,
      "lockKey": "",
      "events": [],
      "contents": {
        "version": 1,
        "kind": "container",
        "transparent": true
      }
    },
    {
      "id": "red_token",
      "name": "red token",
      "description": "",
      "article": "",
      "location": "nowhere",
      "aliases": [
        "token"
      ],
      "visible": true,
      "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": [],
      "contents": {
        "version": 1,
        "placement": {
          "parentId": "glass_case",
          "relation": "inside"
        }
      }
    }
  ],
  "npcs": [
    {
      "id": "guide",
      "name": "Guide",
      "description": "",
      "location": "workshop",
      "mobile": true,
      "aliases": [],
      "onEnter": "",
      "onExamine": "",
      "onTalk": "",
      "onAttack": "",
      "onDeath": "",
      "onFollow": "",
      "onAutoAttack": "",
      "onTrustChange": "",
      "onGive": "",
      "onBeforeTalk": "",
      "onAfterTalk": "",
      "onBeforeAttack": "",
      "onAfterAttack": "",
      "onDamage": "",
      "onHeal": "",
      "onMove": "",
      "onLeave": "",
      "followPlayer": false,
      "health": 100,
      "combatSide": "neutral",
      "autoFight": false,
      "attackPower": 10,
      "defense": 0,
      "trustLevel": 50,
      "conversationEnabled": false,
      "convGreeting": "",
      "convFarewell": "",
      "convTopics": [],
      "dialogues": [
        {
          "id": "default",
          "trigger": "default",
          "body": "print \"guide looks at you in silence.\""
        }
      ]
    },
    {
      "id": "robot",
      "name": "Patrol Robot",
      "description": "",
      "location": "yard",
      "mobile": true,
      "aliases": [],
      "onEnter": "",
      "onExamine": "",
      "onTalk": "",
      "onAttack": "",
      "onDeath": "",
      "onFollow": "",
      "onAutoAttack": "",
      "onTrustChange": "",
      "onGive": "",
      "onBeforeTalk": "",
      "onAfterTalk": "",
      "onBeforeAttack": "",
      "onAfterAttack": "",
      "onDamage": "",
      "onHeal": "",
      "onMove": "",
      "onLeave": "",
      "followPlayer": false,
      "health": 100,
      "combatSide": "neutral",
      "autoFight": false,
      "attackPower": 10,
      "defense": 0,
      "trustLevel": 50,
      "conversationEnabled": false,
      "convGreeting": "",
      "convFarewell": "",
      "convTopics": [],
      "dialogues": [
        {
          "id": "default",
          "trigger": "default",
          "body": "print \"robot looks at you in silence.\""
        }
      ]
    }
  ],
  "mapRooms": [
    {
      "id": "workshop",
      "name": "Creator Regression Workshop",
      "description": "Snow covers the floor beside a locked chest, a workbench and a glass case. A canvas bag, rope and hook are available. A power panel controls the lamps. The guide waits here; the exit yard is north.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 180,
      "y": 220,
      "width": 160,
      "height": 64,
      "color": "#000000"
    },
    {
      "id": "yard",
      "name": "Exit Yard",
      "description": "The workshop lies south. Complete the workshop checks to finish with 200 points.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 180,
      "y": 40,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [
    {
      "id": "workshop_yard",
      "fromRoom": "workshop",
      "toRoom": "yard",
      "direction": "north",
      "reverseDirection": "south",
      "locked": false
    }
  ],
  "testRoutes": [
    {
      "version": 1,
      "id": "winning_1",
      "name": "Main winning route",
      "build": "route-replay-v2",
      "sourceHash": "adbfc5d24a7c1e3c",
      "start": "restart",
      "randomness": "deterministic-runtime-v1",
      "steps": [
        {
          "input": "search snow",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[]}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Selected Visit workshop: priority 1; conditions match; 1/2 turns"
            }
          ]
        },
        {
          "input": "take brass key",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"brass_key\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"brass_key\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            }
          ]
        },
        {
          "input": "unlock chest with brass key",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"brass_key\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"brass_key\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            }
          ]
        },
        {
          "input": "open chest",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"chest\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"chest\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            }
          ]
        },
        {
          "input": "take medallion from chest",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.30000000000000004
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"chest\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"chest\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            }
          ]
        },
        {
          "input": "put medallion in bag",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"bag\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"bag\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            }
          ]
        },
        {
          "input": "take bag",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7999999999999999
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"bag\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"bag\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            }
          ]
        },
        {
          "input": "take rope",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.2
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"rope\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"rope\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            }
          ]
        },
        {
          "input": "take hook",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"hook\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"hook\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            }
          ]
        },
        {
          "input": "combine rope with hook",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"hook\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"hook\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            }
          ]
        },
        {
          "input": "use panel",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": "{\"version\":1,\"promptId\":\"power_choice\",\"roomId\":\"workshop\",\"optionIds\":[\"yes\",\"no\"]}"
            }
          ]
        },
        {
          "input": "1",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 50
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            }
          ]
        },
        {
          "input": "talk guide",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 50
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": "{\"version\":1,\"flowId\":\"guide_flow\",\"nodeId\":\"hello\",\"back\":[],\"choiceIds\":[\"brief\",\"leave\"]}"
            }
          ]
        },
        {
          "input": "1",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 100
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": true
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": "{\"version\":1,\"flowId\":\"guide_flow\",\"nodeId\":\"details\",\"back\":[\"hello\"],\"choiceIds\":[\"back\",\"done\"]}"
            },
            {
              "kind": "state",
              "target": "__creator_conversation_done:guide_flow:hello:brief",
              "expected": true
            }
          ]
        },
        {
          "input": "2",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 100
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": true
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__creator_conversation_done:guide_flow:hello:brief",
              "expected": true
            }
          ]
        },
        {
          "input": "north",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "yard"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 200
            },
            {
              "kind": "ending",
              "target": "",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:bag"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1.5
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": true
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 200
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "yard"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__creator_conversation_done:guide_flow:hello:brief",
              "expected": true
            },
            {
              "kind": "state",
              "target": "visited_yard",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_once_finish",
              "expected": true
            }
          ]
        }
      ]
    },
    {
      "version": 1,
      "id": "winning_2",
      "name": "Pronoun and surface route",
      "build": "route-replay-v2",
      "sourceHash": "adbfc5d24a7c1e3c",
      "start": "restart",
      "randomness": "deterministic-runtime-v1",
      "steps": [
        {
          "input": "take hook",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.3
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"hook\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"hook\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Selected Visit workshop: priority 1; conditions match; 1/2 turns"
            }
          ]
        },
        {
          "input": "take rope",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 0
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 0
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"rope\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"rope\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            }
          ]
        },
        {
          "input": "combine hook with rope",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"rope\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"rope\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            }
          ]
        },
        {
          "input": "use panel",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": "{\"version\":1,\"promptId\":\"power_choice\",\"roomId\":\"workshop\",\"optionIds\":[\"yes\",\"no\"]}"
            }
          ]
        },
        {
          "input": "0",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            }
          ]
        },
        {
          "input": "search the snowdrift",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "examine brass key",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"brass_key\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"brass_key\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "take it",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7999999999999999
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": true
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"brass_key\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"brass_key\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "unlock chest with brass key",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7999999999999999
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"brass_key\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"brass_key\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "open chest",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "inside:chest"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2.2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7999999999999999
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"chest\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"chest\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "take medallion from chest",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"chest\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"chest\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "put medallion on workbench",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "on:table"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5.2
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 0.7999999999999999
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"table\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"table\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "take medallion from workbench",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"table\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"table\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "use panel",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 25
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": false
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 25
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": "{\"version\":1,\"promptId\":\"power_choice\",\"roomId\":\"workshop\",\"optionIds\":[\"yes\",\"no\"]}"
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            }
          ]
        },
        {
          "input": "1",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 50
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"object\",\"id\":\"panel\"}],\"lastSingle\":{\"kind\":\"object\",\"id\":\"panel\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_yard\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit workshop"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            }
          ]
        },
        {
          "input": "talk guide",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 50
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": false
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_yard\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit yard: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": "{\"version\":1,\"flowId\":\"guide_flow\",\"nodeId\":\"hello\",\"back\":[],\"choiceIds\":[\"brief\",\"leave\"]}"
            }
          ]
        },
        {
          "input": "1",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 100
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": true
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":null,\"suspended\":[],\"queuedNext\":\"patrol_workshop\"}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Completed Visit yard"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": "{\"version\":1,\"flowId\":\"guide_flow\",\"nodeId\":\"details\",\"back\":[\"hello\"],\"choiceIds\":[\"back\",\"done\"]}"
            },
            {
              "kind": "state",
              "target": "__creator_conversation_done:guide_flow:hello:brief",
              "expected": true
            }
          ]
        },
        {
          "input": "2",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "workshop"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 100
            },
            {
              "kind": "ending",
              "target": "",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": true
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "workshop"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__creator_conversation_done:guide_flow:hello:brief",
              "expected": true
            }
          ]
        },
        {
          "input": "north",
          "checks": [
            {
              "kind": "room",
              "target": "",
              "expected": "yard"
            },
            {
              "kind": "score",
              "target": "",
              "expected": 200
            },
            {
              "kind": "ending",
              "target": "",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "inventory",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "table",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "inventory",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "bag",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "chest",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "medallion",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "medallion",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "brass_key",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "brass_key",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "copper_key",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "copper_key",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "rope",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "rope",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "hook",
              "expected": "at:nowhere"
            },
            {
              "kind": "visible",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "hook",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "grappling_hook",
              "expected": "at:inventory"
            },
            {
              "kind": "visible",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "reachable",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "possessed",
              "target": "grappling_hook",
              "expected": true
            },
            {
              "kind": "placement",
              "target": "panel",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "panel",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "table",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "table",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "table",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "table",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "glass_case",
              "expected": "at:workshop"
            },
            {
              "kind": "visible",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "placement",
              "target": "red_token",
              "expected": "inside:glass_case"
            },
            {
              "kind": "visible",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "reachable",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "possessed",
              "target": "red_token",
              "expected": false
            },
            {
              "kind": "open",
              "target": "bag",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "bag",
              "expected": false
            },
            {
              "kind": "open",
              "target": "chest",
              "expected": true
            },
            {
              "kind": "locked",
              "target": "chest",
              "expected": false
            },
            {
              "kind": "open",
              "target": "table",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "table",
              "expected": false
            },
            {
              "kind": "open",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "locked",
              "target": "glass_case",
              "expected": false
            },
            {
              "kind": "weight",
              "target": "bag",
              "expected": 0.5
            },
            {
              "kind": "weight",
              "target": "chest",
              "expected": 2
            },
            {
              "kind": "weight",
              "target": "medallion",
              "expected": 0.2
            },
            {
              "kind": "weight",
              "target": "brass_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "copper_key",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "rope",
              "expected": 0.4
            },
            {
              "kind": "weight",
              "target": "hook",
              "expected": 0.3
            },
            {
              "kind": "weight",
              "target": "grappling_hook",
              "expected": 0.7
            },
            {
              "kind": "weight",
              "target": "panel",
              "expected": 0
            },
            {
              "kind": "weight",
              "target": "table",
              "expected": 5
            },
            {
              "kind": "weight",
              "target": "glass_case",
              "expected": 1.1
            },
            {
              "kind": "weight",
              "target": "red_token",
              "expected": 0.1
            },
            {
              "kind": "weight",
              "target": "player",
              "expected": 1
            },
            {
              "kind": "state",
              "target": "bag_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "bag_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "chest_open",
              "expected": true
            },
            {
              "kind": "state",
              "target": "chest_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_open",
              "expected": false
            },
            {
              "kind": "state",
              "target": "glass_case_locked",
              "expected": false
            },
            {
              "kind": "state",
              "target": "power",
              "expected": true
            },
            {
              "kind": "state",
              "target": "briefed",
              "expected": true
            },
            {
              "kind": "state",
              "target": "alert",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "guide_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "guide_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "guide_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "guide_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "guide_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_alive",
              "expected": true
            },
            {
              "kind": "state",
              "target": "robot_health",
              "expected": 100
            },
            {
              "kind": "state",
              "target": "robot_trust",
              "expected": 50
            },
            {
              "kind": "state",
              "target": "robot_relationship",
              "expected": "neutral"
            },
            {
              "kind": "state",
              "target": "robot_hidden",
              "expected": false
            },
            {
              "kind": "state",
              "target": "robot_following",
              "expected": false
            },
            {
              "kind": "state",
              "target": "score",
              "expected": 200
            },
            {
              "kind": "state",
              "target": "current_room",
              "expected": "yard"
            },
            {
              "kind": "state",
              "target": "visited_workshop",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_context_v1",
              "expected": "{\"version\":1,\"lastPlural\":[{\"kind\":\"npc\",\"id\":\"guide\"}],\"lastSingle\":{\"kind\":\"npc\",\"id\":\"guide\"}}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_v1:robot_patrol",
              "expected": "{\"version\":1,\"active\":{\"activityId\":\"patrol_workshop\",\"elapsed\":1},\"suspended\":[]}"
            },
            {
              "kind": "state",
              "target": "__creator_routine_reason_v1:robot_patrol",
              "expected": "Next activity Visit workshop: priority 1; conditions match; 1/2 turns"
            },
            {
              "kind": "state",
              "target": "__tm_recipe_done_hook_rope",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_pending_prompt",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__tm_keyword_done_snow_key",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_prompt_once_power_choice_yes",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__creator_conversation_v1",
              "expected": ""
            },
            {
              "kind": "state",
              "target": "__creator_conversation_done:guide_flow:hello:brief",
              "expected": true
            },
            {
              "kind": "state",
              "target": "visited_yard",
              "expected": true
            },
            {
              "kind": "state",
              "target": "__tm_once_finish",
              "expected": true
            }
          ]
        }
      ]
    }
  ],
  "activeMechanics": [],
  "verbAliases": [],
  "scripts": [],
  "worldEvents": [],
  "customMechanicDefs": [],
  "savedMechanicTemplates": [],
  "objectiveSets": [],
  "gameOutliner": {
    "title": "The Island of Failed Prophets",
    "hook": "You are invited to a remote island gathering of disgraced doomsday prophets, but when one of them predicts a final catastrophe before sunrise, the island turns into a deadly puzzle of lies, traps, rituals, and hidden machinery.",
    "coreIdea": "The player is trapped on Saint Orison Island with failed prophets, cult leaders, fake mystics, disgraced scientists, wealthy believers, and dangerous followers. A new prophecy claims that before sunrise the island will burn, the sea will rise, and only the true believer will leave alive. The player investigates, survives escalating danger, builds NPC relationships, uncovers the truth, stops the final ritual, and escapes before dawn.",
    "playerRole": "You are a skeptical investigator and writer known for exposing cults, false prophets, fake miracles, and end-times frauds. You begin confident and rational, but the island is designed to make you doubt what is staged and what might be real.",
    "mainObjective": "Survive the island, expose the false prophecy, stop the final ritual, rescue key allies, and escape before sunrise.",
    "secondaryObjectives": "Repair the radio tower and call for help. Rescue the sidekick if captured. Collect evidence proving the prophecy is staged. Discover who invited you to the island. Learn the mentor's hidden connection to the island. Expose the true villain. Escape with enough proof to destroy the cult network. Find the secret ending by proving the prophecy may be partly real.",
    "toneGenre": "Genre: mystery, survival horror, psychological thriller, cult investigation.\nTone: dark, tense, strange, suspicious, atmospheric.\nPerspective: second person, present tense.\nStyle: exploration-heavy text adventure with story-driven puzzles, NPC relationships, survival mechanics, clue gathering, danger events, and combat.",
    "settingOverview": "Remote Saint Orison Island: dock, guest lodge, dining hall, chapel, Prophets' Hall, observatory, gardens, radio tower, sea caves, maintenance tunnels, underground bunker, and burning shrine. The island should feel like a classic text adventure map with connected rooms, locked areas, hidden exits, puzzles, danger zones, and meaningful objects.",
    "storyTheme": "Main theme: What happens when people would rather believe a terrifying lie than face an ordinary truth?\n\nSecondary themes: fear as a weapon, cult manipulation, shame and redemption, skepticism versus faith, truth versus performance, the need to be believed, and the danger of charismatic leaders.",
    "mainConflict": "The player believes the prophecy is fake. The island is designed to make the player doubt that belief. The enemies want the player silenced, converted, discredited, or killed. The mystery is whether the prophecy is a fraud, staged ritual, murder plot, or something partly real.",
    "coreMechanics": "Health, fear meter, trust system, evidence score, time until dawn, and combat.\n\nFear may distort descriptions or choices. Trust unlocks help and secrets. Evidence improves endings. Time phases move from arrival to sunrise.",
    "mainNpcs": "Sidekick: Mara Voss, a documentary filmmaker and secret investigator.\nMentor: Dr. Elias Crowe, a former psychologist and cult-deprogramming expert.\nAllies: Nina Vale, Brother Amos, Tessa Quill.\nNeutral: Boat Captain, Archivist, Silent Gardener, Rich Patron.\nEnemies: Mother Sable, Jonah Flint, White-Robed Disciples, Masked Bell-Ringer, the True Architect.",
    "objectCategories": "Key objects: rusted key, brass chapel key, observatory crank, bunker access card.\nSurvival: bandages, clean water, lantern oil, coffee tin, matches, raincoat, rope.\nClue objects: torn prophecy page, burned journal, wet invitation, old photograph, audio tape, star chart, guest registry, payment ledger.\nWeapons: walking stick, kitchen knife, broken bottle, flare gun, rusted spear.\nPuzzle, trade, and dangerous objects as needed.",
    "mainRooms": "Dock: arrival — no easy way back.\nGuest Lodge: safe hub and early clues.\nDining Hall: prophecy announced, first danger.\nProphets' Hall: history of failed predictions.\nChapel: ritual room and bell puzzle.\nObservatory: false blood moon.\nGarden Maze: navigation/fear puzzle.\nRadio Tower: call for help.\nSea Caves: tide danger.\nMaintenance Tunnels: staged miracles revealed.\nUnderground Bunker: truth of the prophecy.\nBurning Shrine: final confrontation.",
    "puzzleDesign": "Example — The Chapel Bell Sequence:\nLocation: Chapel of the Last Hour.\nRequired objects: silver bell, torn hymn page, wax seal.\nClues: hymn page gives numbers; floor symbols show order.\nSolution: ring the bell according to the hymn pattern while standing on the correct symbol.\nFailure: chapel locks, fear rises, Bell-Ringer may appear.\nReward: hidden crypt stairs open.",
    "eventDesign": "Example events: The First Bell, The Poisoned Toast, The False Moon, Mara's Capture, The Rising Tide, The Shrine Fire.\n\nEach event should have a trigger, player choices, consequences, and story effect.",
    "combatDesign": "Example — White-Robed Disciple:\nLocation: Radio Tower or tunnels.\nWeapon: club or knife. Danger: medium.\nOptions: fight, flee, distract, use flare, call Mara for help, hide in maintenance closet.\nVictory reward: patrol key, robe disguise, or restricted path access.\nFailure penalty: health loss, capture, item loss, or fear increase.",
    "dialogueDesign": "Dialogue should reveal story, build relationships, unlock clues, and create consequences.\n\nTopics may include island, prophecy, specific NPCs, accusations, showing evidence, offering items, requesting help, threatening, comforting, lying, or telling the truth.\n\nExample: showing Tessa the red glass disc unlocks her explanation of the false blood moon effect.",
    "scoringSystem": "+5 useful object found\n+10 minor puzzle solved\n+20 major puzzle solved\n+25 rescue an ally\n+30 expose a fake omen\n+50 stop the final ritual\n+50 escape with evidence\n\nNegative score for: harming innocents, abandoning sidekick, destroying evidence, or killing when avoidable.",
    "endings": "Best: expose prophecy, save Mara, stop ritual, escape with evidence.\nGood: escape and stop ritual but lack enough proof.\nDark: escape alone while the island burns.\nCult: fail the final mind puzzle and become the new prophet.\nDeath: die from fire, tide, combat, poison, or final trap.\nSecret: prove most was fake but discover one part was real.",
    "builderChecklist": "Before building, answer:\n• What is the main objective?\n• What is the locked setting?\n• Who is the sidekick?\n• Who is the mentor?\n• Who are allies, neutrals, enemies?\n• What objects are essential, optional, dangerous, or misleading?\n• What are the rooms, puzzles, traps, combat encounters, mechanics, and endings?\n• What is the first scene the player experiences?\n• What is the emotional core of the story?",
    "finalNotes": "What makes this idea exciting as a text adventure: the island setting creates a natural locked environment, the NPC network rewards exploration and relationship-building, and the prophecy mystery gives the player a reason to investigate every room.\n\nBuild first: the core island loop — dock, lodge, dining hall, chapel — with working NPCs and the evidence system."
  },
  "customRoomTemplates": [],
  "customObjectTemplates": [],
  "customNpcTemplates": [],
  "customSavedScripts": []
}
