[
    {
        "id":"fallhaven_lumberjack",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_lumberjack_15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"pathway_fallhaven",
                        "value":50
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"fallhaven_lumberjack_16",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"pathway_fallhaven",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"pathway_fallhaven",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"fallhaven_lumberjack_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"pathway_fallhaven",
                        "value":30
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"fallhaven_lumberjack_1"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_1",
        "message":"Hi, I'm Jakrar.",
        "replies":[
            {
                "text":"Are you a woodcutter?",
                "nextPhraseID":"fallhaven_lumberjack_2"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_2",
        "message":"Yes, I'm Fallhaven's woodcutter. Need anything done in the finest of woods? I have probably got it.",
        "replies":[
            {
                "text":"I'd like to talk with you about Fallhaven's passage to the Duleian Road.",
                "nextPhraseID":"fallhaven_lumberjack_3",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"pathway_fallhaven",
                        "value":20
                    }
                ]
            },
            {
                "text":"Never mind. I don't need your services for now.",
                "nextPhraseID":"X"
            },
            {
                "text":"What have you got for sale?",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"alaun",
        "message":"Hello. I'm Alaun. How can I help you?",
        "replies":[
            {
                "text":"Have you seen my brother Andor? He looks similar to me.",
                "nextPhraseID":"alaun_2"
            },
            {
                "text":"Do you have a job for me?",
                "nextPhraseID":"alaun_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"gison_soup",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "text":"About the soup...",
                "nextPhraseID":"alaun_return_blindstart",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"gison_soup",
                        "value":10
                    }
                ]
            },
            {
                "text":"About the soup...",
                "nextPhraseID":"alaun_return_blindstart",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"gison_soup",
                        "value":50
                    }
                ]
            },
            {
                "text":"Gison gave me some of his soup.",
                "nextPhraseID":"alaun_return",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"gison_soup",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"gison_soup",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"gison_soup",
                        "value":50,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"alaun_2",
        "message":"You are looking for your brother you say? Looks like you? Hmm.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"alaun_3"
            }
        ]
    },
    {
        "id":"alaun_3",
        "message":"No, I cannot recall seeing anyone by that description. Maybe you should try in Crossglen village west of here."
    },
    {
        "id":"fallhaven_farmer1",
        "message":"Hello there. Please do not bother me, I have a lot of work to do."
    },
    {
        "id":"fallhaven_farmer2",
        "message":"Hello. Could you please move out of the way? I am trying to work here."
    },
    {
        "id":"khorand",
        "message":"Hey you, don't even think of touching any of the crates. I am watching you!"
    },
    {
        "id":"fallhaven_lumberjack_3",
        "message":"Oh no. Not again. I won't start cutting the trees unless I have received a payment beforehand. Go away!",
        "replies":[
            {
                "text":"Is there anything that would change your mind?",
                "nextPhraseID":"fallhaven_lumberjack_4"
            },
            {
                "text":"Seems like nobody wants to open the road again. Great.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_4",
        "message":"Hmm. Well if you would do me a great favor I would start to cut the trees away.",
        "replies":[
            {
                "text":"Sure! What is it?",
                "nextPhraseID":"fallhaven_lumberjack_5"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_5",
        "message":"Let me tell you a story. Long ago, I was cutting in the woods to the north of Fallhaven. I used to cut the trees with great speed with my favorite axe. It was made of fine steel and probably worth more than my hut.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_lumberjack_6"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_6",
        "message":"But then, I got attacked by a pack of wolves and I had to flee immediately. I barely saved my life, but during the escape I lost my precious axe.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_lumberjack_7"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_7",
        "message":"I'm afraid of travelling to that place again because I'm not a trained fighter and the wolves, especially their leader, were really powerful.",
        "replies":[
            {
                "text":"So I guess you want me to retrieve your axe?",
                "nextPhraseID":"fallhaven_lumberjack_8"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_8",
        "message":"Yes exactly. If you would do me that favor I will gladly cut away the trees and receive payment afterwards. Just head north to the Crossroads guardhouse and then head eastwards down the Duleian Road. That's where I lost my axe. And look out for that wolf pack!",
        "replies":[
            {
                "text":"Sounds simple enough. On my way.",
                "nextPhraseID":"X"
            },
            {
                "text":"No way! That is far too dangerous!",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"pathway_fallhaven",
                "value":30
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_9",
        "message":"Have you made any progress in finding my axe?"
    },
    {
        "id":"fallhaven_lumberjack_10",
        "message":"Let me see... Oh yes! This is my axe! I cannot thank you enough!",
        "replies":[
            {
                "text":"So will you cut away those trees that block the old pathway?",
                "nextPhraseID":"fallhaven_lumberjack_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"pathway_fallhaven",
                "value":40
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_11",
        "message":"Sure! Already on my way! The work will be finished soon.",
        "replies":[
            {
                "text":"That sounds great! Remember to ask the stupid guard captain for a decent payment.",
                "nextPhraseID":"fallhaven_lumberjack_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"pathway_fallhaven",
                "value":50
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_12",
        "message":"Sure. Will do that. He he.",
        "replies":[
            {
                "text":"Shadow be with you.",
                "nextPhraseID":"X"
            },
            {
                "text":"Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_13",
        "message":"You're welcome. But you're not the only one who is happy. There are more people resting for a night in Fallhaven, which helps our economy. Some even bought items at my store! By the way, I was surprised, but I even got paid well by the guard captain.",
        "replies":[
            {
                "text":"Great. Now everything is much better than it was before!",
                "nextPhraseID":"X"
            },
            {
                "text":"I wanted to ask about something else.",
                "nextPhraseID":"fallhaven_lumberjack_15"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_14",
        "message":"Have you made any progress in finding my precious axe?",
        "replies":[
            {
                "text":"Hello again! I've finally found your axe!",
                "nextPhraseID":"fallhaven_lumberjack_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"jakrar_axe",
                        "value":1
                    }
                ]
            },
            {
                "text":"No I haven't. But I'm working on it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_15",
        "message":"Hello again my friend.",
        "replies":[
            {
                "text":"I cannot thank you enough for cutting away those trees! Finally I've got a shortcut!",
                "nextPhraseID":"fallhaven_lumberjack_13",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"pathway_fallhaven",
                        "value":60
                    }
                ]
            },
            {
                "text":"What have you got for sale?",
                "nextPhraseID":"S"
            },
            {
                "text":"Never mind. I don't need your services for now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_lumberjack_16",
        "message":"Thank you for bringing me back my axe!",
        "replies":[
            {
                "text":"So will you cut away those trees that block the old pathway?",
                "nextPhraseID":"fallhaven_lumberjack_11"
            }
        ]
    },
    {
        "id":"alaun_1",
        "message":"Oh, how surprising. How nice of you. Indeed there is something you could do for me.",
        "replies":[
            {
                "text":"Tell me what it is.",
                "nextPhraseID":"alaun_5"
            },
            {
                "text":"Maybe later.",
                "nextPhraseID":"X"
            },
            {
                "text":"Let's talk about payment first.",
                "nextPhraseID":"alaun_4"
            }
        ]
    },
    {
        "id":"alaun_4",
        "message":"Ahh, you are here to earn some money, okay.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"alaun_5"
            }
        ]
    },
    {
        "id":"alaun_5",
        "message":"I'll give you 10 gold if you do this little job for me: Bring me some of that delicious soup which Gison cooks using mushrooms and wild herbs.",
        "replies":[
            {
                "text":"Sounds easy, I'll do it!",
                "nextPhraseID":"alaun_startquest10"
            },
            {
                "text":"Give me 15 and I'll do it.",
                "nextPhraseID":"alaun_more1"
            },
            {
                "text":"Give me 20 and I'll do it.",
                "nextPhraseID":"alaun_more2"
            },
            {
                "text":"No way, I'm not your gopher.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_startquest10",
        "message":"That's really nice of you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"alaun_startquest_go"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":10
            }
        ]
    },
    {
        "id":"alaun_more1",
        "message":"15? Let me think...erm...\n\nOK, I'll give you 15.",
        "replies":[
            {
                "text":"Sounds good. I will do it.",
                "nextPhraseID":"alaun_startquest15"
            },
            {
                "text":"I changed my mind.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_more2",
        "message":"20? Let me think...erm...\n\nOK. I'll give you 20. But please, bring it hot or I won't pay you.",
        "replies":[
            {
                "text":"Sounds good. I will do it.",
                "nextPhraseID":"alaun_startquest20"
            },
            {
                "text":"I changed my mind.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_startquest15",
        "message":"That's nice of you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"alaun_startquest_go"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":15
            }
        ]
    },
    {
        "id":"alaun_startquest20",
        "message":"OK, please bring it hot!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"alaun_startquest_go"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":20
            }
        ]
    },
    {
        "id":"alaun_startquest_go",
        "message":"You can find Gison and his wife Nimael south of here. Cross the path and head into the woods. You will find their house soon.",
        "replies":[
            {
                "text":"OK. See you later.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_return",
        "message":"Aah, you are back. Wonderful. I will stop working for now and take a little break.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"alaun_return_evaluation"
            }
        ]
    },
    {
        "id":"alaun_return_evaluation",
        "replies":[
            {
                "nextPhraseID":"alaun_return_coldsoup",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gison_soup",
                        "value":1
                    },
                    {
                        "requireType":"timerElapsed",
                        "requireID":"gison_soup",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"alaun_return20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"alaun_soup_reward",
                        "value":20
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gison_soup",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"alaun_return15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"alaun_soup_reward",
                        "value":15
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gison_soup",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"alaun_return10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"alaun_soup_reward",
                        "value":10
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gison_soup",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"alaun_return_nosoup"
            }
        ]
    },
    {
        "id":"alaun_return10",
        "message":"Here is the money I promised you.\n\nAnd as a bonus I will give you some of this bread.\n\nNext time I will buy Nimael's soup.",
        "replies":[
            {
                "text":"Nimael's soup?",
                "nextPhraseID":"alaun_return_nimael"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":30
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":10
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bread",
                "value":5
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bottle_empty",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":11
            },
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":35
            }
        ]
    },
    {
        "id":"alaun_return15",
        "message":"Here is the money I promised you.\n\nNext time I will buy Nimael's soup.",
        "replies":[
            {
                "text":"Nimael's soup?",
                "nextPhraseID":"alaun_return_nimael"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":15
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bottle_empty",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":30
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":16
            },
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":35
            }
        ]
    },
    {
        "id":"alaun_return20",
        "message":"Here is the money I promised you.\n\nNext time I will buy Nimael's soup.",
        "replies":[
            {
                "text":"Nimael's soup?",
                "nextPhraseID":"alaun_return_nimael"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":30
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":20
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bottle_empty",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":21
            },
            {
                "rewardType":"questProgress",
                "rewardID":"gison_soup",
                "value":35
            }
        ]
    },
    {
        "id":"alaun_return_end",
        "message":"Thanks again. And remember to take the bottle back to Gison. Now go please. I want to eat.",
        "replies":[
            {
                "text":"Enjoy your meal.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_return_nosoup",
        "message":"Where is it?",
        "replies":[
            {
                "text":"Oops, I forgot that there is a hole in my bag.",
                "nextPhraseID":"alaun_return_nosoup_1"
            },
            {
                "text":"I ate it.",
                "nextPhraseID":"alaun_return_nosoup_1"
            }
        ]
    },
    {
        "id":"alaun_return_nosoup_1",
        "message":"What are you waiting for? Go on, bring me some soup. Hurry, I'm hungry!",
        "replies":[
            {
                "text":"Yes, I will return quickly.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_return_blindstart",
        "message":"Yes. I asked you to bring me some of that delicious mushroom soup from Gison.",
        "replies":[
            {
                "text":"Can you explain the way again?",
                "nextPhraseID":"alaun_startquest_go"
            },
            {
                "text":"Yes, I'm on my way.",
                "nextPhraseID":"X"
            },
            {
                "text":"I was not able to bring you the soup.",
                "nextPhraseID":"alaun_return_fail",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"gison_soup",
                        "value":50
                    }
                ]
            }
        ]
    },
    {
        "id":"alaun_return_coldsoup",
        "message":"This soup is cold. Return to me with a hot soup!",
        "replies":[
            {
                "text":"Sorry. I will try again.",
                "nextPhraseID":"X"
            },
            {
                "text":"It still tastes...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"alaun_return_fail",
        "message":"That can't be. Get out of here!\n\n[Alaun starts throwing things at you]",
        "replies":[
            {
                "text":"But...",
                "nextPhraseID":"X"
            },
            {
                "text":"Listen...",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fear",
                "value":15
            },
            {
                "rewardType":"questProgress",
                "rewardID":"alaun_soup_reward",
                "value":30
            }
        ]
    }
]