[
    {
        "id":"arcir_start",
        "message":"Hello. I'm Arcir.",
        "replies":[
            {
                "text":"I noticed your statue of Elythara downstairs.",
                "nextPhraseID":"arcir_elythara_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"arcir",
                        "value":10
                    }
                ]
            },
            {
                "text":"You really seem to like your books.",
                "nextPhraseID":"arcir_books_1"
            }
        ]
    },
    {
        "id":"arcir_anythingelse",
        "message":"Anything else you wanted to ask?",
        "replies":[
            {
                "text":"I noticed your statue of Elythara downstairs.",
                "nextPhraseID":"arcir_elythara_1",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"arcir",
                        "value":10
                    }
                ]
            },
            {
                "text":"You really seem to like your books.",
                "nextPhraseID":"arcir_books_1"
            }
        ]
    },
    {
        "id":"arcir_elythara_1",
        "message":"Oh, you found my statue in the basement?\n\nYes, Elythara is my protector.",
        "replies":[
            {
                "text":"OK.",
                "nextPhraseID":"arcir_anythingelse"
            }
        ]
    },
    {
        "id":"arcir_books_1",
        "message":"I find great pleasure in my books. They contain the accumulated knowledge of past generations.",
        "replies":[
            {
                "text":"Do you have a book called 'Calomyran Secrets'?",
                "nextPhraseID":"arcir_calomyran_select",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"calomyran",
                        "value":10
                    }
                ]
            },
            {
                "text":"OK.",
                "nextPhraseID":"arcir_anythingelse"
            }
        ]
    },
    {
        "id":"arcir_calomyran_1",
        "message":"'Calomyran Secrets'? Hmm, yes I think I have one of those in my basement.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arcir_calomyran_2"
            }
        ]
    },
    {
        "id":"arcir_calomyran_2",
        "message":"Old man Benradas came by last week, wanting to sell me that book. Since it's not really my kind of book, I declined.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arcir_calomyran_3"
            }
        ]
    },
    {
        "id":"arcir_calomyran_3",
        "message":"He seemed upset that I didn't like his book, and threw it at me while storming out of the house.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arcir_calomyran_4"
            }
        ]
    },
    {
        "id":"arcir_calomyran_4",
        "message":"Poor old man Benradas, he probably forgot that he left it here. He tends to forget things.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arcir_anythingelse"
            }
        ]
    },
    {
        "id":"arcir_calomyran_5",
        "message":"You looked downstairs but didn't find it? And a note you say? I guess there must have been someone in my house.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arcir_calomyran_6"
            }
        ]
    },
    {
        "id":"arcir_calomyran_select",
        "replies":[
            {
                "nextPhraseID":"arcir_calomyran_complete",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"calomyran",
                        "value":100
                    }
                ]
            },
            {
                "nextPhraseID":"arcir_calomyran_5",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"calomyran",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"arcir_calomyran_1"
            }
        ]
    },
    {
        "id":"arcir_calomyran_complete",
        "message":"I heard you found it and gave it back to old man Benradas. Thank you. He tends to forget things.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"arcir_anythingelse"
            }
        ]
    },
    {
        "id":"arcir_calomyran_6",
        "message":"What did the note say?\n\nLarcal ... I know of him. Always causing trouble. He is usually in the barn to the east of here.",
        "replies":[
            {
                "text":"Thanks, bye.",
                "nextPhraseID":"X"
            }
        ]
    }
]