[
    {
        "id":"sign_stoutford_gate",
        "message":"Welcome to Stoutford."
    },
    {
        "id":"stoutford_bed_locked",
        "message":"[The owner shouts] Hey! These beds aren't for strangers! Come here!"
    },
    {
        "id":"stoutford_gateguard_0",
        "message":"What do you want kid?",
        "replies":[
            {
                "text":"What is this place?",
                "nextPhraseID":"soutford_gateguard_what_0"
            },
            {
                "text":"What are you doing here?",
                "nextPhraseID":"soutford_gateguard_who_0"
            },
            {
                "text":"Have you seen my brother Andor?",
                "nextPhraseID":"stoutford_gateguard_andor_0"
            }
        ]
    },
    {
        "id":"stoutford_builder_0",
        "message":"Sorry. I have work to do."
    },
    {
        "id":"stoutford_widow_0",
        "message":"Please. Leave me alone. I'm mourning.",
        "replies":[
            {
                "text":"Sorry for your loss.",
                "nextPhraseID":"X"
            },
            {
                "text":"Whatever.",
                "nextPhraseID":"X"
            },
            {
                "text":"Is there anything I can do to ease your pain?",
                "nextPhraseID":"stoutford_widow_1"
            }
        ]
    },
    {
        "id":"stoutford_commoner_0",
        "message":"Welcome to Stoutford kid."
    },
    {
        "id":"stoutford_farmer_jan_0",
        "message":"Can't you see I'm busy? Go talk to my brother Jen, he's always slacking off in the field."
    },
    {
        "id":"stoutford_farmer_jen_0",
        "message":"Can't you see I'm busy? Go talk to my brother Jan, he's always slacking off in the house."
    },
    {
        "id":"kayla_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kayla_1"
            }
        ]
    },
    {
        "id":"kayla_1",
        "message":"Hello.",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"kayla_2"
            },
            {
                "text":"Have you seen my brother Andor?",
                "nextPhraseID":"kayla_3"
            },
            {
                "text":"Are you a friend of Halvor?",
                "nextPhraseID":"kayla_halvor_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"halvor_surprise",
                        "value":180
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"halvor_surprise",
                        "value":190,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"kayla_2",
        "message":"I'm Kayla. I love making clothes, shoes and boots.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kayla_4"
            }
        ]
    },
    {
        "id":"stoutford_guard1_0",
        "message":"Don't cause trouble."
    },
    {
        "id":"soutford_gateguard_what_0",
        "message":"This is Stoutford. Our small town was the resting place of choice for many merchants on their way between Fallhaven and the Blackwater mountain.",
        "replies":[
            {
                "text":"Was?",
                "nextPhraseID":"soutford_gateguard_what_1"
            }
        ]
    },
    {
        "id":"soutford_gateguard_what_1",
        "message":"Yes. It seems the road is closed for some reason. Maybe this is related to the monster attacks we have been suffering from recently.",
        "replies":[
            {
                "text":"Is there anything I can do to help?",
                "nextPhraseID":"soutford_gateguard_what_2"
            },
            {
                "text":"Whatever...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"soutford_gateguard_what_2",
        "message":"I don't know. You look very young. Try talking to our priest.",
        "replies":[
            {
                "text":"I have other questions...",
                "nextPhraseID":"stoutford_gateguard_0"
            },
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"soutford_gateguard_who_0",
        "message":"I'm guarding the town's gate.",
        "replies":[
            {
                "text":"Guarding against what?",
                "nextPhraseID":"soutford_gateguard_who_1"
            }
        ]
    },
    {
        "id":"soutford_gateguard_who_1",
        "message":"In the past, troublemakers that bothered the citizens or merchants. Nowadays, it's mainly the monsters, when I can handle them.",
        "replies":[
            {
                "text":"What monsters?",
                "nextPhraseID":"soutford_gateguard_who_2"
            },
            {
                "text":"Pathetic...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"soutford_gateguard_who_2",
        "message":"You should talk to our priest about that.",
        "replies":[
            {
                "text":"I have other questions...",
                "nextPhraseID":"stoutford_gateguard_0"
            },
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"stoutford_gateguard_andor_0",
        "message":"I do recall some kid that looked a bit like you a while ago. He stayed here a couple of days, and never came back as far as I can tell.",
        "replies":[
            {
                "text":"What did he do here?",
                "nextPhraseID":"stoutford_gateguard_andor_1"
            },
            {
                "text":"Do you know where he was going?",
                "nextPhraseID":"stoutford_gateguard_andor_2"
            }
        ]
    },
    {
        "id":"stoutford_gateguard_andor_1",
        "message":"I can't really tell. No known trouble at least. He headed straight to the tavern, and I didn't see him again before he left.",
        "replies":[
            {
                "text":"Do you know where he was going?",
                "nextPhraseID":"stoutford_gateguard_andor_2"
            },
            {
                "text":"I have other questions...",
                "nextPhraseID":"stoutford_gateguard_0"
            },
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"stoutford_gateguard_andor_2",
        "message":"No.",
        "replies":[
            {
                "text":"What did he do here?",
                "nextPhraseID":"stoutford_gateguard_andor_1"
            },
            {
                "text":"I have other questions...",
                "nextPhraseID":"stoutford_gateguard_0"
            },
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"tahalendor_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings10x_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":106
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings10x_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":103
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings10x_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":100
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings90_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":90
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings80_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":80
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"tahalendor_initial_0"
            }
        ]
    },
    {
        "id":"tahalendor_initial_0",
        "message":"How dare you come back here after all you've done?",
        "replies":[
            {
                "text":"What?",
                "nextPhraseID":"tahalendor_initial_1"
            },
            {
                "text":"Actually, it's the first time we have met.",
                "nextPhraseID":"tahalendor_initial_2"
            },
            {
                "text":"I need you as a witness for...",
                "nextPhraseID":"tahalendor_initial_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":65,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":74,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"tahalendor_initial_1",
        "message":"Go away! You're not welcome here!",
        "replies":[
            {
                "text":"OK...",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":10
            }
        ]
    },
    {
        "id":"tahalendor_initial_2",
        "message":"Nonsense! Go away!",
        "replies":[
            {
                "text":"OK...",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":10
            }
        ]
    },
    {
        "id":"yolgen_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"yolgen_initial_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":80
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"yolgen_rumblings50_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":50
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"yolgen_rumblings20_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":20
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"yolgen_rumblings10_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":10
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"yolgen_initial_0"
            }
        ]
    },
    {
        "id":"yolgen_initial_0",
        "message":"Go with the shadow.",
        "replies":[
            {
                "text":"Shadow be with you.",
                "nextPhraseID":"X"
            },
            {
                "text":"Whatever.",
                "nextPhraseID":"X"
            },
            {
                "text":"Tahalendor told me that you may have items to trade.",
                "nextPhraseID":"S",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay",
                        "value":23
                    }
                ]
            },
            {
                "text":"What can you tell me about the area around here?",
                "nextPhraseID":"yolgen_surroundings_0"
            },
            {
                "text":"I have dealt with Erwyn's army.",
                "nextPhraseID":"yolgen_castle_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"stoutford_castle",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"stoutford_castle",
                        "value":50,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"stoutford_castle",
                        "value":60,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"stoutford_castle",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I cleared Flagstone of an evil demon.",
                "nextPhraseID":"yolgen_flagstone_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"flagstone",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"flagstone",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Is there anything I can do to help?",
                "nextPhraseID":"yolgen_task_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":180
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":190
                    }
                ]
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_0",
        "message":"Walk in the shadow kid. I have to apologize for my master, Tahalendor.",
        "replies":[
            {
                "text":"Crazy old geezer... What's wrong with him?",
                "nextPhraseID":"yolgen_rumblings10_1"
            },
            {
                "text":"Can you explain?",
                "nextPhraseID":"yolgen_rumblings10_1"
            },
            {
                "text":"Let us talk about something different.",
                "nextPhraseID":"yolgen_initial_0"
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_1",
        "message":"My master is wise and old, but his sight is not as sharp as it once was. He took you for someone else.",
        "replies":[
            {
                "text":"Who?",
                "nextPhraseID":"yolgen_rumblings10_2"
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_2",
        "message":"To his credit, I have to admit you do look a bit like him. I don't know his name.",
        "replies":[
            {
                "text":"That must be my brother Andor!",
                "nextPhraseID":"yolgen_rumblings10_3"
            },
            {
                "text":"Go on.",
                "nextPhraseID":"yolgen_rumblings10_3"
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_3",
        "message":"He came around here not long ago, with a shady looking travelling companion. He stayed a couple of days from what I heard. Since then, we have been hearing frequent rumbles in the church, coming from underground.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"yolgen_rumblings10_4"
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_4",
        "message":"It can be so loud as to make the whole church shake. It has even damaged the walls and the roof.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"yolgen_rumblings10_5"
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_5",
        "message":"This church is the refuge for all the villagers when monsters attack. We are really worried now.",
        "replies":[
            {
                "text":"I can't believe Andor has anything to do with this. Can you tell me more?",
                "nextPhraseID":"yolgen_rumblings10_6"
            },
            {
                "text":"Is there anything I can do to help?",
                "nextPhraseID":"yolgen_rumblings10_6"
            },
            {
                "text":"Whatever... It's none of my business.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":20
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_6",
        "message":"I told you all I know. Maybe others in town have seen him.",
        "replies":[
            {
                "text":"Thank you for your help.",
                "nextPhraseID":"yolgen_rumblings10_7"
            },
            {
                "text":"Guess I'll have to look into it.",
                "nextPhraseID":"yolgen_rumblings10_7"
            }
        ]
    },
    {
        "id":"yolgen_rumblings10_7",
        "message":"Shadow be with you."
    },
    {
        "id":"yolgen_rumblings20_0",
        "message":"Hello again. Have you found anything about what is causing the noises in the church?",
        "replies":[
            {
                "text":"No. Not yet.",
                "nextPhraseID":"yolgen_rumblings10_7"
            },
            {
                "text":"Let us talk about something different.",
                "nextPhraseID":"yolgen_initial_0"
            }
        ]
    },
    {
        "id":"stoutford_thief_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"stoutford_thief_rumblings20_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":70
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"stoutford_thief_initial_0"
            }
        ]
    },
    {
        "id":"stoutford_thief_initial_1",
        "message":"Wanna trade?",
        "replies":[
            {
                "text":"Sure.",
                "nextPhraseID":"S"
            },
            {
                "text":"No.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"stoutford_thief_rumblings20_0",
        "message":"Hey kid. A \"common friend\" told me about you.",
        "replies":[
            {
                "text":"Who?",
                "nextPhraseID":"stoutford_thief_rumblings20_1"
            }
        ]
    },
    {
        "id":"stoutford_thief_rumblings20_1",
        "message":"Shhh! Quiet here. You helped the guild, so I'll help you too.",
        "replies":[
            {
                "text":"Help me do what?",
                "nextPhraseID":"stoutford_thief_rumblings20_2"
            },
            {
                "text":"Great!",
                "nextPhraseID":"stoutford_thief_rumblings20_2"
            }
        ]
    },
    {
        "id":"stoutford_thief_rumblings20_2",
        "message":"A kid that looked like you was here. He apparently did some business with the owner and the regulars.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"stoutford_thief_rumblings20_3"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":25
            }
        ]
    },
    {
        "id":"stoutford_thief_rumblings20_3",
        "message":"They were very careful, and even I couldn't catch a glimpse of their deeds, but you should be cautious if you deal with them.",
        "replies":[
            {
                "text":"Thanks for the advice. I'll take care.",
                "nextPhraseID":"stoutford_thief_rumblings20_4"
            },
            {
                "text":"I can handle myself! I don't fear them, or anyone else!",
                "nextPhraseID":"stoutford_thief_rumblings20_4"
            }
        ]
    },
    {
        "id":"stoutford_thief_rumblings20_4",
        "message":"Just sayin'. Do what you will.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"stoutford_thief_initial_1"
            }
        ]
    },
    {
        "id":"stoutford_thief_initial_0",
        "message":"Psst.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"stoutford_thief_initial_1"
            }
        ]
    },
    {
        "id":"stoutford_cellar_locked_key",
        "message":"An unknown force prevents you from going further."
    },
    {
        "id":"glasforn_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings103_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":103
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings70_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":70
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":60
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings50_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":50
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings30_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":30
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"glasforn_initial_0"
            }
        ]
    },
    {
        "id":"glasforn_initial_who_0",
        "message":"I'm Glasforn, proud owner of this fine establishment.",
        "replies":[
            {
                "text":"Can I use one of your beds?",
                "nextPhraseID":"glasforn_initial_bed_0"
            },
            {
                "text":"What can you tell me about the strange noises in the church?",
                "nextPhraseID":"glasforn_rumblings20_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":20
                    }
                ]
            }
        ]
    },
    {
        "id":"glasforn_initial_bed_0",
        "message":"Sorry, none are available today.",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"glasforn_initial_who_0"
            },
            {
                "text":"What can you tell me about the strange noises in the church?",
                "nextPhraseID":"glasforn_rumblings20_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":20
                    }
                ]
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_0",
        "message":"What about them?",
        "replies":[
            {
                "text":"Well, I heard they may be related to my brother Andor. I'm looking for him.",
                "nextPhraseID":"glasforn_rumblings20_1"
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_1",
        "message":"You indeed look a lot like him...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings20_2"
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_2",
        "message":"OK, I can believe that you are Andor's brother. You should have told me earlier!",
        "replies":[
            {
                "text":"Why?",
                "nextPhraseID":"glasforn_rumblings20_3"
            }
        ]
    },
    {
        "id":"glasforn_initial_0",
        "message":"Hello.",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"glasforn_initial_who_0"
            },
            {
                "text":"Can I use one of your beds?",
                "nextPhraseID":"glasforn_initial_bed_0"
            },
            {
                "text":"What can you tell me about the strange noises in the church?",
                "nextPhraseID":"glasforn_rumblings20_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":20
                    }
                ]
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_3",
        "message":"Well, you see, I keep some beds for occasions like this one. You can use the one in the corner, near the painting, if you wish to rest.",
        "replies":[
            {
                "text":"For free?",
                "nextPhraseID":"glasforn_rumblings20_4"
            },
            {
                "text":"Thanks.",
                "nextPhraseID":"X"
            },
            {
                "text":"About those noises...",
                "nextPhraseID":"glasforn_rumblings20_5"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":30
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_4",
        "message":"Sure.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_5",
        "message":"Oh, you'll definitely enjoy our beds. I'm very proud of them.",
        "replies":[
            {
                "text":"...yes but...",
                "nextPhraseID":"glasforn_rumblings20_6"
            }
        ]
    },
    {
        "id":"glasforn_rumblings20_6",
        "message":"Our food isn't bad either. Go see our cook. He's weird, but does great work.",
        "replies":[
            {
                "text":"...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"glasforn_rumblings30_0",
        "message":"So kid, have you tried that bed? Our beds are the best!",
        "replies":[
            {
                "text":"About Andor...",
                "nextPhraseID":"glasforn_rumblings30_1"
            },
            {
                "text":"About those noises...",
                "nextPhraseID":"glasforn_rumblings30_1"
            },
            {
                "text":"Not yet.",
                "nextPhraseID":"glasforn_rumblings30_1"
            }
        ]
    },
    {
        "id":"glasforn_rumblings30_1",
        "message":"You really should try that bed. You'll thank me afterwards."
    },
    {
        "id":"stoutford_lich_killed_0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"stoutford_lich_killed_1",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"stoutford_lich",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":50,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"stoutford_lich_killed_1",
        "message":"You hear a loud rumble, then nothing. Silence. What was that monster?",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":50
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"Active",
                "mapName":"stoutford_tavern"
            }
        ]
    },
    {
        "id":"glasforn_rumblings50_0",
        "message":"Wha... Impossible...! How did you...?",
        "replies":[
            {
                "text":"I should kill you right now!",
                "nextPhraseID":"glasforn_rumblings50_1"
            },
            {
                "text":"What was that beast?",
                "nextPhraseID":"glasforn_rumblings50_1"
            },
            {
                "text":"What did you do to me?",
                "nextPhraseID":"glasforn_rumblings50_1"
            }
        ]
    },
    {
        "id":"glasforn_rumblings50_1",
        "message":"You ... you should be dead!",
        "replies":[
            {
                "text":"And so should you.",
                "nextPhraseID":"glasforn_rumblings60_0"
            },
            {
                "text":"Stop. Talk. Tell me everything.",
                "nextPhraseID":"glasforn_rumblings60_0"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_0",
        "message":"Wait. OK. I stand no chance against you. I'll tell you all I know.",
        "replies":[
            {
                "text":"It'd better be worth it.",
                "nextPhraseID":"glasforn_rumblings60_1"
            },
            {
                "text":"Go ahead.",
                "nextPhraseID":"glasforn_rumblings60_1"
            },
            {
                "text":"I'm all ears.",
                "nextPhraseID":"glasforn_rumblings60_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":60
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_1",
        "message":"It was Andor. He made us do it, and promised to rid us of the Shadow church if we helped.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_2"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_2",
        "message":"When he came, he asked me for a \"private\" place where he could do his weird stuff undisturbed. It had to be underground, and it had to be in the city. I have no idea why.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_3"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_3",
        "message":"I showed him the cellar under the old derelict house.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_4"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_4",
        "message":"I think he spent several days in there, as we didn't see him. Around that time, the rumbles in the church began and we knew he would be keeping his promise.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_5"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_5",
        "message":"When he returned he put this horrible necklace on me. He told me that thing in the cellar needed lives to grow stronger, and either I could give it those lives or the necklace would take mine.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_5_1"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_6",
        "message":"I'm sorry! How was I to know you could actually kill it? You're just a kid! Anyway, now I can remove the necklace. Please take it. I never want to see it again.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings70_0"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"necklace_undead",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":70
            }
        ]
    },
    {
        "id":"glasforn_rumblings70_0",
        "message":"That's all I know, I swear. Please spare me. You can use the bed safely now.",
        "replies":[
            {
                "text":"I'll spare you. For now. But no more tricks. Or else...",
                "nextPhraseID":"glasforn_rumblings70_1"
            },
            {
                "text":"I guess this was all necessary.",
                "nextPhraseID":"glasforn_rumblings70_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"Inactive",
                "mapName":"stoutford_tavern"
            }
        ]
    },
    {
        "id":"glasforn_rumblings70_1",
        "message":"I swear. You'll be my honored guest for life."
    },
    {
        "id":"yolgen_rumblings50_0",
        "message":"Hello again. Have you found anything about what is causing the noises in the church? It seems they have stopped.",
        "replies":[
            {
                "text":"No. Not yet.",
                "nextPhraseID":"X"
            },
            {
                "text":"Yes. I think I found the cause.",
                "nextPhraseID":"yolgen_rumblings50_1"
            },
            {
                "text":"Let us talk about something different.",
                "nextPhraseID":"yolgen_initial_0"
            }
        ]
    },
    {
        "id":"yolgen_rumblings50_1",
        "message":"Great. You should talk to my master. I told him you were not who he thought you were.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"yolgen_initial_0"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":80
            }
        ]
    },
    {
        "id":"tahalendor_rumblings80_0",
        "message":"You! You saved us!",
        "replies":[
            {
                "text":"No thanks to you...",
                "nextPhraseID":"tahalendor_rumblings80_1"
            },
            {
                "text":"Indeed.",
                "nextPhraseID":"tahalendor_rumblings80_1"
            },
            {
                "text":"That was the right thing to do.",
                "nextPhraseID":"tahalendor_rumblings80_1"
            },
            {
                "text":"Would you come with me to talk to Blornvale? He wants to confess something important.",
                "nextPhraseID":"tahalendor_thorns50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":65,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":74,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"tahalendor_rumblings80_1",
        "message":"My sincerest apologies for earlier. I took you for someone else. Do you know what was causing the rumbles?",
        "replies":[
            {
                "text":"[Show Demon heart] Some monster. Here's what it left when I killed it.",
                "nextPhraseID":"tahalendor_rumblings80_2",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"eliszylae_heart",
                        "value":1
                    }
                ]
            },
            {
                "text":"Not really...",
                "nextPhraseID":"tahalendor_rumblings80_2bis"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings80_2",
        "message":"Oh my. It's the heart of a lich! These are nasty creatures.",
        "replies":[
            {
                "text":"These? You mean there are others?",
                "nextPhraseID":"tahalendor_rumblings80_3"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings80_3",
        "message":"They aren't common, but I have heard stories. They are powerful and live underground. They seem to be related to Kazaul somehow.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings80_4"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings80_4",
        "message":"I'm surprised such a young kid as you managed to survive encountering one, let alone actually kill it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings80_5"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings80_2bis",
        "message":"Too bad. Come back when you know more."
    },
    {
        "id":"tahalendor_rumblings80_5",
        "message":"You know, since those monsters' attacks, we don't have much to offer, but take these. By the way, do you have any idea who might be responsible for all this?",
        "replies":[
            {
                "text":"Not really.",
                "nextPhraseID":"tahalendor_rumblings100_0"
            },
            {
                "text":"It was all Glasforn's doing. The tavern owner.",
                "nextPhraseID":"tahalendor_rumblings103_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":70
                    }
                ]
            },
            {
                "text":"It was my brother Andor. I need to find him.",
                "nextPhraseID":"tahalendor_rumblings106_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":70
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":90
            },
            {
                "rewardType":"dropList",
                "rewardID":"tahalendor_present"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings100_0",
        "message":"It's a shame we cannot punish the culprits. Thank you for your help kid.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":100
            }
        ]
    },
    {
        "id":"tahalendor_rumblings103_0",
        "message":"That fool! We'll make him pay. Thank you for your help kid.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":103
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"stoutford_drinkers",
                "mapName":"stoutford_tavern"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings106_0",
        "message":"That is troublesome. I have no idea where he went when he left Stoutford, but Kazaul has always been linked to the Undertell, south of here. Thank you for your help kid.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_rumblings10x_0"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"rumblings",
                "value":106
            }
        ]
    },
    {
        "id":"tahalendor_rumblings10x_0",
        "message":"Go with the shadow child.",
        "replies":[
            {
                "text":"Shadow be with you.",
                "nextPhraseID":"X"
            },
            {
                "text":"Whatever.",
                "nextPhraseID":"X"
            },
            {
                "text":"Would you come with me to talk to Blornvale? He wants to confess something important.",
                "nextPhraseID":"tahalendor_thorns50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":65,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":74,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Yolgen told me that you could provide me with an artefact that could be used against powerful undead.",
                "nextPhraseID":"tahalendor_erwyn_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"stoutford_castle",
                        "value":12
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"stoutford_castle",
                        "value":14,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"tahalendor_rumblings10x_1"
            }
        ]
    },
    {
        "id":"tahalendor_rumblings90_0",
        "message":"Thank you for your help. Do you have any idea who might be responsible for all this?",
        "replies":[
            {
                "text":"Not really.",
                "nextPhraseID":"tahalendor_rumblings100_0"
            },
            {
                "text":"It was all Glasforn's doing. The tavern owner.",
                "nextPhraseID":"tahalendor_rumblings103_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":70
                    }
                ]
            },
            {
                "text":"It was my brother Andor. I need to find him.",
                "nextPhraseID":"tahalendor_rumblings106_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"rumblings",
                        "value":70
                    }
                ]
            }
        ]
    },
    {
        "id":"tahalendor_erwyn_1",
        "message":"What are you talking about?",
        "replies":[
            {
                "text":"I met an undead lord in the castle, but every time it seems that I have destroyed him, he rises again. Do you have any advice?",
                "nextPhraseID":"tahalendor_erwyn_2",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"erwyn",
                        "value":1
                    }
                ]
            },
            {
                "text":"I want to help you clean the castle of the undead. Yolgen seems to be worried, perhaps because he believes the undead could be too strong.",
                "nextPhraseID":"tahalendor_erwyn_2",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"erwyn",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"tahalendor_erwyn_2",
        "message":"Most undead can be destroyed quite easily, but there is a rare and powerful kind that are much more difficult to permanently destroy.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_erwyn_3"
            }
        ]
    },
    {
        "id":"tahalendor_erwyn_3",
        "message":"I think I have a solution though.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_erwyn_4"
            }
        ]
    },
    {
        "id":"tahalendor_erwyn_4",
        "message":"First, I need two coins. Please give me 2 gold coins.",
        "replies":[
            {
                "text":"OK.",
                "nextPhraseID":"tahalendor_erwyn_5",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":2
                    }
                ]
            },
            {
                "text":"No, I won't.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"tahalendor_erwyn_5",
        "message":"Now I will bless them with a special enchantment...\n[Tahalendor holds the coins over the altar and mutters something you can't hear]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"tahalendor_erwyn_6"
            }
        ]
    },
    {
        "id":"tahalendor_erwyn_6",
        "message":"Here you go. As soon as the undead lord appears to be destroyed, place one coin on each eye. This will prevent him from rising again, and soon after you have placed the coins his remains should disintegrate, as he returns to his natural state.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"stoutford_castle",
                "value":14
            },
            {
                "rewardType":"giveItem",
                "rewardID":"erwyn_coin",
                "value":2
            }
        ]
    },
    {
        "id":"glasforn_rumblings103_0",
        "message":"Boohoohoo ... the whole town hates me now. Even my dear customers left. Just the old hag who only drinks water stayed, and Lord Bourbon who never pays.",
        "replies":[
            {
                "text":"You deserved it.",
                "nextPhraseID":"glasforn_rumblings103_1"
            },
            {
                "text":"Well done.",
                "nextPhraseID":"glasforn_rumblings103_1"
            },
            {
                "text":"Whatever.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"glasforn_rumblings103_1",
        "message":"Boohoohoo..."
    },
    {
        "id":"kayla_3",
        "message":"No. Sorry."
    },
    {
        "id":"kayla_halvor_0",
        "message":"Halvor? Yes! He's so nice! Do you know him?",
        "replies":[
            {
                "text":"I hate the guy. He's nothing but trouble...",
                "nextPhraseID":"kayla_halvor_1"
            },
            {
                "text":"Sure, we keep meeting around the world in the most unusual places. I even helped him gather some items.",
                "nextPhraseID":"kayla_halvor_2"
            }
        ]
    },
    {
        "id":"kayla_halvor_1",
        "message":"He's always been good to me. If you don't like him, I don't like you!"
    },
    {
        "id":"kayla_halvor_2",
        "message":"So that's you! He told me about you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kayla_halvor_3"
            }
        ]
    },
    {
        "id":"kayla_halvor_3",
        "message":"He told me you were of great help.",
        "replies":[
            {
                "text":"It was a pleasure.",
                "nextPhraseID":"kayla_halvor_4"
            },
            {
                "text":"I just did my part.",
                "nextPhraseID":"kayla_halvor_4"
            },
            {
                "text":"Well, he paid good money.",
                "nextPhraseID":"kayla_halvor_4"
            }
        ]
    },
    {
        "id":"kayla_halvor_4",
        "message":"Anyway. I made these boots with the items he brought me.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kayla_halvor_5"
            }
        ]
    },
    {
        "id":"kayla_halvor_5",
        "message":"I'm really proud of the result.\nThey are light, but sturdy, thanks to the bones and insect wings.\nThey are comfortable but tough thanks to the animal hair and venomscale scales.\nThey are stiff when adjusted, thanks to the rat tails.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"kayla_halvor_6"
            }
        ]
    },
    {
        "id":"kayla_halvor_6",
        "message":"Here. Take these. I've given one pair to Halvor, and I'll keep the last one for myself.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"kayla_4"
            },
            {
                "text":"Wow. I have to try these. Goodbye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"halvor_surprise",
                "value":190
            },
            {
                "rewardType":"giveItem",
                "rewardID":"globetrotter_boots",
                "value":1
            }
        ]
    },
    {
        "id":"kayla_4",
        "message":"Do you want to trade?",
        "replies":[
            {
                "text":"Sure.",
                "nextPhraseID":"S"
            },
            {
                "text":"Not now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"stoutford_guard1_0b",
        "message":"Hey. Be careful what you do."
    },
    {
        "id":"stoutford_guard1_0c",
        "message":"Kids should not walk around alone in these times."
    },
    {
        "id":"glasforn_rumblings60_5_1",
        "message":"It was terrible! I could feel the necklace draining the life out of me, and the only thing that made me feel better was giving it another victim.",
        "replies":[
            {
                "text":"Why didn't you just take it off?",
                "nextPhraseID":"glasforn_rumblings60_5_2"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_5_2",
        "message":"I couldn't. When I tried, and failed, he laughed. He told me it was bound to that thing in the basement, which needed me to be its servant.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_5_3"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_5_3",
        "message":"Then he laughed some more, and told me that all I had to do was kill that thing, and I would be able to remove the necklace. I'm no fighter though. I was too scared to even go near it.",
        "replies":[
            {
                "text":"I guess you are lucky I visited, although just asking me to kill it would have been easier. And nicer.",
                "nextPhraseID":"glasforn_rumblings60_5_4"
            }
        ]
    },
    {
        "id":"glasforn_rumblings60_5_4",
        "message":"I didn't dare. The evening after Andor left his companion returned briefly. He warned me you might come here, and that if you found out what I had done you would kill me. He told me that my only hope was to make you the next victim.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"glasforn_rumblings60_6"
            }
        ]
    },
    {
        "id":"tahalendor_thorns50",
        "message":"If I must. Well, go ahead, I'll be there when you get there.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"thorns_vengeance",
                "value":65
            }
        ]
    },
    {
        "id":"tahalendor2_script_X",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"tahalendor2",
                "mapName":"stoutford_potion"
            }
        ]
    },
    {
        "id":"tahalendor2_0",
        "replies":[
            {
                "nextPhraseID":"blornvale_thorns72_92",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":75
                    }
                ]
            },
            {
                "nextPhraseID":"tahalendor2_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":72
                    }
                ]
            },
            {
                "nextPhraseID":"blornvale_thorns70_22",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"thorns_vengeance",
                        "value":71
                    }
                ]
            },
            {
                "nextPhraseID":"tahalendor2_10"
            }
        ]
    },
    {
        "id":"tahalendor2_10",
        "message":"What now?"
    },
    {
        "id":"tahalendor2_20",
        "message":"Well, I don't really believe it, but we could try. Blornvale, how did you kill Aryfora's father, your own brother?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"blornvale_thorns72_60"
            }
        ]
    }
]