[
    {
        "id":"herec_start",
        "replies":[
            {
                "nextPhraseID":"herec_q5",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bwm_wyrms",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"herec_q3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bwm_wyrms",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"herec_q1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bwm_wyrms",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"herec_1"
            }
        ]
    },
    {
        "id":"herec_1",
        "message":"Welcome, traveller. You must be the one I heard about, that travelled up the mountain.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_2"
            }
        ]
    },
    {
        "id":"herec_2",
        "message":"Would you be willing to help me with a task?",
        "replies":[
            {
                "text":"Depends. What task?",
                "nextPhraseID":"herec_4"
            },
            {
                "text":"Why would I want to help you?",
                "nextPhraseID":"herec_3"
            }
        ]
    },
    {
        "id":"herec_3",
        "message":"Ah, a negotiator. I like that. If you help me, I will offer to trade the fruits of my labour with you. It should be most valuable to you.",
        "replies":[
            {
                "text":"Fine. What task are we talking about here?",
                "nextPhraseID":"herec_4"
            },
            {
                "text":"No, how can I agree to something when I don't know what it is? I'm out.",
                "nextPhraseID":"herec_11"
            }
        ]
    },
    {
        "id":"herec_4",
        "message":"It is simple really. I am studying these wyrm creatures that lurk outside our settlement. I am trying to find what their strengths are, so that I can use it for myself.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_5"
            }
        ]
    },
    {
        "id":"herec_5",
        "message":"But my expertise is in the studies of them, and not in actually going head to head with those things.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_6"
            }
        ]
    },
    {
        "id":"herec_6",
        "message":"That's where you come in.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_7"
            }
        ]
    },
    {
        "id":"herec_7",
        "message":"I need you to gather some samples from them for me. I hear that some of the white wyrm beasts have sharper claws that can be extracted at the time of death.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_8"
            }
        ]
    },
    {
        "id":"herec_8",
        "message":"If you were to bring me some samples of those claws from the white wyrms, that would really speed up my research further.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_9"
            }
        ]
    },
    {
        "id":"herec_9",
        "message":"Let's say, five of those claws should be enough.",
        "replies":[
            {
                "text":"Ok, sounds easy enough. I'll get you your 5 white wyrm claws.",
                "nextPhraseID":"herec_10"
            },
            {
                "text":"Sure. Those things are no match for me.",
                "nextPhraseID":"herec_10"
            },
            {
                "text":"No way I am going near those beasts again.",
                "nextPhraseID":"herec_11"
            }
        ]
    },
    {
        "id":"herec_10",
        "message":"Good. Thank you. Please hurry back so I can continue my research on these beasts.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"bwm_wyrms",
                "value":10
            }
        ]
    },
    {
        "id":"herec_11",
        "message":"I assure you that my research is important. But it's your decision, and your loss."
    },
    {
        "id":"herec_q1",
        "message":"Welcome back. How is the search going?",
        "replies":[
            {
                "text":"What was I supposed to do again?",
                "nextPhraseID":"herec_4"
            },
            {
                "text":"I haven't found everything yet. But I am working on it.",
                "nextPhraseID":"herec_10"
            },
            {
                "text":"I have found what you asked for.",
                "nextPhraseID":"herec_q2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bwm_claws",
                        "value":5
                    }
                ]
            }
        ]
    },
    {
        "id":"herec_q2",
        "message":"Very well done my friend! These will be very valuable in my research.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_q2_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"bwm_wyrms",
                "value":20
            }
        ]
    },
    {
        "id":"herec_q2_2",
        "message":"Come back in just a minute and I will have something ready for you."
    },
    {
        "id":"herec_q3",
        "message":"Welcome back my friend! Good news. I have successfully distilled the fragments of the claws you brought earlier.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_q4"
            }
        ]
    },
    {
        "id":"herec_q4",
        "message":"Now I am able to create effective potions that contain some essence of the white wyrms. These potions will be very useful in future dealings with these monsters.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"herec_q5"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"bwm_wyrms",
                "value":30
            }
        ]
    },
    {
        "id":"herec_q5",
        "message":"Would you like to trade for some potions?",
        "replies":[
            {
                "text":"Sure. Let's see what you have.",
                "nextPhraseID":"S"
            }
        ]
    }
]