[
    {
        "id":"kendelow",
        "replies":[
            {
                "nextPhraseID":"kendelow_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"remgard2",
                        "value":45
                    }
                ]
            },
            {
                "nextPhraseID":"kendelow_2"
            }
        ]
    },
    {
        "id":"kendelow_1",
        "message":"I heard that you helped us get rid of that witch Algangror. Thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_d"
            }
        ]
    },
    {
        "id":"kendelow_2",
        "message":"Welcome to my tavern. I hope you will find your stay a pleasant one.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_d"
            }
        ]
    },
    {
        "id":"kendelow_d",
        "message":"How may I be of service?",
        "replies":[
            {
                "text":"What is there to do around here?",
                "nextPhraseID":"kendelow_3"
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"kendelow_shop"
            },
            {
                "text":"Are there any rooms available?",
                "nextPhraseID":"kendelow_room_1"
            }
        ]
    },
    {
        "id":"kendelow_shop",
        "message":"Oh sure. Here, have a look.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"kendelow_3",
        "message":"Most people here in Remgard tend to their crops. Other than that, I hear that Arnal the armorer over on the western shore has some good business trading.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_4"
            }
        ]
    },
    {
        "id":"kendelow_4",
        "message":"Also, we usually get a lot of visitors here in the tavern. Lately, it has been a lot fewer people in here though, with the closing of the bridge because of those missing people and all.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_5"
            }
        ]
    },
    {
        "id":"kendelow_5",
        "message":"On your way in, maybe you noticed that we even have a visit from the Knights of Elythom here in the tavern? It seems that more and more people are becoming aware of the hospitality of Remgard.",
        "replies":[
            {
                "text":"Thank you. I had some other questions.",
                "nextPhraseID":"kendelow_d"
            }
        ]
    },
    {
        "id":"kendelow_room_1",
        "replies":[
            {
                "nextPhraseID":"kendelow_room_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay",
                        "value":21
                    }
                ]
            },
            {
                "nextPhraseID":"kendelow_room_3"
            }
        ]
    },
    {
        "id":"kendelow_room_2",
        "message":"You have already rented my last room. We don't have any more rooms other than that one."
    },
    {
        "id":"kendelow_room_3",
        "message":"Why, yes, as a matter of fact, there is. I have one very fine room available upstairs.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_room_4"
            }
        ]
    },
    {
        "id":"kendelow_room_4",
        "message":"The previous tenant left in a hurry some days ago.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_room_5"
            }
        ]
    },
    {
        "id":"kendelow_room_5",
        "message":"You may rent the room for as long as you like for only 600 gold.",
        "replies":[
            {
                "text":"600 gold, are you mad!? That's a fortune.",
                "nextPhraseID":"kendelow_room_6s"
            },
            {
                "text":"Is there anything you can do to lower the price?",
                "nextPhraseID":"kendelow_room_6s"
            },
            {
                "text":"I'll take it. Here is the gold.",
                "nextPhraseID":"kendelow_room_8",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":600
                    }
                ]
            },
            {
                "text":"I don't have that much gold.",
                "nextPhraseID":"kendelow_room_7"
            }
        ]
    },
    {
        "id":"kendelow_room_6s",
        "replies":[
            {
                "nextPhraseID":"kendelow_room_6b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"remgard2",
                        "value":45
                    }
                ]
            },
            {
                "nextPhraseID":"kendelow_room_6a"
            }
        ]
    },
    {
        "id":"kendelow_room_6a",
        "message":"The price is fixed. I cannot go around handing out discounts to just anyone. Also, keep in mind that you may rent it for as long as you wish.",
        "replies":[
            {
                "text":"I'll take it. Here is the gold.",
                "nextPhraseID":"kendelow_room_8",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":600
                    }
                ]
            },
            {
                "text":"I don't have that much gold.",
                "nextPhraseID":"kendelow_room_7"
            }
        ]
    },
    {
        "id":"kendelow_room_6b",
        "message":"Since you helped us here in Remgard with that witch Algangror, I am prepared to offer you a discount. How about we say 400 gold for it instead?",
        "replies":[
            {
                "text":"I'll take it. Here is the gold.",
                "nextPhraseID":"kendelow_room_8",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":400
                    }
                ]
            },
            {
                "text":"I don't have that much gold.",
                "nextPhraseID":"kendelow_room_7"
            }
        ]
    },
    {
        "id":"kendelow_room_7",
        "message":"You are welcome to return once you have the gold, if you are still interested.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kendelow_d"
            }
        ]
    },
    {
        "id":"kendelow_room_8",
        "message":"Thank you. The room is upstairs. You may rent it for as long as you wish.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay",
                "value":21
            }
        ]
    }
]