[
    {
        "id":"bela",
        "message":"Welcome to Fallhaven Tavern. Have a seat anywhere.",
        "replies":[
            {
                "text":"Let me see what food and drinks you have available.",
                "nextPhraseID":"bela_select"
            },
            {
                "text":"Are there any rooms available?",
                "nextPhraseID":"bela_room_select"
            },
            {
                "text":"Torilo suggested that I ask other tavern owners such as yourself about a 'business agreement' that you may have with a group of 'distributors'.",
                "nextPhraseID":"bela_beer",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"beer_bootlegging",
                        "value":20
                    }
                ]
            }
        ]
    },
    {
        "id":"bela_room_1",
        "message":"A room will cost you only 10 gold.",
        "replies":[
            {
                "text":"[Buy for 10 gold]",
                "nextPhraseID":"bela_room_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":10
                    }
                ]
            },
            {
                "text":"I really need to rest but I don't have 10 gold. I will wash the dishes. [Wash the dishes]",
                "nextPhraseID":"bela_room_2",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":1
                    }
                ]
            },
            {
                "text":"Umar sent me.",
                "nextPhraseID":"bela_room_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"misc_nondisplay ",
                        "value":20
                    }
                ]
            },
            {
                "text":"No thanks.",
                "nextPhraseID":"bela"
            }
        ]
    },
    {
        "id":"bela_room_2",
        "message":"OK. Take the last room down at the end of the hall.",
        "replies":[
            {
                "text":"Thank you. There was something else I wanted to talk about.",
                "nextPhraseID":"bela"
            },
            {
                "text":"Thanks, bye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"fallhaventavern",
                "value":10
            }
        ]
    },
    {
        "id":"bela_room_3",
        "message":"I hope the room suits your needs. It's the last room down at the end of the hall.",
        "replies":[
            {
                "text":"Thank you. There was something else I wanted to talk about.",
                "nextPhraseID":"bela"
            },
            {
                "text":"Thanks, bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"bela_room_select",
        "replies":[
            {
                "nextPhraseID":"bela_room_3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"fallhaventavern",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"bela_room_1"
            }
        ]
    },
    {
        "id":"ganos",
        "message":"You seem familiar somehow.",
        "replies":[
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"S"
            },
            {
                "text":"Do you know anything about the Thieves' Guild?",
                "nextPhraseID":"ganos_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":30
                    }
                ]
            }
        ]
    },
    {
        "id":"ganos_1",
        "message":"Thieves' Guild? How would I know? Do I look like a thief to you?! Hrmpf."
    },
    {
        "id":"bela_gsnake",
        "replies":[
            {
                "nextPhraseID":"bela",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bela_gsnake",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"bela_gsnake_20",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"giant_snake",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"bela_gsnake_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"remgard",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"bela"
            }
        ]
    },
    {
        "id":"bela_gsnake_1",
        "message":"I'm glad you are still alive!",
        "replies":[
            {
                "text":"As you know I can handle myself.",
                "nextPhraseID":"bela"
            },
            {
                "text":"Why? Has something happened?",
                "nextPhraseID":"bela_gsnake_2"
            }
        ]
    },
    {
        "id":"bela_gsnake_2",
        "message":"Did you not hear of the most dangerous snake ever seen? It has been spotted on Fallhaven's southern border.",
        "replies":[
            {
                "text":"A snake?",
                "nextPhraseID":"bela_gsnake_3"
            },
            {
                "text":"No, I didn't hear, and I also don't want to.\nPlease give me something to drink.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"bela_gsnake_3",
        "message":"No normal snake. Huge as a house! Making noise like a hundred galloping horses!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"bela_gsnake_4"
            }
        ]
    },
    {
        "id":"bela_gsnake_4",
        "message":"Few people dare to walk outside of the city nowadays.",
        "replies":[
            {
                "text":"Sounds interesting.",
                "nextPhraseID":"bela_gsnake_10"
            },
            {
                "text":"Thanks for the warning. I'll avoid that area.",
                "nextPhraseID":"bela_gsnake_5"
            }
        ]
    },
    {
        "id":"bela_gsnake_5",
        "message":"Good. Enough of such dark words - now go, have a seat anywhere.",
        "replies":[
            {
                "text":"Let me see what food and drinks you have available.",
                "nextPhraseID":"S"
            },
            {
                "text":"Are there any rooms available?",
                "nextPhraseID":"bela_room_select"
            }
        ]
    },
    {
        "id":"bela_gsnake_10",
        "message":"Oh no - what have I done? I shouldn't have talked of the giant snake. Promise me you won't go there!",
        "replies":[
            {
                "text":"Well, if it makes you happy.",
                "nextPhraseID":"bela_gsnake_5"
            },
            {
                "text":"Of course I'll go there.",
                "nextPhraseID":"bela_gsnake_11"
            }
        ]
    },
    {
        "id":"bela_gsnake_11",
        "message":"What a waste of such a young, promising life! Well...don't forget to pay your tab before you leave my tavern.",
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"giant_snake",
                "mapName":"gapfiller2"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"bela_gsnake",
                "value":10
            }
        ]
    },
    {
        "id":"bela_gsnake_20",
        "message":"You are back!",
        "replies":[
            {
                "text":"Sure. And your little snake monster is no more.",
                "nextPhraseID":"bela_gsnake_21"
            }
        ]
    },
    {
        "id":"bela_gsnake_21",
        "message":"Incredible! Let's feast now! Everyone have a free drink!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"bela_gsnake",
                "value":90
            },
            {
                "rewardType":"giveItem",
                "rewardID":"mead",
                "value":1
            }
        ]
    }
]