[
    {
        "id":"fallhaven_warden",
        "message":"State your business.",
        "replies":[
            {
                "text":"Who is that prisoner?",
                "nextPhraseID":"warden_prisoner_1"
            },
            {
                "text":"I heard that you are fond of mead.",
                "nextPhraseID":"fallhaven_warden_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":20
                    }
                ]
            },
            {
                "text":"The thieves are planning an escape for their friend.",
                "nextPhraseID":"fallhaven_warden_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":30
                    }
                ]
            },
            {
                "text":"I recently talked to the watchman who blocks the old pathway to the Duleian Road. Why don't you just pay the woodcutter?",
                "nextPhraseID":"fallhaven_warden_pathway_1",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"pathway_fallhaven",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"warden_prisoner_1",
        "message":"That thief? He was caught in the act. Trespassing he was. Trying to get down into the catacombs of Fallhaven church.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"warden_prisoner_2"
            }
        ]
    },
    {
        "id":"warden_prisoner_2",
        "message":"Luckily, we caught him before he could get down there. Now he'll serve as an example to all other thieves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"warden_prisoner_3"
            }
        ]
    },
    {
        "id":"warden_prisoner_3",
        "message":"Damn thieves. There must be a nest of them around here somewhere. If only I could find where they hide."
    },
    {
        "id":"fallhaven_warden_1",
        "message":"Mead? Oh ... no, I don't do that anymore. Who told you that?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_2"
            }
        ]
    },
    {
        "id":"fallhaven_warden_2",
        "message":"I've stopped doing that years ago.",
        "replies":[
            {
                "text":"Sounds like a good approach. Good luck with keeping away from it.",
                "nextPhraseID":"X"
            },
            {
                "text":"Not just even a little bit?",
                "nextPhraseID":"fallhaven_warden_3"
            }
        ]
    },
    {
        "id":"fallhaven_warden_3",
        "message":"Um. *clears throat* I really shouldn't.",
        "replies":[
            {
                "text":"I brought some with me if you would like to have a sip.",
                "nextPhraseID":"fallhaven_warden_4",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":25
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"sleepingmead",
                        "value":1
                    }
                ]
            },
            {
                "text":"OK, goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_warden_4",
        "message":"Oh sweet drinks of joy. I really shouldn't have this while on duty though.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_5"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"farrik",
                "value":32
            }
        ]
    },
    {
        "id":"fallhaven_warden_5",
        "message":"I could get fined for drinking on duty. I don't think I would dare try it right now.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_6"
            }
        ]
    },
    {
        "id":"fallhaven_warden_6",
        "message":"Thank you for the drink though, I will enjoy it when I get home later tomorrow.",
        "replies":[
            {
                "text":"You are welcome. Goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"What if someone would pay you the amount of the fine?",
                "nextPhraseID":"fallhaven_warden_7"
            }
        ]
    },
    {
        "id":"fallhaven_warden_7",
        "message":"Oh, that sounds a bit shady. I doubt anyone could afford the 450 gold around here. Anyway, I would need a bit more than that just to risk it.",
        "replies":[
            {
                "text":"I have 500 gold right here that you could have.",
                "nextPhraseID":"fallhaven_warden_9",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":500
                    }
                ]
            },
            {
                "text":"You know you want the mead right?",
                "nextPhraseID":"fallhaven_warden_8"
            },
            {
                "text":"Yes, I agree. This is starting to sound too shady. Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_warden_8",
        "message":"Oh sure. Now that you mention it. It sure would be good.",
        "replies":[
            {
                "text":"So what if I pay you, say, 400 gold. Would that cover enough of your anxiety to enjoy the drink now?",
                "nextPhraseID":"fallhaven_warden_9",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":400
                    }
                ]
            },
            {
                "text":"This is starting to sound too shady for me. I'll leave you to your duty, goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"I'll go get that gold for you. Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_warden_9",
        "message":"Wow, that much gold? I'm sure I could even get away with this without being fined. Then I could have the gold AND a nice drink of mead at the same time.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"farrik",
                "value":60
            }
        ]
    },
    {
        "id":"fallhaven_warden_10",
        "message":"Thank you kid, you really are nice. Now leave me to enjoy my drink."
    },
    {
        "id":"fallhaven_warden_select_1",
        "replies":[
            {
                "nextPhraseID":"fallhaven_warden_11",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":60
                    }
                ]
            },
            {
                "nextPhraseID":"fallhaven_warden_35",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"fallhaven_warden_select_2"
            }
        ]
    },
    {
        "id":"fallhaven_warden_select_2",
        "replies":[
            {
                "nextPhraseID":"fallhaven_warden_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"fallhaven_warden_12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":32
                    }
                ]
            },
            {
                "nextPhraseID":"fallhaven_warden"
            }
        ]
    },
    {
        "id":"fallhaven_warden_11",
        "message":"Hello again, kid. Thanks for the drink earlier. I had it all in one go. It sure tasted a bit different than before, but I guess that is just because I'm not used to it anymore.",
        "replies":[
            {
                "text":"That's great! Cheers!",
                "nextPhraseID":"X"
            },
            {
                "text":"I recently talked to the watchman who blocks the old pathway to the Duleian Road. Why don't you just pay the woodcutter?",
                "nextPhraseID":"fallhaven_warden_pathway_1",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"pathway_fallhaven",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"fallhaven_warden_12",
        "message":"Hello again, kid. Thanks for the drink earlier. I still haven't had it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_5"
            }
        ]
    },
    {
        "id":"fallhaven_warden_20",
        "message":"Really, they would dare go up against the guard in Fallhaven? Do you have any details on their plan?",
        "replies":[
            {
                "text":"I heard they are planning his escape tonight.",
                "nextPhraseID":"fallhaven_warden_21"
            },
            {
                "text":"No, I was just kidding with you. Never mind.",
                "nextPhraseID":"X"
            },
            {
                "text":"On second thought, I better not upset the Thieves' Guild. Never mind I said anything.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_warden_21",
        "message":"Tonight? Thank you for this information. We will make sure to increase the security tonight then, but in such a way that they won't notice.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_22"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"farrik",
                "value":40
            }
        ]
    },
    {
        "id":"fallhaven_warden_22",
        "message":"When they do decide to break him free, we will be prepared. Maybe we can arrest more of those filthy thieves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_23"
            }
        ]
    },
    {
        "id":"fallhaven_warden_23",
        "message":"Thank you again for the information. I'm not sure how you may know this, but I really appreciate you telling me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_24"
            }
        ]
    },
    {
        "id":"fallhaven_warden_24",
        "message":"I want you to go one step further and tell them that we will have less security for tonight. But instead we will increase the security. That way we can really be ready for them.",
        "replies":[
            {
                "text":"Sure, I can do that.",
                "nextPhraseID":"fallhaven_warden_25"
            }
        ]
    },
    {
        "id":"fallhaven_warden_25",
        "message":"Good. Report back to me when you have told them.",
        "replies":[
            {
                "text":"Will do.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"farrik",
                "value":50
            }
        ]
    },
    {
        "id":"fallhaven_warden_30",
        "message":"Hello again, my friend. Did you tell those thieves that we will lower our security tonight?",
        "replies":[
            {
                "text":"Yes, they won't expect a thing.",
                "nextPhraseID":"fallhaven_warden_31",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":80
                    }
                ]
            },
            {
                "text":"No, not yet. I'm working on it.",
                "nextPhraseID":"fallhaven_warden_25"
            }
        ]
    },
    {
        "id":"fallhaven_warden_31",
        "message":"Great. Thank you for your help. Here, take these coins as a token of our appreciation.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_36"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"farrik",
                "value":90
            },
            {
                "rewardType":"dropList",
                "rewardID":"gold200"
            }
        ]
    },
    {
        "id":"fallhaven_warden_35",
        "message":"Hello again, my friend. Thank you for your help in dealing with the thieves earlier.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_warden_36"
            }
        ]
    },
    {
        "id":"fallhaven_warden_36",
        "message":"I will make sure to tell other guards how you helped us here in Fallhaven.",
        "replies":[
            {
                "text":"Thank you. Goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"I recently talked to the watchman who blocks the old pathway to the Duleian Road. Why don't you just pay the woodcutter?",
                "nextPhraseID":"fallhaven_warden_pathway_1",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"pathway_fallhaven",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"fallhaven_warden_pathway_1",
        "message":"Hah! Jakrar? I should pay Jakrar before he has done his work? No way! Either he does his woodcutting job before I pay him or the passage stays blocked! That's how I always do it. It's the only way to get the job done well.",
        "replies":[
            {
                "text":"Would anything change your mind?",
                "nextPhraseID":"fallhaven_warden_pathway_2"
            }
        ]
    },
    {
        "id":"fallhaven_warden_pathway_2",
        "message":"No way! Get lost or I'll throw you in jail! Talk to that filthy woodcutter if you want to reopen the path, but nothing will change my mind!",
        "replies":[
            {
                "text":"So where can I find him?",
                "nextPhraseID":"fallhaven_warden_pathway_3"
            }
        ]
    },
    {
        "id":"fallhaven_warden_pathway_3",
        "message":"He lives in his hut, immediately south of my prison. Don't you bother me again!",
        "replies":[
            {
                "text":"Easy. Easy. I'm already leaving.",
                "nextPhraseID":"X"
            },
            {
                "text":"I wanted to leave your shabby prison anyway.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"pathway_fallhaven",
                "value":20
            }
        ]
    }
]