[
    {
        "id":"ratdom_455_chest",
        "replies":[
            {
                "nextPhraseID":"ratdom_455_chest_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":150,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_455_chest_20"
            }
        ]
    },
    {
        "id":"ratdom_455_chest_10",
        "message":"This chest is empty.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":150
            }
        ]
    },
    {
        "id":"ratdom_455_chest_20",
        "replies":[
            {
                "nextPhraseID":"ratdom_455_chest_35",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"17"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_455_chest_34",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_455_chest_33",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"25"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_455_chest_32",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_455_chest_31",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_455_chest_30"
            }
        ]
    },
    {
        "id":"ratdom_455_chest_30",
        "message":"This chest is still empty."
    },
    {
        "id":"ratdom_455_chest_31",
        "message":"No matter how often you look - this chest is empty."
    },
    {
        "id":"ratdom_455_chest_32",
        "message":"Empty."
    },
    {
        "id":"ratdom_455_chest_33",
        "message":"Oh! What a surprise!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_455_chest_33a"
            }
        ]
    },
    {
        "id":"ratdom_455_chest_33a",
        "message":"This time the chest looks even more empty."
    },
    {
        "id":"ratdom_455_chest_34",
        "message":"Your sighs resound as a loud echo from the empty chest."
    },
    {
        "id":"ratdom_455_chest_35",
        "message":"How often do you want to check if the chest stays empty?"
    },
    {
        "id":"ratdom_bwm_sign",
        "message":"East Up Down West",
        "replies":[
            {
                "text":"Now what's that supposed to mean?",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_531_sw",
        "replies":[
            {
                "nextPhraseID":"ratdom_531_sw_10",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_pickaxe",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_531_sw_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_531_sw_12"
            }
        ]
    },
    {
        "id":"ratdom_531_sw_10",
        "message":"With a single well-aimed blow, you bring down the rock face. The noise of the collapsing wall is deafening.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":91
            }
        ]
    },
    {
        "id":"ratdom_531_sw_12",
        "message":"This rock face looks kind of wrong.",
        "replies":[
            {
                "text":"I'll probe for a hidden mechanism.",
                "nextPhraseID":"ratdom_531_sw_22"
            },
            {
                "text":"Maybe I should use my pickaxe?",
                "nextPhraseID":"ratdom_531_sw_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"Maybe I should use my pickaxe?",
                "nextPhraseID":"ratdom_531_sw_31",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_531_sw_20",
        "message":"This rock face looks kind of wrong. Shall we take a closer look?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Yes. I'll probe for a hidden mechanism.",
                "nextPhraseID":"ratdom_531_sw_22"
            },
            {
                "text":"Maybe I should use my pickaxe?",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_531_sw_22",
        "message":"You don't find anything special.",
        "switchToNPC":"none"
    },
    {
        "id":"ratdom_531_sw_30",
        "message":"Maybe. Although you would have to work in the dark then, because you can't hold the torch at the same time.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Right. Nothing special here for sure.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_531_sw_31",
        "message":"You think: I would have to work in the dark then, because I can't hold the torch at the same time.",
        "replies":[
            {
                "text":"Right. Nothing special here for sure.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_531_sw_32",
        "message":"Let's better go on and finally find my artifact."
    },
    {
        "id":"ratdom_542_chair",
        "message":"An inexplicable dreadful fear overtakes you.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fear",
                "value":25
            }
        ]
    },
    {
        "id":"ratdom_646_statues",
        "replies":[
            {
                "nextPhraseID":"ratdom_646_statues_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":92,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_646_statues_12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":92,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_646_statues_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_646_statues_10",
        "message":"Hey - these statues are not real! We can just move through them.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"That's eery.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":92
            }
        ]
    },
    {
        "id":"ratdom_646_statues_12",
        "message":"These statues are not real, you can just move through them.",
        "replies":[
            {
                "text":"That's eery.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":92
            }
        ]
    },
    {
        "id":"ratdom_646_statues_20",
        "message":"These statues always give me a shudder when I pass through them.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_check_backbone",
        "replies":[
            {
                "nextPhraseID":"ratdom_check_backbone_10",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":36,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_check_backbone_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":93
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":94,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_check_backbone_26",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_back",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":93
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":94,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_check_backbone_10",
        "message":"You wonder why you have found some rat bones in a library.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":36
            }
        ]
    },
    {
        "id":"ratdom_check_backbone_20",
        "message":"Why didn't you take the bones with you?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"What bones?",
                "nextPhraseID":"ratdom_check_backbone_22"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":94
            }
        ]
    },
    {
        "id":"ratdom_check_backbone_22",
        "message":"Oh man, to make matters worse, he's blind."
    },
    {
        "id":"ratdom_check_backbone_26",
        "message":"I should take a closer look at the library.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":94
            }
        ]
    },
    {
        "id":"ratdom_rat_dim0",
        "rewards":[
            {
                "rewardType":"changeMapFilter",
                "rewardID":"none"
            }
        ]
    },
    {
        "id":"ratdom_rat_dim1",
        "rewards":[
            {
                "rewardType":"changeMapFilter",
                "rewardID":"black20"
            }
        ]
    },
    {
        "id":"ratdom_rat_dim2",
        "rewards":[
            {
                "rewardType":"changeMapFilter",
                "rewardID":"black40"
            }
        ]
    },
    {
        "id":"ratdom_rat_dim3",
        "rewards":[
            {
                "rewardType":"changeMapFilter",
                "rewardID":"black60"
            }
        ]
    },
    {
        "id":"ratdom_rat_dim3a",
        "rewards":[
            {
                "rewardType":"changeMapFilter",
                "rewardID":"black60"
            }
        ]
    },
    {
        "id":"ratdom_artefact_la",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_la_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":11
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_la_10",
        "message":"Wait ...",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Clevred! What's wrong with you?",
                "nextPhraseID":"ratdom_artefact_la_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":950
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":10
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":11
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":13
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_artefact",
                "value":1
            },
            {
                "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"
            }
        ]
    },
    {
        "id":"ratdom_artefact_la_12",
        "message":"I got a serious blow. These roundlings were too much. I feel my end coming ... ",
        "replies":[
            {
                "text":"No, I will give you a healing potion!",
                "nextPhraseID":"ratdom_artefact_la_14"
            }
        ]
    },
    {
        "id":"ratdom_artefact_la_14",
        "message":"Too late, I feel my end coming ... Take my artifact ... and use it wisely. Farewell ...\n[You get an item]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_artefact_la_20"
            }
        ]
    },
    {
        "id":"ratdom_artefact_la_20",
        "message":"A long time ago you asked me how to get out of here. Go home, take a nap and you will find out.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_artefact_la_30"
            }
        ]
    },
    {
        "id":"ratdom_artefact_la_30",
        "message":"Good bye, my friend.",
        "replies":[
            {
                "text":"Good bye. * Sob *",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lb",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_lb_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":11
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_lb_10",
        "switchToNPC":"ratdom_rat",
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_roundling2",
                "mapName":"ratdom_maze_448"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lc",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_lc_10",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_artefact",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":942
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":948,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_lc_10",
        "message":"The big yellow cheese now weighs heavily in your bag. Small consolation for the loss of a friend, though.",
        "switchToNPC":"none",
        "replies":[
            {
                "text":"Sigh. Clevred, I will miss you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":948
            }
        ]
    },
    {
        "id":"ratdom_artefact_ld",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_ld_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":11
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_ld_10",
        "message":"The artifact was taken back obviously by the roundlings.",
        "switchToNPC":"none",
        "replies":[
            {
                "text":"Sigh. Back into the maze, I fear.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":11
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":12
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling2",
                "mapName":"ratdom_maze_448"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lf",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_lf_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":11
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_lf_10",
        "switchToNPC":"none",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_roundling2",
                "mapName":"ratdom_maze_448"
            },
            {
                "rewardType":"alignmentSet",
                "rewardID":"fct_ratdom_roundling2",
                "value":10
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_roundling2",
                "mapName":"ratdom_maze_448"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lk",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_lk_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":11
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_lk_10",
        "message":"[singing] Oh my round, oh my yellow, greatest joy on earth!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Do you think the roundlings will chase us anymore?",
                "nextPhraseID":"ratdom_artefact_lk_12"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lk_12",
        "message":"Those cowards? We showed them, so they hid and lick their wounds.",
        "replies":[
            {
                "text":"Yes, apparently you are right.",
                "nextPhraseID":"ratdom_artefact_lk_20"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lk_20",
        "message":"We'll be back in the light of day soon!",
        "replies":[
            {
                "text":"Finally. My feet went flat. I'm really looking forward to my bed.",
                "nextPhraseID":"ratdom_artefact_lk_22"
            }
        ]
    },
    {
        "id":"ratdom_artefact_lk_22",
        "message":"Your bed? Alright, I'll share it with you.",
        "replies":[
            {
                "text":"Lucky for you I'm too tired to argue.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_artefact_ly",
        "replies":[
            {
                "nextPhraseID":"ratdom_artefact_ly_02",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":11,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_artefact_ly_02",
        "message":"I got it! I got my artifact! Finally!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_artefact_ly_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":900
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":11
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":12
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_roundling3",
                "mapName":"ratdom_maze_627"
            }
        ]
    },
    {
        "id":"ratdom_artefact_ly_20",
        "message":"Let's hurry back now!"
    },
    {
        "id":"ratdom_bone_collector_s1",
        "replies":[
            {
                "nextPhraseID":"ratdom_bone_collector_s1_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_bone_collector_s1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":120,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_10",
        "message":"An ancient bone catches your eye.",
        "replies":[
            {
                "text":"Take the bone.",
                "nextPhraseID":"ratdom_bone_collector_s1_14"
            },
            {
                "text":"Look closer.",
                "nextPhraseID":"ratdom_bone_collector_s1_12"
            },
            {
                "text":"Don't touch it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_12",
        "message":"It seems to be a leg bone of a great old rat. Maybe you could find a better use for it?",
        "replies":[
            {
                "text":"Take the bone.",
                "nextPhraseID":"ratdom_bone_collector_s1_14"
            },
            {
                "text":"Don't touch it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_14",
        "message":"You slip the bone unobtrusively into your pocket.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_leg_coll",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":120
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_20",
        "message":"You look at the pile of bones.",
        "replies":[
            {
                "text":"Put the leg bone back onto the pile.",
                "nextPhraseID":"ratdom_bone_collector_s1_22",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            },
            {
                "text":"Maybe you could put another bone from your bag instead?",
                "nextPhraseID":"ratdom_bone_collector_s1_24"
            },
            {
                "text":"Leave.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_22",
        "message":"The pile of bones is complete again.",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":120
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_24",
        "message":"Inconspicuously you search your bag for other bones.",
        "replies":[
            {
                "text":"A bone.",
                "nextPhraseID":"ratdom_bone_collector_s1_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bone",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            },
            {
                "text":"A contaminated bone.",
                "nextPhraseID":"ratdom_bone_collector_s1_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bone2",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            },
            {
                "text":"Rats, I don't find any similar looking bone.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s1_30",
        "message":"You exchange the ancient bone for the wrong bone and try to look as innocent as possible.",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_leg",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":32
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s2",
        "replies":[
            {
                "nextPhraseID":"ratdom_bone_collector_s2_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s2_10",
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_leg",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":32
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s3",
        "replies":[
            {
                "nextPhraseID":"ratdom_bone_collector_s3_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_skelett_leg_coll",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_bone_collector_s3_10",
        "message":"I am really disappointed in you to steal my most precious bone. I'll take it back now.",
        "switchToNPC":"ratdom_bone_collector",
        "replies":[
            {
                "text":"Yikes! You have startled me. Yes, sorry.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":120
            }
        ]
    },
    {
        "id":"ratdom_bwm1_east1",
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_crossglen"
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_crossglen2"
            }
        ]
    },
    {
        "id":"ratdom_bwm1_east_10_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_crossglen_10",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_rat_crossglen2",
                        "value":6
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_crossglen",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_rat_crossglen",
                        "value":3
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_check_kills",
        "replies":[
            {
                "nextPhraseID":"ratdom_check_kills_mara",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_mara",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":30,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_check_kills_2"
            }
        ]
    },
    {
        "id":"ratdom_check_kills_mara",
        "replies":[
            {
                "nextPhraseID":"ratdom_check_kills_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":30
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"Mara",
                "mapName":"crossglen_hall"
            }
        ]
    },
    {
        "id":"ratdom_check_kills_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_check_kills_tharal",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_tharal",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":32,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_check_kills_tharal",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":32
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"Tharal",
                "mapName":"crossglen_hall"
            }
        ]
    },
    {
        "id":"crossglen_cave_ratdom_key",
        "replies":[
            {
                "nextPhraseID":"crossglen_cave_ratdom_key_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":3,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"crossglen_cave_ratdom_key_10",
        "message":"The rock wall looks quite massive. There is just a tiny little hole in the shape of a bone.",
        "replies":[
            {
                "text":"What would happen if I put a bone into the hole?",
                "nextPhraseID":"crossglen_cave_ratdom_key_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bone",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":90
            }
        ]
    },
    {
        "id":"crossglen_cave_ratdom_key_20",
        "message":"The massive rock wall just disappears!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":100
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":3
            }
        ]
    },
    {
        "id":"ratdom_door_412",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_door_412_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":174,
                        "negate":true
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_door_412_20",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_ff_guard",
                        "value":1
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_door_412_10"
            }
        ]
    },
    {
        "id":"ratdom_door_412_0",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":174
            }
        ]
    },
    {
        "id":"ratdom_door_412_1",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":174
            }
        ]
    },
    {
        "id":"ratdom_door_412_10",
        "message":"There is a guard somewhere behind this massive gate."
    },
    {
        "id":"ratdom_door_412_20",
        "message":"Hey, this massive looking gate has a hole.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":173
            }
        ]
    },
    {
        "id":"ratdom_door_412_30",
        "message":"This is a rather massive gate."
    },
    {
        "id":"ratdom_door_533",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_door_533_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_door_533_20"
            }
        ]
    },
    {
        "id":"ratdom_door_533_10",
        "message":"Look, the door seems to be unlocked.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Open the door.",
                "nextPhraseID":"ratdom_door_533_12"
            }
        ]
    },
    {
        "id":"ratdom_door_533_12",
        "message":"Wait - the door has no handle on the other side. If we go through, we can't go back.",
        "replies":[
            {
                "text":"Right. I don't think that there is anything interesting there.",
                "nextPhraseID":"ratdom_door_533_14"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":172
            }
        ]
    },
    {
        "id":"ratdom_door_533_14",
        "message":"I agree. Probably just a shortcut back."
    },
    {
        "id":"ratdom_door_533_open_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":172
            }
        ]
    },
    {
        "id":"ratdom_door_533_20",
        "message":"The door seems to be unlocked.",
        "replies":[
            {
                "text":"Open the door.",
                "nextPhraseID":"ratdom_door_533_22"
            }
        ]
    },
    {
        "id":"ratdom_door_533_22",
        "message":"Hmm, the door has no handle on the other side. If I go through, I can't go back.",
        "replies":[
            {
                "nextPhraseID":"ratdom_door_533_24"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":172
            }
        ]
    },
    {
        "id":"ratdom_door_533_24",
        "message":"Looks like there isn't anything interesting there. Probably just a shortcut back."
    },
    {
        "id":"ratdom_door_533_close",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":172
            }
        ]
    },
    {
        "id":"ratdom_fraedro_key",
        "message":"The cave wall looks very massive here.",
        "replies":[
            {
                "text":"You search the wall for some weak points or holes.",
                "nextPhraseID":"ratdom_fraedro_key_10"
            }
        ]
    },
    {
        "id":"ratdom_fraedro_key_10",
        "message":"You found a tiny hole.",
        "replies":[
            {
                "text":"Insert a bone into the hole.",
                "nextPhraseID":"ratdom_fraedro_key_12",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"bone",
                        "value":1
                    }
                ]
            },
            {
                "text":"Insert Fraedro's golden key into the hole.",
                "nextPhraseID":"ratdom_fraedro_key_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_fraedro_key",
                        "value":1
                    }
                ]
            },
            {
                "text":"Hit the hole with your pickaxe.",
                "nextPhraseID":"ratdom_fraedro_key_12",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_pickaxe",
                        "value":1
                    }
                ]
            },
            {
                "text":"Stuff a fish into the hole.",
                "nextPhraseID":"ratdom_fraedro_key_12f",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"rawperch",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_fraedro_key_12",
        "message":"Nothing happens.",
        "switchToNPC":"none",
        "replies":[
            {
                "text":"Insert a bone into the hole.",
                "nextPhraseID":"ratdom_fraedro_key_12",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"bone",
                        "value":1
                    }
                ]
            },
            {
                "text":"Insert Fraedro's golden key into the hole.",
                "nextPhraseID":"ratdom_fraedro_key_20",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_fraedro_key",
                        "value":1
                    }
                ]
            },
            {
                "text":"Hit the hole with your pickaxe.",
                "nextPhraseID":"ratdom_fraedro_key_12",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_pickaxe",
                        "value":1
                    }
                ]
            },
            {
                "text":"Stuff a fish into the hole.",
                "nextPhraseID":"ratdom_fraedro_key_12f",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"rawperch",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_fraedro_key_12f",
        "message":"A fish? Really??",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_fraedro_key_20",
        "message":"The key easily slipped into the hole and vanished! Suddenly a big rumbling makes you close your eyes.",
        "replies":[
            {
                "text":"Oh.",
                "nextPhraseID":"ratdom_fraedro_key_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":400
            }
        ]
    },
    {
        "id":"ratdom_fraedro_key_30",
        "message":"I hate to admit it, but that was a good idea for once.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_fraedro_sign",
        "message":"Access denied!"
    },
    {
        "id":"ratdom_ghost1",
        "replies":[
            {
                "nextPhraseID":"ratdom_ghost",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":81
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":82
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":83
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":84
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_ghost1",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost2",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost3",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost4",
                "mapName":"ratdom_maze_648"
            }
        ]
    },
    {
        "id":"ratdom_ghost2",
        "replies":[
            {
                "nextPhraseID":"ratdom_ghost",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":81
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":82
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":83
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":84
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost1",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_ghost2",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost3",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost4",
                "mapName":"ratdom_maze_648"
            }
        ]
    },
    {
        "id":"ratdom_ghost3",
        "replies":[
            {
                "nextPhraseID":"ratdom_ghost",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":81
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":82
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":83
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":84
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost1",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost2",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_ghost3",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost4",
                "mapName":"ratdom_maze_648"
            }
        ]
    },
    {
        "id":"ratdom_ghost4",
        "replies":[
            {
                "nextPhraseID":"ratdom_ghost",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":81
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":82
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":83
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":84
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost1",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost2",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_ghost3",
                "mapName":"ratdom_maze_648"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_ghost4",
                "mapName":"ratdom_maze_648"
            }
        ]
    },
    {
        "id":"ratdom_ghost",
        "replies":[
            {
                "nextPhraseID":"ratdom_ghost_10",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_ghost_20",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"25"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_ghost_30",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_ghost_40",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_ghost_50"
            }
        ]
    },
    {
        "id":"ratdom_ghost_10",
        "message":"Goosebumps crawl up your back.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fear",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_ghost_20",
        "message":"B o o m!  A loud crack makes you jump.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"fear",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_ghost_30",
        "message":"Whooo is distuuurbing my reeeest?!",
        "switchToNPC":"ratdom_ghost",
        "replies":[
            {
                "text":"Me.",
                "nextPhraseID":"ratdom_ghost_30a",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"Me.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_ghost_30a",
        "message":"Me too. [giggles]",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_ghost_40",
        "message":"A mad giggle fills the room.",
        "replies":[
            {
                "text":"Who are you?",
                "nextPhraseID":"ratdom_ghost_40a"
            },
            {
                "text":"What do you want?",
                "nextPhraseID":"ratdom_ghost_40a"
            }
        ]
    },
    {
        "id":"ratdom_ghost_40a",
        "message":"No reply."
    },
    {
        "id":"ratdom_ghost_50",
        "message":"Something hisses through the air and hits you hard in the back of the head.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_ghost_50a"
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"head_wound",
                "value":3
            }
        ]
    },
    {
        "id":"ratdom_ghost_50a",
        "message":"You can't tell what it was. But it hurt.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_ghost_50b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_ghost_50b",
        "message":"You should learn to dodge in time, you clumsy two-legged creature.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_goldhunter_bone",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_bone_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":31,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bone_10",
        "message":"You grab the content of the gold hunters chest: Some gold nuggets - and a leg bone of a rat!?",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":31
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bone_reminder",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_bone_reminder_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":31,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":76,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_goldhunter_bone_reminder_26",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":31,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":76,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bone_reminder_20",
        "message":"Why didn't you take the bones with you?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"What bones?",
                "nextPhraseID":"ratdom_goldhunter_bone_reminder_22"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":76
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bone_reminder_22",
        "message":"Oh man, to make matters worse, he's blind."
    },
    {
        "id":"ratdom_goldhunter_bone_reminder_26",
        "message":"I should take a closer look back on the isle.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":76
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_bridge_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":71,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":73,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":74,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":75,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_goldhunter",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_10",
        "message":"A wooden plank - hmm ...",
        "replies":[
            {
                "text":"That's exactly what I need! Let's build a bridge ...",
                "nextPhraseID":"ratdom_goldhunter_bridge_90"
            },
            {
                "text":"It would be a good idea to make a fire now.",
                "nextPhraseID":"ratdom_goldhunter_bridge_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_20",
        "message":"No it would not.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Oh. Well, then let's build the bridge.",
                "nextPhraseID":"ratdom_goldhunter_bridge_90"
            },
            {
                "text":"But I want a fire right now! It is cold here, and dark.",
                "nextPhraseID":"ratdom_goldhunter_bridge_22"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_22",
        "message":"Then you'd have a fire. And then? You would never be able to leave again.",
        "replies":[
            {
                "text":"Fine. Nothing is allowed!",
                "nextPhraseID":"ratdom_goldhunter_bridge_24"
            },
            {
                "text":"I want, want, want! Fire - now!",
                "nextPhraseID":"ratdom_goldhunter_bridge_30"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_24",
        "message":"Do you want to stay here forever and starve? Think about the artifact. We have a job to do!",
        "replies":[
            {
                "text":"Well, then let's just build this stupid bridge. [Grumble]",
                "nextPhraseID":"ratdom_goldhunter_bridge_90"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_30",
        "message":"And you will be lonely. Unlike you, I can swim. And I will not spend the end of my life here.",
        "replies":[
            {
                "text":"[Light the wood]",
                "nextPhraseID":"ratdom_goldhunter_bridge_80"
            },
            {
                "text":"All right then. So the wood becomes a bridge instead of giving warmth and joy. Sigh.",
                "nextPhraseID":"ratdom_goldhunter_bridge_90"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_80",
        "message":"Farewell then. I will think of you when I have the artifact in my claws!",
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_hunter_bridge"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":73
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bridge_90",
        "message":"So that looks sturdy enough to carry a person.",
        "switchToNPC":"none",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":71
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bed",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_bed_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":73
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":74,
                        "negate":true
                    },
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_hunter_bridge",
                        "value":6
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bed_10",
        "message":"Ouch! Something heavy fell on your head!",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":74
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bed2",
        "replies":[
            {
                "nextPhraseID":"ratdom_goldhunter_bed2_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":74
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":75,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bed2_10",
        "message":"Another wooden plank - the ugly ogre from above must have thrown it!",
        "replies":[
            {
                "text":"Now at last let's build the bridge.",
                "nextPhraseID":"ratdom_goldhunter_bed2_90"
            },
            {
                "text":"Another fire for me?",
                "nextPhraseID":"ratdom_goldhunter_bed2_20"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bed2_20",
        "message":"No, not this time. You were very lucky that something pursuaded the ogre to do you this favor.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Probably you are right, I should not trust my luck too much. Let's build the bridge at last.",
                "nextPhraseID":"ratdom_goldhunter_bed2_90"
            },
            {
                "text":"But ...",
                "nextPhraseID":"ratdom_goldhunter_bed2_20"
            }
        ]
    },
    {
        "id":"ratdom_goldhunter_bed2_90",
        "message":"So that looks sturdy enough to carry a person.",
        "switchToNPC":"none",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":73
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":74
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":75
            }
        ]
    },
    {
        "id":"crossglen_ratdom_key",
        "message":"This must be a bad dream.",
        "replies":[
            {
                "text":"How can I finally wake up?",
                "nextPhraseID":"X"
            },
            {
                "text":"Maybe I should talk to the rat in my bed again.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":100,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"crossglen_ratdom_key_2",
        "replies":[
            {
                "nextPhraseID":"crossglen_ratdom_key"
            }
        ]
    },
    {
        "id":"crossglen_ratdom_key_3",
        "message":"You see a note pinned to the door\n * Town hall closed * ",
        "replies":[
            {
                "text":"This is the first time I've ever seen it closed.",
                "nextPhraseID":"X"
            },
            {
                "text":"Oh, what's this?",
                "nextPhraseID":"crossglen_ratdom_key_3_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":72,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"crossglen_ratdom_key_3_20",
        "message":"A bag of freshly baked bread is dangling at the door.",
        "replies":[
            {
                "text":"Good old Mara - she always knows what I need.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_mikhail",
                "value":72
            },
            {
                "rewardType":"giveItem",
                "rewardID":"bread",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_ladder_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_ladder_1a",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":61,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_ladder_1a",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":61
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"Ladder",
                "mapName":"ratdom_maze_455a"
            }
        ]
    },
    {
        "id":"ratdom_ladder_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_ladder_0a",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":61
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_ladder_0a",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":61
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"Ladder",
                "mapName":"ratdom_maze_455a"
            }
        ]
    },
    {
        "id":"ratdom_maze_rat2_key2",
        "message":"No tresspassing."
    },
    {
        "id":"ratdom_maze_rat1",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_rat1_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":940
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_rat1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_torch",
                        "value":1
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_rat1_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_rat1_10",
        "message":"A torch in the bag doesn't make much light.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_maze_rat1_20",
        "message":"It might not be a good idea to stumble in the dark.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_maze_rat1_30",
        "message":"$playername - I knew you would come back!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Clevred? Is that really you?",
                "nextPhraseID":"ratdom_maze_rat1_32"
            }
        ]
    },
    {
        "id":"ratdom_maze_rat1_32",
        "message":"Sure, you blockhead. Nice to see you again.",
        "replies":[
            {
                "text":"I thought you were going to fetch your artifact at last?",
                "nextPhraseID":"ratdom_maze_rat1_34"
            }
        ]
    },
    {
        "id":"ratdom_maze_rat1_34",
        "message":"Yes, yes. But for some jobs you need someone bigger.",
        "replies":[
            {
                "text":"OK, let us try again to find it.",
                "nextPhraseID":"ratdom_maze_rat1_36"
            },
            {
                "text":"So, am I good enough for the dirty work? Forget it. Bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_maze_rat1_36",
        "message":"Great - then let's go!",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_quest",
                "value":940
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":942
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":10
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":13
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":23
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_roundling",
                "mapName":"ratdom_maze_627"
            }
        ]
    },
    {
        "id":"ratdom_maze_rat2",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_rat2_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_rat2_20"
            }
        ]
    },
    {
        "id":"ratdom_maze_rat2_10",
        "message":"Go and look for a torch, you blockhead! And use it!",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_maze_rat2_20",
        "message":"It might not be a good idea to stumble in the dark."
    },
    {
        "id":"ratdom_maze_light1",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light1_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":1
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light1_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light1b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light1"
            }
        ]
    },
    {
        "id":"ratdom_maze_light1_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light1_on",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light2",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light2_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":2
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light2_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":2,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light2b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light2"
            }
        ]
    },
    {
        "id":"ratdom_maze_light2_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light2_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light3",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light3_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":3
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light3_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":3,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light3b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light3"
            }
        ]
    },
    {
        "id":"ratdom_maze_light3_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light3_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light4",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light4_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":4
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light4_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":4,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light4b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light4"
            }
        ]
    },
    {
        "id":"ratdom_maze_light4_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light4_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light5",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light5_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":5
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light5_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":5,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light5b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light5"
            }
        ]
    },
    {
        "id":"ratdom_maze_light5_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light5_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light6",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light6_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":6
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light6_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":6,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light6b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light6"
            }
        ]
    },
    {
        "id":"ratdom_maze_light6_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light6_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light7",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light7_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":7
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light7_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":7,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light7b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light7"
            }
        ]
    },
    {
        "id":"ratdom_maze_light7_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light7_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light8",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light8_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":8
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light8_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":8,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light8b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light8"
            }
        ]
    },
    {
        "id":"ratdom_maze_light8_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light8_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light9",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light9_off",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":9
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_maze_light9_on",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":9,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_torch",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_light9b",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_light9"
            }
        ]
    },
    {
        "id":"ratdom_maze_light9_off",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_light9_on",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":1
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":2
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":3
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":4
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":5
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":6
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":7
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":8
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":9
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_maze_mole_fence",
        "message":"The fence would be no problem for you.",
        "replies":[
            {
                "text":"Climb over the fence.",
                "nextPhraseID":"ratdom_maze_mole_fence_10"
            },
            {
                "text":"Stay away.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_maze_mole_fence_10",
        "rewards":[
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"ratdom_maze_mole_fence_keys",
                "mapName":"ratdom_maze_516"
            }
        ]
    },
    {
        "id":"ratdom_maze_mole_fence_20",
        "replies":[
            {
                "nextPhraseID":"ratdom_maze_mole_fence_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":90,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_maze_mole_fence_30",
        "message":"Thief! This is our food!!",
        "switchToNPC":"ratdom_maze_mole",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":90
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_maze_mole",
                "mapName":"ratdom_maze_516"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_maze_mole2",
                "mapName":"ratdom_maze_516"
            }
        ]
    },
    {
        "id":"ratdom_maze_mole_food_sign",
        "message":"Do not enter the enclosure!"
    },
    {
        "id":"ratdom_maze_sign",
        "message":"The sign is no longer readable."
    },
    {
        "id":"ratdom_mz_center_s",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":33
            }
        ]
    },
    {
        "id":"ratdom_mz1",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_mz2",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_mz3",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_mz4",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_mz5",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_mz6",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_mz7",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":21
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":22
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":23
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":24
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":25
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":26
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":27
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_cheese_key_2"
            }
        ],
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_rat_warden",
                "mapName":"ratdom_maze_624"
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_2",
        "message":"Hey! Don't take any cheese into the museum! I don't want greasy fingerprints all over the valuable objects!",
        "switchToNPC":"ratdom_rat_warden",
        "replies":[
            {
                "text":"How do you know that I have some in my bag?",
                "nextPhraseID":"ratdom_rat_cheese_key_12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"Now calm down. Can I deposit my cheese here somewhere?",
                "nextPhraseID":"ratdom_rat_cheese_key_20"
            },
            {
                "text":"I don't go anywhere without my cheese.",
                "nextPhraseID":"ratdom_rat_cheese_key"
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_10",
        "message":"Then you can't enter.",
        "replies":[
            {
                "text":"So what can I do now?",
                "nextPhraseID":"ratdom_rat_cheese_key_20"
            },
            {
                "text":"I'm not interested in your dusty stuff anyway.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_12",
        "message":"Of course he smells it, you poor two-leg with your pathetic nose.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Oh. What can I do now?",
                "nextPhraseID":"ratdom_rat_cheese_key_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_20",
        "message":"You can give me the cheese, I'll take good care of it. Or you can just put it here on the floor.",
        "switchToNPC":"ratdom_rat_warden",
        "replies":[
            {
                "text":"Good. Here please take my cheese. But don't eat it.",
                "nextPhraseID":"ratdom_rat_cheese_key_30"
            },
            {
                "text":"I'll just put it down here.",
                "nextPhraseID":"X"
            },
            {
                "text":"Maybe I should just eat everything at once here and now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_30",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_1",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"charwood_cheddar",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_blue",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_goat",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_40"
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_30_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_1",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"charwood_cheddar",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_blue",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_goat",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese1",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_30_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_2",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"charwood_cheddar",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_blue",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_goat",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_30_3",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_3",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_blue",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_goat",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese3",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_30_4",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_cheese_key_30_4",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese_goat",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_cheese_key_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_cheese4",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_cheese_key_40",
        "message":"Now you may follow me into our memory hall.",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_rat_warden",
                "mapName":"ratdom_maze_624"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2c"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2c_1",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_bwm",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_2",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_tour",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_3",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_3",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_4",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_4",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_5",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_5",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_0"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_0b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_0b",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":30
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":31
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":32
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":33
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":34
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":31
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_1b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_1b",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":30
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":31
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":32
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":33
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":34
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":32
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_2b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_2b",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":30
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":31
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":32
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":33
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":34
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_3",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":33
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_3b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_3b",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":30
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":31
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":32
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":33
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":34
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_4",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":34
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_4b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_4b",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":30
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":31
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":32
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":33
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":34
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_5",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":35
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2c_5b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2c_5b",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":30
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":31
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":32
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":33
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_maze",
                "value":34
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2_410",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":132,
                        "negate":true
                    },
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_compass_bwm",
                        "value":50
                    },
                    {
                        "requireType":"random",
                        "requireID":"25"
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_bwm",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_tour",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_compass_tour",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_400",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_maze",
                        "value":131,
                        "negate":true
                    },
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_compass_bwm",
                        "value":50
                    },
                    {
                        "requireType":"random",
                        "requireID":"25"
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_bwm",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_compass_tour",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_compass_bwm",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_600",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_590",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"11"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_580",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"12"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_570",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"14"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_560",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"16"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_550",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_540",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"25"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_530",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_520",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    },
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_510",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":1025
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_500",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_40",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":60
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_30",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_20",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":15
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_10",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_rat_conv2",
                        "value":4
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_1b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_1b",
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_conv2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_10",
        "message":"It is beautiful inside here, isn't it?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Hmm, I'd prefer a bit more daylight.",
                "nextPhraseID":"X"
            },
            {
                "text":"Sure.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_conv2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_20",
        "message":"The paths are so logical, it's easy to find your way around here.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Do you think so? I am rather lost already.",
                "nextPhraseID":"ratdom_rat_conv2_20b"
            },
            {
                "text":"Is it? Then tell me how to get out.",
                "nextPhraseID":"ratdom_rat_conv2_20b"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_20b",
        "message":"Two-legs are really dumb. We rats always know where to go.",
        "replies":[
            {
                "text":"For example, how would I get back to Crossglen?",
                "nextPhraseID":"ratdom_rat_conv2_20c"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_20c",
        "message":"If you want to get out, just follow the rats. They show you the way.",
        "replies":[
            {
                "text":"Nonsense.",
                "nextPhraseID":"ratdom_rat_conv2_20d"
            },
            {
                "text":"What do you mean?",
                "nextPhraseID":"ratdom_rat_conv2_20d"
            },
            {
                "text":"Of course - you are right!",
                "nextPhraseID":"ratdom_rat_conv2_20e"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_20d",
        "message":"Don't tell me that you didn't recognize it? That my fellow rats are always running towards the exit?",
        "replies":[
            {
                "text":"Eh, of course I did.",
                "nextPhraseID":"ratdom_rat_conv2_20e"
            },
            {
                "text":"Now that you mention it, indeed they do!",
                "nextPhraseID":"ratdom_rat_conv2_20e"
            },
            {
                "text":"And?",
                "nextPhraseID":"ratdom_rat_conv2_20e"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_20e",
        "message":"If you want to get out, just use the passages that you see rats in front of.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_20f"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_conv2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_20f",
        "message":"Oh man. Humans are not the smartest beings, but this one ...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_30",
        "message":"Ah, I love these tunnels!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Me, I loath these tunnels by now.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_conv2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2_40b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"mikhail_rats",
                        "value":100
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40b",
        "message":"What I always wanted to ask you: why did you actually kill my uncle?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Did I?",
                "nextPhraseID":"ratdom_rat_conv2_40c"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40c",
        "message":"Yes. My uncle together with his wife. They just romped around in your garden.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_40d"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_conv2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40d",
        "message":"Then you came and murdered them. Just because. And you proudly boasted in front of your father about this act.",
        "replies":[
            {
                "text":"Eh ...",
                "nextPhraseID":"ratdom_rat_conv2_40e"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_rat_conv2",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40e",
        "message":"Not that I liked my uncle, but he didn't deserve such an end.",
        "replies":[
            {
                "text":"Well ...",
                "nextPhraseID":"ratdom_rat_conv2_40f"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40f",
        "message":"Neither my aunt. She was always squeeking too loud by far. But they were decent rats.",
        "replies":[
            {
                "text":"Well ...",
                "nextPhraseID":"ratdom_rat_conv2_40g"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_40g",
        "message":"I hope you are a little more reluctant to kill rats in the future.",
        "replies":[
            {
                "text":"Sure.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv3",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2c"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_400",
        "message":"Why don't you wear that necklace you've got? The blue one that would show you the way to the sky?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"No need. I know the way perfectly well.",
                "nextPhraseID":"ratdom_rat_conv2_409"
            },
            {
                "text":"Well, why don't I? Really, I forgot about it.",
                "nextPhraseID":"ratdom_rat_conv2_402"
            },
            {
                "text":"I didn't see any use.",
                "nextPhraseID":"ratdom_rat_conv2_402"
            },
            {
                "text":"I understood how the blue necklace works. Don't bother me with that anymore.",
                "nextPhraseID":"ratdom_rat_conv2_401"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_401",
        "message":"It's okay. If you still want to hear it again, just ask me.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":131
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_402",
        "message":"That's simple enough even for a simple mind: If worn they will mark the passage towards the mountain top with a blue shield.",
        "replies":[
            {
                "text":"Ah, OK.",
                "nextPhraseID":"ratdom_rat_conv2_409"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_409",
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_compass_bwm"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_410",
        "message":"Why don't you wear that orange necklace you've got?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"No need. I know the way perfectly well.",
                "nextPhraseID":"ratdom_rat_conv2_419"
            },
            {
                "text":"Well, why don't I? Really, I forgot about it.",
                "nextPhraseID":"ratdom_rat_conv2_413"
            },
            {
                "text":"I didn't see any use.",
                "nextPhraseID":"ratdom_rat_conv2_412"
            },
            {
                "text":"I understood how the orange necklace works. Don't bother me with that anymore.",
                "nextPhraseID":"ratdom_rat_conv2_411"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_411",
        "message":"It's okay. If you still want to hear it again, just ask me.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_maze",
                "value":132
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_412",
        "message":"That's simple enough even for a simple mind: If worn it will mark the passage towards the most interesting places here in the caves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_414"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_413",
        "message":"You should not forget important things. The necklace works simple enough even for you: If worn it will mark the passage towards the most interesting places here in the caves.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_414"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_414",
        "message":"The way might be somewhat longer, but you won't miss anything important of the cave's wonders.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_416"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_416",
        "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_conv2_417"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_417",
        "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_conv2_417a"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_417a",
        "message":"Follow this passage to the end. We 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_conv2_418"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_418",
        "message":"[muttering] I want to hope so, but I don't really believe it yet."
    },
    {
        "id":"ratdom_rat_conv2_419",
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_compass_tour"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_500",
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_510",
        "message":"[humming] Roads go ever on and on, over rock and under tree,",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_510b"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_510b",
        "message":"By caves where never sun has shone, by streams that never find the sea.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_510c"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_510c",
        "message":"Pursuing it with eager feet, until the proper way is found",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_510d"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_510d",
        "message":"towards the yellow artifact, so wonderful and big and round.",
        "replies":[
            {
                "text":"Nice song.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_520",
        "message":"Are we there soon?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"I hope so.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_530",
        "message":"Is it still far?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Do Not Annoy Me!",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_540",
        "message":"Boring. We might play a game?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Why not? What about 'Rock Paper Scissors'?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542",
        "message":"OK. I begin. Ready - Set - GO!",
        "replies":[
            {
                "text":"Rock",
                "nextPhraseID":"ratdom_rat_conv2_542r"
            },
            {
                "text":"Paper",
                "nextPhraseID":"ratdom_rat_conv2_542p"
            },
            {
                "text":"Scissors",
                "nextPhraseID":"ratdom_rat_conv2_542s"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542r",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2_542rp",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542rs",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542k",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542rr"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542p",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2_542pr",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542ps",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542k",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542pp"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542s",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_conv2_542sr",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542sp",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542k",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_conv2_542ss"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542rp",
        "message":"Paper - I'll wrap your rock!",
        "replies":[
            {
                "text":"You win. Again?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            },
            {
                "text":"I'll give up.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542rs",
        "message":"Scissors - oh dear.",
        "replies":[
            {
                "text":"I win. Another game?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542rr",
        "message":"Rock - too.",
        "replies":[
            {
                "text":"Once more.",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542ps",
        "message":"Scissors - I'll cut your paper!",
        "replies":[
            {
                "text":"You win. Again?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            },
            {
                "text":"I'll give up.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542pr",
        "message":"Rock - oh dear, you'll wrap my rock.",
        "replies":[
            {
                "text":"I win. Another game?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542pp",
        "message":"Paper - too.",
        "replies":[
            {
                "text":"Once more.",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542sr",
        "message":"Rock - let's smash your scissors!",
        "replies":[
            {
                "text":"You win. Again?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            },
            {
                "text":"I'll give up.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542sp",
        "message":"Paper - oh dear, you'll cut my paper.",
        "replies":[
            {
                "text":"I win. Another game?",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542ss",
        "message":"Scissors - too.",
        "replies":[
            {
                "text":"Once more.",
                "nextPhraseID":"ratdom_rat_conv2_542"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_542k",
        "message":"King!",
        "replies":[
            {
                "text":"King? What's that?",
                "nextPhraseID":"ratdom_rat_conv2_544"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_544",
        "message":"The king always wins of course.",
        "replies":[
            {
                "text":"Cheater! I don't play with you anymore!",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_550",
        "message":"You really look funny as you stumble around on your two legs that are way too long.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"What? Take a look at yourself: Crooked four legs, much too short to even hold a knife.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_552",
        "message":"You can run much faster on four legs. Give it a try!",
        "replies":[
            {
                "text":"Forget it.",
                "nextPhraseID":"ratdom_rat_conv2_500"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_560",
        "message":"You are so quiet. Say, what's your problem.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"I don't have any problem.",
                "nextPhraseID":"ratdom_rat_conv2_562"
            },
            {
                "text":"I have a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_562",
        "message":"You can trust me. You will see, it will do you good.",
        "replies":[
            {
                "text":"I really don't have a problem. At least not until now.",
                "nextPhraseID":"ratdom_rat_conv2_563"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_563",
        "message":"Ah, I knew it. What is it then?",
        "replies":[
            {
                "text":"What?",
                "nextPhraseID":"ratdom_rat_conv2_564"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_564",
        "message":"Your problem that you just wanted to talk about.",
        "replies":[
            {
                "text":"I don't want to talk about my problems.",
                "nextPhraseID":"ratdom_rat_conv2_565"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_565",
        "message":"So several problems. Which one do you want to start with?",
        "replies":[
            {
                "text":"I don't have any problems!",
                "nextPhraseID":"ratdom_rat_conv2_566"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_566",
        "message":"At least it's a problem that you keep contradicting yourself.",
        "replies":[
            {
                "text":"Oh rat, you're annoying. You are my problem.",
                "nextPhraseID":"ratdom_rat_conv2_567"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_567",
        "message":"See now? Your problem is your negative attitude.",
        "replies":[
            {
                "text":"I wonder which tastes better, fried, boiled or grilled rat?",
                "nextPhraseID":"ratdom_rat_conv2_568"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_568",
        "message":"You have bad taste.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_569"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_569",
        "message":"Oh, don't look so murderous at me. You brutal biped."
    },
    {
        "id":"ratdom_rat_conv2_570",
        "message":"Don't worry, I am still by your side.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"I didn't worry.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_580",
        "message":"What do you think it will look like?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"What?",
                "nextPhraseID":"ratdom_rat_conv2_582"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_582",
        "message":"The artifact, of course. Will it be big and round and shiny like I was always told?",
        "replies":[
            {
                "text":"And will it be worth our labor to find it?",
                "nextPhraseID":"ratdom_rat_conv2_584"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_584",
        "message":"Labor?! This is a fun tour!",
        "replies":[
            {
                "text":"Is it? Good to know.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_590",
        "message":"Hey, you know what?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Oh great, why can't you be silent for a minute at least?",
                "nextPhraseID":"ratdom_rat_conv2_592"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":900
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_592",
        "message":"Phh. You are so mean. I won't talk to you anymore.",
        "replies":[
            {
                "text":"At last.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_600",
        "message":"There was a young rat of Prim,\nWho was so uncommonly thin",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_602"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_rat_conv2",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_602",
        "message":"That when it tried\nTo drink lemonade",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_604"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_604",
        "message":"It slipped through the straw and fell in.",
        "replies":[
            {
                "text":"Hahaha - that is a good one.",
                "nextPhraseID":"X"
            },
            {
                "text":"Clevred, let me ask you a question.",
                "nextPhraseID":"ratdom_rat_conv2_900"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_900",
        "message":"Sure - what do you want to know?",
        "replies":[
            {
                "text":"Why do you seem to know everything?",
                "nextPhraseID":"ratdom_rat_conv2_902"
            },
            {
                "text":"Was this huge cave behind our supply cave the whole time? I had never seen it before.",
                "nextPhraseID":"ratdom_rat_conv2_940",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "text":"How does the orange amulet work, in detail?",
                "nextPhraseID":"ratdom_rat_conv2_412",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_compass_tour",
                        "value":1
                    }
                ]
            },
            {
                "text":"What will you do with the artifact if we gain it?",
                "nextPhraseID":"ratdom_rat_conv2_910",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "text":"How does the blue amulet work, in detail?",
                "nextPhraseID":"ratdom_rat_conv2_402",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_compass_bwm",
                        "value":1
                    }
                ]
            },
            {
                "text":"Why do you hunt for the artifact?",
                "nextPhraseID":"ratdom_rat_conv2_920",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            },
            {
                "text":"Am I dreaming all this?",
                "nextPhraseID":"ratdom_rat_conv2_930",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"10"
                    }
                ]
            },
            {
                "text":"How do I get back out of this cave?",
                "nextPhraseID":"ratdom_rat_conv2_20c"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_902",
        "message":"I think that's the only thing I do not know."
    },
    {
        "id":"ratdom_rat_conv2_910",
        "message":"Oh, that's easy. I will become famous - even more than King Rah himself!"
    },
    {
        "id":"ratdom_rat_conv2_920",
        "message":"Because it's there, of course."
    },
    {
        "id":"ratdom_rat_conv2_930",
        "message":"Who knows? And even if - in every dream there is a grain of truth.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_conv2_932"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_932",
        "message":"I'd better bite your toe hard one more time. Maybe then you will know?",
        "replies":[
            {
                "text":"Eh ... no, it's not that important.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_conv2_940",
        "message":"Of course. After all, you two-legged folk shouldn't find our realm too easily."
    },
    {
        "id":"ratdom_rat_crossglen_02",
        "message":"I remember your brother was sometimes up here with one or two other human beings.",
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_crossglen"
            }
        ]
    },
    {
        "id":"ratdom_rat_crossglen",
        "message":"A beautiful view.",
        "switchToNPC":"ratdom_rat_crossglen",
        "replies":[
            {
                "text":"Indeed.",
                "nextPhraseID":"ratdom_rat_crossglen_02"
            },
            {
                "text":"Am I dreaming all this?",
                "nextPhraseID":"ratdom_rat_conv2_930"
            }
        ],
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_crossglen"
            }
        ]
    },
    {
        "id":"ratdom_rat_crossglen_10",
        "message":"Do you need much longer?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_crossglen_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_crossglen"
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_crossglen2"
            }
        ]
    },
    {
        "id":"ratdom_rat_crossglen_20",
        "message":"Hey, wake up!"
    },
    {
        "id":"ratdom_rat_eatme",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_eatme_4",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_rat_eatme",
                        "value":10
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_eatme_2"
            }
        ]
    },
    {
        "id":"ratdom_rat_eatme_2",
        "message":"An empty plate."
    },
    {
        "id":"ratdom_rat_eatme_4",
        "message":"You hear a voice: \"Eat me!\"",
        "replies":[
            {
                "text":"Oh that cake looks tasty. Let's try it.",
                "nextPhraseID":"ratdom_rat_eatme_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_eatme_10",
        "message":"You gulp the cake down and wait.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_eatme_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_eatme"
            }
        ]
    },
    {
        "id":"ratdom_rat_eatme_12",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_eatme_30",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_eatme_40",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"30"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_eatme_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_eatme_20",
        "message":"Nothing obvious happens."
    },
    {
        "id":"ratdom_rat_eatme_30",
        "message":"You feel a pleasant warmth flowing through your body.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"food",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_rat_eatme_40",
        "message":"You feel strange and suddenly icy cold.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"foodp",
                "value":4
            }
        ]
    },
    {
        "id":"ratdom_rat_drinkme",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_drinkme_4",
                "requires":[
                    {
                        "requireType":"timerElapsed",
                        "requireID":"ratdom_rat_drinkme",
                        "value":10
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_drinkme_2"
            }
        ]
    },
    {
        "id":"ratdom_rat_drinkme_2",
        "message":"An beautiful bottle - unfortunately empty."
    },
    {
        "id":"ratdom_rat_drinkme_4",
        "message":"You hear a voice: \"Drink me!\"",
        "replies":[
            {
                "text":"What a lovely color of the bottle. Let's try it.",
                "nextPhraseID":"ratdom_rat_drinkme_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_drinkme_10",
        "message":"You swallow it down and wait.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_drinkme_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_drinkme"
            }
        ]
    },
    {
        "id":"ratdom_rat_drinkme_12",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_drinkme_40",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"15"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_drinkme_30",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"70"
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_drinkme_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_drinkme_20",
        "message":"Nothing obvious happens."
    },
    {
        "id":"ratdom_rat_drinkme_30",
        "message":"You feel a pleasant warmth flowing through your body.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"regen2",
                "value":20
            }
        ]
    },
    {
        "id":"ratdom_rat_drinkme_40",
        "message":"You feel dizzy and suddenly start to sweat heavily.",
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"poison_weak",
                "value":9
            }
        ]
    },
    {
        "id":"ratdom_rat_final_1",
        "message":"Wait! Do you feel it too? We are very close!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Are you sure?",
                "nextPhraseID":"ratdom_rat_final_1_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_final_1_10",
        "message":"Of course.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":21
            }
        ]
    },
    {
        "id":"ratdom_rat_final_2",
        "message":"I am so excited!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Hush!",
                "nextPhraseID":"ratdom_rat_final_2_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_final_2_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":22
            }
        ]
    },
    {
        "id":"ratdom_rat_final_3",
        "message":"Over there - look, the roundling!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"He hasn't noticed us yet.",
                "nextPhraseID":"ratdom_rat_final_3_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_final_3_10",
        "message":"I am not so sure. Roundlings are a strange folk.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":23
            }
        ]
    },
    {
        "id":"ratdom_rat_flora",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_flora_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":140
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"actorCondition",
                "rewardID":"shadowbless_heal",
                "value":25
            }
        ]
    },
    {
        "id":"ratdom_rat_flora_10",
        "message":"Why doesn't he ever do what he's told?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Hey, come in! It is cool and refreshing.",
                "nextPhraseID":"ratdom_rat_flora_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_flora_warn",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_flora_warn_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":140,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_flora_warn_10",
        "message":"Wait! I know this place - it is Flora's fountain. This could be a trap!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Do you think? It looks so peaceful.",
                "nextPhraseID":"ratdom_rat_flora_warn_20"
            },
            {
                "text":"Maybe you are right. We better leave.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":140
            }
        ]
    },
    {
        "id":"ratdom_rat_flora_warn_20",
        "message":"Yeah. Let's better not go under the blue swirl."
    },
    {
        "id":"ratdom_rat_kriih_sign_1",
        "message":"Visitors not wanted"
    },
    {
        "id":"ratdom_rat_museum_sign_1",
        "message":"Here you can see the complete skeleton of King Rah.",
        "replies":[
            {
                "text":"I see nothing.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":130,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Such a great sight! Wart has done a great job.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":130
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_2a",
        "message":"This is the crown of the old Kingdom."
    },
    {
        "id":"ratdom_rat_museum_sign_2b",
        "message":"This is the great key.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_museum_sign_2b_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_2b_10",
        "message":"No rat knows where it fits."
    },
    {
        "id":"ratdom_rat_museum_sign_2c",
        "message":"This is King Rah's diary.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_museum_sign_2c_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_2c_10",
        "message":"At least that is the prevailing opinion. It is written in secret script."
    },
    {
        "id":"ratdom_rat_museum_sign_3a",
        "message":"A suit of armor several centuries old, with the Rat Empire emblem."
    },
    {
        "id":"ratdom_rat_museum_sign_3b",
        "message":"Wonderfully decorated chests - unfortunately all locked."
    },
    {
        "id":"ratdom_rat_museum_sign_3c",
        "message":"Many shelves loaded with thick books."
    },
    {
        "id":"ratdom_rat_museum_sign_3d",
        "message":"A great axe from the last century. You don't want to face a warrior with this weapon in his hands."
    },
    {
        "id":"ratdom_rat_museum_sign_3e",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_museum_sign_3e_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":184
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_museum_sign_3e_10"
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_3e_10",
        "message":"The table is empty. The displayed item seems to be missing."
    },
    {
        "id":"ratdom_rat_museum_sign_3e_20",
        "message":"King Rah's mighty sword."
    },
    {
        "id":"ratdom_rat_museum_sign_3e_check_10",
        "message":"Oh, you bring the mighty sword of King Rah! That's great, we will keep it in honor.",
        "switchToNPC":"ratdom_rat_warden2",
        "replies":[
            {
                "text":"Sure. Here you are.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_12",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"Give me 1000 gold for it.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_14",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"Give me 50000 gold for it.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_16",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"No, I decided to keep it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_3e_check_12",
        "message":"Look how nice it looks on the table over there.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":184
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":380
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_3e_check_14",
        "message":"This is a lot of money for our museum. But here you have 1000 gold.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":184
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":381
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":1000
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_3e_check_16",
        "message":"You are crazy. Our museum doesn't have such a big amount of gold.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_30"
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_3e_check_20",
        "message":"Oh, you have found the mighty sword of King Rah! That's great.",
        "switchToNPC":"ratdom_rat_warden2",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_30"
            }
        ]
    },
    {
        "id":"ratdom_rat_museum_sign_3e_check_30",
        "message":"You may as well give the sword to us now, or you won't get through here.",
        "replies":[
            {
                "text":"OK. Here you are.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_12",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"Give me 1000 gold for it.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_14",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"So I have no choice. Here you are.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_12",
                "requires":[
                    {
                        "requireType":"wearRemove",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"Give me 1000 gold for it.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_14",
                "requires":[
                    {
                        "requireType":"wearRemove",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"Give me 50000 gold for it.",
                "nextPhraseID":"ratdom_rat_museum_sign_3e_check_16",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_rat_sword",
                        "value":1
                    }
                ]
            },
            {
                "text":"I'd rather starve here than give you the sword.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_rat_pub",
        "message":"Dish of the day: Filet de serpent sur pommes de terre au chou rouge."
    },
    {
        "id":"ratdom_rat_rah_complete",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":130
            }
        ]
    },
    {
        "id":"ratdom_rat_statue",
        "replies":[
            {
                "nextPhraseID":"F",
                "requires":[
                    {
                        "requireType":"wear",
                        "requireID":"ratdom_pickaxe",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_statue_40",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":82
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_statue_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":70
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_statue_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_statue_20",
        "message":"You see a beautifully crafted statue of your brother Andor.",
        "switchToNPC":"none",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":60
            }
        ]
    },
    {
        "id":"ratdom_rat_statue_30",
        "message":"Andor's statue may be cleared away with a pickaxe. Hadn't I mentioned it?",
        "switchToNPC":"ratdom_rat",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":80
            }
        ]
    },
    {
        "id":"ratdom_rat_statue_40",
        "message":"When will you finally try to use the pickaxe?",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_rat_sword_key",
        "replies":[
            {
                "nextPhraseID":"ratdom_rat_sword_key_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_sword_key_12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":180,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_sword_key_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":183
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_sword_key_22",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":183
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_sword_key_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_rat_sword_key_32"
            }
        ]
    },
    {
        "id":"ratdom_rat_sword_key_10",
        "message":"What a nice sword. Too bad it's stuck firmly in the wall.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_rat_sword_key_12",
        "message":"What a nice sword. Too bad it's stuck firmly in the wall."
    },
    {
        "id":"ratdom_rat_sword_key_20",
        "message":"The sword is gone! There is just an illusion left.",
        "switchToNPC":"ratdom_rat"
    },
    {
        "id":"ratdom_rat_sword_key_22",
        "message":"The sword is gone! There is just an illusion left."
    },
    {
        "id":"ratdom_rat_sword_key_30",
        "message":"King Rah's sword! Quick - say the words!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Veni gladio fidelis?",
                "nextPhraseID":"ratdom_rat_sword_key_40"
            }
        ]
    },
    {
        "id":"ratdom_rat_sword_key_32",
        "message":"King Rah's sword! Now what again were the words to say?",
        "replies":[
            {
                "text":"Veni gladio fidelis?",
                "nextPhraseID":"ratdom_rat_sword_key_40"
            }
        ]
    },
    {
        "id":"ratdom_rat_sword_key_40",
        "message":"Yes, yes! It moves ...",
        "replies":[
            {
                "text":"Hey, who is this?",
                "nextPhraseID":"ratdom_king_rah"
            }
        ],
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_king_rah",
                "mapName":"ratdom_maze_627"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":183
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_bell",
        "message":"'Hall of remembrance and commemoration of the glorious history of ratdom\n\nFree entry - donation requested'\n",
        "replies":[
            {
                "text":"A museum - boring.",
                "nextPhraseID":"X"
            },
            {
                "text":"Great, I might get a clue how to find my way through these twisty little passages.",
                "nextPhraseID":"X"
            },
            {
                "text":"Read further.",
                "nextPhraseID":"ratdom_rat_warden_bell_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":390,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_bell_10",
        "message":"Oh, there is a note attached to it:\n\n'Museum closed until further notice due to vandalism.\nRing the bell for further advice.'\n",
        "replies":[
            {
                "text":"OK, they had their chance. Let's leave.",
                "nextPhraseID":"X"
            },
            {
                "text":"Ring the bell.",
                "nextPhraseID":"ratdom_rat_warden_bell_20"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_bell_20",
        "message":"DING!",
        "rewards":[
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_rat_warden",
                "mapName":"ratdom_maze_624"
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_cave",
        "message":"You can't get through."
    },
    {
        "id":"ratdom_skel_bone",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_bone_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":100,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_rat_warden_exit",
        "message":"Hey! You must not go there!",
        "switchToNPC":"ratdom_rat_warden2"
    },
    {
        "id":"ratdom_skel_bone_10",
        "message":"As soon as you stepped on the carpet, a loud voice boomed: STOP THE THIEF!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_skel_bone_20"
            }
        ]
    },
    {
        "id":"ratdom_skel_bone_20",
        "message":"Leave the carpet immediatly!",
        "switchToNPC":"ratdom_skel_mage",
        "replies":[
            {
                "text":"Oh, of course. Sorry.",
                "nextPhraseID":"X"
            },
            {
                "text":"Sure. But I'll take this bone here with me.",
                "nextPhraseID":"ratdom_skel_bone_30"
            }
        ]
    },
    {
        "id":"ratdom_skel_bone_30",
        "message":"You picked the bone from its pedestal. Immediatly the music stopped. Uh oh ...",
        "switchToNPC":"none",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance_grp",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance1",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance2",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance3",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance4",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance5",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance6",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_skel_dance7",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":34
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":100
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_leg",
                "value":1
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"none",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance2",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance2_grp",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance21",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance22",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance23",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance24",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance25",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance26",
                "mapName":"ratdom_maze_543d"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_skel_dance27",
                "mapName":"ratdom_maze_543d"
            }
        ]
    },
    {
        "id":"ratdom_skel_lute",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_lute_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_lute_20"
            }
        ]
    },
    {
        "id":"ratdom_skel_lute_10",
        "message":"Hey, why did you disturb our Bone Dance?",
        "switchToNPC":"ratdom_skel_lute"
    },
    {
        "id":"ratdom_skel_lute_20",
        "message":"Hey, come and join the Bone Dance!",
        "switchToNPC":"ratdom_skel_lute"
    },
    {
        "id":"ratdom_skel_horn",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_horn_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_horn_20"
            }
        ]
    },
    {
        "id":"ratdom_skel_horn_10",
        "message":"Yeah?",
        "switchToNPC":"ratdom_skel_lute"
    },
    {
        "id":"ratdom_skel_horn_20",
        "message":"Yeah, yeah, yeah!",
        "switchToNPC":"ratdom_skel_horn"
    },
    {
        "id":"ratdom_skel_drum",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_drum_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_drum_20"
            }
        ]
    },
    {
        "id":"ratdom_skel_drum_10",
        "message":"What now?",
        "switchToNPC":"ratdom_skel_drum"
    },
    {
        "id":"ratdom_skel_drum_20",
        "message":"Oom chicky oom chick, oom chicky oom chi-chicky",
        "switchToNPC":"ratdom_skel_drum",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_skel_drum_20"
            }
        ]
    },
    {
        "id":"ratdom_skel_cymb",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_cymb_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_cymb_20"
            }
        ]
    },
    {
        "id":"ratdom_skel_cymb_10",
        "message":"What next?",
        "switchToNPC":"ratdom_skel_drum"
    },
    {
        "id":"ratdom_skel_cymb_20",
        "message":"Come on Andor, let's have fun there!",
        "switchToNPC":"ratdom_skel_cymb",
        "replies":[
            {
                "text":"Oh, you know my brother?",
                "nextPhraseID":"ratdom_skel_cymb_22"
            }
        ]
    },
    {
        "id":"ratdom_skel_cymb_22",
        "message":"... what? Eh, no. Just a song we heard once."
    },
    {
        "id":"ratdom_skel_clock",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_101",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":100,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_101",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_102",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"80"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_101_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":101
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_101_1"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_101_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_102"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":101
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_101_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_102"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":101
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_102",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_103",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"80"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_102_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":102
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_102_1"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_102_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_103"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":102
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_102_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_103"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":102
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_103",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_104",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"1"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_103_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":103
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_103_1"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_103_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_104"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":103
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_103_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_104"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":103
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_104",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_105",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_104_0",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":104
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_104_1"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_104_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_105"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":104
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_104_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_105"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":104
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_105_0",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"20"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_110"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_105_1",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"25"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_105_2",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"33"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_105_3",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_skel_clock_105_4"
            },
            {
                "nextPhraseID":"ratdom_skel_clock_105_5"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_110"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":105
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":106
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":107
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":108
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":109
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"none",
                "mapName":"ratdom_maze_543d"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_110"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":105
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":106
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":107
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":108
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":109
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"redtint",
                "mapName":"ratdom_maze_543d"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105_3",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_110"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":105
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":106
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":107
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":108
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":109
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"bluetint",
                "mapName":"ratdom_maze_543d"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105_4",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_110"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":105
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":106
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":107
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":108
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":109
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"greentint",
                "mapName":"ratdom_maze_543d"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_105_5",
        "replies":[
            {
                "nextPhraseID":"ratdom_skel_clock_110"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":105
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":106
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":107
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":108
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":109
            },
            {
                "rewardType":"changeMapFilter",
                "rewardID":"bw",
                "mapName":"ratdom_maze_543d"
            }
        ]
    },
    {
        "id":"ratdom_skel_clock_110"
    },
    {
        "id":"ratdom_skel_mage",
        "message":"Do not disturb me. I have to concentrate, because I am providing the light."
    },
    {
        "id":"ratdom_skeleton_boss1_check",
        "replies":[
            {
                "nextPhraseID":"ratdom_skeleton_boss1_check_10",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_skeleton_boss1",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":90,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss1_check_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":72
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss2_check",
        "replies":[
            {
                "nextPhraseID":"ratdom_skeleton_boss2_check_10",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_skeleton_boss2",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_skeleton",
                        "value":90,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_skeleton_boss2_check_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_skeleton",
                "value":71
            }
        ]
    },
    {
        "id":"ratdom_skeleton_drop",
        "message":"You stopped short under the stare of the skeleton leader."
    },
    {
        "id":"ratdom_troll_door1",
        "replies":[
            {
                "nextPhraseID":"ratdom_troll_door1_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_door1_2"
            }
        ]
    },
    {
        "id":"ratdom_store_door1",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":181
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":182
            }
        ]
    },
    {
        "id":"ratdom_store_door2",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":182
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":181
            }
        ]
    },
    {
        "id":"ratdom_troll_door1_1",
        "message":"Do you really want to open this ominous looking massive door? It looks dangerous.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Mmh, maybe not.",
                "nextPhraseID":"X"
            },
            {
                "text":"Sure. No risk no fun!",
                "nextPhraseID":"ratdom_troll_door1_10"
            }
        ]
    },
    {
        "id":"ratdom_troll_door1_2",
        "message":"This ominous looking massive door looks dangerous.",
        "replies":[
            {
                "text":"Mmh, better leave it alone.",
                "nextPhraseID":"X"
            },
            {
                "text":"No risk no fun. Open!",
                "nextPhraseID":"ratdom_troll_door1_10"
            }
        ]
    },
    {
        "id":"ratdom_troll_door1_10",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":170
            }
        ]
    },
    {
        "id":"ratdom_troll_door2",
        "replies":[
            {
                "nextPhraseID":"ratdom_troll_door2_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_door2_2"
            }
        ]
    },
    {
        "id":"ratdom_troll_door2_1",
        "message":"It must be extremely dangerous, because it is secured with two strong doors.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Indeed.",
                "nextPhraseID":"ratdom_troll_door2_10"
            }
        ]
    },
    {
        "id":"ratdom_troll_door2_2",
        "message":"It must be extremely dangerous, because it is secured with two strong doors.",
        "replies":[
            {
                "text":"Go back.",
                "nextPhraseID":"X"
            },
            {
                "text":"Open anyway.",
                "nextPhraseID":"ratdom_troll_door2_32"
            }
        ]
    },
    {
        "id":"ratdom_troll_door2_10",
        "message":"Also I don't believe that the artifact is behind this door.",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"OK. Let's go back and seek your artifact.",
                "nextPhraseID":"ratdom_troll_door2_20"
            },
            {
                "text":"No, Clevred. We are going inside.",
                "nextPhraseID":"ratdom_troll_door2_30"
            }
        ]
    },
    {
        "id":"ratdom_troll_door2_20",
        "message":"Yeah. Wise decision."
    },
    {
        "id":"ratdom_troll_door2_30",
        "message":"He never listens to me, does he?",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":171
            }
        ]
    },
    {
        "id":"ratdom_troll_door2_32",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":171
            }
        ]
    },
    {
        "id":"ratdom_troll_kill",
        "replies":[
            {
                "nextPhraseID":"ratdom_troll_kill_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":162,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_troll_1",
                        "value":2
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_kill_3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":163,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_troll_2",
                        "value":5
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_kill_4",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":164,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_troll_3",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_kill_5",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":165,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_troll_4",
                        "value":12
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_kill_6",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":166,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_troll_5",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_troll_kill_9",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":169,
                        "negate":true
                    },
                    {
                        "requireType":"killedMonster",
                        "requireID":"ratdom_troll_6",
                        "value":5
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_troll_kill_2a"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":162
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_2a",
        "message":"The last words of the young ogre are echoing through the cave:\n'Help! Help! This sneaky dwarf kills us ...'\n\nThen - silence.\n\nSuddenly the cave is filled with the sound of stomping feet.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_troll_kill_2b"
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_2b",
        "message":"Ogres - they are everywhere!"
    },
    {
        "id":"ratdom_troll_kill_3",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":163
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_1",
                "mapName":"ratdom_maze_517a"
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_4",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":164
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_2a",
                "mapName":"ratdom_maze_517a"
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_2b",
                "mapName":"ratdom_maze_517a"
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_2c",
                "mapName":"ratdom_maze_517a"
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_5",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":165
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_3",
                "mapName":"ratdom_maze_517a"
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_6",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":166
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_4a",
                "mapName":"ratdom_maze_517a"
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_4b",
                "mapName":"ratdom_maze_517a"
            }
        ]
    },
    {
        "id":"ratdom_troll_kill_9",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":169
            },
            {
                "rewardType":"deactivateSpawnArea",
                "rewardID":"ratdom_troll_5",
                "mapName":"ratdom_maze_517a"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_troll_1",
                "mapName":"ratdom_maze_517a"
            }
        ]
    },
    {
        "id":"ratdom_troll_sign1",
        "message":"Beware of the ogre!"
    },
    {
        "id":"ratdom_uglybrute_script",
        "replies":[
            {
                "nextPhraseID":"ratdom_uglybrute_script_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":70,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_uglybrute_script_10",
        "message":"What an ugly monster!",
        "replies":[
            {
                "text":"Hey, Ugly!",
                "nextPhraseID":"ratdom_uglybrute_script_20"
            }
        ]
    },
    {
        "id":"ratdom_uglybrute_script_20",
        "message":"Roar?",
        "switchToNPC":"ratdom_uglybrute",
        "replies":[
            {
                "text":"Fortunately for you there is no mirror here.",
                "nextPhraseID":"ratdom_uglybrute_script_30"
            },
            {
                "text":"Sorry, I didn't want to disturb you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_uglybrute_script_30",
        "message":"ROAR!!",
        "replies":[
            {
                "text":"Aww, is the little brute angry now?",
                "nextPhraseID":"ratdom_uglybrute_script_90"
            },
            {
                "text":"Oops, I better be quiet now ...",
                "nextPhraseID":"ratdom_uglybrute_script_32"
            }
        ]
    },
    {
        "id":"ratdom_uglybrute_script_32",
        "message":"Indeed you better be!",
        "switchToNPC":"ratdom_uglybrute",
        "replies":[
            {
                "text":"The beast is able to talk?",
                "nextPhraseID":"ratdom_uglybrute_script_90"
            },
            {
                "text":"... and leave quickly!",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_uglybrute_script_90",
        "message":"It is ENOUGH now! I'll teach you manners!",
        "switchToNPC":"ratdom_uglybrute",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":70
            }
        ]
    },
    {
        "id":"ratdom_wakeup",
        "replies":[
            {
                "nextPhraseID":"ratdom_wakeup_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":950
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":999,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wakeup_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":960
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":999,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wakeup_02",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":1,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":940,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":942,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":999,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"odair",
                        "value":100
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"bonemeal",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"lodar2",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":115
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"stn_colonel",
                        "value":190
                    },
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":9000
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_wakeup_02",
        "replies":[
            {
                "nextPhraseID":"ratdom_wakeup_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bone",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wakeup_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":2
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":10
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"ratdom_objgrp",
                "mapName":"home"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_rat",
                "mapName":"home"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_mikhail",
                "mapName":"home"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_rat_statue",
                "mapName":"crossglen_cave"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_mara",
                "mapName":"crossglen"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_tharal",
                "mapName":"crossglen"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"crossglen_caverat",
                "mapName":"crossglen"
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"ratdom_keys",
                "mapName":"crossglen"
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_eatme"
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_rat_drinkme"
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_compass_tour"
            },
            {
                "rewardType":"createTimer",
                "rewardID":"ratdom_compass_bwm"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_wakeup_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bone",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wakeup_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_wakeup_bones",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_wakeup_20",
        "message":"You were so tired yesterday, that you didn't even make it to your bed. You dreamed of rats and that something bit your toes firmly. Apparently you had a nightmare.\nYou open your eyes ...",
        "switchToNPC":"none",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wakeup_30"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_30",
        "message":"... but you seem to sleep still!"
    },
    {
        "id":"ratdom_wakeup_50",
        "replies":[
            {
                "nextPhraseID":"ratdom_wakeup_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wakeup_52"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_52",
        "message":"Hey! Have you already done all my tasks?",
        "switchToNPC":"ratdom_mikhail",
        "replies":[
            {
                "text":"Oh. Hello Gruiik.",
                "nextPhraseID":"ratdom_mikhail"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_90",
        "message":"You stumbled to the ground.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wakeup_92"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_92",
        "message":"You didn't make it to your bed - again. Nevertheless you took some minutes of sleep.\nWhen you woke up, something had changed. The rats are gone!\n\nWhat a terrible dream. Or - was everything really just a dream?",
        "replies":[
            {
                "text":"My head ...",
                "nextPhraseID":"ratdom_wakeup_100"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":999
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":1
            },
            {
                "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_wakeup_100",
        "message":"$playername - do I have to worry about you?",
        "switchToNPC":"mikhail",
        "replies":[
            {
                "text":"Where is the big rat?",
                "nextPhraseID":"ratdom_wakeup_110"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_110",
        "message":"You got rid of the rats long ago.",
        "replies":[
            {
                "text":"No. Yes, but ...  Have you seen Clevred?",
                "nextPhraseID":"ratdom_wakeup_120"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_120",
        "message":"I don't know anyone with that name. You must have had a bad dream. And better stay off the mead.",
        "replies":[
            {
                "text":"I didn't drink.",
                "nextPhraseID":"ratdom_wakeup_130"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_130",
        "message":"Yes that's what they all say. Better go and find Andor at last.",
        "replies":[
            {
                "text":"But ...",
                "nextPhraseID":"ratdom_wakeup_132"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_132",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wakeup_140",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":30
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_wakeup_150",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":32
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_wakeup_140",
        "message":"When I think of drinking - Mara seems to have disappeared. So we're all going to stop drinking mead.",
        "replies":[
            {
                "text":"What?",
                "nextPhraseID":"ratdom_wakeup_142"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_142",
        "message":"Maybe she wanted to make her dream of opening a tavern in Brightport come true?",
        "replies":[
            {
                "text":"Oh.",
                "nextPhraseID":"ratdom_wakeup_144"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_144",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wakeup_146",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_mikhail",
                        "value":32
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_wakeup_146",
        "message":"Tharal has also disappeared. But I don't think that has anything to do with each other. He often just roams through the forest and will definitely be back soon.",
        "replies":[
            {
                "text":"I hope so. But I have a bad feeling ...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_150",
        "message":"By the way - Tharal seems to have disappeared. So he won't be able to cure your headache.",
        "replies":[
            {
                "text":"Oh.",
                "nextPhraseID":"ratdom_wakeup_152"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_152",
        "message":"Maybe he needed some time of peace and roams through the forest?",
        "replies":[
            {
                "text":"Eh, maybe. Sure.",
                "nextPhraseID":"ratdom_wakeup_154"
            }
        ]
    },
    {
        "id":"ratdom_wakeup_154",
        "message":"I hope he will be back soon.",
        "replies":[
            {
                "text":"I hope so too. But I have a bad feeling ...",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_water_flag",
        "replies":[
            {
                "nextPhraseID":"ratdom_water_flag_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":60
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_water_flag_10"
            }
        ]
    },
    {
        "id":"ratdom_water_flag_10",
        "message":"Go around the flag."
    },
    {
        "id":"ratdom_water_flag_20",
        "message":"One time around the flag is enough."
    },
    {
        "id":"ratdom_water_sign",
        "message":"[unreadable signs]",
        "replies":[
            {
                "text":"What is that scribble?",
                "nextPhraseID":"ratdom_water_sign_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_water_sign_10",
        "message":"Scribble? It is plain text!",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_water_sign_20"
            }
        ]
    },
    {
        "id":"ratdom_water_sign_20",
        "message":"It says: 'Don't touch the water.'"
    },
    {
        "id":"ratdom_water_x1",
        "replies":[
            {
                "nextPhraseID":"ratdom_water_x1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_quest",
                        "value":35,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":60
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"water01",
                "mapName":"ratdom_maze_664"
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"water02",
                "mapName":"ratdom_maze_664"
            }
        ]
    },
    {
        "id":"ratdom_water_x1_10",
        "message":"You find some rat bones on the ground behind the flag.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_quest",
                "value":35
            },
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_rat_skelett_tail",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_water_x2",
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":60
            },
            {
                "rewardType":"activateMapObjectGroup",
                "rewardID":"water01",
                "mapName":"ratdom_maze_664"
            },
            {
                "rewardType":"deactivateMapObjectGroup",
                "rewardID":"water02",
                "mapName":"ratdom_maze_664"
            }
        ]
    },
    {
        "id":"ratdom_well_1",
        "message":"A deep well",
        "replies":[
            {
                "text":"You throw a shimmering globe into the well.",
                "nextPhraseID":"ratdom_well_1_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_wells_ball",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":51,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_1_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_10_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":45
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_1_10_0"
            }
        ]
    },
    {
        "id":"ratdom_well_1_10_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_well_1_10_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_well_1_11",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_11_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":44
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_1_11_0"
            }
        ]
    },
    {
        "id":"ratdom_well_1_11_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_well_1_11_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_well_1_12",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_12_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":41
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_1_12_0"
            }
        ]
    },
    {
        "id":"ratdom_well_1_12_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_13"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_well_1_12_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_13"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_well_1_13",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_1_13_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_1_13_0"
            }
        ]
    },
    {
        "id":"ratdom_well_1_13_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            }
        ]
    },
    {
        "id":"ratdom_well_1_13_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            }
        ]
    },
    {
        "id":"ratdom_well_2",
        "message":"A deep well",
        "replies":[
            {
                "text":"You throw a shimmering globe into the well.",
                "nextPhraseID":"ratdom_well_2_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_wells_ball",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":51,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_2_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_10_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":47
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_2_10_0"
            }
        ]
    },
    {
        "id":"ratdom_well_2_10_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            }
        ]
    },
    {
        "id":"ratdom_well_2_10_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            }
        ]
    },
    {
        "id":"ratdom_well_2_11",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_11_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":45
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_2_11_0"
            }
        ]
    },
    {
        "id":"ratdom_well_2_11_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_well_2_11_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_well_2_12",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_2_12_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":42
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_2_12_0"
            }
        ]
    },
    {
        "id":"ratdom_well_2_12_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_well_2_12_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_well_3",
        "message":"A deep well",
        "replies":[
            {
                "text":"You throw a shimmering globe into the well.",
                "nextPhraseID":"ratdom_well_3_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_wells_ball",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":51,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_3_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_3_10_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":44
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_3_10_0"
            }
        ]
    },
    {
        "id":"ratdom_well_3_10_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_3_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_well_3_10_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_3_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_well_3_11",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_3_11_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":42
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_3_11_0"
            }
        ]
    },
    {
        "id":"ratdom_well_3_11_0",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_well_3_11_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_well_4",
        "message":"A deep well",
        "replies":[
            {
                "text":"You throw a shimmering globe into the well.",
                "nextPhraseID":"ratdom_well_4_09",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_wells_ball",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":51,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_4_09",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":40
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_09b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":48
            }
        ]
    },
    {
        "id":"ratdom_well_4_09b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":48
            }
        ]
    },
    {
        "id":"ratdom_well_4_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_11",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":41
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_10b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            }
        ]
    },
    {
        "id":"ratdom_well_4_10b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            }
        ]
    },
    {
        "id":"ratdom_well_4_11",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":42
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_11b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_well_4_11b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_well_4_12",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_13",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":43
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_12b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_well_4_12b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_13"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_well_4_13",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":44
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_13b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":43
            }
        ]
    },
    {
        "id":"ratdom_well_4_13b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_14"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":43
            }
        ]
    },
    {
        "id":"ratdom_well_4_14",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":45
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_14b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_well_4_14b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_15"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_well_4_15",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_16",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":46
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_15b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_well_4_15b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_16"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_well_4_16",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_17",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":47
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_16b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":46
            }
        ]
    },
    {
        "id":"ratdom_well_4_16b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_4_17"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":46
            }
        ]
    },
    {
        "id":"ratdom_well_4_17",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":48
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_4_17b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            }
        ]
    },
    {
        "id":"ratdom_well_4_17b",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            }
        ]
    },
    {
        "id":"ratdom_well_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":40,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":41,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":42,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":43,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":44,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":45,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":46,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":47,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_well_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":41
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":42
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":43
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":44
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":45
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":46
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":47
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_20",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_22",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"achievements",
                        "value":1
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise1",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise2",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_well_wise3",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":49
            },
            {
                "rewardType":"questProgress",
                "rewardID":"achievements",
                "value":125
            }
        ]
    },
    {
        "id":"ratdom_well_22",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"achievements",
                "value":125
            }
        ]
    },
    {
        "id":"ratdom_well_30",
        "message":"No, no, no, NO!",
        "switchToNPC":"ratdom_well_wise0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_well_31"
            }
        ]
    },
    {
        "id":"ratdom_well_31",
        "message":"Not orange! Make it blue!",
        "switchToNPC":"ratdom_well_wise0",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_well_32"
            }
        ]
    },
    {
        "id":"ratdom_well_32",
        "message":"Blue! Do you hear me? BLUE!!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_well_33"
            }
        ]
    },
    {
        "id":"ratdom_well_33",
        "message":"Is it really that difficult? Sigh."
    },
    {
        "id":"ratdom_wells_init",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":31,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":32,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":33,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":34,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":35,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":36,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":37,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_20"
            }
        ]
    },
    {
        "id":"ratdom_wells_init_10",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_11",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"base_nondisplay",
                        "value":2,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_10b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":30
            }
        ]
    },
    {
        "id":"ratdom_wells_init_10b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_11"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":30
            }
        ]
    },
    {
        "id":"ratdom_wells_init_11",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_12",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_11b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":31
            }
        ]
    },
    {
        "id":"ratdom_wells_init_11b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_12"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":31
            }
        ]
    },
    {
        "id":"ratdom_wells_init_12",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_13",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_12b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":32
            }
        ]
    },
    {
        "id":"ratdom_wells_init_12b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_13"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":32
            }
        ]
    },
    {
        "id":"ratdom_wells_init_13",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"base_nondisplay",
                        "value":2,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_13b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":33
            }
        ]
    },
    {
        "id":"ratdom_wells_init_13b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_14"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":33
            }
        ]
    },
    {
        "id":"ratdom_wells_init_14",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"base_nondisplay",
                        "value":2
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_14b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":34
            }
        ]
    },
    {
        "id":"ratdom_wells_init_14b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_15"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":34
            }
        ]
    },
    {
        "id":"ratdom_wells_init_15",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_16",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_15b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_wells_init_15b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_16"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":35
            }
        ]
    },
    {
        "id":"ratdom_wells_init_16",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_17",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_16b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":36
            }
        ]
    },
    {
        "id":"ratdom_wells_init_16b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_17"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":36
            }
        ]
    },
    {
        "id":"ratdom_wells_init_17",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_20",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_17b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":37
            }
        ]
    },
    {
        "id":"ratdom_wells_init_17b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":37
            }
        ]
    },
    {
        "id":"ratdom_wells_init_20",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_21",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_20b"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise3",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":49
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            }
        ]
    },
    {
        "id":"ratdom_wells_init_20b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_21"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            }
        ]
    },
    {
        "id":"ratdom_wells_init_21",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_22",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":31
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_21b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_wells_init_21b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_22"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            }
        ]
    },
    {
        "id":"ratdom_wells_init_22",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_23",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":32
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_22b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_wells_init_22b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_23"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            }
        ]
    },
    {
        "id":"ratdom_wells_init_23",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_24",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":33
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_23b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":43
            }
        ]
    },
    {
        "id":"ratdom_wells_init_23b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_24"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":43
            }
        ]
    },
    {
        "id":"ratdom_wells_init_24",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_25",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":34
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_24b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_wells_init_24b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_25"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            }
        ]
    },
    {
        "id":"ratdom_wells_init_25",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_26",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":35
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_25b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_wells_init_25b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_26"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            }
        ]
    },
    {
        "id":"ratdom_wells_init_26",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_27",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":36
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_26b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":46
            }
        ]
    },
    {
        "id":"ratdom_wells_init_26b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_27"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":46
            }
        ]
    },
    {
        "id":"ratdom_wells_init_27",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_30",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":37
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_init_27b"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            }
        ]
    },
    {
        "id":"ratdom_wells_init_27b",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_30"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            }
        ]
    },
    {
        "id":"ratdom_wells_init_30",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_init_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_wells_ball",
                        "value":1
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_wells_chest",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_chest_2",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_wells",
                        "value":29
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_chest_4"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_chest_4"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_wells",
                "value":19
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_4",
        "message":"You have found 5 shimmering balls.",
        "replies":[
            {
                "text":"Nice.",
                "nextPhraseID":"X"
            },
            {
                "text":"It seems to be more difficult than I thought at first.",
                "nextPhraseID":"ratdom_wells_chest_10",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_wells",
                        "value":5
                    }
                ]
            },
            {
                "text":"My head is spinning already.",
                "nextPhraseID":"ratdom_wells_chest_10",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_wells",
                        "value":10
                    }
                ]
            },
            {
                "text":"Oh my. I just don't know how to solve this.",
                "nextPhraseID":"ratdom_wells_chest_9",
                "requires":[
                    {
                        "requireType":"factionScoreEquals",
                        "requireID":"ratdom_wells",
                        "value":20
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"ratdom_wells_ball",
                "value":5
            },
            {
                "rewardType":"alignmentChange",
                "rewardID":"ratdom_wells",
                "value":1
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_9",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wells_chest_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_wells",
                "value":10
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_10",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wells_chest_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":10
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"ratdom_wells_chest_12"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_12",
        "message":"Clevred certainly would have known what to do now.",
        "replies":[
            {
                "text":"Why only did I leave him?",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_14",
        "message":"Sigh. Need help again?",
        "switchToNPC":"ratdom_rat",
        "replies":[
            {
                "text":"Me? Of course not!",
                "nextPhraseID":"X"
            },
            {
                "text":"Don't pretend you know how to solve it.",
                "nextPhraseID":"ratdom_wells_chest_16"
            },
            {
                "text":"Please. I just don't know what to do here.",
                "nextPhraseID":"ratdom_wells_chest_20"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_16",
        "message":"I don't pretend to know. I do know.",
        "replies":[
            {
                "text":"So?",
                "nextPhraseID":"ratdom_wells_chest_20"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_20",
        "message":"Simply drop the balls into the right wells, so that the lamps all have one color. So easy.",
        "replies":[
            {
                "text":"OK. I'll try again.",
                "nextPhraseID":"X"
            },
            {
                "text":"But the lamps never do what I want. Stupid game.",
                "nextPhraseID":"ratdom_wells_chest_30"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_30",
        "message":"Don't start crying.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"ratdom_wells_chest_32"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_32",
        "message":"Each well seem to affect the lamps in a certain way. Just combine that - I am sure you get it now.",
        "replies":[
            {
                "text":"Do you think so? OK. I'll try again.",
                "nextPhraseID":"X"
            },
            {
                "text":"No, I give up.",
                "nextPhraseID":"ratdom_wells_chest_40"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_40",
        "message":"Oh dear. What do you have a head for, just against the rain? Well I could do it for you.",
        "replies":[
            {
                "text":"Wait, I'll try once more.",
                "nextPhraseID":"X"
            },
            {
                "text":"Please do. Here, take the balls.",
                "nextPhraseID":"ratdom_wells_chest_50"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_50",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_chest_50",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"ratdom_wells_ball",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"ratdom_wells_chest_52"
            }
        ]
    },
    {
        "id":"ratdom_wells_chest_52",
        "message":"Ready. I hope you watched closely how I did it.",
        "replies":[
            {
                "text":"Eh, sure.",
                "nextPhraseID":"X"
            },
            {
                "text":"Well ...",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":40
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":41
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":42
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":43
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":44
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":45
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":46
            },
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"ratdom_nondisplay",
                "value":47
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise1",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise2",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_well_wise3",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":49
            },
            {
                "rewardType":"questProgress",
                "rewardID":"ratdom_nondisplay",
                "value":51
            }
        ]
    },
    {
        "id":"ratdom_well_wise_1",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_wise_1_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":49,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_wise_1_10",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise1",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_well_wise2",
                "mapName":"ratdom_maze_768"
            }
        ]
    },
    {
        "id":"ratdom_well_wise_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_well_wise_2_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"ratdom_nondisplay",
                        "value":49,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"ratdom_well_wise_2_10",
        "rewards":[
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"ratdom_well_wise2",
                "mapName":"ratdom_maze_768"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"ratdom_well_wise1",
                "mapName":"ratdom_maze_768"
            }
        ]
    },
    {
        "id":"ratdom_do_nothing",
        "message":"Let's do the bone dance again!"
    },
    {
        "id":"ratdom_rat_flora_20",
        "message":"Me and water? Forget it!"
    },
    {
        "id":"ratdom_wells_chest_2",
        "replies":[
            {
                "nextPhraseID":"ratdom_wells_chest_4"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentSet",
                "rewardID":"ratdom_wells",
                "value":19
            }
        ]
    }
]