[
    {
        "id":"graveyardtraveler_10",
        "message":"Hey, did you try to open that treasure chest?",
        "replies":[
            {
                "text":"Yes.",
                "nextPhraseID":"graveyardtraveler_20"
            },
            {
                "text":"No.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"graveyardtraveler_20",
        "message":"That chest is something of a local legend. Been there for generations. They say it is sealed with magic and can only be opened with a special key, which hangs on the neck of one of the undead that roam in a cemetery directly south of here.",
        "replies":[
            {
                "text":"Killing the undead is my specialty.",
                "nextPhraseID":"graveyardtraveler_30"
            },
            {
                "text":"Undead? I would love to hear the rest of your story but I am on a mission to find my brother.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":20
            }
        ]
    },
    {
        "id":"graveyardtraveler_30",
        "message":"You don't think someone has already tried? It's a treasure chest ... left outside ... in plain view ... unguarded.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardtraveler_40"
            }
        ]
    },
    {
        "id":"graveyardtraveler_40",
        "message":"Listen kid. A hundred 'adventurers' before you have tried and failed to open that chest. The problem isn't killing some undead. It's getting into the cemetery, because it's protected by a magical barrier that prevents anyone from entering.",
        "replies":[
            {
                "text":"Interesting. Is there anything else you can tell me about the chest or cemetery?",
                "nextPhraseID":"graveyardtraveler_50"
            }
        ]
    },
    {
        "id":"graveyardtraveler_50",
        "message":"That is all I know ... Come to think of it ... Hagale from the Wood Settlement was out here a few weeks ago asking about the chest. Something about him struck me as odd. It was as if he was in a trance.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardtraveler_60"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":30
            }
        ]
    },
    {
        "id":"graveyard_corpse1",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyard_corpse2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":95,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"algore_10",
        "message":"Oh yeah? What's it to you kid? ... BURP ... If you want to know, it will cost you two bottles of Lowyna's special brew.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":35
            }
        ]
    },
    {
        "id":"algore_20",
        "message":"I heard rumors about an unguarded treasure chest. I heard that the key that opened it, hung around the neck of an undead roaming the cemetery south of the chest. I also heard that the entrance to the cemetery was sealed by magic.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_30"
            }
        ]
    },
    {
        "id":"algore_30",
        "message":"I thought nothing more of it. I was a simple trader in Loneford with a beautiful wife and daughter.\n[Hagale takes another long swig from the bottle of Lowyna's special brew]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_31"
            }
        ]
    },
    {
        "id":"algore_40",
        "message":"[Hagale takes another swig from the bottle of Lowyna's special brew]\nI realized that she wouldn't make it.\nI watched as she suffered in agonizing pain. I knew without treatment she would die in a matter of weeks.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_41"
            }
        ]
    },
    {
        "id":"algore_50",
        "message":"Still, I did not give up. I thought that if I opened the chest and gave its treasure as a gift to Lord Geomyr, I could plead with him to lift the bonemeal ban in time to save my daughter. It sounds stupid but I was desperate.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_51"
            }
        ]
    },
    {
        "id":"algore_60",
        "message":"A few days later, I tracked the bandits down. I begged and pleaded but they would not volunteer any information. They were obviously after the chest themselves, and they attacked me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_61"
            }
        ]
    },
    {
        "id":"algore_00",
        "message":"[This man smells of alcohol and some plant-like substance; he is clearly intoxicated]",
        "replies":[
            {
                "text":"I defeated the undead monster and opened the chest. I found a powerful sword inside.",
                "nextPhraseID":"algore_99",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":80
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":95,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":100,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":105,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I heard you were interested in that unattended treasure chest by the Waterway house.",
                "nextPhraseID":"algore_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Don't breathe on me! I'm leaving!",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"algore_99",
        "message":"You actually opened the chest? That sword must be worth a lot of money ... could buy a lot of Lowyna's special brew ... Sorry kid, but I need that sword!",
        "replies":[
            {
                "text":"I went through hell to get this sword. I won't give it to you without a fight.",
                "nextPhraseID":"algore_99a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"lifetaker",
                        "value":1
                    }
                ]
            },
            {
                "text":"I went through a lot to get this sword ... but you suffered more than me. I won't fight you. If you want it that badly, the sword is yours.",
                "nextPhraseID":"algore_99b",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"lifetaker",
                        "value":1
                    }
                ]
            },
            {
                "text":"Yes, I have the sword, see here!",
                "nextPhraseID":"algore_99c",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"lifetaker",
                        "value":1
                    }
                ]
            },
            {
                "text":"I did find the sword, but I don't have it anymore.",
                "nextPhraseID":"algore_99d",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"lifetaker",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"lifetaker",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"graveyardtraveler_99",
        "message":"I should not have doubted you. Well done."
    },
    {
        "id":"graveyard_quest1",
        "message":"In plain sight, you find a large extravagantly adorned treasure chest. Glancing around, it appears the chest is unattended. You think to yourself...",
        "replies":[
            {
                "text":"I have the key right here.",
                "nextPhraseID":"graveyard_quest_end",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"graveyardkey",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":70
                    }
                ]
            },
            {
                "text":"I should take a peek inside.",
                "nextPhraseID":"graveyard_quest2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Not interested, seems like trouble.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":70,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"graveyard_quest2",
        "message":"The chest is locked.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyard_quest3"
            }
        ]
    },
    {
        "id":"graveyard_quest3",
        "message":"You think to yourself...",
        "replies":[
            {
                "text":"Nothing my weapon couldn't handle.",
                "nextPhraseID":"graveyard_quest4"
            },
            {
                "text":"Not interested, seems like trouble.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"graveyard_quest4",
        "message":"Multiple strikes from your weapon do not damage the chest. The chest is protected by some form of magic.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyard_quest5"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":10
            }
        ]
    },
    {
        "id":"graveyardwall_1",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardwall_done",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":70
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"graveyardwall_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":40
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"graveyardtext",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"graveyardwall_1a"
            }
        ]
    },
    {
        "id":"graveyardwall_2",
        "message":"The text begins to radiate light. The ground begins to shake as darkness fills the sky. A loud cracking sound is followed by a rush of cold air that sends chills down your back. You watch as corpses begin to claw their way to the surface. The stench of rotting flesh fills your nostrils, making you gag.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":50
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"black40",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_0",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_1",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_2",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_3",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_4",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_5",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_6",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_7",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_8",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_9",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse2_0",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse2_1",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse2_2",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse2_3",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse2_4",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse2_5",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_entrance",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"graveyard_corpse_boss_kill",
                "mapName":"graveyard1"
            }
        ]
    },
    {
        "id":"graveyardwall_1a",
        "message":"As you approach the cemetery's entrance, your steps become heavier and heavier.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardwall_1b"
            }
        ]
    },
    {
        "id":"graveyardking_1",
        "message":"[You notice this undead is wearing a key around its neck]",
        "replies":[
            {
                "text":"I've come for the key.",
                "nextPhraseID":"graveyardking_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":60
            }
        ]
    },
    {
        "id":"algore_99a",
        "message":"Let's go.",
        "replies":[
            {
                "text":"I'm sorry it has come to this.",
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":90
            }
        ]
    },
    {
        "id":"algore_99b",
        "message":"Alright hand it over. Be quick about it.",
        "replies":[
            {
                "text":"I hope you find peace.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":95
            }
        ]
    },
    {
        "id":"graveyardking_2",
        "message":"You no brain.",
        "replies":[
            {
                "text":"Very well.",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"graveyard_quest_end",
        "message":"You open the chest and discover a powerful sword infused with unholy magic.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"lifetaker",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":80
            }
        ]
    },
    {
        "id":"algore_special",
        "message":"Thanks for letting me have the sword kid. I decided that with the money I can get for this I can rebuild my life. I'm going to sober up and start trading again. I'll be leaving here soon.",
        "replies":[
            {
                "text":"Best of luck!",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"graveyardtraveler_00",
        "message":"Greetings, young traveler.",
        "replies":[
            {
                "text":"I opened that chest and got a powerful sword.",
                "nextPhraseID":"graveyardtraveler_99",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":80
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":95,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"algore_70",
        "message":"The text described a cemetery sealed by magic to contain a powerful undead monster roaming within it. My source was correct, it was a reference to the cemetery south of that chest.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_x81"
            }
        ]
    },
    {
        "id":"algore_85",
        "message":"The ground began to tremble and darkness filled the sky. This was followed by a cracking sound, the loudest sound my ears ever heard, making a gust of cold air rush past me. Then, corpses began to claw their way to the surface. The odour ... it was putrid.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_86"
            }
        ]
    },
    {
        "id":"algore_86",
        "message":"Suddenly, a horde of undead attacked me. I fought them off as best I could but there were just too many. I barely escaped with my life and I never went back.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_86b"
            }
        ]
    },
    {
        "id":"algore_87",
        "message":"[Hagale finishes the second bottle of Lowyna's special brew]\nSure do. I hope you know what you're doing kid.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_88"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":40
            },
            {
                "rewardType":"giveItem",
                "rewardID":"graveyardtext",
                "value":1
            }
        ]
    },
    {
        "id":"graveyardbosskill_10",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardbosskill_20",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"graveyardking",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"graveyardbosskill_20",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":70
            }
        ]
    },
    {
        "id":"graveyard_quest5",
        "message":"That is probably why the chest was left outside in plain sight, unattended."
    },
    {
        "id":"algore_88",
        "message":"Good luck."
    },
    {
        "id":"algore_86b",
        "message":"My daughter passed away shortly after I returned. I failed my wife and my daughter. I lost everything. I buried my family in Loneford, gave up my trade, and came here. Now, I drink Lowyna's special brew all day ... it helps me forget.",
        "replies":[
            {
                "text":"I'm sorry for your losses. You have suffered a lot. I want to finish what you started. Do you still have that text?",
                "nextPhraseID":"algore_87"
            }
        ]
    },
    {
        "id":"gqtombstone_1",
        "message":"Here lies Damurrela of Loneford, wife of Hagale and mother of Aradilles. Killed by Plaguestriders."
    },
    {
        "id":"gqtombstone_2",
        "message":"Here lies Aradilles of Loneford, daughter of Hagale and Damurrela. Died from blistering skin."
    },
    {
        "id":"cithurn_00",
        "message":"You must not be from around here. If you were, you would know that it is impolite to barge into homes without invitation.",
        "replies":[
            {
                "text":"Sorry. I didn't mean to be rude. I'm $playername. I come from a small village where people tend to leave their doors open.",
                "nextPhraseID":"cithurn_62"
            },
            {
                "text":"I'm looking for someone.",
                "nextPhraseID":"cithurn_80"
            }
        ]
    },
    {
        "id":"cithurn_10",
        "message":"The surrounding forest is usually quiet, but for some time now it has been under a monster invasion. I am surprised you managed to reach my home.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"cithurn_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":15
            }
        ]
    },
    {
        "id":"cithurn_20",
        "message":"I heard something similar was occurring in Charwood until a young adventurer killed a vile beast in the mine beneath the city.",
        "replies":[
            {
                "text":"I was in Charwood recently and what you heard was true.\n[You describe your experiences in Charwood and the battle with Thukuzun]",
                "nextPhraseID":"cithurn_30"
            },
            {
                "text":"That is interesting, but I am supposed to be looking for my brother. I should leave.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":20
            }
        ]
    },
    {
        "id":"cithurn_30",
        "message":"I do not know if it began happening here before the events in Charwood or after. However, from what you tell me, maybe there is a connection between the two.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"cithurn_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":25
            }
        ]
    },
    {
        "id":"cithurn_40",
        "message":"There is a cave system that runs underneath the forest. If something sinister is afoot, it could be emanating from the ground below. Please, you must help me investigate the source of the monster invasion in this forest.",
        "replies":[
            {
                "text":"OK, I will help you.",
                "nextPhraseID":"cithurn_50"
            },
            {
                "text":"Sorry, I cannot help you right now.",
                "nextPhraseID":"X"
            },
            {
                "text":"How much \"investigating\" will you be doing in this proposed partnership?",
                "nextPhraseID":"cithurn_70"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":30
            }
        ]
    },
    {
        "id":"cithurn_50",
        "message":"Thank you. You will have to pass through the forest to reach an opening to the cave where you can enter. The opening is roughly east of my home.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"cithurn_51"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":35
            }
        ]
    },
    {
        "id":"waterwayacaveblock",
        "message":"The Guardian stares at you. You feel an overwhelming sense of dread, and dare not even approach it."
    },
    {
        "id":"waterwayacavekillboss_10",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"waterwayacavekillboss_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"tesrekanbone",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"waterwayacavekillboss_20",
        "replies":[
            {
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":55
            }
        ]
    },
    {
        "id":"waterwayacaveenter_10",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"waterwayacaveenter_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":35
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":40,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"waterwayacaveenter_20",
        "message":"You have found the entrance to the cave Cithurn was talking about.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":40
            }
        ]
    },
    {
        "id":"waterwayacave1_10",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"waterwayacave1_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":45,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"waterwayacave1_20",
        "message":"You notice that the air has become much damper as you make your way towards the end of the cave system.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":45
            }
        ]
    },
    {
        "id":"tesrekan",
        "message":"Ah, another puny mortal that has come to die and serve Tesrekan.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tesrekan_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":50
            }
        ]
    },
    {
        "id":"cithurn_70",
        "message":"Hmm ... I'll work on the parts that aren't dangerous. A brave and expert fighter like yourself is better suited to the dangerous parts.",
        "replies":[
            {
                "text":"Danger is my middle name! I'll help you.",
                "nextPhraseID":"cithurn_50"
            },
            {
                "text":"Sorry. Flattery will not persuade me to risk my life for some piece of forest with one old man living in it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"cithurn_80",
        "message":"Well I'm the only one here. Perhaps you should leave. Come back when you have learned some manners.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":90
            }
        ]
    },
    {
        "id":"cithurncatmeow",
        "message":"Meow ... Meow.",
        "replies":[
            {
                "text":"[You scratch the cat behind the ear]",
                "nextPhraseID":"cithurncatmeow_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "text":"[You stroke the cat]",
                "nextPhraseID":"cithurncatmeow_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":100,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"cithurnsheep",
        "message":"Baah!"
    },
    {
        "id":"lostfound1",
        "message":"You find a partly visible gem sticking out of the exposed rock.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"gem4",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":30
            }
        ]
    },
    {
        "id":"lostfound2",
        "message":"You find a partly visible gem sticking out of the exposed rock.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"gem5",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":40
            }
        ]
    },
    {
        "id":"graveyardday",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardday2",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"graveyardking",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"graveyardtext",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"algore_begin",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_special",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":95,
                        "negate":false
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"algore_11",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":35
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":40,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"drink_lowyn2",
                        "value":2
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"algore_special2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":100
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"algore_01"
            }
        ]
    },
    {
        "id":"cithurn_begin",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"cithurn_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50,
                        "negate":false
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":35,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_00",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":90,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_64",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":12,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_110",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":70
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":120,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_120",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":90
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"cithurn_130",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":120
                    }
                ]
            }
        ]
    },
    {
        "id":"graveyardday2",
        "message":"The ancient text crumbles and turns to dust. The defeat of the undead master seems to have lifted the spell animating the remaining corpses and they return to their graves.",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_0",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_1",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_2",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_3",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_4",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_5",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_6",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_7",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_8",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_9",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2_0",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2_1",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2_2",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2_3",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2_4",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2_5",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"none",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse2",
                "mapName":"graveyard0"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_entrance",
                "mapName":"graveyard1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"graveyard_corpse_boss_patrol",
                "mapName":"graveyard1"
            }
        ]
    },
    {
        "id":"graveyardtraveler_begin",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyardtraveler_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"graveyardtraveler_00"
            }
        ]
    },
    {
        "id":"lankson_begin",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"lankson10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"vilegard",
                        "value":30,
                        "negate":false
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"lankson00"
            }
        ]
    },
    {
        "id":"graveyard_quest_begin",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"graveyard_quest1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"graveyard_quest",
                        "value":80,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"cithurn_90",
        "message":"It is good to see you again $playername.",
        "replies":[
            {
                "text":"I explored the cave. You were correct. I found a monster called Tesrekan, which was similar to the one I found in the Charwood mine.",
                "nextPhraseID":"cithurn_60",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":55
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"tesrekanbone",
                        "value":1
                    }
                ]
            },
            {
                "text":"I think I need more help to be able to complete my mission.",
                "nextPhraseID":"cithurn_51",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":35
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I haven't found out what is happening yet, but I wanted to let you know I'm still working on it.",
                "nextPhraseID":"cithurn_91",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":55,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"algore_01",
        "message":"Hey kid! Why don't you be a good little boy and fetch me some Lowyna's special brew?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_00"
            }
        ]
    },
    {
        "id":"algore_11",
        "message":"Alright kid!\n[Hagale immediately opens one of the bottles and takes a big swig, which he loudly swallows before wiping his mouth on the sleeve of his tattered shirt]\nYeah, I know something about that chest ... *burp* ... I almost opened it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_20"
            }
        ]
    },
    {
        "id":"algore_31",
        "message":"That was until I had to travel to Remgard to purchase some new inventory. I normally make the trip alone. This time however, my wife and daughter decided to accompany me to Remgard.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_32"
            }
        ]
    },
    {
        "id":"cithurn_61",
        "message":"Well done! A thousand thanks young adventurer. I am in your debt. However, I would still like my talisman back. I need it to keep me safe.",
        "replies":[
            {
                "text":"Certainly. Here you are.",
                "nextPhraseID":"cithurn_100",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cithurn_talisman",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"tesrekanbone",
                        "value":1
                    }
                ]
            },
            {
                "text":"You are right about that debt. I think I'll keep the talisman as payment.",
                "nextPhraseID":"cithurn_101",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"tesrekanbone",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"cithurn_60",
        "message":"Was?",
        "replies":[
            {
                "text":"I killed the monster. I brought one of its bones as proof.",
                "nextPhraseID":"cithurn_61"
            }
        ]
    },
    {
        "id":"algore_32",
        "message":"We were only halfway there when we were attacked by Plaguestriders. My daughter and I managed to escape...\n[Hagale takes another long swig from the bottle of Lowyna's special brew]\n...but my wife did not survive.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_33"
            }
        ]
    },
    {
        "id":"algore_33",
        "message":"My daughter was afflicted by a nasty form of blistering skin. I rushed her back to Loneford. I thought with rest, good food, and water she could pull through ... but although the blisters were gradually healing, my daughter's health continued to decline.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_40"
            }
        ]
    },
    {
        "id":"algore_41",
        "message":"I had to do something. I went to Fallhaven and begged Thoronir to make me a bonemeal potion. Although it would have cured my daughter completely, he refused because Lord Geomyr banned all use of bonemeal as a healing substance!\n[Hagale takes another long swig from the bottle of Lowyna's special brew and finishes it. He proceeds to open the second the bottle.]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_50"
            }
        ]
    },
    {
        "id":"algore_51",
        "message":"I searched the land for information about the chest and graveyard. I spent my entire fortune in the process. My last few coins resulted in a tip that directed me to a group of bandits.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_60"
            }
        ]
    },
    {
        "id":"algore_61",
        "message":"I may be a trader, but traders have to learn how to protect themselves. The first few went down easily, but the leader was an experienced fighter. We fought for over an hour, but eventually I managed to kill him. I searched the body and found an ancient text.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_70"
            }
        ]
    },
    {
        "id":"algore_x81",
        "message":"The magical barrier at the cemetery could only be penetrated by someone carrying the text, which contained several magical inscriptions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_x82"
            }
        ]
    },
    {
        "id":"algore_x82",
        "message":"I took the best weapons and armor from the bandits, and made my way to the cemetery. Carrying the ancient text in my front pouch, I approached the entrance to the cemetery. I was only a few feet away when the text began to glow.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"algore_85"
            }
        ]
    },
    {
        "id":"graveyardtraveler_60",
        "message":"Maybe he knows more. You should give him a visit.",
        "replies":[
            {
                "text":"OK, I'll do that.",
                "nextPhraseID":"X"
            },
            {
                "text":"Where is the Wood settlement?",
                "nextPhraseID":"graveyardtraveler61"
            }
        ]
    },
    {
        "id":"cithurn_62",
        "message":"Well $playername, you are young, and you apologized, so perhaps I will be a little forgiving. Just remember that not everywhere is like your small village. My name is Cithurn.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"cithurn_63"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":10
            }
        ]
    },
    {
        "id":"graveyard_corpse2",
        "message":"You have small brain but small brain better than no brain. ARGH!!!",
        "replies":[
            {
                "text":"Small brain??",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"graveyardwall_1b",
        "message":"An unearthly force prevents you from entering the cemetery."
    },
    {
        "id":"cithurn_63",
        "replies":[
            {
                "nextPhraseID":"cithurn_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":35,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"cithurn_64"
            }
        ]
    },
    {
        "id":"cithurn_64",
        "message":"What's a kid like you doing around here? It's a dangerous place to be.",
        "replies":[
            {
                "text":"I'm looking for my Brother, Andor. He looks a bit like me.",
                "nextPhraseID":"cithurn_65"
            },
            {
                "text":"Dangerous? Perhaps I can help?",
                "nextPhraseID":"cithurn_66",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Dangerous? Perhaps I can help?",
                "nextPhraseID":"cithurn_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":35,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"cithurn_65",
        "message":"Sorry. I haven't seen anyone like that.",
        "replies":[
            {
                "text":"Thanks. Maybe I can help you with whatever is dangerous around here?",
                "nextPhraseID":"cithurn_66",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Thanks. I need to get going.",
                "nextPhraseID":"X"
            },
            {
                "text":"Thanks. Maybe I can help you with whatever is dangerous around here?",
                "nextPhraseID":"cithurn_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood2",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"waterwayacave",
                        "value":35,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"cithurn_66",
        "message":"I don't think so. It would need an experienced fighter to help with this problem.",
        "replies":[
            {
                "text":"I have experience fighting.",
                "nextPhraseID":"cithurn_67"
            },
            {
                "text":"Fine. If I'm back around here sometime in the future maybe I'll offer my help again. Or maybe I won't.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":12
            }
        ]
    },
    {
        "id":"cithurn_67",
        "message":"I will clarify. A more experienced fighter than you.",
        "replies":[
            {
                "text":"OK. I can take a hint.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"cithurn_51",
        "message":"Here. Take this talisman. It does much to dispel evil forces. I acquired it long ago, and it has kept me safe over the years. Since you have agreed to help me I think your need is now greater than mine. My only request is that if you are successful, you return it to me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"cithurn_52"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"cithurn_talisman",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":10
            }
        ]
    },
    {
        "id":"cithurn_52",
        "message":"Good luck young adventurer. I await your return."
    },
    {
        "id":"cithurn_100",
        "message":"Thank you. I see you are not just a great fighter, but also an adventurer that keeps his word.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":60
            }
        ]
    },
    {
        "id":"cithurn_101",
        "message":"I see. You are apparently a great fighter, but not a very honorable one.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"waterwayacave",
                "value":70
            }
        ]
    },
    {
        "id":"cithurn_110",
        "message":"Have you come to return my talisman?",
        "replies":[
            {
                "text":"Yes. I changed my mind about keeping it.",
                "nextPhraseID":"cithurn_111",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cithurn_talisman",
                        "value":1
                    }
                ]
            },
            {
                "text":"No. I already told you that I am keeping it as payment for my work.",
                "nextPhraseID":"cithurn_112"
            }
        ]
    },
    {
        "id":"cithurn_111",
        "message":"Thank you. It seems you do have more honor than I thought.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":120
            }
        ]
    },
    {
        "id":"cithurn_112",
        "message":"Then I have nothing to say to you."
    },
    {
        "id":"sign_cave_entrance",
        "message":"You have found a hatchway that appears to give access to something underground, but it is locked, and you can't open it."
    },
    {
        "id":"sign_waytolake7b_1",
        "message":"You found some gold amongst the bones!",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":653
            },
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":20
            }
        ]
    },
    {
        "id":"sign_waytolake7b_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"sign_waytolake7b_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":20,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"sign_waytolake7b_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":20
                    }
                ]
            }
        ]
    },
    {
        "id":"sign_waytolake7b_2",
        "message":"There is nothing more to be found here."
    },
    {
        "id":"lostfound1_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"lostfound1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":30,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"lostfound2_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"lostfound2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":40,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"aemens_0",
        "message":"Don't you know that it's rude to walk into someone's house without knocking?",
        "replies":[
            {
                "text":"Your neighbor was right. He said you were not always a nice person.",
                "nextPhraseID":"aemens_3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":75,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Sorry. I'll leave.",
                "nextPhraseID":"X"
            },
            {
                "text":"Sorry. I'm looking for my brother, Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"aemens_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":50
            }
        ]
    },
    {
        "id":"aemens_1",
        "message":"No. And little boys like you should not be wandering around on your own. I'm sure your father would not approve.",
        "replies":[
            {
                "text":"My father sent me to look for my brother.",
                "nextPhraseID":"aemens_2"
            }
        ]
    },
    {
        "id":"aemens_2",
        "message":"Then he must be a very bad father. He should look for your brother himself. Tell me, are your father and brother as rude as you?",
        "replies":[
            {
                "text":"Thank you for talking to me. I will leave now.",
                "nextPhraseID":"X"
            },
            {
                "text":"They are certainly not as rude as you. Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"taret_0",
        "message":"Hello kid. What can I do for you?",
        "replies":[
            {
                "text":"I'm looking for my brother, Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"taret_1"
            },
            {
                "text":"Can you tell me anything about the local area?",
                "nextPhraseID":"taret_2"
            }
        ]
    },
    {
        "id":"taret_1",
        "message":"Sorry. I don't recall seeing anyone like that.",
        "replies":[
            {
                "text":"OK. Thanks for your time.",
                "nextPhraseID":"X"
            },
            {
                "text":"Can you tell me anything about the local area?",
                "nextPhraseID":"taret_2"
            }
        ]
    },
    {
        "id":"taret_2",
        "message":"There's not much to tell. Loneford is mostly a quiet place, although I have heard rumors that there is some criminal organization based here. Personally, I don't believe it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"taret_3"
            }
        ]
    },
    {
        "id":"taret_3",
        "message":"The nastiest person in town is probably my neighbor. *laughs*. Be careful about walking in on her!",
        "replies":[
            {
                "text":"I appreciate the warning, but unfortunately it's too late. I already met her.",
                "nextPhraseID":"taret_4",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Thanks for the warning.",
                "nextPhraseID":"taret_4"
            },
            {
                "text":"You are right. I told her you warned me that she was not always nice to strangers, but I think that just annoyed her.",
                "nextPhraseID":"taret_5",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":70
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":75,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":60
            }
        ]
    },
    {
        "id":"taret_4",
        "message":"Is there anything else I can help you with?",
        "replies":[
            {
                "text":"I'm looking for my brother, Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"taret_1"
            }
        ]
    },
    {
        "id":"aemens_3",
        "message":"Did he now! Well, I'll have a word or two to say to him later! What do you want?",
        "replies":[
            {
                "text":"Sorry. Nothing. I'll leave.",
                "nextPhraseID":"X"
            },
            {
                "text":"I'm looking for my brother, Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"aemens_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":70
            }
        ]
    },
    {
        "id":"taret_5",
        "message":"Thanks kid. *sigh*. I expect she will be around here later to complain about that. You should be more careful what you say to people.",
        "replies":[
            {
                "text":"Sorry. You are right.",
                "nextPhraseID":"taret_4"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":75
            }
        ]
    },
    {
        "id":"throthaus_0",
        "message":"Is there something I can help you with?",
        "replies":[
            {
                "text":"I'm looking for my brother, Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"throthaus_1"
            },
            {
                "text":"What do you do here?",
                "nextPhraseID":"throthaus_2"
            }
        ]
    },
    {
        "id":"throthaus_1",
        "message":"No. Is there anything else?",
        "replies":[
            {
                "text":"What do you do?",
                "nextPhraseID":"throthaus_2"
            }
        ]
    },
    {
        "id":"throthaus_2",
        "message":"Like many folk in Loneford, I'm a farmer.",
        "replies":[
            {
                "text":"OK. Thanks. I need to get going.",
                "nextPhraseID":"X"
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"throthaus_3"
            }
        ]
    },
    {
        "id":"throthaus_3",
        "message":"I'm a farmer, not a shopkeeper. So yes, if you want to buy a cartload, no otherwise.",
        "replies":[
            {
                "text":"OK. Thanks. I need to get going.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"waterwaycaveloot",
        "message":"[You have stumbled upon the remains of an adventurer that came before you. Looking at what is left of their equipment, they were ill-prepared for a place such as this. Now they have no use for their equipment or gold. You debate whether to loot the corpse. In the past you have done worse, but...]",
        "replies":[
            {
                "text":"You decide to take everything.",
                "nextPhraseID":"waterwatcaveloot2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":80,
                        "negate":true
                    }
                ]
            },
            {
                "text":"You decide to leave the corpse undisturbed.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":80,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"waterwatcaveloot2",
        "rewards":[
            {
                "rewardType":"dropList",
                "rewardID":"waterwaycaveloot"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":80
            }
        ]
    },
    {
        "id":"cithurn_120",
        "message":"You again? What do you want this time?",
        "replies":[
            {
                "text":"I wish to apologize. I'm $playername. I come from a small village where people tend to leave their doors open. I didn't mean to be rude.",
                "nextPhraseID":"cithurn_62"
            },
            {
                "text":"Nothing. I'll leave now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"cithurncatmeow_1",
        "message":"Purr ... Purr.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":100
            }
        ]
    },
    {
        "id":"cithurncatmeow_2",
        "message":"Purr ... Purr.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":100
            }
        ]
    },
    {
        "id":"waterwaycavex_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"waterwaycavex_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":110,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"waterwaycavex_1",
        "message":"You have discovered a hidden room!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":110
            }
        ]
    },
    {
        "id":"tesrekan_1",
        "message":"I will kill you, and then you will join my army of undead servants and soldiers.",
        "replies":[
            {
                "text":"I just destroyed a lot of your army.",
                "nextPhraseID":"tesrekan_2"
            },
            {
                "text":"If you are so powerful why do you need an army?",
                "nextPhraseID":"tesrekan_3"
            },
            {
                "text":"I have destroyed others like you, and I will destroy you!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"tesrekan_2",
        "message":"All the more reason for me to kill you and replenish what you have destroyed!",
        "replies":[
            {
                "text":"An army with no leader is not an army, so I will destroy you!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"tesrekan_3",
        "message":"Insolent human! I will make you my undead slave!",
        "replies":[
            {
                "text":"You don't have what it takes!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"cithurn_91",
        "message":"OK. Thanks for keeping me updated. Please come back when you have more information."
    },
    {
        "id":"tesrekan_guardian_0",
        "message":"You dare approach me? You will die!",
        "replies":[
            {
                "text":"I've killed worse than you!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"waterwaycaveblock_1",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"waterwaycaveblock_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":10
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"tesrekan_guardian",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"waterwaycaveblock_2",
        "message":"The Guardian stares at you. You feel a sense of dread, but you resist the urge to turn back."
    },
    {
        "id":"cithurn_130",
        "message":"Thanks for your help, but I don't think we have anything else to discuss."
    },
    {
        "id":"old_clothes_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"old_clothes_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":130,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"old_clothes_4"
            }
        ]
    },
    {
        "id":"old_clothes_1",
        "message":"You found some crates that look as though they have been here for a very long time. One of the crates has some old, tattered clothing in it.",
        "replies":[
            {
                "text":"[Take the clothes]",
                "nextPhraseID":"old_clothes_2"
            },
            {
                "text":"[Leave the clothes]",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"old_clothes_2",
        "message":"The clothes smell musty and are falling apart.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"tunic_old",
                "value":4
            },
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":130
            }
        ]
    },
    {
        "id":"old_clothes_4",
        "message":"You found some crates that look as though they have been here for a very long time. The crates are empty now."
    },
    {
        "id":"old_crates_0",
        "message":"You found some crates that look as though they have been here for a very long time."
    },
    {
        "id":"graveyardwall_done",
        "message":"The cemetery is quiet now."
    },
    {
        "id":"waterwaycaveloot3",
        "message":"There is nothing left to take from the corpse."
    },
    {
        "id":"waterwaycaveloot_start",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"waterwaycaveloot",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":80,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"waterwaycaveloot3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":80
                    }
                ]
            }
        ]
    },
    {
        "id":"graveyardtraveler61",
        "message":"South of the Duleian road, close to Fallhaven.",
        "replies":[
            {
                "text":"OK. I'll go there now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"algore_99c",
        "message":"Hey kid! Stop waving that thing at me! If you want to talk to me, put it away first!"
    },
    {
        "id":"algore_99d",
        "message":"So where is it?",
        "replies":[
            {
                "text":"I dropped it somewhere.",
                "nextPhraseID":"algore_99e"
            },
            {
                "text":"I sold it.",
                "nextPhraseID":"algore_99f"
            }
        ]
    },
    {
        "id":"algore_99e",
        "message":"Not too bright, are you kid? Perhaps you should go and pick it up again."
    },
    {
        "id":"algore_99f",
        "message":"I gave you the text you needed to get that sword. I think some of that gold should be mine. If you don't give me some then I'll take it from you.",
        "replies":[
            {
                "text":"OK, OK. I guess it's fair that you should get a share. Here's 1000 gold.",
                "nextPhraseID":"algore_99g",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":1000
                    }
                ]
            },
            {
                "text":"No way! I fought to get the sword, and the profit is mine!",
                "nextPhraseID":"algore_99i"
            }
        ]
    },
    {
        "id":"algore_99g",
        "message":"Thanks kid. It's good to see you have some honor.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":100
            }
        ]
    },
    {
        "id":"algore_99h",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":100
            }
        ]
    },
    {
        "id":"algore_special2",
        "message":"Thanks for the gold kid. I decided that with the money I can rebuild my life. I'm going to sober up and start trading again. I'll be leaving here soon.",
        "replies":[
            {
                "text":"Good luck!",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"algore_99i",
        "message":"We'll see about that.",
        "replies":[
            {
                "text":"Yes, we will!",
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"graveyard_quest",
                "value":105
            }
        ]
    }
]
