[
    {
        "id":"guynmart_robber1_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_robber1_20",
                "requires":[
                    {
                        "requireType":"inventoryKeep",
                        "requireID":"gold",
                        "value":2000
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_robber1_12"
            }
        ]
    },
    {
        "id":"guynmart_robber1_12",
        "message":"I am the new Feygard bridge guard. Har har. We do not let beggars through. Understand? Come back, but only if you have more gold with you."
    },
    {
        "id":"guynmart_robber1_20",
        "message":"I am the new Feygard bridge guard. Har har. Give me your gold.",
        "replies":[
            {
                "text":"OK. Here, you can have 50 pieces of gold. Let me pass now.",
                "nextPhraseID":"guynmart_robber1_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":50
                    }
                ]
            },
            {
                "text":"Come and try to get it.",
                "nextPhraseID":"F"
            },
            {
                "text":"Hmm, I will think about your offer.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_robber1_30",
        "message":"[Gold taken]\nVery good. But I need more.",
        "replies":[
            {
                "text":"Of course. Here, you can have another 50 pieces of gold.",
                "nextPhraseID":"guynmart_robber1_30",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"gold",
                        "value":50
                    }
                ]
            },
            {
                "text":"Enough!",
                "nextPhraseID":"F"
            },
            {
                "text":"Hmm, I will think about your offer.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_roadguard_10",
        "message":"Sorry, the road to Feygard is closed until further notice.",
        "replies":[
            {
                "text":"Oh? Is it the fog that is the problem?",
                "nextPhraseID":"guynmart_roadguard_20"
            }
        ]
    },
    {
        "id":"guynmart_roadguard_20",
        "message":"Yes. Several men already got lost and never reappeared. There is no way through."
    },
    {
        "id":"guynmart_farmer_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_farmer_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":180
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_farmer_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":181
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_farmer_16",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":170
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_farmer_100",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_farmer_20"
            }
        ]
    },
    {
        "id":"guynmart_farmer_14",
        "message":"Welcome! Nice to see you again."
    },
    {
        "id":"guynmart_farmer_16",
        "message":"Good morning! Did you hear the music last night? I think it came from the castle."
    },
    {
        "id":"guynmart_farmer_20",
        "message":"What is a kid like you doing all alone on the road?",
        "replies":[
            {
                "text":"I am looking for my brother Andor. Have you seen him by any chance?",
                "nextPhraseID":"guynmart_farmer_30"
            },
            {
                "text":"I am tired and hungry. Do you have a place to rest, please?",
                "nextPhraseID":"guynmart_farmer_90"
            },
            {
                "text":"None of your business.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_farmer_30",
        "message":"No, sorry. We seldom see strangers in the area. But you could ask at Guynmart Castle. Just follow the road to the north, you can't miss it.",
        "replies":[
            {
                "text":"Guynmart Castle? I have never heard of it. Please tell me more.",
                "nextPhraseID":"guynmart_farmer_40"
            }
        ]
    },
    {
        "id":"guynmart_farmer_40",
        "message":"Our land belongs to Guynmart Castle, but old Guynmart is a friendly and righteous man. He never takes too much from us.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_farmer_50"
            }
        ]
    },
    {
        "id":"guynmart_farmer_50",
        "message":"Young Lady Hannah of Guynmart Castle often comes to visit us. A lovely girl she is. But she has not been here for a week now. I wonder if everything is all right.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_farmer_60"
            }
        ]
    },
    {
        "id":"guynmart_farmer_60",
        "message":"I have too much work to do now. But maybe you could check if everything is OK with her?",
        "replies":[
            {
                "text":"Yes, of course. I will come back and tell you what I find out.",
                "nextPhraseID":"X"
            },
            {
                "text":"No, sorry. I have to press on again. Bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"I will go tomorrow. But now I am tired and hungry. Do you have a place to rest, please?",
                "nextPhraseID":"guynmart_farmer_90"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart",
                "value":10
            }
        ]
    },
    {
        "id":"guynmart_farmer_90",
        "message":"Yes of course. Go inside, there is some food left, and some cushions in the corner behind the oven. I will join you later.",
        "replies":[
            {
                "text":"Great. Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_farmer_100",
        "message":"Hi! Any news from Guynmart castle?",
        "replies":[
            {
                "text":"Oh yes, it is a long story. Maybe I could stay overnight and tell you all about it in detail?",
                "nextPhraseID":"guynmart_farmer_110",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":164
                    }
                ]
            },
            {
                "text":"Yes, but I want to learn more about what is going on before I am willing to discuss it.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":164,
                        "negate":true
                    }
                ]
            }
        ]
    },
    {
        "id":"guynmart_farmer_110",
        "message":"With pleasure. Just go inside and make yourself comfortable on the cushions in the corner behind the oven. We will talk when my work is done.",
        "replies":[
            {
                "text":"Great. Thank you.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_dog10_10",
        "message":"Grrrrrr",
        "switchToNPC":"guynmart_dog10"
    },
    {
        "id":"guynmart_cguard_10",
        "message":"Hello stranger. Who are you and where are you going?",
        "replies":[
            {
                "text":"I am $playername, and come from the castle.",
                "nextPhraseID":"guynmart_cguard_12"
            }
        ]
    },
    {
        "id":"guynmart_cguard_12",
        "message":"From the castle? You did not come here the usual way.",
        "replies":[
            {
                "text":"You are right. I had a misunderstanding with Unkorh the steward and he threw me off the north wall. Now I am looking for a way back.",
                "nextPhraseID":"guynmart_cguard_20"
            }
        ]
    },
    {
        "id":"guynmart_cguard_20",
        "message":"You were kicked out? And still want to go back? You must explain that.",
        "replies":[
            {
                "text":"I spoke to Lady Hannah there. She bade me to find her betrothed, who has been missing for a week now.",
                "nextPhraseID":"guynmart_cguard_30"
            }
        ]
    },
    {
        "id":"guynmart_cguard_30",
        "message":"Lovis is missing? That is bad news.\nBut where are my manners? I am questioning you and haven't even introduced myself. I am Norgothla, head of Guynmart's personal guard, and these are my men.",
        "replies":[
            {
                "text":"Nice to meet you, Norgothla.",
                "nextPhraseID":"guynmart_cguard_40"
            }
        ]
    },
    {
        "id":"guynmart_cguard_40",
        "message":"You say Lovis is missing? I would like to look around the castle, but we are ordered to stay here.",
        "replies":[
            {
                "text":"Ordered?",
                "nextPhraseID":"guynmart_cguard_50"
            }
        ]
    },
    {
        "id":"guynmart_cguard_50",
        "message":"I take orders only from Lord Guynmart himself. He told me and my men to go to this clearing and wait for him.",
        "replies":[
            {
                "text":"That is strange. I heard at the castle that Lord Guynmart was uproad for a week now.",
                "nextPhraseID":"guynmart_cguard_60"
            }
        ]
    },
    {
        "id":"guynmart_cguard_60",
        "message":"Yes, Lord Guynmart was already on the way. Unkorh forwarded his order to me.",
        "replies":[
            {
                "text":"I also heard other things that I dare not tell.",
                "nextPhraseID":"guynmart_cguard_62"
            }
        ]
    },
    {
        "id":"guynmart_cguard_62",
        "message":"You must tell me all that you know or think you know. I promise that you have nothing to fear.",
        "replies":[
            {
                "text":"I heard Unkorh saying that Guynmart is imprisoned in the dungeons. And Unkorh also wants to marry Lady Hannah.",
                "nextPhraseID":"guynmart_cguard_70"
            }
        ]
    },
    {
        "id":"guynmart_cguard_70",
        "message":"Indeed? These are serious accusations. I hope you can prove them.",
        "replies":[
            {
                "text":"How can I? You may go to the castle and check for yourself.",
                "nextPhraseID":"guynmart_cguard_72"
            }
        ]
    },
    {
        "id":"guynmart_cguard_72",
        "message":"Now I am really curious what is going on in the castle. But unfortunately Guynmart's order was very clear. Myself and all my men should wait for him in this clearing.\nI can't leave just based on the words of a kid.",
        "replies":[
            {
                "text":"And let Unkorh's dark plans be fulfilled? Leave Guynmart to probably die?",
                "nextPhraseID":"guynmart_cguard_74"
            },
            {
                "text":"Maybe I could go back and bring some evidence?",
                "nextPhraseID":"guynmart_cguard_80"
            }
        ]
    },
    {
        "id":"guynmart_cguard_74",
        "message":"Maybe you could go back to the castle and bring some evidence?",
        "replies":[
            {
                "text":"With pleasure, if this means you will believe me.",
                "nextPhraseID":"guynmart_cguard_80"
            }
        ]
    },
    {
        "id":"guynmart_cguard_80",
        "message":"By doing this, you take a great burden from my heart. I get to know what is happening at the castle, but don't have to disobey my lords order. Please hurry, the path is not difficult to find.",
        "replies":[
            {
                "text":"OK, I will be as quick as I can.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart",
                "value":81
            }
        ]
    },
    {
        "id":"guynmart_pguard2_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_pguard2_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":81,
                        "negate":true
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_pguard2_30"
            }
        ]
    },
    {
        "id":"guynmart_pguard2_20",
        "message":"Halt! Talk to Norgothla before you walk around here!",
        "switchToNPC":"guynmart_pguard2"
    },
    {
        "id":"guynmart_pguard2_30",
        "message":"Go away, kid."
    },
    {
        "id":"guynmart_pguard3_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_pguard3_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart",
                        "value":170
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_pguard2_30"
            }
        ]
    },
    {
        "id":"guynmart_pguard3_20",
        "message":"Go away, kid. I am depressed.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_pguard3_22"
            }
        ]
    },
    {
        "id":"guynmart_pguard3_22",
        "message":"They have all gone, and forgotten me here. *Sigh*",
        "replies":[
            {
                "text":"Oh my.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_rob5_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_rob5_59",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":59
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_rob5_55",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":55
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_rob5_54",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":54
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_rob5_53",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":53
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_rob5_52",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":52
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_rob5_51",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":50
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_rob5_20"
            }
        ]
    },
    {
        "id":"guynmart_rob5_20",
        "message":"Hey! You are the first one that has found the way to my clearing!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_rob5_30"
            }
        ]
    },
    {
        "id":"guynmart_rob5_30",
        "message":"I like this place very much. Each time I return here, I get a surprise.",
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_nondisplay",
                "value":50
            }
        ]
    },
    {
        "id":"guynmart_rob5_51",
        "message":"Cool place here, isn't it?"
    },
    {
        "id":"guynmart_rob5_52",
        "message":"I like the clearing best this way."
    },
    {
        "id":"guynmart_rob5_53",
        "message":"A little too hot for my taste."
    },
    {
        "id":"guynmart_rob5_54",
        "message":"I don't even know what this is supposed to be!"
    },
    {
        "id":"guynmart_rob5_55",
        "message":"This is strange!"
    },
    {
        "id":"guynmart_rob5_59",
        "message":"Back to normal."
    },
    {
        "id":"guynmart_rob6_10",
        "message":"Hello $playername. Do you wish to climb up to me?",
        "replies":[
            {
                "text":"Yes. Could you drop the rope down?",
                "nextPhraseID":"guynmart_rob6_30"
            },
            {
                "text":"No thanks.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_rob6_30",
        "message":"Of course. There. But I am in a hurry and must leave now.",
        "replies":[
            {
                "text":"Great! I'll climb up now.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_r_rope",
                "value":11
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guynmart_rob6",
                "mapName":"guynmart_wood_7"
            }
        ]
    },
    {
        "id":"guynmart_shephard_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_shephard_20",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"guynmart_sheep",
                        "value":1
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_shephard_30",
                "requires":[
                    {
                        "requireType":"killedMonster",
                        "requireID":"guynmart_sheep",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_shephard_12"
            }
        ]
    },
    {
        "id":"guynmart_shephard_12",
        "message":"Grumble ... grumble...",
        "replies":[
            {
                "text":"He seems to speak mostly to his dogs.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_shephard_20",
        "message":"Grrumble ... grrrrumble...",
        "replies":[
            {
                "text":"Maybe he does not like his sheep being killed?",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_shephard_30",
        "message":"GRRRUMMBLE!!!",
        "replies":[
            {
                "text":"Obviously he does not like his sheep being killed.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_sheep_10",
        "message":"Baah!",
        "replies":[
            {
                "text":"Baah!",
                "nextPhraseID":"X"
            },
            {
                "text":"You look tasty...",
                "nextPhraseID":"F"
            }
        ]
    },
    {
        "id":"guynmart_horse_10",
        "message":"Neigh."
    },
    {
        "id":"guynmart_spectator1_10",
        "message":"The left beetle will win.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_spectator1_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"beetle_watching",
                "value":1
            }
        ]
    },
    {
        "id":"guynmart_spectator1_20",
        "message":"No, the right beetle will win.",
        "switchToNPC":"guynmart_spectator1b",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_spectator1_30"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"beetle_watching",
                "value":1
            }
        ]
    },
    {
        "id":"guynmart_spectator1_30",
        "message":"Nonsense, the left beetle will win.",
        "switchToNPC":"guynmart_spectator1a",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_spectator1_20"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"beetle_watching",
                "value":1
            }
        ]
    },
    {
        "id":"guynmart_spectator1b_10",
        "message":"The right beetle will win.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_spectator1_30"
            }
        ],
        "rewards":[
            {
                "rewardType":"alignmentChange",
                "rewardID":"beetle_watching",
                "value":1
            }
        ]
    },
    {
        "id":"guynmart_spectator2_10",
        "message":"Hey, come and join our beetle battle."
    },
    {
        "id":"guynmart_child_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_child_90",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":21
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":22
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":23
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":24
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":25
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"guynmart_marble",
                        "value":5
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_child_80",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_child_50",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_child_12"
            }
        ]
    },
    {
        "id":"guynmart_child_12",
        "message":"*Sob*",
        "replies":[
            {
                "text":"Don't cry, little one. What's your name?",
                "nextPhraseID":"guynmart_child_14"
            }
        ]
    },
    {
        "id":"guynmart_child_14",
        "message":"*Sob* ... Stuephant ... *sob*",
        "replies":[
            {
                "text":"There there now. What's the matter?",
                "nextPhraseID":"guynmart_child_20"
            }
        ]
    },
    {
        "id":"guynmart_child_20",
        "message":"I have lost my five best marbles!",
        "replies":[
            {
                "text":"Oh dear, That is all? I will find them for you.",
                "nextPhraseID":"guynmart_child_30"
            },
            {
                "text":"Look, here I have a nice teddy bear for you.",
                "nextPhraseID":"guynmart_child_22",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"guynmart_doll",
                        "value":1
                    }
                ]
            },
            {
                "text":"The quicker I leave, the sooner I have silence and peace again.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_child_22",
        "message":"Great - thank you!",
        "replies":[
            {
                "text":"Much better. Now tell me about your marbles.",
                "nextPhraseID":"guynmart_child_30"
            }
        ]
    },
    {
        "id":"guynmart_child_30",
        "message":"I have lost them here in the yard or in the field over there.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_child_32"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":10
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"guynmart_marble1",
                "mapName":"guynmart_wood_10"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"guynmart_marble2",
                "mapName":"guynmart_wood_10"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"guynmart_marble3",
                "mapName":"guynmart_wood_10"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"guynmart_marble4",
                "mapName":"guynmart_wood_10"
            },
            {
                "rewardType":"spawnAll",
                "rewardID":"guynmart_marble5",
                "mapName":"guynmart_wood_10"
            }
        ]
    },
    {
        "id":"guynmart_child_32",
        "message":"Five beautiful marbles. Maybe you should look more than once in each place. They are so small you could easily miss them.",
        "replies":[
            {
                "text":"Don't be so sad, I will find them soon.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_child_50",
        "message":"*Sob* ... so you didn't find my marbles ... *sob*",
        "replies":[
            {
                "text":"I haven't given up yet. Please be patient.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_child_80",
        "message":"Thank you again for finding my marbles."
    },
    {
        "id":"guynmart_child_90",
        "message":"My lost marbles! All five! Great, thank you!\n[Stuephant takes the marbles]",
        "replies":[
            {
                "text":"You're welcome.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":90
            }
        ]
    },
    {
        "id":"guynmart_marble1_10",
        "message":"I found a green marble!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_marbles_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":21
            },
            {
                "rewardType":"giveItem",
                "rewardID":"guynmart_marble",
                "value":1
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guynmart_marble1",
                "mapName":"guynmart_wood_10"
            }
        ]
    },
    {
        "id":"guynmart_marble2_10",
        "message":"I found a red marble!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_marbles_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":22
            },
            {
                "rewardType":"giveItem",
                "rewardID":"guynmart_marble",
                "value":1
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guynmart_marble2",
                "mapName":"guynmart_wood_10"
            }
        ]
    },
    {
        "id":"guynmart_marble3_10",
        "message":"I found a pink marble!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_marbles_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":23
            },
            {
                "rewardType":"giveItem",
                "rewardID":"guynmart_marble",
                "value":1
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guynmart_marble3",
                "mapName":"guynmart_wood_10"
            }
        ]
    },
    {
        "id":"guynmart_marble4_10",
        "message":"Wow - a golden marble!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_marbles_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":24
            },
            {
                "rewardType":"giveItem",
                "rewardID":"guynmart_marble",
                "value":1
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guynmart_marble4",
                "mapName":"guynmart_wood_10"
            }
        ]
    },
    {
        "id":"guynmart_marble5_10",
        "message":"I found a pearl white marble!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_marbles_10"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":25
            },
            {
                "rewardType":"giveItem",
                "rewardID":"guynmart_marble",
                "value":1
            },
            {
                "rewardType":"removeSpawnArea",
                "rewardID":"guynmart_marble5",
                "mapName":"guynmart_wood_10"
            }
        ]
    },
    {
        "id":"guynmart_marbles_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_marbles_20",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":21
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":22
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":23
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":24
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_marbles",
                        "value":25
                    }
                ]
            },
            {
                "nextPhraseID":"R"
            }
        ]
    },
    {
        "id":"guynmart_marbles_20",
        "message":"That was the last one. I have found them all. Stuephant will be happy.",
        "replies":[
            {
                "text":"I will go back to him now.",
                "nextPhraseID":"R"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_marbles",
                "value":30
            }
        ]
    },
    {
        "id":"guynmart_wise_10",
        "replies":[
            {
                "nextPhraseID":"guynmart_wise_14",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_nondisplay",
                        "value":35
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_12"
            }
        ]
    },
    {
        "id":"guynmart_wise_12",
        "message":"Oh, a visitor. Come closer. Do not be afraid of me.",
        "replies":[
            {
                "text":"I am not afraid. What happened to you?",
                "nextPhraseID":"guynmart_wise_20"
            },
            {
                "text":"Eh, I have to go.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_wise_14",
        "message":"Oh, it is you again. I am delighted!",
        "replies":[
            {
                "text":"De-lighted indeed. Might you need anything?",
                "nextPhraseID":"guynmart_wise_110"
            }
        ]
    },
    {
        "id":"guynmart_wise_20",
        "message":"It happened in the mines of Mount Galmore. Don't ask any more, I do not wish to recall the memories. It was horrible.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_60"
            }
        ]
    },
    {
        "id":"guynmart_wise_60",
        "message":"When I returned here at last, people started to avoid me, whispering behind my back. I got very lonely.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_100"
            }
        ]
    },
    {
        "id":"guynmart_wise_100",
        "message":"Eventually I had enough of all the anxious, disturbed looks, so I came up here on this lonely hill.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_102"
            }
        ]
    },
    {
        "id":"guynmart_wise_102",
        "message":"From time to time a friendly soul brings me some food, but no one stays for long. I have noticed that their pace uphill is usually much slower than back downhill.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_110"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_nondisplay",
                "value":35
            }
        ]
    },
    {
        "id":"guynmart_wise_110",
        "replies":[
            {
                "nextPhraseID":"guynmart_wise_116",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_wise",
                        "value":90
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_112",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_wise",
                        "value":30
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_170",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_wise",
                        "value":20
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_114",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_wise",
                        "value":10
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_118"
            }
        ]
    },
    {
        "id":"guynmart_wise_112",
        "message":"Do you bring bread and wine, together with my favorite cheddar?",
        "replies":[
            {
                "text":"Yes, finally I got it. I hope the cheddar is still fresh after the long journey.",
                "nextPhraseID":"guynmart_wise_200",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":2
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"charwood_cheddar",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"guynmart_wine",
                        "value":1
                    }
                ]
            },
            {
                "text":"No, not yet.",
                "nextPhraseID":"guynmart_wise_800"
            }
        ]
    },
    {
        "id":"guynmart_wise_114",
        "message":"Do you bring bread, cheese and wine?",
        "replies":[
            {
                "text":"Yes, here you are. Enjoy it!",
                "nextPhraseID":"guynmart_wise_150",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":2
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"guynmart_wine",
                        "value":1
                    }
                ]
            },
            {
                "text":"No, not yet.",
                "nextPhraseID":"guynmart_wise_800"
            }
        ]
    },
    {
        "id":"guynmart_wise_116",
        "message":"No, thank you.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_900"
            }
        ]
    },
    {
        "id":"guynmart_wise_118",
        "message":"Just recently my supply of bread has run low again. And I haven't seen eggs for such a long time...",
        "replies":[
            {
                "text":"I can help with that. I can spare 2 loaves of bread.",
                "nextPhraseID":"guynmart_wise_120",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":2
                    }
                ]
            },
            {
                "text":"I could give you 3 eggs.",
                "nextPhraseID":"guynmart_wise_120",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"eggs",
                        "value":3
                    }
                ]
            },
            {
                "text":"I could spare bread, some cheese and a bottle of red wine.",
                "nextPhraseID":"guynmart_wise_150",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"guynmart_wise",
                        "value":10
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":2
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"guynmart_wine",
                        "value":1
                    }
                ]
            },
            {
                "text":"Unfortunately I have nothing I could give you.",
                "nextPhraseID":"guynmart_wise_900"
            },
            {
                "text":"Sad for you. I have to go now. Bye.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_wise_120",
        "message":"Thank you! Thank you very much!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_122"
            }
        ]
    },
    {
        "id":"guynmart_wise_122",
        "message":"Would it be really outrageous if I asked you to fulfill my heart's desire?",
        "replies":[
            {
                "text":"Sorry, I really must go now.",
                "nextPhraseID":"guynmart_wise_900"
            },
            {
                "text":"Just say what you would like. What can I do for you?",
                "nextPhraseID":"guynmart_wise_130"
            }
        ]
    },
    {
        "id":"guynmart_wise_130",
        "message":"I long for a meal with bread and cheese and a good bottle of wine. Oh, what would I give for that?",
        "replies":[
            {
                "text":"Here I have bread, some cheese and a bottle of red wine.",
                "nextPhraseID":"guynmart_wise_150",
                "requires":[
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"bread",
                        "value":2
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"cheese",
                        "value":1
                    },
                    {
                        "requireType":"inventoryRemove",
                        "requireID":"guynmart_wine",
                        "value":1
                    }
                ]
            },
            {
                "text":"Really? That is all? I will come back soon.",
                "nextPhraseID":"guynmart_wise_132"
            },
            {
                "text":"Be content with what you got, you greedy old man.",
                "nextPhraseID":"X"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_wise",
                "value":10
            }
        ]
    },
    {
        "id":"guynmart_wise_132",
        "message":"Oh yes - you get the best cheese in Charwood, if you don't mind!",
        "replies":[
            {
                "text":"Charwood? That's not exactly next door...",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":19
                    }
                ]
            },
            {
                "text":"I have heard of Charwood, but I don't know where it is.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":10
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":19,
                        "negate":true
                    }
                ]
            },
            {
                "text":"I have heard of Charwood, but I don't know where it is.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":11
                    },
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":19,
                        "negate":true
                    }
                ]
            },
            {
                "text":"Charwood? I have never heard of it.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_wise_150",
        "message":"What a feast! I have no words to thank you!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_160"
            }
        ]
    },
    {
        "id":"guynmart_wise_160",
        "message":"So take this ring as a token of my gratitude. Certain beings in the cellars of Guynmart Castle will not harm you if they see my ring on your finger.",
        "replies":[
            {
                "text":"The ring looks interesting. Thank you.",
                "nextPhraseID":"guynmart_wise_170"
            }
        ],
        "rewards":[
            {
                "rewardType":"giveItem",
                "rewardID":"guynmart_bonering",
                "value":1
            },
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_wise",
                "value":20
            }
        ]
    },
    {
        "id":"guynmart_wise_170",
        "message":"...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_172"
            }
        ]
    },
    {
        "id":"guynmart_wise_172",
        "message":"Eh...",
        "replies":[
            {
                "text":"Yes?",
                "nextPhraseID":"guynmart_wise_174"
            }
        ]
    },
    {
        "id":"guynmart_wise_174",
        "message":"now...",
        "replies":[
            {
                "text":"Oh dear! Just say what is on your mind. What's up?",
                "nextPhraseID":"guynmart_wise_180"
            }
        ]
    },
    {
        "id":"guynmart_wise_180",
        "message":"The cheese that you brought - It was OK. But it is not the best cheese, you know? The best cheese is from Charwood.",
        "replies":[
            {
                "text":"Oh?",
                "nextPhraseID":"guynmart_wise_182"
            }
        ]
    },
    {
        "id":"guynmart_wise_182",
        "message":"Their Cheddar is a dream! But they sell it only when you explicitly ask for it.",
        "replies":[
            {
                "text":"No problem. I will go and get some.",
                "nextPhraseID":"guynmart_wise_190"
            },
            {
                "text":"I am not going to go all the way to Charwood for some cheddar.",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":19
                    }
                ]
            },
            {
                "text":"Where is Charwood?",
                "nextPhraseID":"X",
                "requires":[
                    {
                        "requireType":"questProgress",
                        "requireID":"charwood1",
                        "value":19,
                        "negate":true
                    }
                ]
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_wise",
                "value":30
            }
        ]
    },
    {
        "id":"guynmart_wise_190",
        "message":"Great! I will wait for your return."
    },
    {
        "id":"guynmart_wise_200",
        "message":"Cheddar! I can't believe it!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_202"
            }
        ],
        "rewards":[
            {
                "rewardType":"questProgress",
                "rewardID":"guynmart_wise",
                "value":90
            }
        ]
    },
    {
        "id":"guynmart_wise_202",
        "message":"[Eating]",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_900"
            }
        ]
    },
    {
        "id":"guynmart_wise_900",
        "message":"It was nice to talk to you. Come again, as often as you like!",
        "replies":[
            {
                "text":"Yes, we will meet again.",
                "nextPhraseID":"X"
            }
        ]
    },
    {
        "id":"guynmart_hero_10",
        "message":"$playername monument - not bad."
    },
    {
        "id":"guynmart_wise_800",
        "message":"Ah - I can see it before my eyes: a loaf of bread with a piece of delicious cheese! No, better two loaves of bread.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_802"
            }
        ]
    },
    {
        "id":"guynmart_wise_802",
        "message":"Along with a bottle of good red wine!",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_804"
            }
        ]
    },
    {
        "id":"guynmart_wise_804",
        "message":"The bread maybe still warm ...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_806"
            }
        ]
    },
    {
        "id":"guynmart_wise_806",
        "message":"Sigh.",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_810"
            }
        ]
    },
    {
        "id":"guynmart_wise_810",
        "message":"Two loaves of bread! Hmmmm.",
        "replies":[
            {
                "text":"Well ...",
                "nextPhraseID":"guynmart_wise_812"
            }
        ]
    },
    {
        "id":"guynmart_wise_812",
        "message":"And cheese - how I missed it!",
        "replies":[
            {
                "text":"But ...",
                "nextPhraseID":"guynmart_wise_814"
            }
        ]
    },
    {
        "id":"guynmart_wise_814",
        "message":"A bottle of red wine with it, of course. Ooooh!",
        "replies":[
            {
                "text":"I'm beginning to find your requests outrageous. I have to leave now.",
                "nextPhraseID":"guynmart_wise_820"
            },
            {
                "text":"OK, OK, I understand.",
                "nextPhraseID":"guynmart_wise_830"
            }
        ]
    },
    {
        "id":"guynmart_wise_820",
        "message":"Noo! Please, don't go! I didn't mean it.",
        "replies":[
            {
                "text":"Forget it, bye.",
                "nextPhraseID":"X"
            },
            {
                "text":"OK. Bread, cheese and vine - that's it?",
                "nextPhraseID":"guynmart_wise_800"
            }
        ]
    },
    {
        "id":"guynmart_wise_830",
        "message":"Great! It's settled then, I'll wait for you here.",
        "replies":[
            {
                "text":"I'll hurry now. See you soon.",
                "nextPhraseID":"guynmart_wise_840"
            }
        ]
    },
    {
        "id":"guynmart_wise_840",
        "message":"Ah - bread ...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_841"
            }
        ]
    },
    {
        "id":"guynmart_wise_841",
        "replies":[
            {
                "nextPhraseID":"guynmart_wise_842",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_844"
            }
        ]
    },
    {
        "id":"guynmart_wise_842",
        "message":"And cheese ...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_843"
            }
        ]
    },
    {
        "id":"guynmart_wise_843",
        "replies":[
            {
                "nextPhraseID":"guynmart_wise_840",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_844"
            }
        ]
    },
    {
        "id":"guynmart_wise_844",
        "message":"Vine ...",
        "replies":[
            {
                "text":"N",
                "nextPhraseID":"guynmart_wise_845"
            }
        ]
    },
    {
        "id":"guynmart_wise_845",
        "replies":[
            {
                "nextPhraseID":"guynmart_wise_840",
                "requires":[
                    {
                        "requireType":"random",
                        "requireID":"50"
                    }
                ]
            },
            {
                "nextPhraseID":"guynmart_wise_842"
            }
        ]
    }
]