config.style.page.article: "#202020" config.style.backdrop: "#080808" config.style.page.font: "Gentium Book Basic/Sylfaen/Sitka Text/DejaVu Serif Condensed/Cambria/Times New Roman 20" config.style.page.color: "#FFFFFF on #202020" config.style.page.link.font: "underline" config.style.page.link.color: "#D9D8BC" config.style.page.link.lineColor: "#5B5531" config.style.page.link.active.color: "#FFFFFF on #363636" config.style.page.link.active.lineColor: "#FFFFFF" config.style.page.header.font: "16" config.style.page.header.link.font: "small caps" config.style.page.footer.font: "16" config.style.page.footer.link.font: "small caps" config.header.left: "Your HP: {playerhp}" config.header.right: "{opponent}'s HP: {opponenthp}" playerhp: 100 opponent: 'Troll' opponenthp: 100 wizard: true rogue: true troll: true -- [align center] #ROCK PAPER SCISSORS #ARENA [cont] This is a rock-paper-scissors combat testing story. Choose your opponent, then fight him. Your opponent is {dropdown menu for: 'opponent', choices: ['Troll', 'Rogue', 'Wizard']} [[Go to the fighting arena->Arena]]opponenthp: 100 heal: false -- [if opponent == 'Troll'] A hulking green beast covered in mud, warts and mire lumbers from the cellar! You will have to [[fight it!->Troll]] [cont] [if opponent == 'Rogue'] A dashing rogue with an elegant rapier and a feathered hat bows to you. You will have to [[fight him!->Rogue]] [cont] [if opponent == 'Wizard'] An ominous man in a hooded robe opens his arcane tome and flips a few pages. You will have to [[fight him!->Wizard]] [cont]RNG: random.d4 attack(RNG == 1): 'rock' attack(RNG == 2): 'paper' attack(RNG == 3): 'scissors' attack(RNG == 4): 'rock' -- You are fighting a fearsome troll! Troll's health is currently at {opponenthp} [if attack == 'rock'] The troll swings a heavy branch at you! [cont] [if attack == 'paper'] The troll tries to grab you! [cont] [if attack == 'scissors'] The troll swipes at you with his sharp claws! [cont] [[You choose to counter by slashing at the troll with your sword!->slashingT]] \ [[You choose to counter by bashing the troll with your shield!->bashingT]] \ [[You choose to counter by grappling!->grabbingT]] Success: (attack == 'rock' && counter == 'grabbing') || (attack == 'paper' && counter == 'slashing') || (attack == 'scissors' && counter == 'bashing') Draw: (attack == 'rock' && counter == 'bashing') || (attack == 'paper' && counter == 'grabbing') || (attack == 'scissors' && counter == 'slashing') Failure: (attack == 'rock' && counter == 'slashing') || (attack == 'paper' && counter == 'bashing') || (attack == 'scissors' && counter == 'grabbing') playerhp(Success): playerhp playerhp(Draw): playerhp -10 playerhp(Failure): playerhp -30 opponenthp(Success): opponenthp -30 opponenthp(Draw): opponenthp -10 opponenthp(Failure): opponenthp -- [if Success && attack == 'rock'] You seize the perfect moment to grab the branch from the troll's clumsy hands and strike him instead! Troll backs off in pain and confusion! [cont] [if Success && attack == 'paper'] You swing your sharp blade at the troll's warted hands just as he tries to grab you! Ichor drips from his wounded hands! [cont] [if Success && attack == 'scissors'] Against the sharp claws you rush in, your shield raised and bash the troll right in the face! His claws slide right off the shield and your strike lands at his jaw! [cont] [if Draw && attack == 'rock'] Your shield takes the brunt of the attack, but the sheer force of the branch's impact is enough to bruise you. [cont] [if Draw && attack == 'paper'] You and the troll wrestle for a while, neither of you getting the upper hand until you finally manage to disengage. Both of you count a few more scratches and bruises after the exchange. [cont] [if Draw && attack == 'scissors'] You slash at the troll's sharp claws and the arena is lit by the flashing sparks that splinter off! A few of them nick your face and hands, but those are minor scratches. Troll backs off for a moment and nurses his hand as well. [cont] [if Failure && attack == 'rock'] You dash forward in order to slash at the troll's throat, but the branch is long and he hits you first! You are flung back and your ribs creak at the heavy impact! [cont] [if Failure && attack == 'paper'] You rush in, shield raised, but the troll is ready to grab it and twist your arm painfully! Your elbow and shoulder creak with sharp pain as you tumble away! [cont] [if Failure && attack == 'scissors'] You attempt to grab the troll's swiping hands, but they are surprisingly quick and he leaves deep bloody gnashes on your body! [cont] Troll's health is now at {opponenthp} Your health is now at {playerhp} [if playerhp <= 0 && attack == 'rock'] [align center] **YOU DIED** You were smashed to a pulp by the troll's club! [cont] [if playerhp <= 0 && attack == 'paper'] [align center] **YOU DIED** You were wrangled and brutalized by the troll! [cont] [if playerhp <= 0 && attack == 'scissors'] [align center] **YOU DIED** You were torn apart by the troll's claws! [cont] [if playerhp > 0 && opponenthp <= 0] [align center] **A WINNER IS YOU!** Your blade has pierced the troll's heart! \ [[The troll is defeated!]] [cont] [if playerhp > 0 && opponenthp > 0] You recover and prowl the arena, searching for the next opportunity to [[attack the troll.->Troll]] counter: 'slashing' -- {embed passage: 'Troll2'}counter: 'bashing' -- {embed passage: 'Troll2'}counter: 'grabbing' -- {embed passage: 'Troll2'}RNG: random.d4 attack(RNG == 1): 'rock' attack(RNG == 2): 'paper' attack(RNG == 3): 'scissors' attack(RNG == 4): 'scissors' -- You are duelling a dashing rogue! Rogue's health is currently at {opponenthp} [if attack == 'rock'] The rogue gives you a kick! [cont] [if attack == 'paper'] The rogue lunges at you with his rapier! [cont] [if attack == 'scissors'] The rogue throws a handful of sand in your face! [cont] [[You choose to counter the rogue's attack with your sword!->slashingR]] \ [[You choose to counter by bashing the rogue with your shield!->bashingR]] \ [[You choose to counter by grappling!->grabbingR]] [else] RNG: random.d4 attack(RNG == 1): 'rock' attack(RNG == 2): 'paper' attack(RNG == 3): 'scissors' attack(RNG == 4): 'paper' -- You are duelling an ominous wizard! Wizard's health is currently at {opponenthp} [if attack == 'rock'] The wizard pulls a mass of rocks and soil into the air with his telekinesis and hurls it at you! [cont] [if attack == 'paper'] The wizard's tome of power lights up with purplish blue glow as the runic circles spread on the ground around him! [cont] [if attack == 'scissors'] The wizard conjures forth a gorgon head and rouses it from it's slumber! The head's snakes writhe and it's eyes slowly open... [cont] [[You choose to counter the wizard's attack with your sword!->slashingW]] \ [[You choose to counter by bashing the wizard with your shield!->bashingW]] \ [[You choose to counter by grappling!->grabbingW]] counter: 'slashing' -- {embed passage: 'Rogue2'}counter: 'bashing' -- {embed passage: 'Rogue2'}counter: 'grabbing' -- {embed passage: 'Rogue2'}Success: (attack == 'rock' && counter == 'grabbing') || (attack == 'paper' && counter == 'slashing') || (attack == 'scissors' && counter == 'bashing') Draw: (attack == 'rock' && counter == 'bashing') || (attack == 'paper' && counter == 'grabbing') || (attack == 'scissors' && counter == 'slashing') Failure: (attack == 'rock' && counter == 'slashing') || (attack == 'paper' && counter == 'bashing') || (attack == 'scissors' && counter == 'grabbing') playerhp(Success): playerhp playerhp(Draw): playerhp -10 playerhp(Failure): playerhp -30 opponenthp(Success): opponenthp -30 opponenthp(Draw): opponenthp -10 opponenthp(Failure): opponenthp -- [if Success && attack == 'rock'] The rogue kicks you, but your are ready to grab him by the shin and twist his leg before giving his knee a kick of your own! The rogue's knee creaks and he tumbles away howling in pain! [cont] [if Success && attack == 'paper'] The rogue lunges at you, but you are ready to parry his piercing attack and slash at his arm instead! Blood splatters in a wide arc after your successful counter! [cont] [if Success && attack == 'scissors'] The rogue throws a handful of sand in your face, but you are quick to duck behind your shield and rush him! A shield to the face leaves him sprawling on the ground! [cont] [if Draw && attack == 'rock'] Your shield takes the brunt of the attack, but the sheer force of the kick is enough to bruise you. The rogue was likewise knocked off balance. [cont] [if Draw && attack == 'paper'] You dodge the narrow lunge attack and grapple the rogue, but he is quick to pull out his boot knife! You manage to land a blow, but he also scratches you with a knife, so you have to disengage. [cont] [if Draw && attack == 'scissors'] With a cloud of sand in your face, you swing your blade blindly around you and even manage to fend off the rogue's sneak attack. But still he managed to nick you a little. [cont] [if Failure && attack == 'rock'] You attempt to slash at the rogue's leg as he kicks you, but he is quick to parry your sword with his free hand! A nasty kick to the groin comes through and leaves you in pain. [cont] [if Failure && attack == 'paper'] You attempt to shield the lunge and rush him, but he knew you would react this way. It was a feint! In a quick sidestepping motion the rogue dodges your shield bash and stabs you with his rapier like a toreador! [cont] [if Failure && attack == 'scissors'] You reach out to grapple the rogue, but with a cloud of sand in your face you are too slow and the rogue gives you a nasty stab with his rapier! [cont] Rogue's health is now at {opponenthp} Your health is now at {playerhp} [if playerhp <= 0 && attack == 'rock'] [align center] **YOU DIED** You fall to the ground from the rogue's kick and he finishes you off with his rapier! [cont] [if playerhp <= 0 && attack == 'paper'] [align center] **YOU DIED** The rogue's cunning lunge finds your heart, ending your life in an instant! [cont] [if playerhp <= 0 && attack == 'scissors'] [align center] **YOU DIED** The rogue blinds and backstabs you like a dishonorable coward he is! [cont] [if playerhp > 0 && opponenthp <= 0] [align center] **A WINNER IS YOU!** Your blade has pierced the rogue's heart! \ [[The rogue is defeated!]] [cont] [if playerhp > 0 && opponenthp > 0] You recover and prowl the arena, searching for the next opportunity to [[attack the rogue.->Rogue]]counter: 'slashing' -- {embed passage: 'Wizard2'}counter: 'bashing' -- {embed passage: 'Wizard2'} counter: 'grabbing' -- {embed passage: 'Wizard2'}Success: (attack == 'rock' && counter == 'grabbing') || (attack == 'paper' && counter == 'slashing') || (attack == 'scissors' && counter == 'bashing') Draw: (attack == 'rock' && counter == 'bashing') || (attack == 'paper' && counter == 'grabbing') || (attack == 'scissors' && counter == 'slashing') Failure: (attack == 'rock' && counter == 'slashing') || (attack == 'paper' && counter == 'bashing') || (attack == 'scissors' && counter == 'grabbing') playerhp(Success): playerhp playerhp(Draw): playerhp -10 playerhp(Failure): playerhp -30 opponenthp(Success): opponenthp -30 opponenthp(Draw): opponenthp -10 opponenthp(Failure): opponenthp -- [if Success && attack == 'rock'] The wizard throws a heap of soil and rocks at you, but you are ready to catch it and throw it right back! The mass collapses into separate rocks, which you promptly throw at the wizard! [cont] [if Success && attack == 'paper'] The wizard spreads runic circles around himself, but you realize that those runes can be cut by a blade! You cut through the runic barrier and stab the wizard in the gut! He grunts in pain, but closes the wound with a quick formula and blinks away. [cont] [if Success && attack == 'scissors'] The gorgon head in the wizard's hands comes alive, but you've already hidden behind a shield, ready to bash him in the face. The gorgon's eyes flash with yellow glow, but the shield reflects it back at the wizard just as you bash him in the face! [cont] [if Draw && attack == 'rock'] Your shield takes the brunt of the attack, but the sheer force of the impact is enough to bruise you. Your momentum is slowed down and your shield bash isn't as strong as you wanted. [cont] [if Draw && attack == 'paper'] The runic barriers flash all around you as you try to avoid them and grapple the wizard. Their explosions sizzle your hair and skin, but you manage to throttle the wizard's neck for a moment before he blinks away! [cont] [if Draw && attack == 'scissors'] You dash forward and slash at the wizard, but he blocks the first strike with the gorgon head, which lashes out with it's snakes at both of you. It's venom is thanfully long past gone, but you both suffer numerous scratches and punctures. [cont] [if Failure && attack == 'rock'] You attempt to slash through the heap of rocks and soil that's flying your way, only to realize that both it's halves are still gonna impact you even if you were to succeed. Which is exactly what happens. [cont] [if Failure && attack == 'paper'] You cover with your shield and rush through the runic barrier, which violently explodes and flings you away rolling to the ground. [cont] [if Failure && attack == 'scissors'] You reach out to grab the gorgon head, but it's snakes bite both of your arms (though, a small mercy is in the fact that they no longer have any venom left) and it's terrible glowing eyes flash right in your face. Your flesh petrifies momentarily, cracks and crumbles, before returning to living form - but the painful erosions remain. [cont] Wizard's health is now at {opponenthp} Your health is now at {playerhp} [if playerhp <= 0 && attack == 'rock'] [align center] **YOU DIED** The wizard crushed you with a telekinetically thrown rock! [cont] [if playerhp <= 0 && attack == 'paper'] [align center] **YOU DIED** You were incinerated by the purple flames of the wizard's runic barrier! [cont] [if playerhp <= 0 && attack == 'scissors'] [align center] **YOU DIED** The flash of gorgon's eyes turns your body to a crumbling clay sculpture! [cont] [if playerhp > 0 && opponenthp <= 0] [align center] **A WINNER IS YOU!** Your blade has pierced the wizard's heart! \ [[The wizard is defeated!]] [cont] [if playerhp > 0 && opponenthp > 0] You recover and prowl the arena, searching for the next opportunity to [[attack the wizard.->Wizard]]wizard: false heal(playerhp<100): true playerhp: playerhp+10 playerhp(playerhp>100): 100 -- [if heal==true && playerhp < 100] The Arena's priestess wipes the blood off your body with a prayer. Your pain is relieved a little. [cont] [if heal==true && playerhp==100] The Arena's priestess wipes the blood off your body with a prayer. Your body is whole again. [cont] [if rogue == true && troll == true] Your next opponent is... \ [[Rogue->Rogue3]] \ [[Troll->Troll3]] [if rogue == true && troll == false] Your next opponent is the [[Rogue->Rogue3]] [if rogue == false && troll == true] Your next opponent is the [[Troll->Troll3]] [if rogue == false && troll == false] You have defeated all three opponents at the Arena! You are the Champion! rogue: false heal(playerhp<100): true playerhp: playerhp+10 playerhp(playerhp>100): 100 -- [if heal==true && playerhp < 100] The Arena's priestess wipes the blood off your body with a prayer. Your pain is relieved a little. [cont] [if heal==true && playerhp==100] The Arena's priestess wipes the blood off your body with a prayer. Your body is whole again. [cont] [if wizard == true && troll == true] Your next opponent is... \ [[Troll->Troll3]] \ [[Wizard->Wizard3]] [if wizard == true && troll == false] Your next opponent is the [[Wizard->Wizard3]] [if wizard == false && troll == true] Your next opponent is [[Troll->Troll3]] [if wizard == false && troll == false] You have defeated all three opponents at the Arena! You are the Champion!troll: false heal(playerhp<100): true playerhp: playerhp+10 playerhp(playerhp>100): 100 -- [if heal==true && playerhp < 100] The Arena's priestess wipes the blood off your body with a prayer. Your pain is relieved a little. [cont] [if heal==true && playerhp==100] The Arena's priestess wipes the blood off your body with a prayer. Your body is whole again. [cont] [if rogue == true && wizard == true] Your next opponent is... \ [[Wizard->Wizard3]] \ [[Rogue->Rogue3]] [if rogue == true && wizard == false] Your next opponent is the [[Rogue->Rogue3]] [if rogue == false && wizard == true] Your next opponent is the [[Wizard->Wizard3]] [if rogue == false && wizard == false] You have defeated all three opponents at the Arena! You are the Champion!opponent: 'Wizard' -- {embed passage: 'Arena'}opponent: 'Rogue' -- {embed passage: 'Arena'}opponent: 'Troll' -- {embed passage: 'Arena'}