{
  "version": "1.1",
  "name": "Create a Player-Friendly Hint System",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "HINT advances from a gentle nudge to a clear solution. It does not solve the puzzle for the player. Progress survives Save and Load, and solved puzzles give a short completion response.",
  "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  name: \"Star Panel Room\"\n  description: \"A star panel hides a compartment. Use HINT if you want help.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_panel.taml",
      "content": "object lesson_panel\n  name: \"star panel\"\n  description: \"Three stars surround a small lever.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_lever.taml",
      "content": "object lesson_lever\n  name: \"small lever\"\n  description: \"Use this lever to open the panel.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/sample_field_journal.taml",
      "content": "object sample_field_journal\n  name: \"field journal\"\n  description: \"Use this journal when you have completed the recipe to record your success. You can also keep exploring before you finish.\"\n  location: inventory\n  aliases: [\"journal\"]\n  takeable: true\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    }
  ],
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_solved",
        "name": "solved",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_solve",
        "name": "solve",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_lever",
          "event": "use"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_solved",
            "value": true
          },
          {
            "kind": "message",
            "value": "You pull the small lever. The star panel opens."
          }
        ],
        "otherwise": "",
        "once": true,
        "repeatText": "The star panel is already open. You do not need another hint."
      },
      {
        "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_solved",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "Progressive hints helped without completing the puzzle automatically. 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,
      "hints": [
        {
          "id": "lesson_hint",
          "name": "Puzzle help",
          "enabled": true,
          "scope": {
            "kind": "room",
            "target": "lesson_room"
          },
          "priority": 10,
          "conditions": [],
          "match": "all",
          "completedConditions": [
            {
              "kind": "state",
              "target": "lesson_solved",
              "operator": "==",
              "value": true
            }
          ],
          "completedMatch": "all",
          "completedText": "The star panel is already open. You do not need another hint.",
          "levels": [
            {
              "level": "gentle",
              "text": "Study the star panel for something that can move.",
              "conditions": [],
              "match": "all"
            },
            {
              "level": "strong",
              "text": "The small lever beside the stars controls the panel.",
              "conditions": [],
              "match": "all"
            },
            {
              "level": "solution",
              "text": "USE SMALL LEVER to open the star panel.",
              "conditions": [],
              "match": "all"
            }
          ]
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "80-create-a-player-friendly-hint-system",
        "choices": {
          "room": {
            "existing": "",
            "name": "Star Panel Room",
            "description": "A star panel hides a compartment. Use HINT if you want help."
          },
          "panel": {
            "existing": "",
            "name": "star panel",
            "description": "Three stars surround a small lever."
          },
          "lever": {
            "existing": "",
            "name": "small lever",
            "description": "Use this lever to open the panel."
          }
        },
        "values": {
          "gentle": "Study the star panel for something that can move.",
          "strong": "The small lever beside the stars controls the panel.",
          "solution": "USE SMALL LEVER to open the star panel.",
          "done": "The star panel is already open. You do not need another hint.",
          "success": "You pull the small lever. The star panel opens."
        },
        "reuseRoutes": {}
      },
      "owned": [
        {
          "path": "files",
          "key": "rooms/lesson_room.taml",
          "after": {
            "path": "rooms/lesson_room.taml",
            "name": "lesson_room.taml",
            "content": "room lesson_room\n  name: \"Star Panel Room\"\n  description: \"A star panel hides a compartment. Use HINT if you want help.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_panel.taml",
          "after": {
            "path": "objects/lesson_panel.taml",
            "name": "lesson_panel.taml",
            "content": "object lesson_panel\n  name: \"star panel\"\n  description: \"Three stars surround a small lever.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_lever.taml",
          "after": {
            "path": "objects/lesson_lever.taml",
            "name": "lesson_lever.taml",
            "content": "object lesson_lever\n  name: \"small lever\"\n  description: \"Use this lever to open the panel.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "objects",
          "key": "lesson_panel",
          "after": {
            "id": "lesson_panel",
            "name": "star panel",
            "description": "Three stars surround a small lever.",
            "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_lever",
          "after": {
            "id": "lesson_lever",
            "name": "small lever",
            "description": "Use this lever to open the panel.",
            "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": "mapRooms",
          "key": "lesson_room",
          "after": {
            "id": "lesson_room",
            "name": "Star Panel Room",
            "description": "A star panel hides a compartment. Use HINT if you want help.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000"
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_solved",
          "after": {
            "id": "lesson_solved",
            "name": "solved",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_solve",
          "after": {
            "id": "lesson_solve",
            "name": "solve",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_lever",
              "event": "use"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_solved",
                "value": true
              },
              {
                "kind": "message",
                "value": "You pull the small lever. The star panel opens."
              }
            ],
            "otherwise": "",
            "once": true,
            "repeatText": "The star panel is already open. You do not need another hint."
          }
        },
        {
          "path": "manifest.story.features.hints",
          "key": "lesson_hint",
          "after": {
            "id": "lesson_hint",
            "name": "Puzzle help",
            "enabled": true,
            "scope": {
              "kind": "room",
              "target": "lesson_room"
            },
            "priority": 10,
            "conditions": [],
            "match": "all",
            "completedConditions": [
              {
                "kind": "state",
                "target": "lesson_solved",
                "operator": "==",
                "value": true
              }
            ],
            "completedMatch": "all",
            "completedText": "The star panel is already open. You do not need another hint.",
            "levels": [
              {
                "level": "gentle",
                "text": "Study the star panel for something that can move.",
                "conditions": [],
                "match": "all"
              },
              {
                "level": "strong",
                "text": "The small lever beside the stars controls the panel.",
                "conditions": [],
                "match": "all"
              },
              {
                "level": "solution",
                "text": "USE SMALL LEVER to open the star panel.",
                "conditions": [],
                "match": "all"
              }
            ]
          }
        }
      ]
    }
  ],
  "creatorNotes": "HINT advances from a gentle nudge to a clear solution. It does not solve the puzzle for the player. Progress survives Save and Load, and solved puzzles give a short completion response.\nOpen Help → Cookbook → Create a Player-Friendly Hint System → Start this recipe to inspect its saved settings. The field journal and 100-point ending belong only to the sample game.\nCommands: hint; hint; hint; hint; use small lever; hint; use small lever; use field journal",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Star Panel Room",
      "description": "A star panel hides a compartment. Use HINT if you want help.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [],
  "objects": [
    {
      "id": "lesson_panel",
      "name": "star panel",
      "description": "Three stars surround a small lever.",
      "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_lever",
      "name": "small lever",
      "description": "Use this lever to open the panel.",
      "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": "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",
    "creator-features-v1"
  ]
}
