{
  "version": "1.1",
  "name": "Multi-Stage Quest Chain with Branching Outcomes",
  "startRoom": "lesson_room",
  "author": "TAGMaker",
  "description": "Accept a quest, recover a relic, then give the one real relic to the elder, merchant or rival. The accepted delivery chooses one permanent branch, skips the other branches and awards the quest reward once.",
  "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: \"Relic Crossroads\"\n  description: \"Talk to the elder before taking the lost relic. GIVE the relic TO the elder, merchant or rival. Check QUESTS, then use the journey gate.\"\n  dark: false\nend"
    },
    {
      "path": "objects/lesson_relic.taml",
      "content": "object lesson_relic\n  name: \"lost relic\"\n  description: \"One relic with three possible recipients.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "objects/lesson_gate.taml",
      "content": "object lesson_gate\n  name: \"journey gate\"\n  description: \"Use this after completing the relic quest.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend"
    },
    {
      "path": "npcs/lesson_elder.taml",
      "content": "npc lesson_elder\n  name: \"elder\"\n  description: \"A possible recipient of the lost relic.\"\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": "npcs/lesson_merchant.taml",
      "content": "npc lesson_merchant\n  name: \"merchant\"\n  description: \"A possible recipient of the lost relic.\"\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": "npcs/lesson_rival.taml",
      "content": "npc lesson_rival\n  name: \"rival\"\n  description: \"A possible recipient of the lost relic.\"\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"
    }
  ],
  "story": {
    "version": 1,
    "states": [
      {
        "id": "lesson_started",
        "name": "started",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_found",
        "name": "found",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_locked",
        "name": "locked",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_completed",
        "name": "completed",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_finished",
        "name": "finished",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_elder_chosen",
        "name": "elder chosen",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_merchant_chosen",
        "name": "merchant chosen",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      },
      {
        "id": "lesson_rival_chosen",
        "name": "rival chosen",
        "description": "Progress remembered by this recipe.",
        "type": "boolean",
        "initial": false
      }
    ],
    "rules": [
      {
        "id": "lesson_accept",
        "name": "accept",
        "enabled": true,
        "trigger": {
          "kind": "npc",
          "target": "lesson_elder",
          "event": "talk"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_started",
            "value": true
          },
          {
            "kind": "message",
            "value": "The elder asks you to recover the lost relic. Choose its recipient carefully."
          }
        ],
        "otherwise": "",
        "once": true,
        "repeatText": "Choose who should receive the relic."
      },
      {
        "id": "lesson_require_quest",
        "name": "require quest",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_relic",
          "event": "before_take"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_started",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [],
        "otherwise": "Accept the quest, carry the lost relic and choose one recipient.",
        "once": false,
        "blockOnFailure": true
      },
      {
        "id": "lesson_find",
        "name": "find",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_relic",
          "event": "take"
        },
        "match": "all",
        "conditions": [],
        "actions": [
          {
            "kind": "state",
            "target": "lesson_found",
            "value": true
          }
        ],
        "otherwise": "",
        "once": true
      },
      {
        "id": "lesson_not_ready",
        "name": "not ready",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_gate",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_completed",
            "operator": "==",
            "value": false
          }
        ],
        "actions": [
          {
            "kind": "message",
            "value": "Complete the relic quest before leaving."
          }
        ],
        "otherwise": "",
        "once": false
      },
      {
        "id": "lesson_elder_end",
        "name": "elder end",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_gate",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_completed",
            "operator": "==",
            "value": true
          },
          {
            "kind": "state",
            "target": "lesson_elder_chosen",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "ending",
            "target": "lesson_elder_ending"
          }
        ],
        "otherwise": "",
        "once": false
      },
      {
        "id": "lesson_merchant_end",
        "name": "merchant end",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_gate",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_completed",
            "operator": "==",
            "value": true
          },
          {
            "kind": "state",
            "target": "lesson_merchant_chosen",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "ending",
            "target": "lesson_merchant_ending"
          }
        ],
        "otherwise": "",
        "once": false
      },
      {
        "id": "lesson_rival_end",
        "name": "rival end",
        "enabled": true,
        "trigger": {
          "kind": "object",
          "target": "lesson_gate",
          "event": "use"
        },
        "match": "all",
        "conditions": [
          {
            "kind": "state",
            "target": "lesson_completed",
            "operator": "==",
            "value": true
          },
          {
            "kind": "state",
            "target": "lesson_rival_chosen",
            "operator": "==",
            "value": true
          }
        ],
        "actions": [
          {
            "kind": "ending",
            "target": "lesson_rival_ending"
          }
        ],
        "otherwise": "",
        "once": false
      }
    ],
    "features": {
      "version": 1,
      "npcProfiles": [
        {
          "version": 1,
          "id": "lesson_elder_profile",
          "name": "elder abilities",
          "npcId": "lesson_elder",
          "enabled": true,
          "memory": [],
          "traits": {
            "loyalty": 50,
            "fear": 0,
            "suspicion": 0
          },
          "life": {
            "maxHealth": 100,
            "initial": "active",
            "essential": false,
            "defeat": "dead",
            "retreatAtHealth": 0
          },
          "inventory": {
            "objects": [],
            "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": []
        },
        {
          "version": 1,
          "id": "lesson_merchant_profile",
          "name": "merchant abilities",
          "npcId": "lesson_merchant",
          "enabled": true,
          "memory": [],
          "traits": {
            "loyalty": 50,
            "fear": 0,
            "suspicion": 0
          },
          "life": {
            "maxHealth": 100,
            "initial": "active",
            "essential": false,
            "defeat": "dead",
            "retreatAtHealth": 0
          },
          "inventory": {
            "objects": [],
            "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": []
        },
        {
          "version": 1,
          "id": "lesson_rival_profile",
          "name": "rival abilities",
          "npcId": "lesson_rival",
          "enabled": true,
          "memory": [],
          "traits": {
            "loyalty": 50,
            "fear": 0,
            "suspicion": 0
          },
          "life": {
            "maxHealth": 100,
            "initial": "active",
            "essential": false,
            "defeat": "dead",
            "retreatAtHealth": 0
          },
          "inventory": {
            "objects": [],
            "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": []
        }
      ],
      "quests": [
        {
          "id": "lesson_quest",
          "name": "The Lost Relic",
          "enabled": true,
          "description": "Accept, recover and choose one recipient.",
          "stages": [
            {
              "id": "lesson_accept_stage",
              "name": "Accept the quest",
              "description": "Accept the quest",
              "prerequisites": [],
              "optional": false,
              "automatic": true,
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_started",
                  "operator": "==",
                  "value": true
                }
              ],
              "match": "all",
              "completionText": "Accept the quest completed.",
              "actions": []
            },
            {
              "id": "lesson_find_stage",
              "name": "Recover the relic",
              "description": "Recover the relic",
              "prerequisites": [
                "lesson_accept_stage"
              ],
              "optional": false,
              "automatic": true,
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_found",
                  "operator": "==",
                  "value": true
                }
              ],
              "match": "all",
              "completionText": "Recover the relic completed.",
              "actions": []
            },
            {
              "id": "lesson_elder_stage",
              "name": "Deliver to the elder",
              "description": "Deliver to the elder",
              "prerequisites": [
                "lesson_find_stage"
              ],
              "optional": false,
              "automatic": true,
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_elder_chosen",
                  "operator": "==",
                  "value": true
                }
              ],
              "match": "all",
              "completionText": "Deliver to the elder completed.",
              "actions": [],
              "exclusiveGroup": "lesson_recipient"
            },
            {
              "id": "lesson_merchant_stage",
              "name": "Deliver to the merchant",
              "description": "Deliver to the merchant",
              "prerequisites": [
                "lesson_find_stage"
              ],
              "optional": false,
              "automatic": true,
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_merchant_chosen",
                  "operator": "==",
                  "value": true
                }
              ],
              "match": "all",
              "completionText": "Deliver to the merchant completed.",
              "actions": [],
              "exclusiveGroup": "lesson_recipient"
            },
            {
              "id": "lesson_rival_stage",
              "name": "Deliver to the rival",
              "description": "Deliver to the rival",
              "prerequisites": [
                "lesson_find_stage"
              ],
              "optional": false,
              "automatic": true,
              "conditions": [
                {
                  "kind": "state",
                  "target": "lesson_rival_chosen",
                  "operator": "==",
                  "value": true
                }
              ],
              "match": "all",
              "completionText": "Deliver to the rival completed.",
              "actions": [],
              "exclusiveGroup": "lesson_recipient"
            }
          ],
          "completionText": "The relic quest is complete.",
          "completionActions": [
            {
              "kind": "score",
              "value": 200
            },
            {
              "kind": "state",
              "target": "lesson_completed",
              "value": true
            }
          ]
        }
      ],
      "recipes": [
        {
          "id": "lesson_deliver_elder",
          "name": "deliver elder",
          "enabled": true,
          "verbs": [
            "give"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_relic",
              "disposition": "transfer"
            }
          ],
          "tools": [],
          "match": "all",
          "conditions": [
            {
              "kind": "state",
              "target": "lesson_started",
              "operator": "==",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_found",
              "operator": "==",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_locked",
              "operator": "==",
              "value": false
            }
          ],
          "actions": [
            {
              "kind": "state",
              "target": "lesson_locked",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_elder_chosen",
              "value": true
            }
          ],
          "once": true,
          "success": "The recipient accepts the relic. Your choice is permanent.",
          "failure": "Accept the quest, carry the lost relic and choose one recipient.",
          "repeat": "The relic has already been handed over.",
          "target": {
            "kind": "npc",
            "id": "lesson_elder"
          }
        },
        {
          "id": "lesson_deliver_merchant",
          "name": "deliver merchant",
          "enabled": true,
          "verbs": [
            "give"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_relic",
              "disposition": "transfer"
            }
          ],
          "tools": [],
          "match": "all",
          "conditions": [
            {
              "kind": "state",
              "target": "lesson_started",
              "operator": "==",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_found",
              "operator": "==",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_locked",
              "operator": "==",
              "value": false
            }
          ],
          "actions": [
            {
              "kind": "state",
              "target": "lesson_locked",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_merchant_chosen",
              "value": true
            }
          ],
          "once": true,
          "success": "The recipient accepts the relic. Your choice is permanent.",
          "failure": "Accept the quest, carry the lost relic and choose one recipient.",
          "repeat": "The relic has already been handed over.",
          "target": {
            "kind": "npc",
            "id": "lesson_merchant"
          }
        },
        {
          "id": "lesson_deliver_rival",
          "name": "deliver rival",
          "enabled": true,
          "verbs": [
            "give"
          ],
          "unordered": true,
          "inputs": [
            {
              "objectId": "lesson_relic",
              "disposition": "transfer"
            }
          ],
          "tools": [],
          "match": "all",
          "conditions": [
            {
              "kind": "state",
              "target": "lesson_started",
              "operator": "==",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_found",
              "operator": "==",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_locked",
              "operator": "==",
              "value": false
            }
          ],
          "actions": [
            {
              "kind": "state",
              "target": "lesson_locked",
              "value": true
            },
            {
              "kind": "state",
              "target": "lesson_rival_chosen",
              "value": true
            }
          ],
          "once": true,
          "success": "The recipient accepts the relic. Your choice is permanent.",
          "failure": "Accept the quest, carry the lost relic and choose one recipient.",
          "repeat": "The relic has already been handed over.",
          "target": {
            "kind": "npc",
            "id": "lesson_rival"
          }
        }
      ],
      "endings": [
        {
          "id": "lesson_elder_ending",
          "name": "Relic: elder",
          "enabled": true,
          "automatic": false,
          "priority": 0,
          "conditions": [],
          "match": "all",
          "text": "Your journey ends with the elder holding the relic.",
          "actions": [
            {
              "kind": "state",
              "target": "lesson_finished",
              "value": true
            }
          ]
        },
        {
          "id": "lesson_merchant_ending",
          "name": "Relic: merchant",
          "enabled": true,
          "automatic": false,
          "priority": 0,
          "conditions": [],
          "match": "all",
          "text": "Your journey ends with the merchant holding the relic.",
          "actions": [
            {
              "kind": "state",
              "target": "lesson_finished",
              "value": true
            }
          ]
        },
        {
          "id": "lesson_rival_ending",
          "name": "Relic: rival",
          "enabled": true,
          "automatic": false,
          "priority": 0,
          "conditions": [],
          "match": "all",
          "text": "Your journey ends with the rival holding the relic.",
          "actions": [
            {
              "kind": "state",
              "target": "lesson_finished",
              "value": true
            }
          ]
        }
      ]
    }
  },
  "cookbookRecipes": [
    {
      "version": 1,
      "settings": {
        "instance": "lesson",
        "recipeId": "a1-multi-stage-quest-chain-with-branching-outcomes",
        "choices": {
          "room": {
            "existing": "",
            "name": "Relic Crossroads",
            "description": "Talk to the elder before taking the lost relic. GIVE the relic TO the elder, merchant or rival. Check QUESTS, then use the journey gate."
          },
          "relic": {
            "existing": "",
            "name": "lost relic",
            "description": "One relic with three possible recipients."
          },
          "gate": {
            "existing": "",
            "name": "journey gate",
            "description": "Use this after completing the relic quest."
          },
          "elder": {
            "existing": "",
            "name": "elder",
            "description": "A possible recipient of the lost relic."
          },
          "merchant": {
            "existing": "",
            "name": "merchant",
            "description": "A possible recipient of the lost relic."
          },
          "rival": {
            "existing": "",
            "name": "rival",
            "description": "A possible recipient of the lost relic."
          }
        },
        "values": {
          "accept": "The elder asks you to recover the lost relic. Choose its recipient carefully.",
          "failure": "Accept the quest, carry the lost relic and choose one recipient.",
          "success": "The recipient accepts the relic. Your choice is permanent.",
          "repeat": "The relic has already been handed over.",
          "reward": 200,
          "elder": "Your journey ends with the elder holding the relic.",
          "merchant": "Your journey ends with the merchant holding the relic.",
          "rival": "Your journey ends with the rival holding the relic."
        },
        "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: \"Relic Crossroads\"\n  description: \"Talk to the elder before taking the lost relic. GIVE the relic TO the elder, merchant or rival. Check QUESTS, then use the journey gate.\"\n  dark: false\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_relic.taml",
          "after": {
            "path": "objects/lesson_relic.taml",
            "name": "lesson_relic.taml",
            "content": "object lesson_relic\n  name: \"lost relic\"\n  description: \"One relic with three possible recipients.\"\n  location: lesson_room\n  takeable: true\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "objects/lesson_gate.taml",
          "after": {
            "path": "objects/lesson_gate.taml",
            "name": "lesson_gate.taml",
            "content": "object lesson_gate\n  name: \"journey gate\"\n  description: \"Use this after completing the relic quest.\"\n  location: lesson_room\n  droppable: false\n  use_give: true\n  weight: 0.1\nend",
            "isDirty": true
          }
        },
        {
          "path": "files",
          "key": "npcs/lesson_elder.taml",
          "after": {
            "path": "npcs/lesson_elder.taml",
            "name": "lesson_elder.taml",
            "content": "npc lesson_elder\n  name: \"elder\"\n  description: \"A possible recipient of the lost relic.\"\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": "npcs/lesson_merchant.taml",
          "after": {
            "path": "npcs/lesson_merchant.taml",
            "name": "lesson_merchant.taml",
            "content": "npc lesson_merchant\n  name: \"merchant\"\n  description: \"A possible recipient of the lost relic.\"\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": "npcs/lesson_rival.taml",
          "after": {
            "path": "npcs/lesson_rival.taml",
            "name": "lesson_rival.taml",
            "content": "npc lesson_rival\n  name: \"rival\"\n  description: \"A possible recipient of the lost relic.\"\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": "objects",
          "key": "lesson_relic",
          "after": {
            "id": "lesson_relic",
            "name": "lost relic",
            "description": "One relic with three possible recipients.",
            "article": "",
            "location": "lesson_room",
            "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": "objects",
          "key": "lesson_gate",
          "after": {
            "id": "lesson_gate",
            "name": "journey gate",
            "description": "Use this after completing the relic quest.",
            "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": "npcs",
          "key": "lesson_elder",
          "after": {
            "id": "lesson_elder",
            "name": "elder",
            "description": "A possible recipient of the lost relic.",
            "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": "npcs",
          "key": "lesson_merchant",
          "after": {
            "id": "lesson_merchant",
            "name": "merchant",
            "description": "A possible recipient of the lost relic.",
            "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": "npcs",
          "key": "lesson_rival",
          "after": {
            "id": "lesson_rival",
            "name": "rival",
            "description": "A possible recipient of the lost relic.",
            "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": "Relic Crossroads",
            "description": "Talk to the elder before taking the lost relic. GIVE the relic TO the elder, merchant or rival. Check QUESTS, then use the journey gate.",
            "reentryEnabled": false,
            "reentryDesc": "",
            "hint": "",
            "dark": false,
            "roomType": "regular",
            "x": 100,
            "y": 100,
            "width": 160,
            "height": 64,
            "color": "#000000"
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_started",
          "after": {
            "id": "lesson_started",
            "name": "started",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_found",
          "after": {
            "id": "lesson_found",
            "name": "found",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_locked",
          "after": {
            "id": "lesson_locked",
            "name": "locked",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_completed",
          "after": {
            "id": "lesson_completed",
            "name": "completed",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_finished",
          "after": {
            "id": "lesson_finished",
            "name": "finished",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_elder_chosen",
          "after": {
            "id": "lesson_elder_chosen",
            "name": "elder chosen",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_merchant_chosen",
          "after": {
            "id": "lesson_merchant_chosen",
            "name": "merchant chosen",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.states",
          "key": "lesson_rival_chosen",
          "after": {
            "id": "lesson_rival_chosen",
            "name": "rival chosen",
            "description": "Progress remembered by this recipe.",
            "type": "boolean",
            "initial": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_accept",
          "after": {
            "id": "lesson_accept",
            "name": "accept",
            "enabled": true,
            "trigger": {
              "kind": "npc",
              "target": "lesson_elder",
              "event": "talk"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_started",
                "value": true
              },
              {
                "kind": "message",
                "value": "The elder asks you to recover the lost relic. Choose its recipient carefully."
              }
            ],
            "otherwise": "",
            "once": true,
            "repeatText": "Choose who should receive the relic."
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_require_quest",
          "after": {
            "id": "lesson_require_quest",
            "name": "require quest",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_relic",
              "event": "before_take"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_started",
                "operator": "==",
                "value": true
              }
            ],
            "actions": [],
            "otherwise": "Accept the quest, carry the lost relic and choose one recipient.",
            "once": false,
            "blockOnFailure": true
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_find",
          "after": {
            "id": "lesson_find",
            "name": "find",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_relic",
              "event": "take"
            },
            "match": "all",
            "conditions": [],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_found",
                "value": true
              }
            ],
            "otherwise": "",
            "once": true
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_not_ready",
          "after": {
            "id": "lesson_not_ready",
            "name": "not ready",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_gate",
              "event": "use"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_completed",
                "operator": "==",
                "value": false
              }
            ],
            "actions": [
              {
                "kind": "message",
                "value": "Complete the relic quest before leaving."
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_elder_end",
          "after": {
            "id": "lesson_elder_end",
            "name": "elder end",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_gate",
              "event": "use"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_completed",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_elder_chosen",
                "operator": "==",
                "value": true
              }
            ],
            "actions": [
              {
                "kind": "ending",
                "target": "lesson_elder_ending"
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_merchant_end",
          "after": {
            "id": "lesson_merchant_end",
            "name": "merchant end",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_gate",
              "event": "use"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_completed",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_merchant_chosen",
                "operator": "==",
                "value": true
              }
            ],
            "actions": [
              {
                "kind": "ending",
                "target": "lesson_merchant_ending"
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.rules",
          "key": "lesson_rival_end",
          "after": {
            "id": "lesson_rival_end",
            "name": "rival end",
            "enabled": true,
            "trigger": {
              "kind": "object",
              "target": "lesson_gate",
              "event": "use"
            },
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_completed",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_rival_chosen",
                "operator": "==",
                "value": true
              }
            ],
            "actions": [
              {
                "kind": "ending",
                "target": "lesson_rival_ending"
              }
            ],
            "otherwise": "",
            "once": false
          }
        },
        {
          "path": "manifest.story.features.npcProfiles",
          "key": "lesson_elder_profile",
          "after": {
            "version": 1,
            "id": "lesson_elder_profile",
            "name": "elder abilities",
            "npcId": "lesson_elder",
            "enabled": true,
            "memory": [],
            "traits": {
              "loyalty": 50,
              "fear": 0,
              "suspicion": 0
            },
            "life": {
              "maxHealth": 100,
              "initial": "active",
              "essential": false,
              "defeat": "dead",
              "retreatAtHealth": 0
            },
            "inventory": {
              "objects": [],
              "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.npcProfiles",
          "key": "lesson_merchant_profile",
          "after": {
            "version": 1,
            "id": "lesson_merchant_profile",
            "name": "merchant abilities",
            "npcId": "lesson_merchant",
            "enabled": true,
            "memory": [],
            "traits": {
              "loyalty": 50,
              "fear": 0,
              "suspicion": 0
            },
            "life": {
              "maxHealth": 100,
              "initial": "active",
              "essential": false,
              "defeat": "dead",
              "retreatAtHealth": 0
            },
            "inventory": {
              "objects": [],
              "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.npcProfiles",
          "key": "lesson_rival_profile",
          "after": {
            "version": 1,
            "id": "lesson_rival_profile",
            "name": "rival abilities",
            "npcId": "lesson_rival",
            "enabled": true,
            "memory": [],
            "traits": {
              "loyalty": 50,
              "fear": 0,
              "suspicion": 0
            },
            "life": {
              "maxHealth": 100,
              "initial": "active",
              "essential": false,
              "defeat": "dead",
              "retreatAtHealth": 0
            },
            "inventory": {
              "objects": [],
              "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.quests",
          "key": "lesson_quest",
          "after": {
            "id": "lesson_quest",
            "name": "The Lost Relic",
            "enabled": true,
            "description": "Accept, recover and choose one recipient.",
            "stages": [
              {
                "id": "lesson_accept_stage",
                "name": "Accept the quest",
                "description": "Accept the quest",
                "prerequisites": [],
                "optional": false,
                "automatic": true,
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_started",
                    "operator": "==",
                    "value": true
                  }
                ],
                "match": "all",
                "completionText": "Accept the quest completed.",
                "actions": []
              },
              {
                "id": "lesson_find_stage",
                "name": "Recover the relic",
                "description": "Recover the relic",
                "prerequisites": [
                  "lesson_accept_stage"
                ],
                "optional": false,
                "automatic": true,
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_found",
                    "operator": "==",
                    "value": true
                  }
                ],
                "match": "all",
                "completionText": "Recover the relic completed.",
                "actions": []
              },
              {
                "id": "lesson_elder_stage",
                "name": "Deliver to the elder",
                "description": "Deliver to the elder",
                "prerequisites": [
                  "lesson_find_stage"
                ],
                "optional": false,
                "automatic": true,
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_elder_chosen",
                    "operator": "==",
                    "value": true
                  }
                ],
                "match": "all",
                "completionText": "Deliver to the elder completed.",
                "actions": [],
                "exclusiveGroup": "lesson_recipient"
              },
              {
                "id": "lesson_merchant_stage",
                "name": "Deliver to the merchant",
                "description": "Deliver to the merchant",
                "prerequisites": [
                  "lesson_find_stage"
                ],
                "optional": false,
                "automatic": true,
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_merchant_chosen",
                    "operator": "==",
                    "value": true
                  }
                ],
                "match": "all",
                "completionText": "Deliver to the merchant completed.",
                "actions": [],
                "exclusiveGroup": "lesson_recipient"
              },
              {
                "id": "lesson_rival_stage",
                "name": "Deliver to the rival",
                "description": "Deliver to the rival",
                "prerequisites": [
                  "lesson_find_stage"
                ],
                "optional": false,
                "automatic": true,
                "conditions": [
                  {
                    "kind": "state",
                    "target": "lesson_rival_chosen",
                    "operator": "==",
                    "value": true
                  }
                ],
                "match": "all",
                "completionText": "Deliver to the rival completed.",
                "actions": [],
                "exclusiveGroup": "lesson_recipient"
              }
            ],
            "completionText": "The relic quest is complete.",
            "completionActions": [
              {
                "kind": "score",
                "value": 200
              },
              {
                "kind": "state",
                "target": "lesson_completed",
                "value": true
              }
            ]
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_deliver_elder",
          "after": {
            "id": "lesson_deliver_elder",
            "name": "deliver elder",
            "enabled": true,
            "verbs": [
              "give"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_relic",
                "disposition": "transfer"
              }
            ],
            "tools": [],
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_started",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_found",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_locked",
                "operator": "==",
                "value": false
              }
            ],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_locked",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_elder_chosen",
                "value": true
              }
            ],
            "once": true,
            "success": "The recipient accepts the relic. Your choice is permanent.",
            "failure": "Accept the quest, carry the lost relic and choose one recipient.",
            "repeat": "The relic has already been handed over.",
            "target": {
              "kind": "npc",
              "id": "lesson_elder"
            }
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_deliver_merchant",
          "after": {
            "id": "lesson_deliver_merchant",
            "name": "deliver merchant",
            "enabled": true,
            "verbs": [
              "give"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_relic",
                "disposition": "transfer"
              }
            ],
            "tools": [],
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_started",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_found",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_locked",
                "operator": "==",
                "value": false
              }
            ],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_locked",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_merchant_chosen",
                "value": true
              }
            ],
            "once": true,
            "success": "The recipient accepts the relic. Your choice is permanent.",
            "failure": "Accept the quest, carry the lost relic and choose one recipient.",
            "repeat": "The relic has already been handed over.",
            "target": {
              "kind": "npc",
              "id": "lesson_merchant"
            }
          }
        },
        {
          "path": "manifest.story.features.recipes",
          "key": "lesson_deliver_rival",
          "after": {
            "id": "lesson_deliver_rival",
            "name": "deliver rival",
            "enabled": true,
            "verbs": [
              "give"
            ],
            "unordered": true,
            "inputs": [
              {
                "objectId": "lesson_relic",
                "disposition": "transfer"
              }
            ],
            "tools": [],
            "match": "all",
            "conditions": [
              {
                "kind": "state",
                "target": "lesson_started",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_found",
                "operator": "==",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_locked",
                "operator": "==",
                "value": false
              }
            ],
            "actions": [
              {
                "kind": "state",
                "target": "lesson_locked",
                "value": true
              },
              {
                "kind": "state",
                "target": "lesson_rival_chosen",
                "value": true
              }
            ],
            "once": true,
            "success": "The recipient accepts the relic. Your choice is permanent.",
            "failure": "Accept the quest, carry the lost relic and choose one recipient.",
            "repeat": "The relic has already been handed over.",
            "target": {
              "kind": "npc",
              "id": "lesson_rival"
            }
          }
        },
        {
          "path": "manifest.story.features.endings",
          "key": "lesson_elder_ending",
          "after": {
            "id": "lesson_elder_ending",
            "name": "Relic: elder",
            "enabled": true,
            "automatic": false,
            "priority": 0,
            "conditions": [],
            "match": "all",
            "text": "Your journey ends with the elder holding the relic.",
            "actions": [
              {
                "kind": "state",
                "target": "lesson_finished",
                "value": true
              }
            ]
          }
        },
        {
          "path": "manifest.story.features.endings",
          "key": "lesson_merchant_ending",
          "after": {
            "id": "lesson_merchant_ending",
            "name": "Relic: merchant",
            "enabled": true,
            "automatic": false,
            "priority": 0,
            "conditions": [],
            "match": "all",
            "text": "Your journey ends with the merchant holding the relic.",
            "actions": [
              {
                "kind": "state",
                "target": "lesson_finished",
                "value": true
              }
            ]
          }
        },
        {
          "path": "manifest.story.features.endings",
          "key": "lesson_rival_ending",
          "after": {
            "id": "lesson_rival_ending",
            "name": "Relic: rival",
            "enabled": true,
            "automatic": false,
            "priority": 0,
            "conditions": [],
            "match": "all",
            "text": "Your journey ends with the rival holding the relic.",
            "actions": [
              {
                "kind": "state",
                "target": "lesson_finished",
                "value": true
              }
            ]
          }
        }
      ]
    }
  ],
  "creatorNotes": "Accept a quest, recover a relic, then give the one real relic to the elder, merchant or rival. The accepted delivery chooses one permanent branch, skips the other branches and awards the quest reward once. Open this recipe in Help to inspect its saved settings.",
  "mapRooms": [
    {
      "id": "lesson_room",
      "name": "Relic Crossroads",
      "description": "Talk to the elder before taking the lost relic. GIVE the relic TO the elder, merchant or rival. Check QUESTS, then use the journey gate.",
      "reentryEnabled": false,
      "reentryDesc": "",
      "hint": "",
      "dark": false,
      "roomType": "regular",
      "x": 100,
      "y": 100,
      "width": 160,
      "height": 64,
      "color": "#000000"
    }
  ],
  "mapExits": [],
  "objects": [
    {
      "id": "lesson_relic",
      "name": "lost relic",
      "description": "One relic with three possible recipients.",
      "article": "",
      "location": "lesson_room",
      "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": "lesson_gate",
      "name": "journey gate",
      "description": "Use this after completing the relic quest.",
      "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": []
    }
  ],
  "npcs": [
    {
      "id": "lesson_elder",
      "name": "elder",
      "description": "A possible recipient of the lost relic.",
      "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": []
    },
    {
      "id": "lesson_merchant",
      "name": "merchant",
      "description": "A possible recipient of the lost relic.",
      "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": []
    },
    {
      "id": "lesson_rival",
      "name": "rival",
      "description": "A possible recipient of the lost relic.",
      "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"
  ]
}
