[
    {
        "id":"bwm_primsleep",
        "message":"You are not allowed to enter here."
    },
    {
        "id":"laecca_1",
        "message":"Hello. I am Laecca, mountain guide.",
        "replies":[
            {
                "text":"What do you do around here?",
                "nextPhraseID":"laecca_2"
            },
            {
                "text":"'Mountain guide', what does that mean?",
                "nextPhraseID":"laecca_2"
            }
        ]
    },
    {
        "id":"laecca_2",
        "message":"I keep an eye on the mountain pass, to make sure no more of those beasts make their way down here.",
        "replies":[
            {
                "text":"Then what are you doing indoors here? Shouldn't you be outside guarding then?",
                "nextPhraseID":"laecca_4"
            },
            {
                "text":"Sounds like a noble cause.",
                "nextPhraseID":"laecca_3"
            },
            {
                "text":"What beasts are you talking about?",
                "nextPhraseID":"laecca_9"
            }
        ]
    },
    {
        "id":"laecca_3",
        "message":"Yeah, sure. It may sound that way. In reality, it's a lot of hard work.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"laecca_5"
            }
        ]
    },
    {
        "id":"laecca_4",
        "message":"Very funny. I have to rest too you know. Keeping the monsters away is hard work.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"laecca_5"
            }
        ]
    },
    {
        "id":"laecca_5",
        "message":"There used to be more of us mountain guides, but not many have survived the attack of the beasts.",
        "replies":[
            {
                "text":"Sounds like you aren't really cut out to do your job properly.",
                "nextPhraseID":"laecca_6"
            },
            {
                "text":"I'm sorry to hear that.",
                "nextPhraseID":"laecca_8"
            },
            {
                "text":"What beasts are you talking about?",
                "nextPhraseID":"laecca_9"
            }
        ]
    },
    {
        "id":"laecca_6",
        "message":"Perhaps.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"laecca_7"
            }
        ]
    },
    {
        "id":"laecca_7",
        "message":"Anyway. I have some things to tend to. Nice talking to you.",
        "replies":[
            {
                "text":"Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"laecca_8",
        "message":"Thank you for your concern.",
        "replies":[
            {
                "text":"Is there anything I can do to help?",
                "nextPhraseID":"laecca_13"
            }
        ]
    },
    {
        "id":"laecca_9",
        "message":"Pfft, 'What beasts?'. The gornaud beasts of course.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"laecca_10"
            }
        ]
    },
    {
        "id":"laecca_10",
        "message":"Scratching their claws against the bare rock at night. *shrug*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"laecca_11"
            }
        ]
    },
    {
        "id":"laecca_11",
        "message":"At first, I thought they were acting on pure instinct. But recently, I have started to believe they are smarter than regular beasts.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"laecca_12"
            }
        ]
    },
    {
        "id":"laecca_12",
        "message":"Their attacks are getting more and more clever.",
        "replies":[
            {
                "text":"Is there anything I can do to help?",
                "nextPhraseID":"laecca_13"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"prim_hunt",
                "value":11
            }
        ]
    },
    {
        "id":"laecca_13",
        "message":"You should talk to Guthbered. He is usually in the main hall. Look for a stone house in the center of the village.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"prim_hunt",
                "value":15
            }
        ]
    },
    {
        "id":"prim_cook_start",
        "replies":[
            {
                "nextPhraseID":"prim_cook_return_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"prim_innquest",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"prim_cook_return_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"prim_innquest",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"prim_cook_1"
            }
        ]
    },
    {
        "id":"prim_cook_1",
        "message":"Can I help you?",
        "replies":[
            {
                "text":"What food do you have available for trade?",
                "nextPhraseID":"prim_cook_2"
            },
            {
                "text":"Is the back room available for rent?",
                "nextPhraseID":"prim_cook_3"
            }
        ]
    },
    {
        "id":"prim_cook_2",
        "message":"Food? No, sorry. I don't have anything to trade.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_1"
            }
        ]
    },
    {
        "id":"prim_cook_3",
        "message":"Rent? Hmm. No, not at the moment.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_41"
            }
        ]
    },
    {
        "id":"prim_cook_5",
        "message":"Now that you mention it, he hasn't been around here for quite some time. Maybe you could go talk to him and see if he still wants to rent it?",
        "replies":[
            {
                "text":"OK, I will go talk to him.",
                "nextPhraseID":"prim_cook_7"
            },
            {
                "text":"Sure. Any idea where he might be?",
                "nextPhraseID":"prim_cook_6"
            }
        ]
    },
    {
        "id":"prim_cook_41",
        "message":"It is still rented out to Arghest. He would not be very happy if I rented it out to someone else when he expects to use it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_5"
            }
        ]
    },
    {
        "id":"prim_cook_6",
        "message":"I don't know where he is now, but I do know that he used to be part of the mining effort in our mine to the southwest.",
        "replies":[
            {
                "text":"Thanks. I will go look for him.",
                "nextPhraseID":"X"
            },
            {
                "text":"I will go look for him right away.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"prim_innquest",
                "value":10
            }
        ]
    },
    {
        "id":"prim_cook_7",
        "message":"Thanks.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_6"
            }
        ]
    },
    {
        "id":"prim_cook_return_1",
        "message":"Thank you for your help earlier. I hope the back room is comfortable enough.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_return_7"
            }
        ]
    },
    {
        "id":"prim_cook_return_2",
        "message":"Did you talk to Arghest?",
        "replies":[
            {
                "text":"No, not yet.",
                "nextPhraseID":"prim_cook_return_3"
            },
            {
                "text":"[Lie] Yes, he told me that I could rest in the back room if I want to.",
                "nextPhraseID":"prim_cook_return_4"
            },
            {
                "text":"Yes, he gave me permission to use the back room whenever I wish.",
                "nextPhraseID":"prim_cook_return_6",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"prim_innquest",
                        "value":40
                    }
                ]
            }
        ]
    },
    {
        "id":"prim_cook_return_3",
        "message":"Return to me once you know if he is still interested in renting the back room or not.",
        "replies":[
            {
                "text":"Any idea where he might be?",
                "nextPhraseID":"prim_cook_6"
            }
        ]
    },
    {
        "id":"prim_cook_return_4",
        "message":"Did he really say that? Somehow I doubt that. It doesn't sound like him.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_return_5"
            }
        ]
    },
    {
        "id":"prim_cook_return_5",
        "message":"You will have to do something more to convince me."
    },
    {
        "id":"prim_cook_return_6",
        "message":"Really, he did? Well then, go ahead. I'm just glad the back room is being used.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"prim_cook_return_7"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"prim_innquest",
                "value":50
            }
        ]
    },
    {
        "id":"prim_cook_return_7",
        "message":"You are welcome to rest in the back room any time you want. Please let me know if there is anything I can do to help."
    },
    {
        "id":"prim_innguest",
        "message":"Lovely place this, isn't it?"
    }
]