[
    {
        "id":"fallhaven_oldman",
        "replies":[
            {
                "nextPhraseID":"fallhaven_oldman_complete_2",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"calomyran",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"fallhaven_oldman_continue",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"calomyran",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"fallhaven_oldman_1"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_1",
        "message":"Would you help an old man please?",
        "replies":[
            {
                "text":"Sure, what do you need help with?",
                "nextPhraseID":"fallhaven_oldman_2"
            },
            {
                "text":"I might. Are we talking about some kind of reward?",
                "nextPhraseID":"fallhaven_oldman_2"
            },
            {
                "text":"No, I won't help an old timer like you. Bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_2",
        "message":"I recently lost a very valuable book of mine.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_oldman_3"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_3",
        "message":"I know I had it with me yesterday. Now I can't seem to find it.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_oldman_4"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_4",
        "message":"I never lose things! Someone must have stolen it, that's my guess.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_oldman_5"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_5",
        "message":"Would you please go look for my book? It's called 'Calomyran Secrets'.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"fallhaven_oldman_6"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_6",
        "message":"I have no idea where it might be. You could go ask Arcir, he seems very fond of his books.\n [Points at the house to the south]",
        "replies":[
            {
                "text":"OK, I'll go ask Arcir. Goodbye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"calomyran",
                "value":10
            }
        ]
    },
    {
        "id":"fallhaven_oldman_continue",
        "message":"How is the search for my book going? It's called 'Calomyran Secrets'. Have you found my book?",
        "replies":[
            {
                "text":"Yes, I found it.",
                "nextPhraseID":"fallhaven_oldman_complete",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"calomyran_secrets",
                        "value":1
                    }
                ]
            },
            {
                "text":"No, I have not found it yet.",
                "nextPhraseID":"fallhaven_oldman_6"
            },
            {
                "text":"Could you tell me your story again please?",
                "nextPhraseID":"fallhaven_oldman_2"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_complete",
        "message":"My book! Thank you, thank you! Where was it? No, don't tell me. Here, take these coins for your trouble.",
        "replies":[
            {
                "text":"Thank you. Goodbye.",
                "nextPhraseID":"X"
            },
            {
                "text":"At last, some gold. Bye.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"calomyran",
                "value":100
            },
            {
                "rewardType":"dropList",
                "rewardID":"gold51"
            }
        ]
    },
    {
        "id":"fallhaven_oldman_complete_2",
        "message":"Thank you so much for finding my book!"
    }
]