[
    {
        "id":"mazeg",
        "replies":[
            {
                "nextPhraseID":"mazeg_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bwm_agent",
                        "value":240
                    }
                ]
            },
            {
                "nextPhraseID":"mazeg_2"
            }
        ]
    },
    {
        "id":"mazeg_1",
        "message":"Welcome friend! Would you like to browse my selection of fine potions and ointments?",
        "replies":[
            {
                "text":"Sure. Show me what you have.",
                "nextPhraseID":"S"
            },
            {
                "text":"I am looking for some Lyson marrow extract, for Hjaldar in Remgard.",
                "nextPhraseID":"mazeg_e_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"sisterfight",
                        "value":45
                    }
                ]
            }
        ]
    },
    {
        "id":"mazeg_2",
        "message":"Welcome traveller. Have you come to ask for help from me and my potions?",
        "replies":[
            {
                "text":"Yes. Please show me what you have.",
                "nextPhraseID":"blackwater_notrust"
            },
            {
                "text":"I am looking for some Lyson marrow extract, for Hjaldar in Remgard.",
                "nextPhraseID":"mazeg_e_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"sisterfight",
                        "value":45
                    }
                ]
            }
        ]
    },
    {
        "id":"mazeg_e_1",
        "replies":[
            {
                "nextPhraseID":"mazeg_d",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"sisterfight",
                        "value":55
                    }
                ]
            },
            {
                "nextPhraseID":"mazeg_e_5b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"sisterfight",
                        "value":51
                    }
                ]
            },
            {
                "nextPhraseID":"mazeg_e_5b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"sisterfight",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"mazeg_e_2"
            }
        ]
    },
    {
        "id":"mazeg_d",
        "message":"I already sold you some before. Did you lose it? Please tell my old friend Hjaldar that I said hello."
    },
    {
        "id":"mazeg_e_2",
        "message":"Hjaldar, my old friend! Tell me, how is he these days?",
        "replies":[
            {
                "text":"He asked me to relay his greetings to you, and to tell you that he is well.",
                "nextPhraseID":"mazeg_e_3"
            },
            {
                "text":"He is sick, and getting worse every day.",
                "nextPhraseID":"mazeg_e_4"
            }
        ]
    },
    {
        "id":"mazeg_e_3",
        "message":"Oh, I am so glad to hear that! We sure did have some nice times while working together.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mazeg_e_5"
            }
        ]
    },
    {
        "id":"mazeg_e_4",
        "message":"I'm sorry to hear that. He always seemed like a tough old boy to me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mazeg_e_5"
            }
        ]
    },
    {
        "id":"mazeg_e_5",
        "message":"You asked for some Lyson marrow extract.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mazeg_e_5b"
            }
        ]
    },
    {
        "id":"mazeg_e_5b",
        "message":"Sure, I have it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mazeg_e_6"
            }
        ]
    },
    {
        "id":"mazeg_e_6",
        "replies":[
            {
                "nextPhraseID":"mazeg_e_7a",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bwm_agent",
                        "value":240
                    }
                ]
            },
            {
                "nextPhraseID":"mazeg_e_7b"
            }
        ]
    },
    {
        "id":"mazeg_e_7a",
        "message":"Since you helped us up here in the Blackwater mountain settlement earlier, I am willing to give you a discount on the price for some Lyson marrow extract. For 400 gold, I am willing to sell you some of it for my old friend Hjaldar.",
        "replies":[
            {
                "text":"Here is 400 gold.",
                "nextPhraseID":"mazeg_e_9",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":400
                    }
                ]
            },
            {
                "text":"Ouch, that much?! Is there anything you can do to lower the price?",
                "nextPhraseID":"mazeg_e_8a"
            },
            {
                "text":"I'll return when I have the gold for it.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"sisterfight",
                "value":50
            }
        ]
    },
    {
        "id":"mazeg_e_8a",
        "message":"No, 400 gold it is. That's a really good price, considering how hard this stuff is to find. Besides, if it weren't for Hjaldar, I wouldn't even be selling this to you.",
        "replies":[
            {
                "text":"Here is 400 gold.",
                "nextPhraseID":"mazeg_e_9",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":400
                    }
                ]
            },
            {
                "text":"I'll return when I have the gold for it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"mazeg_e_7b",
        "message":"For 800 gold, I am willing to sell you some of it for my old friend Hjaldar.",
        "replies":[
            {
                "text":"Here is 800 gold.",
                "nextPhraseID":"mazeg_e_9",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":800
                    }
                ]
            },
            {
                "text":"Ouch, that much?! Is there anything you can do to lower the price?",
                "nextPhraseID":"mazeg_e_8b"
            },
            {
                "text":"I'll return when I have the gold for it.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"sisterfight",
                "value":51
            }
        ]
    },
    {
        "id":"mazeg_e_8b",
        "message":"No, 800 gold it is. That's a really good price, considering how hard this stuff is to find. Besides, if it weren't for Hjaldar, I wouldn't even be selling this to you.",
        "replies":[
            {
                "text":"Here is 800 gold.",
                "nextPhraseID":"mazeg_e_9",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":800
                    }
                ]
            },
            {
                "text":"I'll return when I have the gold for it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"mazeg_e_9",
        "message":"Thanks. Here's some of the Lyson marrow extract.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"mazeg_e_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"sisterfight",
                "value":55
            },
            {
                "rewardType":"dropList",
                "rewardID":"lyson_marrow",
                "value":0
            }
        ]
    },
    {
        "id":"mazeg_e_10",
        "message":"Please give my warmest greetings to my good friend Hjaldar. Tell him that I am well.",
        "replies":[
            {
                "text":"Will do. Thanks and goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"Whatever. Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    }
]