[
    {
        "id":"umar_select_1",
        "replies":[
            {
                "nextPhraseID":"umar_return_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":51
                    }
                ]
            },
            {
                "nextPhraseID":"umar_novisit_1"
            }
        ]
    },
    {
        "id":"umar_return_1",
        "message":"Hello again, my friend.",
        "replies":[
            {
                "text":"Do you have any tasks for me?",
                "nextPhraseID":"umar_guild04_0",
                "requires":[
                    {
                        "requireType":"factionScore",
                        "requireID":"ThievesGuild",
                        "value":20
                    }
                ]
            },
            {
                "text":"Are you going to tell me about the key?",
                "nextPhraseID":"umar_guild03_27c",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":45
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":50,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Crackshot is dead.",
                "nextPhraseID":"umar_guild03_25",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":45,
                        "negate":true
                    }
                ]
            },
            {
                "text":"What am I supposed to do again?",
                "nextPhraseID":"umar_guild03_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "text":"What are your plans for the traitors?",
                "nextPhraseID":"umar_guild03_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":5
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":10,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Can you continue with what you were telling me about the traitors?",
                "nextPhraseID":"umar_guild03_10c",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":4
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":5,
                        "negate":true
                    }
                ]
            },
            {
                "text":"We are supposed to talk about something.",
                "nextPhraseID":"umar_guild03_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":3
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":4,
                        "negate":true
                    }
                ]
            },
            {
                "text":"We were supposed to talk about something, right?",
                "nextPhraseID":"umar_guild02_26",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":76
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":75,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"We were supposed to talk about something, right?",
                "nextPhraseID":"umar_guild02_26",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":75
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves03",
                        "value":1,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I've finally finished the job.",
                "nextPhraseID":"umar_guild02_22",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"Thieves02",
                        "value":75,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":70
                    }
                ]
            },
            {
                "text":"What am I suppossed to do again?",
                "nextPhraseID":"umar_guild02_21",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":45,
                        "negate":true
                    }
                ]
            },
            {
                "text":"What am I supposed to do with the noblewoman?",
                "nextPhraseID":"umar_guild02_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":35
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":40,
                        "negate":true
                    }
                ]
            },
            {
                "text":"What am I supposed to do with the noblewoman?",
                "nextPhraseID":"umar_guild02_19",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":35,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I have to talk to you about the noblewoman.",
                "nextPhraseID":"umar_guild02_28",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":24
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":21
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":20,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":76,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I have brought the hostage.",
                "nextPhraseID":"umar_guild02_16",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":30,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":21,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":24,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Anything more about my new task?",
                "nextPhraseID":"umar_guild02_15",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":6
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":15,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Anything more about my new task?",
                "nextPhraseID":"umar_guild02_10",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"Thieves02",
                        "value":2
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":4,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Anything more about my new task?",
                "nextPhraseID":"umar_guild02_13",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"Thieves02",
                        "value":4
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":6,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":15,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Troublemaker sent me. I have finished the job.",
                "nextPhraseID":"umar_guild02_1",
                "requires":[
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"Thieves01",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves02",
                        "value":2,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Hello.",
                "nextPhraseID":"umar_return_2"
            },
            {
                "text":"Nice to meet you. Goodbye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"umar_return_2",
        "message":"Anything else I can help you with?",
        "replies":[
            {
                "text":"Can you repeat what you said about Andor?",
                "nextPhraseID":"umar_5"
            },
            {
                "text":"Nice to meet you. Goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"Yes, I want to know more about the Thieves' Guild.",
                "nextPhraseID":"umar_guild_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"bucus",
                        "value":100,
                        "negate":false
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves01",
                        "value":5,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I've been thinking about joining the guild.",
                "nextPhraseID":"umar_guild_4b",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves01",
                        "value":5
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"Thieves01",
                        "value":10,
                        "negate":true
                    },
                    {
                        "requireType":"questLatestProgress",
                        "requireID":"Thieves01",
                        "value":60,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"umar_novisit_1",
        "message":"Hello. How did your search go?",
        "replies":[
            {
                "text":"What search?",
                "nextPhraseID":"umar_2"
            }
        ]
    },
    {
        "id":"umar_2",
        "message":"Last time we talked, you asked for the way to Lodar's Hideaway. Did you find it?",
        "replies":[
            {
                "text":"We have never met.",
                "nextPhraseID":"umar_3"
            },
            {
                "text":"You must have me confused with my brother Andor. We look very much alike.",
                "nextPhraseID":"umar_4"
            }
        ]
    },
    {
        "id":"umar_3",
        "message":"Oh. I must have you confused with someone else.",
        "replies":[
            {
                "text":"My brother Andor and I look very much alike.",
                "nextPhraseID":"umar_4"
            }
        ]
    },
    {
        "id":"umar_4",
        "message":"Really? Never mind I said anything then.",
        "replies":[
            {
                "text":"I guess that means that Andor was here. What was he doing?",
                "nextPhraseID":"umar_5"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"andor",
                "value":51
            }
        ]
    },
    {
        "id":"umar_5",
        "message":"He came here a while ago, asking a lot of questions about what relation the Thieves' Guild has to the Shadow and to the royal guard in Feygard.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_6"
            }
        ]
    },
    {
        "id":"umar_6",
        "message":"We in the Thieves' Guild really don't care much for the Shadow. Nor do we care for the royal guard.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_7"
            }
        ]
    },
    {
        "id":"umar_7",
        "message":"We try to be above their bickering and differences. They may fight as much as they want, but the Thieves' Guild will outlive them all.",
        "replies":[
            {
                "text":"What differences?",
                "nextPhraseID":"umar_conflict_1"
            },
            {
                "text":"Tell me more about what Andor asked for.",
                "nextPhraseID":"umar_andor_1"
            }
        ]
    },
    {
        "id":"umar_conflict_1",
        "message":"Where have you been the last couple of years? Don't you know of the brewing conflict?",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_conflict_2"
            }
        ]
    },
    {
        "id":"umar_conflict_2",
        "message":"The royal guard, led by Lord Geomyr in Feygard, are trying to ward off the recent increase in illegal activities, and are therefore imposing more restrictions on what is or is not allowed.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_conflict_3"
            }
        ]
    },
    {
        "id":"umar_conflict_3",
        "message":"The priests of the Shadow, mostly seated in Nor City, are opposed to the new restrictions, saying that they limit the ways that they can please the Shadow.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_conflict_4"
            }
        ]
    },
    {
        "id":"umar_conflict_4",
        "message":"In turn, the rumor is that the priests of the Shadow are planning to overthrow Lord Geomyr and his forces.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_conflict_5"
            }
        ]
    },
    {
        "id":"umar_conflict_5",
        "message":"Also, the rumor is that the priests of the Shadow are still doing their rituals, despite the fact that most of the rituals have been banned.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_conflict_6"
            }
        ]
    },
    {
        "id":"umar_conflict_6",
        "message":"Lord Geomyr and his royal guard on the other hand, are still trying their best to rule in a way that they feel is fair.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_conflict_7"
            }
        ]
    },
    {
        "id":"umar_conflict_7",
        "message":"We in the Thieves' Guild try not to get involved in the conflict. Our business is so far unaffected by all of this.",
        "replies":[
            {
                "text":"Thank you for telling me.",
                "nextPhraseID":"umar_return_2"
            },
            {
                "text":"Whatever, that doesn't concern me.",
                "nextPhraseID":"umar_return_2"
            }
        ]
    },
    {
        "id":"umar_andor_1",
        "message":"He asked me for my support, and asked about how to find Lodar.",
        "replies":[
            {
                "text":"Who is Lodar?",
                "nextPhraseID":"umar_andor_2"
            }
        ]
    },
    {
        "id":"umar_andor_2",
        "message":"Lodar? He is one of the famous potion makers from the old days. The Thieves' Guild has requested his services many times before. He can make all sorts of strong sleeping potions, healing potions and cures.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_andor_3"
            }
        ]
    },
    {
        "id":"umar_andor_3",
        "message":"But his specialty is, of course, his poisons. His poison can harm even the largest of monsters.",
        "replies":[
            {
                "text":"What would Andor want with him?",
                "nextPhraseID":"umar_andor_4"
            }
        ]
    },
    {
        "id":"umar_andor_4",
        "message":"I don't know. Maybe he was looking for a potion.",
        "replies":[
            {
                "text":"So, where can I find this Lodar?",
                "nextPhraseID":"umar_lodar_1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"andor",
                "value":55
            }
        ]
    },
    {
        "id":"umar_lodar_1",
        "message":"I really shouldn't tell you. How to get to him is one of our closely guarded secrets in the guild. His hideaway is only reachable by our members.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_lodar_2"
            }
        ]
    },
    {
        "id":"umar_lodar_2",
        "message":"However, I heard that you helped us find the key of Luthor. This is something we have been trying to get for a long time.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_lodar_3"
            }
        ]
    },
    {
        "id":"umar_lodar_3",
        "message":"OK, I'll tell you how to get to Lodar's Hideaway. But you have to promise to keep it a secret. Do not tell anyone. Not even those that appear to be members of the Thieves' Guild.",
        "replies":[
            {
                "text":"OK, I'll promise to keep it a secret.",
                "nextPhraseID":"umar_lodar_4"
            },
            {
                "text":"I can't give any guarantees, but I will try.",
                "nextPhraseID":"umar_lodar_4"
            }
        ]
    },
    {
        "id":"umar_lodar_4",
        "message":"Good. The thing is, you not only need to find the place itself, but you also need to utter the correct words to be allowed entry by the guardian.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_lodar_5"
            }
        ]
    },
    {
        "id":"umar_lodar_5",
        "message":"The only one that understands the language of the guardian is the old man Ogam in Vilegard.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_lodar_6"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"lodar",
                "value":10
            }
        ]
    },
    {
        "id":"umar_lodar_6",
        "message":"You should travel to the town of Vilegard and find Ogam. He can help you get the right words to enter Lodar's Hideaway.",
        "replies":[
            {
                "text":"How do I get to Vilegard?",
                "nextPhraseID":"umar_vilegard_1"
            },
            {
                "text":"Thank you. There was something else I wanted to talk about.",
                "nextPhraseID":"umar_return_2"
            },
            {
                "text":"Thank you, goodbye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"lodar",
                "value":15
            }
        ]
    },
    {
        "id":"umar_vilegard_1",
        "message":"You travel southeast from Fallhaven. When you reach the main road and the Foaming Flask tavern, head south. It's not very far to the southeast from here.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"umar_return_2"
            }
        ]
    }
]