[
    {
        "id":"tharal1",
        "message":"Walk in the glow of the Shadow, my child.",
        "replies":[
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"S"
            },
            {
                "text":"What can you tell me about bonemeal?",
                "nextPhraseID":"tharal_bonemeal_select",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bonemeal",
                        "value":10
                    }
                ]
            },
            {
                "text":"Do you have anything to help against food-poisoning?",
                "nextPhraseID":"tharal_antifoodp1"
            }
        ]
    },
    {
        "id":"tharal_bonemeal_select",
        "replies":[
            {
                "nextPhraseID":"tharal_bonemeal4",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bonemeal",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"tharal_bonemeal1"
            }
        ]
    },
    {
        "id":"tharal_bonemeal1",
        "message":"Bonemeal? We shouldn't talk about that. Lord Geomyr issued a decree. It's not allowed anymore.",
        "replies":[
            {
                "text":"Please?",
                "nextPhraseID":"tharal_bonemeal2_1"
            }
        ]
    },
    {
        "id":"tharal_bonemeal2_1",
        "message":"No, we really shouldn't talk about that.",
        "replies":[
            {
                "text":"Oh come on.",
                "nextPhraseID":"tharal_bonemeal2"
            }
        ]
    },
    {
        "id":"tharal_bonemeal2",
        "message":"Well if you really are that persistent. Bring me 5 insect wings that I can use for making potions and maybe we can talk more.",
        "replies":[
            {
                "text":"Here, I have the insect wings.",
                "nextPhraseID":"tharal_bonemeal3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"insectwing",
                        "value":5
                    }
                ]
            },
            {
                "text":"OK, I'll bring them.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"bonemeal",
                "value":20
            }
        ]
    },
    {
        "id":"tharal_bonemeal3",
        "message":"Thanks kid. I knew I could count on you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tharal_bonemeal4"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"bonemeal",
                "value":30
            }
        ]
    },
    {
        "id":"tharal_bonemeal4",
        "message":"Oh yes, bonemeal. Mixed with the right components it can be one of the most effective healing agents around.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tharal_bonemeal5"
            }
        ]
    },
    {
        "id":"tharal_bonemeal5",
        "message":"We used to use it extensively before. But now that bastard Lord Geomyr has banned all use of it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tharal_bonemeal6"
            }
        ]
    },
    {
        "id":"tharal_bonemeal6",
        "message":"How am I supposed to heal people now? Using regular healing potions? Bah, they're so ineffective.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tharal_bonemeal7"
            }
        ]
    },
    {
        "id":"tharal_bonemeal7",
        "message":"I know someone that still has a supply of bonemeal if you are interested. Go talk to Thoronir, a fellow priest in Fallhaven. Tell him my password 'Glow of the Shadow'.",
        "replies":[
            {
                "text":"Thanks, bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"tharal_antifoodp1",
        "message":"No, sorry. I hear that the potion-maker in Fallhaven can create something to help against that though.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tharal_antifoodp2"
            }
        ]
    },
    {
        "id":"tharal_antifoodp2",
        "message":"You should go see him and ask if he has anything to help against that. He can probably help you.",
        "replies":[
            {
                "text":"Thanks, I'll go see him.",
                "nextPhraseID":"tharal1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"antifoodp",
                "value":10
            }
        ]
    }
]