[
    {
        "id":"grimion",
        "message":"Hello and welcome to Loneford. Please have a seat, I'll be right there.",
        "replies":[
            {
                "text":"Do you have anything to eat around here?",
                "nextPhraseID":"grimion_trade_1"
            },
            {
                "text":"Is there a place where I can get some rest around here?",
                "nextPhraseID":"grimion_rest_1"
            }
        ]
    },
    {
        "id":"grimion_trade_1",
        "message":"Sure, have a look.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"grimion_rest_1",
        "message":"Sure, the guards have set up some beds downstairs. Go talk to Arngyr down there, he might be able to help you."
    },
    {
        "id":"loneford_tavern_room",
        "message":"Arngyr grabs you by the shoulder and pulls you back.\nIf you want to rest over there, you need to check with me first."
    },
    {
        "id":"arngyr",
        "replies":[
            {
                "nextPhraseID":"arngyr_back_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay",
                        "value":19
                    }
                ]
            },
            {
                "nextPhraseID":"arngyr_1"
            }
        ]
    },
    {
        "id":"arngyr_1",
        "message":"Yes, can I help you?",
        "replies":[
            {
                "text":"Mind if I use one of the beds back there?",
                "nextPhraseID":"arngyr_2"
            }
        ]
    },
    {
        "id":"arngyr_2",
        "replies":[
            {
                "nextPhraseID":"arngyr_3",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"loneford",
                        "value":55
                    }
                ]
            },
            {
                "nextPhraseID":"arngyr_4"
            }
        ]
    },
    {
        "id":"arngyr_3",
        "message":"Oh no, not at all. Go ahead. After all you have done for us here in Loneford, it would be a privilege to be able to give something back to you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arngyr_6"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay",
                "value":19
            }
        ]
    },
    {
        "id":"arngyr_4",
        "message":"These beds are mostly used by us guards. But I guess I could make an exception since you're just a kid. Shall we say, 600 gold and you may use it?",
        "replies":[
            {
                "text":"Sure, here is the gold.",
                "nextPhraseID":"arngyr_5",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":600
                    }
                ]
            },
            {
                "text":"What?! That's a bit much, don't you think?",
                "nextPhraseID":"arngyr_7"
            }
        ]
    },
    {
        "id":"arngyr_5",
        "message":"Thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arngyr_6"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay",
                "value":19
            }
        ]
    },
    {
        "id":"arngyr_6",
        "message":"Use the bed in the back over there as much as you like.",
        "replies":[
            {
                "text":"Thanks.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"arngyr_7",
        "message":"Look, kid. I make the rules around here. If that's my price then that's my price. Take it or leave it.",
        "replies":[
            {
                "text":"Fine, here is the gold.",
                "nextPhraseID":"arngyr_5",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":600
                    }
                ]
            },
            {
                "text":"Never mind then.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"arngyr_back_1",
        "message":"Hello again. I hope the bed is comfortable enough."
    },
    {
        "id":"loneford_chapelguard",
        "message":"Walk with the Shadow, child."
    },
    {
        "id":"wallach",
        "message":"Oh, poor old Selgan. Why did it have to be him? I wonder who is next, and I fear for the worst."
    },
    {
        "id":"mienn",
        "message":"I can't see how we could make it without the help of those nice guards from Feygard around here. We are truly lucky to have their assistance."
    },
    {
        "id":"conren",
        "message":"We are lucky to have Feygard here helping us."
    },
    {
        "id":"telund",
        "message":"Who are you? Have you seen my father Selgan? They all tell me he will be back shortly, but they are all lying! I know it, I know it! He wasn't home yesterday, and he isn't home today."
    },
    {
        "id":"loneford_tavern_patron",
        "message":"This is no place for a kid like you. I think you had better leave now.",
        "replies":[
            {
                "text":"I met a man named Forlin who recommended that I speak with you in regards to a possible murder investigation that I am conducting.",
                "nextPhraseID":"kizzo_asd_10",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":140
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":150,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I did as you suggested and found the scene of a murder and I found this glove.",
                "nextPhraseID":"kizzo_asd_40",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"ogea_glove",
                        "value":1
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":190,
                        "negate":true
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"brv_dagger",
                        "value":210,
                        "negate":true
                    }
                ]
            }
        ]
    }
]