[
    {
        "id":"gruil1",
        "message":"Psst, hey.\n\nWanna trade?",
        "replies":[
            {
                "text":"Sure, let's trade.",
                "nextPhraseID":"S"
            },
            {
                "text":"I heard that you talked to my brother a while ago.",
                "nextPhraseID":"gruil_select",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":10
                    }
                ]
            }
        ]
    },
    {
        "id":"gruil_select",
        "replies":[
            {
                "nextPhraseID":"gruil_return",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"andor",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"gruil2"
            }
        ]
    },
    {
        "id":"gruil2",
        "message":"Your brother? Oh you mean Andor? I might know something, but that information will cost you. Bring me a poison gland from one of those poisonous snakes and maybe I'll tell you.",
        "replies":[
            {
                "text":"Here, I have a poison gland for you.",
                "nextPhraseID":"gruil_complete",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gland",
                        "value":1
                    }
                ]
            },
            {
                "text":"OK, I'll bring one.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"andor",
                "value":20
            }
        ]
    },
    {
        "id":"gruil_complete",
        "message":"Thanks a lot kid. This will do just fine.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"gruil_andor1"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"andor",
                "value":30
            }
        ]
    },
    {
        "id":"gruil_return",
        "message":"Look kid, I already told you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"gruil_andor1"
            }
        ]
    },
    {
        "id":"gruil_andor1",
        "message":"I talked to him yesterday. He asked if I knew someone called Umar or something like that. I have no idea who he was talking about.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"gruil_andor2"
            }
        ]
    },
    {
        "id":"gruil_andor2",
        "message":"He seemed really upset about something and left in a hurry. Something about the Thieves' Guild in Fallhaven.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"gruil_andor3"
            }
        ]
    },
    {
        "id":"gruil_andor3",
        "message":"That's all I know. Maybe you should ask around in Fallhaven. Look for my friend Gaela, he probably knows more.",
        "replies":[
            {
                "text":"Thanks, bye.",
                "nextPhraseID":"X"
            }
        ]
    }
]