[
    {
        "id":"kaori_start",
        "replies":[
            {
                "nextPhraseID":"kaori_default_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"kaori",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"kaori_return_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"kaori",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"kaori_1"
            }
        ]
    },
    {
        "id":"kaori_1",
        "message":"You are not welcome here. Please leave now.",
        "replies":[
            {
                "text":"Why is everyone in Vilegard so afraid of outsiders?",
                "nextPhraseID":"kaori_2"
            },
            {
                "text":"Jolnor asked me to talk to you.",
                "nextPhraseID":"kaori_3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"kaori",
                        "value":5
                    }
                ]
            }
        ]
    },
    {
        "id":"kaori_2",
        "message":"I don't want to talk to you. Go talk to Jolnor in the chapel if you want to help us.",
        "replies":[
            {
                "text":"Ok, bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"Fine. Don't tell me.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"vilegard",
                "value":10
            }
        ]
    },
    {
        "id":"kaori_3",
        "message":"He did? I guess you are not as bad as I first thought.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kaori_4"
            }
        ]
    },
    {
        "id":"kaori_4",
        "message":"I am still not convinced that you are not a spy from Feygard sent to cause mischief.",
        "replies":[
            {
                "text":"What can you tell me about Vilegard?",
                "nextPhraseID":"kaori_trust_1"
            },
            {
                "text":"I can assure you that I am not a spy.",
                "nextPhraseID":"kaori_5"
            },
            {
                "text":"Feygard, where or what is that?",
                "nextPhraseID":"kaori_trust_1"
            }
        ]
    },
    {
        "id":"kaori_5",
        "message":"Hm. Maybe not. But then again, maybe you are. I am still not sure.",
        "replies":[
            {
                "text":"Is there anything I can do to gain your trust?",
                "nextPhraseID":"kaori_10"
            },
            {
                "text":"[Bribe] How would 100 gold sound? Could that help you to trust me?",
                "nextPhraseID":"kaori_bribe"
            }
        ]
    },
    {
        "id":"kaori_trust_1",
        "message":"I still don't fully trust you enough to talk about that.",
        "replies":[
            {
                "text":"Is there anything I can do to gain your trust?",
                "nextPhraseID":"kaori_10"
            },
            {
                "text":"[Bribe] How would 100 gold sound? Could that help you to trust me?",
                "nextPhraseID":"kaori_bribe"
            }
        ]
    },
    {
        "id":"kaori_bribe",
        "message":"Are you trying to bribe me, kid? That won't work on me. What use would I have for gold if you actually were a spy?",
        "replies":[
            {
                "text":"Is there anything I can do to gain your trust?",
                "nextPhraseID":"kaori_10"
            }
        ]
    },
    {
        "id":"kaori_10",
        "message":"If you really want to prove to me that you are not a spy from Feygard, there actually is something that you can do for me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kaori_11"
            }
        ]
    },
    {
        "id":"kaori_11",
        "message":"Up until recently, we have been using special potions made of ground bones for healing. These were very potent healing potions, and were used for several purposes.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kaori_12"
            }
        ]
    },
    {
        "id":"kaori_12",
        "message":"But now, they have been banned by Lord Geomyr, and most use of them has stopped.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kaori_13"
            }
        ]
    },
    {
        "id":"kaori_13",
        "message":"I would really like to have a few more of those. If you can bring me 10 Bonemeal potions, I might consider trusting you a bit more.",
        "replies":[
            {
                "text":"Ok. I will get some potions for you.",
                "nextPhraseID":"kaori_14"
            },
            {
                "text":"No. If they are banned, there is most likely a good reason behind it. You shouldn't use them.",
                "nextPhraseID":"kaori_15"
            },
            {
                "text":"I already have some of those potions with me that you can have.",
                "nextPhraseID":"kaori_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":10
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"kaori",
                "value":10
            }
        ]
    },
    {
        "id":"kaori_return_1",
        "message":"Hello again. Have you found those 10 Bonemeal potions I asked for?",
        "replies":[
            {
                "text":"No, I am still looking for them.",
                "nextPhraseID":"kaori_14"
            },
            {
                "text":"Yes, I brought your potions.",
                "nextPhraseID":"kaori_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bonemeal_potion",
                        "value":10
                    }
                ]
            },
            {
                "text":"No. If they are banned, there is most likely a good reason behind it. You shouldn't use them.",
                "nextPhraseID":"kaori_15"
            }
        ]
    },
    {
        "id":"kaori_14",
        "message":"Well, hurry up. I really need them soon."
    },
    {
        "id":"kaori_15",
        "message":"Fine. Now please leave me."
    },
    {
        "id":"kaori_20",
        "message":"Good. Give them to me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kaori_21"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"kaori",
                "value":20
            }
        ]
    },
    {
        "id":"kaori_21",
        "message":"Yes, these will do fine. Thank you a lot kid. Maybe you are ok after all. May the Shadow watch over you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kaori_default_1"
            }
        ]
    },
    {
        "id":"kaori_default_1",
        "message":"Was there something you wanted to talk about?",
        "replies":[
            {
                "text":"What can you tell me about Vilegard?",
                "nextPhraseID":"kaori_vilegard_1"
            },
            {
                "text":"Why is everyone in Vilegard so afraid of outsiders?",
                "nextPhraseID":"kaori_vilegard_2"
            }
        ]
    },
    {
        "id":"kaori_vilegard_1",
        "message":"You should go talk to Erttu if you want the background story about Vilegard. She has been around here far longer than me.",
        "replies":[
            {
                "text":"Ok, I will do that.",
                "nextPhraseID":"kaori_default_1"
            }
        ]
    },
    {
        "id":"kaori_vilegard_2",
        "message":"We have a history of people coming here and causing mischief. Over time, we have learned that keeping to ourselves works best.",
        "replies":[
            {
                "text":"That sounds like a good idea.",
                "nextPhraseID":"kaori_vilegard_3"
            },
            {
                "text":"That sounds wrong.",
                "nextPhraseID":"kaori_vilegard_3"
            }
        ]
    },
    {
        "id":"kaori_vilegard_3",
        "message":"Anyway, that's why we are so suspicious of outsiders.",
        "replies":[
            {
                "text":"I see.",
                "nextPhraseID":"kaori_default_1"
            }
        ]
    }
]