[
    {
        "id":"talion_infect_1",
        "message":"Oh my, what has happened to you? You don't look too well.",
        "replies":[
            {
                "text":"I was infected with something by a lich of Kazaul.",
                "nextPhraseID":"talion_infect_5"
            },
            {
                "text":"A man called Ulirfendor told me he thought I might be infected with Kazaul rotworms.",
                "nextPhraseID":"talion_infect_2"
            },
            {
                "text":"I was told to find you, and that you might be able to help me.",
                "nextPhraseID":"talion_infect_4"
            }
        ]
    },
    {
        "id":"talion_infect_2",
        "message":"Ah, my old friend Ulirfendor. It's good to hear that he is still alive. Wait! What was that? Rotworms you say, eh?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_3"
            }
        ]
    },
    {
        "id":"talion_infect_3",
        "message":"Nasty things, they are. I have seen people going mad from the stomach pains, and I have seen people being eaten alive from the inside.",
        "replies":[
            {
                "text":"Are you able to help me?",
                "nextPhraseID":"talion_infect_4"
            },
            {
                "text":"It's not that bad. I have had worse.",
                "nextPhraseID":"talion_infect_4"
            }
        ]
    },
    {
        "id":"talion_infect_4",
        "message":"It's good that you came to see me. I might be able to help you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_demon_1"
            }
        ]
    },
    {
        "id":"talion_infect_5",
        "message":"A lich of Kazaul eh? Then I am sure that whatever ails you are those cursed rotworms.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_3"
            }
        ]
    },
    {
        "id":"talion_demon_1",
        "message":"Just to be sure, you did kill whatever creature that infected you with this, right?",
        "replies":[
            {
                "text":"Yes, I killed that lich.",
                "nextPhraseID":"talion_demon_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"darkprotector",
                        "value":10
                    }
                ]
            },
            {
                "text":"No, I have not killed it yet.",
                "nextPhraseID":"talion_demon_3"
            }
        ]
    },
    {
        "id":"talion_demon_2",
        "message":"Good. Then I am able to help you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_6"
            }
        ]
    },
    {
        "id":"talion_demon_3",
        "message":"Then you better go take care of that first!",
        "replies":[
            {
                "text":"OK, I will be back once the lich is defeated.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"talion_infect_6",
        "message":"However, there is a slight problem. You see, normally my supply of potions and ingredients would be fully stocked. However with this trouble that we have here in Loneford, my supplies are lower than they have ever been before.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_7"
            }
        ]
    },
    {
        "id":"talion_infect_7",
        "message":"I am not even able to go out and gather new supplies, what with the illness and all.",
        "replies":[
            {
                "text":"Then what can you do?",
                "nextPhraseID":"talion_infect_8"
            },
            {
                "text":"Is there anything I can do to help?",
                "nextPhraseID":"talion_infect_8"
            },
            {
                "text":"Bah! Then you are useless to me. Guess you should have prepared better before then.",
                "nextPhraseID":"talion_infect_9"
            }
        ]
    },
    {
        "id":"talion_infect_9",
        "message":"Yes, I guess I should have."
    },
    {
        "id":"talion_infect_8",
        "message":"You know what, maybe you can go out and gather some items for me. With your condition, it is important that we hurry as much as we can.",
        "replies":[
            {
                "text":"What would you like me to do?",
                "nextPhraseID":"talion_infect_11"
            },
            {
                "text":"Argh! The pains are getting worse! Isn't there anything you can do?",
                "nextPhraseID":"talion_infect_10"
            }
        ]
    },
    {
        "id":"talion_infect_10",
        "message":"No, unfortunately not. Not with this few supplies I'm sorry.",
        "replies":[
            {
                "text":"Fine. What would you like me to do?",
                "nextPhraseID":"talion_infect_11"
            },
            {
                "text":"Bah! Then you are useless to me. Guess you should have prepared better before then.",
                "nextPhraseID":"talion_infect_9"
            }
        ]
    },
    {
        "id":"talion_infect_11",
        "message":"For this particular cure to work, I would need help with gathering four items.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_12"
            }
        ]
    },
    {
        "id":"talion_infect_12",
        "message":"Or ... well ... actually, nine items in total, but four different types. Eh ... well, you get the idea.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_13"
            }
        ]
    },
    {
        "id":"talion_infect_13",
        "message":"Anyway, what you need to bring me is, first and foremost, some more fresh bones. Five bones will do I think. Make sure they are fresh. Any old skeleton will do, but I'd rather take some fresh bones of some nasty animal.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_14"
            }
        ]
    },
    {
        "id":"talion_infect_14",
        "message":"Secondly, I will need some animal fur to go with that. Two pieces of animal hair will surely do. I'm sure any old animal fur from the wilderness outside town will do.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_15"
            }
        ]
    },
    {
        "id":"talion_infect_15",
        "message":"Third, I will need a gland of poison from a creature called the irdegh.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_16"
            }
        ]
    },
    {
        "id":"talion_infect_16",
        "message":"Now, I have not seen an irdegh myself, but I hear they are particularly nasty creatures. Venomous like nothing I've heard of.",
        "replies":[
            {
                "text":"OK, one irdegh poison gland. Where can I find one?",
                "nextPhraseID":"talion_infect_17"
            },
            {
                "text":"Got it. Anything else?",
                "nextPhraseID":"talion_infect_18"
            }
        ]
    },
    {
        "id":"talion_infect_17",
        "message":"Some people have talked about seeing some of them far to the east, across the bridges.",
        "replies":[
            {
                "text":"Anything else?",
                "nextPhraseID":"talion_infect_18"
            }
        ]
    },
    {
        "id":"talion_infect_18",
        "message":"Lastly, I would need a clean empty vial to make the potion in. I hear that the potion-maker in Fallhaven has the best vials available.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_infect_19"
            }
        ]
    },
    {
        "id":"talion_infect_19",
        "message":"Bring me these things and I will be able to help you with your ... condition.",
        "replies":[
            {
                "text":"Very well, I will be back shortly.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":30
            }
        ]
    },
    {
        "id":"talion_infect_30",
        "message":"You return. Have you gathered those things that I asked for?",
        "replies":[
            {
                "text":"What was I supposed to collect again?",
                "nextPhraseID":"talion_infect_11"
            },
            {
                "text":"I brought five bones for you.",
                "nextPhraseID":"talion_bone_s"
            },
            {
                "text":"I brought two pieces of animal hair for you.",
                "nextPhraseID":"talion_hair_s"
            },
            {
                "text":"I brought an irdegh poison gland for you.",
                "nextPhraseID":"talion_irdegh_s"
            },
            {
                "text":"I brought an empty vial for you.",
                "nextPhraseID":"talion_vial_s"
            },
            {
                "text":"Do you know anything about the illness here in Loneford?",
                "nextPhraseID":"talion_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"loneford",
                        "value":11
                    }
                ]
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"talion_infect_31",
        "message":"There are still some more of those items that I need.",
        "replies":[
            {
                "text":"What was I supposed to collect again?",
                "nextPhraseID":"talion_infect_11"
            },
            {
                "text":"I brought five bones for you.",
                "nextPhraseID":"talion_bone_s"
            },
            {
                "text":"I brought two pieces of animal hair for you.",
                "nextPhraseID":"talion_hair_s"
            },
            {
                "text":"I brought an irdegh poison gland for you.",
                "nextPhraseID":"talion_irdegh_s"
            },
            {
                "text":"I brought an empty vial for you.",
                "nextPhraseID":"talion_vial_s"
            }
        ]
    },
    {
        "id":"talion_gather_r",
        "message":"No need, you already brought me that before. But thank you anyway.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_gather_s"
            }
        ]
    },
    {
        "id":"talion_bone_s",
        "replies":[
            {
                "nextPhraseID":"talion_gather_r",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"talion_bone_1"
            }
        ]
    },
    {
        "id":"talion_bone_1",
        "message":"Oh, good. Please, give them to me.",
        "replies":[
            {
                "text":"Here you go.",
                "nextPhraseID":"talion_bone_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bone",
                        "value":5
                    }
                ]
            },
            {
                "text":"On second thought, I'll be right back.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"talion_bone_2",
        "message":"Thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_gather_s"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":40
            }
        ]
    },
    {
        "id":"talion_hair_s",
        "replies":[
            {
                "nextPhraseID":"talion_gather_r",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":41
                    }
                ]
            },
            {
                "nextPhraseID":"talion_hair_1"
            }
        ]
    },
    {
        "id":"talion_hair_1",
        "message":"Oh, good. Please, give them to me.",
        "replies":[
            {
                "text":"Here you go.",
                "nextPhraseID":"talion_hair_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"hair",
                        "value":2
                    }
                ]
            },
            {
                "text":"On second thought, I'll be right back.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"talion_hair_2",
        "message":"Thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_gather_s"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":41
            }
        ]
    },
    {
        "id":"talion_irdegh_s",
        "replies":[
            {
                "nextPhraseID":"talion_gather_r",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":42
                    }
                ]
            },
            {
                "nextPhraseID":"talion_irdegh_1"
            }
        ]
    },
    {
        "id":"talion_irdegh_1",
        "message":"Oh, good. Please, give it to me.",
        "replies":[
            {
                "text":"Here you go.",
                "nextPhraseID":"talion_irdegh_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"irdegh",
                        "value":1
                    }
                ]
            },
            {
                "text":"On second thought, I'll be right back.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"talion_irdegh_2",
        "message":"Thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_gather_s"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":42
            }
        ]
    },
    {
        "id":"talion_vial_s",
        "replies":[
            {
                "nextPhraseID":"talion_gather_r",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":43
                    }
                ]
            },
            {
                "nextPhraseID":"talion_vial_1"
            }
        ]
    },
    {
        "id":"talion_vial_1",
        "message":"Oh, good. Please, give it to me.",
        "replies":[
            {
                "text":"Here you go, one small empty vial.",
                "nextPhraseID":"talion_vial_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"vial_empty1",
                        "value":1
                    }
                ]
            },
            {
                "text":"Here you go, one empty vial.",
                "nextPhraseID":"talion_vial_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"vial_empty2",
                        "value":1
                    }
                ]
            },
            {
                "text":"On second thought, I'll be right back.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"talion_vial_2",
        "message":"Thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_gather_s"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":43
            }
        ]
    },
    {
        "id":"talion_gather_s",
        "replies":[
            {
                "nextPhraseID":"talion_gather_s2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"talion_infect_31"
            }
        ]
    },
    {
        "id":"talion_gather_s2",
        "replies":[
            {
                "nextPhraseID":"talion_gather_s3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":41
                    }
                ]
            },
            {
                "nextPhraseID":"talion_infect_31"
            }
        ]
    },
    {
        "id":"talion_gather_s3",
        "replies":[
            {
                "nextPhraseID":"talion_gather_s4",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":42
                    }
                ]
            },
            {
                "nextPhraseID":"talion_infect_31"
            }
        ]
    },
    {
        "id":"talion_gather_s4",
        "replies":[
            {
                "nextPhraseID":"talion_cure_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"maggots",
                        "value":43
                    }
                ]
            },
            {
                "nextPhraseID":"talion_infect_31"
            }
        ]
    },
    {
        "id":"talion_cure_1",
        "message":"That's all I need to cure you. Good work.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cure_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":45
            }
        ]
    },
    {
        "id":"talion_cure_2",
        "message":"Now, let's get this cure started. I just need to grind this ... and mix those ... and...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cure_3"
            }
        ]
    },
    {
        "id":"talion_cure_3",
        "message":"Give me a minute.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cure_4"
            }
        ]
    },
    {
        "id":"talion_cure_4",
        "message":"[Talion mixes the ground up ingredients together in the vial you brought, with some leaves and berries that he kept with him]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cure_5"
            }
        ]
    },
    {
        "id":"talion_cure_5",
        "message":"[He gives the potion a thorough shake for quite a while]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cure_6"
            }
        ]
    },
    {
        "id":"talion_cure_6",
        "message":"There. Drink this. This should do it.",
        "replies":[
            {
                "text":"Drink the potion.",
                "nextPhraseID":"talion_cure_7"
            }
        ]
    },
    {
        "id":"talion_cure_7",
        "message":"[The potion smells rancid, but you manage to drink it all down. The pain from the stomach decreases, and you feel one of the rotworms crawling up into your mouth. You quickly spit the worm out into the now empty vial.]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cured_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":50
            },
            {
                "rewardType":"dropList",
                "rewardID":"potion_rotworm",
                "value":0
            },
            {
                "rewardType":"actorCondition",
                "rewardID":"rotworm",
                "value":-99
            }
        ]
    },
    {
        "id":"talion_cured_1",
        "message":"Ah, that seems to have worked. Frankly, I was a little worried that it might not have worked, but seeing you spit out that worm really confirms it. Ha ha.",
        "replies":[
            {
                "text":"Yuck! Those things were inside of me?",
                "nextPhraseID":"talion_cured_2"
            },
            {
                "text":"What now?",
                "nextPhraseID":"talion_cured_3"
            }
        ]
    },
    {
        "id":"talion_cured_2",
        "message":"Yes. Nasty, aren't they? *chuckle*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cured_3"
            }
        ]
    },
    {
        "id":"talion_cured_3",
        "message":"That one worm you spit out, you should make sure you hold on to that. It might be valuable in the future.",
        "replies":[
            {
                "text":"For what?",
                "nextPhraseID":"talion_cured_4"
            },
            {
                "text":"OK, I will hold on to it.",
                "nextPhraseID":"talion_cured_7"
            },
            {
                "text":"I think I had better put it under my boot.",
                "nextPhraseID":"talion_cured_5"
            }
        ]
    },
    {
        "id":"talion_cured_4",
        "message":"Well, you never know. Some people really like ... exotic things.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cured_7"
            }
        ]
    },
    {
        "id":"talion_cured_5",
        "message":"It's your choice of course.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cured_7"
            }
        ]
    },
    {
        "id":"talion_cured_7",
        "message":"Now, I know you must have gone through a lot to get infected with these things. You seem like the experienced type.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cured_8"
            }
        ]
    },
    {
        "id":"talion_cured_8",
        "message":"Tell you what, I don't normally offer this to anyone, but you seem like you could use the help.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_cured_9"
            }
        ]
    },
    {
        "id":"talion_cured_9",
        "message":"Seeing as you managed to pull through all of this, I would be willing to offer you the help of giving you blessings of the Shadow if you want.",
        "replies":[
            {
                "text":"Blessings of the Shadow?",
                "nextPhraseID":"talion_cured_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"maggots",
                "value":51
            }
        ]
    },
    {
        "id":"talion_cured_10",
        "message":"Yes. Well ... for a fee of course.",
        "replies":[
            {
                "text":"What blessings can you provide?",
                "nextPhraseID":"talion_bless_1"
            }
        ]
    },
    {
        "id":"talion_bless_1",
        "message":"I am able to bless you with either the Shadow's strength, regeneration, accuracy, or even the blessing of the Shadow guardian.",
        "replies":[
            {
                "text":"I'm interested in the blessing of Shadow strength.",
                "nextPhraseID":"talion_bless_str_1"
            },
            {
                "text":"I'm interested in the blessing of Shadow regeneration.",
                "nextPhraseID":"talion_bless_heal_1"
            },
            {
                "text":"I'm interested in the blessing of Shadow accuracy.",
                "nextPhraseID":"talion_bless_acc_1"
            },
            {
                "text":"I'm interested in the Shadow guardian blessing.",
                "nextPhraseID":"talion_bless_guard_1"
            },
            {
                "text":"Never mind.",
                "nextPhraseID":"talion_0"
            }
        ]
    },
    {
        "id":"talion_bless_str_1",
        "message":"The blessing of Shadow strength grants you more strength while attacking, thus increasing the amount of damage you do on each hit. I can give you the blessing for 300 gold.",
        "replies":[
            {
                "text":"OK, I'll take it for 300 gold.",
                "nextPhraseID":"talion_bless_str_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":300
                    }
                ]
            },
            {
                "text":"Never mind, let's go back to those other blessings.",
                "nextPhraseID":"talion_bless_1"
            }
        ]
    },
    {
        "id":"talion_bless_heal_1",
        "message":"The blessing of Shadow regeneration will slowly heal you back if you get hurt. I can give you the blessing for 250 gold.",
        "replies":[
            {
                "text":"OK, I'll take it for 250 gold.",
                "nextPhraseID":"talion_bless_heal_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":250
                    }
                ]
            },
            {
                "text":"Never mind, let's go back to those other blessings.",
                "nextPhraseID":"talion_bless_1"
            }
        ]
    },
    {
        "id":"talion_bless_acc_1",
        "message":"The blessing of Shadow accuracy grants you a keen sense of where best to strike your opponent, thus increasing the chance of a successful hit while fighting. I can give you the blessing for 250 gold.",
        "replies":[
            {
                "text":"OK, I'll take it for 250 gold.",
                "nextPhraseID":"talion_bless_acc_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":250
                    }
                ]
            },
            {
                "text":"Never mind, let's go back to those other blessings.",
                "nextPhraseID":"talion_bless_1"
            }
        ]
    },
    {
        "id":"talion_bless_guard_1",
        "message":"Ah yes, the blessing of the Shadow guardian. The Shadow protects you in dark places, and keeps you safe where others might not see. I can give you the blessing for 400 gold.",
        "replies":[
            {
                "text":"OK, I'll take it for 400 gold.",
                "nextPhraseID":"talion_bless_guard_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":400
                    }
                ]
            },
            {
                "text":"Never mind, let's go back to those other blessings.",
                "nextPhraseID":"talion_bless_1"
            }
        ]
    },
    {
        "id":"talion_bless_str_2",
        "message":"Very well. *starts chanting*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_bless_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"shadowbless_str",
                "value":30
            }
        ]
    },
    {
        "id":"talion_bless_heal_2",
        "message":"Very well. *starts chanting*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_bless_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"shadowbless_heal",
                "value":45
            }
        ]
    },
    {
        "id":"talion_bless_acc_2",
        "message":"Very well. *starts chanting*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_bless_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"shadowbless_acc",
                "value":30
            }
        ]
    },
    {
        "id":"talion_bless_guard_2",
        "message":"Very well. *starts chanting*",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"talion_bless_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"shadowbless_guard",
                "value":20
            }
        ]
    },
    {
        "id":"talion_bless_2",
        "message":"There. I hope you will find it useful on your travels.",
        "replies":[
            {
                "text":"Thank you, goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"How about some of those other blessings?",
                "nextPhraseID":"talion_bless_1"
            }
        ]
    }
]