[
    {
        "id":"teksin_10",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"teksin11",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":140
                    }
                ]
            },
            {
                "text":"N",
                "nextPhraseID":"teksin12",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":140,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"teksin11",
        "message":"Hello again.",
        "replies":[
            {
                "text":"How do I get to Remgard?",
                "nextPhraseID":"teksin70",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":160
                    }
                ]
            },
            {
                "text":"What can you tell me about Remgard?",
                "nextPhraseID":"teksin60",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":160
                    }
                ]
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"teksin80"
            },
            {
                "text":"I'm looking for my brother, Andor. He looks a bit like me.",
                "nextPhraseID":"teksin20"
            }
        ]
    },
    {
        "id":"teksin12",
        "message":"Hello. My name is Teksin. I'm a trader. Who are you?",
        "replies":[
            {
                "text":"I am $playername. I am looking for my brother, Andor. He looks a bit like me.",
                "nextPhraseID":"teksin20"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":140
            }
        ]
    },
    {
        "id":"teksin20",
        "message":"Sorry. I haven't seen anyone that looks like you. ",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"teksin30"
            }
        ]
    },
    {
        "id":"teksin30",
        "message":"I have been out in the wild for a while, and have seen nobody since I left the main road weeks ago.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"teksin40"
            }
        ]
    },
    {
        "id":"teksin40",
        "message":"I decided that I should find a better route to Remgard. The road through the mountains to the east is plagued by terrible monsters. My quest for a better route was a mistake though.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"teksin50"
            }
        ]
    },
    {
        "id":"teksin50",
        "message":"This is as close as I can get coming this way. I am an experienced traveler, and I know that Remgard is close. It's north across this lake, but there is no way to cross, or to go further east around the lake.",
        "replies":[
            {
                "text":"It sounds like you are not quite the experienced traveler you claim to be.",
                "nextPhraseID":"X"
            },
            {
                "text":"I guess it was worth a try. What can you tell me about Remgard?",
                "nextPhraseID":"teksin60"
            },
            {
                "text":"How do I get to Remgard?",
                "nextPhraseID":"teksin70"
            },
            {
                "text":"Do you have anything to trade?",
                "nextPhraseID":"teksin80"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":160
            }
        ]
    },
    {
        "id":"teksin60",
        "message":"Remgard is a town that is well protected by the lake that we are next to. It is peaceful, and far from any enemies, which makes it somewhat surprising that they make excellent armor there. The high quality of the goods available in Remgard is the reason it is on my trading route, even though it is so hard to get to. ",
        "replies":[
            {
                "text":"How do I get to Remgard?",
                "nextPhraseID":"teksin70"
            },
            {
                "text":"Thanks for the information, but I have to leave now.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"teksin70",
        "message":"You have to go back down to the river, then south until you find some caves. Go through the caves, up through the mountains, and then around the lake we are now standing next to. It's a long way, and as I said, there are some very bad monsters. A kid like you should probably not attempt it.",
        "replies":[
            {
                "text":"I can handle it. I'm on my way.",
                "nextPhraseID":"X"
            },
            {
                "text":"It sounds dangerous. I think I'll go somewhere else.",
                "nextPhraseID":"X"
            },
            {
                "text":"Thanks for the information. Do you have anything to trade?",
                "nextPhraseID":"teksin80"
            }
        ]
    },
    {
        "id":"teksin80",
        "message":"Yes. I think you will see that I sell quality items from many places.\nUnder the circumstances I can only sell you limited provisions though.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"teksin85"
            }
        ]
    },
    {
        "id":"teksin90",
        "message":"I do also have one special item. It is a potion that increases your attack speed.\nIt is very rare, and therefore expensive, but I am willing to part with it if the price is right.",
        "replies":[
            {
                "text":"No thanks. Show me what else you have.",
                "nextPhraseID":"S"
            },
            {
                "text":"How expensive is \"expensive\"?",
                "nextPhraseID":"teksin100"
            }
        ]
    },
    {
        "id":"teksin85",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"teksin90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"nondisplay_2",
                        "value":150,
                        "negate":true
                    }
                ]
            },
            {
                "text":"OK. Show me what you have.",
                "nextPhraseID":"S"
            }
        ]
    },
    {
        "id":"teksin100",
        "message":"For you, I will offer the special price of 4999 gold.",
        "replies":[
            {
                "text":"I don't have that much gold. Please show me what else you have.",
                "nextPhraseID":"S",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":4999
                    }
                ]
            },
            {
                "text":"That's too expensive. Please show me what else you have.",
                "nextPhraseID":"S",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":4999
                    }
                ]
            },
            {
                "text":"OK. I'll take it.",
                "nextPhraseID":"teksin110",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":4999
                    }
                ]
            },
            {
                "text":"I think I'll just be on my way.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"teksin110",
        "message":"Use it wisely. Such a potion is very hard to obtain. \nIt is unlikely I will have any more to sell in the future.",
        "replies":[
            {
                "text":"Thanks for the advice. Please show me what else you have to trade.",
                "nextPhraseID":"S"
            },
            {
                "text":"Thanks for the advice. I need to go now.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"nondisplay_2",
                "value":150
            },
            {
                "rewardType":"giveItem",
                "rewardID":"pot_light_attack",
                "value":1
            }
        ]
    }
]