[
    {
        "id":"ff_cook_1",
        "message":"Hello. Do you want something from the kitchen?",
        "replies":[
            {
                "text":"Sure, let me see what food you have to sell.",
                "nextPhraseID":"ff_cook_3"
            },
            {
                "text":"That smells horrible. What are you cooking?",
                "nextPhraseID":"ff_cook_2"
            },
            {
                "text":"That smells wonderful. What are you cooking?",
                "nextPhraseID":"ff_cook_2"
            }
        ]
    },
    {
        "id":"ff_cook_2",
        "message":"Oh this? This is supposed to be a stew of anklebiter. Needs more seasoning I guess.",
        "replies":[
            {
                "text":"I look forward to trying it when it is done. Good luck cooking.",
                "nextPhraseID":"X"
            },
            {
                "text":"Yuck, that sounds awful. Can you really eat those things? I'm grossed out, goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ff_cook_3",
        "message":"No sorry, I don't have any food to sell. Go talk to Torilo over there if you want some drink or ready-made food."
    },
    {
        "id":"torilo_1",
        "message":"Welcome to the Foaming Flask tavern. We welcome all travelers in here.",
        "replies":[
            {
                "text":"Thank you. Are you the innkeeper here?",
                "nextPhraseID":"torilo_2"
            },
            {
                "text":"Have you seen a boy called Rincel around here recently?",
                "nextPhraseID":"torilo_rincel_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"wrye",
                        "value":41
                    }
                ]
            }
        ]
    },
    {
        "id":"torilo_2",
        "message":"I am Torilo, the proprietor of this establishment. Please have a seat anywhere you like.",
        "replies":[
            {
                "text":"Can I see what you have available for food and drink?",
                "nextPhraseID":"torilo_shop_1"
            },
            {
                "text":"Do you have somewhere I can rest?",
                "nextPhraseID":"torilo_rest_select"
            },
            {
                "text":"Are those guards always shouting and yelling that much?",
                "nextPhraseID":"torilo_guards_1"
            }
        ]
    },
    {
        "id":"torilo_default",
        "message":"Was there anything else you wanted?",
        "replies":[
            {
                "text":"Can I see what you have available for food and drink?",
                "nextPhraseID":"torilo_shop_1"
            },
            {
                "text":"Are those guards always shouting and yelling that much?",
                "nextPhraseID":"torilo_guards_1"
            },
            {
                "text":"Have you seen a boy called Rincel around here recently?",
                "nextPhraseID":"torilo_rincel_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"wrye",
                        "value":41
                    }
                ]
            }
        ]
    },
    {
        "id":"torilo_shop_1",
        "message":"Absolutely. We have a wide selection of food and beverages.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"torilo_rest_select",
        "replies":[
            {
                "nextPhraseID":"torilo_rest_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"torilo_rest_3"
            }
        ]
    },
    {
        "id":"torilo_rest_1",
        "message":"Yes, you already rented the back room.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_rest_2"
            }
        ]
    },
    {
        "id":"torilo_rest_2",
        "message":"Please feel free to use it in any way you like. I hope you can get some sleep even with these guards yelling their songs.",
        "replies":[
            {
                "text":"Thanks.",
                "nextPhraseID":"torilo_default"
            }
        ]
    },
    {
        "id":"torilo_rest_3",
        "message":"Oh yes. We have a very comfortable back room here in the Foaming Flask tavern.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_rest_4"
            }
        ]
    },
    {
        "id":"torilo_rest_4",
        "message":"Available for only 250 gold. Then you can use it as much as you like.",
        "replies":[
            {
                "text":"250 gold? Sure, that's nothing to me. Here you go.",
                "nextPhraseID":"torilo_rest_6",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":250
                    }
                ]
            },
            {
                "text":"250 gold is a lot, but I guess it is worth it. Here you go.",
                "nextPhraseID":"torilo_rest_6",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":250
                    }
                ]
            },
            {
                "text":"That sounds a bit too much for me.",
                "nextPhraseID":"torilo_rest_5"
            }
        ]
    },
    {
        "id":"torilo_rest_5",
        "message":"Oh well, it's your loss.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_default"
            }
        ]
    },
    {
        "id":"torilo_rest_6",
        "message":"Thank you. The room is now rented to you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_rest_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay",
                "value":10
            }
        ]
    },
    {
        "id":"torilo_rincel_1",
        "message":"Rincel? No, not that I can recall. Actually, we don't get many children in here. *chuckle*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_default"
            }
        ]
    },
    {
        "id":"torilo_guards_1",
        "message":"*Sigh* Yes. Those guards have been here for quite some time now.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_guards_2"
            }
        ]
    },
    {
        "id":"torilo_guards_2",
        "message":"They seem to be looking for something or someone, but I am not sure who or what.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_guards_3"
            }
        ]
    },
    {
        "id":"torilo_guards_3",
        "message":"I hope the Shadow watches over us so that nothing bad happens to the Foaming Flask tavern because of them.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"torilo_default"
            }
        ]
    }
]