<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou reach the entrance to the E.G.G. Headquarters.\n\n<<if $weapon is 'none'>>The guild blacksmith approaches you, carrying three weapons.\n\n"Greetings, <<$name>>!" says the blacksmith. "I'm glad I caught you! I have three brand new weapons, each imbued with a special power. Please, take one."\n\nTake...\n\n[[Shadow Lance|WeaponConf][$weapon = 'spear']] - A spear forged with pure darkness. The Shadow Lance does 15 to 30 damage.\n\n[[Fireguard Shortsword|WeaponConf][$weapon = 'sword']] - A shortsword forged from the broken armor of the Fireguards of the west. The Fireguard Shortsword does 16 to 29 damage. \n\n[[Storm-Weaver|WeaponConf][$weapon = 'axe']] - A war axe forged using thunder crystals from the northern mountains. The Storm-Weaver does 14 to 28 damage.\n\n<<endif>>[[Return to Quest Board|Opening]]\n\n[[Leave the E.G.G. Headquarters|RoadtoInn][$region = 'Greyzone', $location = 'Road']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Dragon Health: <<$dragonhealth>></center>\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|DragonProc][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\n<<if $dragonhealth lt 1>>\s\nYou have defeated the small dragon.\n\nIt dropped a Potion!\n\n[[Take your spoils.|RoadtoWarr][$dragon = 'dead', $potion += 1]]\n<<else>>\s\n<<if $attack is 'swordattack'>>\s\n<<set $damage = random(10,16)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n<<if $attack is 'fireslash'>>\s\n<<set $damage = random(5,10)>>\s\nYour <font color="red">Fireguard Shortsword</font> flames up and you do <<print $damage += 28>> damage. Not very effective.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n<<if $attack is 'axeattack'>>\s\n<<set $damage = random(7,14)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n<<if $attack is 'surge'>>\s\n<<set $damage = random(15,20)>>\s\nElectricity surrounds your <font color="cyan">Storm-Weaver</font> and you do <<print $damage += 23>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n<<if $attack is 'spearattack'>>\s\n<<set $damage = random(8,15)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n<<if $attack is 'haunt'>>\s\n<<set $damage = random(10,15)>>\s\nYour <font color="purple">Shadow Lance</font> is engulfed with darkness and you do <<print $damage += 20>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>><<endif>>\n<<if $attack is 'maceattack'>>\s\n<<set $damage = random(9,18)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n<<if $attack is 'quake'>>\s\n<<set $damage = random(15,25)>>\s\nYou slam your <font color="tan">Ratsbane</font> into the ground, summoning forth a wave of zombie Banshe Rats. You do <<print $damage += 25>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|DragonEnemyAttk]]<<endif>>\s\n</p></p></font>
<<fadeoutsound "FiddleandBow.mp3">>\s\n<<fadeoutsound "BarCrowdShort.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou <<if $davina is true>>and Davina<<endif>> approach a huge, stone castle. Two guards, dressed in steel armor, stop you.\n\n"Halt!" says one of the guards. "What's your business here?"\n\n<<if $theblade is true>>[[Pull out the Blade.|WallisConf][$location = 'Throne Room', $region = 'Castle Wallis', $GuardianAchieve = 'Unlocked']]<<endif>>\n\n[["I have none at the moment."|GreyzoneInn][$location = 'Greyzone Inn', $region = 'Greyzone']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Bug Health: <<$bughealth>></center>\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|BugAttk][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<else>>\n<<if $bughealth lt 1>>\s\nYou have defeated the Bug.\n\nIt dropped 500 gold!\n\n[[Take your spoils.|RightPassage][$bug = dead]]\n<<else>>\s\n<<if $attack is 'swordattack'>>\s\n<<set $damage = random(10,16)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<if $attack is 'fireslash'>>\s\n<<set $damage = random(10,16)>>\s\nYour <font color="red">Fireguard Shortsword</font> flames up and you do <<print $damage -= $damage>> damage. It did nothing against the Bug's shell.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<if $attack is 'axeattack'>>\s\n<<set $damage = random(7,14)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<if $attack is 'surge'>>\s\n<<set $damage = random(15,20)>>\s\nElectricity surrounds your <font color="cyan">Storm-Weaver</font> and you do <<print $damage += 15>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<if $attack is 'spearattack'>>\s\n<<set $damage = random(8,15)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<if $attack is 'haunt'>>\s\n<<set $damage = random(10,15)>>\s\nYour <font color="purple">Shadow Lance</font> is engulfed with darkness and you do <<print $damage += 16>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\n<<if $attack is 'maceattack'>>\s\n<<set $damage = random(9,18)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<if $attack is 'quake'>>\s\n<<set $damage = random(15,25)>>\s\nYou slam your <font color="tan">Ratsbane</font> into the ground, summoning forth a wave of zombie Banshe Rats. You do <<print $damage += 25>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BugEnemyAttk]]<<endif>>\s\n<<endif>><<endif>>\s\n</p></p></font>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $wells is 'completed'>>The Baron greets you warmly into his home. He ushers you into the foyer. The walls are dyed a deep red and the carpet is a dark grey. Fine furniture decorates the home.\n\n"That's it!" says the Baron. "That's the Banshee Flower. Give it here and I'll get it to the alchemist. She'll be able to dispurse the cure to the well."\n\n[[Hand over the Banshee Flower.|BaronConf][$wells = 'done']]\n\n[[Leave the Baron's Home.|Warrington]]\n<<else if $wells is 'incomplete'>>\nThe Baron ushers you in. He coughs up blood into his hands. The walls are dyed a deep red and the carpet is a dark grey. Fine furniture decorates the home. The Baron staggers over to you.\n\n"The flower...," says the Baron. "We need the Banshee flower. I hear Rat's like to eat it. Check every bush you see. Please hurry."\n\n[[Leave the Baron's Home.|Warrington]]\n<<else if $wells is 'done'>>\nThe Baron looks at you and smiles. \n\n"Ah, <<$name>>," he says. "Warrington owes you <<if $davina is 'true'>>two <<endif>>a debt that can hardly be repaid. The banshee flower is taking some time to spread around, but the city will be well soon."\n\n[[Leave the Baron's Home.|Warrington]]\n<<endif>></p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Banshee Rat Health: <<if $davina is false>><<print $rathealth -= $damage>><<else>><<print $rathealth -= $damage + $davinadamage>><<endif>></center>\s\n<<if $rathealth lt 1>>\s\n<<set $coinflip = random(1,5)>>\nYou have defeated the Banshee Rat.\n\nIt dropped a Potion and a Banshee Flower!\n\n<<if ($coinflip is 1, 3, 5)>>You found the <font color = "tan">Ratsbane Mace</font>!\n\n[[Take your spoils.|RoadtoInn][$bush = true, $wells = 'completed', $potion +=1, $bag = ('mace'), $RatAchieve = 'Unlocked']]<<else>>[[Take your spoils and leave.|RoadtoInn][$bush = true, $wells = 'completed', $potion += 1]]<<endif>>\n<<else>>\s\n<<set $ratdamage = random(5,10)>>\s\nThe Banshee Rat does <<$ratdamage>> damage to you!\n<<if $davina is true>>The Banshee Rat does <<$ratdamage>> damage to Davina.<<endif>>\n\n<<if $davina is true>>[[Prepare to attack.|BushAttk][$health -= $ratdamage, $davinahealth -= $ratdamage]]<<else>>[[Prepare to attack.|BushAttk][$health -= $ratdamage]]<<endif>>\n<<endif>>\s\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n</p></font></p>
<<set $health = 100>>\s\n<<set $energy = 100>>\s\n<<set $money = 100>>\s\n<<set $davina = false>>\s\n<<set $davinahealth = 100>>\s\n<<set $king = 0>>\s\n<<set $odai = 0>>\s\n<<set $wells = 0>>\s\n<<set $map = false>>\s\n<<set $quest = 'false'>>\s\n<<set $weapon = 'none'>>\s\n<<set $rathealth = 110>>\s\n<<set $rat = true>>\s\n<<set $flower = false>>\s\n<<set $potion = 1>>\s\n<<set $dragonhealth = 125>>\s\n<<set $odaihealth = 150>>\s\n<<set $dragon = 'alive'>>\s\n<<set $theblade = false>>\s\n<<set $cave = 'full'>>\s\n<<set $chest = 'unopened'>>\s\n<<set $bughealth = 115>>\s\n<<set $bug = 'alive'>>\s\n<<set $guardianhealth = 300>>\s\n<<set $guardian = 'alive'>>\s\n<<set $WarrAchieve = 'Locked'>>\s\n<<set $OdaiAchieve = 'Locked'>>\s\n<<set $GuardianAchieve = 'Locked'>>\s\n<<set $RatAchieve = 'Locked'>>\s\n<<set $bugAchieve = 'Locked'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nBefore you set off, I need to know what to call you.\n\nAre you a...\n\n[[Male?|GenderConf][$name = 'Cade', $gender = 'male']]\n\n[[Female?|GenderConf][$name = 'Cassi', $gender = 'female']]</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou<<if $davina is true>> and Davina<<endif>> ride into Wolfpine in a horse-drawn carriage. With the crack of a whip, the carriage is gone.<<if $davina is true>> Davina looks around at the many shoppes and brothels.<<else>> You look around at the shoppes and brothels.<<endif>> A group of drunkards stumble out of taverns.\n\n<<if $davina is true>>"Ah, Wolfpine," says Davina. "Each time I come here is a new experience."<<endif>>\n\n[["I've never been here before. Seems like a fun place."|GuardBarracks][$location = 'Bounty Board']]\n\n[["Women and ale, what's not to love?"|GuardBarracks][$location = 'Bounty Board', $rude = true]]\n</p></p>
<<display 'HUD'>>\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $book is 'Wallis'>>\s\nThe book reads:\n<blockquote>King Wallis is a noble man. He is said to have slain the Beast of Tyber after the beast slaughtered the previous King's caravan on the road. King Wallis has worked, since then, to unite the land.</blockquote>\n<<else if $book is 'History'>>\s\nThe book reads:\n<blockquote>Greyzone is a beautiful region. To the North, the Greyzone Forest spreads far into the mountains. To the South, the Exploratory Guild of Greyzone makes its home. The roads of Greyzone are riddled with twists and turns. Creatures can attack at any time. The Fel Caves in the North houses some of the region's strongest and most dangerous creatures. Remember to always bring a weapon with you. </blockquote>\n<<else if $book is 'War'>>\s\nThe book reads:\n<blockquote>The war between Newshire and Greyzone started a few years ago. When the threat of war was issued, King Wallis of Greyzone and Queen Ella of Newshire drafted a peace treaty between their regions. On the day of the signing, an assassin attempted to take the life of King Wallis. Assuming it was Queen Ella, King Wallis rejected all calls for peace and declared war on Newshire. Thus began the war...</blockquote>\n<<endif>>\n\n[[Choose another book.|Bookshelf][$book = 1, $gm = true]]</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $davina is false>>"I hear you're heading to the Fel Caves," says Davina. "I have a map of the caves. I can help, if you like."\n\n[["Sure. The more the merrier."|GreyzoneInn][$davina = true, $location = 'Greyzone Inn', $inn = true]]\n\n[["No. I can't put your life in danger."|GreyzoneInn][$davina = 'not', $location = 'Greyzone Inn', $inn = true]]\n\n[["Why would I want your help?"|GreyzoneInn][$davina = 'not', $rude = true, $location = 'Greyzone Inn', $inn = true]]\n<<elseif $davina is 'not'>>\s\n"I guess I'll come with you," says Davina.<<if $rude is true>> "Just don't be a dirt nugget."<<endif>>\n\n<<if $rude is false>>[["Good."|GreyzoneInn][$location = 'Greyzone Inn', $inn = true, $davina = true]]<<elseif $rude is true>>[["I make no promises."|GreyzoneInn][$location = 'Greyzone Inn', $inn = true, $davina = true]]<<endif>>\s\n<<endif>>\s\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $odai is 'done'>>You<<if $davina is true>> and Davina<<endif>> approach the Wolfpine guard barracks.<<elseif $odai is 3>>You<<if $davina is true>> and Davina<<endif>> leave the barracks. <<endif>>\nThe guard Captain walks up to you. He puts his hand on the hilt of his blade.\n\n"The hell are you doin' in here?" says the Captain.\n\n<<if $odai is 'done'>>[["I'm here to turn in the bounty on Odai Warin."|OdaiConf]]<<elseif $odai is 3>>You've already turned in the bounty on Odai Warin.<<endif>>\n\n[["Just taking in the sights. I'll be going now."|OdaiTurnIn]]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nThe guards escort you<<if $davina is true>> and Davina<<endif>> to the King's throne room. King Wallis sits on his plush throne. Squires surround him, ready to answer his beck and call.\n\n"You have the Blade, explorer?" says King Wallis. "Come, come. I want to see it."\n\nYou approach King Wallis and kneel down, presenting the Blade to him.\n\n"You have served me well," says King Wallis. "The E.G.G. has not disappointed. Please, let me reward you. I offer you [[ten times your weight in gold,|MoneyReward][$money += 12,000]] or [[two plots of land and a knightdom in my army|KnightdomReward]]."\n</p></p>
<<fadeoutsound "FiddleandBow.mp3">>\s\n<<fadeoutsound "BarCrowdShort.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if ($odai neq 3) and ($odai neq 'done')>>You haven't killed Odai Warin, yet.\n\n[[Return to Greyzone Inn.|GreyzoneInn][$location = 'Greyzone Inn']]\n\n[[Continue into Wolfpine.|Wolfpine][$location = 'Wolfpine']]\n<<endif>>\s\n<<if ($odai neq 3) and ($odai neq 'done')>>\s\n"You haven't killed Odai Warin, yet," says Davina. "Perhaps, we should search for him. Unless you wish to enjoy the decadence of Wolfpine."\n\n[["Let's head back to the Inn."|GreyzoneInn][$location = 'Greyzone Inn']]\n\n[["I need to go into Wolfpine."|Wolfpine][$location = 'Wolfpine']]<<endif>>\n<<elseif ($odai is 3) or ($odai is 'done')>>\nYou<<if $davina is true>> and Davina<<endif>> approach the edge of Wolfpine.\n\n<<if ($king neq 3) and ($davina is true)>>"Are we going to the Fel Caves now?"<<else>>"Where to now, <<$name>>?"<<endif>> says Davina.\n\n[["Let's head back to the Inn."|GreyzoneInn][$location = 'Greyzone Inn']]\n\n[["I need to go into Wolfpine."|Wolfpine][$location = 'Wolfpine']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou<<if $davina is true>> and Davina<<endif>> reach the entrance of the cave. Stalactites hang from the roof of the caves entrance, like teeth in a dragon's mouth.\n\n<<if $davina is true>>"The Fel Caves," says Davina. "The beasts of the cave are powerful. We should be careful from here on out."<<endif>>\n\n[[Continue into the caves.|FelCave][$region = 'The Fel Caves', $location = 'Central Chamber']]\n\n[[Return to Greyzone Inn.|GreyzoneInn][$location = 'Greyzone Inn']]\n</p></p>
<p style= "text-align:center"><p style= "font-family:corbel"><p style= "font-size:24px"><font color='gold'><<$name>>\n\n<u>Health: <<$health>> | Energy: <<$energy>> | Wallet: <<$money>> | Location: <<$location>>, <<$region>><<if $davina is true>>| Davina Health: <<print $davinahealth>><<endif>> </p></p></p></font></u>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nThe King calls in his treasurer and orders him to bring out your weight in the King's gold. The gold glints in the sunlight, slightly blinding you. \n\n<<if $davina is true>> You decide split the King’s reward with Davina. You both decide to stick together to try and make more money. Davina comes to really enjoy your company.<<elseif ($davina is true) and ($rude is true)>> You decide to split the King's reward with Davina. You decide to stick together to try and make more money, but it doesn't go well. You screw her over on a job and she attacks you. You end up killing Davina in defense of your life.<<endif>>\s\n\nYou take the money and live out your days comfortably in a lush home. <<if $rude is true>>You end up spending all of your money.<<else>>You save the majority of the money and have a hefty inheritance to leave your family.<<endif>>\n\n[[Achievements|Cheeves]]\n</p></p>\n\n
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Odai Health: <<$odaihealth>></center>\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|OdaiProc][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\n<<if $odaihealth lt 1>>\s\nYou have defeated Odai.\n\nHe dropped 2 Potions and 200 gold!\n\n[[Take your spoils.|RoadtoWarr][$odai = 'done', $potion += 2, $money += 200, $dragon = 'rotting']]\n<<else>>\s\n<<if $attack is 'swordattack'>>\s\n<<set $damage = random(10,16)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n<<if $attack is 'fireslash'>>\s\n<<set $damage = random(10,16)>>\s\nYour <font color="red">Fireguard Shortsword</font> flames up and you do <<print $damage += 28>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n<<if $attack is 'axeattack'>>\s\n<<set $damage = random(7,14)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n<<if $attack is 'surge'>>\s\n<<set $damage = random(15,20)>>\s\nElectricity surrounds your <font color="cyan">Storm-Weaver</font> and you do <<print $damage += 31>> damage. It's very effective!\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n<<if $attack is 'spearattack'>>\s\n<<set $damage = random(8,15)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n<<if $attack is 'haunt'>>\s\n<<set $damage = random(10,15)>>\s\nYour <font color="purple">Shadow Lance</font> is engulfed with darkness and you do <<print $damage += 25>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>><<endif>>\n<<if $attack is 'maceattack'>>\s\n<<set $damage = random(9,18)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n<<if $attack is 'quake'>>\s\n<<set $damage = random(15,25)>>\s\nYou slam your <font color="tan">Ratsbane</font> into the ground, summoning forth a wave of zombie Banshe Rats. You do <<print $damage += 25>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|OdaiEnemyAttk]]<<endif>>\s\n</p></p></font>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Guardian Health: <<$guardianhealth>></center>\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|GuardianProc][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<else>>\n<<if $guardianhealth lt 1>>\s\nYou have defeated the Guardian.\n\nIt dropped 500 gold! You pick up the Blade and place it in your inventory.\n\n[[Take your spoils.|Guardian][$king = 3, $money += 500, $guardian = 'dead', $theblade = true]]\n<<else>>\s\n<<if $attack is 'swordattack'>>\s\n<<set $damage = random(10,20)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<if $attack is 'fireslash'>>\s\n<<set $damage = random(15,25)>>\s\nYour <font color="red">Fireguard Shortsword</font> flames up and you do <<print $damage += 18>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<if $attack is 'axeattack'>>\s\n<<set $damage = random(8,16)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<if $attack is 'surge'>>\s\n<<set $damage = random(15,25)>>\s\nElectricity surrounds your <font color="cyan">Storm-Weaver</font> and you do <<print $damage += 15>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<if $attack is 'spearattack'>>\s\n<<set $damage = random(8,15)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<if $attack is 'haunt'>>\s\n<<set $damage = random(20,25)>>\s\nYour <font color="purple">Shadow Lance</font> is engulfed with darkness and you do <<print $damage += 31>> damage. It's very effective.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\n<<if $attack is 'maceattack'>>\s\n<<set $damage = random(9,18)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<if $attack is 'quake'>>\s\n<<set $damage = random(15,25)>>\s\nYou slam your <font color="tan">Ratsbane</font> into the ground, summoning forth a wave of zombie Banshe Rats. You do <<print $damage += 25>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|GuardianEnemyAttk]]<<endif>>\s\n<<endif>><<endif>>\s\n</p></p></font>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $quest is 'false'>> A quest board sits in front of you. Quest Master Eoris, an old man wearing a dark green robe, sits in a solid wooden chair beside the board.<<elseif ($quest is 'true') or ($quest is 'back')>> Quest Master Eoris sits in his chair.<<endif>>\s\n\nSeveral pieces of parchment are stuck to the board.<<if $king is 0>> One bears the King's sigil.<<endif>>\n\n<center><u>Exploratory Guild of Greyzone Quest Board</u></center>\n<<if $king is 1>><center>A scraggly sliver of paper is all that remains of the "King's Missive".</center><<else>>"King's Missive" reads:\n<center>"King Wallis of Greyzone seeks a skilled explorer to retrieve a valuable weapon, called the Blade. Retrieve the Blade from the depths of the Fel Caves and return it to your King."</center><<endif>>\n\n<<if $odai is 1>><center>A scraggly sliver of paper is all that remains of "Odai's Bounty".</center><<else>>"Wanted: Odai Warin" reads:\n<center>"The town of Wolfpine is offering a reward for the death of Odai Warin. He's wanted for the murder of a local shopkeep. The bounty pays 500 gold."</center><<endif>>\n\n<<if $wells is 1>><center>A scraggly sliver of paper is all that remains of "The Wells Have Run Dry!".</center><<else>>"The Wells Have Run Dry!" reads:\n<center>"The Baron of Warrington is offering a reward for curing the watering well from the Neema Plague by retrieving a flower from the Banshee Bush. The Baron will pay 1,000 gold to whomever returns with the flower."</center><<endif>>\n<<if $quest is 'all'>>\s\n[[Leave.|EGGEntrance][$region = 'Greyzone', $location = 'E.G.G. Entrance']]\n<<else>>\s\n[[Take all quests from the board.|QuestConf][$king = 1, $odai = 1, $wells = 1, $quest = 'all']]<<endif>>\n<<if $quest is 'false'>>\n[[Leave and take nothing.|QuestNeeded]]<<endif>>\n</p></p>
<<set $location = 'E.G.G. Bed Chambers'>>\s\n<<set $region = 'Greyzone'>>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $book is false>>You wake up in a large, stone room, filled with wooden beds. The floor is cold against your bare feet. Pieces of straw litter the floor, surrounding your bed. Two large bookshelves line the wall to your right.<<elseif $book is true>>You place the book back on the shelf.<<endif>><<if $gm is true>> Guildmaster Varyn walks into the bed chambers.<<endif>>\n<<if $book is false>>\n[[Pull a book from the bookshelf.|Bookshelf][$gm = false, $book = 0]]<<endif>>\n<<if $book is true>>"Ah. You're awake, <<$name>>! We have great news. We have received a message from the king, himself," says Varyn. "It's time that you venture out on your own. Go and clear off the quest board. There's a few old quests that need to be done along the way."\n\n[[Leave.|Opening][$region = 'Greyzone', $location = 'E.G.G. Quest Board']]<<endif>></p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|BushAttk][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<center>Banshee Rat Health: <<$rathealth>></center>\n<<if $weapon is 'sword'>>\s\n\nChoose your attack:\n\n[[Sword Swipe|BushProc][$attack = 'swordattack', $energy -= 2]] - Slice at your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 8>>[[Fire Slash|BushProc][$attack = 'fireslash', $energy -= 8]] - Uses 8 energy.<<endif>><<endif>>\n<<if $weapon is 'axe'>>\s\nChoose your attack:\n\n[[Cleave|BushProc][$attack = 'axeattack', $energy -= 2]] - Cleave your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 10>>[[Surge Strike|BushProc][$attack = 'surge', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'spear'>>\s\nChoose your attack:\n\n[[Thrust|BushProc][$attack = 'spearattack', $energy -= 2]] - Thrust your spear into your enemy. Uses 2 energy.\n\n<<if $energy gt 20>>[[Haunting Lunge|BushProc][$attack = 'haunt', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n</p></p></font>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou<<if $davina is true>> and Davina<<endif>> walk into the city square.<<if $wells is 'done'>> The well has been cleared of the Neema Plague. The people praise you as you walk by.<<else>> The city is falling apart. Sick children lie near their dying mothers. Families cry out for help.<<endif>>\n\n<<if ($davina is true) and ($wells is 'done')>>"The city is finally recovering," says Davina. "So many people."<<elseif ($davina is true) and ($wells neq 'done')>>"The plague is taking a toll on the city," says Davina. "We need to help them."<<endif>>\n\n<<if $wells is 'completed'>>[[Take the Banshee Flower to the Baron.|BaronTurnIn][$location = "Baron's Home"]]<<else>>[[Visit the Baron's home.|BaronTurnIn][$location = "Baron's Home"]]<<endif>>\n\n[[Leave Warrington.|RoadtoWarr][$location = 'Road to Warrington']]\n</p></p>
<<stopsound "DragonRoar.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|DragonAttk][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<center>Dragon Health: <<$dragonhealth>></center>\n<<if $weapon is 'sword'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|DragonAttk][$weapon = 'mace', $bag = ('sword')]]<<endif>>\n\nChoose your attack:\n\n[[Sword Swipe|DragonProc][$attack = 'swordattack', $energy -= 2]] - Slice at your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 8>>[[Fire Slash|DragonProc][$attack = 'fireslash', $energy -= 8]] - Uses 8 energy.<<endif>><<endif>>\n<<if $weapon is 'axe'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|DragonAttk][$weapon = 'mace', $bag = ('axe')]]<<endif>>\n\nChoose your attack:\n\n[[Cleave|DragonProc][$attack = 'axeattack', $energy -= 2]] - Cleave your enemy with your axe. Uses 2 energy.\n\n<<if $energy gt 10>>[[Surge Strike|DragonProc][$attack = 'surge', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'spear'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|DragonAttk][$weapon = 'mace', $bag = ('spear')]]<<endif>>\n\nChoose your attack:\n\n[[Thrust|DragonProc][$attack = 'spearattack', $energy -= 2]] - Thrust your spear into your enemy. Uses 2 energy.\n\n<<if $energy gt 20>>[[Haunting Lunge|DragonProc][$attack = 'haunt', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'mace'>>\s\n<<if $bag is 'spear'>>[[Equip Shadow Lance|DragonAttk][$weapon = 'spear', $bag = 'mace']]<<elseif $bag is 'sword'>>[[Equip Fireguard Shortsword|DragonAttk][$weapon = 'sword', $bag = 'mace']]<<elseif $bag is 'axe'>>[[Equip Storm-Weaver|DragonAttk][$weapon = 'axe', $bag = 'mace']]<<endif>>\n\nChoose your arrack:\n\n[[Smash|DragonProc][$attack = 'maceattack', $energy -= 2]] - Smash your enemy with your mace. Uses 2 energy.\n\n<<if $energy gt 15>>[[Rat Quake|DragonProc][$attack = 'quake', $energy -= 15]] - Uses 15 energy.<<endif>><<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n</p></p></font>
<<fadeoutsound "FiddleandBow.mp3">>\s\n<<fadeoutsound "BarCrowdShort.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou<<if $davina is true>> and Davina<<endif>> head towards the Fel Caves. As you get closer to the caves, the trees begin to change. The bark on the trees gets darker and the trees slump over as if being sucked in by the caves.\n\n<<if $davina is true>>"A strong magic resonates in this area," says Davina. "I can feel it getting stronger."<<endif>>\s\n\n<<if visited('FelCavesEnt')>>[[Return to the Fel Caves.|FelCavesEnt][$location = 'Fel Caves Entrance']]<<else>>[[Continue towards the Fel Caves.|FelCavesEnt][$location = 'Fel Caves Entrance']]<<endif>>\n\n[[Return to the Inn.|GreyzoneInn][$location = 'Greyzone Inn']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nQuest Master Eoris looks at you and smiles.\n\n"Good luck, <<$name>>!" says Eoris. "Be safe. Gods be with you!"\n\n[["And you as well, Eoris!"|EGGEntrance][$location = 'E.G.G. Entrance']]\n\n[["I don't need the gods."|EGGEntrance][$location = 'E.G.G. Entrance']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Bug Health: <<if $davina is false>><<print $bughealth -= $damage>><<else>><<print $bughealth -= $damage + $davinadamage>><<endif>></center>\s\n<<if $bughealth lt 1>>\s\nYou have defeated the Bug!\n\nIt dropped 500 gold!\n\n[[Take your spoils.|RightPassage][$bug = 'dead', $bugAchieve = 'Unlocked']]\n<<else>>\s\n<<set $bugdamage = random(10,22)>>\s\nBug does <<$bugdamage>> damage to you!\n<<if $davina is true>>Bug does <<$bugdamage>> damage to Davina, also!<<endif>>\n\n<<if $davina is true>>[[Prepare to attack.|BugAttk][$health -= $bugdamage, $davinahealth -= $bugdamage]]<<else>>[[Prepare to attack.|BugAttk][$health -= $guardiandamage]]<<endif>><<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n</p></font></p>
<<loopsound "FiddleandBow.mp3">>\s\n<<playsound "BarCrowdShort.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $inn is false>>The innkeeper greets you warmly as you walk up to a table.\n\n"Welcome to the Greyzone Inn, traveler," says the innkeeper. "Enjoy your stay. Please don't hesitate to ask if you need anything."\n<<endif>>\s\n\nThe revels of the patrons absorb into the wooden walls. You look around.<<if $davina is false>> A fiery haired woman sits at a table nearby, eyeing you. She spins a ring of fire with her finger and winks at you.<<endif>>\n\n<<if $davina is false>>[[Walk up to the fiery haired woman.|Davina][$location = "Davina's Table"]]<<elseif $davina is 'not'>>[[Walk back over to Davina.|Davina][$location = "Davina's Table"]]<<elseif $davina is true>>"Are we ready to go?" says Davina.<<endif>>\n\n[[Leave the Inn and head to Warrington.|RoadtoWarr][$location = 'Road to Warrington']]\n\n<<if $odai neq 3>>[[Leave the Inn and head to Wolfpine.|OdaiTurnIn][$location = 'Wolfpine']]<<elseif $odai is 3>>You've turned in Odai for the bounty, already.<<endif>>\n\n[[Leave the Inn and head to the Fel Caves.|RoadToCave][$location = 'Road to the Fel Caves']]\n\n[[Leave the Inn.|RoadtoInn][$inn = true, $location = 'Road']]\n\n<<if $king is 3>>[[Ride to King Wallis' Castle.|WallisCastle][$location = "King Wallis' Castle"]]<<endif>>\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nThere are many different books to choose from. Some are dusty from lack of use.\n\n[[Read a brief biography on King Wallis.|Book][$book = 'Wallis']]\n\n[[Read a brief history on Greyzone.|Book][$book = 'History']]\n\n[[Read about the War between Greyzone and Newshire.|Book][$book = 'War']]\n<<if $book is 1>>\n[[Put all books back.|GameStrt]]<<endif>></p></p>
Adventures in Greyzone
(function () {\n "use strict";\n version.extensions['soundMacros'] = {\n major: 1,\n minor: 1,\n revision: 2\n };\n var p = macros['playsound'] = {\n soundtracks: {},\n handler: function (a, b, c, d) {\n var loop = function (m) {\n if (m.loop == undefined) {\n m.loopfn = function () {\n this.play();\n };\n m.addEventListener('ended', m.loopfn, 0);\n } else m.loop = true;\n m.play();\n };\n var s = eval(d.fullArgs());\n if (s) {\n s = s.toString();\n var m = this.soundtracks[s.slice(0, s.lastIndexOf("."))];\n if (m) {\n if (b == "playsound") {\n m.play();\n } else if (b == "loopsound") {\n loop(m);\n } else if (b == "pausesound") {\n m.pause();\n } else if (b == "unloopsound") {\n if (m.loop != undefined) {\n m.loop = false;\n } else if (m.loopfn) {\n m.removeEventListener('ended', m.loopfn);\n delete m.loopfn;\n }\n } else if (b == "stopsound") {\n m.pause();\n m.currentTime = 0;\n } else if (b == "fadeoutsound" || b == "fadeinsound") {\n if (m.interval) clearInterval(m.interval);\n if (b == "fadeinsound") {\n if (m.currentTime>0) return;\n m.volume = 0;\n loop(m);\n } else {\n if (!m.currentTime) return;\n m.play();\n }\n var v = m.volume;\n m.interval = setInterval(function () {\n v = Math.min(1, Math.max(0, v + 0.005 * (b == "fadeinsound" ? 1 : -1)));\n m.volume = Math.easeInOut(v);\n if (v == 0 || v == 1) clearInterval(m.interval);\n if (v == 0) {\n m.pause();\n m.currentTime = 0;\n m.volume = 1;\n }\n }, 10);\n }\n }\n }\n }\n }\n macros['fadeinsound'] = p;\n macros['fadeoutsound'] = p;\n macros['unloopsound'] = p;\n macros['loopsound'] = p;\n macros['pausesound'] = p;\n macros['stopsound'] = p;\n macros['stopallsound'] = {\n handler: function () {\n var s = macros.playsound.soundtracks;\n for (var j in s) {\n\t\tif (s.hasOwnProperty(j)) {\n s[j].pause();\n if (s[j].currentTime) {\n\t\t s[j].currentTime = 0;\n\t\t }\n\t\t}\n }\n }\n }\n var div = document.getElementById("storeArea").firstChild;\n var fe = ["ogg", "mp3", "wav", "webm"];\n while (div) {\n var b = String.fromCharCode(92);\n var q = '"';\n var re = "['" + q + "]([^" + q + "']*?)" + b + ".(ogg|mp3|wav|webm)['" + q + "]";\n k(new RegExp(re, "gi"));\n div = div.nextSibling;\n }\n\n function k(c, e) {\n do {\n var d = c.exec(div.innerHTML);\n if (d) {\n var a = new Audio();\n if (a.canPlayType) {\n for (var i = -1; i < fe.length; i += 1) {\n if (i >= 0) d[2] = fe[i];\n if (a.canPlayType("audio/" + d[2])) break;\n }\n if (i < fe.length) {\n a.setAttribute("src", d[1] + "." + d[2]);\n a.interval = null;\n macros.playsound.soundtracks[d[1]] = a;\n } else console.log("Browser can't play '" + d[1] + "'");\n }\n }\n } while (d);\n }\n}());
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Banshee Rat Health: <<$rathealth>></center>\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|BushProc][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<else>>\n<<if $rathealth lt 1>>\s\n<<set $coinflip = random(1,2,3)>>\s\nYou have defeated the Banshee Rat.\n\nIt dropped a Potion and a Banshee Flower!\n\n<<if ($coinflip is 2) or ($coinflip is 3)>>You found the <font color ="tan">Ratsbane Mace</font>!\n\n[[Take your spoils and equip the Ratsbane.|RoadtoInn][$bush = true, $wells = 3, $weapon = 'mace', $potion += 1, $RatAchieve = 'Unlocked']]\n\n[[Take your spoils and don't equip.|RoadtoInn][$bush = true, $wells = 3, $potion +=1, $bag = 'mace', $RatAchieve = 'Unlocked']]<<else>>[[Take your spoils and leave.|RoadtoInn][$bush = true, $wells = 3, $potion += 1]]<<endif>>\n<<else>>\s\n<<if $attack is 'swordattack'>>\s\n<<set $damage = random(16,29)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BushEnemyAttk]]<<endif>>\s\n<<if $attack is 'fireslash'>>\s\n<<set $damage = random(16,29)>>\s\nYour <font color="red">Fireguard Shortsword</font> flames up and you do <<print $damage += 28>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BushEnemyAttk]]<<endif>>\s\n<<if $attack is 'axeattack'>>\s\n<<set $damage = random(14,28)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BushEnemyAttk]]<<endif>>\s\n<<if $attack is 'surge'>>\s\n<<set $damage = random(14,28)>>\s\nElectricity surrounds your <font color="cyan">Storm-Weaver</font> and you do <<print $damage += 31>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BushEnemyAttk]]<<endif>>\s\n<<if $attack is 'spearattack'>>\s\n<<set $damage = random(15,30)>>\s\nYou do <<$damage>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BushEnemyAttk]]<<endif>>\s\n<<if $attack is 'haunt'>>\s\n<<set $damage = random(15,30)>>\s\nYour <font color="purple">Shadow Lance</font> is engulfed with darkness and you do <<print $damage += 25>> damage.\n<<if $davina is true>>\s\n<<set $davinadamage = random(17,26)>>\s\nDavina does <<$davinadamage>> damage.<<endif>>\n\n[[Prepare for enemy attack.|BushEnemyAttk]]<<endif>><<endif>><<endif>></p></p></font>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if visited('GuardianEncounter','Guardian')>>You enter the large, open cavern. <<else>>You<<if $davina is true>> and Davina<<endif>> enter a large, open cavern. Three paths are ahead of you.<<if $cave is 'full'>> You hear screeches and growls echoing from deep within the cave.<<elseif $cave is 'empty'>> The caves are eerily quiet.<<endif>><<endif>>\n\n<<if ($davina is true) and ($cave is 'full')>>"The map says we should go straight," says Davina. "There's a wrap around ahead.<<endif>>\n\n<<if visited('Guardian')>>[[Center Path.|Guardian][$location = 'Straight Path']]<<else>>[[Straight Ahead.|Guardian][$location = 'Straight Path']]<<endif>>\n\n<<if $coinflip is 1, 3, 5>>[[Left Path.|LeftPassage][$location = 'Left Cavern']]<<else>>The path has collapsed.<<endif>>\n\n[[Right Path.|RightPassage][$location = 'Right Cavern']]\n\n[[Leave the Cave.|FelCavesEnt][$location = 'Fel Caves Entrance', $region = 'Greyzone']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $rat is true>>A large Banshee Rat jumps out from the bushes. It snaps its huge jaws and shifts from side to side. The hair stands up on its back as it screeches at you.\n\nYou take out your <<$weapon>> and twirl it in your hand, taking a battle stance.\n\n<<if $davina is true>>Davina's hands burst into flame.<<endif>>\n\n[[Prepare to attack.|BushAttk]]\n<<endif>></p></p></font>
<<set $guardianenc = true>>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $guardian is 'dead'>>You<<if $davina is true>> and Davina<<endif>> walk into a large cavern. The body of the Blade Guardian sits in the center.<<else>>You<<if $davina is true>> and Davina<<endif>> walk into a large cavern. A large, stone statue sits in the center. It's a giant snake-like creature with a lion's mane and giant horns on its head.<<endif>>\n\n<<if $guardianenc is 'engaged'>>A dull, red light glows behind the statue.\n\n<<if $davina is true>>"What is this thing?" says Davina. "It's giving off a strange power."<<endif>><<endif>>\s\n\n[[Go down the central corridor.|Guardian]]\n<<set $coinflip = random (1,5)>>\n<<if $coinflip is 1, 3, 5>>[[Go down the left corridor.|LeftPassage]]<<elseif $coinflip is 2, 4>>The corridor collapses behind you.<<endif>>\n\n[[Go down the right corridor.|RightPassage]]\n\n<<if $guardian neq 'dead'>>[[Walk up to red light.|GuardianAttk]]<<endif>>\s\n<<if ($chest is 'opened') and ($bug is 'dead') and ($guardian is 'dead')>><<set $cave = 'empty'>><<endif>>\s\n</p></p>
<<stopsound "FiddleandBow.mp3">>\s\n<<stopsound "BarCrowdShort.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $bush is false>>You spot a large bush with deep yellow flowers. The bush begins to sing.\n\n[[Approach bush.|BushEncounter]]\n\n<<if $inn is false>>[[Continue past the bush.|GreyzoneInn][$location = 'Greyzone Inn', $wells = 'incomplete', $bush = false]]<<elseif $inn is true>>[[Return to Greyzone Inn.|GreyzoneInn][$location = 'Greyzone Inn']]<<endif>>\n\n[[Return to E.G.G. Headquarters.|EGGEntrance]]\n\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>\n[[Use potion.|RoadtoInn][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\s\n<<elseif $bush is true>>You see the body of the Banshee Rat, lying on the ground near the Banshee Bush.\n\n[[Go to Greyzone Inn.|GreyzoneInn][$location = 'Greyzone Inn', $inn = 'visited']]\n\n[[Return to E.G.G. Headquarters.|EGGEntrance]]\n\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>\n[[Use potion.|RoadtoInn][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<<endif>></p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $weapon is 'sword'>>"Ah, you've chosen the Fireguard Shortsword. I can see the fire in your eyes."\n\nYou take the <font color="red">Fireguard Shortsword</font> and thank the blacksmith for his kindness.<<elseif $weapon is 'axe'>> "Ooh, you've chosen the Storm-Weaver. Watch the lightning as it lights up the sky."\n\nYou take the <font color="cyan">Storm-Weaver</font> and thank the blacksmith for his kindness.<<elseif $weapon is 'spear'>> "Hmm. You've chosen the Shadow Lance. Remember: darkness can consume even the brightest of lights."\n\nYou take the <font color="purple">Shadow Lance</font> and thank the blacksmith for his kindness.<<endif>>\n\n<<if $weapon is 'sword'>>[["I'll be sure to be careful, blacksmith."|RoadtoInn][$location = 'Road']]<<elseif $weapon is 'axe'>>[["It's ELECTRIC! Boogie woogie, woogie!"|RoadtoInn][$location = 'Road']]<<elseif $weapon is 'spear'>>[["Mind your business, blacksmith."|RoadtoInn][$location = 'Road']]<<endif>></p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou take the knightdom and join the King's army. The King orders his personal armor to bring out a suit of armor decorated in the King's colors. The land you received is all but arable. While not fighting, you work on your land, turning one of the plots into a large farm.\n\n<<if $davina is true>>Davina joins you in the King’s army. The two of you rise through the ranks and lead the army into many battles against Newshire. Davina becomes a loyal companion to you.<<endif>><<if $rude is true>> On a scouting mission, your party is ambushed by the Newshire Assassins. Davina sacrifices herself to save your life. You survive the ambush, but feel guilty for the rest of your life.<<endif>>\s\n\nYou <<if ($davina is true) and ($rude is false)>>and Davina<<endif>> rise through the ranks of the King's army and lead the army to victory against Newshire. You grow old and leave the army to live out the rest of your days on your farm.\n\n[[Achievements|Cheeves]]\n</p></p>\n
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $odai is 'done'>>"Ah! You killed Odai?" says the Captain. "Impressive. I think you've earned this reward. Thank you for ridding us of that nuisance"\n\n[["My pleasure."|OdaiTurnIn][$odai = 3, $money += 500, $OdaiAchieve = 'Unlocked']]\n\n[["It was no challenge."|OdaiTurnIn][$odai = 3, $money += 500, $OdaiAchieve = 'Unlocked']]\n<<else>>\s\n"You're the one that killed Odai," says the Captain. "We need strong fighters like that around here."\n\n[["You're too kind."|OdaiTurnIn]]\n\n[["Obviously you do if you had to get an explorer to kill him for you."|OdaiTurnIn][$rude = true]]\n<<endif>>\s\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $chest is 'opened'>>You took 3 potions and 250 gold from the chest!<<else>>You<<if $davina is true>> and Davina<<endif>> make your way down the left passage and you come to a small cavern. The ground is littered with animal droppings and the skeletons of small mammals. Ahead of you, a dim red light emanates from the corridor.<<endif>>\n\n<<if $chest is 'unopened'>> A small chest sits near the cave wall on the right.<<endif>>\s\n\n<<if ($davina is true) and ($guardian neq 'dead')>>"I feel strange," says Davina. "What's that light up ahead?"<<endif>>\n\n<<if $chest is 'unopened'>>[[Open chest.|LeftPassage][$chest = 'opened', $potion +=3, $money += 250]]<<endif>>\s\n\n\n<<if visited('GuardianEncounter')>>[[Back to the Guardian's cavern.|GuardianEncounter][$chest = 'empty', $location = 'Main Cavern']]<<else>>[[Continue forward.|GuardianEncounter][$chest = 'empty', $location = 'Main Cavern']]<<endif>>\n\n[[To the central cavern.|FelCave][$chest = 'empty', $location = 'Central Cavern']]\n<<if ($chest is 'opened') and ($bug is 'dead') and ($guardian is 'dead')>><<set $cave = 'empty'>><<endif>>\s\n</p></p>
<<fadeoutsound "FiddleandBow.mp3">>\s\n<<fadeoutsound "BarCrowdShort.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|RoadtoWarr][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n\n<<if $dragon is 'alive'>><<playsound "DragonRoar.mp3">>You get ambushed by a small green dragon. It opens its mouth and releases a gout of blue fire. You barely dodge the dragon's fire.\n\n[[Prepare to attack.|DragonAttk]]\n<<endif>>\s\n<<if $dragon is 'dead'>>\s\n<<playsound "OdaiYell.mp3">>Odai Warin roars at the death of his pet. He dashes over to the dragon's body. Odai glares at you. He stands and pulls out a katana.\n\n"You killed my Libby!" says Odai. "I'll kill you!"\n\nOdai twirls his blade in his hands and takes a battle stance.\n\n[[Prepare to attack.|OdaiAttk]]\n<<endif>>\s\n<<if ($odai is 'done') or ($odai is 3)>>\s\nYou look down at the dragon's body.\n\n<<if $davina is false>>[[To Warrington.|Warrington][$location = 'Warrington']]\n\n[[Back to the Inn.|GreyzoneInn][$location = 'Greyzone Inn']]<<endif>>\n<<if $davina is true>>Davina looks at the dragon's body, then at you. Carrion Birds circle the dragon corpse.\n\n"Where to next?" says Davina.\n\n[["To Warrington."|Warrington][$location = 'Warrington']]\n\n[["Back to the Inn."|GreyzoneInn][$location = 'Greyzone Inn']]<<endif>><<endif>>\s\n<<if ($odai is 3) and ($dragon is 'rotting') and ($davina is false)>>\s\nYou look at the dragon's body, as you carry Odai's head over it.\n\n[[Head to Warrington|Warrington][$location = 'Warrington']]\n\n[[Return to the Inn.|GreyzoneInn][$location = 'Greyzone Inn']]\n<<endif>>\s\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Dragon Health: <<if $davina is false>><<print $dragonhealth -= $damage>><<else>><<print $dragonhealth -= $damage + $davinadamage>><<endif>></center>\s\n<<if $dragonhealth lt 1>>\s\nYou have defeated the small dragon.\n\nIt dropped a Potion!\n\n[[Take your spoils.|RoadtoWarr][$dragon = 'dead', $potion += 1]]\n<<else>>\s\n<<set $dragondamage = random(10,15)>>\s\nThe small dragon does <<$dragondamage>> damage to you!\n<<if $davina is true>>The small dragon does <<$dragondamage>> damage to Davina, also!<<endif>>\n\n<<if $davina is true>>[[Prepare to attack.|DragonAttk][$health -= $dragondamage, $davinahealth -= $dragondamage]]<<else>>[[Prepare to attack.|DragonAttk][$health -= $dragondamage]]<<endif>>\n<<endif>>\s\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n</p></font></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|BugAttk][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<center>Bug Health: <<$bughealth>></center>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n<<if $weapon is 'sword'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|BugAttk][$weapon = 'mace', $bag = ('sword')]]<<endif>>\n\nChoose your attack:\n\n[[Sword Swipe|BugProc][$attack = 'swordattack', $energy -= 2]] - Slice at your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 8>>[[Fire Slash|BugProc][$attack = 'fireslash', $energy -= 8]] - Uses 8 energy.<<endif>><<endif>>\n<<if $weapon is 'axe'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|BugAttk][$weapon = 'mace', $bag = ('axe')]]<<endif>>\n\nChoose your attack:\n\n[[Cleave|BugProc][$attack = 'axeattack', $energy -= 2]] - Cleave your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 10>>[[Surge Strike|BugProc][$attack = 'surge', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'spear'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|BugAttk][$weapon = 'mace', $bag = ('spear')]]<<endif>>\n\nChoose your attack:\n\n[[Thrust|BugProc][$attack = 'spearattack', $energy -= 2]] - Thrust your spear into your enemy. Uses 2 energy.\n\n<<if $energy gt 20>>[[Haunting Lunge|BugProc][$attack = 'haunt', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'mace'>>\s\n<<if $bag is 'spear'>>[[Equip Shadow Lance|BugAttk][$weapon = 'spear', $bag = 'mace']]<<elseif $bag is 'sword'>>[[Equip Fireguard Shortsword|BugAttk][$weapon = 'sword', $bag = 'mace']]<<elseif $bag is 'axe'>>[[Equip Storm-Weaver|BugAttk][$weapon = 'axe', $bag = 'mace']]<<endif>>\n\nChoose your arrack:\n\n[[Smash|BugProc][$attack = 'maceattack', $energy -= 2]] - Smash your enemy with your mace. Uses 2 energy.\n\n<<if $energy gt 15>>[[Rat Quake|BugProc][$attack = 'quake', $energy -= 15]] - Uses 15 energy.<<endif>><<endif>>\n</p></p></font>
<<set alert("CONGRATULATIONS, your adventure in Greyzone is complete.")>>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<u>Achievements</u>\n<i>The Warrington Hero:</i> <<print $WarrAchieve>>\n<<if $WarrAchieve is 'Unlocked'>>You saved Warrington from it's ill fate.<<else>>Warrington fell. The Neema Plague was never cured.<<endif>>\n\n<i>You Dirty Rat!:</i> <<print $RatAchieve>>\n<<if $RatAchieve is 'Unlocked'>>You summoned rats? Really? That's just downright unsanitary.<<else>>Have you ever summoned a rat before?<<endif>>\n\n<i>Odai had to Die!:</i> <<print $OdaiAchieve>>\n<<if $OdaiAchieve is 'Unlocked'>>You did the right thing. Odai had to die.<<else>>Finding Odai is half the battle.<<endif>>\n\n<i>The King's Favor:</i> <<print $GuardianAchieve>>\n<<if $GuardianAchieve is 'Unlocked'>>Hard wasn't it? He is the Guardian after all.<<else>>Okay, this is a freebie. Still nice to get an achievement, though, right?<<endif>>\n\n<i>Kill it! Kill the Bug!:</i> <<print $bugAchieve>>\n<<if $bugAchieve is 'Unlocked' and $bug is 'dead'>>Aw, what did that bug ever do to you? Except try to eat your face. Y'know what? I don't blame you.<<elseif $bugAchieve is 'Unlocked' and $bug is 'sneak'>>That was a big bug wasn't it?<<elseif $bugAchieve is 'Locked' and $bug is 'sneak'>>Scared of a little bug?<<elseif $bugAchieve is 'Locked' and $bug is 'alive'>>The Fel Caves are suffering from a bug problem.<<endif>>\n\n[[Play Again?|Start]]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|GuardianAttk][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<center>Guardian Health: <<$guardianhealth>></center>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n<<if $health gte 1>><<if $guardianenc is 'engaged'>>The Blade Guardian roars and sways from side to side.<<elseif $guardianenc is true>>The cavern quakes around you. The statue cracks and explodes in a flash of red light. The Blade Guardian hisses and slithers in front of the blade.<<endif>><<endif>>\n\n<<if $weapon is 'sword'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|GuardianAttk][$weapon = 'mace', $bag = ('sword')]]<<endif>>\n\nChoose your attack:\n\n[[Sword Swipe|GuardianProc][$attack = 'swordattack', $energy -= 2, $guardianenc = 'engaged']] - Slice at your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 8>>[[Fire Slash|GuardianProc][$attack = 'fireslash', $energy -= 8, $guardianenc = 'engaged']] - Uses 8 energy.<<endif>><<endif>>\n<<if $weapon is 'axe'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|GuardianAttk][$weapon = 'mace', $bag = ('axe')]]<<endif>>\n\nChoose your attack:\n\n[[Cleave|GuardianProc][$attack = 'axeattack', $energy -= 2, $guardianenc = 'engaged']] - Cleave your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 10>>[[Surge Strike|GuardianProc][$attack = 'surge', $energy -= 10, $guardianenc = 'engaged']] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'spear'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|GuardianAttk][$weapon = 'mace', $bag = ('spear')]]<<endif>>\n\nChoose your attack:\n\n[[Thrust|GuardianProc][$attack = 'spearattack', $energy -= 2, $guardianenc = 'engaged']] - Thrust your spear into your enemy. Uses 2 energy.\n\n<<if $energy gt 20>>[[Haunting Lunge|GuardianProc][$attack = 'haunt', $energy -= 10, $guardianenc = 'engaged']] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'mace'>>\s\n<<if $bag is 'spear'>>[[Equip Shadow Lance|GuardianAttk][$weapon = 'spear', $bag = 'mace']]<<elseif $bag is 'sword'>>[[Equip Fireguard Shortsword|GuardianAttk][$weapon = 'sword', $bag = 'mace']]<<elseif $bag is 'axe'>>[[Equip Storm-Weaver|GuardianAttk][$weapon = 'axe', $bag = 'mace']]<<endif>>\n\nChoose your arrack:\n\n[[Smash|GuardianProc][$attack = 'maceattack', $energy -= 2]] - Smash your enemy with your mace. Uses 2 energy.\n\n<<if $energy gt 15>>[[Rat Quake|GuardianProc][$attack = 'quake', $energy -= 15]] - Uses 15 energy.<<endif>><<endif>>\n</p></p>
<<stopsound "OdaiYell.mp3">>\s\n<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nPotions: <<print $potion>>\n<<if ($health lt 100) and ($potion gte 1)>>[[Use potion.|OdaiAttk][$health = 100, $energy = 100, $davinahealth = 100, $potion -= 1]]<<endif>>\n<center>Odai Health: <<$odaihealth>></center>\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<endif>>\s\n<<if $weapon is 'sword'>>\s\n<<if $bag is 'mace'>>[[Equip Ratsbane|OdaiAttk][$weapon = 'mace', $bag = ('sword')]]<<endif>>\n\nChoose your attack:\n\n[[Sword Swipe|OdaiProc][$attack = 'swordattack', $energy -= 2]] - Slice at your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 8>>[[Fire Slash|OdaiProc][$attack = 'fireslash', $energy -= 8]] - Uses 8 energy.<<endif>><<endif>>\n<<if $weapon is 'axe'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|OdaiAttk][$weapon = 'mace', $bag = ('axe')]]<<endif>>\n\nChoose your attack:\n\n[[Cleave|OdaiProc][$attack = 'axeattack', $energy -= 2]] - Cleave your enemy with your sword. Uses 2 energy.\n\n<<if $energy gt 10>>[[Surge Strike|OdaiProc][$attack = 'surge', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'spear'>>\s\n\n<<if $bag is 'mace'>>[[Equip Ratsbane|OdaiAttk][$weapon = 'mace', $bag = ('spear')]]<<endif>>\n\nChoose your attack:\n\n[[Thrust|OdaiProc][$attack = 'spearattack', $energy -= 2]] - Thrust your spear into your enemy. Uses 2 energy.\n\n<<if $energy gt 20>>[[Haunting Lunge|OdaiProc][$attack = 'haunt', $energy -= 10]] - Uses 10 energy.<<endif>><<endif>>\n<<if $weapon is 'mace'>>\s\n<<if $bag is 'spear'>>[[Equip Shadow Lance|OdaiAttk][$weapon = 'spear', $bag = 'mace']]<<elseif $bag is 'sword'>>[[Equip Fireguard Shortsword|OdaiAttk][$weapon = 'sword', $bag = 'mace']]<<elseif $bag is 'axe'>>[[Equip Storm-Weaver|OdaiAttk][$weapon = 'axe', $bag = 'mace']]<<endif>>\n\nChoose your arrack:\n\n[[Smash|OdaiProc][$attack = 'maceattack', $energy -= 2]] - Smash your enemy with your mace. Uses 2 energy.\n\n<<if $energy gt 15>>[[Rat Quake|OdaiProc][$attack = 'quake', $energy -= 15]] - Uses 15 energy.<<endif>><<endif>>\n</p></p></font>
<<set $health = 100>>\s\n<<set $energy = 100>>\s\n<<set $money = 100>>\s\n<<set $davina = false>>\s\n<<set $davinahealth = 100>>\s\n<<set $king = 0>>\s\n<<set $odai = 0>>\s\n<<set $wells = 0>>\s\n<<set $map = false>>\s\n<<set $quest = 'false'>>\s\n<<set $weapon = 'none'>>\s\n<<set $rathealth = 110>>\s\n<<set $rat = true>>\s\n<<set $flower = false>>\s\n<<set $potion = 1>>\s\n<<set $dragonhealth = 125>>\s\n<<set $odaihealth = 150>>\s\n<<set $dragon = 'alive'>>\s\n<<set $theblade = false>>\s\n<<set $cave = 'full'>>\s\n<<set $chest = 'unopened'>>\s\n<<set $bughealth = 115>>\s\n<<set $bug = 'alive'>>\s\n<<set $guardianhealth = 300>>\s\n<<set $guardian = 'alive'>>\s\n<<set $WarrAchieve = 'Locked'>>\s\n<<set $OdaiAchieve = 'Locked'>>\s\n<<set $GuardianAchieve = 'Locked'>>\s\n<<set $RatAchieve = 'Locked'>>\s\n<<set $bugAchieve = 'Locked'>>\s
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $bug is 'alive'>>You <<if $davina is true>>and Davina<<endif>> make your way down the right passage and enter a small cavern. In the corner, you see a large insect creature rooting through the rocks. It squeaks and squeals, then hurls a smaller insect into the air and into its mouth. It hasn't noticed you, yet.<<elseif $bug is 'sneak'>>You <<if $davina is true>>and Davina<<endif>> walk into the small cavern. The large insect creature's antennae twitch. It turns to you and screeches!<<elseif $bug is 'dead'>>You walk past the empty shell of the insect.<<endif>>\n\n<<if $bug is 'alive'>>[[Sneak past the insect.|GuardianEncounter][$bug = 'sneak', $location = 'Main Cavern']]<<endif>>\n\n<<if ($bug is 'alive') or ($bug is 'sneak')>>[[Attack!|BugAttk]]<<endif>>\n<<if ($bug is 'dead') or ($guardian is 'dead')>>\s\n[[To the guardian's chamber.|GuardianEncounter][$location = 'Main Cavern']]\n\n[[Central Chamber.|FelCave][$location = 'Central Chamber']]<<endif>>\n<<if ($chest is 'opened') and ($bug is 'dead') and ($guardian is 'dead')>><<set $cave = 'empty'>><<endif>>\s\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $davina is false>>\s\nThe fiery haired woman smiles seductively.\n\n"Well, hello there, traveler," says the woman. "Name's Davina."\n\n[["I'm <<$name>>. Nice to meet you."|DavinaOffer]]\n\n[["Yeah, whatever. Why are you staring at me?"|DavinaOffer]]\n<<elseif $davina is 'not'>>\s\n"So, you're ready to take my offer then?" says Davina.\n\n[["Yes. I need your help, Davina."|DavinaOffer]]\n\n[["No. I still don't feel right putting your life in danger."|GreyzoneInn][$location = 'Greyzone Inn']]\n<<endif>>\s\n</p></p>
<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<<if $gender is 'male'>>You're a male, named Cade.<<elseif $gender is 'female'>>You're a female, named Cassi.<<endif>>\n\nAre you sure?\n\n[[Yes, I know what my gender is.|GameStrt]]\n\n[[No, let's go back.|Start]]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Odai Health: <<if $davina is false>><<print $odaihealth -= $damage>><<else>><<print $odaihealth -= $damage + $davinadamage>><<endif>></center>\s\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<else>>\n<<if $odaihealth lt 1>>\s\nYou have defeated Odai Warin!\n\nHe dropped 2 potions and 200 gold!\n\n[[Take your spoils.|RoadtoWarr][$odai = 'done', $potion += 2, $money += 200, $dragon = 'rotting']]\n<<else>>\n<<set $odaidamage = random(10,20)>>\s\nOdai does <<$odaidamage>> damage to you!\n<<if $davina is true>>Odai does <<$odaidamage>> damage to Davina, also!<<endif>>\n\n<<if $davina is true>>[[Prepare to attack.|OdaiAttk][$health -= $odaidamage, $davinahealth -= $odaidamage]]<<else>>[[Prepare to attack.|OdaiAttk][$health -= $odaidamage]]<<endif>>\n<<endif>><<endif>>\s\n</p></font></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nYou <<if $davina is true>>and Davina<<endif>> walk through the central corridor. A group of human skeletons are on the ground near the end. They look as if they were trying to crawl away from something.\n\n<<if ($davina is true) and ($guardianenc is false)>>"Poor saps," says Davina. "They never even had a chance."<<endif>>\n\n<<if visited('GuardianEncounter')>>[[Go back to the Guardian's cavern.|GuardianEncounter][$location = 'Main Chamber']]<<else>>[[Continue Straight.|GuardianEncounter][$location = 'Main Chamber']]<<endif>>\n\n[[Return to the central cavern.|FelCave][$location = 'Central Cavern']]\n</p></p>
Alex Davis
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nQuest Master Eoris stirs in his chair. \n\n"What are you doing, <<$name>>?" says the Eoris. "There's no reason to leave if you don't accept any quests."\n\n[["You're right. What am I thinking?"|Opening][$quest = 'true']]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\nThe Baron takes the flower from you.\n\n"Thank you, <<$name>>," says the Baron. "You've saved us all. Please take this purse as a token of our appreciation."\n\n[[Leave the Baron's home.|Warrington][$location = 'Warrington', $WarrAchieve = 'Unlocked', $money += 1000]]\n</p></p>
<<display 'HUD'>>\s\n<p style= "font-family:corbel"><p style= "font-size:16px">\s\n<center>Guardian Health: <<if $davina is false>><<print $guardianhealth -= $damage>><<else>><<print $guardianhealth -= $damage + $davinadamage>><<endif>></center>\s\n<<if $health lt 1>>\s\nYou have been defeated in battle!\n\n[[Restart?|Start]]\n<<else>>\n<<if $guardianhealth lt 1>>\s\nYou have defeated the Guardian!\n\nIt dropped 500 gold! You pick up the Blade and place it in your inventory.\n\n[[Take your spoils.|Guardian][$king = 3, $money += 500, $guardian = 'dead', $theblade = true]]\n<<else>>\s\n<<set $guardiandamage = random(15,25)>>\s\nThe Blade Guardian does <<$guardiandamage>> damage to you!\n<<if $davina is true>>The Blade Guardian does <<$guardiandamage>> damage to Davina, also!<<endif>>\n\n<<if $davina is true>>[[Prepare to attack.|GuardianAttk][$health -= $guardiandamage, $davinahealth -= $guardiandamage]]<<else>>[[Prepare to attack.|GuardianAttk][$health -= $guardiandamage]]<<endif>><<endif>><<endif>>\s\n</p></font></p>