{
  "version": "1.1",
  "requiredCapabilities": [
    "activities-v2",
    "activities-v1",
    "story-rules-v1",
    "creator-features-v1"
  ],
  "name": "Swim to the Island",
  "description": "A timed swim, health loss, protection that must be worn and a safe arrival.",
  "author": "TAGMaker",
  "created": "2026-11-03T00:00:00.000Z",
  "modified": "2026-11-03T00:00:00.000Z",
  "startRoom": "shore",
  "story": {
    "version": 1,
    "states": [],
    "rules": [],
    "features": {
      "version": 1,
      "randomSeed": 17,
      "activities": [
        {
          "id": "swim",
          "name": "Swim to the Island",
          "button": "SWIM",
          "enabled": true,
          "roomIds": [
            "shore"
          ],
          "all": [],
          "any": [],
          "seconds": 20,
          "visibility": "disabled",
          "unavailableMessage": "Collect the required items first.",
          "startMessage": "You begin swim to the island.",
          "emptyMessage": "Nothing this time. Try again.",
          "cancelMessage": "You stop. Your supplies were kept.",
          "consumeIds": [],
          "maxUses": 0,
          "cooldownTurns": 0,
          "outcomes": [
            {
              "id": "success",
              "name": "Success",
              "weight": 1,
              "message": "You reach the island safely. Workshop complete!",
              "conditions": [],
              "actions": [
                {
                  "kind": "goto",
                  "target": "island"
                },
                {
                  "kind": "score",
                  "value": 10
                },
                {
                  "kind": "end"
                }
              ],
              "maxUses": 0
            }
          ],
          "drain": {
            "resource": "health",
            "label": "Health",
            "perSecond": 6,
            "protection": [
              {
                "kind": "object_state",
                "target": "scuba",
                "key": "worn",
                "operator": "==",
                "value": true
              }
            ],
            "onEmpty": "death",
            "emptyMessage": "You ran out of breath before reaching the island. Restart and wear the scuba gear."
          }
        }
      ]
    }
  },
  "playerConfig": {
    "scoreEnabled": true,
    "healthEnabled": true
  },
  "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": []
  },
  "files": [
    {
      "path": "rooms/shore.taml",
      "content": "room shore\n name: \"Lake Shore\"\n description: \"An island lies across the deep water. TAKE SCUBA GEAR and WEAR SCUBA GEAR before pressing SWIM. The crossing takes 20 seconds. Carrying the gear is not enough.\"\nend"
    },
    {
      "path": "rooms/island.taml",
      "content": "room island\n name: \"Quiet Island\"\n description: \"You made it safely across the lake.\"\nend"
    },
    {
      "path": "objects/scuba.taml",
      "content": "object scuba\n  name: \"scuba gear\"\n  description: \"Wear this to breathe safely during the crossing.\"\n  location: shore\n  takeable: true\n  wearable: true\n  weight: 0.1\nend"
    },
    {
      "path": "scripts/game_start.taml",
      "content": "script on_game_start\nset health = 100\ngoto: shore\nend"
    }
  ],
  "objects": [
    {
      "id": "scuba",
      "name": "scuba gear",
      "description": "Wear this to breathe safely during the crossing.",
      "article": "",
      "location": "shore",
      "aliases": [],
      "visible": true,
      "takeable": true,
      "droppable": true,
      "useGive": false,
      "container": false,
      "switchable": false,
      "edible": false,
      "drinkable": false,
      "wearable": true,
      "weapon": false,
      "weight": 0.1,
      "locked": false,
      "lockKey": "",
      "events": []
    }
  ],
  "npcs": [],
  "scripts": [
    {
      "id": "game_start",
      "name": "on_game_start",
      "description": "Start the workshop.",
      "kind": "global",
      "body": "set health = 100\ngoto: shore"
    }
  ],
  "mapRooms": [
    {
      "id": "shore",
      "name": "Lake Shore",
      "description": "An island lies across the deep water. TAKE SCUBA GEAR and WEAR SCUBA GEAR before pressing SWIM. The crossing takes 20 seconds. Carrying the gear is not enough.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 120,
      "y": 180,
      "width": 160,
      "height": 64,
      "color": "#000000"
    },
    {
      "id": "island",
      "name": "Quiet Island",
      "description": "You made it safely across the lake.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 350,
      "y": 180,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [],
  "activeMechanics": [],
  "worldEvents": [],
  "verbAliases": [],
  "customMechanicDefs": [],
  "savedMechanicTemplates": [],
  "objectiveSets": [],
  "gameOutliner": {
    "title": "",
    "hook": "",
    "coreIdea": "",
    "playerRole": "",
    "mainObjective": "",
    "secondaryObjectives": "",
    "toneGenre": "",
    "settingOverview": "",
    "storyTheme": "",
    "mainConflict": "",
    "coreMechanics": "",
    "mainNpcs": "",
    "objectCategories": "",
    "mainRooms": "",
    "puzzleDesign": "",
    "eventDesign": "",
    "combatDesign": "",
    "dialogueDesign": "",
    "scoringSystem": "",
    "endings": "",
    "builderChecklist": "",
    "finalNotes": ""
  },
  "customRoomTemplates": [],
  "customObjectTemplates": [],
  "customNpcTemplates": [],
  "customSavedScripts": []
}
