Please, ignore this screen and scroll down...
Health
(set: $hp to 20)
(set: $hpmax to 20)
(set: $totalhpmax)
Experience
(set: $xp to 0)
(set: $xpmax to 20)
(set: $lvl to 1)
Attack
(set: $atkmin to 1)
(set: $atkmax to 3)
(set: $totalatkmin to 1)
(set: $totalatkmax to 3)
Items
(set: $c to 25)
(set: $pot to 0)
(set: $sword to 1)
(set: $armor to 1)
Bonuses
(set: $atkbonus to 0)
(set: $hpmaxbonus to 0)
Misc
(set: $day to 1)
(set: $kills to 0)
(goto: "VillageEnterLoop")Rusty Sword
(if: $sword is 1)[(if: $armor is 1)[(goto: "Rusty Sword: Rusty Armor")]]
(if: $sword is 1)[(if: $armor is 2)[(goto: "Rusty Sword: Armor")]]
(if: $sword is 1)[(if: $armor is 3)[(goto: "Rusty Sword: Perfect Armor")]]
Sword
(if: $sword is 2)[(if: $armor is 1)[(goto: "Sword: Rusty Armor")]]
(if: $sword is 2)[(if: $armor is 2)[(goto: "Sword: Armor")]]
(if: $sword is 2)[(if: $armor is 3)[(goto: "Sword: Perfect Armor"]])]]
Perfect Sword
(if: $sword is 3)[(if: $armor is 1)[(goto: "Perfect Sword: Rusty Armor")]]
(if: $sword is 3)[(if: $armor is 2)[(goto: "Perfect Sword: Armor")]]
(if: $sword is 3)[(if: $armor is 3)[(goto: "Perfect Sword: Perfect Armor")]]You have a Rusty Sword which increases your minimum damage by 0 and maximum damage by 0
You have Rusty Armor which increases your Max Health by 0
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Rusty Sword which increases your minimum damage by 0 and maximum damage by 0
You have Armor which increases your Max Health by 25
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Rusty Sword which increases your minimum damage by 30 and maximum damage by 30
You have Rusty Armor which increases your Max Health by 250
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Perfect Sword which increases your minimum damage by 30 and maximum damage by 30
You have Armor which increases your Max Health by 0
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Perfect Sword which increases your minimum damage by 30 and maximum damage by 30
You have Rusty Armor which increases your Max Health by 0
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Sword which increases your minimum damage by 3 and maximum damage by 3
You have Perfect Armor which increases your Max Health by 250
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Sword which increases your minimum damage by 3 and maximum damage by 3
You have Armor which increases your Max Health by 25
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Sword which increases your minimum damage by 3 and maximum damage by 3
You have Rusty Armor which increases your Max Health by 0
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]You have a Rusty Sword which increases your minimum damage by 0 and maximum damage by 0
You have Perfect Armor which increases your Max Health by 250
Your Atk is now $totalatkmin-$totalatkmax
Your Max Health is now $totalhpmax
[[Return to Village ->VillageEnterLoop]]
[[Shop ->Shop]]Day:$day |$win`W`|$loss`L`|$forfeit`F`|$fights`T`
You are in the Village of Sol
You are level $lvl and have $xp`XP`
You will level up when you reach $xpmax`XP`
You have $hp health
You deal $totalatkmin-$totalatkmax damage
You have $c`c` and have defeated $kill opponents
You have $pot Potions
[[Inventory]]
[[Shop]]
[[Go to the Arena ->Arena Algorithm]](set: $totalatkmin to ($atkmin + $atkbonus))
(set: $totalatkmax to ($atkmax + $atkbonus))
(set: $totalhpmax to ($hpmax + $hpbonus))
(set: $hp to $totalhpmax)
(goto: "Village")
You have $c`c`, and $pot potions
Potions:
(if: $c < 50)[Cannot Afford 1 for 50c](else:)[[[1 for 50c ->Buy 1]]]
(if: $c < 500)[Cannot Afford 10 for 500c](else:)[[[10 for 500c ->Buy 10]]]
(if: $c < 5000)[Cannot Afford 100 for 5000c](else:)[[[100 for 5000c ->Buy 100]]]
Equipment:
(if: $sword is 1)[(if: $c < 500)[Cannot Afford 500c](else:)[Upgrade Sword for [[500c ->Sword Upgrade 1]]]](if: $sword is 2)[(if: $c < 2000)[Cannot Afford 2000c](else:)[Upgrade Sword for [[2000c ->Sword Upgrade 2]]]](if: $sword is 3)[You currently have the best sword]
(if: $armor is 1)[(if: $c < 500)[Cannot Afford 500c](else:)[Upgrade Armor for [[500c ->Armor Upgrade 1]]]](if: $armor is 2)[(if: $c < 2000)[Cannot Afford 2000c](else:)[Upgrade Armor for [[2000c ->Armor Upgrade 2]]]](if: $armor is 3)[You currently have the best armor]
[[Village ->VillageEnterLoop]](set: $day to ($day + 1))(set: $hp to $totalhpmax)(set:$fights to ($win + ($loss + $forfeit)))
(goto: "VillageEnterLoop")Congratulations on your victory!
(set: $xpdrop to ($enemytier + $enemylvl))(set: $xp to ($xp + $xpdrop))
You have killed your opponent! (set: $kill to ($kill + 1))
(set: $cdrop to ($enemytier + $enemylvl))(set: $c to ($c + $cdrop))
You have earned $xpdrop`XP` and $cdrop`c`!
You now have $xp`XP` and $c`c`...
(set: $win to ($win + 1))
(if: $xp > ($xpmax - 1))[[[Level Up! ->LevelLoop]]](else:)[
[[Return to Village ->VillageReturnLoop]]](set: $lvl to ($lvl + 1))
(set: $xp to 0)
(set: $xpmax to ($xpmax + ($lvl *5)))
(set: $atkmin to ($atkmin + (random:1,3)))
(set: $atkmax to ($atkmax + (random: 4,6)))
(set: $hpmax to ($hpmax + (random: 1,30)))
(goto: "Level Up Visual") (set: $enemytier to (random: ($lvl - 1),($lvl + 1)))
(if: $enemytier is 0)[(set: $enemytier to 1)]
(set: $enemylvl to (random: ($lvl - 1),($lvl + 1)))
(if: $enemylvl is 0)[(set: $enemylvl to 1)]
(set: $enemyatkmin to (random: ($atkmin - 3),($atkmin + 3)))
(set: $enemyatkmax to (random: ($atkmax -3),($atkmax + 3)))
(if: $enemyatkmin < 1)[(set: $enemyatkmin to 1)]
(if: $enemyatkmax < 1)[(set: $enemyatkmax to 1)]
(if: $enemyatkmax < $enemyatkmin)[(set: $enemyatkmin to $enemyatkmax)]
(set: $enemyhealth to (random: ($hpmax - 10),($hpmax + 10)))
(if: $enemyhealth < 20)[(set: $enemyhealth to 20)]
(set: $gender to (either: 1,2))
(set: $race to (random: 0,4)) <---------WIP
(goto: "Arena")Welcome to the Arena
In this battle you will be fighting a level $enemylvl, Tier $enemytier (if: $gender is 1)[man](else:)[woman] from the Village of (if: $race is 0)[Sol](if: $race is 1)[Betelgeuse](if: $race is 2)[Atlas](if: $race is 3)[Sirius](if: $race is 4)[Polaris]
(if: $gender is 1)[He](else:)[She] has $enemyhealth total health
(if: $gender is 1)[He](else:)[She] deals $enemyatkmin-$enemyatkmax damage
Are you ready Contender?
[["Yes." ->Arena Fight Algorithm]]
[["No, I would like to buy Potions." ->Arena Potion Shop]]
[["No, I would like to forfeit." ->Forfeit]](set: $enemyATK to (random: ($enemyatkmin),($enemyatkmax)))
(set: $ATK to (random: ($totalatkmin),($totalatkmax)))
(set: $enemyhealth to ($enemyhealth - $ATK))(if: $enemyhealth < 1)[(goto: "Winning")](else:)[(set: $hp to ($hp - $enemyATK))(if: $hp < 1)[(goto: "Losing")](else:)[(goto: "Arena Fight Visual")]](if: $c < 50)["I'm terribly sorry (if: $plyrgen is 0)[sir](else:)[ma'am], but you dont appear to have enough coyn to purchase a potion, please [[return to the arena." ->Arena]]](else:)["Potions are [[50c ->Purchase Arena Potion]] each, (if: $plyrgen is 0)[sir](else:)[ma'am.]]
(if: $c > 499)[[[Purchase 10 Potions? ->Purchase 10 Arena]]](else:)[You can't afforrd to '10' bundle]
(if: $c > 4999)[[[Purchase 100 Potions? ->Purchase 100 Arena]]](else:)[You can't afford the '100' bundle]
[[Arena]](set: $closs to ($lvl * $lvl))(set: $c to ($c - $closs))
You wake up in the Infirmary after passing out in the Arena
(if: $c is < 0)[(set: $c to zero)](set: $loss to ($loss + 1))
You have lost $closs`c` and have $c`c` remaining
You have neither lost nor gained XP
[[Damn! ->VillageReturnLoop]](set: $pot to ($pot + 1))(set: $c to ($c - 50))(goto: "Arena Potion Shop")"Hello prospective gladiator, I am Alex Davis of the Primitive Gladiation Organization. We recently recieved a letter from you stating that you wished to be a gladiator, correct? That's great news to hear, as we have several openings in the Melee Combat Division. Before admitting you, I first need to tell you our rules.
One: Gladiatorial fights are not to the death, if you or your opponent is down, a count will begin. If they, or you, fail to get up in time, the other is the winner.
Two: You may only use the weapons and armor we provide you with. That being said, as you win battles you will earn 'XP' and Coyn, 'c'. When you 'level up' we will slightly improve your equipment for you. You can also use Coyn to purchase new weapons and armor that will boost your combat capablilities further. As you 'Level Up' you will slowly fight against stronger enemies.
Three: After each Battle you will rest back to full health, if you need to heal in a battle you can use our patented, FDA approved, Rejuvenating Serum, or 'Potion' as most people call it. You can purchase these in the Shop for 50c each.
Four: Being a gladiator is a lifelong commitement, once you are in, you can never not be a gladiator. While you can choose when you fight, you must fight at least once a month. If you don't, you will be prosecuted to the fullest extent of the law.
By sending a positive response, you are agreeing to the rules and regulations of the Primitive Gladiation Organization.
If you do not respond wthin three months, you will be considered as a 'Non-participant', and will have to be reaccepted by the board before you can join.
(Make sure to mark your gender in your response, if positive)
Sincerely, Alex L. Davis
Chairman of the P.G.O."
[[Positive Response: Male ->Gender-Male]]
[[Positive Response: Female ->Gender-Female]]
[[Negative Response ->Do Not Join]](set: $plyrgen to 0)
(goto: "Thank You")(set: $plyrgen to 1)
(goto: "Thank You")I am sorry to hear that...
...If you wish to [[reapply ->Start]], you can...Thank you for your response (if: $plyrgen is 0)[Sir,](else:)[Ma'am,]
We will send a shuttle to come pick you up within the week.
Please note that you are still free to come and go as you please, so long as you adhere to our lax rule system.
Until we arrive, please [[wait patiently. ->Pick Up]]The next day a shuttle bearing the P.G.O. logo on the side lands in the street. You climb into the small, white pod and strap in.
"Hello (if: $plyrgen is 0)[Sir,](else:)[Ma'am,] I am Sentient Autonomous Robotics subsystem 4, but you may call me SAR-4. For the next three days, I will be accompanying you on your journey to the P.G.O. space staion in the Alpha Centauri System."
You greet the A.I. as you wait for takeoff
Within moments your shuttle tears into the sky, rocketing way past the speed of light
Before you even know what's going on, Mars is a distant object on the respective horizon.
You whisper your farewell to your home, knowing that you will never return...
...Three days later, you arrive at the planet-sized P.G.O. space staion.
You step out of the shuttle, saying goodbye to SAR-4.
"Hello (if: $plyrgen is 0)[Sir,](else:)[Ma'am,]" a large man greets you, "You're the (if: $plyrgen is 0)[man](else:)[woman] from Earth, right?"
You nod your head
"Then you'll be placed in the 'Village of Sol'. Each gladiator is placed in a 'village' based on their home star. [[Right this way." ->Initial Boot]]You walk out of the Ready Room with your head down.
(set: $forfeit to ($forfeit + 1))(set: $c to ($c - 1000))
You lost 1000c for forfeiting the battle, was it worth it?
(if: $c < 0)[(set: $c to 0)]
Now you have $c`c`...
Your XP stayed the same
[[Village ->VillageReturnLoop]](set: $pot to ($pot + 10))(set: $c to ($c - 500))(goto: "Arena Potion Shop")(set: $pot to ($pot + 100))(set: $c to ($c - 5000))(goto: "Arena Potion Shop")You hit (if: $gender is 1)[Him](else:)[her] for $ATK damage
(if: $gender is 1)[He](else:)[She] hits you for $enemyATK damage
You have $hp health remaining
(if: $gender is 1)[He](else:)[She] has $enemyhealth health remaining
You have $pot potions remaining
Do you [[Fight ->Arena Fight Algorithm]], [[Flee ->Forfeit]], or [[Use Potion]]?(if: $pot > 0)[(set: $hp to $totalhpmax)(set: $pot to ($pot - 1))(goto: "UsePotion Algorithm")](else:)[(goto: "NEP")](set: $enemyATK to (random: ($enemyatkmin),($enemyatkmax)))
(set: $ATK to 0)
(set: $enemyhealth to ($enemyhealth - $ATK))(if: $enemyhealth < 1)[(goto: "Winning")](else:)[(set: $hp to ($hp - $enemyATK))(if: $hp < 1)[(goto: "Losing")](else:)[(goto: "Arena Fight Visual")]](set: $pot to ($pot + 1))(set: $c to ($c - 50))(goto: "Shop")(set: $pot to ($pot + 10))(set: $c to ($c - 500))(goto: "Shop")(set: $pot to ($pot + 100))(set: $c to ($c - 5000))(goto: "Shop")(set: $sword to 2)(set: $atkbonus to 3)(set: $c to ($c - 500))(goto: "Shop")(set: $sword to 3)(set: $atkbonus to 30)(set: $c to ($c - 2000))(goto: "Shop")(set: $armor to 2)(set: $hpbonus to 25)(set: $c to ($c - 500))(goto: "Shop")(set: $armor to 3)(set: $hpbonus to 250)(set: $c to ($c - 2000))(goto: "Shop")You have reached level $lvl
Your base attack is now $atkmin-$atkmax
Your base health is now $hpmax
You have $xpmax more XP until you level up again
[[Village ->VillageReturnLoop]](set: $enemyATK to (random: ($enemyatkmin),($enemyatkmax)))
(set: $ATK to 0)
(set: $enemyhealth to ($enemyhealth - $ATK))(if: $enemyhealth < 1)[(goto: "Winning")](else:)[(set: $hp to ($hp - $enemyATK))(if: $hp < 1)[(goto: "Losing")](else:)[(goto: "Arena Fight Visual")]]You don't have enough!
You lost a turn for using potion!
[[Oops ->UsePotion Algorithm]]