[
    {
        "id":"ratdom_audir",
        "message":"Now that you mention it - yes. Long ago I made a good, sturdy pickaxe. But nobody wanted it for years, so I almost forgot it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_audir_1"
            }
        ]
    },
    {
        "id":"ratdom_audir_1",
        "message":"You could have it for 80 pieces of gold.",
        "replies":[
            {
                "text":"Great, I'll take it.",
                "nextPhraseID":"ratdom_audir_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":80
                    }
                ]
            },
            {
                "text":"Hmm, I will think about it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_audir_2",
        "message":"Here you are.",
        "replies":[
            {
                "text":"Thank you, bye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":82
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_pickaxe",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_bone_collector",
        "replies":[
            {
                "nextPhraseID":"ratdom_bone_collector_50",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_bone_collector_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":121
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_bone_collector_10"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_10",
        "message":"Oh, a visitor - how unusual!",
        "switchToNPC":"ratdom_bone_collector",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_bone_collector_12"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_12",
        "message":"I am Loirash. Nice to meet you.",
        "replies":[
            {
                "text":"Hi, nice to meet you.",
                "nextPhraseID":"ratdom_bone_collector_14"
            },
            {
                "text":"What are you doing here?",
                "nextPhraseID":"ratdom_bone_collector_16"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_14",
        "message":"You're probably wondering what I'm doing here deep in this dark cave.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_bone_collector_16"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_16",
        "message":"I am an instrument maker. Professional musical instruments, you know?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_bone_collector_18"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_18",
        "message":"At the moment I'm working on a new instrument made entirely of bone. I expect a sound from it that sends chills down the spine.",
        "replies":[
            {
                "text":"It's already doing that to me.",
                "nextPhraseID":"ratdom_bone_collector_20"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_20",
        "message":"This cave is a great source of bones of high quality, so I will stay until my instrument is complete.",
        "switchToNPC":"ratdom_bone_collector",
        "replies":[
            {
                "text":"May I have a look?",
                "nextPhraseID":"ratdom_bone_collector_22"
            },
            {
                "text":"OK. Have fun.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":121
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_22",
        "message":"Sure. Feel free."
    },
    {
        "id":"ratdom_goldhunter_talk",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_talk_b"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_50",
        "message":"Looks like you have something that doesn't belong to you?",
        "switchToNPC":"ratdom_bone_collector",
        "replies":[
            {
                "text":"Yes. I found this old leg bone of a rat. Can I purchase it?",
                "nextPhraseID":"ratdom_bone_collector_52"
            },
            {
                "text":"[Lie] No. I haven't taken anything.",
                "nextPhraseID":"ratdom_bone_collector_54",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_52",
        "message":"Well, no. This is my favorite bone, it makes a good sound. Put it back, please."
    },
    {
        "id":"ratdom_bone_collector_54",
        "message":"Yes you have. I'd better put it back again. This is a very valuable bone, you know? [Loirash takes the bone from you]",
        "replies":[
            {
                "text":"I see.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":120
            }
        ]
    },
    {
        "id":"ratdom_ff_guard",
        "replies":[
            {
                "nextPhraseID":"ratdom_ff_guard_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"jolnor",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_ff_guard_10"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_10",
        "message":"Go away!"
    },
    {
        "id":"ratdom_ff_guard_20",
        "message":"Hey, you!",
        "replies":[
            {
                "text":"Who, me?",
                "nextPhraseID":"ratdom_ff_guard_30"
            },
            {
                "text":"Hey, you!",
                "nextPhraseID":"ratdom_ff_guard_30"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_30",
        "message":"I know your face!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_ff_guard_40"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_40",
        "message":"You had made me leave my post in front of the Foaming Flask!",
        "replies":[
            {
                "text":"Oh. It's you ...",
                "nextPhraseID":"ratdom_ff_guard_42"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ff_outsideguard",
                "mapName":"road1"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_42",
        "message":"Surprised? I'm sure you didn't think we'd see each other again.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_ff_guard_50"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_50",
        "message":"I have lost everything because of this! Above all, my honor!",
        "replies":[
            {
                "text":"What honor?",
                "nextPhraseID":"ratdom_ff_guard_60"
            },
            {
                "text":"Sorry.",
                "nextPhraseID":"ratdom_ff_guard_60"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_60",
        "message":"I took refuge in this filthy cave to be safe from the guards of Feygard.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_ff_guard_70"
            }
        ]
    },
    {
        "id":"ratdom_ff_guard_70",
        "message":"You will pay for it now!",
        "replies":[
            {
                "text":"But you were so stupid ...",
                "nextPhraseID":"F"
            },
            {
                "text":"Attack!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_fraedro",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_fraedro_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_fraedro_1s"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_1",
        "message":"Please don't hurt me.",
        "switchToNPC":"ratdom_fraedro",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_fraedro_2"
            },
            {
                "text":"Why did you steal King Rah's skeleton?",
                "nextPhraseID":"ratdom_fraedro_10"
            },
            {
                "text":"OK, bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_1s",
        "message":"Please don't hurt me. I am starving.",
        "switchToNPC":"ratdom_fraedro",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_fraedro_2"
            },
            {
                "text":"Why did you steal King Rah's skeleton?",
                "nextPhraseID":"ratdom_fraedro_10"
            },
            {
                "text":"Starving? I have some cheese for you here.",
                "nextPhraseID":"ratdom_fraedro_cheese_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese",
                        "value":1
                    }
                ]
            },
            {
                "text":"Starving? I have some good cheddar from Charwood for you here.",
                "nextPhraseID":"ratdom_fraedro_cheese_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"charwood_cheddar",
                        "value":1
                    }
                ]
            },
            {
                "text":"Starving? I have some moldy blue cheese for you here.",
                "nextPhraseID":"ratdom_fraedro_cheese_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"charwood_cheddar",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_blue",
                        "value":1
                    }
                ]
            },
            {
                "text":"Starving? I have some goat cheese for you here. It smells only slightly.",
                "nextPhraseID":"ratdom_fraedro_cheese_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"charwood_cheddar",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese_blue",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_goat",
                        "value":1
                    }
                ]
            },
            {
                "text":"Starving? Sorry, I have no cheese for you.",
                "nextPhraseID":"ratdom_fraedro",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"charwood_cheddar",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese_blue",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"cheese_goat",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"OK, bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_2",
        "message":"Fraedro, good sir. Please don't hurt me.",
        "replies":[
            {
                "text":"Ah, that's why you're so heavily guarded.",
                "nextPhraseID":"ratdom_fraedro_4"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_4",
        "message":"I don't know why I'm being held here. I haven't done anything wrong.",
        "replies":[
            {
                "text":"Yeah, everyone says that.",
                "nextPhraseID":"ratdom_fraedro"
            },
            {
                "text":"I believe you. Go now, while you can.",
                "nextPhraseID":"ratdom_fraedro_20"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_10",
        "message":"It was not me! It was not me!",
        "replies":[
            {
                "text":"Finally confess!",
                "nextPhraseID":"ratdom_fraedro_10"
            },
            {
                "text":"I believe you. Go now, while you can.",
                "nextPhraseID":"ratdom_fraedro_20"
            },
            {
                "text":"I am going to kill you for your deeds now.",
                "nextPhraseID":"ratdom_fraedro_12"
            },
            {
                "text":"I give up.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_12",
        "message":"Please don't! It was not me!",
        "replies":[
            {
                "text":"Die now!",
                "nextPhraseID":"ratdom_fraedro_14"
            },
            {
                "text":"Run and live with your guilty conscience.",
                "nextPhraseID":"ratdom_fraedro_20"
            },
            {
                "text":"I give up.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_14",
        "replies":[
            {
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":399
            }
        ]
    },
    {
        "id":"ratdom_fraedro_20",
        "message":"What? Thank you, thank you! [Fraedro turns to flee, losing a small golden key in the process]",
        "replies":[
            {
                "text":"You better get out of the area quick.",
                "nextPhraseID":"R"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":398
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_fraedro_key",
                "value":1
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_fraedro",
                "mapName":"ratdom_maze_626"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_cheese_1",
        "message":"Oh, my pleading has been heard. Thanks!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_fraedro_cheese_10"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_cheese_10",
        "message":"You must be the rightful heir of King Rah.",
        "replies":[
            {
                "text":"Who, me?",
                "nextPhraseID":"ratdom_fraedro_cheese_12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"Sure.",
                "nextPhraseID":"ratdom_fraedro_cheese_20"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_cheese_12",
        "message":"Of course I am.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_fraedro_cheese_20"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_cheese_20",
        "message":"Then you shall get your sword back. I had only borrowed it and taken good care of it.",
        "switchToNPC":"ratdom_fraedro",
        "replies":[
            {
                "text":"King Rah's sword?",
                "nextPhraseID":"ratdom_fraedro_cheese_30"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_cheese_30",
        "message":"You'll find it further down in the caves. Say the words 'Veni gladio fidelis'.",
        "replies":[
            {
                "text":"I'll try to remember.",
                "nextPhraseID":"ratdom_fraedro_cheese_32",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":180
            }
        ]
    },
    {
        "id":"ratdom_fraedro_cheese_32",
        "message":"[Clevred rolls his eyes] He. will. try. to remember. That can only go wrong.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_fraedro"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_talk_b",
        "switchToNPC":"ratdom_goldhunter",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_talk_20",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_goldhunter",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":72
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_goldhunter_talk_10",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_goldhunter",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_talk_10",
        "message":"No tresspassing! What do you want?",
        "switchToNPC":"ratdom_goldhunter",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_goldhunter_talk_12"
            },
            {
                "text":"Hey, hey - calm down!",
                "nextPhraseID":"ratdom_goldhunter_talk_12"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_talk_12",
        "message":"No - you can't fool me! You just want to steal my gold! Go away!",
        "replies":[
            {
                "text":"But ...",
                "nextPhraseID":"ratdom_goldhunter_talk_20"
            },
            {
                "text":"OK, I'll leave.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_talk_20",
        "message":"Leave me alone!",
        "replies":[
            {
                "text":"May I come to you, so that we could talk a bit?",
                "nextPhraseID":"ratdom_goldhunter_talk_30"
            },
            {
                "text":"Well, I'll leave. May you rot among your gold coins.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":72
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_talk_30",
        "message":"Don't you dare! Put a foot into the water and you are dead!",
        "replies":[
            {
                "text":"But how did you get onto your little isle?",
                "nextPhraseID":"ratdom_goldhunter_talk_40"
            },
            {
                "text":"Enough. Enjoy yourself.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_talk_40",
        "message":"You would like to know, he? But I won't tell you!",
        "replies":[
            {
                "text":"Enough. Enjoy yourself.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_kriih",
        "replies":[
            {
                "nextPhraseID":"ratdom_kriih_202",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":398
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_kriih_200",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":399
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_kriih_10"
            }
        ]
    },
    {
        "id":"ratdom_kriih_10",
        "message":"Hi $playername. I am watching you."
    },
    {
        "id":"ratdom_kriih_200",
        "message":"Hi $playername. Well done.",
        "replies":[
            {
                "text":"What do you mean?",
                "nextPhraseID":"ratdom_kriih_210"
            }
        ]
    },
    {
        "id":"ratdom_kriih_202",
        "message":"Hi $playername. I am not amused with what you have done.",
        "replies":[
            {
                "text":"What do you mean?",
                "nextPhraseID":"ratdom_kriih_204"
            }
        ]
    },
    {
        "id":"ratdom_kriih_204",
        "message":"You released Fraedro. You should have killed him or left him in custody.",
        "replies":[
            {
                "text":"I think Fraedro is absolutely innocent.",
                "nextPhraseID":"ratdom_kriih_206"
            }
        ]
    },
    {
        "id":"ratdom_kriih_206",
        "message":"My plan was that Fraedro should be sentenced to death.",
        "replies":[
            {
                "text":"Really - why?",
                "nextPhraseID":"ratdom_kriih_220"
            }
        ]
    },
    {
        "id":"ratdom_kriih_210",
        "message":"Killing Fraedro. I loved to see that.",
        "replies":[
            {
                "text":"He earned it.",
                "nextPhraseID":"ratdom_kriih_220"
            }
        ]
    },
    {
        "id":"ratdom_kriih_220",
        "message":"He deserved death, yes. But not because of the stupid skeleton of Rah.",
        "replies":[
            {
                "text":"Not? Now I'm confused.",
                "nextPhraseID":"ratdom_kriih_230"
            }
        ]
    },
    {
        "id":"ratdom_kriih_230",
        "message":"Of course not. As if Fraedro could. He's far too good a rat to do such a thing.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_kriih_240"
            }
        ]
    },
    {
        "id":"ratdom_kriih_240",
        "message":"I took the skeleton myself and scattered the pieces so that no one would find them.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_kriih_250"
            }
        ]
    },
    {
        "id":"ratdom_kriih_250",
        "message":"And then I blamed it on my cousin Fraedro.",
        "replies":[
            {
                "text":"How mean!",
                "nextPhraseID":"ratdom_kriih_260"
            }
        ]
    },
    {
        "id":"ratdom_kriih_260",
        "message":"Hahaha! You are funny!",
        "replies":[
            {
                "text":"Why did you do that? He's your cousin.",
                "nextPhraseID":"ratdom_kriih_270"
            }
        ]
    },
    {
        "id":"ratdom_kriih_270",
        "message":"Yes, yes. But he got in my way.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_kriih_280"
            }
        ]
    },
    {
        "id":"ratdom_kriih_280",
        "message":"I caught him and presented him to Wart. He believed my story and put him under arrest.",
        "replies":[
            {
                "text":"And then I killed him.",
                "nextPhraseID":"ratdom_kriih_290",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":399
                    }
                ]
            },
            {
                "text":"And then I have set him free.",
                "nextPhraseID":"ratdom_kriih_300",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":398
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_kriih_290",
        "message":"That was even better than I had planned. I have to thank you. Here, take some coins for the dirty work.",
        "replies":[
            {
                "text":"I don't want your bloody gold.",
                "nextPhraseID":"ratdom_kriih_292"
            },
            {
                "text":"It had better be many coins.",
                "nextPhraseID":"ratdom_kriih_294"
            }
        ]
    },
    {
        "id":"ratdom_kriih_292",
        "message":"Oh how cute. This two-leg has a guilty conscience. It just keeps getting better!",
        "replies":[
            {
                "text":"I should leave before I forget myself.",
                "nextPhraseID":"X"
            },
            {
                "text":"Now you pay for it - attack!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_kriih_294",
        "message":"10 pieces of gold is not enough? Oh, you draw your weapon? I think I'd better be gone ...",
        "replies":[
            {
                "text":"Wait, you coward!",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_kriih",
                "mapName":"ratdom_maze_412"
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_kriih_300",
        "message":"Yes, you have destroyed my beautiful plan. You have to pay for that.",
        "replies":[
            {
                "text":"We'll see who pays here.",
                "nextPhraseID":"F"
            },
            {
                "text":"I have to run.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_maze_boulder",
        "message":"Ouch!",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fire",
                "value":3
            }
        ]
    },
    {
        "id":"ratdom_librarian",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_librarian_42",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":95
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_librarian_2"
            }
        ]
    },
    {
        "id":"ratdom_librarian_2",
        "message":"Andor! Good that you are back at last!",
        "replies":[
            {
                "text":"I am $playername. You have confused me with my brother.",
                "nextPhraseID":"ratdom_librarian_10"
            },
            {
                "text":"Indeed. Any news?",
                "nextPhraseID":"ratdom_librarian_20"
            },
            {
                "text":"Here I have a new book for your library.",
                "nextPhraseID":"ratdom_librarian_40",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"book_world_history",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_librarian_10",
        "message":"Yes. I see it now. Please leave. My master is not present today.",
        "replies":[
            {
                "text":"Andor - master? What ... Where is my brother?",
                "nextPhraseID":"ratdom_librarian_12"
            }
        ]
    },
    {
        "id":"ratdom_librarian_12",
        "message":"That does not concern you. Mind your own business and leave now!",
        "replies":[
            {
                "text":"Bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"Tell me about Andor, or ...",
                "nextPhraseID":"ratdom_librarian_14"
            }
        ]
    },
    {
        "id":"ratdom_librarian_14",
        "message":"Or what? Attack? Hahaha!",
        "replies":[
            {
                "text":"You'll soon stop laughing.",
                "nextPhraseID":"F"
            },
            {
                "text":"Just you wait when I come back.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_librarian_20",
        "message":"I am not sure. Today I hear footsteps of strangers in the corridors.",
        "replies":[
            {
                "text":"[muttering] Probably mine.",
                "nextPhraseID":"ratdom_librarian_22"
            },
            {
                "text":"Then what are you waiting for? Go and look who is wandering through our passages!",
                "nextPhraseID":"ratdom_librarian_30"
            },
            {
                "text":"Nonsense. Strangers would never find this secret library.",
                "nextPhraseID":"ratdom_librarian_24"
            }
        ]
    },
    {
        "id":"ratdom_librarian_22",
        "message":"What? You are the stranger! You are not allowed to be here!",
        "replies":[
            {
                "text":"It's fine, I'm going already.",
                "nextPhraseID":"X"
            },
            {
                "text":"Andor is my brother. I'm going to look for a clue to his whereabouts now. You won't stop me from doing that.",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_librarian_24",
        "message":"You're right, I'm sure I only see pipe dreams.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_librarian_26",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"book_world_history",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_librarian_26",
        "message":"If only I had something to read. Something new, that I haven't read twenty times already.",
        "replies":[
            {
                "text":"Here I have a new book for your library.",
                "nextPhraseID":"ratdom_librarian_40",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"book_world_history",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_librarian_30",
        "message":"As you command me - I'll be right back.",
        "replies":[
            {
                "text":"Take your time, better to be be thorough!",
                "nextPhraseID":"ratdom_librarian_32"
            }
        ]
    },
    {
        "id":"ratdom_librarian_32",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"R"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":93
            }
        ]
    },
    {
        "id":"ratdom_librarian_40",
        "message":"Oh! What a wonder! I always wanted to have a copy of that wonderful book!\nHere, take this special bone as a token of my everlasting thanks. [gives leg bone of a rat]",
        "replies":[
            {
                "text":"A lousy bone for this valuable book?!",
                "nextPhraseID":"ratdom_librarian_42"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_back",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":95
            }
        ]
    },
    {
        "id":"ratdom_librarian_42",
        "message":"The librarian is completely absorbed in his new book.",
        "switchToNPC":"none"
    },
    {
        "id":"ratdom_maze_mole",
        "message":"Who's there?"
    },
    {
        "id":"ratdom_mikhail",
        "switchToNPC":"ratdom_mikhail",
        "replies":[
            {
                "nextPhraseID":"ratdom_mikhail_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":52,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":54,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_10_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_70",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":70
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_01"
            }
        ]
    },
    {
        "id":"ratdom_mikhail_01",
        "message":"Good. You are awake at last.",
        "replies":[
            {
                "text":"A rat? Here?",
                "nextPhraseID":"ratdom_mikhail_02"
            }
        ]
    },
    {
        "id":"ratdom_mikhail_02",
        "message":"As you see. Did you find your brother Andor already? He hasn't been back home for a while now.",
        "replies":[
            {
                "text":"Eh, what? No, I am still looking for Andor.",
                "nextPhraseID":"ratdom_mikhail_03"
            }
        ]
    },
    {
        "id":"ratdom_mikhail_03",
        "message":"I should have guessed. Anyway.",
        "replies":[
            {
                "text":"What are you doing in my house? Where is Mikhail?",
                "nextPhraseID":"ratdom_mikhail_04"
            }
        ]
    },
    {
        "id":"ratdom_mikhail_04",
        "message":"We rats took over this village. I am Gruiik, their leader.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_mikhail_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_mikhail_10",
        "message":"However, there are two-legs running around in my garden again. Go and kill them.",
        "replies":[
            {
                "text":"I'll have a look.",
                "nextPhraseID":"ratdom_mikhail_10_10"
            },
            {
                "text":"I would never do that!",
                "nextPhraseID":"ratdom_mikhail_10_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":20
            }
        ]
    },
    {
        "id":"ratdom_mikhail_10_10",
        "message":"And I am hungry. Go to the town hall and bring me some bread.",
        "replies":[
            {
                "text":"OK.",
                "nextPhraseID":"X"
            },
            {
                "text":"Forget it.",
                "nextPhraseID":"X"
            },
            {
                "text":"Here I have some bread for you.",
                "nextPhraseID":"ratdom_mikhail_10_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":70
            }
        ]
    },
    {
        "id":"ratdom_mikhail_10_20",
        "message":"It's about time.",
        "replies":[
            {
                "text":"What - no thanks? Rats.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":74
            }
        ]
    },
    {
        "id":"ratdom_mikhail_50",
        "message":"Is my garden clean of filthy two-legs again?",
        "replies":[
            {
                "text":"No, not yet",
                "nextPhraseID":"X"
            },
            {
                "text":"Yes, I killed Mara and Tharal in the garden for you.",
                "nextPhraseID":"ratdom_mikhail_50_2",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_mara",
                        "value":1
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_tharal",
                        "value":1
                    }
                ]
            },
            {
                "text":"(lie) I killed Mara and Tharal in the garden for you.",
                "nextPhraseID":"ratdom_mikhail_50_4",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_mara",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_tharal",
                        "value":1
                    }
                ]
            },
            {
                "text":"(lie) I killed Mara and Tharal in the garden for you.",
                "nextPhraseID":"ratdom_mikhail_50_4",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_mara",
                        "value":1
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_tharal",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"(lie) I killed Mara and Tharal in the garden for you.",
                "nextPhraseID":"ratdom_mikhail_50_4",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_mara",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_tharal",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_mikhail_50_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_mikhail_50_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":52
            }
        ]
    },
    {
        "id":"ratdom_mikhail_50_4",
        "replies":[
            {
                "nextPhraseID":"ratdom_mikhail_50_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":54
            }
        ]
    },
    {
        "id":"ratdom_mikhail_50_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_mikhail_10_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_70",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":74,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_80"
            }
        ]
    },
    {
        "id":"ratdom_mikhail_70",
        "message":"Where is my bread? Why does it need to take so long?",
        "replies":[
            {
                "text":"Just a minute.",
                "nextPhraseID":"X"
            },
            {
                "text":"Forget it.",
                "nextPhraseID":"X"
            },
            {
                "text":"Here I have some bread for you.",
                "nextPhraseID":"ratdom_mikhail_74",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":1
                    }
                ]
            },
            {
                "text":"Hey - I have brought some bread already.",
                "nextPhraseID":"ratdom_mikhail_80",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":74
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_mikhail_74",
        "replies":[
            {
                "nextPhraseID":"ratdom_mikhail_80",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":52
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_80",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":54
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_mikhail_10_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":74
            }
        ]
    },
    {
        "id":"ratdom_mikhail_80",
        "message":"Good! Now I don't need you anymore!",
        "replies":[
            {
                "text":"OK.",
                "nextPhraseID":"X"
            },
            {
                "text":"I would have gone anyway.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":90
            }
        ]
    },
    {
        "id":"ratdom_mikhail_90",
        "message":"The huge rat ignores you now.",
        "switchToNPC":"none"
    },
    {
        "id":"ratdom_rat",
        "message":"This is my bed - go away!",
        "replies":[
            {
                "text":"How do I get out of here?",
                "nextPhraseID":"ratdom_rat_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Where would I find this yellow artifact thing?",
                "nextPhraseID":"ratdom_rat_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":70,
                        "negate":true
                    }
                ]
            },
            {
                "text":"There is a nice new statue in the cave.",
                "nextPhraseID":"ratdom_rat_60",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":80,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I tried to pass by Andor's statue, but there is not enough space.",
                "nextPhraseID":"ratdom_rat_80",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":80
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":90,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Look! I have a pickaxe now.",
                "nextPhraseID":"ratdom_rat_82",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":82
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":90,
                        "negate":true
                    }
                ]
            },
            {
                "text":"There is a little bone shaped hole in the wall behind the statue. What shall I do now?",
                "nextPhraseID":"ratdom_rat_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":90
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I found a dark deep passage behind our supply cave.",
                "nextPhraseID":"ratdom_rat_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":100
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_conv2",
                        "value":5,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Will I ever be able to use my bed again? Sigh.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_conv2",
                        "value":5
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":900,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Clevred, I give up. You must search for your powerful artifact alone.",
                "nextPhraseID":"ratdom_rat_200",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_conv2",
                        "value":5
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":900,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":90
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_rat_10",
        "message":"I know the way out, of course. Rats always know the way out.",
        "replies":[
            {
                "text":"Great. Show me the way out of this rat infested place here.",
                "nextPhraseID":"ratdom_rat_10_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_10_10",
        "message":"Sure. You must do me a favor first. Help me to find a yellow, round artifact. Then I'll show you the exit.",
        "replies":[
            {
                "text":"A yellow round artifact? Where would I find this thing?",
                "nextPhraseID":"ratdom_rat_50"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":50
            }
        ]
    },
    {
        "id":"ratdom_rat_50",
        "message":"Thing! Don't call it just 'thing'! It is a great marvel in our world!",
        "replies":[
            {
                "text":"If you say so. And where is this marvel?",
                "nextPhraseID":"ratdom_rat_52"
            }
        ]
    },
    {
        "id":"ratdom_rat_52",
        "message":"It is deep in the rat cave, of course. Use your eyes.",
        "replies":[
            {
                "text":"In our supply cave? That should be easy.",
                "nextPhraseID":"X"
            },
            {
                "text":"There is a nice new statue in the cave.",
                "nextPhraseID":"ratdom_rat_60",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":60
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":52
            }
        ]
    },
    {
        "id":"ratdom_rat_60",
        "message":"Yes. The artifact must be behind this statue. Did you look there?",
        "replies":[
            {
                "text":"Not yet. I didn't even know there was a statue in our supply cave. How long has it been there?",
                "nextPhraseID":"ratdom_rat_60_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_60_10",
        "message":"We erected the statue in honor of Andor for never killing rats.",
        "replies":[
            {
                "text":"OK. I'll have a look behind the statue.",
                "nextPhraseID":"X"
            },
            {
                "text":"How do I pass by the statue?",
                "nextPhraseID":"ratdom_rat_70"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":70
            }
        ]
    },
    {
        "id":"ratdom_rat_70",
        "message":"Probably you are too fat to get by. Tear the statue down. But don't tell any rat that I said so.",
        "replies":[
            {
                "text":"It's a pity to destroy such a beautiful statue.",
                "nextPhraseID":"ratdom_rat_70_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_70_10",
        "message":"Hmm. I had better accompany you. I think it would be wise to keep an eye on you."
    },
    {
        "id":"ratdom_rat_80",
        "message":"The statue is well built. You'll probably need a pickaxe to tear it down.",
        "replies":[
            {
                "text":"Where would I get a pickaxe?",
                "nextPhraseID":"ratdom_rat_80_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_80_10",
        "message":"Oh dear - I can't believe it! Are you really that stupid?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_80_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_80_20",
        "message":"Think for yourself; where are pickaxes supposed to be?"
    },
    {
        "id":"ratdom_rat_82",
        "message":"Then why didn't you tried to get behind the statue yet?"
    },
    {
        "id":"ratdom_rat_90",
        "message":"In the shape of bones? That is a key hole, of course!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_90_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_90_10",
        "message":"Now, let's find out where Gruiik stores his bone supply."
    },
    {
        "id":"ratdom_rat_100",
        "message":"I hope  you have finally found my artifact?",
        "replies":[
            {
                "text":"Eh, no, not yet.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_200",
        "message":"NO! You want to leave me alone in this huge maze?",
        "replies":[
            {
                "text":"Eh, of course not.",
                "nextPhraseID":"X"
            },
            {
                "text":"Well, I don't see any way to help you.",
                "nextPhraseID":"ratdom_rat_210"
            }
        ]
    },
    {
        "id":"ratdom_rat_210",
        "message":"You promised. You promised to find my artifact for me.",
        "replies":[
            {
                "text":"Yes, you're right. Let's try again. Back to the caves!",
                "nextPhraseID":"X"
            },
            {
                "text":"I can't keep the promise. Sorry.",
                "nextPhraseID":"ratdom_rat_220"
            }
        ]
    },
    {
        "id":"ratdom_rat_220",
        "message":"So I should keep looking on my own?",
        "replies":[
            {
                "text":"Yes.",
                "nextPhraseID":"ratdom_rat_230"
            },
            {
                "text":"Well ...",
                "nextPhraseID":"ratdom_rat_230"
            }
        ]
    },
    {
        "id":"ratdom_rat_230",
        "message":"And you still want me to tell you how to get out of here?",
        "replies":[
            {
                "text":"Yes. Please.",
                "nextPhraseID":"ratdom_rat_240"
            },
            {
                "text":"Alright, you won. Let's try again.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_240",
        "message":"Fine, you don't want it any other way. I'll find the artifact on my own. Farewell.",
        "replies":[
            {
                "text":"Farewell. And sorry.",
                "nextPhraseID":"ratdom_rat_250"
            },
            {
                "text":"Wait ...",
                "nextPhraseID":"ratdom_rat_242"
            }
        ]
    },
    {
        "id":"ratdom_rat_242",
        "message":"Yes?",
        "replies":[
            {
                "text":"I was stupid. Forget what I said.",
                "nextPhraseID":"ratdom_rat_244"
            },
            {
                "text":"Nothing.",
                "nextPhraseID":"ratdom_rat_240"
            }
        ]
    },
    {
        "id":"ratdom_rat_244",
        "message":"Don't ever scare me like that again."
    },
    {
        "id":"ratdom_rat_250",
        "message":"Bye. We will never meet again.",
        "replies":[
            {
                "text":"Bye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":940
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_quest",
                "value":942
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":13
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":21
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":22
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":23
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_rat",
                "mapName":"home"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_rat_bwm1",
                "mapName":"ratdom_bwm1"
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_roundling2",
                "mapName":"ratdom_maze_448"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling",
                "mapName":"ratdom_maze_627"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling3",
                "mapName":"ratdom_maze_627"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_mara",
                "mapName":"crossglen"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_tharal",
                "mapName":"crossglen"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"crossglen_caverat",
                "mapName":"crossglen"
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"ratdom_keys",
                "mapName":"crossglen"
            }
        ]
    },
    {
        "id":"ratdom_rat_bwm1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_bwm1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_bwm1_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_bwm1_10",
        "message":"Your brother was here often. He had made himself rather comfortable.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":130
            }
        ]
    },
    {
        "id":"ratdom_rat_bwm1_20",
        "message":"Nobody seemed to be here for a long time.",
        "switchToNPC":"none"
    },
    {
        "id":"ratdom_rat_pub_owner",
        "message":"Hi, have a drink?",
        "replies":[
            {
                "text":"You are running a pub here?",
                "nextPhraseID":"ratdom_rat_pub_owner_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_pub_owner_10",
        "message":"Yes, I've always wanted that. Only my customers are usually a bit special.",
        "replies":[
            {
                "text":"I see.",
                "nextPhraseID":"ratdom_rat_pub_owner_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_pub_owner_20",
        "message":"They are very picky, especially when it comes to food. For example, nobody has ordered anything today.",
        "replies":[
            {
                "text":"What are you offering?",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"ratdom_king_rah",
        "message":"Who dareth to challenge me?",
        "switchToNPC":"ratdom_king_rah",
        "replies":[
            {
                "text":"King Rah? You are not dead since long ago?",
                "nextPhraseID":"ratdom_king_rah_52",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"King Rah? You are not dead since long ago?",
                "nextPhraseID":"ratdom_king_rah_54",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_king_rah_52",
        "message":"Probably this is just a vision to protect the sword.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Probably??",
                "nextPhraseID":"ratdom_king_rah_54"
            }
        ]
    },
    {
        "id":"ratdom_king_rah_54",
        "message":"Proveth thyself worthy to wield my sword!",
        "switchToNPC":"ratdom_king_rah",
        "replies":[
            {
                "text":"OK then. Attack!",
                "nextPhraseID":"F"
            },
            {
                "text":"Uh, I'll be right back ...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden",
        "message":"Yes please?",
        "replies":[
            {
                "text":"I have found some bones. May I enter now?",
                "nextPhraseID":"ratdom_rat_warden_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":310
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":390,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_rat_warden_10"
            },
            {
                "text":"What are you doing here?",
                "nextPhraseID":"ratdom_rat_warden_10"
            },
            {
                "text":"Could you tell me something about this place?",
                "nextPhraseID":"ratdom_rat_warden_30"
            },
            {
                "text":"Oh, it's nothing. I just tried the bell.",
                "nextPhraseID":"ratdom_rat_warden_20"
            },
            {
                "text":"Please give me back my cheese.",
                "nextPhraseID":"ratdom_rat_warden_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1
                    }
                ]
            },
            {
                "text":"Please give me back my cheese.",
                "nextPhraseID":"ratdom_rat_warden_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1
                    }
                ]
            },
            {
                "text":"Please give me back my cheese.",
                "nextPhraseID":"ratdom_rat_warden_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese3",
                        "value":1
                    }
                ]
            },
            {
                "text":"Please give me back my cheese.",
                "nextPhraseID":"ratdom_rat_warden_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese3",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese4",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_10",
        "message":"I am the warden of our Memorial Hall. I keep the exhibits in order and answer questions from visitors. Call me Wart.",
        "replies":[
            {
                "text":"Could you tell me anything about this place?",
                "nextPhraseID":"ratdom_rat_warden_30"
            },
            {
                "text":"Wart - really? [giggle]",
                "nextPhraseID":"ratdom_rat_warden_20"
            },
            {
                "text":"OK, bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_20",
        "message":"[Incomprehensible muttering]",
        "replies":[
            {
                "text":"OK, just leave me then.",
                "nextPhraseID":"R"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_30",
        "message":"This used to be a happy place of memories. Many objects and statues from the past invite you to linger and think. Every rat loved this place.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_31"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_31",
        "message":"Well, almost every rat.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_32"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_32",
        "message":"But Fraedro was filled with jealousy and consumed with envy.",
        "replies":[
            {
                "text":"Yes, it is always the same thing.",
                "nextPhraseID":"ratdom_rat_warden_33"
            },
            {
                "text":"Sigh. I know that story already. Get to the point.",
                "nextPhraseID":"ratdom_rat_warden_44b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":310
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_33",
        "message":"How he hated it when visitors crowded these halls around the valuable exhibits and admired the statues.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_34"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_34",
        "message":"He wanted to be the center of attention. A larger-than-life statue of himself should dominate the room, he thought.",
        "replies":[
            {
                "text":"Such a braggart.",
                "nextPhraseID":"ratdom_rat_warden_35"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_35",
        "message":"He hated especially the fully preserved skeleton of King Rah, the powerful founder of this empire. It was particularly brilliant: King Rah, standing upright, his dreaded sword in his bony right hand.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_36"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_36",
        "message":"Yes, King Rah was a great leader. Many battles were fought against the monsters that came out of the rift. But when the superiority became too great, Rah led his people into the caves under the Blackwater Mountains and founded a new empire there.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_37"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_37",
        "message":"The wise King Rah had the existing caves further expanded as protection.",
        "replies":[
            {
                "text":"That's why the passages are laid out so confusingly?",
                "nextPhraseID":"ratdom_rat_warden_38"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_38",
        "message":"Right. This should be additional protection from enemies.",
        "replies":[
            {
                "text":"Interesting. But why is the passage here closed now?",
                "nextPhraseID":"ratdom_rat_warden_40"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_40",
        "message":"One bad day I found this place ransacked! Only an empty pedestal remained where the richly decorated skeleton of King Rah had been.",
        "replies":[
            {
                "text":"No.",
                "nextPhraseID":"ratdom_rat_warden_41"
            },
            {
                "text":"How did that happen?",
                "nextPhraseID":"ratdom_rat_warden_42"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_41",
        "message":"Yes.",
        "replies":[
            {
                "text":"Ooh.",
                "nextPhraseID":"ratdom_rat_warden_42"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_42",
        "message":"This was probably Fraedro's most terrifying act. We found him and confronted him.",
        "replies":[
            {
                "text":"Such a miserable villain!",
                "nextPhraseID":"ratdom_rat_warden_44"
            },
            {
                "text":"Did he admit it?",
                "nextPhraseID":"ratdom_rat_warden_44"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_44",
        "message":"Of course he denied everything, that hypocrite! But who else could have done it?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_44a"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_44a",
        "message":"He deserved immediate death for this terrible act. However, we only locked him up until he would reveal where he stashed our beloved royal skeleton.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_44b"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_44b",
        "message":"For security reasons, we don't let anyone in or out until King Rah is back in his accustomed place.",
        "replies":[
            {
                "text":"Even 100 pieces of gold wouldn't change your mind?",
                "nextPhraseID":"ratdom_rat_warden_46a"
            },
            {
                "text":"If the skeleton is back, may I pass?",
                "nextPhraseID":"ratdom_rat_warden_48",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":390,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I want to talk with Fraedro.",
                "nextPhraseID":"ratdom_rat_warden_46b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":395,
                        "negate":true
                    }
                ]
            },
            {
                "text":"What lies behind this blocked passage?",
                "nextPhraseID":"ratdom_rat_warden_46c"
            },
            {
                "text":"May I enter?",
                "nextPhraseID":"ratdom_rat_warden_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":310
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":390,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_46a",
        "message":"Of course not! This door will remain closed until King Rah returns.",
        "replies":[
            {
                "text":"Sorry.",
                "nextPhraseID":"ratdom_rat_warden_44b"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_46b",
        "message":"Impossible! No way.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_44b"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_46c",
        "message":"The memory hall of course.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_44d"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_44d",
        "message":"And another tunnel, but only a short distance and a dead end.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_44e"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_44e",
        "message":"We never go there, there are scary noises coming from there.",
        "replies":[
            {
                "text":"Finally light at the end of the tunnel.",
                "nextPhraseID":"ratdom_rat_warden_44b"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_48",
        "message":"If King Rah is with us again, that would be great! Of course you can then go to our memory hall. You would be our guest of honor.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_48a"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":310
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_48a",
        "message":"But we are not there yet.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_80"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_50",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_52",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_skull",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg",
                        "value":4
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_tail",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_ribs",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_60",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_skull",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_61",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_65",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_tail",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_66",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_67",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_ribs",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_69"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_52",
        "message":"Let's have a look. Oh, what are my old eyes seeing? King Rah is back, completely! I am overwhelmed with joy!\nYou may pass now of course.",
        "replies":[
            {
                "text":"I hope you can puzzle your king back together.",
                "nextPhraseID":"ratdom_rat_warden_54"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":390
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_54",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54d",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"25"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54c",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54b",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54a"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_54a",
        "message":"Thank you!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_54b",
        "message":"Thank you a thousand times!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_54c",
        "message":"Thanks!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_54d",
        "message":"I am so grateful.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_54"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_60",
        "message":"Wonderful! You've already recovered King Rah's head!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_70"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_61",
        "message":"You've already recovered some of King Rah's legs.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_70"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_65",
        "message":"Ah, you've already recovered King Rah's tail!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_70"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_66",
        "message":"Good, you've already recovered King Rah's back bone.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_70"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_67",
        "message":"Great! These bones look like King Rah's ribs!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_70"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_69",
        "message":"Please go and find all of King Rah's bones.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_80"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_70",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_70a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg",
                        "value":4
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_tail",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_ribs",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_71a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_skull",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_tail",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_ribs",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_75a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_skull",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg",
                        "value":4
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_ribs",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_76a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_skull",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg",
                        "value":4
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_tail",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_ribs",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_77a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_skull",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg",
                        "value":4
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_tail",
                        "value":1
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_79"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_70a",
        "message":"Let's have a look ... Great! Only King Rah's head is missing. You will find it too, I am sure.",
        "replies":[
            {
                "text":"Of course.",
                "nextPhraseID":"X"
            },
            {
                "text":"I hope it is worth the hard work.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":321
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_71a",
        "message":"Let's have a look ... Great! Now we only need the fourth leg. You will find it too, I am sure.",
        "replies":[
            {
                "text":"Of course.",
                "nextPhraseID":"X"
            },
            {
                "text":"I hope it is worth the hard work.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":325
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_75a",
        "message":"Let's have a look ... Great! Only King Rah's tail is missing. You will find it too, I am sure.",
        "replies":[
            {
                "text":"Of course.",
                "nextPhraseID":"X"
            },
            {
                "text":"I hope it is worth the hard work.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":324
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_76a",
        "message":"Let's have a look ... Great! Only King Rah's back bone is missing. You will find it too, I am sure.",
        "replies":[
            {
                "text":"Of course.",
                "nextPhraseID":"X"
            },
            {
                "text":"I hope it is worth the hard work.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":322
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_77a",
        "message":"Let's have a look ... Great! Only King Rah's rib bones are missing. You will find them too, I am sure.",
        "replies":[
            {
                "text":"Of course.",
                "nextPhraseID":"X"
            },
            {
                "text":"I hope it is worth the hard work.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":323
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_79",
        "message":"Let's have a look ... In total we need the head, the ribs and the back bone, 4 legs and the tail of course.",
        "replies":[
            {
                "text":"OK, I'll be back.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":320
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_80",
        "message":"I can't let you enter our Memorial Hall. We have to get back our skeleton statue of King Rah first.",
        "switchToNPC":"ratdom_rat_warden",
        "replies":[
            {
                "text":"OK. I will find the bones for you.",
                "nextPhraseID":"ratdom_rat_warden_90"
            },
            {
                "text":"This maze is terrible. Do you have any idea how I could find my way out again?",
                "nextPhraseID":"ratdom_rat_warden_82"
            },
            {
                "text":"Do you have any idea where I should go looking for your bones?",
                "nextPhraseID":"ratdom_rat_warden_90"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":310
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_82",
        "message":"That is easy. Just choose the exit where you see rats in front of it. Rats always know their way out.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_84"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_84",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_86",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_80"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_86",
        "message":"Didn't I tell you?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"You talk all the time and too much anyway. I can't always listen to that.",
                "nextPhraseID":"ratdom_rat_warden_80"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_90",
        "message":"The cave system is huge and really very confusing. It already surprised me how you found your way to me here.",
        "switchToNPC":"ratdom_rat_warden",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_91"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_91",
        "message":"Maybe you'll find wisdom in my compass?",
        "replies":[
            {
                "text":"What compass?",
                "nextPhraseID":"ratdom_rat_warden_92"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_92",
        "message":"Start at the entrance where you entered the lower part of these caves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_94"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_94",
        "message":"There you put on the necklace with my compass. With this compass you may perceive otherwise invisible signs on the walls. Follow these.",
        "replies":[
            {
                "text":"What signs?",
                "nextPhraseID":"ratdom_rat_warden_95"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_95",
        "message":"Shields in orange and yellow color. Orange for the main route and yellow for short side tunnels.",
        "replies":[
            {
                "text":"What?",
                "nextPhraseID":"ratdom_rat_warden_95_10"
            },
            {
                "text":"OK.",
                "nextPhraseID":"ratdom_rat_warden_96"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_95_10",
        "message":"Should there be a branch, there will be an additional flag. The side trip is marked with a yellow shield.",
        "replies":[
            {
                "text":"What?",
                "nextPhraseID":"ratdom_rat_warden_95_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_95_20",
        "message":"Sigh. If you see an orange shield together with a flag, then first look for another passage marked with a yellow shield.",
        "replies":[
            {
                "text":"And then?",
                "nextPhraseID":"ratdom_rat_warden_95_30"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_95_30",
        "message":"Follow this passage to the end. You might find something important there. Then go back to the crossing and follow the orange shield again.",
        "replies":[
            {
                "text":"Eh, OK. Got it.",
                "nextPhraseID":"ratdom_rat_warden_95_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"Eh, OK. Got it.",
                "nextPhraseID":"ratdom_rat_warden_95_41",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":132
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_compass_tour"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_95_40",
        "message":"[muttering] I want to hope so, but I don't really believe it yet.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_96"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_95_41",
        "message":"[muttering] I want to hope so, but I don't really believe it yet.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_96"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_96",
        "message":"It will be a far journey. But you will meet everything that you need to meet. And even more.",
        "switchToNPC":"ratdom_rat_warden",
        "replies":[
            {
                "text":"This is finally good news.",
                "nextPhraseID":"ratdom_rat_warden_98"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_98",
        "message":"Beware! It slows you down, because your mind is clouded and partly in another dimension.",
        "replies":[
            {
                "text":"No problem. Show me this wonderful item.",
                "nextPhraseID":"S"
            },
            {
                "text":"However, I am as poor as a church rat.",
                "nextPhraseID":"ratdom_rat_warden_99",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":5555,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":192,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_99",
        "message":"Well, I have too good a heart. Here, take the amulet for 100 gold pieces.",
        "replies":[
            {
                "text":"Oh thank you! Here is the gold.",
                "nextPhraseID":"ratdom_rat_warden_99a",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":100
                    }
                ]
            },
            {
                "text":"I will think about it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_99a",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_compass_tour",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":192
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_1",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_2",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_3",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese3",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_4",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese4",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_50"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_1",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese1",
                "value":-1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"cheese",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_2",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese2",
                "value":-1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"charwood_cheddar",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_3",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_3",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese3",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese3",
                "value":-1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"cheese_blue",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_4",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_warden_cheese_4",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese4",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_warden_cheese"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese4",
                "value":-1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"cheese_goat",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_50",
        "message":"Sure, here you are.",
        "replies":[
            {
                "text":"Thank you. Here, have some coins.",
                "nextPhraseID":"ratdom_rat_warden_cheese_52",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":2
                    }
                ]
            },
            {
                "text":"Wasn't there one or two more pieces of cheese?",
                "nextPhraseID":"ratdom_rat_warden_cheese_54"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_52",
        "message":"2 gold coins - how very generous.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden_cheese_53"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cheese_53",
        "message":"[low voice] Scrooge."
    },
    {
        "id":"ratdom_rat_warden_cheese_54",
        "message":"Insolence. I'll pretend that I didn't hear it."
    },
    {
        "id":"ratdom_rat_warden2",
        "message":"Welcome to our great rat memory hall! Shall I tell you something about our great expositions?",
        "replies":[
            {
                "text":"Thank you, I'll find my way.",
                "nextPhraseID":"X"
            },
            {
                "text":"Why is here an empty pedestal?",
                "nextPhraseID":"ratdom_rat_warden2_r_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":130,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I want to visit Fraedro.",
                "nextPhraseID":"ratdom_rat_warden2_r_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":130,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Do you have anything for sale?",
                "nextPhraseID":"S"
            },
            {
                "text":"Please give me back my cheese.",
                "nextPhraseID":"ratdom_rat_warden2_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1
                    }
                ]
            },
            {
                "text":"Please give me back my delicious Charwood cheddar.",
                "nextPhraseID":"ratdom_rat_warden2_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1
                    }
                ]
            },
            {
                "text":"Please give me back my moldy blue cheese.",
                "nextPhraseID":"ratdom_rat_warden2_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese3",
                        "value":1
                    }
                ]
            },
            {
                "text":"Please give me back my goat cheese.",
                "nextPhraseID":"ratdom_rat_warden2_cheese",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese1",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese2",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese3",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"factionScore",
                        "requireID":"ratdom_rat_cheese4",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_cheese",
        "message":"Sure. Let's go outside.",
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_rat_warden",
                "mapName":"ratdom_maze_624"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_1",
        "message":"Here stood the statue of King Rah. I told you about it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden2_r_2"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_2",
        "message":"Thank you for bringing the bones back to me. But I still have to put them back together.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_warden2_r_3"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_3",
        "message":"Until then, our great museum will have to do without this highlight of the exhibition.",
        "replies":[
            {
                "text":"Too bad.",
                "nextPhraseID":"ratdom_rat_warden2_r_14"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_14",
        "message":"For security reasons, we don't let anyone talk with Fraedro until he finally admits everything.",
        "replies":[
            {
                "text":"I did find the skeleton. Can Fraedro be released now?",
                "nextPhraseID":"ratdom_rat_warden2_r_15"
            },
            {
                "text":"Can I speak to Fraedro? Maybe he regrets what he did and wouldn't do it again.",
                "nextPhraseID":"ratdom_rat_warden2_r_16",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":390,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I don't think it was Fraedro.",
                "nextPhraseID":"ratdom_rat_warden2_r_17"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_15",
        "message":"Of course not. He would steal the bones just one more time.",
        "replies":[
            {
                "text":"You have a sad opinion of your fellow rats.",
                "nextPhraseID":"ratdom_rat_warden2_r_15a"
            },
            {
                "text":"Can I speak to Fraedro? Maybe he regrets what he did and wouldn't do it again.",
                "nextPhraseID":"ratdom_rat_warden2_r_16"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_15a",
        "message":"They're just rats. What do you expect?",
        "replies":[
            {
                "text":"Can I speak to Fraedro? Maybe he regrets what he did and wouldn't do it again.",
                "nextPhraseID":"ratdom_rat_warden2_r_16"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16",
        "message":"No, you can't speak to Fraedro. It is too dangerous.",
        "replies":[
            {
                "text":"Well, I have 100 gold pieces here. Can I speak to Fraedro?",
                "nextPhraseID":"ratdom_rat_warden2_r_16a",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":100
                    }
                ]
            },
            {
                "text":"I would like to offer him 100 gold pieces to let me through, but I don't have enough with me.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Maybe it wasn't Fraedro after all?",
                "nextPhraseID":"ratdom_rat_warden2_r_17"
            },
            {
                "text":"Alright, I think I'll take a look at the rest of the exhibition now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16a",
        "message":"You think you could bribe me for a ridiculous 100 gold pieces?",
        "replies":[
            {
                "text":"Eh, no. Of course not. Sorry. I'd better leave.",
                "nextPhraseID":"X"
            },
            {
                "text":"Well, if you don't want the gold ...",
                "nextPhraseID":"ratdom_rat_warden2_r_16b",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":100
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16b",
        "message":"Wait! [He takes the gold hastily] Sure you can talk to Fraedro. Do you see the stairs over there? Just walk along there, you can't miss it.",
        "replies":[
            {
                "text":"OK, bye.",
                "nextPhraseID":"ratdom_rat_warden2_r_16c"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":395
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16c",
        "message":"I hope you don't think I'll keep the gold for myself. I will use it for the museum.",
        "replies":[
            {
                "text":"Sure, bye.",
                "nextPhraseID":"ratdom_rat_warden2_r_16d"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16d",
        "message":"You do not believe me!",
        "replies":[
            {
                "text":"Yes, of course I believe you. But I have to go on.",
                "nextPhraseID":"ratdom_rat_warden2_r_16e"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16e",
        "message":"I'm honest as a church rat. Yes indeed.",
        "replies":[
            {
                "text":"Bye.",
                "nextPhraseID":"ratdom_rat_warden2_r_16f"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16f",
        "message":"I am a little offended that you would accuse me of something despicable like accepting gold.",
        "replies":[
            {
                "text":"But I just want to go.",
                "nextPhraseID":"ratdom_rat_warden2_r_16x"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_16x",
        "message":"Yes, go now, and don't keep me from my work.",
        "replies":[
            {
                "text":"??",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden2_r_17",
        "message":"Of course he was. It couldn't have been otherwise. Go now please, I have work to do."
    },
    {
        "id":"ratdom_roundling",
        "message":"If strangers come hither to gain \nour treasure, their hope is in vain. \nIn the darkest deep ground, \nwith our Yellow Round, \ntheir bones will forever remain.",
        "replies":[
            {
                "text":"What a nice poem. They are good, aren't they, Clevred?",
                "nextPhraseID":"ratdom_roundling_10"
            }
        ]
    },
    {
        "id":"ratdom_roundling_10",
        "message":"Really, they're good at poetry. But we'll take the artifact with us anyway.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Of course. So now to work ...",
                "nextPhraseID":"ratdom_roundling_90"
            }
        ]
    },
    {
        "id":"ratdom_roundling_90",
        "switchToNPC":"ratdom_roundling",
        "replies":[
            {
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"fct_ratdom_roundling",
                "value":-10
            }
        ]
    },
    {
        "id":"ratdom_roundling2",
        "message":"A thief who thinks to get through \nwith our treasure, is due \nto give his life \nupon a strife, \nand all his stolen goods too.",
        "replies":[
            {
                "text":"Eh, let us think a minute.",
                "nextPhraseID":"X"
            },
            {
                "text":"Well, OK. We have no chance against so many roundlings.",
                "nextPhraseID":"ratdom_roundling2_10"
            },
            {
                "text":"Never - attack!",
                "nextPhraseID":"ratdom_roundling2_90"
            }
        ]
    },
    {
        "id":"ratdom_roundling2_10",
        "message":"Coward! You didn't even try.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Never call me coward! Attack!",
                "nextPhraseID":"ratdom_roundling2_90"
            },
            {
                "text":"They are too many for us, we would be killed. Let's give up the artifact.",
                "nextPhraseID":"ratdom_roundling2_12"
            }
        ]
    },
    {
        "id":"ratdom_roundling2_12",
        "message":"Never! I'd rather die!",
        "replies":[
            {
                "text":"If you think so, then let's attack!",
                "nextPhraseID":"ratdom_roundling2_90"
            },
            {
                "text":"Die you will, if you can't let go of it. I will leave it behind.",
                "nextPhraseID":"ratdom_roundling2_20"
            }
        ]
    },
    {
        "id":"ratdom_roundling2_20",
        "message":"I see. I thought you were braver. Go then, I don't want to see you again!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":960
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":10
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":11
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":13
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling",
                "mapName":"ratdom_maze_627"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling3",
                "mapName":"ratdom_maze_627"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling2",
                "mapName":"ratdom_maze_448"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_rat",
                "mapName":"home"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_rat_bwm1",
                "mapName":"ratdom_bwm1"
            }
        ]
    },
    {
        "id":"ratdom_roundling2_90",
        "switchToNPC":"ratdom_roundling2",
        "replies":[
            {
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"fct_ratdom_roundling2",
                "value":-10
            }
        ]
    },
    {
        "id":"ratdom_skeleton1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skeleton_10",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"guynmart_bonering",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton1_20"
            }
        ]
    },
    {
        "id":"ratdom_skeleton2",
        "replies":[
            {
                "nextPhraseID":"ratdom_skeleton_10",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"guynmart_bonering",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton2_20"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_10",
        "message":"The ring. This human wears the ring of bone. Let him pass.",
        "replies":[
            {
                "text":"A bit scary - but really useful, this ring.",
                "nextPhraseID":"X"
            },
            {
                "text":"You are in my way. Attack!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_skeleton1_20",
        "replies":[
            {
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_skeleton1",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_skeleton2_20",
        "replies":[
            {
                "nextPhraseID":"F"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_skeleton2",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skeleton_boss_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_70",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":71
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":61
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_60",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":61
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_51",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":51
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":41
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_11"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss2",
        "replies":[
            {
                "nextPhraseID":"ratdom_skeleton_boss_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_70",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":72
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":62
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_60",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":62
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_52",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":52
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":42
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skeleton_boss_12"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11",
        "message":"Mortal - What are you doing in my realm?",
        "replies":[
            {
                "text":"I have lost my way. Could you help me?",
                "nextPhraseID":"ratdom_skeleton_boss_11_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":42,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I have come to kill you.",
                "nextPhraseID":"ratdom_skeleton_boss_10_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":62
                    }
                ]
            },
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_skeleton_boss_11_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":62,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12",
        "message":"Mortal - What are you doing in my realm?",
        "replies":[
            {
                "text":"I have lost my way. Could you help me?",
                "nextPhraseID":"ratdom_skeleton_boss_12_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":41,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I have come to kill you.",
                "nextPhraseID":"ratdom_skeleton_boss_10_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":61
                    }
                ]
            },
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_skeleton_boss_12_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":61,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11_10",
        "message":"Of course I could. But why should I?",
        "replies":[
            {
                "text":"Yes, right. Why should you?",
                "nextPhraseID":"ratdom_skeleton_boss_11"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12_10",
        "message":"Of course I could. But why should I?",
        "replies":[
            {
                "text":"Yes, right. Why should you?",
                "nextPhraseID":"ratdom_skeleton_boss_12"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_10_20",
        "message":"Mortal! You amuse me. I will have you as my jester.",
        "replies":[
            {
                "text":"We'll see! Let's fight!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11_30",
        "message":"I am Roskelt, the Great. King of the caves. Nobody equals me.",
        "replies":[
            {
                "text":"I have lost my way. Could you help me?",
                "nextPhraseID":"ratdom_skeleton_boss_11_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":42,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Aha.",
                "nextPhraseID":"ratdom_skeleton_boss_11_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":42,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Interesting. Bloskelt said the same.",
                "nextPhraseID":"ratdom_skeleton_boss_11_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":42
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12_30",
        "message":"I am Bloskelt, the Great. King of the caves. Nobody equals me.",
        "replies":[
            {
                "text":"I have lost my way. Could you help me?",
                "nextPhraseID":"ratdom_skeleton_boss_12_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":41,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Aha.",
                "nextPhraseID":"ratdom_skeleton_boss_12_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":41,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Interesting. Roskelt said the same.",
                "nextPhraseID":"ratdom_skeleton_boss_12_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":41
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11_40",
        "message":"There is just one being that denies me my rightful title. Bloskelt, my wretched brother.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_skeleton_boss_11_42"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12_40",
        "message":"There is just one being that denies me my rightful title. Roskelt, my wretched brother.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_skeleton_boss_12_42"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11_42",
        "message":"You go and find Bloskelt! Tell him that he shall come to me to surrender! He would receive the grace of a quick, almost painless death.",
        "replies":[
            {
                "text":"How generous.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12_42",
        "message":"You go and find Roskelt! Tell him that he shall come to me to surrender! He would receive the grace of a quick, almost painless death.",
        "replies":[
            {
                "text":"How generous.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11_50",
        "message":"My brother again! He always tries to mock me! And surely you are now going to tell me, that I should surrender?",
        "replies":[
            {
                "text":"Eh, yes. How did you know?",
                "nextPhraseID":"ratdom_skeleton_boss_11_52"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12_50",
        "message":"My brother again! He always tries to mock me! And surely  you are now going to tell me, that I should surrender?",
        "replies":[
            {
                "text":"Eh, yes. How did you know?",
                "nextPhraseID":"ratdom_skeleton_boss_12_52"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_11_52",
        "message":"HAHAHA! I will not give up and surrender to him! Never! Tell him that. HAHAHAHA!",
        "replies":[
            {
                "text":"I will go and tell Bloskelt. Although the messenger of bad news always gets into trouble ...",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":52
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_12_52",
        "message":"HAHAHA! I will not give up and surrender to him! Never! Tell him that. HAHAHAHA!",
        "replies":[
            {
                "text":"I will go and tell Roskelt. Although the messenger of bad news always gets into trouble ...",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":51
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_40",
        "message":"Mortal! Where is my brother?",
        "replies":[
            {
                "text":"I didn't find him yet.",
                "nextPhraseID":"ratdom_skeleton_boss_40_10"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_40_10",
        "message":"Then look again, thoroughly."
    },
    {
        "id":"ratdom_skeleton_boss_51",
        "message":"Mortal! Did you fulfil your task?",
        "replies":[
            {
                "text":"I delivered your message, but Bloskelt was just laughing.",
                "nextPhraseID":"ratdom_skeleton_boss_51_10"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_52",
        "message":"Mortal! Did you fulfil your task?",
        "replies":[
            {
                "text":"I delivered your message, but Roskelt was just laughing.",
                "nextPhraseID":"ratdom_skeleton_boss_52_10"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_51_10",
        "message":"Then go again. And kill him.",
        "replies":[
            {
                "text":"Kill him? But it is your brother?",
                "nextPhraseID":"ratdom_skeleton_boss_50_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":61
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_52_10",
        "message":"Then go again. And kill him.",
        "replies":[
            {
                "text":"Kill him? But it is your brother?",
                "nextPhraseID":"ratdom_skeleton_boss_50_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":62
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_50_20",
        "message":"Yes, that's why. Hurry now.",
        "replies":[
            {
                "text":"Oh, OK.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_60",
        "message":"Mortal! Did you fulfil your task?",
        "replies":[
            {
                "text":"To kill your brother? No, not yet.",
                "nextPhraseID":"ratdom_skeleton_boss_60_10"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_60_10",
        "message":"Then what do you want here? Go and do it."
    },
    {
        "id":"ratdom_skeleton_boss_70",
        "message":"Mortal! Did you fulfil your task?",
        "replies":[
            {
                "text":"Yes. Your brother is dead.",
                "nextPhraseID":"ratdom_skeleton_boss_70_10"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_70_10",
        "message":"Good. I will shower you with gold, jewels and bones.",
        "replies":[
            {
                "text":"Hm, not much of a shower ... and ugh - there are even rat bones included.",
                "nextPhraseID":"ratdom_skeleton_boss_70_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":90
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":18
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gem1",
                "value":2
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":37
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_ribs",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_70_20",
        "message":"What? Do I hear ungrateful words?",
        "replies":[
            {
                "text":"No, everything is well.",
                "nextPhraseID":"X"
            },
            {
                "text":"Enough! Let's fight!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_90",
        "message":"Thank you again for your effort.",
        "replies":[
            {
                "text":"It could have been a bit more gold.",
                "nextPhraseID":"ratdom_skeleton_boss_90_10"
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss_90_10",
        "message":"What? Do I hear ungrateful words?",
        "replies":[
            {
                "text":"Eh, no, it is nothing. Bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"I will take my gold now - attack!",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"ratdom_well_wise",
        "message":"Omm..."
    },
    {
        "id":"ratdom_well_wise3",
        "message":"Omm...",
        "replies":[
            {
                "text":"Hi! I am $playername.",
                "nextPhraseID":"ratdom_well_wise3_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Omm.",
                "nextPhraseID":"ratdom_well_wise3_20"
            }
        ]
    },
    {
        "id":"ratdom_well_wise3_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_wise3"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":50
            }
        ]
    },
    {
        "id":"ratdom_well_wise3_20",
        "message":"Ommmmm...",
        "replies":[
            {
                "text":"I am $playername. Who are you?",
                "nextPhraseID":"ratdom_well_wise3_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Omm.",
                "nextPhraseID":"ratdom_well_wise3_10"
            },
            {
                "text":"Ommmmm...",
                "nextPhraseID":"ratdom_well_wise3_30"
            }
        ]
    },
    {
        "id":"ratdom_well_wise3_30",
        "message":"Omm... ommm... ommmmm...",
        "replies":[
            {
                "text":"Omm... omm... omm...",
                "nextPhraseID":"ratdom_well_wise3_10"
            },
            {
                "text":"Omm... ommm... ommmmm...",
                "nextPhraseID":"ratdom_well_wise3_50"
            },
            {
                "text":"Omm... ommm... ommmmmm...",
                "nextPhraseID":"ratdom_well_wise3_10"
            }
        ]
    },
    {
        "id":"ratdom_well_wise3_50",
        "message":"Very good. Finally a learned being in this rat hole.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_well_wise3_52",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":30,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_wise3_52",
        "message":"In gratitude for the great joy I give you this rat skull.",
        "replies":[
            {
                "text":"Eh - nice, thank you.",
                "nextPhraseID":"ratdom_well_wise3_90"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":30
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_skull",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_well_wise3_90",
        "message":"Come again whenever you want. It is a nice diversion to talk with someone with a bit of brain at least."
    },
    {
        "id":"whootibarfag",
        "message":"Greetings, young being.",
        "replies":[
            {
                "text":"Hello to you, old man.",
                "nextPhraseID":"whootibarfag_20"
            },
            {
                "text":"Do you have something to trade?",
                "nextPhraseID":"whootibarfag_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":200
            }
        ]
    },
    {
        "id":"whootibarfag_10",
        "message":"Young people are always in a hurry. In my time, you introduced yourself first.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_12"
            }
        ]
    },
    {
        "id":"whootibarfag_12",
        "message":"We'll try again from the beginning.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag"
            }
        ]
    },
    {
        "id":"whootibarfag_20",
        "message":"I am Whootibarfag, wise of the Blackwater mountains.",
        "replies":[
            {
                "text":"Nice to meet you. I am $playername from Crossglen, if you should know the village.",
                "nextPhraseID":"whootibarfag_24"
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"whootibarfag_22"
            }
        ]
    },
    {
        "id":"whootibarfag_22",
        "message":"Sigh. Always in a hurry. Again - who are you?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_20"
            }
        ]
    },
    {
        "id":"whootibarfag_24",
        "message":"Now, what brings you to this lonely area?",
        "replies":[
            {
                "text":"I'm helping a cheeky little rat find an artifact.",
                "nextPhraseID":"whootibarfag_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":900,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"whootibarfag_30"
            },
            {
                "text":"I recovered and brought back Rat King Rah's skeleton.",
                "nextPhraseID":"whootibarfag_200",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":390
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":210,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_30",
        "message":"I should have known. No one comes up here to ask for wisdom.",
        "replies":[
            {
                "text":"Not now. Let us trade first.",
                "nextPhraseID":"whootibarfag_32"
            },
            {
                "text":"All right, let's get this over with. Enlighten us.",
                "nextPhraseID":"whootibarfag_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_32",
        "message":"I have great knowledge, you know?",
        "replies":[
            {
                "text":"Maybe another time. Let's just trade.",
                "nextPhraseID":"whootibarfag_40"
            },
            {
                "text":"Then finally say what you want to say. And after that show me your goods.",
                "nextPhraseID":"whootibarfag_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_40",
        "message":"Sigh. Well, I have interesting items to sell. However, no food, I need it for myself.",
        "replies":[
            {
                "text":"Then what do you have for sale?",
                "nextPhraseID":"whootibarfag_42"
            }
        ]
    },
    {
        "id":"whootibarfag_42",
        "message":"Torches to light your way.",
        "replies":[
            {
                "text":"I already have one.",
                "nextPhraseID":"whootibarfag_44"
            }
        ]
    },
    {
        "id":"whootibarfag_44",
        "message":"Hand carved snowballs.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_46"
            }
        ]
    },
    {
        "id":"whootibarfag_46",
        "message":"And finally, a medallion that will help you find your way here if your memory fails you.",
        "replies":[
            {
                "text":"Now that sounds interesting. Show me your items, please.",
                "nextPhraseID":"S"
            },
            {
                "text":"However, I am as poor as a church rat.",
                "nextPhraseID":"whootibarfag_48",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":3333,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":191,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_48",
        "message":"Well, I have too good a heart. Here, take the amulet for 100 gold pieces.",
        "replies":[
            {
                "text":"Oh thank you! Here is the gold.",
                "nextPhraseID":"whootibarfag_48a",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":100,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I will think about it.",
                "nextPhraseID":"whootibarfag_48b"
            }
        ]
    },
    {
        "id":"whootibarfag_48a",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_48b"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_compass_bwm",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":191
            }
        ]
    },
    {
        "id":"whootibarfag_48b",
        "message":"Well, now some wisdom ...",
        "replies":[
            {
                "text":"It is getting late. Bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"All right, let's get this over with. Enlighten us.",
                "nextPhraseID":"whootibarfag_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_50",
        "message":"Ah, a sacred quest for a mystical object. Good luck on your way.",
        "replies":[
            {
                "text":"Thanks. Then we'll go looking further.",
                "nextPhraseID":"X"
            },
            {
                "text":"Maybe you can help us?",
                "nextPhraseID":"whootibarfag_52"
            }
        ]
    },
    {
        "id":"whootibarfag_52",
        "message":"Who knows? Tell me about your artifact.",
        "replies":[
            {
                "text":"Maybe another time. Let's just trade.",
                "nextPhraseID":"whootibarfag_40"
            },
            {
                "text":"It's big, round and yellow. Clevered, what else do you know about this?",
                "nextPhraseID":"whootibarfag_54",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_54",
        "message":"Oh, whoever possesses this artifact will be rich and never go hungry again.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Gold?",
                "nextPhraseID":"whootibarfag_56"
            }
        ]
    },
    {
        "id":"whootibarfag_56",
        "message":"Who needs gold?! It is much better.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_68"
            }
        ]
    },
    {
        "id":"whootibarfag_68",
        "message":"Clevred tells and tells.",
        "switchToNPC":"none",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_70"
            }
        ]
    },
    {
        "id":"whootibarfag_70",
        "message":"Hold on!",
        "switchToNPC":"whootibarfag",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_71"
            }
        ]
    },
    {
        "id":"whootibarfag_71",
        "message":"I'm afraid I can't help you much there. I'm more familiar with the events out here on the mountain.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_72"
            }
        ]
    },
    {
        "id":"whootibarfag_72",
        "message":"But you might ask an old friend of mine. He has a small but valuable collection of important items and I'm sure he'll be happy to show you around.",
        "replies":[
            {
                "text":"We'll look for him.",
                "nextPhraseID":"whootibarfag_74",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":310,
                        "negate":true
                    }
                ]
            },
            {
                "text":"You mean Wart? We have already met him.",
                "nextPhraseID":"whootibarfag_76",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":310
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_74",
        "message":"You may find him in the caves below, even deeper in the mountain.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"whootibarfag_76"
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"whootibarfag_30"
            }
        ]
    },
    {
        "id":"whootibarfag_76",
        "message":"Good, so that's settled. Now I could share a little of my wisdom with you?",
        "replies":[
            {
                "text":"Not now. Let us trade first.",
                "nextPhraseID":"whootibarfag_32"
            },
            {
                "text":"All right, let's get this over with. Enlighten me.",
                "nextPhraseID":"whootibarfag_100"
            }
        ]
    },
    {
        "id":"whootibarfag_100",
        "message":"I know that I know nothing.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_110"
            }
        ]
    },
    {
        "id":"whootibarfag_110",
        "message":"But at least I think, so I am. Then I left the cave.",
        "replies":[
            {
                "text":"From the shadows to the light.",
                "nextPhraseID":"whootibarfag_112"
            }
        ]
    },
    {
        "id":"whootibarfag_112",
        "message":"Yes, yes! How did you know?",
        "replies":[
            {
                "text":"I just guessed.",
                "nextPhraseID":"whootibarfag_120"
            }
        ]
    },
    {
        "id":"whootibarfag_120",
        "message":"Now I need to know what is louder: the noise of a lonely falling tree, or the sound of one hand clapping.",
        "replies":[
            {
                "text":"Eh ...",
                "nextPhraseID":"whootibarfag_122"
            }
        ]
    },
    {
        "id":"whootibarfag_122",
        "message":"I didn't really expect you to know.",
        "replies":[
            {
                "text":"Yes. I know.",
                "nextPhraseID":"whootibarfag_130",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"Enough. It's getting late.",
                "nextPhraseID":"whootibarfag_190",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_130",
        "message":"There are many paths leading to happiness.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_132"
            }
        ]
    },
    {
        "id":"whootibarfag_132",
        "message":"One of them is to stop whining.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_140"
            }
        ]
    },
    {
        "id":"whootibarfag_140",
        "message":"Hey - I'm the one with the wisdom here!",
        "switchToNPC":"whootibarfag",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_142"
            }
        ]
    },
    {
        "id":"whootibarfag_142",
        "message":"Arrogance is the surest path to failure.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_150"
            }
        ]
    },
    {
        "id":"whootibarfag_150",
        "message":"From failure we learn.",
        "switchToNPC":"whootibarfag",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_152"
            }
        ]
    },
    {
        "id":"whootibarfag_152",
        "message":"Learn as if you were to live forever.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_190"
            }
        ]
    },
    {
        "id":"whootibarfag_190",
        "message":"Seize the day.",
        "switchToNPC":"whootibarfag",
        "replies":[
            {
                "text":"Enough! What. do. you. have. for. sale?",
                "nextPhraseID":"whootibarfag_40"
            },
            {
                "text":"I give up. Come, Clevred, let us leave.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_200",
        "message":"Oh, yes. Of course I know.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_202"
            }
        ]
    },
    {
        "id":"whootibarfag_202",
        "message":"Nothing remains hidden from me that is happening here in the mountain.",
        "replies":[
            {
                "text":"I really had to run around a lot.",
                "nextPhraseID":"whootibarfag_210",
                "requires":[
                    {
                        "requireType":"skillLevel",
                        "requireID":"evasion",
                        "value":4,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"whootibarfag_210",
        "message":"Well, I see you've learned a lot by searching the rat kingdom. But you're still missing one thing ...",
        "replies":[
            {
                "text":"What do you mean?",
                "nextPhraseID":"whootibarfag_220"
            },
            {
                "text":"Do you mean wisdom?",
                "nextPhraseID":"whootibarfag_212"
            },
            {
                "text":"Yes, I lack patience. The patience to keep listening to your babble.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"whootibarfag_212",
        "message":"Wisdom? No, hahaha!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_214"
            }
        ]
    },
    {
        "id":"whootibarfag_214",
        "message":"Leave wisdom to the wise. So to me.",
        "replies":[
            {
                "text":"So what am I missing?",
                "nextPhraseID":"whootibarfag_220"
            },
            {
                "text":"I will. What do you have for sale?",
                "nextPhraseID":"whootibarfag_42"
            },
            {
                "text":"As you wish. I leave the wise now. Bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"whootibarfag_220",
        "message":"You've seen enough rats skilfully flee and escape.",
        "replies":[
            {
                "text":"Oh yes, I actually have.",
                "nextPhraseID":"whootibarfag_222"
            }
        ]
    },
    {
        "id":"whootibarfag_222",
        "message":"You just haven't understood that you can make this ability your own.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_224"
            }
        ]
    },
    {
        "id":"whootibarfag_224",
        "message":"Come closer.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"whootibarfag_226"
            }
        ]
    },
    {
        "id":"whootibarfag_226",
        "message":"Closer ...",
        "replies":[
            {
                "text":"[You hold your breath - from tension, and because of his bad breath.]",
                "nextPhraseID":"whootibarfag_230"
            }
        ]
    },
    {
        "id":"whootibarfag_230",
        "message":"Whootibarfag let you in on the secret of the rat escape. This increases your ability to flee and escape.",
        "switchToNPC":"none",
        "replies":[
            {
                "text":"Hey! Yes of course! That's how it works!",
                "nextPhraseID":"whootibarfag_240"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":210
            },
            {
                "rewardType":"skillIncrease",
                "rewardID":"evasion",
                "value":1
            }
        ]
    },
    {
        "id":"whootibarfag_240",
        "message":"Use this knowledge well. Go now, I need some rest.",
        "switchToNPC":"whootibarfag",
        "replies":[
            {
                "text":"Thanks for all your help. Good bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"gael_cook",
        "message":"I cook my own meat, thank you very much!",
        "replies":[
            {
                "text":"I've been looking for a way to cook my meat.",
                "nextPhraseID":"gael_cook_10"
            }
        ]
    },
    {
        "id":"gael_cook_10",
        "message":"I could use some extra gold. So I can cook them for you for let's say 30 gold a piece.",
        "replies":[
            {
                "text":"Well, here is 1 piece and 30 gold.",
                "nextPhraseID":"get_one_cooked_meat",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":30
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"meat",
                        "value":1
                    }
                ]
            },
            {
                "text":"OK, I have 5 pieces and 150 gold.",
                "nextPhraseID":"get_five_cooked_meat",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":150
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"meat",
                        "value":5
                    }
                ]
            },
            {
                "text":"Here, I have 10 pieces that I would like cooked. Here are 300 gold pieces too.",
                "nextPhraseID":"get_ten_cooked_meat",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":300
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"meat",
                        "value":10
                    }
                ]
            },
            {
                "text":"I'm hungry! Here are 20 pieces and 600 gold.",
                "nextPhraseID":"get_twenty_cooked_meat",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":600
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"meat",
                        "value":20
                    }
                ]
            },
            {
                "text":"Oh, my mistake, I forgot that I have no meat.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"meat",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Oops, I'm still poor. I can't afford to pay your price.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":30,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"get_one_cooked_meat",
        "message":"Only one? That's no problem. Here's your cooked meat.",
        "rewards":[
            {
                "rewardType":"dropList",
                "rewardID":"one_cooked_meat"
            }
        ]
    },
    {
        "id":"get_five_cooked_meat",
        "message":"Just five? That's no problem. Here's all your cooked meat.",
        "rewards":[
            {
                "rewardType":"dropList",
                "rewardID":"five_cooked_meat"
            }
        ]
    },
    {
        "id":"get_ten_cooked_meat",
        "message":"10 meat at once? That's no problem. Here's all your cooked meat.",
        "rewards":[
            {
                "rewardType":"dropList",
                "rewardID":"ten_cooked_meat"
            }
        ]
    },
    {
        "id":"get_twenty_cooked_meat",
        "message":"20 meat at once?! You may even love this stuff more than I do. Here's all your cooked meat.",
        "rewards":[
            {
                "rewardType":"dropList",
                "rewardID":"twenty_cooked_meat"
            }
        ]
    },
    {
        "id":"kendelow_meat",
        "message":"No, sorry. I can't let you use my kitchen. But...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"gael_cook_10"
            }
        ]
    }
]