{
  "version": "1.1",
  "name": "Build Shops with Offer Objects",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "A shop sells one real gate pass. The purchase requires enough money, deducts the price once, and transfers the seller’s finite stock. The gate requires the actual carried pass.",
  "playerAppearance": {
    "version": 1,
    "layout": "modern",
    "font": "sans",
    "colorScheme": "light",
    "textSize": 18,
    "lineHeight": 1.6,
    "readingWidth": 80,
    "quietReading": false,
    "mapMode": "discovered",
    "panels": {
      "inventory": true,
      "map": true,
      "objectives": true,
      "status": true,
      "words": true
    },
    "picture": {
      "visible": true,
      "fit": "contain",
      "focalX": 50,
      "focalY": 50
    },
    "commands": {
      "visible": true,
      "standard": [
        "look",
        "search",
        "inventory",
        "help"
      ],
      "custom": []
    },
    "words": []
  },
  "created": "2026-11-01T00:00:00.000Z",
  "modified": "2026-11-01T00:00:00.000Z",
  "files": [
    {
      "path": "rooms/lesson_room.taml",
      "content": "room lesson_room\n  blocked north: \"Carry the purchased gate pass to use this gate.\"\n  exit north: lesson_beyond when: lesson_carried\n  name: \"Pass Shop\"\n  description: \"Use the coin pouch to collect money. Use the pass offer to buy the seller’s one gate pass, then go north while carrying it.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_beyond.taml",
      "content": "room lesson_beyond\n  exit south: lesson_room\n  name: \"Paid Passage\"\n  description: \"The shop is south.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_coins.taml",
      "content": "object lesson_coins\n  name: \"coin pouch\"\n  description: \"A pouch of money for the sample purchase.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_offer.taml",
      "content": "object lesson_offer\n  name: \"pass offer\"\n  description: \"Use this offer to buy one gate pass.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "npcs/lesson_seller.taml",
      "content": "npc lesson_seller\n  name: \"pass seller\"\n  description: \"The seller carries one gate pass.\"\n  location: lesson_room\n  mobile: false\n  follow: false\n  health: 100\n  combat_side: neutral\n  auto_fight: false\n  attack_power: 10\n  defense: 0\n  trust: 50\nend"
    },
    {
      "path": "objects/lesson_pass.taml",
      "content": "object lesson_pass\n  name: \"gate pass\"\n  description: \"A purchased pass. Carry it through the north gate.\"\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/sample_field_journal.taml",
      "content": "object sample_field_journal\n  name: \"field journal\"\n  description: \"Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.\"\n  location: inventory\n  aliases: [\"journal\"]\n  takeable: true\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    }
  ],
  "playerConfig": {
    "moneyEnabled": true,
    "startingMoney": 0
  },
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_bought",
        "name": "bought",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_carried",
        "name": "carried",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_money",
        "name": "money",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_coins",
          "event": "use"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "money",
            "value": 8
          },
          {
            "kind": "message",
            "value": "You collect the money from the pouch."
          }
        ],
        "otherwise": "",
        "once": true,
        "repeatText": "The coin pouch is empty."
      },
      {
        "id": "sample_finish",
        "name": "Record the completed expedition",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "sample_field_journal",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_bought",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "You purchased finite stock once and used the real carried pass. You record the result in your field journal. Your expedition is complete."
          },
          {
            "kind": "score",
            "value": 100
          },
          {
            "kind": "end",
            "value": "Your expedition is complete."
          }
        ],
        "otherwise": "Your expedition is not complete yet. Follow the room clues, then use the field journal to record your success.",
        "once": true
      }
    ],
    "features": {
      "version": 1,
      "npcProfiles": [
        {
          "version": 1,
          "id": "lesson_seller_profile",
          "name": "pass seller abilities",
          "npcId": "lesson_seller",
          "enabled": true,
          "memory": [],
          "traits": {
            "loyalty": 50,
            "fear": 0,
            "suspicion": 0
          },
          "life": {
            "maxHealth": 100,
            "initial": "active",
            "essential": false,
            "defeat": "dead",
            "retreatAtHealth": 0
          },
          "inventory": {
            "objects": [
              "lesson_pass"
            ],
            "equipped": [],
            "equipment": [],
            "money": 0,
            "dropOnDeath": false
          },
          "combat": {
            "assist": "off",
            "target": "first_enemy",
            "interceptPercent": 50,
            "interval": 1
          },
          "perception": {
            "enabled": false,
            "sightRange": 0,
            "hearingRange": 0,
            "suspicionPerSight": 10,
            "suspicionPerNoise": 10,
            "threshold": 50,
            "investigate": false,
            "returnHome": false,
            "allowedRoomIds": []
          },
          "abilities": []
        }
      ],
      "mechanics": [
        {
          "version": 1,
          "id": "lesson_shop",
          "name": "Finite pass purchase",
          "description": "Finite pass purchase",
          "category": "Creator Cookbook",
          "enabled": true,
          "autoStart": true,
          "inputs": [],
          "variables": [],
          "scope": {
            "kind": "global",
            "rooms": []
          },
          "initialPhase": "",
          "phases": [],
          "rules": [
            {
              "id": "repeat",
              "name": "repeat",
              "enabled": true,
              "trigger": {
                "kind": "object",
                "target": "lesson_offer",
                "event": "use"
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "rule",
                    "condition": {
                      "kind": "state",
                      "target": "lesson_bought",
                      "operator": "==",
                      "value": true
                    }
                  }
                ]
              },
              "actions": [
                {
                  "kind": "message",
                  "value": "The only gate pass has already been sold."
                }
              ],
              "otherwise": [],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 20
            },
            {
              "id": "buy",
              "name": "buy",
              "enabled": true,
              "trigger": {
                "kind": "object",
                "target": "lesson_offer",
                "event": "use"
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "rule",
                    "condition": {
                      "kind": "state",
                      "target": "lesson_bought",
                      "operator": "==",
                      "value": false
                    }
                  },
                  {
                    "kind": "flag",
                    "target": "money",
                    "operator": ">=",
                    "value": 5
                  },
                  {
                    "kind": "rule",
                    "condition": {
                      "kind": "npc_available",
                      "target": "lesson_seller",
                      "operator": "==",
                      "value": true
                    }
                  },
                  {
                    "kind": "rule",
                    "condition": {
                      "kind": "npc_possession",
                      "target": "lesson_seller",
                      "key": "lesson_pass",
                      "operator": "==",
                      "value": true
                    }
                  }
                ]
              },
              "actions": [
                {
                  "kind": "currency",
                  "operation": "subtract",
                  "value": 5
                },
                {
                  "kind": "give",
                  "target": "lesson_pass"
                },
                {
                  "kind": "state",
                  "target": "lesson_bought",
                  "value": true
                },
                {
                  "kind": "message",
                  "value": "You pay the price and receive the gate pass."
                }
              ],
              "otherwise": [
                {
                  "kind": "message",
                  "value": "You need enough money and the seller’s available gate pass."
                }
              ],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 1,
              "probability": 1,
              "priority": 0
            },
            {
              "id": "pass_check",
              "name": "pass check",
              "enabled": true,
              "trigger": {
                "kind": "turn",
                "target": "",
                "event": ""
              },
              "conditions": {
                "match": "all",
                "conditions": [
                  {
                    "kind": "objective",
                    "criterion": {
                      "kind": "object_possessed",
                      "target": "lesson_pass"
                    }
                  }
                ]
              },
              "actions": [
                {
                  "kind": "state",
                  "target": "lesson_carried",
                  "value": true
                }
              ],
              "otherwise": [
                {
                  "kind": "state",
                  "target": "lesson_carried",
                  "value": false
                }
              ],
              "initialDelay": 0,
              "interval": 1,
              "cooldown": 0,
              "maxUses": 0,
              "probability": 1,
              "priority": 0
            }
          ]
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "14-build-shops-with-offer-objects",
        "choices": {
          "room": {
            "existing": "",
            "name": "Pass Shop",
            "description": "Use the coin pouch to collect money. Use the pass offer to buy the seller’s one gate pass, then go north while carrying it."
          },
          "beyond": {
            "existing": "",
            "name": "Paid Passage",
            "description": "The shop is south."
          },
          "coins": {
            "existing": "",
            "name": "coin pouch",
            "description": "A pouch of money for the sample purchase."
          },
          "offer": {
            "existing": "",
            "name": "pass offer",
            "description": "Use this offer to buy one gate pass."
          },
          "seller": {
            "existing": "",
            "name": "pass seller",
            "description": "The seller carries one gate pass."
          },
          "pass": {
            "existing": "",
            "name": "gate pass",
            "description": "A purchased pass. Carry it through the north gate."
          }
        },
        "values": {
          "enableMoney": true,
          "price": 5,
          "coins": 8,
          "success": "You pay the price and receive the gate pass.",
          "failure": "You need enough money and the seller’s available gate pass.",
          "repeat": "The only gate pass has already been sold."
        },
        "reuseRoutes": {}
      },
      "owned": [
        {
          "path": "files",
          "key": "rooms/lesson_room.taml",
          "after": {
            "path": "rooms/lesson_room.taml",
            "name": "lesson_room.taml",
            "content": "room lesson_room\n  blocked north: \"Carry the purchased gate pass to use this gate.\"\n  exit north: lesson_beyond when: lesson_carried\n  name: \"Pass Shop\"\n  description: \"Use the coin pouch to collect money. Use the pass offer to buy the seller’s one gate pass, then go north while carrying it.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_beyond.taml",
          "after": {
            "path": "rooms/lesson_beyond.taml",
            "name": "lesson_beyond.taml",
            "content": "room lesson_beyond\n  exit south: lesson_room\n  name: \"Paid Passage\"\n  description: \"The shop is south.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_coins.taml",
          "after": {
            "path": "objects/lesson_coins.taml",
            "name": "lesson_coins.taml",
            "content": "object lesson_coins\n  name: \"coin pouch\"\n  description: \"A pouch of money for the sample purchase.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_offer.taml",
          "after": {
            "path": "objects/lesson_offer.taml",
            "name": "lesson_offer.taml",
            "content": "object lesson_offer\n  name: \"pass offer\"\n  description: \"Use this offer to buy one gate pass.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "npcs/lesson_seller.taml",
          "after": {
            "path": "npcs/lesson_seller.taml",
            "name": "lesson_seller.taml",
            "content": "npc lesson_seller\n  name: \"pass seller\"\n  description: \"The seller carries one gate pass.\"\n  location: lesson_room\n  mobile: false\n  follow: false\n  health: 100\n  combat_side: neutral\n  auto_fight: false\n  attack_power: 10\n  defense: 0\n  trust: 50\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_pass.taml",
          "after": {
            "path": "objects/lesson_pass.taml",
            "name": "lesson_pass.taml",
            "content": "object lesson_pass\n  name: \"gate pass\"\n  description: \"A purchased pass. Carry it through the north gate.\"\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_coins",
          "after": {
            "id": "lesson_coins",
            "name": "coin pouch",
            "description": "A pouch of money for the sample purchase.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": true,
            "takeable": false,
            "droppable": false,
            "useGive": true,
            "container": false,
            "switchable": false,
            "edible": false,
            "drinkable": false,
            "wearable": false,
            "weapon": false,
            "weight": 0.1,
            "locked": false,
            "lockKey": "",
            "events": []
          }
        },
        {
          "path": "objects",
          "key": "lesson_offer",
          "after": {
            "id": "lesson_offer",
            "name": "pass offer",
            "description": "Use this offer to buy one gate pass.",
            "article": "",
            "location": "lesson_room",
            "aliases": [],
            "visible": true,
            "takeable": false,
            "droppable": false,
            "useGive": true,
            "container": false,
            "switchable": false,
            "edible": false,
            "drinkable": false,
            "wearable": false,
            "weapon": false,
            "weight": 0.1,
            "locked": false,
            "lockKey": "",
            "events": []
          }
        },
        {
          "path": "objects",
          "key": "lesson_pass",
          "after": {
            "id": "lesson_pass",
            "name": "gate pass",
            "description": "A purchased pass. Carry it through the north gate.",
            "article": "",
            "location": "nowhere",
            "aliases": [],
            "visible": true,
            "takeable": true,
            "droppable": true,
            "useGive": true,
            "container": false,
            "switchable": false,
            "edible": false,
            "drinkable": false,
            "wearable": false,
            "weapon": false,
            "weight": 0.1,
            "locked": false,
            "lockKey": "",
            "events": []
          }
        },
        {
          "path": "npcs",
          "key": "lesson_seller",
          "after": {
            "id": "lesson_seller",
            "name": "pass seller",
            "description": "The seller carries one gate pass.",
            "location": "lesson_room",
            "mobile": false,
            "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": []
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_room",
          "after": {
            "id": "lesson_room",
            "name": "Pass Shop",
            "description": "Use the coin pouch to collect money. Use the pass offer to buy the seller’s one gate pass, then go north while carrying it.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {
              "north": "Carry the purchased gate pass to use this gate."
            }
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_beyond",
          "after": {
            "id": "lesson_beyond",
            "name": "Paid Passage",
            "description": "The shop is south.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 320,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_gate",
          "after": {
            "id": "lesson_route_gate",
            "fromRoom": "lesson_room",
            "toRoom": "lesson_beyond",
            "direction": "north",
            "locked": false,
            "when": "lesson_carried"
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_back",
          "after": {
            "id": "lesson_route_back",
            "fromRoom": "lesson_beyond",
            "toRoom": "lesson_room",
            "direction": "south",
            "locked": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_bought",
          "after": {
            "id": "lesson_bought",
            "name": "bought",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_carried",
          "after": {
            "id": "lesson_carried",
            "name": "carried",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_money",
          "after": {
            "id": "lesson_money",
            "name": "money",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_coins",
              "event": "use"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "money",
                "value": 8
              },
              {
                "kind": "message",
                "value": "You collect the money from the pouch."
              }
            ],
            "otherwise": "",
            "once": true,
            "repeatText": "The coin pouch is empty."
          }
        },
        {
          "path": "manifest.story.features.npcProfiles",
          "key": "lesson_seller_profile",
          "after": {
            "version": 1,
            "id": "lesson_seller_profile",
            "name": "pass seller abilities",
            "npcId": "lesson_seller",
            "enabled": true,
            "memory": [],
            "traits": {
              "loyalty": 50,
              "fear": 0,
              "suspicion": 0
            },
            "life": {
              "maxHealth": 100,
              "initial": "active",
              "essential": false,
              "defeat": "dead",
              "retreatAtHealth": 0
            },
            "inventory": {
              "objects": [
                "lesson_pass"
              ],
              "equipped": [],
              "equipment": [],
              "money": 0,
              "dropOnDeath": false
            },
            "combat": {
              "assist": "off",
              "target": "first_enemy",
              "interceptPercent": 50,
              "interval": 1
            },
            "perception": {
              "enabled": false,
              "sightRange": 0,
              "hearingRange": 0,
              "suspicionPerSight": 10,
              "suspicionPerNoise": 10,
              "threshold": 50,
              "investigate": false,
              "returnHome": false,
              "allowedRoomIds": []
            },
            "abilities": []
          }
        },
        {
          "path": "manifest.story.features.mechanics",
          "key": "lesson_shop",
          "after": {
            "version": 1,
            "id": "lesson_shop",
            "name": "Finite pass purchase",
            "description": "Finite pass purchase",
            "category": "Creator Cookbook",
            "enabled": true,
            "autoStart": true,
            "inputs": [],
            "variables": [],
            "scope": {
              "kind": "global",
              "rooms": []
            },
            "initialPhase": "",
            "phases": [],
            "rules": [
              {
                "id": "repeat",
                "name": "repeat",
                "enabled": true,
                "trigger": {
                  "kind": "object",
                  "target": "lesson_offer",
                  "event": "use"
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "rule",
                      "condition": {
                        "kind": "state",
                        "target": "lesson_bought",
                        "operator": "==",
                        "value": true
                      }
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "message",
                    "value": "The only gate pass has already been sold."
                  }
                ],
                "otherwise": [],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 20
              },
              {
                "id": "buy",
                "name": "buy",
                "enabled": true,
                "trigger": {
                  "kind": "object",
                  "target": "lesson_offer",
                  "event": "use"
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "rule",
                      "condition": {
                        "kind": "state",
                        "target": "lesson_bought",
                        "operator": "==",
                        "value": false
                      }
                    },
                    {
                      "kind": "flag",
                      "target": "money",
                      "operator": ">=",
                      "value": 5
                    },
                    {
                      "kind": "rule",
                      "condition": {
                        "kind": "npc_available",
                        "target": "lesson_seller",
                        "operator": "==",
                        "value": true
                      }
                    },
                    {
                      "kind": "rule",
                      "condition": {
                        "kind": "npc_possession",
                        "target": "lesson_seller",
                        "key": "lesson_pass",
                        "operator": "==",
                        "value": true
                      }
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "currency",
                    "operation": "subtract",
                    "value": 5
                  },
                  {
                    "kind": "give",
                    "target": "lesson_pass"
                  },
                  {
                    "kind": "state",
                    "target": "lesson_bought",
                    "value": true
                  },
                  {
                    "kind": "message",
                    "value": "You pay the price and receive the gate pass."
                  }
                ],
                "otherwise": [
                  {
                    "kind": "message",
                    "value": "You need enough money and the seller’s available gate pass."
                  }
                ],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 1,
                "probability": 1,
                "priority": 0
              },
              {
                "id": "pass_check",
                "name": "pass check",
                "enabled": true,
                "trigger": {
                  "kind": "turn",
                  "target": "",
                  "event": ""
                },
                "conditions": {
                  "match": "all",
                  "conditions": [
                    {
                      "kind": "objective",
                      "criterion": {
                        "kind": "object_possessed",
                        "target": "lesson_pass"
                      }
                    }
                  ]
                },
                "actions": [
                  {
                    "kind": "state",
                    "target": "lesson_carried",
                    "value": true
                  }
                ],
                "otherwise": [
                  {
                    "kind": "state",
                    "target": "lesson_carried",
                    "value": false
                  }
                ],
                "initialDelay": 0,
                "interval": 1,
                "cooldown": 0,
                "maxUses": 0,
                "probability": 1,
                "priority": 0
              }
            ]
          }
        },
        {
          "path": "manifest.playerConfig.moneyEnabled",
          "key": "$value",
          "after": true
        },
        {
          "path": "manifest.playerConfig.startingMoney",
          "key": "$value",
          "after": 0
        }
      ]
    }
  ],
  "creatorNotes": "A shop sells one real gate pass. The purchase requires enough money, deducts the price once, and transfers the seller’s finite stock. The gate requires the actual carried pass.\nOpen Help → Cookbook → Build Shops with Offer Objects → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: use pass offer; use coin pouch; use coin pouch; use pass offer; use pass offer; drop gate pass; north; take gate pass; north; use field journal",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Pass Shop",
      "description": "Use the coin pouch to collect money. Use the pass offer to buy the seller’s one gate pass, then go north while carrying it.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {
        "north": "Carry the purchased gate pass to use this gate."
      }
    },
    {
      "id": "lesson_beyond",
      "name": "Paid Passage",
      "description": "The shop is south.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 320,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    }
  ],
  "mapExits": [
    {
      "id": "lesson_route_gate",
      "fromRoom": "lesson_room",
      "toRoom": "lesson_beyond",
      "direction": "north",
      "locked": false,
      "when": "lesson_carried"
    },
    {
      "id": "lesson_route_back",
      "fromRoom": "lesson_beyond",
      "toRoom": "lesson_room",
      "direction": "south",
      "locked": false
    }
  ],
  "objects": [
    {
      "id": "lesson_coins",
      "name": "coin pouch",
      "description": "A pouch of money for the sample purchase.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": true,
      "takeable": false,
      "droppable": false,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "lesson_offer",
      "name": "pass offer",
      "description": "Use this offer to buy one gate pass.",
      "article": "",
      "location": "lesson_room",
      "aliases": [],
      "visible": true,
      "takeable": false,
      "droppable": false,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "lesson_pass",
      "name": "gate pass",
      "description": "A purchased pass. Carry it through the north gate.",
      "article": "",
      "location": "nowhere",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    },
    {
      "id": "sample_field_journal",
      "name": "field journal",
      "description": "Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.",
      "article": "",
      "location": "inventory",
      "aliases": [
        "journal"
      ],
      "visible": true,
      "takeable": true,
      "droppable": false,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    }
  ],
  "npcs": [
    {
      "id": "lesson_seller",
      "name": "pass seller",
      "description": "The seller carries one gate pass.",
      "location": "lesson_room",
      "mobile": false,
      "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": []
    }
  ],
  "activeMechanics": [],
  "verbAliases": [],
  "scripts": [],
  "worldEvents": [],
  "customMechanicDefs": [],
  "savedMechanicTemplates": [],
  "objectiveSets": [],
  "gameOutliner": {},
  "customRoomTemplates": [],
  "customObjectTemplates": [],
  "customNpcTemplates": [],
  "customSavedScripts": [],
  "requiredCapabilities": [
    "npc-capabilities-v1",
    "story-rules-v1",
    "creator-features-v1",
    "mechanics-builder-v1"
  ]
}
