[
    {
        "id":"brv_employee",
        "replies":[
            {
                "nextPhraseID":"brv_employee_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employee_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employee_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employee_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employee_01"
            }
        ]
    },
    {
        "id":"brv_employee_01",
        "message":"Ooh. Oooooh!",
        "replies":[
            {
                "text":"Hey, what's the matter with you?",
                "nextPhraseID":"brv_employee_02"
            }
        ]
    },
    {
        "id":"brv_employee_02",
        "message":"I feel so bad.",
        "replies":[
            {
                "text":"Looks like a bit of a fever. Just stay in bed for a few days.",
                "nextPhraseID":"brv_employee_03"
            }
        ]
    },
    {
        "id":"brv_employee_03",
        "message":"But I can't! I mustn't! Gnossath would kill me.",
        "replies":[
            {
                "text":"Gnossath would kill you? Why?",
                "nextPhraseID":"brv_employee_04"
            }
        ]
    },
    {
        "id":"brv_employee_04",
        "message":"I am working for him.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employee_05"
            }
        ]
    },
    {
        "id":"brv_employee_05",
        "message":"He lent me money, so that I could afford this house. But no work - no money. I fear that if I can't pay my debts, Gnossath will take my house.",
        "replies":[
            {
                "text":"Maybe I could help you? I could do your work.",
                "nextPhraseID":"brv_employee_06"
            },
            {
                "text":"That's the way it goes, man. Have a nice day.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employee_06",
        "message":"You would do that? Oh, thank you! Thank you!",
        "replies":[
            {
                "text":"And you - get healthy again!",
                "nextPhraseID":"X"
            },
            {
                "text":"I have too good a heart.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":10
            }
        ]
    },
    {
        "id":"brv_employee_10",
        "message":"Did you talk to Gnossath?",
        "replies":[
            {
                "text":"Not yet.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employee_30",
        "message":"Did you talk to Gnossath?",
        "replies":[
            {
                "text":"Yes. He wants me to carry heavy boulders.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employee_40",
        "message":"Did you start working already?",
        "replies":[
            {
                "text":"Yes. It is hard work, really.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employee_90",
        "message":"Thank you for your help!",
        "replies":[
            {
                "text":"Was a pleasure.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employee2",
        "message":"Hey kid! Come and have a drink with me!",
        "replies":[
            {
                "text":"No, thank you.",
                "nextPhraseID":"X"
            },
            {
                "text":"I thought you were ill?",
                "nextPhraseID":"brv_employee2_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":11
            }
        ]
    },
    {
        "id":"brv_employee2_10",
        "message":"I am still ill - just taking my medicine here."
    },
    {
        "id":"brv_employee_key_house",
        "message":"The door is locked."
    },
    {
        "id":"brv_employee_wife",
        "message":"Who are you? Stebbarik, my husband, is not at home.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employee_wife_10"
            }
        ]
    },
    {
        "id":"brv_employee_wife_10",
        "message":"Not at home, no. He never is.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employee_wife2",
        "message":"Hey kid! Come and have a drink with me!",
        "replies":[
            {
                "text":"No, thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer",
        "replies":[
            {
                "nextPhraseID":"brv_employer_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_01",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_0"
            }
        ]
    },
    {
        "id":"brv_employer_0",
        "message":"Ahoy kid! I am Gnossath, warden of the great dam.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employer_01"
            }
        ]
    },
    {
        "id":"brv_employer_01",
        "message":"I am waiting for Stebbarik. Have you seen him?",
        "replies":[
            {
                "text":"No. What do you want of him?",
                "nextPhraseID":"brv_employer_02"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":11
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_employee2",
                "mapName":"brimhaven_tavern1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_employee_wife",
                "mapName":"brimhaven_employee"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_employee",
                "mapName":"brimhaven_employee"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_employee_wife2",
                "mapName":"brimhaven_tavern1"
            }
        ]
    },
    {
        "id":"brv_employer_02",
        "message":"He has to work for me. I hope for his sake that he will appear soon.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employer_04"
            }
        ]
    },
    {
        "id":"brv_employer_04",
        "message":"You could do me a favor, if you'd find him for me."
    },
    {
        "id":"brv_employer_10",
        "message":"Have you seen the lazybones, Stebbarik?",
        "replies":[
            {
                "text":"Stebbarik is ill at home. He is very anxious that you might get angry.",
                "nextPhraseID":"brv_employer_10_10"
            }
        ]
    },
    {
        "id":"brv_employer_10_10",
        "message":"Ill? Rats! Who will repair the dam now? It must be done soon.",
        "replies":[
            {
                "text":"If it is so important, maybe I can help?",
                "nextPhraseID":"brv_employer_10_20"
            }
        ]
    },
    {
        "id":"brv_employer_10_20",
        "message":"You? This work requires a lot of heavy lifting. You being a kid and all, I'm not sure you are up to it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employer_10_22"
            }
        ]
    },
    {
        "id":"brv_employer_10_22",
        "message":"We need 25 big boulders carried from the stock to the dam here.",
        "replies":[
            {
                "text":"Sounds easy. Let me try it.",
                "nextPhraseID":"brv_employer_10_30"
            },
            {
                "text":"You are right. This is no work for me.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer_10_30",
        "message":"OK. Try, if you want. The pile of boulders is just next to the wooden logs over there.",
        "replies":[
            {
                "text":"OK.",
                "nextPhraseID":"brv_employer_10_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":30
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"Mapevents_boulders",
                "mapName":"brimhaven1"
            }
        ]
    },
    {
        "id":"brv_employer_10_40",
        "message":"But beware, they are really heavy."
    },
    {
        "id":"brv_employer_30",
        "message":"Where are the boulders? I knew they would be too heavy for you.",
        "replies":[
            {
                "text":"Just you wait.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer_40",
        "message":"You have carried some boulders already - good. Just do the rest too.",
        "replies":[
            {
                "text":"OK.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer_90",
        "message":"Thanks again for your good work. Are you sure you don't want a job?",
        "replies":[
            {
                "text":"Certainly not. I am on a mission for Mikhail.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_8",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_boulder",
                        "value":5
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_1"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_1",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_1c",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue1"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_1s",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":1
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue1",
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_2"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_1c",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue1",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_1s",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue1",
                "value":99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_2",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_2c",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":2,
                        "negate":true
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue2"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_2s",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":2
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue2",
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_3"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_2c",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_3"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue2",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_2s",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_3"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue2",
                "value":99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_3",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_3c",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":3,
                        "negate":true
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue3"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_3s",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":3
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue3",
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_4"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_3c",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_4"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue3",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_3s",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_4"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue3",
                "value":99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_4",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_4c",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":4,
                        "negate":true
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue4"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_4s",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":4
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"fatigue4",
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_4c",
        "replies":[
            {
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue4",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_4s",
        "replies":[
            {
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue4",
                "value":99
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_8",
        "replies":[
            {
                "nextPhraseID":"brv_employer_carry_boulder_8",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_boulder",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_carry_boulder_9"
            }
        ]
    },
    {
        "id":"brv_employer_carry_boulder_9",
        "message":"Breathing heavily under the big load, you collapse, losing all the boulders."
    },
    {
        "id":"brv_employer_check_boulder",
        "message":"You can't carry so many boulders."
    },
    {
        "id":"brv_employer_check_boulder_2",
        "message":"Hey, where are you going? Bring the boulders to the dam!",
        "switchToNPC":"brv_employer"
    },
    {
        "id":"brv_employer_get_boulder",
        "replies":[
            {
                "nextPhraseID":"brv_employer_get_boulder_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_get_boulder_02",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_get_boulder_04"
            }
        ]
    },
    {
        "id":"brv_employer_get_boulder_02",
        "message":"Hands off! These boulders are needed for the dam!",
        "switchToNPC":"brv_employer"
    },
    {
        "id":"brv_employer_get_boulder_04",
        "message":"A huge pile of boulders."
    },
    {
        "id":"brv_employer_get_boulder_10",
        "message":"Take a boulder?",
        "replies":[
            {
                "text":"Ah, no. This would be too much.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":4
                    }
                ]
            },
            {
                "text":"Yes.",
                "nextPhraseID":"brv_employer_get_boulder_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":4,
                        "negate":true
                    }
                ]
            },
            {
                "text":"No.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_employer_get_boulder_20",
        "message":"Oof, that's heavy!",
        "replies":[
            {
                "text":"Take another one.",
                "nextPhraseID":"brv_employer_get_boulder_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_boulder",
                        "value":4,
                        "negate":true
                    }
                ]
            },
            {
                "text":"And now to the dam.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"brv_boulder",
                "value":1
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue1",
                "value":99
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder",
        "replies":[
            {
                "nextPhraseID":"brv_employer_put_boulder_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_boulder",
                        "value":4
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_boulder",
                        "value":3
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_boulder",
                        "value":2
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_1",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_boulder",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_1",
        "message":"You throw the boulder into the water, just in front of the dam.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employer_put_boulder_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"brv_boulder_count",
                "value":1
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue1",
                "value":-99
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue2",
                "value":-99
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue3",
                "value":-99
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue4",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_2",
        "message":"You throw 2 boulders into the water, just in front of the dam.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_employer_put_boulder_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"brv_boulder_count",
                "value":2
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue2",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_3",
        "message":"You throw 3 boulders into the water, just in front of the dam.",
        "replies":[
            {
                "text":"Uff.",
                "nextPhraseID":"brv_employer_put_boulder_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"brv_boulder_count",
                "value":3
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue3",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_4",
        "message":"You throw 4 boulders into the water, just in front of the dam.",
        "replies":[
            {
                "text":"Uff. They somehow seem to get heavier and heavier.",
                "nextPhraseID":"brv_employer_put_boulder_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"brv_boulder_count",
                "value":4
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"fatigue4",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_10",
        "replies":[
            {
                "nextPhraseID":"brv_employer_put_boulder_90",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_boulder_count",
                        "value":25
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_24",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_boulder_count",
                        "value":21
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":44,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_23",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_boulder_count",
                        "value":16
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":43,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_22",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_boulder_count",
                        "value":11
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":42,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_employer_put_boulder_21",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_boulder_count",
                        "value":6
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":41,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":40
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_21",
        "message":"You have brought already more than 5 boulders.",
        "switchToNPC":"brv_employer",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":41
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_22",
        "message":"Over 10 boulders.",
        "switchToNPC":"brv_employer",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":42
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_23",
        "message":"At least 15 boulders now.",
        "switchToNPC":"brv_employer",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":43
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_24",
        "message":"Only a few boulders left.",
        "switchToNPC":"brv_employer",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":44
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_90",
        "message":"Wow, you got it.",
        "switchToNPC":"brv_employer",
        "replies":[
            {
                "text":"My arms are longer now...",
                "nextPhraseID":"brv_employer_put_boulder_92"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_employee_wife2",
                "mapName":"brimhaven_tavern1"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_employee",
                "mapName":"brimhaven_employee"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_employee",
                "value":90
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"Mapevents_boulders",
                "mapName":"brimhaven1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_employee_wife",
                "mapName":"brimhaven_employee"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_employee2",
                "mapName":"brimhaven_tavern1"
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":83
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":89
            }
        ]
    },
    {
        "id":"brv_employer_put_boulder_92",
        "message":"I am really impressed. You have done four times as much as Stebbarik. So tell him, that he can stay home this week and get cured again.",
        "replies":[
            {
                "text":"He will be very relieved.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_flood_key",
        "message":"I can't swim."
    },
    {
        "id":"brv_flood_key_set1",
        "replies":[
            {
                "nextPhraseID":"brv_flood_key_set1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":83
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":70
            }
        ]
    },
    {
        "id":"brv_flood_key_set1_10",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"drowning",
                "value":990
            }
        ]
    },
    {
        "id":"brv_flood_key_set1a",
        "replies":[
            {
                "nextPhraseID":"brv_flood_key_set1a_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":83
                    }
                ]
            },
            {
                "nextPhraseID":"brv_flood_key_set1a_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"drowning",
                "value":-99
            }
        ]
    },
    {
        "id":"brv_flood_key_set1a_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":70
            }
        ]
    },
    {
        "id":"brv_flood_key_set1a_20",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":70
            }
        ]
    },
    {
        "id":"brv_flood_key_set2",
        "replies":[
            {
                "nextPhraseID":"brv_flood_key_set1"
            }
        ]
    },
    {
        "id":"brv_flood_key_set2a",
        "replies":[
            {
                "nextPhraseID":"brv_flood_key_set1a"
            }
        ]
    },
    {
        "id":"brv_flood_0",
        "replies":[
            {
                "nextPhraseID":"brv_flood_0_5",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":52
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":54,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"hand_axe",
                        "value":1,
                        "negate":false
                    }
                ]
            },
            {
                "nextPhraseID":"brv_flood_0_7",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":54,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"hand_axe",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_flood_0_10",
        "message":"Water comes pouring through the hole in the dam. A lot of water!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":54
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":71
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":81
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":56
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":100
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"exit_guard",
                "mapName":"brimhaven3"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"exit_guard1",
                "mapName":"brimhaven4"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"exit_guard2",
                "mapName":"brimhaven4"
            }
        ]
    },
    {
        "id":"brv_flood_1",
        "replies":[
            {
                "nextPhraseID":"brv_flood_1a"
            }
        ]
    },
    {
        "id":"brv_flood_1a",
        "replies":[
            {
                "nextPhraseID":"brv_flood_1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":71
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":72,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_flood_1_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":72
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":82
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":81
            }
        ]
    },
    {
        "id":"brv_flood_2",
        "replies":[
            {
                "nextPhraseID":"brv_flood_2_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":72
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":73,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_flood_2_warning",
        "replies":[
            {
                "nextPhraseID":"brv_flood_2_warning_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":82
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_flood_2_warning_10",
        "message":"I have never learned to swim - I really should run back!"
    },
    {
        "id":"brv_flood_2_10",
        "replies":[
            {
                "nextPhraseID":"brv_flood_2a_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"drowning",
                "value":990
            }
        ]
    },
    {
        "id":"brv_flood_2a",
        "replies":[
            {
                "nextPhraseID":"brv_flood_2a_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":72
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":73,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_flood_2a_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":73
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":83
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":82
            }
        ]
    },
    {
        "id":"brv_fisher",
        "message":"Hush! You are scaring the fish away!"
    },
    {
        "id":"brv_richman",
        "replies":[
            {
                "nextPhraseID":"brv_guard_captain_and_rich_man",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":200
                    }
                ]
            },
            {
                "nextPhraseID":"brv_richman_25",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":150
                    }
                ]
            },
            {
                "nextPhraseID":"brv_richman_15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":130
                    }
                ]
            },
            {
                "nextPhraseID":"brv_richman_01"
            }
        ]
    },
    {
        "id":"brv_tavern1_guest",
        "message":"I'm drinking because I hate myself..."
    },
    {
        "id":"brv_tavern1_guest2",
        "message":"I'm drinking because my wife left me and took my beagle with her.  Now how am I supposed to hunt?",
        "replies":[
            {
                "text":"I'm so sorry to hear about your problems.  I love dogs too.",
                "nextPhraseID":"X"
            },
            {
                "text":"Hey, speaking of killing, I'm wondering if you know anything about Lawellyn's death?",
                "nextPhraseID":"brv_tavern1_guest2_asd_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":130
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_tavern1_landlord",
        "message":"I'm coming, just a second..."
    },
    {
        "id":"anakis_start",
        "replies":[
            {
                "nextPhraseID":"anakis_help_find_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_meet_2nd_time",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_did_you_find_my_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_can_you_take_revenge",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":60,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_thank_healing_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"quick_glance",
                        "value":85
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_did_you_take_revenge",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":90,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_at_home_thanks",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":85
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_at_home_angry",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":85,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"anakis_at_home_morning"
            }
        ]
    },
    {
        "id":"anakis_meet_2nd_time",
        "message":"Hello again. Can you please help me to find my sister Juttarka?",
        "replies":[
            {
                "text":"I found a statue looking almost like a real woman. [Describe the statue to Anakis]",
                "nextPhraseID":"anakis_thank_finding_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":10
                    }
                ]
            },
            {
                "text":"Yes, I will search for your sister.",
                "nextPhraseID":"anakis_agreed_find_sister"
            },
            {
                "text":"No, that's none of my business.",
                "nextPhraseID":"anakis_deny_help"
            }
        ]
    },
    {
        "id":"anakis_help_find_sister",
        "message":"Hello my name is Anakis. I hope you can you help me. \n\nYesterday my sister Juttarka left the city to go up to this hill. She did not come home and now I am searching for her. I fear she went into that cave.",
        "replies":[
            {
                "text":"I found a statue that looks almost like a real woman. [Describe the statue to Anakis]",
                "nextPhraseID":"anakis_thank_finding_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":10
                    }
                ]
            },
            {
                "text":"Yes, I will search for your sister.",
                "nextPhraseID":"anakis_agreed_find_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "text":"No, that's none of my business.",
                "nextPhraseID":"anakis_deny_help"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":10
            }
        ]
    },
    {
        "id":"anakis_agreed_find_sister",
        "message":"Thank you. My sister has long hair and is wearing a long skirt.\n\nPlease take care. Fangwurm the priest in western Brimhaven told us about a Basilisk in the cave that will turn you to stone when you go near him and your eyes meet its eyes.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":20
            }
        ]
    },
    {
        "id":"anakis_did_you_find_my_sister",
        "message":"Did you find my sister?",
        "replies":[
            {
                "text":"No, not yet.",
                "nextPhraseID":"X"
            },
            {
                "text":"I only found a stone statue that looks almost like a real woman. [Describe the statue to Anakis]",
                "nextPhraseID":"anakis_thank_finding_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"anakis_thank_finding_sister",
        "message":"Oh no, that's her! Thank you for helping me to find out what happened to her. \n\nI think it was the Basilisk who did that to her.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"anakis_can_you_take_revenge"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":50
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":40
            }
        ]
    },
    {
        "id":"anakis_can_you_take_revenge",
        "message":"Can you find the Basilisk and kill it? And maybe there is a way to help my sister. But take care that the same fate that happened to my sister does not befall you.",
        "replies":[
            {
                "text":"I already found the Basilisk and killed it.",
                "nextPhraseID":"anakis_thank_taking_revenge",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    }
                ]
            },
            {
                "text":"I will take revenge, but first tell me how I might help your sister.",
                "nextPhraseID":"anakis_talk_to_priest",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I can't imagine how to help your sister but I will take revenge for her and find a way to kill that Basilisk.",
                "nextPhraseID":"anakis_agreed_take_revenge",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"No, that's too dangerous for me.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":60
            }
        ]
    },
    {
        "id":"anakis_agreed_take_revenge",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":70
            }
        ]
    },
    {
        "id":"anakis_did_you_take_revenge",
        "message":"Did you kill the Basilisk?",
        "replies":[
            {
                "text":"I found the Basilisk and killed it, but I decided to take the blood for myself.",
                "nextPhraseID":"anakis_sad_blood_not_use_for_sister",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30
                    }
                ]
            },
            {
                "text":"I found the Basilisk and killed it.",
                "nextPhraseID":"anakis_thank_taking_revenge",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":75,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    }
                ]
            },
            {
                "text":"I found no way to help your sister, but I took revenge and killed the Basilisk.",
                "nextPhraseID":"anakis_thank_taking_revenge",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":75
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30,
                        "negate":true
                    }
                ]
            },
            {
                "text":"No, not yet.",
                "nextPhraseID":"X"
            },
            {
                "text":"I will take revenge, but let me first think if it is possible to help your sister.",
                "nextPhraseID":"anakis_talk_to_priest"
            }
        ]
    },
    {
        "id":"anakis_thank_taking_revenge",
        "message":"Thank you for taking revenge for Juttarka. I will go now and mourn for my sister.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"R"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":90
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"anakis",
                "mapName":"brimhaven_anakis_house"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"anakis",
                "mapName":"brimhaven7"
            }
        ]
    },
    {
        "id":"anakis_thank_healing_sister",
        "message":"Thank you so much for rescuing my sister Juttarka. She just came out of the cave and told me what you did for her. I will now go home, too.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"R"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":90
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"anakis",
                "mapName":"brimhaven_anakis_house"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"anakis",
                "mapName":"brimhaven7"
            }
        ]
    },
    {
        "id":"anakis_sad_blood_not_use_for_sister",
        "message":"Oh no. Why did you not even try to help her? Now i will go and mourn for my sister.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"R"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":90
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"anakis",
                "mapName":"brimhaven_anakis_house"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"anakis",
                "mapName":"brimhaven7"
            }
        ]
    },
    {
        "id":"sister_statue",
        "message":"This stone statue looks almost like a real woman.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_found_statue",
                "value":10
            }
        ]
    },
    {
        "id":"basiliskcave2_check_sister_statue",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_sister_statue_questprogress",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"sister_statue"
            }
        ]
    },
    {
        "id":"basiliskcave2_sister_statue_questprogress",
        "replies":[
            {
                "nextPhraseID":"sister_statue"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":40
            }
        ]
    },
    {
        "id":"basiliskcave2_check_turntostone_30",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_warn",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"hand_mirror",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"turn_to_stone",
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":15,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_warn_hint",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"hand_mirror",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"turn_to_stone",
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_remove_turntostone",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"hand_mirror",
                        "value":1
                    },
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"turn_to_stone"
                    }
                ]
            }
        ]
    },
    {
        "id":"basiliskcave2_check_heal_sister",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_dried_blood",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_ask_heal_sister",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":60
                    }
                ]
            }
        ]
    },
    {
        "id":"basiliskcave2_ask_heal_sister",
        "message":"You killed the Basilisk and the blood flows out of its wounds.",
        "replies":[
            {
                "text":"I use the crystal vial and pour the blood over the stone statue.",
                "nextPhraseID":"basiliskcave2_decided_to_heal",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"empty_crystal_vial",
                        "value":1
                    }
                ]
            },
            {
                "text":"I keep the blood for myself using the empty crystal vial.",
                "nextPhraseID":"basiliskcave2_keep_blood",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"empty_crystal_vial",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":80
            }
        ]
    },
    {
        "id":"basiliskcave2_decided_to_heal",
        "message":"Slowly the stone statue gets colorful and starts to move. You healed the woman!\n\nAfter she comes back to life, she thanks you and tells you that she is Anakis' sister Juttarka.\n\nShe will leave the cave now and meet her waiting brother.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_found_statue",
                "value":20
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":85
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_found_statue",
                "value":30
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"juttarka",
                "mapName":"brimhaven_anakis_house"
            }
        ]
    },
    {
        "id":"basiliskcave2_keep_blood",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"basilisk_blood",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_found_statue",
                "value":30
            }
        ]
    },
    {
        "id":"basiliskcave2_dried_blood",
        "message":"There is only some dried-up blood on the ground left."
    },
    {
        "id":"juttarka_thank",
        "message":"Thank you for saving my life. Please come back and visit me sometime in the future when you are older.",
        "replies":[
            {
                "text":"No problem, the pleasure was mine. Maybe sometime soon I could introduce you to my older brother Andor.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"anakis_at_home_morning",
        "message":"Thank you for trying to help my sister. I am so sad."
    },
    {
        "id":"anakis_at_home_thanks",
        "message":"Thank you so much for helping my sister Juttarka. We are all very happy."
    },
    {
        "id":"anakis_at_home_angry",
        "message":"Go away. I don't want to talk to people like you."
    },
    {
        "id":"fallhaven_potions_offer_crystal_vial",
        "message":"Yes, I have some crystal vials. I can sell you one for 50 gold pieces.",
        "replies":[
            {
                "text":"That is too expensive for me.",
                "nextPhraseID":"fallhaven_potions_offer_crystal_vial_too_expensive"
            },
            {
                "text":"I'll take one.",
                "nextPhraseID":"fallhaven_potions_buy_crystal_vial",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":50
                    }
                ]
            }
        ]
    },
    {
        "id":"fallhaven_potions_buy_crystal_vial",
        "message":"Here is your crystal vial. Thanks for the 50 gold pieces.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_potions"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"empty_crystal_vial",
                "value":1
            }
        ]
    },
    {
        "id":"fangwurm_start",
        "replies":[
            {
                "nextPhraseID":"fangwurm_thank_rescuing_sister",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":85
                    }
                ]
            },
            {
                "nextPhraseID":"fangwurm_angry_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"fangwurm_angry",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"fangwurm_thank_killing_basilisk",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":60
                    }
                ]
            },
            {
                "nextPhraseID":"fangwurm_thank_killing_basilisk_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"fangwurm_talking"
            }
        ]
    },
    {
        "id":"fangwurm_info_about_blood",
        "message":"The Basilisk's blood has special properties. It can protect against damage if applied to the skin. Fresh, warm, Basilisks blood might even heal a person that has been turned to stone.\nBut how can you kill a Basilisk if you can't even look at it? It has a very strong defense.",
        "replies":[
            {
                "text":"I already killed the Basilisk.",
                "nextPhraseID":"fangwurm_thank_killing_basilisk",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    }
                ]
            },
            {
                "text":"You are right, it will not be possible to kill the Basilisk.",
                "nextPhraseID":"X"
            },
            {
                "text":"I will find a way to kill the Basilisk.",
                "nextPhraseID":"fangwurm_info_vial"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":77
            }
        ]
    },
    {
        "id":"anakis_talk_to_priest",
        "message":"I have no idea how to help her. But maybe Fangwurm the priest in western Brimhaven has some information.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":70
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":75
            }
        ]
    },
    {
        "id":"fangwurm_thank_rescuing_sister",
        "message":"Juttarka told me that you saved her life. Thank you. May the Shadow always be with you."
    },
    {
        "id":"fangwurm_angry",
        "message":"I am sad that you took the blood for yourself instead of trying to help Anakis' sister. Please leave now.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_found_statue",
                "value":50
            }
        ]
    },
    {
        "id":"fangwurm_thank_killing_basilisk",
        "message":"Thank you for killing the Basilisk, but it would be better if you had talked to me before killing it, because its magical blood is now dried up and wasted. May the Shadow always be with you.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_found_statue",
                "value":60
            }
        ]
    },
    {
        "id":"fangwurm_talking",
        "message":"May the Shadow be with you.",
        "replies":[
            {
                "text":"I killed the Basilisk and took the blood for myself.",
                "nextPhraseID":"fangwurm_angry",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":85,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I killed the Basilisk in the cave.",
                "nextPhraseID":"fangwurm_thank_killing_basilisk",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance_hidden_found_statue",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"old_basilisk",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20
                    }
                ]
            },
            {
                "text":"Can you please tell me again, what you know about the Basilisk's blood? ",
                "nextPhraseID":"fangwurm_info_about_blood",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":77
                    }
                ]
            },
            {
                "text":"I believe that Anakis' sister was turned to stone by the Basilisk in the cave. Do you have any idea if I could help her?",
                "nextPhraseID":"fangwurm_info_about_blood",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":77,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":50
                    }
                ]
            },
            {
                "text":"Anakis' sister is missing. Can you tell me more about the Basilisk in the cave?",
                "nextPhraseID":"fangwurm_info_basilisk",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I am looking for my brother, Andor. He looks a bit like me.",
                "nextPhraseID":"fangwurm_talking_1a"
            }
        ]
    },
    {
        "id":"fangwurm_info_vial",
        "message":"You would need a special crystal vial that is resistant to the Basilisk's blood to handle it. The potion maker in Fallhaven might sell them. \nMay the Shadow be with you.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":78
            }
        ]
    },
    {
        "id":"fangwurm_info_basilisk",
        "message":"The Basilisk will turn you to stone when you go near him and your eyes meet its eyes. You should not look at it. Come back to me if you know what happened to Anakis' sister."
    },
    {
        "id":"fangwurm_angry_2",
        "message":"Anakis told me that you took the blood for yourself instead of trying to help his sister. Please leave now."
    },
    {
        "id":"fangwurm_thank_killing_basilisk_2",
        "message":"Anakis told me that you killed the Basilisk. Thank you, but it would be better if you had talked to me before killing it, because its magical blood is now dried up and wasted. May the Shadow always be with you."
    },
    {
        "id":"basiliskcave2_warn",
        "message":"You see an old Basilisk at the end of the room that glances at you. With a feeling of deadly danger your movements get slower the nearer you go.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"turn_to_stone",
                "value":999
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_position",
                "value":110
            }
        ]
    },
    {
        "id":"basiliskcave2_remove_turntostone",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"turn_to_stone",
                "value":-99
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"quick_glance_hidden_position",
                "value":110
            }
        ]
    },
    {
        "id":"brimhaven_church_guard",
        "message":"Stop! You are not allowed to go any further.",
        "replies":[
            {
                "text":"I'm on a mission.",
                "nextPhraseID":"brimhaven_church_guard_1"
            },
            {
                "text":"OK, I'll leave.",
                "nextPhraseID":"X"
            },
            {
                "text":"OK. I'll leave [lie].",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"arlish_0",
        "message":"Hello. I'm Arlish, the proprietor. This is a general store, so I sell some of this, some of that, and a little bit of the other. Would you like to see what I have?",
        "replies":[
            {
                "text":"Yes, please show me.",
                "nextPhraseID":"S"
            },
            {
                "text":"No thanks.",
                "nextPhraseID":"X"
            },
            {
                "text":"The teacher said that you would give me a cake.",
                "nextPhraseID":"arlish_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay2",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay2",
                        "value":42,
                        "negate":true
                    }
                ]
            },
            {
                "text":"The teacher said that you would give me a cake.",
                "nextPhraseID":"arlish_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay2",
                        "value":42
                    }
                ]
            },
            {
                "text":"What can you tell me about Lawellyn's dagger?",
                "nextPhraseID":"arlish_asd_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":110
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":115,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":120,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":200,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":230,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I want to talk about the investigation.",
                "nextPhraseID":"arlish_asd_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":130,
                        "negate":false
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":200,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":230,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I need to find a large empty bottle. Do you have one?",
                "nextPhraseID":"arlish_bottle_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"cat_and_mouse",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"cat_and_mouse",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"cat_and_mouse",
                        "value":40,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"arlish_10",
        "message":"Sure. You must have done something very good. Wait a second...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arlish_12"
            }
        ]
    },
    {
        "id":"arlish_12",
        "message":"Shall I cut it for you?",
        "replies":[
            {
                "text":"Yes, please.",
                "nextPhraseID":"arlish_16"
            },
            {
                "text":"No, thank you. I prefer the cake as a whole.",
                "nextPhraseID":"arlish_14"
            }
        ]
    },
    {
        "id":"arlish_14",
        "message":"I'm afraid you'll get a stomachache if you eat the whole cake at once. But well - here you have it.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"cake",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay2",
                "value":42
            }
        ]
    },
    {
        "id":"arlish_16",
        "message":"Well, I'm cutting the cake into 8 large pieces. I hope they taste good to you!",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"cake_piece",
                "value":8
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay2",
                "value":42
            }
        ]
    },
    {
        "id":"arlish_20",
        "message":"Yes, but only one.",
        "replies":[
            {
                "text":"One could try...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"truric_0",
        "message":"Hello. I am Truric. Welcome to my store.",
        "replies":[
            {
                "text":"Thanks, but I need to go. This isn't what I was looking for.",
                "nextPhraseID":"X"
            },
            {
                "text":"What do you sell?",
                "nextPhraseID":"truric_1_0"
            },
            {
                "text":"I am looking for my brother, Andor. He looks a bit like me. Have you seen anyone like that recently?",
                "nextPhraseID":"truric_2_0"
            }
        ]
    },
    {
        "id":"blackjack_gambler1",
        "message":"What a bad day. I was losing all the time."
    },
    {
        "id":"blackjack_seat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"blackjack_dealer_select",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":50,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":100
            }
        ]
    },
    {
        "id":"blackjack_gambler2",
        "message":"I already made a fortune. Want to join us? Then take a seat in the empty chair and talk to the dealer.",
        "replies":[
            {
                "text":"Excuse me sir, but you look like someone that may be able to help me.",
                "nextPhraseID":"blackjack_gambler2_asd_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":130
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":200,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":230,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"blackjack_left_seat",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":100
            }
        ]
    },
    {
        "id":"blackjack_dealer_40_2",
        "message":"Let us start the tavern brawl!",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_blackjack_dealer",
                "mapName":"brimhaven_tavern_west_back"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_blackjack_gambler1",
                "mapName":"brimhaven_tavern_west_back"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_blackjack_gambler2",
                "mapName":"brimhaven_tavern_west_back"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_blackjack_dealer_evil",
                "mapName":"brimhaven_tavern_west_back"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_blackjack_gambler1_evil",
                "mapName":"brimhaven_tavern_west_back"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_blackjack_gambler2_evil",
                "mapName":"brimhaven_tavern_west_back"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack",
                "value":50
            }
        ]
    },
    {
        "id":"brv_tavern_west_backroom_5",
        "replies":[
            {
                "nextPhraseID":"brv_tavern_west_guard_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"brv_tavern_west_backroom_6"
            }
        ]
    },
    {
        "id":"brv_tavern_west_guard_10",
        "message":"[You hear noises from the back room...]\nStop! Tell me the password, if you want to enter.",
        "switchToNPC":"brv_tavern_west_guard",
        "replies":[
            {
                "text":"I don't know the password.",
                "nextPhraseID":"X"
            },
            {
                "text":"[Tell him the password]",
                "nextPhraseID":"brv_tavern_west_guard_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":30
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack",
                "value":10
            }
        ]
    },
    {
        "id":"brv_tavern_west_guard_20",
        "message":"I wish you good luck. [Laughs]",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":150
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack",
                "value":40
            }
        ]
    },
    {
        "id":"brv_tavern_west_guard_select",
        "replies":[
            {
                "nextPhraseID":"brv_tavern_west_guard_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":60
                    }
                ]
            },
            {
                "nextPhraseID":"brv_tavern_west_guard_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":50
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"brv_blackjack_dealer_evil",
                        "value":1
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"brv_blackjack_gambler1_evil",
                        "value":1
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"brv_blackjack_gambler1_evil",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_tavern_west_guard_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"brv_tavern_west_backroom_5"
            }
        ]
    },
    {
        "id":"brv_tavern_west_guard_100",
        "message":"You are not welcome anymore."
    },
    {
        "id":"brv_tavern_west_guard_90",
        "message":"I heard you fighting in there. Lucky for you that no one got killed. \nYou are not welcome anymore.",
        "switchToNPC":"brv_tavern_west_guard",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack",
                "value":60
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":150
            }
        ]
    },
    {
        "id":"brv_tavern_west_check_deny_backroom",
        "switchToNPC":"brv_tavern_west_guard",
        "replies":[
            {
                "nextPhraseID":"brv_tavern_west_guard_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack_hidden",
                        "value":150
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":50
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"brv_blackjack_gambler2_evil",
                        "value":1
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"brv_blackjack_gambler1_evil",
                        "value":1
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"brv_blackjack_dealer_evil",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_tavern_west_backroom_6",
        "replies":[
            {
                "nextPhraseID":"brv_tavern_west_guard_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack",
                "value":10
            }
        ]
    },
    {
        "id":"blackjack_dealer_select",
        "replies":[
            {
                "text":"",
                "nextPhraseID":"blackjack_dealer_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack_hidden",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"blackjack_dealer_30"
            }
        ]
    },
    {
        "id":"blackjack_dealer_20",
        "message":"Take a seat on the empty chair if you want to play a round.",
        "switchToNPC":"brv_blackjack_dealer"
    },
    {
        "id":"blackjack_dealer_30",
        "message":"Do you want to play a round?",
        "switchToNPC":"brv_blackjack_dealer",
        "replies":[
            {
                "text":"Yes",
                "nextPhraseID":"blackjack_bet_select"
            },
            {
                "text":"No",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"blackjack_dealer_40",
        "message":"Do you want to play another round?",
        "replies":[
            {
                "text":"Let's go on.",
                "nextPhraseID":"blackjack_bet_select"
            },
            {
                "text":"I have had enough.",
                "nextPhraseID":"X"
            },
            {
                "text":"You are cheating. Give me my money back.",
                "nextPhraseID":"blackjack_dealer_40_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_blackjack",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_blackjack_won",
                        "value":3
                    }
                ]
            }
        ]
    },
    {
        "id":"blackjack_dealer_40_1",
        "message":"Who do you think you are, calling me a cheater? Shut up or I will shut your mouth with my fist.",
        "replies":[
            {
                "text":"OK, I am sorry.",
                "nextPhraseID":"blackjack_dealer_30"
            },
            {
                "text":"Let's fight it out. [Killing him in town is a bad idea. I will try to only knock him out.]",
                "nextPhraseID":"blackjack_dealer_40_2"
            }
        ]
    },
    {
        "id":"brv_tavern_west_guest",
        "message":"Go away and let me eat.",
        "replies":[
            {
                "text":"I'm wondering, do you know anything about Lawellyn's death?",
                "nextPhraseID":"brv_tavern_west_guest_asd_inquiry_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":130
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":200,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":230,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_laundry_worker_0",
        "message":"Hello, how can I help you?",
        "replies":[
            {
                "text":"What are you working on?",
                "nextPhraseID":"brv_laundry_worker_2"
            },
            {
                "text":"Can you sell me something?",
                "nextPhraseID":"brv_laundry_worker_1"
            }
        ]
    },
    {
        "id":"brv_laundry_worker_2",
        "message":"Currently I am coloring some cloth, but we do everything related to cloth, like repairing, custom tailoring, or enhancing. We also do some work with leather.",
        "replies":[
            {
                "text":"Can you sell me something?",
                "nextPhraseID":"brv_laundry_worker_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":10
            }
        ]
    },
    {
        "id":"brv_laundry_worker_1",
        "message":"I only work here. Please go to my boss over there, she runs the business."
    },
    {
        "id":"brv_woodcutter_0",
        "message":"[Cutting wood]",
        "replies":[
            {
                "text":"Hello",
                "nextPhraseID":"brv_woodcutter_1"
            }
        ]
    },
    {
        "id":"brv_woodcutter_1",
        "message":"[Stops cutting wood] \n\nIf you want to buy some wood cutting tools or wood products then just go inside.\n\n[Continues cutting wood]",
        "replies":[
            {
                "text":"Bye",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_woodcraftsman_0",
        "message":"Hello, we sell the finest wood products and tools. Do you want to buy some?",
        "replies":[
            {
                "text":"Yes",
                "nextPhraseID":"S"
            },
            {
                "text":"No, I just want to look around.",
                "nextPhraseID":"brv_woodcraftsman_2"
            },
            {
                "text":"I am looking for my brother, Andor. He looks a bit like me.",
                "nextPhraseID":"brv_woodcraftsman_1"
            }
        ]
    },
    {
        "id":"brv_woodcraftsman_2",
        "message":"Take your time."
    },
    {
        "id":"brv_old_farmer_0",
        "message":"What are you doing in my house?",
        "replies":[
            {
                "text":"Nothing, sorry I will leave.",
                "nextPhraseID":"X"
            },
            {
                "text":"I am just looking around.",
                "nextPhraseID":"brv_old_farmer_1"
            },
            {
                "text":"Can I buy some of your food?",
                "nextPhraseID":"brv_old_farmer_2"
            }
        ]
    },
    {
        "id":"brv_old_farmer_1",
        "message":"Please leave my house.",
        "replies":[
            {
                "text":"Can I buy some of your food?",
                "nextPhraseID":"brv_old_farmer_2"
            }
        ]
    },
    {
        "id":"brv_old_farmer_2",
        "message":"Normally we sell to the market. But OK, let's trade.",
        "replies":[
            {
                "text":"Thanks",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"brv_farmer",
        "message":"It is really warm today. Please let me finish my work before it gets too hot."
    },
    {
        "id":"brv_farmer_girl_0",
        "message":"[Working and singing]",
        "replies":[
            {
                "text":"Hello",
                "nextPhraseID":"brv_farmer_girl_1"
            }
        ]
    },
    {
        "id":"brv_farmer_girl_1",
        "message":"What a wonderful warm day.\n\n[Continues working and singing]",
        "replies":[
            {
                "text":"[Join her singing]",
                "nextPhraseID":"brv_farmer_girl_2"
            },
            {
                "text":"I have to go.",
                "nextPhraseID":"X"
            },
            {
                "text":"I'm wondering, do you know anything about Lawellyn's death?",
                "nextPhraseID":"brv_asd_no_info_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":130
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":200,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":230,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_farmer_girl_2",
        "message":"You are a funny person.\n\n[Laughs and continues working and singing]"
    },
    {
        "id":"brv_laundry_boss_0",
        "message":"Hello, what can I do for you?",
        "replies":[
            {
                "text":"Can you sell me something?",
                "nextPhraseID":"brv_laundry_boss_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay_multipurpose",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I want to buy the dresses.",
                "nextPhraseID":"S",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay_multipurpose",
                        "value":15
                    }
                ]
            },
            {
                "text":"I want you to improve some of my clothes.",
                "nextPhraseID":"brv_laundry_boss_4",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay_multipurpose",
                        "value":10
                    }
                ]
            },
            {
                "text":"I am looking for my brother, Andor. He looks a bit like me.",
                "nextPhraseID":"brv_laundry_boss_0b"
            },
            {
                "text":"Have you ever seen a glove like this? [Shows Venanra the glove.]",
                "nextPhraseID":"brv_laundry_boss_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":170
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ogea_glove",
                        "value":1
                    }
                ]
            },
            {
                "text":"Did you order an 'Old, worn cape'?",
                "nextPhraseID":"brv_wh_delivery_venanra",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_wh_item_06",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":50
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_laundry_boss_1",
        "message":"We are working on some nice green dresses. We can also repair and improve your clothes.",
        "replies":[
            {
                "text":"I want to buy the dresses.",
                "nextPhraseID":"S"
            },
            {
                "text":"What clothes can be improved and how much does it cost?",
                "nextPhraseID":"brv_laundry_boss_4"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":15
            }
        ]
    },
    {
        "id":"brv_laundry_boss_4",
        "message":"Improving a fine green hat costs 1,397 gold, fine snakeskin gloves costs 640 gold, and improving superior leather boots costs 432 gold.",
        "replies":[
            {
                "text":"I don't have any of this equipment. Can you sell me something else?",
                "nextPhraseID":"brv_laundry_boss_1",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"hat2",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gloves4",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"boots2",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Please improve my fine green hat.",
                "nextPhraseID":"brv_laundry_boss_5b",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"hat2",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":1397,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Please improve my fine green hat.",
                "nextPhraseID":"brv_laundry_boss_5",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"hat2",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":1397
                    }
                ]
            },
            {
                "text":"Please improve my fine snakeskin gloves.",
                "nextPhraseID":"brv_laundry_boss_6b",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gloves4",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":640,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Please improve my fine snakeskin gloves.",
                "nextPhraseID":"brv_laundry_boss_6",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gloves4",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":640
                    }
                ]
            },
            {
                "text":"Please improve my superior leather boots.",
                "nextPhraseID":"brv_laundry_boss_7b",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"boots2",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":432,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Please improve my superior leather boots.",
                "nextPhraseID":"brv_laundry_boss_7",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"boots2",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":432
                    }
                ]
            },
            {
                "text":"Can you sell me something else?",
                "nextPhraseID":"brv_laundry_boss_1"
            }
        ]
    },
    {
        "id":"brv_laundry_boss_5",
        "message":"I will immediatelly give it to my worker. Please wait until he is finished. \n\n[You wait some time.] \n\nHere is your enhanced hat.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"hat2enhanced",
                "value":1
            }
        ]
    },
    {
        "id":"brv_laundry_boss_2",
        "message":"What else can I do for you?",
        "replies":[
            {
                "text":"I want you to improve some of my clothes.",
                "nextPhraseID":"brv_laundry_boss_4"
            },
            {
                "text":"Can you sell something to me?",
                "nextPhraseID":"brv_laundry_boss_1"
            }
        ]
    },
    {
        "id":"brv_laundry_boss_6",
        "message":"I will immediatelly give it to my worker. Please wait until he is finished. \n\n[You wait some time.] \n\nHere are your enhanced gloves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"gloves4enhanced",
                "value":1
            }
        ]
    },
    {
        "id":"brv_laundry_boss_7",
        "message":"I will immediatelly give it to my worker. Please wait until he is finished. \n\n[You wait some time.] \n\nHere are your enhanced boots.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"boots2enhanced",
                "value":1
            }
        ]
    },
    {
        "id":"thelry_0",
        "message":"Hi kid. I'm Thelry, the local armorer. You are too young to need armor though. If you need armor, then you are doing something which could get you hurt. Kids should stay at home, where it's safe.",
        "replies":[
            {
                "text":"I can handle myself. I'm from Crossglen, and I made it here OK. Please show me your wares.",
                "nextPhraseID":"S"
            },
            {
                "text":"My father sent me out to look for by brother, Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"thelry_1"
            },
            {
                "text":"If that's what you think then I won't buy anything from you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_brother1_watchdog",
        "message":"Grrr.... Woof."
    },
    {
        "id":"brv_brother2_door1",
        "message":"The door is locked.",
        "replies":[
            {
                "text":"I try to use the key that I found in the house nearby to open the door.",
                "nextPhraseID":"brv_brother2_door2",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_key_brother2",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_brother2_door2",
        "message":"The key opens the door.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":20
            }
        ]
    },
    {
        "id":"brv_brothers_0",
        "message":"\n[You eavesdrop on the middle of the conversation. ]\n\n... have to make sure no one finds out what we are going to do.",
        "switchToNPC":"brv_alvies",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":10
            }
        ]
    },
    {
        "id":"brv_brothers_1",
        "message":"Some people will be really sad, but we will be rich, my brother!",
        "switchToNPC":"brv_attohead",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_2"
            }
        ]
    },
    {
        "id":"brv_brothers_2",
        "message":"A UH HUH HUH",
        "switchToNPC":"brv_alvies",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_3"
            }
        ]
    },
    {
        "id":"brv_brothers_3",
        "message":"HEH HEH. Yeah!",
        "switchToNPC":"brv_attohead",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_4"
            }
        ]
    },
    {
        "id":"brv_brothers_4",
        "message":"\n[This spiteful laughter fits those simple-minded looking guys. They continue talking more quietly and you can't understand them anymore.]"
    },
    {
        "id":"brv_brothers_6",
        "message":"[It seems they still have not seen you, because they have their backs turned to you.] \n\nYour way of destroying the dam will not work. Better that we use my idea.",
        "switchToNPC":"brv_alvies",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_7"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":20
            }
        ]
    },
    {
        "id":"brv_brothers_7",
        "message":"Your idea to destroy the great Brimhaven dam? Are you kidding?",
        "switchToNPC":"brv_attohead",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_8"
            }
        ]
    },
    {
        "id":"brv_brothers_8",
        "message":"[You accidently make a noise and they turn their heads towards you]\n\nHey, what are you doing down here?\n\nNo matter, we have to shut his mouth.",
        "switchToNPC":"brv_attohead",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_9"
            }
        ]
    },
    {
        "id":"brv_brothers_10",
        "message":"Would you assist us in destroying the dam?",
        "replies":[
            {
                "text":"OK, I would like to help you destroy the dam.",
                "nextPhraseID":"brv_brothers_12"
            },
            {
                "text":"No, I will never do that!",
                "nextPhraseID":"brv_brothers_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":30
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_employer",
                "mapName":"brimhaven1"
            }
        ]
    },
    {
        "id":"brv_brothers_11",
        "message":"Then we have to shut you up and do it ourselves.",
        "replies":[
            {
                "text":"Let's fight!",
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"brv_brothers",
                "value":-1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":70
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":72
            }
        ]
    },
    {
        "id":"brv_brothers_12",
        "message":"To not attract attention the best way to destroy the dam would be to take this small axe. Use it at the weak point of the dam in the dry river bed.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":50
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":52
            },
            {
                "rewardType":"giveItem",
                "rewardID":"hand_axe",
                "value":1
            }
        ]
    },
    {
        "id":"brv_brother1_locked",
        "message":"The hatch seems to be blocked and does not open."
    },
    {
        "id":"brv_brothers_select",
        "replies":[
            {
                "nextPhraseID":"brv_brothers_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":56
                    }
                ]
            },
            {
                "nextPhraseID":"brv_brothers_13",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"brv_brothers_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"brv_brothers_8",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"brv_brothers_6"
            }
        ]
    },
    {
        "id":"brv_brothers_13",
        "message":"Go and destroy the dam."
    },
    {
        "id":"brv_brothers_9",
        "message":"Since he is already here, we could ask him if he will help us for saving his life.",
        "switchToNPC":"brv_alvies",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_brothers_10"
            }
        ]
    },
    {
        "id":"brv_flood_0_5",
        "message":"This seems to be the weak spot of the dam the brothers were talking about.",
        "replies":[
            {
                "text":"Start hacking on the wood.",
                "nextPhraseID":"brv_flood_0_10"
            }
        ]
    },
    {
        "id":"brv_exit_forbidden_10",
        "message":"Stop! All foreigners have to stay in town until we have investigated who destroyed the great dam.",
        "switchToNPC":"brv_exit_guard",
        "replies":[
            {
                "text":"Who gave this order?",
                "nextPhraseID":"brv_exit_forbidden_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":100
            }
        ]
    },
    {
        "id":"brv_flood_20_10",
        "message":"Water comes pouring through a hole in the dam. A lot of water! If not the brothers, then someone else destroyed the dam.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":80
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":71
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":81
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":100
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"exit_guard",
                "mapName":"brimhaven3"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"exit_guard1",
                "mapName":"brimhaven4"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"exit_guard2",
                "mapName":"brimhaven4"
            }
        ]
    },
    {
        "id":"brv_flood_20_5",
        "replies":[
            {
                "nextPhraseID":"brv_flood_20_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":70
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":80,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_exit_forbidden_20",
        "message":"Mustura, the captain of the guard, gave the order. Usually you can find her in front of the warehouse in the center of the town, north of the church."
    },
    {
        "id":"brv_guard_captain_10",
        "replies":[
            {
                "nextPhraseID":"brv_guard_captain_and_rich_man",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":200
                    }
                ]
            },
            {
                "nextPhraseID":"brv_guard_captain_25",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":110
                    }
                ]
            },
            {
                "nextPhraseID":"brv_guard_captain_15"
            }
        ]
    },
    {
        "id":"brv_guard_captain_20",
        "message":"Do you know anything about the destruction of the dam?",
        "replies":[
            {
                "text":"[Lie] I have no idea, but I will try to help you.",
                "nextPhraseID":"brv_guard_captain_40"
            },
            {
                "text":"[Lie] The two brothers living in the north part of the eastern town destroyed the dam.",
                "nextPhraseID":"brv_guard_captain_22"
            },
            {
                "text":"Alkapoan was behind it. Here are letters proving his guilt. He is waiting at his home for you to arrest him.",
                "nextPhraseID":"brv_guard_captain_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"alkapoans_letters",
                        "value":1,
                        "negate":false
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_guard_captain_40",
        "message":"Thank you. But be aware that you are not allowed to leave the town until we have found out how the dam was destroyed.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":110
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":100
            }
        ]
    },
    {
        "id":"brv_guard_captain_30",
        "message":"We will check this and if it is true then you can leave the town.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":200
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":100
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guard_captain",
                "mapName":"brimhaven4"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"exit_guard1",
                "mapName":"brimhaven4"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"exit_guard2",
                "mapName":"brimhaven4"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"exit_guard",
                "mapName":"brimhaven3"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"brv_richman",
                "mapName":"brimhaven_house1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_employer",
                "mapName":"brimhaven1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_guard_captain",
                "mapName":"brimhaven_house1"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"brv_richman2",
                "mapName":"brimhaven_house1"
            }
        ]
    },
    {
        "id":"brv_brothers_14",
        "message":"It's great how you destroyed the dam!",
        "replies":[
            {
                "text":"Can you tell me who is your boss?",
                "nextPhraseID":"brv_brothers_15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":110
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_brothers_15",
        "message":"We don't know him by name. He looked very rich and I think he lives in the western town alone in a big house.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":120
            }
        ]
    },
    {
        "id":"brv_richman_10",
        "message":"I... I.... know nothing. Really, it is the truth!",
        "replies":[
            {
                "text":"I don't believe a word you say. [Half-lie] The two brothers told me that you paid them for destroying the dam.",
                "nextPhraseID":"brv_richman_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":120
                    }
                ]
            },
            {
                "text":"Maybe you are right, sorry.",
                "nextPhraseID":"X"
            },
            {
                "text":"I found your coin bags, and you paid the brothers to destroy the dam. [Show the coin bags]",
                "nextPhraseID":"brv_richman_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_richmans_coin_bag",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":130
            }
        ]
    },
    {
        "id":"brv_richman_20",
        "message":"[Breaks down]\n\nI was bribed by the people of Loneford to sabotage the dam. Here are some letters I exchanged with them, that prove what I did.\n\n[The handwriting looks like that of my brother.]",
        "replies":[
            {
                "text":"You were honest to me so I will not kill you, but I will tell the guard captain. (And you can't escape from Brimhaven without me seeing you.)",
                "nextPhraseID":"brv_richman_25",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":80,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I stopped the two brothers from destroying the dam. Who else could have done it?",
                "nextPhraseID":"brv_richman_21",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":80
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":150
            },
            {
                "rewardType":"giveItem",
                "rewardID":"alkapoans_letters",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"andor",
                "value":65
            }
        ]
    },
    {
        "id":"brv_flood_0_7",
        "message":"This seems to be the weak spot of the dam the brothers were talking about. But with your currently equipped gear you can't hack apart the wood effectively without drawing too much attention."
    },
    {
        "id":"brv_richman_05",
        "message":"It is very sad that the dam was destroyed. But I don't know anything.",
        "replies":[
            {
                "text":"OK, thank you.",
                "nextPhraseID":"X"
            },
            {
                "text":"Are you sure?",
                "nextPhraseID":"brv_richman_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":120
                    }
                ]
            },
            {
                "text":"Are you sure?",
                "nextPhraseID":"brv_richman_10",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_richmans_coin_bag",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_richman_15",
        "message":"You again. I already told you that I know nothing about the destruction of the dam.",
        "replies":[
            {
                "text":"I don't believe a word you say. [Half-lie] The two brothers told me that you paid them for destroying the dam.",
                "nextPhraseID":"brv_richman_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":120
                    }
                ]
            },
            {
                "text":"Maybe you are right, sorry.",
                "nextPhraseID":"X"
            },
            {
                "text":"I found your coin bags, and you paid the brothers for destroying the dam. [Hand him the coin bags]",
                "nextPhraseID":"brv_richman_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_richmans_coin_bag",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_richman_25",
        "message":"Leave me alone. I will wait here for the guards to arrest me."
    },
    {
        "id":"brv_richman_01",
        "message":"I do not remember inviting you to my house.",
        "replies":[
            {
                "text":"What do you know about the destruction of the dam?",
                "nextPhraseID":"brv_richman_05",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":110
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":150,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I am sorry and will leave.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_guard_captain_15",
        "message":"Always stay on the right side of the law.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_guard_captain_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":100
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_guard_captain_22",
        "message":"You are accusing poor but honest people. Do you have any proof?",
        "replies":[
            {
                "text":"No, not yet, but I will try to help you.",
                "nextPhraseID":"brv_guard_captain_23"
            }
        ]
    },
    {
        "id":"brv_guard_captain_23",
        "message":"Come back when you have a proof, and until then stop accusing people. In the meantime, you are not allowed to leave the city.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":100
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":110
            }
        ]
    },
    {
        "id":"brv_guard_captain_25",
        "message":"Hello again. Did you find out who destroyed the dam?",
        "replies":[
            {
                "text":"No, not yet.",
                "nextPhraseID":"X"
            },
            {
                "text":"[Lie] The two brothers living in the north part of the eastern town destroyed the dam.",
                "nextPhraseID":"brv_guard_captain_22"
            },
            {
                "text":"Alkapoan was behind it. Here are letters proving his guilt. He is waiting at his home for you to arrest him.",
                "nextPhraseID":"brv_guard_captain_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"alkapoans_letters",
                        "value":1,
                        "negate":false
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_guard_captain_and_rich_man",
        "replies":[
            {
                "nextPhraseID":"brv_guard_captain_and_rich_man_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":120
                    }
                ]
            },
            {
                "nextPhraseID":"brv_guard_captain_and_rich_man_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":110
                    }
                ]
            },
            {
                "nextPhraseID":"brv_guard_captain_and_rich_man_10"
            }
        ]
    },
    {
        "id":"brv_guard_captain_and_rich_man_10",
        "message":"[Laughs] You again. Welcome back, foolish child.",
        "switchToNPC":"brv_richman",
        "replies":[
            {
                "text":"Laugh while you can. The captain is here and now you will get your deserved punishment!",
                "nextPhraseID":"brv_guard_captain_and_rich_man_20"
            }
        ]
    },
    {
        "id":"brv_guard_captain_and_rich_man_20",
        "message":"Well...",
        "switchToNPC":"brv_guard_captain",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_guard_captain_and_rich_man_30"
            }
        ]
    },
    {
        "id":"brv_guard_captain_and_rich_man_30",
        "message":"Let's see who is laughing in the end. The captain came to talk, not arrest me. Now she owns a new horse and I will be earning a lot of money with the necessary repairing of the dam and later the food harvesting. I call this a win-win.",
        "switchToNPC":"brv_richman",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_guard_captain_and_rich_man_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":110
            }
        ]
    },
    {
        "id":"brv_guard_captain_and_rich_man_40",
        "message":"It seems Alkapoan's letters accidentally fell into a fire and I am sure some unknown evil spies from Loneford destroyed the dam. You better disappear soon, or I might find some evidence that you are the evil spy from Loneford.",
        "switchToNPC":"brv_guard_captain",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":120
            }
        ]
    },
    {
        "id":"brv_guard_captain_and_rich_man_50",
        "message":"You better disappear soon, or I might find some evidence that you are the evil spy from Loneford.",
        "switchToNPC":"brv_guard_captain"
    },
    {
        "id":"brv_prison_guard",
        "replies":[
            {
                "nextPhraseID":"brv_prison_guard_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":200
                    }
                ]
            },
            {
                "nextPhraseID":"brv_prison_guard_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":220
                    }
                ]
            },
            {
                "nextPhraseID":"brv_prison_guard_10"
            }
        ]
    },
    {
        "id":"brv_prison_guard_20",
        "message":"Are you looking for the captain? She has been gone for a while now, arresting the person that destroyed the dam."
    },
    {
        "id":"brv_prison_guard_10",
        "message":"The prison is currently vacant and I hope you don't give me a reason to change this."
    },
    {
        "id":"brv2_grave_1",
        "message":"Here lie Berri and his wife Dalyve."
    },
    {
        "id":"brv2_grave_2",
        "message":"RIP Boots. Died the thirteenth day of the twelveth month of ... [You can't read the year, because it's covered in moss] "
    },
    {
        "id":"brv2_grave_3",
        "message":"Here lies my wife. I bid her goodbye. She rests in peace, and now so do I."
    },
    {
        "id":"brv2_grave_4",
        "message":"The gravestone is old and worn. You can't make out what it says."
    },
    {
        "id":"brv2_grave_5",
        "message":"Here lies a stranger, who came to Brimhaven after being attacked. Alas, we could not save him."
    },
    {
        "id":"brv2_grave_6",
        "message":"The epitaph is in a language you can't read."
    },
    {
        "id":"brv2_grave_7",
        "message":"Zhyont. He never killed anyone that did not need killing."
    },
    {
        "id":"brv2_grave_8",
        "message":"Here lies Captain Fhoric. He died to protect our town, for which we will be forever grateful."
    },
    {
        "id":"brv2_grave_9",
        "replies":[
            {
                "nextPhraseID":"brv2_grave_9_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":105
                    }
                ]
            },
            {
                "nextPhraseID":"brv2_grave_9_0"
            }
        ]
    },
    {
        "id":"brv2_grave_10",
        "message":"Here lies Fredd. A big rock fell on his head. "
    },
    {
        "id":"brv2_grave_11",
        "message":"Unknown. Found outside of town, close to the road. RIP."
    },
    {
        "id":"brv2_grave_12",
        "message":"Here lies Reptt, the money lender, who never did collect his debt."
    },
    {
        "id":"brv_laundry_boss_7b",
        "message":"You don't have the required 432 gold to improve your superior leather boots.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_2"
            }
        ]
    },
    {
        "id":"brv_laundry_boss_6b",
        "message":"You don't have the required 640 gold to improve your fine snakeskin gloves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_2"
            }
        ]
    },
    {
        "id":"brv_laundry_boss_5b",
        "message":"You don't have the required 1,397 gold to improve your fine green hat.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_2"
            }
        ]
    },
    {
        "id":"brv_laundry_boss_0b",
        "message":"Sorry. I haven't seen anyone that looks like you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_laundry_boss_0"
            }
        ]
    },
    {
        "id":"brv_tavern_west_waitress_11",
        "message":"Let me think... ",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_tavern_west_waitress_11b"
            }
        ]
    },
    {
        "id":"brv_tavern_west_waitress_11b",
        "message":"No, I am sorry.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_tavern_west_waitress_10"
            }
        ]
    },
    {
        "id":"fangwurm_talking_1a",
        "message":"Yes, I know someone who looks almost like you, but he and his parents are from this town.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fangwurm_talking"
            }
        ]
    },
    {
        "id":"brv_woodcraftsman_1",
        "message":"I only know a goblin that looks like you. [Laughs]"
    },
    {
        "id":"melona_0a",
        "message":"What can I help you with?",
        "replies":[
            {
                "text":"I'm hungry. Do you have any food to sell?",
                "nextPhraseID":"melona_1"
            },
            {
                "text":"I need somewhere to sleep. Do you have a bed available?",
                "nextPhraseID":"melona_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":230,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I'm looking for my brother, Andor. He looks a bit like me.",
                "nextPhraseID":"melona_3"
            }
        ]
    },
    {
        "id":"melona_1",
        "message":"Certainly. Please take a look at what I can offer.",
        "replies":[
            {
                "text":"Thanks.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"melona_2",
        "message":"Yes. It's 90 gold. That may seem like a lot, but it's a one-time payment. As long as a bed is free, in the future you can use it any time you want.",
        "replies":[
            {
                "text":"That's too expensive. Let's talk about something else.",
                "nextPhraseID":"melona_0a"
            },
            {
                "text":"I'll take it.",
                "nextPhraseID":"melona_2a",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":90
                    }
                ]
            }
        ]
    },
    {
        "id":"melona_0",
        "message":"Hello. I'm Melona, and I run this fine establishment.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"melona_0a"
            }
        ]
    },
    {
        "id":"melona_3",
        "message":"Sorry, I haven't seen anyone that looks like you.",
        "replies":[
            {
                "text":"OK. Let's talk about something else.",
                "nextPhraseID":"melona_0a"
            }
        ]
    },
    {
        "id":"melona_2a",
        "message":"Thank you for your patronage. You can use any available bed.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":230
            }
        ]
    },
    {
        "id":"brv_butcher",
        "message":"... chop chop chop ..."
    },
    {
        "id":"brv_butcher_clock",
        "replies":[
            {
                "nextPhraseID":"brv_butcher_clock_10"
            }
        ]
    },
    {
        "id":"brv_butcher_clock_10",
        "replies":[
            {
                "nextPhraseID":"brv_butcher_clock_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_butcher_clock_30"
            }
        ]
    },
    {
        "id":"brv_butcher_clock_20",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":1
            }
        ]
    },
    {
        "id":"brv_butcher_clock_30",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":1
            }
        ]
    },
    {
        "id":"brv_cleaning",
        "replies":[
            {
                "nextPhraseID":"brv_cleaning_10",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_cleaning_20",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"25"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_cleaning_30",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_cleaning_40",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_cleaning_50"
            }
        ]
    },
    {
        "id":"brv_cleaning_10",
        "message":"Wipe your feet!"
    },
    {
        "id":"brv_cleaning_20",
        "message":"[Muttering] Someday I will kill her ...",
        "replies":[
            {
                "text":"Whom do you want to kill?",
                "nextPhraseID":"brv_cleaning_22"
            }
        ]
    },
    {
        "id":"brv_cleaning_22",
        "message":"Oh, nothing - nothing at all."
    },
    {
        "id":"brv_cleaning_30",
        "message":"Go away, I have work to do!"
    },
    {
        "id":"brv_cleaning_40",
        "message":"All these guests are so very untidy!"
    },
    {
        "id":"brv_cleaning_50",
        "message":"Only one more bed ..."
    },
    {
        "id":"brv_inn_guest_0",
        "message":"Do you mind not bumping into me, kid. I've had a long day, and I don't need rude little children bumping into me.",
        "replies":[
            {
                "text":"Sorry.",
                "nextPhraseID":"X"
            },
            {
                "text":"Maybe it was you that bumped into me!",
                "nextPhraseID":"X"
            },
            {
                "text":"I'm a heavily armed little child, so maybe it's you that should not be rude to me!",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_bed",
        "message":"The beds are not free!"
    },
    {
        "id":"edrin_0",
        "message":"I'm Edrin, the Brimhaven metalsmith.",
        "replies":[
            {
                "text":"What does a metalsmith do? Is that the same as a blacksmith?",
                "nextPhraseID":"edrin_1"
            },
            {
                "text":"I don't think that's what I'm looking for. Thanks anyway.",
                "nextPhraseID":"X"
            },
            {
                "text":"Please show me what you have to trade.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"edrin_1",
        "message":"As a metalsmith I'm sort of like a blacksmith, but there is a difference. A blacksmith works with iron and steel, but a metalsmith works with many metals. I do work with iron and steel, but only for smaller, high quality objects. I also work with other metals, including precious metals, and even do fine inlay work, and finely jeweled metal items.",
        "replies":[
            {
                "text":"If you have those skills I would like you to look at two items I purchased locally. A strange-looking dagger and a strange-looking gem.",
                "nextPhraseID":"edrin_4_1",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":20,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"If you have those skills I would like you to look at something I purchased locally. A strange-looking dagger.",
                "nextPhraseID":"edrin_2_1",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":50,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":25,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":20,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"If you have those skills I would like you to look at something I purchased locally. A strange-looking gem.",
                "nextPhraseID":"edrin_3_1",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":50,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":25,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"That's Interesting, but let's talk about something else.",
                "nextPhraseID":"edrin_0_0"
            },
            {
                "text":"I don't think I need the services of a metalsmith right now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"edrin_1a",
        "message":"Well, yes, there was someone. He came to me to get a sword sharpened. I can't tell you any more than that though. ",
        "replies":[
            {
                "text":"OK. Thanks. What type of services and products do you supply?",
                "nextPhraseID":"edrin_1"
            }
        ]
    },
    {
        "id":"brv_villager1",
        "message":"Hello",
        "replies":[
            {
                "text":"I'm wondering, do you know anything about Lawellyn's death?",
                "nextPhraseID":"brv_asd_no_info_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":130
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":200,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":230,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_villager2",
        "message":"If you want to make some money. Go to the tavern."
    },
    {
        "id":"brv_villager3",
        "message":"You are not from Brimhaven, are you? If you need a place to stay, visit the inn in the eastern part of the town. There are beds available for rent. But it is a bit untidy there.",
        "replies":[
            {
                "text":"I suspect that you killed Lawellyn or that you were at the very least at the scene of the murder at the time of his death.",
                "nextPhraseID":"brv_villager3_asd_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":180
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ogea_glove",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":190,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":210,
                        "negate":true
                    }
                ]
            },
            {
                "text":"No need to pretend we've never met. I do believe you are innocent.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":190
                    }
                ]
            },
            {
                "text":"Don't pretend we've never met. Soon you will be in jail.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":210
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_villager4",
        "message":"Excuse me, I have no time to talk."
    },
    {
        "id":"brv_villager5",
        "message":"Good day."
    },
    {
        "id":"brv_villager6",
        "message":"Don't get in my way. Are you one of those guys from the east side of the town, without manners?"
    },
    {
        "id":"brv_villager7",
        "message":"I don't recognize you. Are you one of those people from the east part of the town, who send their children wearing cheap clothes to our school?"
    },
    {
        "id":"brv_villager8",
        "message":"You look a bit old for a pupil."
    },
    {
        "id":"brv_villager9",
        "message":"Hello. Great dam. Isn't it? We people from the west side of the town paid for the dam because the people from the east side can't afford it. "
    },
    {
        "id":"brv_villager10",
        "message":"Taking our good water? Go to the east side of the town. Oh, I forgot... you can't afford a well of your own."
    },
    {
        "id":"quiet_thief_0",
        "replies":[
            {
                "nextPhraseID":"quiet_thief_1_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":20,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"quiet_thief_2_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":20,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":30,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"quiet_thief_2_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":20,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"quiet_thief_3_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":40,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"quiet_thief_3_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":40,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"quiet_thief_0_0"
            }
        ]
    },
    {
        "id":"quiet_thief_1_0",
        "message":"Psst! Hey kid, you want to buy some nice stuff?",
        "switchToNPC":"quiet_thief_1",
        "replies":[
            {
                "text":"Maybe. Show me what you have.",
                "nextPhraseID":"quiet_thief_1_1"
            },
            {
                "text":"No thanks. I think maybe you don't actually own what you are selling.",
                "nextPhraseID":"X"
            },
            {
                "text":"Not right now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"quiet_thief_2_0",
        "message":"Hello again kid. Want another look at what I have to sell?",
        "switchToNPC":"quiet_thief_2",
        "replies":[
            {
                "text":"Was the gem I purchased originally mounted in the pommel of the dagger you have?",
                "nextPhraseID":"quiet_thief_2_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":20
                    }
                ]
            },
            {
                "text":"Yes, I would like to take another look.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"quiet_thief_3_0",
        "message":"Hello again kid. Want another look at what I have to sell?",
        "switchToNPC":"quiet_thief_3",
        "replies":[
            {
                "text":"Was the gem you have originally in the pommel of the dagger I purchased?",
                "nextPhraseID":"quiet_thief_3_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":10
                    }
                ]
            },
            {
                "text":"Yes, I would like to take another look.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"quiet_thief_0_0",
        "message":"Hello again kid. Want another look at what I have to sell?",
        "replies":[
            {
                "text":"Yes. Show me what you have.",
                "nextPhraseID":"S"
            },
            {
                "text":"Not right now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"quiet_thief_1_1",
        "message":"Keep your voice down! We don't want to attract any attention!",
        "switchToNPC":"quiet_thief_1",
        "replies":[
            {
                "text":"OK. Don't worry. I can keep a secret.",
                "nextPhraseID":"S"
            },
            {
                "text":"It sounds like you want to do something illegal. I don't want trouble.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_villager11",
        "message":"The people from the west side of town forced us to support the dam, but we don't get any benefit from it and they took all the good land."
    },
    {
        "id":"brv_villager13",
        "message":"Mama!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_villager12b"
            }
        ]
    },
    {
        "id":"brv_villager12b",
        "message":"Stop talking to my daughter!",
        "switchToNPC":"brv_villager12",
        "replies":[
            {
                "text":"I am sorry.",
                "nextPhraseID":"brv_villager_12a"
            }
        ]
    },
    {
        "id":"brv_villager_12a",
        "message":"I have to take my daughter to school. I can't let her cross this dangerous area on her own, and those people from the west side of town don't care at all."
    },
    {
        "id":"brv_villager14",
        "message":"Get out of my way. Do you think you are better than me just because you are one of those rich guys from the western part of the town?"
    },
    {
        "id":"brv_villager15",
        "message":"If you need a place to sleep, visit the inn. There are beds available for rent."
    },
    {
        "id":"churrie",
        "message":"Attention, kid! This is a dangerous place.",
        "replies":[
            {
                "text":"Why? It looks lovely here.",
                "nextPhraseID":"churrie_10"
            }
        ]
    },
    {
        "id":"churrie_10",
        "message":"There are dangerous creatures in the hole down there. I fear that they'll come out again.",
        "replies":[
            {
                "text":"Then I wish the dry lake was full of water again. It would keep the monsters from coming out.",
                "nextPhraseID":"churrie_20"
            }
        ]
    },
    {
        "id":"churrie_20",
        "message":"Indeed. I would see to it, if I had enough money.",
        "replies":[
            {
                "text":"What has money to do with it? I better go.",
                "nextPhraseID":"X"
            },
            {
                "text":"It should not fail because of a lack of money. Here you have 2500 gold.",
                "nextPhraseID":"churrie_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":2500
                    }
                ]
            }
        ]
    },
    {
        "id":"churrie_30",
        "message":"Oh, wow! I will take care of it. So much money! Probably tonight ...",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":87
            }
        ]
    },
    {
        "id":"tamarukh",
        "message":"Isn't it a pity to see all that fertile land wasted?",
        "replies":[
            {
                "text":"Do you mean the lake?",
                "nextPhraseID":"tamarukh_10"
            }
        ]
    },
    {
        "id":"tamarukh_10",
        "message":"Sure. We had built this dam in Brimhaven to get more space for arable land, but someone must have sabotaged it.",
        "replies":[
            {
                "text":"Would you like to repair the dam again?",
                "nextPhraseID":"tamarukh_20"
            }
        ]
    },
    {
        "id":"tamarukh_20",
        "message":"Yes, I would see to it, if I had enough money.",
        "replies":[
            {
                "text":"Everyone wants my money. I better go.",
                "nextPhraseID":"X"
            },
            {
                "text":"It should not fail because of a lack of money. Here you have 2500 gold.",
                "nextPhraseID":"tamarukh_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":2500
                    }
                ]
            }
        ]
    },
    {
        "id":"tamarukh_30",
        "message":"That is very noble of you. I will take care of it.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":88
            }
        ]
    },
    {
        "id":"brv_ctrl_flood",
        "replies":[
            {
                "nextPhraseID":"brv_ctrl_flood_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":87
                    }
                ]
            },
            {
                "nextPhraseID":"brv_ctrl_flood_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":88
                    }
                ]
            },
            {
                "nextPhraseID":"brv_ctrl_flood_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":89
                    }
                ]
            },
            {
                "nextPhraseID":"brv_ctrl_flood_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_employee",
                        "value":90
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":83
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_ctrl_flood_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":70
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":83
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":89
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":87
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"churrie",
                "mapName":"waytobrimhaven2"
            }
        ]
    },
    {
        "id":"brv_ctrl_flood_20",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":70
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":83
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":89
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":88
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"tamarukh",
                "mapName":"waytobrimhaven2"
            }
        ]
    },
    {
        "id":"brv_ctrl_flood_30",
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"churrie",
                "mapName":"waytobrimhaven2"
            }
        ]
    },
    {
        "id":"brv_ctrl_flood_40",
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"tamarukh",
                "mapName":"waytobrimhaven2"
            }
        ]
    },
    {
        "id":"quiet_thief_2_1",
        "message":"Maybe. Why? Anyway, the dagger is no longer available, except perhaps at a special price.",
        "switchToNPC":"quiet_thief",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"quiet_thief_2_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":30
            }
        ]
    },
    {
        "id":"quiet_thief_3_1",
        "message":"Maybe. Why? Anyway, the gem is no longer available, except perhaps at a special price.",
        "switchToNPC":"quiet_thief",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"quiet_thief_3_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":40
            }
        ]
    },
    {
        "id":"quiet_thief_2_2",
        "message":"Since you have the gem, and you have asked about the dagger, I assume you want it. But when you want something enough, you are willing to pay more, right?",
        "switchToNPC":"quiet_thief",
        "replies":[
            {
                "text":"No, I don't think so.",
                "nextPhraseID":"X"
            },
            {
                "text":"How much are you asking?",
                "nextPhraseID":"quiet_thief_2_3"
            },
            {
                "text":"Can I see what else you have to sell.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"quiet_thief_2_3",
        "message":"I think 1000 gold would be fair. Is that acceptable?",
        "replies":[
            {
                "text":"No. That's too much for me.",
                "nextPhraseID":"X"
            },
            {
                "text":"I don't think it's fair, but I'll pay it.",
                "nextPhraseID":"quiet_thief_2_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":1000
                    }
                ]
            }
        ]
    },
    {
        "id":"quiet_thief_2_4",
        "message":"Here you go kid.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger_nondisplay",
                "value":30
            },
            {
                "rewardType":"giveItem",
                "rewardID":"strange_dagger",
                "value":1
            }
        ]
    },
    {
        "id":"quiet_thief_3_2",
        "message":"Since you have the dagger, and you have asked about the gem, I assume you want it. But when you want something enough, you are willing to pay more, right?",
        "switchToNPC":"quiet_thief",
        "replies":[
            {
                "text":"No, I don't think so.",
                "nextPhraseID":"X"
            },
            {
                "text":"How much are you asking?",
                "nextPhraseID":"quiet_thief_3_3"
            },
            {
                "text":"Can I see what else you have to sell.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"quiet_thief_3_3",
        "message":"I think 1500 gold would be fair. Is that acceptable?",
        "replies":[
            {
                "text":"No, that's too much for me.",
                "nextPhraseID":"X"
            },
            {
                "text":"I don't think it's fair, but I'll pay it.",
                "nextPhraseID":"quiet_thief_3_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":1500
                    }
                ]
            }
        ]
    },
    {
        "id":"quiet_thief_3_4",
        "message":"Here you go kid",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger_nondisplay",
                "value":40
            },
            {
                "rewardType":"giveItem",
                "rewardID":"strange_gem",
                "value":1
            }
        ]
    },
    {
        "id":"edrin_2_1",
        "message":"I recognize this. I made it, many years ago, for a man called Lawellyn. Alas, I hear he is now dead. See this recess in the pommel? There used to be an unusual gem in that. It gave the dagger some special properties. If you can find the gem, I can repair it for you.",
        "replies":[
            {
                "text":"I think I know where to find that. I'll go and get it.",
                "nextPhraseID":"X"
            },
            {
                "text":"OK. Thanks for the information. ",
                "nextPhraseID":"X"
            },
            {
                "text":"Let's talk about something else.",
                "nextPhraseID":"edrin_0_0"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":10
            }
        ]
    },
    {
        "id":"edrin_3_1",
        "message":"I recognize this. It was used in something I made, many years ago. It was set into the pommel of a dagger I made for a man called Lawellyn. Alas, I hear he is now dead. It gave the dagger some special properties. If you can find the dagger, I can repair it for you.",
        "replies":[
            {
                "text":"I think I know where to find that. I'll be right back.",
                "nextPhraseID":"X"
            },
            {
                "text":"Maybe if I find the time I'll look for it. Let's talk about something else.",
                "nextPhraseID":"edrin_0_0"
            },
            {
                "text":"OK. Thanks for the information.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":20
            }
        ]
    },
    {
        "id":"edrin_4_1",
        "message":"I recognize these. I made the dagger, many years ago, for a man called Lawellyn. Alas, I hear he is now dead. See this recess in the pommel? The gem you have fits in that. It gave the dagger some special properties. If you wish, I can repair it for you.",
        "replies":[
            {
                "text":"How much will that cost?",
                "nextPhraseID":"edrin_4_2"
            },
            {
                "text":"I'll think about it.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":25
            }
        ]
    },
    {
        "id":"edrin_0_0",
        "message":"Hello.",
        "replies":[
            {
                "text":"Have you repaired the dagger? ",
                "nextPhraseID":"edrin_7_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":80
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I have a gem. I think it's the right one for the dagger we discussed.",
                "nextPhraseID":"edrin_5_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":25,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":100,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1
                    }
                ]
            },
            {
                "text":"I have a dagger. I think it's the one that matches the gem we discussed. ",
                "nextPhraseID":"edrin_6_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":25,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":70,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":90,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":100,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1
                    }
                ]
            },
            {
                "text":"Who are you?",
                "nextPhraseID":"edrin_0"
            },
            {
                "text":"I'm looking for my brother, Andor. Have you seen anyone around town that looks a bit like me?",
                "nextPhraseID":"edrin_1a"
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"S"
            },
            {
                "text":"Hello, did you order a 'Striped Hammer'?",
                "nextPhraseID":"brv_wh_delivery_edrin",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_wh_item_08",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":30
                    }
                ]
            }
        ]
    },
    {
        "id":"edrin_5_0",
        "message":"Yes, that's the one that matches the dagger! Now that I have both pieces, I can repair the dagger for you if you wish.",
        "replies":[
            {
                "text":"How much will that cost?",
                "nextPhraseID":"edrin_5_1"
            },
            {
                "text":"I'll think about it.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":50
            }
        ]
    },
    {
        "id":"edrin_6_0",
        "message":"Yes, that's the one that matches the gem! Now that I have both pieces, I can repair the dagger for you if you wish.",
        "replies":[
            {
                "text":"How much will that cost?",
                "nextPhraseID":"edrin_6_1"
            },
            {
                "text":"I'll think about it",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":50
            }
        ]
    },
    {
        "id":"edrin_4_2",
        "message":"The best I can offer is 800 gold. The repair is quite delicate, and if done incorrectly it will just be a dagger with a gem in the pommel, and no more.",
        "replies":[
            {
                "text":"That's expensive. I'll think about it.",
                "nextPhraseID":"edrin_4_3c"
            },
            {
                "text":"That's too expensive. I'll keep the dagger and the gem I have.",
                "nextPhraseID":"edrin_4_3a"
            },
            {
                "text":"OK. I agree. Here are the dagger and the gem.",
                "nextPhraseID":"edrin_4_3b",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":800
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"strange_dagger",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"strange_gem",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"edrin_4_3a",
        "message":"That is up to you, although I think you have made a mistake.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":70
            }
        ]
    },
    {
        "id":"edrin_4_3b",
        "message":"This will take me some time. Please come back later to collect the repaired dagger. ",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":80
            },
            {
                "rewardType":"createTimer",
                "rewardID":"Dagger_repair"
            }
        ]
    },
    {
        "id":"edrin_7_0",
        "replies":[
            {
                "nextPhraseID":"edrin_7_1a",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"Dagger_repair",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger_nondisplay",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"edrin_7_1b",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"Dagger_repair",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"edrin_7_1c"
            }
        ]
    },
    {
        "id":"edrin_7_1a",
        "message":"Yes, it is done. Here is the repaired dagger.  It's nice to see Lawellyn's dagger brought back to its original glory. There is some mystery about his death. I don't know anything about it though. Maybe someone else in town can tell you more.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"dagger_assassin",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":90
            }
        ]
    },
    {
        "id":"edrin_7_1b",
        "message":"Yes, it is done. Here is the repaired dagger.  It's nice to see Lawellyn's dagger brought back to its original glory. There is some mystery about his death. I don't know anything about it though. Maybe someone else in town can tell you more.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"dagger_assassin",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":100
            }
        ]
    },
    {
        "id":"edrin_7_1c",
        "message":"No, not yet. You must have patience. I told you this is a difficult repair."
    },
    {
        "id":"edrin_4_3c",
        "message":"Feel free to come back when you decide.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":60
            }
        ]
    },
    {
        "id":"edrin_5_1",
        "message":"The best I can offer is 800 gold. The repair is quite delicate, and if done incorrectly it will just be a dagger with a gem in the pommel, and no more.",
        "replies":[
            {
                "text":"That's expensive. I'll think about it.",
                "nextPhraseID":"edrin_5_2c"
            },
            {
                "text":"That's too expensive. I'll keep the dagger and the gem I have.",
                "nextPhraseID":"edrin_5_2a"
            },
            {
                "text":"OK. I agree. Here are the dagger and the gem.",
                "nextPhraseID":"edrin_5_2b",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":800
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"strange_dagger",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"strange_gem",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"edrin_6_1",
        "message":"The best I can offer is 800 gold. The repair is quite delicate, and if done incorrectly it will just be a dagger with a gem in the pommel, and no more.",
        "replies":[
            {
                "text":"That's expensive. I'll think about it.",
                "nextPhraseID":"edrin_6_2c"
            },
            {
                "text":"That's too expensive. I'll keep the dagger and the gem I have.",
                "nextPhraseID":"edrin_6_2a"
            },
            {
                "text":"OK. I agree. Here are the dagger and the gem.",
                "nextPhraseID":"edrin_6_2b",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":800
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"strange_dagger",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"strange_gem",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"edrin_5_2c",
        "message":"Feel free to come back when you decide.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":60
            }
        ]
    },
    {
        "id":"edrin_5_2a",
        "message":"That is up to you, although I think you have made a mistake.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":70
            }
        ]
    },
    {
        "id":"edrin_5_2b",
        "message":"This will take me some time. Please come back later to collect the repaired dagger. ",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":80
            },
            {
                "rewardType":"createTimer",
                "rewardID":"Dagger_repair"
            }
        ]
    },
    {
        "id":"edrin_6_2b",
        "message":"This will take me some time. Please come back later to collect the repaired dagger.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":80
            },
            {
                "rewardType":"createTimer",
                "rewardID":"Dagger_repair"
            }
        ]
    },
    {
        "id":"edrin_6_2a",
        "message":"That is up to you, although I think you have made a mistake.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":70
            }
        ]
    },
    {
        "id":"edrin_6_2c",
        "message":"Feel free to come back when you decide.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger",
                "value":60
            }
        ]
    },
    {
        "id":"brv_shop_guard_select",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_shop_guard_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":130
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_shop_guard_10"
            }
        ]
    },
    {
        "id":"brv_shop_owner_1",
        "message":"May I help you? [He looks down on you.]",
        "replies":[
            {
                "text":"I am just checking things out.",
                "nextPhraseID":"brv_shop_owner_2"
            }
        ]
    },
    {
        "id":"brv_shop_owner_2",
        "message":"Are you looking for something in particular?",
        "replies":[
            {
                "text":"[You point to a very expensive looking necklace] How much is this?",
                "nextPhraseID":"brv_shop_owner_3"
            }
        ]
    },
    {
        "id":"brv_shop_owner_3",
        "message":"I don't think this would fit you.",
        "replies":[
            {
                "text":"Well, I didn't ask if it would fit. I asked how much it was.",
                "nextPhraseID":"brv_shop_owner_4"
            }
        ]
    },
    {
        "id":"brv_shop_owner_4",
        "message":"It is very expensive. I don't think we have anything for you. You are obviously in the wrong place. Please leave.",
        "replies":[
            {
                "text":"[You slowly pull out your coin bag and show him your gold.]",
                "nextPhraseID":"brv_shop_owner_10",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":1000
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_shop_guard_20",
        "message":"Hello again, Sir."
    },
    {
        "id":"brv_shop_guard_10",
        "message":"I will keep an eye on you."
    },
    {
        "id":"brv_shop_owner_select",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_shop_owner_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":130
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_shop_owner_1"
            }
        ]
    },
    {
        "id":"brv_shop_owner_20",
        "message":"How can I serve you, Sir?",
        "replies":[
            {
                "text":"Show me your wares.",
                "nextPhraseID":"S"
            },
            {
                "text":"I am looking for a necklace in our family colors of red, green and white, that I would like to give as a present to my father.",
                "nextPhraseID":"brv_shop_owner_30"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":10
            }
        ]
    },
    {
        "id":"brv_shop_owner_10",
        "message":"[His eyes widen.] Oh\nI was just kidding, child... I mean... Sir!",
        "replies":[
            {
                "text":"Show me your wares, you worm.",
                "nextPhraseID":"S"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":130
            }
        ]
    },
    {
        "id":"brv_shop_owner_30",
        "message":"No problem, Sir. I can arrange one for you. Just tell me how much you want to spend.",
        "replies":[
            {
                "text":"I have to think about it.",
                "nextPhraseID":"X"
            },
            {
                "text":"Give me a necklace for 5 gold coins.",
                "nextPhraseID":"brv_shop_owner_40_1",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":5
                    }
                ]
            },
            {
                "text":"Give me a necklace for 500 gold coins.",
                "nextPhraseID":"brv_shop_owner_40_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":500
                    }
                ]
            },
            {
                "text":"Give me a necklace for 50,000 gold coins.",
                "nextPhraseID":"brv_shop_owner_40_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":50000
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_shop_owner_40_3",
        "message":"Take this wonderful necklace. Your father will be very happy.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"necklace_for_father3",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":20
            }
        ]
    },
    {
        "id":"brv_shop_owner_40_2",
        "message":"Here is the necklace.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"necklace_for_father2",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":20
            }
        ]
    },
    {
        "id":"brv_shop_owner_40_1",
        "message":"Take this... valuable necklace. Your father will be proud to wear it.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"necklace_for_father1",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":20
            }
        ]
    },
    {
        "id":"mikhail_present_10",
        "message":"I asked you to search for your brother Andor and you did not find out anything and instead you are bringing me a necklace? Go and search for your brother!",
        "replies":[
            {
                "text":"Sorry father. I will go and search for Andor.",
                "nextPhraseID":"mikhail_default"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":30
            }
        ]
    },
    {
        "id":"mikhail_present_20",
        "message":"Oh, you are such a nice child.",
        "replies":[
            {
                "text":"[Give him the cheap necklace]",
                "nextPhraseID":"mikhail_present_20_1",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"necklace_for_father1",
                        "value":1
                    }
                ]
            },
            {
                "text":"[Give him the necklace]",
                "nextPhraseID":"mikhail_present_20_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"necklace_for_father2",
                        "value":1
                    }
                ]
            },
            {
                "text":"[Give him the expensive necklace]",
                "nextPhraseID":"mikhail_present_20_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"necklace_for_father3",
                        "value":1
                    }
                ]
            },
            {
                "text":"Maybe I promised too much.",
                "nextPhraseID":"mikhail_default",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"necklace_for_father1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"necklace_for_father2",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"necklace_for_father3",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"mikhail_present_20_3",
        "message":"Oh, where did you get the money to buy this? Maybe I don't want to know...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mikhail_default"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":60
            }
        ]
    },
    {
        "id":"mikhail_present_20_2",
        "message":"Thank you my child for this wonderful necklace. Oh and it is in our family colors!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mikhail_default"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":50
            }
        ]
    },
    {
        "id":"mikhail_present_20_1",
        "message":"Hm, thank you. Looks like you spent all your pocket money for this.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mikhail_default"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_present",
                "value":40
            }
        ]
    },
    {
        "id":"mikhail_news_10",
        "message":"Did you find out something?",
        "replies":[
            {
                "text":"I asked around in Crossglen and they sent me to Fallhaven.",
                "nextPhraseID":"mikhail_news_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":30
                    }
                ]
            },
            {
                "text":"Someone in Fallhaven told me that he met Andor and that he was searching for a man called Lodar.",
                "nextPhraseID":"mikhail_news_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":55
                    }
                ]
            },
            {
                "text":"I met a man called Lodar and he told me that Andor probably went to Nor City.",
                "nextPhraseID":"mikhail_news_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":55,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":80
                    }
                ]
            },
            {
                "text":"No I did not find out anything yet.",
                "nextPhraseID":"mikhail_default",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":55,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":80,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"mikhail_news_40",
        "message":"Did you go to Nor City?",
        "replies":[
            {
                "text":"No, not yet.",
                "nextPhraseID":"mikhail_news_50"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":40
            }
        ]
    },
    {
        "id":"mikhail_news_30",
        "message":"Did you find this Lodar?",
        "replies":[
            {
                "text":"Yes, and he told me that Andor probably went to Nor City.",
                "nextPhraseID":"mikhail_news_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":80
                    }
                ]
            },
            {
                "text":"No, not yet.",
                "nextPhraseID":"mikhail_news_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":80,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":40
            }
        ]
    },
    {
        "id":"mikhail_news_50",
        "message":"Thank you my child. Keep on searching for Andor.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mikhail_default"
            }
        ]
    },
    {
        "id":"mikhail_news_20",
        "message":"Did you go the dangerous way to Fallhaven?",
        "replies":[
            {
                "text":"Yes and someone in Fallhaven told me that he met Andor and that he was searching for a man called Lodar.",
                "nextPhraseID":"mikhail_news_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":55
                    }
                ]
            },
            {
                "text":"Then I met a man called Lodar and he told me that Andor probably went to Nor City.",
                "nextPhraseID":"mikhail_news_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":55,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":80
                    }
                ]
            },
            {
                "text":"Not yet.",
                "nextPhraseID":"mikhail_news_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":80,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":55,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay_multipurpose",
                "value":40
            }
        ]
    },
    {
        "id":"brv_patrol_remove_all_bonemeals",
        "replies":[
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":100000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":10000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":1000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":256
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":64
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":16
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":4
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":142
            }
        ]
    },
    {
        "id":"brv_wait_patrol",
        "message":"[I better wait and talk to the soldiers about what they did with my belongings]"
    },
    {
        "id":"brv_patrol_stop_hero",
        "message":"Stop in the name of Feygard!\n\n[The soldiers approach and search your belongings]",
        "switchToNPC":"patrol_roaming",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":140
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"knights"
            }
        ]
    },
    {
        "id":"brv_patrol_roaming",
        "replies":[
            {
                "nextPhraseID":"brv_patrol_roaming_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":141
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_roaming_10"
            }
        ]
    },
    {
        "id":"brv_patrol_roaming_10",
        "message":"You are carrying a lot of gear. Any disallowed substances?\n\nYou have to wait while I check your belongings.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_patrol_roaming_11"
            }
        ]
    },
    {
        "id":"brv_patrol_roaming_20",
        "message":"You again. \n\nYou have to wait while I check your belongings.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_patrol_roaming_11"
            }
        ]
    },
    {
        "id":"brv_patrol_roaming_100",
        "message":"Everything is OK. Stay clean.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":141
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":140
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"knights"
            }
        ]
    },
    {
        "id":"brv_patrol_check_stop_hero",
        "replies":[
            {
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"99/100"
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_stop_hero",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"bonemeal_potion",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"pot_bm_lodar",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":142
            }
        ]
    },
    {
        "id":"brv_patrol_remove_all_bonemeals_lodar",
        "replies":[
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":100000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":10000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":1000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":256
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":64
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":16
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":4
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_remove_all_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_stop_hero"
            }
        ]
    },
    {
        "id":"brv_patrol_bonemeals_removed",
        "message":"What's this? Smells like Bonemeal!\n\nBonemeal is illegal and forbidden by the law of Feygard. I will have to confiscate it.\n[He gives you back all your belongings but keeps the Bonemeals]\n\nKeep away from illegal stuff. Now go on your way.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":141
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":140
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"knights"
            }
        ]
    },
    {
        "id":"brv_patrol_roaming_11",
        "replies":[
            {
                "nextPhraseID":"brv_patrol_roaming_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":142,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol_bonemeals_removed"
            }
        ]
    },
    {
        "id":"brv_brothers_check_coin_bag",
        "replies":[
            {
                "nextPhraseID":"brv_brothers_found_coin_bag",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"brv_richmans_coin_bag",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_brothers_found_coin_bag",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":75
            }
        ]
    },
    {
        "id":"brv_thief",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_thief_1",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_thief_2",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_thief_1",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_thief_1a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_dagger",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger_nondisplay",
                "value":10
            }
        ]
    },
    {
        "id":"brv_thief_2",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_thief_2a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"strange_gem",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger_nondisplay",
                "value":20
            }
        ]
    },
    {
        "id":"brv_thief_1a",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger_nondisplay",
                "value":20
            }
        ]
    },
    {
        "id":"brv_thief_2a",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_dagger_nondisplay",
                "value":10
            }
        ]
    },
    {
        "id":"truric_1_0",
        "message":"I am a weaponsmith. I have a good selection at the moment. Would you like to take a look?",
        "replies":[
            {
                "text":"Yes, please show me what you have.",
                "nextPhraseID":"S"
            },
            {
                "text":"No thanks. I need to move on.",
                "nextPhraseID":"X"
            },
            {
                "text":"Not now. I wanted to ask you about something else. I am looking for my brother Andor. He looks a bit like me. Have you seen him?",
                "nextPhraseID":"truric_2_0"
            }
        ]
    },
    {
        "id":"truric_2_0",
        "message":"No, sorry, but I haven't. I spend most of my time indoors working on my trade though. He could have passed though town without me noticing. ",
        "replies":[
            {
                "text":"Do you get many travelers here?",
                "nextPhraseID":"truric_2_1"
            }
        ]
    },
    {
        "id":"truric_2_1",
        "message":"We get quite a few, yes. We are not on the main road, but many paths pass through Brimhaven. ",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"truric_2_2"
            }
        ]
    },
    {
        "id":"truric_2_2",
        "message":"Few stay here though. We only have a few beds available at the inn on the east side of town. ",
        "replies":[
            {
                "text":"OK. Thanks for the information. I need to go.",
                "nextPhraseID":"X"
            },
            {
                "text":"OK. Thanks for the information. What do you sell?",
                "nextPhraseID":"truric_1_0"
            }
        ]
    },
    {
        "id":"brv_eagle",
        "message":"Rrrrrraaaaaaa",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_stop_talking_eagle"
            }
        ]
    },
    {
        "id":"brv_fortune_stop_talking_eagle",
        "message":"Stop annoying my pet!",
        "switchToNPC":"brv_fortune_teller"
    },
    {
        "id":"brv_fortune_choice",
        "message":"Anything more I can help you with?",
        "replies":[
            {
                "text":"Please tell me something that you can see about me or my brother Andor. [Give him 100 gold]",
                "nextPhraseID":"brv_fortune_pre_fortunes",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":100
                    }
                ]
            },
            {
                "text":"I don't have 100 gold to pay you.",
                "nextPhraseID":"brv_fortune_end_10"
            },
            {
                "text":"Maybe I can help you.",
                "nextPhraseID":"brv_fortune_300"
            },
            {
                "text":"Are you the one who ordered a 'Crystal Globe'?",
                "nextPhraseID":"brv_wh_delivery_brv_fortune",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_wh_item_00",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":110
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_fortune_andor_10",
        "message":"I see you talking to your brother, somewhere far from here in a big city. Feygard or Nor City, I think.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":151
            }
        ]
    },
    {
        "id":"brv_fortune_andor_20",
        "message":"I see your brother bound by dark forces.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune_andor_30",
        "message":"Your brother is in league with dark forces.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_andor_31"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":150
            }
        ]
    },
    {
        "id":"brv_fortune_andor_31",
        "message":"He needs your help. Something horrible ... argh.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_andor_35"
            }
        ]
    },
    {
        "id":"brv_fortune_andor_35",
        "message":"I can't see more. My view seems to be blocked.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune_hero_10",
        "message":"I see you walking up a path on a mountain. Beware! There is something wating for you ahead. I see you being attacked by monsters and they kill you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":149
            }
        ]
    },
    {
        "id":"brv_fortune_hero_20",
        "message":"I see you frozen to stone on a pedestal admist many flowers. Or is it a statue with your looks?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune_hero_30",
        "message":"I see a thief. He will take something from you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":148
            }
        ]
    },
    {
        "id":"brv_fortune_hero_40",
        "message":"I can see you in a prison cell but I cannot be sure where it is.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_pre_fortunes"
            }
        ]
    },
    {
        "id":"brv_fortune_hero_50",
        "message":"I can see you talking to some nobles in a big city. Feygard or Nor City, I think.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune_hero_70",
        "message":"I see you picking up a lot of coins from a hole in the ground. Can it be behind your father's house?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":145
            }
        ]
    },
    {
        "id":"brv_fortune_hero_130",
        "message":"I see a man pacing up and down in a little house. He seems to be waiting for someone.",
        "replies":[
            {
                "text":"That must be my father Mikhail, he is waiting for me and my brother!",
                "nextPhraseID":"brv_fortune_hero_131"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":147
            }
        ]
    },
    {
        "id":"brv_fortune_hero_131",
        "message":"Then go and get your brother and go home to him.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_playing_children",
        "message":"Don't disturb our game. Go away!",
        "switchToNPC":"brv_playing_child1",
        "replies":[
            {
                "text":"I am sorry.",
                "nextPhraseID":"X"
            },
            {
                "text":"What are you playing?",
                "nextPhraseID":"brv_playing_children_10"
            }
        ]
    },
    {
        "id":"brv_playing_children_10",
        "message":"We are practicing 'Ba game'.\n\nOnce a year the west and the east parts of the town play against each other. It can be very competitive."
    },
    {
        "id":"brv_ball",
        "message":"[This looks like a ball made of leather]",
        "replies":[
            {
                "text":"[Kick the ball as hard as possible]",
                "nextPhraseID":"brv_ball_10"
            }
        ]
    },
    {
        "id":"brv_ball_10",
        "message":"[You miss the ball and fall on your back]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_ball_11"
            }
        ]
    },
    {
        "id":"brv_fortune_end_10",
        "message":"Then goodbye. I know you will return some time in the future."
    },
    {
        "id":"brv_fortune_300",
        "message":"Yes, that would be good. I already have an idea. But not now. Please come back later and ask me again.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune_back",
        "message":"Welcome back.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune",
        "message":"Welcome to my house. Please come in.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_10"
            }
        ]
    },
    {
        "id":"brv_fortune_20",
        "message":"I can see what others can't see.",
        "replies":[
            {
                "text":"Really? I am searching...",
                "nextPhraseID":"brv_fortune_30"
            }
        ]
    },
    {
        "id":"brv_fortune_30",
        "message":"Wait",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_40"
            }
        ]
    },
    {
        "id":"brv_fortune_40",
        "message":"I feel that you are on a search... at the beginning of a long and dangerous search for a relative of yours.",
        "replies":[
            {
                "text":"I am impressed. Can you tell me more about my brother Andor or me?",
                "nextPhraseID":"brv_fortune_50"
            },
            {
                "text":"That doesn't impress me.",
                "nextPhraseID":"brv_fortune_end_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":144
            }
        ]
    },
    {
        "id":"brv_fortune_10",
        "message":"What has brought you to me? It looks like you might need my help.",
        "replies":[
            {
                "text":"What help can you offer?",
                "nextPhraseID":"brv_fortune_20"
            },
            {
                "text":"I am searching...",
                "nextPhraseID":"brv_fortune_30"
            },
            {
                "text":"So you are the one who ordered a 'Crystal Globe'?",
                "nextPhraseID":"brv_wh_delivery_brv_fortune",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_wh_item_00",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery",
                        "value":110
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_fortune_50",
        "message":"It will cost you 100 gold.",
        "replies":[
            {
                "text":"[Give him 100 gold]",
                "nextPhraseID":"brv_fortune_pre_fortunes_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":100
                    }
                ]
            },
            {
                "text":"That is too expensive for me.",
                "nextPhraseID":"brv_fortune_end_10"
            }
        ]
    },
    {
        "id":"brv_fortune_select",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_back",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":144
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_fortune"
            }
        ]
    },
    {
        "id":"brv_fortune_fortunes_select",
        "replies":[
            {
                "nextPhraseID":"brv_fortune_come_back_much_later",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"5"
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":151
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_andor_10",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"17"
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":151,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_andor_30",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":150,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_hero_10",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"25"
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":149,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_hero_30",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":148,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_hero_130",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":147,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_hero_70",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":145,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_fortune_fortunes_select"
            }
        ]
    },
    {
        "id":"crossglen_fortune_teller",
        "message":"This looks like an undisturbed place.",
        "replies":[
            {
                "text":"[Let's have a pee]",
                "nextPhraseID":"X"
            },
            {
                "text":"Could this be the place? [Start digging with my hands]",
                "nextPhraseID":"crossglen_fortune_teller_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":145
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":146,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"crossglen_fortune_teller_10",
        "message":"After digging for some time you find a lot of gold coins! You take them and then close the hole.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":146
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":1500
            }
        ]
    },
    {
        "id":"brv_fortune_pre_fortunes",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_come_back_much_later",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_fortune",
                        "value":6
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_pre_fortunes_2",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"brv_fortune",
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_come_back_later",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"brv_fortune",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_pre_fortunes_2"
            }
        ]
    },
    {
        "id":"brv_fortune_pre_fortunes_2",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortunes_set_timer",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"brv_fortune",
                        "value":2
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_fortunes_set_timer",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"brv_fortune",
                        "value":4
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_fortunes_select"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"brv_fortune",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":-100
            }
        ]
    },
    {
        "id":"brv_fortunes_set_timer",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_fortunes_select"
            }
        ],
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"brv_fortune"
            }
        ]
    },
    {
        "id":"brv_fortune_come_back_later",
        "message":"I am tired and can't see anything new now. If you come back in a little while maybe I can tell you more. ",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"brv_fortune_come_back_much_later",
        "message":"I told you all I can see for now. But you can come back to me in a few months when you have had new experiences.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_fortune_choice"
            }
        ]
    },
    {
        "id":"blackjack_play_higher_amounts",
        "message":"Now let's stop this child's game and play for higher amounts.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"blackjack_bet"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_blackjack",
                "value":45
            }
        ]
    },
    {
        "id":"blackjack_bet",
        "message":"What is your 17+4 bet?",
        "replies":[
            {
                "text":"1 Gold",
                "nextPhraseID":"blackjack_bet_1",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":1
                    }
                ]
            },
            {
                "text":"2 Gold",
                "nextPhraseID":"blackjack_bet_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":2
                    }
                ]
            },
            {
                "text":"5 Gold",
                "nextPhraseID":"blackjack_bet_5",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":5
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_blackjack_won",
                        "value":3
                    }
                ]
            },
            {
                "text":"10 Gold",
                "nextPhraseID":"blackjack_bet_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":10
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"brv_blackjack_won",
                        "value":3
                    }
                ]
            },
            {
                "text":"Please explain the rules to me.",
                "nextPhraseID":"blackjack_rules"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":10
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":20
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_blackjack_hidden",
                "value":30
            }
        ]
    },
    {
        "id":"stoutford_grave_1",
        "message":"Here lies Adegil, the tree cutter, killed by a falling branch."
    },
    {
        "id":"stoutford_grave_2",
        "message":"Here lies Cadwait. One day, he picked the wrong pocket."
    },
    {
        "id":"stoutford_grave_3",
        "message":"Here lies Rumpt. His skin was so orange that many thought he was a monster."
    },
    {
        "id":"stoutford_grave_4",
        "message":"Here lies Orocho, the master cook, who died of food poisoning."
    },
    {
        "id":"stoutford_grave_5",
        "message":"Here lies Rurog, the master builder who fell through his own roof."
    },
    {
        "id":"brv_ball_11",
        "message":"You kick like a baby. Ha, ha.",
        "switchToNPC":"brv_playing_child1"
    },
    {
        "id":"sign_brimhaven1",
        "message":"Welcome to Brimhaven"
    },
    {
        "id":"brv_temple_entrance_guard",
        "message":"No one is allowed in our sacred temple at this time."
    },
    {
        "id":"thelry_1",
        "message":"No, sorry, I haven't seen anyone like that.",
        "replies":[
            {
                "text":"OK. Thanks. What do you have to sell?",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"fallhaven_potions_offer_crystal_vial_too_expensive",
        "message":"Well, that's the price.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_potions"
            }
        ]
    },
    {
        "id":"anakis_deny_help",
        "message":"Oh, thats's sad.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance",
                "value":15
            }
        ]
    },
    {
        "id":"basiliskcave2_warn_hint",
        "message":"You see an old Basilisk at the end of the room that glances at you. With a feeling of deadly danger your movements get slower the nearer you go.\n\n(Maybe I could find something to protect myself from its glance?)",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"turn_to_stone",
                "value":999
            },
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_position",
                "value":110
            }
        ]
    },
    {
        "id":"basiliskcave2_check_turntostone_20",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_check_turntostone_30"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"quick_glance_hidden_position",
                "value":110
            }
        ]
    },
    {
        "id":"basiliskcave2_check_turntostone_10",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_check_turntostone_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_check_turntostone_30"
            }
        ]
    },
    {
        "id":"basiliskcave2_blocked_10",
        "message":"You can't go nearer to the Basilisk while your eyes meet the Basilisk's eyes.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"basiliskcave2_blocked_select_20"
            }
        ]
    },
    {
        "id":"basiliskcave2_blocked_20",
        "message":"(What am I doing here. I should go and find Juttarka before I come back here.)"
    },
    {
        "id":"basiliskcave2_blocked_30",
        "message":"(What am I doing here. I should go and talk to Anakis about the statue I found before I come back here.)"
    },
    {
        "id":"basiliskcave2_blocked_40",
        "message":"(Maybe I should try to find a mirror down here that I could wear to protect me from the glance so I could go nearer to the Basilisk.)"
    },
    {
        "id":"basiliskcave2_blocked_50",
        "message":"(I better leave the Basilisk.)"
    },
    {
        "id":"basiliskcave2_blocked_select_10",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_blocked_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_blocked_10",
                "requires":[
                    {
                        "requireType":"hasActorCondition",
                        "requireID":"turn_to_stone"
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_blocked_select_20"
            }
        ]
    },
    {
        "id":"basiliskcave2_blocked_select_20",
        "replies":[
            {
                "nextPhraseID":"basiliskcave2_blocked_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_blocked_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"quick_glance",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"basiliskcave2_blocked_50"
            }
        ]
    },
    {
        "id":"brv_flood_key_set3",
        "replies":[
            {
                "nextPhraseID":"brv_flood_key_set3_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":83
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":70
            }
        ]
    },
    {
        "id":"brv_flood_key_set3_10",
        "replies":[
            {
                "nextPhraseID":"brv_flood_key_set3_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"achievements",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"drowning",
                "value":990
            }
        ]
    },
    {
        "id":"brv_flood_key_set3_20",
        "message":"You have made it!",
        "replies":[
            {
                "text":"Phew, I thought that would be my end!",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"achievements",
                "value":100
            }
        ]
    },
    {
        "id":"brv_brothers_another_axe",
        "replies":[
            {
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":52,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":53
                    }
                ]
            },
            {
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_flood",
                        "value":56
                    }
                ]
            },
            {
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"hand_axe",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"hand_axe",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_brothers_another_axe_10"
            }
        ]
    },
    {
        "id":"brv_brothers_another_axe_10",
        "message":"So lucky! Another small hand axe lies here.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_flood",
                "value":53
            },
            {
                "rewardType":"giveItem",
                "rewardID":"hand_axe",
                "value":1
            }
        ]
    },
    {
        "id":"brv_patrol2_check_stop_hero",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_check_stop_hero_2",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"1"
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_patrol2_check_stop_hero_2",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_stop_hero",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"bonemeal_potion",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"pot_bm_lodar",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":142
            },
            {
                "rewardType":"alignmentSet",
                "rewardID":"feygard_patrol_bmp",
                "value":0
            },
            {
                "rewardType":"alignmentSet",
                "rewardID":"feygard_patrol_bmp2",
                "value":0
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_all_bonemeals",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_1000_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":1000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_100_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_10_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_2_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":2
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_1000_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":1000
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_100_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_10_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_remove_2_bonemeals_lodar",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":2
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_stop_hero",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"pot_bm_lodar",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_stop_hero"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":142
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_1000_bonemeals",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":500
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_100_bonemeals",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":50
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_10_bonemeals",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":5
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_2_bonemeals",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":1
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_1000_bonemeals_lodar",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":500
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_100_bonemeals_lodar",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":50
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_10_bonemeals_lodar",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":5
            }
        ]
    },
    {
        "id":"brv_patrol2_remove_2_bonemeals_lodar",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_remove_all_bonemeals"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":1
            }
        ]
    },
    {
        "id":"brv_patrol2_stop_hero",
        "message":"Stop in the name of Feygard!\n\n[The soldiers approach and search your belongings]",
        "switchToNPC":"patrol2_captain",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":140
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"patrol2_roaming"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"patrol2_captain"
            }
        ]
    },
    {
        "id":"brv_wait_patrol2",
        "message":"[I better wait and talk to the soldiers about what they did with my belongings]"
    },
    {
        "id":"brv_patrol2_roaming",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_roaming_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":141
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_roaming_10"
            }
        ]
    },
    {
        "id":"brv_patrol2_roaming_10",
        "message":"You are carrying a lot of gear. Any disallowed substances?\n\nYou have to wait while I check your belongings.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_patrol2_roaming_11"
            }
        ]
    },
    {
        "id":"brv_patrol2_roaming_20",
        "message":"You again. \n\nYou have to wait while I check your belongings.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_patrol2_roaming_11"
            }
        ]
    },
    {
        "id":"brv_patrol2_roaming_100",
        "message":"Everything is OK. Stay clean.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":141
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":140
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"patrol2_roaming"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"patrol2_captain"
            }
        ]
    },
    {
        "id":"brv_patrol2_bonemeals_removed",
        "message":"What's this? Smells like Bonemeal!\n\nBonemeal is illegal and forbidden by the law of Feygard. I will have to confiscate it.\n[He gives you back all your belongings but keeps the Bonemeals]\n\nAnd we have to arrest you of course. Report to prison! Now!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":141
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":140
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"patrol2_roaming"
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"Mapevents_prison",
                "mapName":"remgard0"
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":138
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_nondisplay",
                "value":139
            },
            {
                "rewardType":"createTimer",
                "rewardID":"remgard_prison"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"remgard_prison_thief",
                "mapName":"remgard_prison"
            }
        ]
    },
    {
        "id":"brv_patrol2_roaming_11",
        "replies":[
            {
                "nextPhraseID":"brv_patrol2_roaming_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":142,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"brv_patrol2_bonemeals_removed"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_remove",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"remgard_prison_thief",
                "mapName":"remgard_prison"
            }
        ]
    },
    {
        "id":"remgard_prison_step",
        "replies":[
            {
                "nextPhraseID":"remgard_prison_step_10",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"remgard_prison",
                        "value":5
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_nondisplay",
                        "value":138,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_talk"
            }
        ]
    },
    {
        "id":"remgard_prison_step_10",
        "replies":[
            {
                "nextPhraseID":"remgard_prison_talk"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":138
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"remgard_prison_thief",
                "mapName":"remgard_prison"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"patrol2_captain",
                "mapName":"remgard0"
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"Mapevents_prison",
                "mapName":"remgard0"
            }
        ]
    },
    {
        "id":"remgard_prison_talk",
        "message":"You rattle at the iron bars.",
        "replies":[
            {
                "text":"Hey, I'm starving!",
                "nextPhraseID":"remgard_prison_talk_1",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "text":"Room service!",
                "nextPhraseID":"remgard_prison_talk_1",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"5"
                    }
                ]
            },
            {
                "text":"Anybody there? I want to talk to my lawyer!",
                "nextPhraseID":"remgard_prison_talk_1",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "text":"I am innocent!",
                "nextPhraseID":"remgard_prison_talk_1",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "text":"Hey! Has anybody seen my brother Andor? I am looking for him everywhere, even in prisons.",
                "nextPhraseID":"remgard_prison_talk_1",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            },
            {
                "text":"Sigh.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"remgard_prison_talk_1",
        "message":"No reaction."
    },
    {
        "id":"remgard_prison_thief",
        "message":"Hi $playername. Got comfortable already?",
        "replies":[
            {
                "text":"What the ...",
                "nextPhraseID":"remgard_prison_thief_10"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_10",
        "message":"Don't look startled. You should have expected this from us thieves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_thief_12"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_12",
        "message":"Especially when you have carried such a lot of bonemeal potions with you.",
        "replies":[
            {
                "text":"Hey, what do you know about it?",
                "nextPhraseID":"remgard_prison_thief_14"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_14",
        "message":"We know everything.",
        "replies":[
            {
                "text":"Yeah, obviously.",
                "nextPhraseID":"remgard_prison_thief_20"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_20",
        "message":"We are thankful for your potions, and we are always grateful.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_thief_22"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_22",
        "message":"So we offer you half of your stock. And your freedom. Deal?",
        "replies":[
            {
                "text":"Do I have a choice?",
                "nextPhraseID":"remgard_prison_thief_30"
            },
            {
                "text":"OK.",
                "nextPhraseID":"remgard_prison_thief_50"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_30",
        "message":"Sure you do. You could get nothing and stay here to starve.",
        "replies":[
            {
                "text":"Ah no. Let's have the first offer.",
                "nextPhraseID":"remgard_prison_thief_50"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_50",
        "replies":[
            {
                "nextPhraseID":"remgard_prison_thief_52",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"bonemeal_potion",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"pot_bm_lodar",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_thief_54"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_52",
        "message":"Here we go. I will count out loud, so you can check that I don't cheat.",
        "replies":[
            {
                "text":"[muttering] Cheat - with my own potions ...",
                "nextPhraseID":"remgard_prison_getback"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_54",
        "message":"You already have your share. You do not try to cheat, do you? In that case I would be very disappointed.",
        "replies":[
            {
                "text":"No, no. Everything is awful.",
                "nextPhraseID":"remgard_prison_thief_110"
            }
        ]
    },
    {
        "id":"remgard_prison_getback",
        "replies":[
            {
                "nextPhraseID":"remgard_prison_getback_1000",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp",
                        "value":1000
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback_100",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback_10",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback_1",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback2_1000",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp2",
                        "value":1000
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback2_100",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp2",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback2_10",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp2",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_getback2_1",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"feygard_patrol_bmp2",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"remgard_prison_thief_100"
            }
        ]
    },
    {
        "id":"remgard_prison_getback_1000",
        "message":"1000 bonemeal potions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":-1000
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bonemeal_potion",
                "value":1000
            }
        ]
    },
    {
        "id":"remgard_prison_getback_100",
        "message":"100 bonemeal potions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":-100
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bonemeal_potion",
                "value":100
            }
        ]
    },
    {
        "id":"remgard_prison_getback_10",
        "message":"10 bonemeal potions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":-10
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bonemeal_potion",
                "value":10
            }
        ]
    },
    {
        "id":"remgard_prison_getback_1",
        "message":"1 bonemeal potion.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp",
                "value":-1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bonemeal_potion",
                "value":1
            }
        ]
    },
    {
        "id":"remgard_prison_getback2_1000",
        "message":"1000 exotic bonemeal potions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":-1000
            },
            {
                "rewardType":"giveItem",
                "rewardID":"pot_bm_lodar",
                "value":1000
            }
        ]
    },
    {
        "id":"remgard_prison_getback2_100",
        "message":"100 exotic bonemeal potions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":-100
            },
            {
                "rewardType":"giveItem",
                "rewardID":"pot_bm_lodar",
                "value":100
            }
        ]
    },
    {
        "id":"remgard_prison_getback2_10",
        "message":"10 exotic bonemeal potions.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":-10
            },
            {
                "rewardType":"giveItem",
                "rewardID":"pot_bm_lodar",
                "value":10
            }
        ]
    },
    {
        "id":"remgard_prison_getback2_1",
        "message":"1 exotic bonemeal potion.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"remgard_prison_getback"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"feygard_patrol_bmp2",
                "value":-1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"pot_bm_lodar",
                "value":1
            }
        ]
    },
    {
        "id":"remgard_prison_thief_100",
        "message":"Ha ha ha! That was fun, wasn't it?",
        "replies":[
            {
                "text":"Hmpf.",
                "nextPhraseID":"remgard_prison_thief_110"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_110",
        "message":"Now it's all settled. We may leave now.",
        "replies":[
            {
                "text":"What? How can we leave?",
                "nextPhraseID":"remgard_prison_thief_112"
            }
        ]
    },
    {
        "id":"remgard_prison_thief_112",
        "message":"Oh, that is easy. Check the back wall - it is fake. We had it exchanged secretly, and those stupid guards haven't found out yet.",
        "replies":[
            {
                "text":"Oh really?",
                "nextPhraseID":"remgard_prison_thief_200"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_nondisplay",
                "value":139
            }
        ]
    },
    {
        "id":"remgard_prison_thief_200",
        "message":"Bye now. I will keep an eye on you.",
        "replies":[
            {
                "text":"Bye.",
                "nextPhraseID":"R"
            }
        ]
    }
]