[[Stats|]]\n\n[[Weapon Shop|Weapon Shop]]\n[[Armour Shop|Armour Shop]]
<<set $playerclass to "Warrior">>\nWarriors have very high physical attack and defense, but very low attack speed and agility.\n\n<b>Stats:</b>\n<<set $playerHealth to 70>>70 Health\n<<set $playerMana to 10>>10 Mana\n<<set $playerPAttack to 40>>40 Physical Attack\n<<set $playerMAttack to 20>>20 Magic Attack\n<<set $playerDefense to 30>>30 Defense\n<<set $playerASpeed to 15>>15 Attack Speed\n<<set $playerAgility to 15>>15 Agility\n<<set $playerLevel to 1>><<set $playerExp to 0>><<set $levelExp to $playerLevel * 100>><<set $playerGold = 50>><<set $playerWeapon = "Fists">><<set $playerArmour = "Shirt">>\n[[Begin|Town]]
<<if ($bowcost > $playerGold)>><<print "You don't have sufficient funds to do this."<<else if ($bowcost < $playerGold)>><<set $playerWeapon = "bow">><<set $playerGold-=($bowcost)>><<set $playerASpeed = $playerASpeed += 5>><<print "You bought a bow!">>\n<<endif>>\n\n[[Back|Town]]
<b>Name:</b> <<print $playerName>>\n<b>Gender:</b> <<print $playerGender>>\n<b>Class:</b> <<print $playerclass>>\n<b>Level:</b> <<print $playerLevel>>\n<b>Exp:</b> <<print $playerExp>> / <<print $levelExp>>\n\n<b>Weapon:</b> <<print $playerWeapon>>\n<b>Armour:</b> <<print $playerArmour>>\n<b>Gold:</b> <<print $playerGold>>\n\n<b>Stats:</b>\n<<print $playerHealth>> Health\n<<print $playerMana>> Mana\n<<print $playerPAttack>> Physical Attack\n<<print $playerMAttack>> Magic Attack\n<<print $playerDefense>> Defense\n<<print $playerASpeed>> Attack Speed\n<<print $playerAgility>> Agility\n\n[[Back|Town]]\n\n\n\n\n\n
<<if ($staffcost > $playerGold)>><<print "You don't have sufficient funds to do this."<<else if ($staffcost < $playerGold)>><<set $playerWeapon = "Staff">><<set $playerGold-=($staffcost)>><<set $playerMAttack = $playerMAttack += 5>><<print "You bought a staff!">>\n<<endif>>\n\n[[Back|Town]]
<<if ($Tuniccost > $playerGold)>><<print "You don't have sufficient funds to do this."<<else if ($Tuniccost < $playerGold)>><<set $playerArmour = "Leather Tunic">><<set $playerGold-=($Tuniccost)>><<set $playerDefense = $playerDefense += 5>><<print "You bought a Leather Tunic!">>\n<<endif>>\n\n[[Back|Town]]
[[Back|Town]]\n<<set $swordcost to 5>><<set $staffcost to 5>><<set $bowcost to 5>>\n<b>Sword</b>: A simple iron sword. +5 Physical Attack. [[Buy|Buy Sword]]\n<b>Staff</b>: A tall staff made out of oak. +5 Magic Attack. [[Buy|Buy Staff]]\n<b>Shortbow</b>: A simple bow made out of strong wood and string. +5 Attack Speed. [[Buy|Buy Bow]]
<<set $bunearscost to 5>><<set $Chainmailcost to 5>><<set $Tuniccost to 5>>\n<b>Bunny Ears</b>: A pair of fuzzy bunny ears. +5 Defense. [[Buy|Buy Bunny Ears]]\n<b>Chainmail</b>: A simple chainmail shirt, made from iron. +5 Defense. [[Buy|Buy Chainmail]]\n<b>Leather Tunic</b>: A brown tunic made from the leather of a cow's stomach. +5 Defense. [[Buy|Buy Leather Tunic]]
<<if ($bunearscost > $playerGold)>><<print "You don't have sufficient funds to do this."<<else if ($bunearscost < $playerGold)>><<set $playerArmour = "Bunny Ears">><<set $playerGold-=($bunearscost)>><<set $playerDefense = $playerDefense += 5>><<print "You bought Bunny Ears!">>\n<<endif>>\n\n[[Back|Town]]
<<if ($Chainmailcost > $playerGold)>><<print "You don't have sufficient funds to do this."<<else if ($Chainmailcost < $playerGold)>><<set $playerArmour = "Chainmail">><<set $playerGold-=($Chainmailcost)>><<set $playerDefense = $playerDefense += 5>><<print "You bought Chainmail!">>\n<<endif>>\n\n[[Back|Town]]
<<set $playerName = prompt("Please enter your name","Jack")>>\n<<set $playerGender = prompt("Are you male or female?")>>\nWelcome to Aóratos, <<print $playerName>>, a text-based browser game, in which you get decide your own fate.\n\n[[Choose your class|Class]]\n
<<set $playerclass to "Archer">>\nArchers possess quick attack speed and agility, yet lack in attack strength and defence.\n\n<b>Stats:</b>\n<<set $playerHealth to 50>>50 Health\n<<set $playerMana to 20>>20 Mana\n<<set $playerPAttack to 20>>20 Physical Attack\n<<set $playerMAttack to 20>>20 Magic Attack\n<<set $playerDefense to 20>>20 Defense\n<<set $playerASpeed to 35>>35 Attack Speed\n<<set $playerAgility to 35>>35 Agility\n<<set $playerLevel to 1>><<set $playerExp to 0>><<set $levelExp to $playerLevel * 100>><<set $playerGold to 50>><<set $playerWeapon = "Fists">><<set $playerArmour = "Shirt">>\n[[Begin|Town]]
Aóratos
Shara
<<if ($swordcost > $playerGold)>><<print "You don't have sufficient funds to do this."<<else if ($swordcost < $playerGold)>><<set $playerWeapon = "Sword">><<set $playerGold-=($swordcost)>><<set $playerPAttack = $playerPAttack +=5>><<print "You bought a sword!">>\n<<endif>>\n\n[[Back|Town]]
Pick a class.\n\n[[Archer|]]\n[[Mage|]]\n[[Warrior|]]\n
<<set $playerclass to "Mage">>\nMages have high magic attack and defense, but lack speed and agility.\n\n<b>Stats:</b>\n<<set $playerHealth to 50>>50 Health\n<<set $playerMana to 40>>40 Mana\n<<set $playerPAttack to 20>>20 Physical Attack\n<<set $playerMAttack to 35>>35 Magic Attack\n<<set $playerDefense to 25>>25 Defense\n<<set $playerASpeed to 15>>15 Attack Speed\n<<set $playerAgility to 15>>15 Agility\n<<set $playerLevel to 1>><<set $playerExp to 0>><<set $levelExp to $playerLevel * 100>><<set $playerGold = 50>><<set $playerWeapon = "Fists">><<set $playerArmour = "Shirt">>\n[[Begin|Town]]