[
    {
        "id":"brv_wh_delivery_boss_10",
        "message":"Ah! You have finally returned, my new worker.",
        "replies":[
            {
                "text":"How may I be of service?",
                "nextPhraseID":"brv_wh_delivery_boss_20"
            },
            {
                "text":"What is it this time?",
                "nextPhraseID":"brv_wh_delivery_boss_20"
            },
            {
                "text":"Ah! You are still insolent.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_20",
        "message":"I need someone to deliver all of the items that are in storage.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_wh_delivery_boss_30"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_30",
        "message":"Come back to me when you have delivered all of the items. The order is not important. Here is the list of customers.",
        "replies":[
            {
                "text":"It will be done.",
                "nextPhraseID":"brv_wh_delivery_boss_40"
            },
            {
                "text":"You want me to deliver these items to your customers?",
                "nextPhraseID":"brv_wh_delivery_boss_40"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":10
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":20
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":30
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":40
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":50
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":60
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":70
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":80
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":90
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":100
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":110
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":120
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_00",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_01",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_02",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_03",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_04",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_05",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_06",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_07",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_08",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"brv_wh_item_09",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_reward_nondisplay",
                "value":1
            },
            {
                "rewardType":"giveItem",
                "rewardID":"facutloni_docket",
                "value":1
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_40",
        "message":"Yes yes, hurry now. I have work to do here.",
        "replies":[
            {
                "text":"I'm going now.",
                "nextPhraseID":"X"
            },
            {
                "text":"Hope I get paid better this time.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_arcir",
        "message":"Yes, an old but useful book, but you should have wiped it off first. Anyway, here's my delivery fee.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":20
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":10
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":20
            }
        ]
    },
    {
        "id":"brv_wh_delivery_edrin",
        "message":"Ah, yes, a striped hammer. Don't look so impatient. Here's my delivery charge, and now you can leave!",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":30
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":20
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":10
            }
        ]
    },
    {
        "id":"brv_wh_delivery_odirath",
        "message":"Yes, indeed. A gift for my beautiful daughter... but why did it take so long? Sigh, here's my delivery fee.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":40
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":30
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":30
            }
        ]
    },
    {
        "id":"brv_wh_delivery_venanra",
        "message":"Yes I did, kid. Incredibly, it has become the latest fashion to buy new capes with holes. Here's my delivery fee.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":50
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":40
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":10
            }
        ]
    },
    {
        "id":"brv_wh_delivery_tjure",
        "message":"What?! My lucky clover...but why now? Anyway, I'll no longer run out of luck. Here's my delivery fee.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":60
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":50
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":50
            }
        ]
    },
    {
        "id":"brv_wh_delivery_servant",
        "message":"Finally, I'm no longer afraid of that room every time my lord turns off the lights to scare me. Here's my delivery fee.",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":70
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":60
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":40
            }
        ]
    },
    {
        "id":"brv_wh_delivery_arghes",
        "message":"Yes kid, thank you. Here, take this gold for them.",
        "replies":[
            {
                "text":"You're welcome.",
                "nextPhraseID":"X"
            },
            {
                "text":"Bye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":80
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":70
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":50
            }
        ]
    },
    {
        "id":"brv_wh_delivery_wyre_negative",
        "message":"That's not what I'm waiting for! Go out and find out what happened to my son, please!"
    },
    {
        "id":"brv_wh_delivery_wyre",
        "message":"Yes, I'm longing for it just like how I'm longing for my son. But now I can mourn as I play his favorite song until I die.",
        "replies":[
            {
                "text":"My sincere condolence for the loss of your beloved son.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":90
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":80
            }
        ]
    },
    {
        "id":"brv_wh_delivery_mikhail",
        "message":"Oh wow! Finally, your brother's gift has arrived and we only have to wait for his arrival.",
        "replies":[
            {
                "text":"Sigh. I hope so.",
                "nextPhraseID":"brv_wh_delivery_mikhail2"
            },
            {
                "text":"What?! Where's my gift?",
                "nextPhraseID":"brv_wh_delivery_mikhail3"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":100
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":90
            }
        ]
    },
    {
        "id":"brv_wh_delivery_mikhail3",
        "message":"I already gave you his shield.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"brv_wh_delivery_mikhail2"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_mikhail2",
        "message":"Anyway, it's been a very long time so please go look for your brother.",
        "replies":[
            {
                "text":"OK, bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"I'm still looking for him.",
                "nextPhraseID":"X"
            },
            {
                "text":"Eh, you have to pay for it...",
                "nextPhraseID":"brv_wh_delivery_mikhail4"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_mikhail4",
        "message":"Ah, yes, I almost forgot. Here you are.",
        "replies":[
            {
                "text":"Thanks. I'm on my way again, bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"Hmm... Bye",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":10
            }
        ]
    },
    {
        "id":"brv_wh_delivery_brv_fortune",
        "message":"Ah yes, I need a new one. My current crystal globe has become a bit cloudy - otherwise I would of course have seen that you would bring me a new globe.\nHere is the gold for it.",
        "replies":[
            {
                "text":"Do you want to try the crystal ball with me to see if it works?",
                "nextPhraseID":"brv_wh_delivery_brv_fortune_10"
            },
            {
                "text":"Thanks for choosing Facutloni's delivery.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"removeQuestProgress",
                "rewardID":"brv_wh_delivery",
                "value":110
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_nondisplay",
                "value":100
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":100
            }
        ]
    },
    {
        "id":"brv_wh_delivery_brv_fortune_10",
        "message":"You say you want me to help you?",
        "replies":[
            {
                "text":"What help can you offer?",
                "nextPhraseID":"brv_fortune_20"
            },
            {
                "text":"I am searching...",
                "nextPhraseID":"brv_fortune_30"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_10_10",
        "message":"You are back. Did you deliver all of the items?",
        "replies":[
            {
                "text":"Yes. I delivered everything.",
                "nextPhraseID":"brv_wh_delivery_boss_10_10_yes",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":20
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":30
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":40
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":50
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":60
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":70
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":80
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":90
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_wh_delivery_nondisplay",
                        "value":100
                    }
                ]
            },
            {
                "text":"Not yet.",
                "nextPhraseID":"brv_wh_delivery_boss_10_10_no"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_10_10_no",
        "message":"Then what are you standing there for?! Get out and deliver everything!",
        "replies":[
            {
                "text":"[Run]",
                "nextPhraseID":"X"
            },
            {
                "text":"Yes boss.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_10_10_yes",
        "message":"That's nice to hear. Then you can now give me the... eh...330 gold pieces that you should have received from the sales.",
        "replies":[
            {
                "text":"Sure. Here you are.",
                "nextPhraseID":"brv_wh_delivery_boss_10_10_yes_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":330
                    }
                ]
            },
            {
                "text":"Uh, I had expenses along the way and I don't have all the gold anymore.",
                "nextPhraseID":"brv_wh_delivery_boss_10_10_yes_1"
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_10_10_yes_1",
        "message":"And then you walk into my sight? Go get my gold!",
        "replies":[
            {
                "text":"[Run]",
                "nextPhraseID":"X"
            },
            {
                "text":"Yes boss.",
                "nextPhraseID":"X"
            },
            {
                "text":"Oh, I just found the 330 gold pieces in my pocket. Please take it.",
                "nextPhraseID":"brv_wh_delivery_boss_10_10_yes_10",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":330
                    }
                ]
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_10_10_yes_10",
        "message":"Good job! I am glad that you work responsibly.",
        "replies":[
            {
                "text":"And seriously.",
                "nextPhraseID":"brv_wh_delivery_boss_reward"
            },
            {
                "text":"I travelled far and wide.",
                "nextPhraseID":"brv_wh_delivery_boss_reward"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_reward_nondisplay",
                "value":2
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_reward",
        "message":"That is serious. And here you have your well-deserved reward: 100 gold.",
        "replies":[
            {
                "text":"Thanks.",
                "nextPhraseID":"X"
            },
            {
                "text":"What the?",
                "nextPhraseID":"brv_wh_delivery_boss_scrooge"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery",
                "value":130
            },
            {
                "rewardType":"questProgress",
                "rewardID":"brv_wh_delivery_reward_nondisplay",
                "value":3
            },
            {
                "rewardType":"giveItem",
                "rewardID":"gold",
                "value":100
            }
        ]
    },
    {
        "id":"brv_wh_delivery_boss_scrooge",
        "message":"Pardon?",
        "replies":[
            {
                "text":"Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"tjure_wh_delivery_90",
        "message":"*Sigh* You were my last hope. Leave me now.",
        "replies":[
            {
                "text":"Not until I have delivered this to you. Are you the one who ordered a 'Mysterious green something'?",
                "nextPhraseID":"brv_wh_delivery_tjure",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"brv_wh_item_05",
                        "value":1
                    }
                ]
            }
        ]
    }
]