{
  "version": "1.1",
  "name": "First-Visit Scare with Repeat Calm",
  "startRoom": "lesson_path",
  "author": "TAGMaker",
  "description": "The first entry delivers a scare. LOOK gives an ordinary room description, and returning later gives calm text without replaying the scare.",
  "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_path.taml",
      "content": "room lesson_path\n  exit north: lesson_room\n  name: \"Approach Path\"\n  description: \"The story room is north.\"\n  dark: false\nend"
    },
    {
      "path": "rooms/lesson_room.taml",
      "content": "room lesson_room\n  exit south: lesson_path\n  name: \"Quiet Crypt\"\n  narrative: \"A pale shape rushes past you and vanishes into the wall.\"\n  description: \"A stone bench stands beneath a narrow window.\"\n  reentry: \"The crypt is quiet now. The pale shape does not return.\"\n  dark: false\nend"
    },
    {
      "path": "objects/sample_field_journal.taml",
      "content": "object sample_field_journal\n  name: \"field journal\"\n  description: \"Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.\"\n  location: inventory\n  aliases: [\"journal\"]\n  takeable: true\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    }
  ],
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_visited",
        "name": "visited",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_arrival",
        "name": "arrival",
        "enabled": true,
        "trigger": {
          "kind": "room",
          "target": "lesson_room",
          "event": "after_first"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_visited",
            "value": true
          }
        ],
        "otherwise": "",
        "once": true
      },
      {
        "id": "sample_finish",
        "name": "Record the completed expedition",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "sample_field_journal",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_visited",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "First-entry prose, LOOK and return prose remain separate. 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
      }
    ]
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "first-visit-scare-repeat-calm",
        "choices": {
          "path": {
            "existing": "",
            "name": "Approach Path",
            "description": "The story room is north."
          },
          "room": {
            "existing": "",
            "name": "Quiet Crypt",
            "description": "A stone bench stands beneath a narrow window."
          }
        },
        "values": {
          "first": "A pale shape rushes past you and vanishes into the wall.",
          "ordinary": "A stone bench stands beneath a narrow window.",
          "return": "The crypt is quiet now. The pale shape does not return."
        },
        "reuseRoutes": {}
      },
      "owned": [
        {
          "path": "files",
          "key": "rooms/lesson_path.taml",
          "after": {
            "path": "rooms/lesson_path.taml",
            "name": "lesson_path.taml",
            "content": "room lesson_path\n  exit north: lesson_room\n  name: \"Approach Path\"\n  description: \"The story room is north.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "rooms/lesson_room.taml",
          "after": {
            "path": "rooms/lesson_room.taml",
            "name": "lesson_room.taml",
            "content": "room lesson_room\n  exit south: lesson_path\n  name: \"Quiet Crypt\"\n  narrative: \"A pale shape rushes past you and vanishes into the wall.\"\n  description: \"A stone bench stands beneath a narrow window.\"\n  reentry: \"The crypt is quiet now. The pale shape does not return.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_path",
          "after": {
            "id": "lesson_path",
            "name": "Approach Path",
            "description": "The story room is north.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapRooms",
          "key": "lesson_room",
          "after": {
            "id": "lesson_room",
            "name": "Quiet Crypt",
            "narrative": "A pale shape rushes past you and vanishes into the wall.",
            "description": "A stone bench stands beneath a narrow window.",
            "reentryEnabled": true,
            "reentryDesc": "The crypt is quiet now. The pale shape does not return.",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 320,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000",
            "blockedDescriptions": {}
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_enter",
          "after": {
            "id": "lesson_route_enter",
            "fromRoom": "lesson_path",
            "toRoom": "lesson_room",
            "direction": "north",
            "locked": false
          }
        },
        {
          "path": "mapExits",
          "key": "lesson_route_leave",
          "after": {
            "id": "lesson_route_leave",
            "fromRoom": "lesson_room",
            "toRoom": "lesson_path",
            "direction": "south",
            "locked": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_visited",
          "after": {
            "id": "lesson_visited",
            "name": "visited",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_arrival",
          "after": {
            "id": "lesson_arrival",
            "name": "arrival",
            "enabled": true,
            "trigger": {
              "kind": "room",
              "target": "lesson_room",
              "event": "after_first"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_visited",
                "value": true
              }
            ],
            "otherwise": "",
            "once": true
          }
        }
      ]
    }
  ],
  "creatorNotes": "The first entry delivers a scare. LOOK gives an ordinary room description, and returning later gives calm text without replaying the scare.\nOpen Help → Cookbook → First-Visit Scare with Repeat Calm → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: north; look; south; north; look; use field journal",
  "mapRooms": [
    {
      "id": "lesson_path",
      "name": "Approach Path",
      "description": "The story room is north.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    },
    {
      "id": "lesson_room",
      "name": "Quiet Crypt",
      "narrative": "A pale shape rushes past you and vanishes into the wall.",
      "description": "A stone bench stands beneath a narrow window.",
      "reentryEnabled": true,
      "reentryDesc": "The crypt is quiet now. The pale shape does not return.",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 320,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000",
      "blockedDescriptions": {}
    }
  ],
  "mapExits": [
    {
      "id": "lesson_route_enter",
      "fromRoom": "lesson_path",
      "toRoom": "lesson_room",
      "direction": "north",
      "locked": false
    },
    {
      "id": "lesson_route_leave",
      "fromRoom": "lesson_room",
      "toRoom": "lesson_path",
      "direction": "south",
      "locked": false
    }
  ],
  "objects": [
    {
      "id": "sample_field_journal",
      "name": "field journal",
      "description": "Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.",
      "article": "",
      "location": "inventory",
      "aliases": [
        "journal"
      ],
      "visible": true,
      "takeable": true,
      "droppable": false,
      "useGive": true,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": false,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    }
  ],
  "npcs": [],
  "activeMechanics": [],
  "verbAliases": [],
  "scripts": [],
  "worldEvents": [],
  "customMechanicDefs": [],
  "savedMechanicTemplates": [],
  "objectiveSets": [],
  "gameOutliner": {},
  "customRoomTemplates": [],
  "customObjectTemplates": [],
  "customNpcTemplates": [],
  "customSavedScripts": [],
  "requiredCapabilities": [
    "story-rules-v1"
  ]
}
