[
    {
        "id":"crossroads_sleepguard",
        "replies":[
            {
                "nextPhraseID":"crossroads_sleepguard_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay",
                        "value":17
                    }
                ]
            },
            {
                "nextPhraseID":"crossroads_sleepguard_1"
            }
        ]
    },
    {
        "id":"crossroads_sleepguard_1",
        "message":"Hello there. Can I help you?",
        "replies":[
            {
                "text":"No. Goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"Mind if I use one of the beds over there?",
                "nextPhraseID":"crossroads_sleepguard_3"
            }
        ]
    },
    {
        "id":"crossroads_sleepguard_2",
        "message":"Hello again. I hope the bed is comfortable enough. Use it as much as you like."
    },
    {
        "id":"crossroads_sleepguard_3",
        "replies":[
            {
                "nextPhraseID":"crossroads_sleepguard_5",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"farrik",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"crossroads_sleepguard_4"
            }
        ]
    },
    {
        "id":"crossroads_sleepguard_4",
        "message":"No, sorry. These beds are for guards and allies of Feygard only."
    },
    {
        "id":"crossroads_sleepguard_5",
        "message":"Say, aren't you that kid that helped the guards down in Fallhaven? With the thieves that were planning an escape?",
        "replies":[
            {
                "text":"Yes, I helped the guards in the prison find out about some plans that the thieves had.",
                "nextPhraseID":"crossroads_sleepguard_6"
            }
        ]
    },
    {
        "id":"crossroads_sleepguard_6",
        "message":"I knew I had heard about you somewhere. You are always welcome by us guards. You can use that second bed over there to the left if you need to rest.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay",
                "value":17
            }
        ]
    },
    {
        "id":"crossroads_backguard",
        "message":"Uh, hello.",
        "replies":[
            {
                "text":"Hello. What's back there?",
                "nextPhraseID":"crossroads_backguard_1"
            }
        ]
    },
    {
        "id":"crossroads_backguard_1",
        "message":"Back there? Oh, nothing.",
        "replies":[
            {
                "text":"OK, never mind then.",
                "nextPhraseID":"X"
            },
            {
                "text":"But there's a hole in the wall there. Where does it lead?",
                "nextPhraseID":"crossroads_backguard_2"
            }
        ]
    },
    {
        "id":"crossroads_backguard_2",
        "message":"Lead? Oh nowhere. Nothing back there at all.",
        "replies":[
            {
                "text":"OK, never mind then.",
                "nextPhraseID":"X"
            },
            {
                "text":"There's something you are not telling me.",
                "nextPhraseID":"crossroads_backguard_3"
            }
        ]
    },
    {
        "id":"crossroads_backguard_3",
        "message":"Oh no, no. Nothing interesting here. Move along now.",
        "replies":[
            {
                "text":"OK, never mind then.",
                "nextPhraseID":"X"
            },
            {
                "text":"How about I pay you 100 gold to move out of the way?",
                "nextPhraseID":"crossroads_backguard_4"
            }
        ]
    },
    {
        "id":"crossroads_backguard_4",
        "message":"You would do that? Hmm, let me think.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"crossroads_backguard_5"
            }
        ]
    },
    {
        "id":"crossroads_backguard_5",
        "message":"No.",
        "replies":[
            {
                "text":"OK, never mind then.",
                "nextPhraseID":"X"
            },
            {
                "text":"200 gold then?",
                "nextPhraseID":"crossroads_backguard_6"
            }
        ]
    },
    {
        "id":"crossroads_backguard_6",
        "message":"No.",
        "replies":[
            {
                "text":"OK, never mind then.",
                "nextPhraseID":"X"
            },
            {
                "text":"400 gold then?",
                "nextPhraseID":"crossroads_backguard_7"
            }
        ]
    },
    {
        "id":"crossroads_backguard_7",
        "message":"Look, you are not getting back there, and there is nothing to see back there.",
        "replies":[
            {
                "text":"OK, never mind then.",
                "nextPhraseID":"X"
            },
            {
                "text":"OK, final offer, 800 gold? That's a fortune.",
                "nextPhraseID":"crossroads_backguard_8"
            }
        ]
    },
    {
        "id":"crossroads_backguard_8",
        "message":"Hmm, 800 gold you say? Well, why didn't you say so from the start? Sure, that could work.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"crossroads_backguard_9"
            }
        ]
    },
    {
        "id":"crossroads_backguard_9",
        "message":"I should tell you however, that there is something in there that we won't dare go near. I just guard here to make sure it doesn't get out, and that no one goes in.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"crossroads_backguard_10"
            }
        ]
    },
    {
        "id":"crossroads_backguard_10",
        "message":"Some other guards went in there earlier, and came back screaming. Enter at your own risk, but don't say I didn't warn you.",
        "replies":[
            {
                "text":"Never mind, I was just kidding.",
                "nextPhraseID":"X"
            },
            {
                "text":"Here is the gold, now get out of the way.",
                "nextPhraseID":"R",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":800
                    }
                ]
            }
        ]
    },
    {
        "id":"keknazar",
        "message":"*Hssss*\n[You hear squishing sounds as the creature starts moving towards you]",
        "replies":[
            {
                "text":"For the Shadow!",
                "nextPhraseID":"F"
            },
            {
                "text":"You will not survive this, you pathetic creature.",
                "nextPhraseID":"F"
            },
            {
                "text":"A fight! I have been looking forward to this!",
                "nextPhraseID":"F"
            }
        ]
    }
]