code:
:: Brothel Show

<<set $outside to 0>><<set $location to "brothel">><<effects>>
<<npc Briar>><<person1>>
<<if $brothelshowdata.type is "flirt">>
	<<startbrothelshow "flirt">>
	Briar turns to you. "We're all set and ready. Just waiting for the star. Look out for the blue cap." You walk onto the stage. A single white light turns on above you, and the din of the dark room falls quiet. You can't see beyond the edge of the stage, but you can feel the eyes on you.

	<<endevent>><<generate1>><<person1>>
	You flirt with the audience. Your eyes adjust and you just about make them out. You see a <<person>> wearing a blue cap at the front.

	"I'm so horny," you say. "I can't take it any more. I need a volunteer." Hands shoot up across the room.
	<<promiscuity4>>

	<<link [[Point at the actor|Brothel Show Flirt]]>><<set $phase to 0>><</link>>

	<<link [[Point at a customer|Brothel Show Flirt]]>><<set $phase to 1>><</link>>

<<elseif $brothelshowdata.type is "gangbang">>
	<<if $worn.upper.type.includes("school") and $worn.lower.type.includes("school")>>
		<<startbrothelshow "gangbang">>
		Briar turns and beholds you. "Cute. We're all set and ready. There's no script. Try to antagonise the audience a bit." You walk onto the stage. A single white light turns on above you, and the din of the dark room falls quiet. You can't see beyond the edge of the stage, but you can feel the eyes on you.

		"Ladies and gentlemen!" Briar's voice rings throughout the room. "Today we'll witness the tale of the school <<girl>> who wandered into the wrong part of town." Cheers and whistles erupt from the audience. "<<pShes>> at the top of <<pher>> class, but has no experience outside <<pher>> little bubble. What will become of <<phim>>, I wonder?"
		<<endevent>><<generate1>><<generate2>><<generate3>><<generate4>><<person1>>Four of Briar's other employees climb on beside you. They face each other and feign talking, pretending not to notice you and waiting for your lead.

		<<link [[Stuck-up|Brothel Show Gangbang]]>><<set $phase to 0>><</link>>

		<<link [[Lost and scared|Brothel Show Gangbang]]>><<set $phase to 1>><</link>>

	<<else>>
		Briar turns and beholds you. "We're ready. Change into your school uniform and we can begin."

		<<link [[Next|Brothel]]>><<endevent>><</link>>
	<</if>>
<<elseif $brothelshowdata.type is "pig">>
	<<startbrothelshow "pig">>
	<<endevent>>

	/* guarantees pig will be generated as a monster - regardless of monsterchance - if monsterpeople are possible and beasts are disabled; otherwise generated as usual */
	<<if $bestialitydisable is "t" and $monsterchance gte 1 and ($hallucinations gte 1 or $monsterhallucinations is "f")>>
		<<if $malechance gte random(1, 100)>>
			<<if $cbchance gte random(1, 100)>>
				<<beastNEWinit 1 pig m vagina monster>>
			<<else>>
				<<beastNEWinit 1 pig m penis monster>>
			<</if>>
		<<else>>
			<<if $dgchance gte random(1, 100)>>
				<<beastNEWinit 1 pig f penis monster>>
			<<else>>
				<<beastNEWinit 1 pig f vagina monster>>
			<</if>>
		<</if>>
	<<else>>
		<<beastNEWinit 1 pig>>
	<</if>>

	/* defaults to gangbang show if the player changed their beast settings, or has lost hallucinations since accepting the job */
	<<if $bestialitydisable is "f" or $monster is 1>>
		Briar turns to you. "We're all set and ready. Just waiting for the star." The cage beside <<nnpc_him "Briar">> shakes. "The beast is a bit worked up, but I'm sure you can handle it." You walk onto the stage. A single white light turns on above you, and the din of the dark room falls quiet. You can't see beyond the edge of the stage, but you can feel the eyes on you.

		"Ladies and gentlemen!" Briar's voice rings throughout the room. "We have a special treat for you today. The tale of a <<girl>> lost in the woods, attacked by a ravenous beast!" You hear the cage open, and the <<beasttype>> walks onto the stage. A leash is attached to <<bhis>> neck and trails behind the set. It has slack enough to reach you. The audience cheers it on.
		<<deviancy5>>

		<<link [[Next|Brothel Show Pig]]>><<set $sexstart to 1>><</link>>

	<<else>>
		"What do you mean, booked? The whole pen?! What kind of pervert..." <<nnpc_He "Briar">> trails off into a series of expletives, before finally dismissing the worker. "Unbelievable."

		<<nnpc_He "Briar">> storms onstage without so much as a glance at you. From backstage, you hear <<nnpc_his "Briar">> voice, followed by disappointed murmuring. Shortly after, Briar returns, flanked by a group of bemused stagehands. <<nnpc_He "Briar">> holds what appears to be an old school uniform.

		"Change of plans." <<nnpc_He "Briar">> shoves the uniform into your arms. "Get changed and get your ass onstage. Now."

		<<nnpc_His "Briar">> tone precludes argument. You do as you're told.

		<<undress "brothelimprov">>
		<<set $uppertemp to "init">><<upperwear 5>><<set $worn.upper.colour to either("black", "blue", "brown", "green", "pink", "purple", "red", "tangerine")>><<set $worn.upper.integrity /= 2>>
		<<set $lowertemp to "init">><<if $player.gender_appearance is "m">><<lowerwear 60>><<else>><<lowerwear 61>><</if>><<set $worn.lower.colour to either("black", "blue", "brown", "green", "pink", "purple", "red", "tangerine")>><<set $worn.lower.integrity /= 2>>

		<<link [[Next|Brothel Show Pig Improv]]>><</link>>

	<</if>>
<<elseif $brothelshowdata.type is "swarm">>
	<<startbrothelshow "swarm">>
	Briar turns to you. "We're all set and ready. Just waiting for the star."

	<<generate2>><<generate3>>
	<<if $worn.upper.name is "naked" and $worn.lower.name is "naked" and $worn.under_upper.name is "naked" and $worn.under_lower.name is "naked">>
		A <<person2>><<person>> and <<person3>><<person>> arrive on stage. They bind your hands behind your back.
		The bindings are just tight enough to restrict your movement, but not to the point of discomfort.
	<<else>>
		A <<person2>><<person>> and <<person3>><<person>> arrive on stage. They help you undress, then bind your hands behind your back.
		The bindings are just tight enough to restrict your movement, but not to the point of discomfort.
		<<undressclothes "wardrobe">>
	<</if>>
	<<bind>>
	<<legbind>>
	<<person1>>

	They lead you onto a platform and bind your hands and feet to a metal ring. Not a moment later, place four transparent walls around you and fix them in place,
	leaving you helplessly bound and trapped.

	"Ladies and gentlemen!" Briar announces to the audience. "If you're easily frightened by things that creep and crawl, I strongly advise you to exit the room."

	"For the rest of you," <<he>> exclaims in a much bolder tone. "Please witness the most exquisite show we have to offer!" The pair climb the stage, carrying a trembling box.

	"Enjoy watching the lustful shivers that our little friends can bring." <<deviancy5>>

	<<endevent>>
	<<link [[Next|Brothel Show Swarm]]>><<set $sexstart to 1>><<set $rng to random(1,100)>><</link>>
<<elseif $brothelshowdata.type is "machine">>
	<<startbrothelshow "machine">>
	<<endevent>><<generate1>><<generate2>><<person1>>
	Briar turns to you. "We're all set and ready. Just waiting for the star. Remember, the audience want to see penetration." You walk onto the stage, and stand beside the waiting table. There are fewer in the audience than usual. Briar mentioned this being a private show. A single white light turns on above you, plunging the audience into darkness.

	"Ladies and gentlemen!" Briar's voice rings throughout the room. "Today we witness a young student test <<pher>> science project. <<pShe>> hasn't realised just how successful it is." A <<person>> and <<person2>><<person>>, dressed in black bodysuits, wheel the sex machine onto the stage behind you. The phallus is dripping with lube.

	<<link [[Next|Brothel Show Machine Intro]]>><</link>>

<<elseif $brothelshowdata.type is "horse">>
	<<startbrothelshow "horse">>
	<<endevent>><<loadNPC 0 "saddled_steed">><<person1>>
	Briar turns to you. "We're all set and ready, including your friend here."

	<<if $monster is 1>>
		Your $farm.steed steed nods. "Always wanted to be a star," <<he>> laughs. "Thought I'd get there by being ridden. Not the other way around."
	<<else>>
		Your $farm.steed steed produces an eager neigh.
	<</if>>
	You take <<bhim>> by the reins, and walk onto the bright stage. There's a table in the middle, covered with pink cushions. You can't see the audience in the dark, but you can hear their astonished and eager murmurings. It sounds packed.

	"Ladies and gentlemen!" Briar announces to the audience. "Today we have a special treat. A young rider, fresh from winning a coveted trophy. It's only fitting that <<pshe>> reward the beast that gave <<phim>> victory."

	<<link [[Next|Brothel Show Horse Intro]]>><</link>>

<</if>>

:: Brothel Show Gangbang

<<set $outside to 0>><<set $location to "brothel">><<effects>>
<<if $phase is 0>>
	You put your hands on your hips. "This place stinks," you say. You stare out at the audience. "What are you lot looking at? Keep your filthy gaze away from me." The audience responds with a theatrical boo. One of Briar's other employees, a <<person1>><<person>>, walks towards you and trips, brushing against your leg on the way down. "Ew!" you exclaim. "Get away from me!" You lightly kick at <<his>> head.

	"You shouldn't treat <<him>> like that," <<person2>>says another of Briar's actors behind you. "Stop it."

	"I'll treat you scum how I want." You gesture at the audience. "That goes for all of you." The booing redoubles. The <<person1>><<person>> stands up and grabs your arms. The audience cheers. "Let go of me!" You pretend to struggle.

	"I think it's time you learnt some manners," the <<person1>><<person>> says. The four of them surround you on all sides save the one facing the audience and start groping and probing at your body. You protest as their fingers explore you, dipping between the buttons on your shirt and up your thighs beneath your $worn.lower.name.

	The audience is into it.

	"Fuck <<pher>> perfect face!"

	"Show <<phim>> who's boss!"

	"Teach <<phim>> what <<pshes>> really good for!"

	Your protests become weaker, and you instead start to moan.
	<<promiscuity5>>

	<<link [[Next|Brothel Show Gangbang Sex]]>><<set $sexstart to 1>><</link>>

<<elseif $phase is 1>>
	You adopt a frightened face and look at out at the audience. "I must have taken a wrong turn. I don't know where I am!"

	One of Briar's actors, a <<person1>><<person>>, walks up to you. "Hey little <<girl>>, you lost?" <<he>> asks. <<He>> prowls around you, leering at your body.

	"Rape <<phim>>," someone in the audience shouts.

	"Y-yes," you say. You hear the other three move closer behind you. "I'm lost and scared and all alone. Will you help me?"

	The <<person>> laughs. "Sure, we'll help." <<He>> grips your arm as someone else takes the other from behind you. The four of them start groping and probing your body. You protest as their fingers explore you, dipping between the buttons on your shirt and up your thighs beneath your $worn.lower.name. It's not long before your resistance gives way to moans of pleasure.
	<<promiscuity5>>
	<<link [[Next|Brothel Show Gangbang Sex]]>><<set $sexstart to 1>><</link>>

<</if>>

:: Brothel Show Gangbang Sex

<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<maninit>>
	<<set $enemytrust += 100>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<audience>>
<<stateman>>

<<actionsman>>
<<if $finish is 1>>
	<<link [[Next|Brothel Show Gangbang Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Brothel Show Gangbang Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Brothel Show Gangbang Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Brothel Show Gangbang Sex]]>><</link>><<nexttext>>
<</if>>

:: Brothel Show Gangbang Sex Finish
	/* Check variables before combat is reset */
	<<set _extremeshow to "f">>
	<<if $anusstate is "doublepenetrated" and $vaginastate isnot "penetrated" and $NPCList[$anustarget].penis is "anusdouble" and $NPCList[$anusdoubletarget].penis is "anusdouble">>
		<<set _extremeshow to "da">>
	<<elseif $anusstate is "doublepenetrated" and $vaginastate is "penetrated" and $NPCList[$anustarget].penis is "anusdouble" and $NPCList[$anusdoubletarget].penis is "anusdouble">>
		<<set _extremeshow to "t">>
	<<elseif $vaginastate is "doublepenetrated" and $anusstate isnot "penetrated" and $NPCList[$vaginatarget].penis is "vaginadouble" and $NPCList[$vaginadoubletarget].penis is "vaginadouble">>
		<<set _extremeshow to "dv">>
	<<elseif $vaginastate is "doublepenetrated" and $anusstate is "penetrated" and $NPCList[$vaginatarget].penis is "vaginadouble" and $NPCList[$vaginadoubletarget].penis is "vaginadouble">>
		<<set _extremeshow to "t">>
	<</if>>
<<effects>>
<<if $finish is 1>>
	The <<person1>><<person>> steadies you while the others give you space. <<endevent>><<npc Briar>><<person1>>"Why are you stopping?" Briar storms onto the stage. <<He>> glares at you, then seems to remember where <<he>> is. <<He>> smiles at the audience. "Apologies my friends, but that will be all for today." <<He>> ushers you and the others off the stage.

	<<clotheson>>
	<<endcombat>>
	<<npc Briar>><<person1>>"Unprofessional," <<he>> says once you're off the stage and out of sight. "Don't expect payment."<<llove>>
	<<npcincr Briar love -1>>

<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	<<if $phase is 0>>
	<<person1>>"Not so stuck-up now, are ya?" the <<person>> says. They leave you lying on the stage. The audience cheer and applaud as you stand and bow.
	<<else>>
	"M-more," you whimper. They leave you lying on the stage. The audience cheer and applaud as you stand and bow.
	<</if>>

	<<clotheson>>
	<<endcombat>>
	<<npc Briar>><<person1>>Briar waits for you behind the stage. "Nice work," <<he>> says.
	<<if $brothel_pig_improv is true>>
		"For a rush job, at least."
	<<elseif $phaselast is 0>>
		"Everyone likes to see a stuck-up <<girl>> get ruined like that."
	<<else>>
		"I almost believed your performance myself."
	<</if>>
	/* Double anal/vaginal/oral */
	<<if _extremeshow is "da">>

		<<He>> pauses, licking <<his>> lips thoughtfully. "Double anal, now that's real talent. The audience loved it. Keep up the great work; your elastic ass will make us both a lot of money."
		<<He>> hands you the <<moneyGain 1000>> <<he>> promised, along with a bonus <<moneyGain 200>>.<<gglove>>
		<<npcincr Briar love 2>>
	<<elseif _extremeshow is "dv">>

		<<He>> pauses, licking <<his>> lips thoughtfully. "Double pussy, now that's real talent. The audience loved it. Keep up the great work; your elastic cunt will make us both a lot of money."
		<<He>> hands you the <<moneyGain 1000>> <<he>> promised, along with a bonus <<moneyGain 200>>.<<gglove>>
		<<npcincr Briar love 2>>
	<<elseif _extremeshow is "t">>

		<<He>> beams. "Triple penetration, that's super starlet material. You had the crowd begging for more. Keep up the great work; your elastic fuck holes will make us both a lot of money."
		<<He>> hands you the <<moneyGain 1000>> <<he>> promised, along with a bonus <<moneyGain 300>>.<<gglove>>
		<<npcincr Briar love 2>>
	<<else>>
		<<He>> hands you the <<moneyGain 1000>> <<he>> promised.<<glove>>
		<<npcincr Briar love 1>>
	<</if>>

<<elseif $enemyhealth lte 0>>
	You knock the actors away from you and escape from the stage.

	<<clotheson>>
	<<endcombat>>
	<<npc Briar>><<person1>>Briar catches you as you pass. "Not so quick," <<he>> says. "Listen." You realise the audience are cheering. "That was unexpected, but they enjoyed it." <<He>> hands you the <<moneyGain 1000>> <<he>> promised.<<glove>>
	<<npcincr Briar love 1>>

<</if>>
<<endevent>>
<<if $brothel_pig_improv is true>>
	<<unset $brothel_pig_improv>>
	<<storeon "brothelimprov">>
<</if>>
You return to the dressing room.

<<link [[Next|Brothel Dressing Room]]>><</link>>

:: Brothel Show Flirt

<<set $outside to 0>><<set $location to "brothel">><<effects>>
<<if $phase is 0>>
	You invite the <<person>> up on stage. <<He>> points at <<his>> chest with a look of astonishment on <<his>> face, then clambers up.

	"T-take me now," you say. <<He>> nods, and pushes you to your knees.

	<<link [[Next|Brothel Show Flirt Sex]]>><<set $sexstart to 1>><</link>>

<<else>>
	<<endevent>>
	You invite a <<generate1>><<person1>><<person>> onto the stage. <<He>> trips on <<his>> way to the front, but manages to make it up. <<He>> waves back at someone in the audience.

	"T-take me now," you say. <<He>> paws at you with clumsy hands.

	<<link [[Next|Brothel Show Flirt Sex]]>><<set $sexstart to 1>><</link>>

<</if>>

:: Brothel Show Flirt Sex

<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<maninit>>
	<<set $enemytrust += 100>>
	<<if $phase is 0>>
		<<npcoral>>
	<</if>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<audience>>
<<stateman>>

<<actionsman>>
<<if $finish is 1>>
	<<link [[Next|Brothel Show Flirt Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Brothel Show Flirt Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Brothel Show Flirt Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Brothel Show Flirt Sex]]>><</link>><<nexttext>>
<</if>>

:: Brothel Show Flirt Sex Finish

<<effects>>

<<if $finish is 1>>

The <<person1>><<person>> steps away from you. <<endevent>><<npc Briar>><<person1>>"Why are you stopping?" Briar storms onto the stage. <<He>> glares at you, then seems to remember where <<he>> is. <<He>> smiles at the audience. "Apologies my friends, but that will be all for today." <<He>> ushers you off the stage.

<<clotheson>>
<<endcombat>>

<<npc Briar>><<person1>>"Unprofessional," <<he>> says once you're off the stage and out of sight. "Don't expect payment."<<llove>>
<<npcincr Briar love -1>>

<<elseif $enemyarousal gte $enemyarousalmax>>

<<ejaculation>>

	<<if $phase is 0>>
	<<person1>>The <<person>> waves at the audience, then jumps from the stage. The audience cheer and applaud.
	<<else>>
	<<person1>>"M-more," you whimper. They leave you lying on the stage. The audience cheer and applaud as you stand and bow.
	<</if>>

"Thank you to the fine <<if $pronoun is "m">>gentleman<<else>>lady<</if>> who joined me today," you say. "I hope you enjoyed your time here." You walk off the stage.

<<clotheson>>
<<endcombat>>

<<npc Briar>><<person1>>Briar waits for you. "Nice work," <<he>> says.

	<<if $phase is 0>>
	<<else>>
	"Try to pick the right person next time, darling," <<he>> says. "The lights are obnoxious but you should be able to see."
	<</if>>
<<He>> hands you the <<moneyGain 600>> <<he>> promised.<<glove>>
<<npcincr Briar love 1>>

<<elseif $enemyhealth lte 0>>

You knock the <<person>> away from you and escape from the stage.

<<clotheson>>
<<endcombat>>

<<npc Briar>><<person1>>Briar catches you as you pass. "Not so quick," <<he>> says. "Listen." You realise the audience are cheering. "That was unexpected, but they enjoyed it." <<He>> hands you the <<moneyGain 600>> <<he>> promised.<<glove>>
<<npcincr Briar love 1>>

<</if>>
<<endevent>>
You return to the dressing room.

<<link [[Next|Brothel Dressing Room]]>><</link>>

:: Brothel Show Pig
<<if $sexstart is 1>>
<<set $sexstart to 0>>
<<consensual>>
<<set $consensual to 1>>
<<neutral 1>>
	<<beastCombatInit>>

<<set $enemyanger += 50>><<set $enemytrust -= 40>>

<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<audience>>

<<stateman>>

<<actionsman>>

<<if $finish is 1>>
	<<link [[Next|Brothel Show Pig Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Brothel Show Pig Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Brothel Show Pig Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Brothel Show Pig]]>><</link>><<nexttext>>
<</if>>

:: Brothel Show Pig Finish
<<effects>>

<<if $finish is 1>>

The <<beasttype>> trots behind the stage as Briar storms onto it.<<endevent>><<npc Briar>><<person1>>"Why are you stopping?" <<He>> glares at you, then seems to remember where <<he>> is. <<He>> smiles at the audience. "Apologies my friends, but that will be all for today." <<He>> ushers you off the stage.

<<clotheson>>
<<endcombat>>

<<npc Briar>><<person1>>"Unprofessional," <<he>> says once you're off the stage and out of sight. "Don't expect payment."<<llove>>
<<npcincr Briar love -1>>

<<elseif $enemyarousal gte $enemyarousalmax>>
<<famebestiality 20 vid>>
<<beastejaculation>>

Someone behind the stage tugs on the leash and the <<beasttype>> walks off. <<tearful>> you climb to your feet, bow, and follow.

<<clotheson>>
<<endcombat>>

<<npc Briar>><<generate2>><<person1>>Briar waits for you. "Nice work," <<he>> says. A <<person2>><<person>> struggles to stuff the beast back in its cage beside <<person1>><<him>>. <<He>> hands you the <<moneyGain 1500>> <<he>> promised.<<glove>>
<<npcincr Briar love 1>>

<<elseif $enemyhealth lte 0>>

The <<beasttype>> runs away from you in fright. The audience cheers and you follow <<bhim>> off the stage.

Briar waits for you beside the <<beasttype>>, which hides in <<bhis>> cage.

<<clotheson>>
<<endcombat>>
<<npc Briar>><<person1>>
"They weren't expecting to see a <<girl>> fight a pig. They seemed to enjoy the spectacle." <<He>> hands you the <<moneyGain 1500>> <<he>> promised.<<glove>>
<<npcincr Briar love 1>>

<</if>>
<<endevent>>
You return to the dressing room.

<<link [[Next|Brothel Dressing Room]]>><</link>>

:: Brothel Show Pig Improv
<<set $outside to 0>><<set $location to "brothel">><<effects>>
<<set $brothel_pig_improv to true>>

"Our sincerest apologies for the delay," Briar announces to the audience. "In place of our scheduled performance, we'll witness the tale of the school <<girl>> who wandered into the wrong part of town." Cheers and whistles erupt from the audience. "<<pShes>> at the top of <<pher>> class, but has no experience outside <<pher>> little bubble. What will become of <<phim>>, I wonder?"
<<endevent>><<generate1>><<generate2>><<generate3>><<generate4>><<person1>>Four of Briar's other employees climb on beside you. They face each other and feign talking, pretending not to notice you and waiting for your lead.

<<link [[Stuck-up|Brothel Show Gangbang]]>><<set $phase to 0>><</link>>

<<link [[Lost and scared|Brothel Show Gangbang]]>><<set $phase to 1>><</link>>

:: Brothel Show Swarm
<<if $sexstart is 1>>
	<<set $cumbucket to 0>>
	<<if $rng gte 91>>
		<<set $cumbucket to 1>>
	<</if>>
	<<consensual>>
	<<set $consensual to 1>>
	<<set _swarmsType to ["eels","snakes","worms","worms","worms","maggots"]>>
	<<if $spiderdisable is "f">>
		<<run _swarmsType.push("spiders")>>
	<</if>>
	<<set $enemytype to "swarm">>
	<<set _swarmsTypeSelected to _swarmsType.pluck()>>
	<<swarminit _swarmsTypeSelected "swarm" "moving towards you" "encircle you" "steady" 4 2>>
	<<set $combat to 0>>
	<<set $timer to 20>>
	<<set $nowiggle to true>>
	Briar's goons start filling the terrarium with <<print $swarm.type>>.
	<<set $sexstart to 0>>
<</if>>
<<if $cumbucket is 1>>
	<<if $timer gte 17>>
		You see Briar pushing through the audience.
	<<elseif $timer gte 10>>
		You see Briar pushing through the audience, occasoinally stopping to address the crowd.
	<<elseif $timer gte 6>>
		Briar seems to be asking for tips for you.
	<<elseif $timer gte 3>>
		Briar continues pushing through the audience, carrying something heavy.
	<</if>>
<</if>>
<<if $timer is 16>>
	They pour more <<print $swarm.type>> into the terrarium.
	<<set $swarm.amount.active[0] += 2>>
	<<set $swarm.amount.active[4] += 2>>
<</if>>
<<if $timer is 13>>
	They pour more <<print $swarm.type>> into the terrarium.
	<<set $swarm.amount.active[0] += 2>>
	<<set $swarm.amount.active[4] += 2>>
<</if>>
<<if $timer is 9>>
	They pour more <<print $swarm.type>> into the terrarium.
	<<set $swarm.amount.active[0] += 2>>
	<<set $swarm.amount.active[4] += 2>>
<</if>>
<<if $timer is 7>>
	They pour more <<print $swarm.type>> into the terrarium.
	<<set $swarm.amount.active[0] += 2>>
	<<set $swarm.amount.active[4] += 2>>
<</if>>

<<if $timer is 1 and $cumbucket is 1>>
	The audience was very generous.  With a grinning smile, Briar empties a bucket over you.

	It's full of cum. The audience cheers.

	Even the <<print $swarm.type>> seem excited by it.
	<<drench "cum" 3 "outside">>
	<<set $cumbucket to 0>>
	<<set $timer to 6>>
	<<fertilise>>
	<<set _rng to random(5,10)>>
	<<for _i to 0; _i lt _rng; _i++>>
		<<recordVaginalSperm "pc" "Cum bucket" "human">>
	<</for>>
<</if>>

<<if $face isnot "covered">>
	<<fameexhibitionism 1>>
<</if>>

<<effects>><<swarmeffects>>
<<swarm>>
<<audience>>

<<swarmactions>>

<<if $timer lte 0>>
	<<link [[Next|Brothel Show Swarm Finish]]>><</link>><<nexttext>>
<<else>>
	<<link "Next">><><</link>><<nexttext>>
<</if>>

:: Brothel Show Swarm Finish
<<effects>>

The metal ring is remotely detached from the platform you're affixed to. The pair from earlier lift you from the terrarium by your bound hands.
You can't shake the feeling of violation, but you can't deny your arousal. <<arousal 5>>

<<unbind>>
<<set $feetuse to 0>>
<<clotheson>>
<<endcombat>>

<<npc Briar>><<generate2>><<person1>>Briar waits for you. "Nice work," <<he>> says. "Your
squirms got the crowd going. You looked right at home in that writhing mass." <<He>> hands you the <<moneyGain 1500>> <<he>> promised.
<<npcincr Briar love 5>>

<<endevent>>
You return to the dressing room, still shivering.

<<link [[Next|Brothel Dressing Room]]>><</link>>

:: Brothel Show Machine Intro
<<effects>>

You turn to the machine. "Oh gosh," you say as Briar's employees stand aside. "I'm sure to win the science fair with my new invention. Just one final test." You pretend to press a button on the side, and Briar activates the machine remotely. It shudders into life.

You let out a mock scream as a pair of silicon tentacles emerge, wrapping around your arms and pushing you onto the table.

<<if $exposed lt 2>>
The machine can't strip you, so Briar's employees rush forward to help.

"M-my clothes!" you shout as the pair expose you to the audience. "Bad machine!"
<</if>>
A red light glows from the front as it scans you. It moves its phallus in front of your <<genitals>>.

<<strip>>
<<link [[Next|Brothel Show Machine]]>><<set $sexstart to 1>><</link>>

:: Brothel Show Machine

<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<set $machine_health to 10>><<set $machine_ammo to 8>>
	<<if $player.vaginaExist and $analdisable is "f">>
		<<machine_init vaginal anal>>
		<<set $machine.vaginal.armed to 1>>
		<<set $machine.anal.armed to 1>>
	<<elseif $player.vaginaExist>>
		<<machine_init vaginal>>
		<<set $machine.vaginal.armed to 1>>
	<<else>>
		<<machine_init anal>>
		<<set $machine.anal.armed to 1>>
	<</if>>
	<<prop table>>
	<<set $phase to 0>>
<</if>>

<<effects>>

<<machine_effects>><<machine_combat>>
<<machine_state>>
<<if $phase is 0>>
	Your eyes adjusted to the light, you can make out the audience once more. They're well-dressed, and mostly seated.
	<<set $phase to 1>>

<<elseif $phase is 1 and ($penisfucked is 1 or $vaginafucked is 1 or $anusfucked is 1)>>
	The audience erupt into polite applause as the machine connects with you. You hear the clinking of glasses.
	<<set $phase to 2>>

<</if>>

<<machine_actions>>

<<if $machine.number lte 0 or $finish is 1>>
	<<link [[Next|Brothel Show Machine End]]>><</link>>
<<else>>
	<<link [[Next|Brothel Show Machine]]>><</link>>
<</if>>

:: Brothel Show Machine End
<<effects>>

<<if $anusfucked is 1 or $vaginafucked is 1 or $penisfucked is 1>>
	The audience applaud again as the machine powers down.

	Briar walks onto the stage. "Another round for our star!" You climb off the table, and bow. The applause redoubles, but remains polite. The <<person1>><<person>> and <<person2>><<person>> usher you off the stage, and hand over your clothing.

	<<clotheson>>
	<<machine_end>>

	<<npc Briar>><<person1>>
	Briar climbs off the stage. "Nice work," <<he>> says. "It didn't come with a manual, and can be unpredictable. Here's your pay."

	You've earned <<moneyGain 1500>>

<<else>>
	Sparks fly from the machine, and it falls inert. The audience break into discussion as Briar walks onto the stage. "There's been a technical fault-" The <<person1>><<person>> and <<person2>><<person>> usher you off the stage, and hand over your clothing.

	<<clotheson>>
	<<machine_end>>

	<<npc Briar>><<person1>>
	Briar climbs off the stage. "Disappointing," <<he>> says. "The damage isn't severe, but that isn't what our audience paid for. Try to give a proper show next time."

<</if>>

You return to the dressing room.

<<link [[Next|Brothel Dressing Room]]>><<endevent>><</link>>

:: Brothel Show Horse Intro
<<effects>>

"Good horsey," you say, lying on the table. "It's time for your reward."

Now closer to the audience, you can make out some of the comments.

<<if random(1, 2) is 2>>
	"There's no way <<pshes>> gonna do it.""
<<else>>
	"I can't believe it."
<</if>>

<<if random(1, 2) is 2>>
	<<if $NPCList[0].penis isnot "none">>
		"That cock's a monster."
	<<else>>
		"That pussy's a monster."
	<</if>>
<<else>>
	<<if $NPCList[0].penis isnot "none">>
		"Have you ever seen a cock that big?"
	<<else>>
		"Have you ever seen a pussy that big?"
	<</if>>
<</if>>

<<if random(1, 2) is 2>>
	"I can't wait to see this <<bitch>> get broken."
<<else>>
	"The horse will destroy this <<bitch>>. I can't wait."
<</if>>

<<if random(1, 2) is 2>>
	<<if $NPCList[0].penis isnot "none">>
		"It'll split <<phim>> in two."
	<<else>>
		"I dunno how a human could satisfy that thing."
	<</if>>
<<else>>
	<<if $NPCList[0].penis isnot "none">>
		"Do you think <<pshe>>'ll cry when it goes in?"
	<<else>>
		"<<pshes>> gonna be crushed by the weight."
	<</if>>
<</if>>

<<if random(1, 2) is 2>>
	"This is gonna be great."
<<else>>
	"I can't look away."
<</if>>

The $farm.steed steed mounts you, and the audiences' excitement reaches a fevered pitch.

<<link [[Next|Brothel Show Horse]]>><<set $sexstart to 1>><</link>>

:: Brothel Show Horse
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>
	<<farm_trust horses>>

	<<set $NPCList[0].stance to "top">>
	<<if $NPCList[0].penis isnot "none">>
		<<set $position to "doggy">>
	<<else>>
		<<set $position to "missionary">>
	<</if>>
	<<set $position_lock to 1>>
<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<audience>>

<<stateman>>

<<actionsman>>

<<if $finish is 1>>
	<<link [[Next|Brothel Show Horse Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Brothel Show Horse Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Brothel Show Horse Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Brothel Show Horse]]>><</link>><<nexttext>>
<</if>>

:: Brothel Show Horse Finish
<<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<famebestiality 30 pic>>
	<<beastejaculation>>

	The crowd erupts once again. The <<beasttype>> steps away from you, satisfied but agitated by the sudden noise. You hold <<bhis>> reins as you turn to face the crowd, still wet with lewd fluids, and bow.

	<<clotheson>>
	<<endcombat>>

	<<npc Briar>><<generate2>><<person1>>Briar waits for you behind the stage. "Nice work," <<he>> says as a <<person2>><<person>> takes the reins from your hand. Briar hands you <<moneyGain 2000>>.<<glove>>
	<<npcincr Briar love 1>>

<<elseif $enemyhealth lte 0>>

	The <<beasttype>> runs away from you in fright. The audience cheers and you follow <<bhim>> off the stage.

	The steed stands in the corner, cowed but restless, as one of Briar's goons tries to calm <<bhim>>.

	<<clotheson>>
	<<endcombat>>
	<<npc Briar>><<person1>>
	"Not what I was expecting," Briar says. "But the audience liked it, so I won't complain.  <<He>> hands you the <<moneyGain 2000>> <<he>> promised.<<glove>><<npcincr Briar love 1>>

<<else>>

	The <<beasttype>> trots behind the stage as Briar storms onto it.<<endevent>><<npc Briar>><<person1>>"Why are you stopping?" <<He>> glares at you, then seems to remember where <<he>> is. <<He>> smiles at the audience. "Apologies my friends, but that will be all for today." <<He>> ushers you off the stage.

	<<clotheson>>
	<<endcombat>>

	<<npc Briar>><<person1>>"Unprofessional," <<he>> says once you're off the stage and out of sight. "Don't expect payment."<<llove>>
	<<npcincr Briar love -1>>

<</if>>

<<endevent>>
<<generate1>><<person1>>A <<person>> leads your $farm.steed steed through a door at the back while you return to the dressing room.

<<link [[Next|Brothel Dressing Room]]>><<endevent>><</link>>


code:
:: Widgets Brothel [widget]

<<widget "startbrothelshow">>
	<<set _show to $args[0]>>
	<<if not $brothelshowdata.counts[_show]>>
		<<set $brothelshowdata.counts[_show] to 0>>
	<</if>>
	<<run $brothelshowdata.counts[_show]++>>
	<<run $brothelshowdata.counts.done++>>
	<<set $brothelshowdata.type to "none">>
	<<set $brothelshowdata.done to true>>
<</widget>>

<<widget "acceptbrothelshow">>
	<<set _show to $args[0]>>
	<<set $brothelshowdata.type to _show>>
	<<run $brothelshowdata.counts.agreed++>>
	<<if $weekday is 6>>
		<<set $brothelshowdata.done to true>>
	<</if>>
<</widget>>

<<widget "abortbrothelshow">>
	<<set $brothelshowdata.type to "none">>
	<<run $brothelshowdata.counts.agreed-->>
	<<if $weekday is 6>>
		<<set $brothelshowdata.done to false>>
	<</if>>
<</widget>>

repo_name: Area/degrees

license: mit


code:
:: Bus Station

<<set $outside to 0>><<set $location to "town">><<effects>>
You are in the bus station.
<<if $daystate is "day">>
	The main building is mostly empty, with the majority of vehicles in use.
<<elseif $daystate is "night">>
	The building is packed with parked vehicles.
<<else>>
	The main building is mostly empty, with the majority of vehicles in use.
<</if>>

<<if $smuggler_location is "bus" and $smuggler_timer is 0 and $daystate is "night" and $hour gte 18>>
	<<smugglerdifficultytext>>
<</if>>
<<if $stress gte $stressmax>>
	<<passoutstreet>>
<<else>>
	<<if $exposed gte 1>>
		<<exhibitionismbuilding>>
		<<if $daystate is "night">>
			<<set $danger to random(1, 10000)>><<set $dangerindustrial to 0>>
			<<if $danger gte (9900 - ($allure)) and $eventskip is 0>>
				<<set $dangerindustrial to random(1, 100)>>
				<<if $dangerindustrial gte 1>>
					<<busstationex1>>
				<</if>>
			<<else>>
				<<if $smuggler_location is "bus" and $smuggler_timer is 0 and $hour gte 18>>
					<<smugglerdifficultyactions>>
				<</if>>

				<<link [[Harvest Street (0:02)->Bus Station Front Door]]>><<pass 2>><</link>>

				<<link [[Leave via back door (0:02)|Industrial alleyways]]>><<pass 2>><</link>>

			<</if>>
		<<else>>
			<<set $danger to random(1, 10000)>><<set $dangerindustrial to 0>>
			<<if $danger gte (9900 - ($allure * 2)) and $eventskip is 0>>
				<<set $dangerindustrial to random(1, 100)>>
				<<if $dangerindustrial gte 1>>
					<<busstationex1>>
				<</if>>
			<<else>>
				<<link [[Leave via back door (0:02)|Bus Station Back Door]]>><<pass 2>><</link>>

			<</if>>
		<</if>>
	<<else>>
		/*A van is parked in the corner. Its back doors are open and the engine is on, but there's no one around.

		<<link [[Investigate the van|Bus Station Livestock]]>><</link>> | Dangerous

*/
		<<if $daystate is "night">>
			<<if $smuggler_location is "bus" and $smuggler_timer is 0>>
				<<smugglerdifficultyactions>>
			<</if>>

			<<link [[Harvest Street (0:02)->Bus Station Front Door]]>><<pass 2>><</link>>

			<<link [[Leave via back door (0:02)|Bus Station Back Door]]>><<pass 2>><</link>>

		<<else>>
			<<link [[Harvest Street (0:02)->Harvest Street]]>><<pass 2>><</link>>

			<<link [[Leave via back door (0:02)|Bus Station Back Door]]>><<pass 2>><</link>>

		<</if>>
	<</if>>
<</if>>
<<set $eventskip to 0>>

:: Bus Station Livestock
<<effects>>
/*
<<generate1>><<person1>>
You approach the van, and peer inside. A rush of footsteps is all the warning you're given. A pair of arms shove you forward.

You tumble onto the van floor. You turn just in time to see a <<person>> slam the doors shut.

You try to open the doors, but they're locked. You look around, but see no other way out. The van rumbles into motion.

<<link [[Next|Street Van Journey]]>><</link>>

*/

You approach the van. A girl in a white dress tinkers at the engine. She looks up as you approach, and pulls her long brown hair away from her eyes.

"Hi there," she says. "No need to take this old thing to cow jail anymore. There are lots of other ways there now, so it's being repurposed. Come back when there's another new area, and it might take you there instead."

A tall blonde girl in a crisp black outfit walks around the bonnet, and slashes one of the tires. The other girl looks bemused.

<<link [[Leave|Bus Station]]>><<endevent>><</link>>

:: Bus Station Front Door

<<set $outside to 0>><<effects>><<set $lock to 100>>
<<if $skulduggery gte $lock>>
	The lock looks easy to pick.

	<<link [[Pick it (0:10)|Harvest Street]]>><<pass 10>><<crimeup 1>><</link>><<crime>>

<<else>>
	The lock looks beyond your ability to pick.<<skulduggeryrequired>>

<</if>>
<<link [[Leave|Bus Station]]>><</link>>

:: Bus Station Back Door

<<set $outside to 0>><<effects>><<set $lock to 0>>
<<if $skulduggery gte $lock>>
	The lock looks easy to pick.

	<<link [[Pick it (0:10)|Industrial alleyways]]>><<pass 10>><<crimeup 1>><</link>><<crime>>

<<else>>
	The lock looks beyond your ability to pick.<<skulduggeryrequired>>

<</if>>
<<link [[Leave|Bus Station]]>><</link>>

:: Bus Station Entrance

<<set $outside to 0>><<effects>><<set $lock to 100>>
<<if $skulduggery gte $lock>>
	The lock looks easy to pick.

	<<link [[Pick it (0:10)|Bus Station]]>><<pass 10>><<crimeup 1>><</link>><<crime>>

<<else>>
	The lock looks beyond your ability to pick.<<skulduggeryrequired>>

<</if>>
<<link [[Leave|Harvest Street]]>><</link>>

:: Bus Station Back Entrance

<<set $outside to 0>><<effects>><<set $lock to 0>>
<<if $skulduggery gte $lock>>
	The lock looks easy to pick.

	<<link [[Pick it (0:10)|Bus Station]]>><<pass 10>><<crimeup 1>><</link>><<crime>>

<<else>>
	The lock looks beyond your ability to pick.<<skulduggeryrequired>>

<</if>>
<<link [[Leave|Industrial alleyways]]>><</link>>

:: Widgets Bus Station Ex [widget]

<<widget "busstationex1">>
	<<generate1>><<generate2>>
	<<person1>>You are crouching behind a parked bus when you are accosted from behind!

	<<link [[Next|Molestation Bus Station]]>><<set $molestationstart to 1>><</link>>
<</widget>>

:: Molestation Bus Station

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<stateman>>

<<actionsman>>
<<if $alarm is 1>>

	No one comes to your aid.
	<<set $alarm to 0>>
	<<if $drugged gte 1>>The drugs inhibit you, you couldn't cry very convincingly.<</if>>

	<<if $enemyarousal gte $enemyarousalmax>>
		<<link [[Next->Bus Station Ejaculation]]>><</link>><<nexttext>>
	<<elseif $enemyhealth lte 0>>
		<<link [[Next->Bus Station Escape]]>><</link>><<nexttext>>
	<<else>>
		<<link [[Next->Molestation Bus Station]]>><</link>><<nexttext>>
	<</if>>

<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next->Bus Station Ejaculation]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next->Bus Station Escape]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next->Molestation Bus Station]]>><</link>><<nexttext>>
<</if>>

:: Bus Station Ejaculation

<<ejaculation>>
<<if $enemyanger gte ($enemyangermax / 5) * 3>>
	They give you one last smack to the face, then leave you lying broken on the ground.
	<<violence 3>>

<<elseif $enemyanger gte 1>>
	Without a word, they leave you lying broken on the ground.

<<else>>
	Smiling, <<person>> kisses you on the cheek. "This is for you." They get up and leave you lying broken on the ground.

	You've gained <<moneyGain 5>>.

<</if>>
<<underlowersteal>>
<<tearful>> you rise to your feet.
<<clotheson>>
<<endcombat>>
<<set $eventskip to 1>>
[[Next|Bus Station]]

:: Bus Station Escape

<<effects>>
<<He>> recoils in pain, giving you the chance you need to escape. <<tearful>> you escape through the back door, which is fortunately open.

<<clotheson>>
<<endcombat>>
<<industrialeventend>>


code:
:: Bus
<<set $outside to 0>><<effects>>

You climb aboard the bus. Tickets cost £1.

<<if $money gte 100>>

Residential

<<domusicon>><<link [[Buy a ticket to Domus Street (Home)|Bus seat]]>><<set $bus to "domus">><<set $money -= 100>><</link>>

<<barbicon>><<link [[Buy a ticket to Barb Street (Studio)|Bus seat]]>><<set $bus to "barb">><<set $money -= 100>><</link>>

<<danubeicon>><<link [[Buy a ticket to Danube Street (Mansions)|Bus seat]]>><<set $bus to "danube">><<set $money -= 100>><</link>>

<<wolficon>><<link [[Buy a ticket to Wolf Street (Temple)|Bus seat]]>><<set $bus to "wolf">><<set $money -= 100>><</link>>

Commercial

<<highicon>><<link [[Buy a ticket to High Street (Shopping centre)|Bus seat]]>><<set $bus to "high">><<set $money -= 100>><</link>>

<<connudatusicon>><<link [[Buy a ticket to Connudatus Street (Clubs)|Bus seat]]>><<set $bus to "connudatus">><<set $money -= 100>><</link>>

<<clifficon>><<link [[Buy a ticket to Cliff Street (Cafe)|Bus seat]]>><<set $bus to "cliff">><<set $money -= 100>><</link>>

<<nightingaleicon>><<link [[Buy a ticket to Nightingale Street (Hospital)|Bus seat]]>><<set $bus to "nightingale">><<set $money -= 100>><</link>>

<<starfishicon>><<link [[Buy a ticket to Starfish Street (Beach)|Bus seat]]>><<set $bus to "starfish">><<set $money -= 100>><</link>>

<<oxfordicon>><<link [[Buy a ticket to Oxford Street (School)|Bus seat]]>><<set $bus to "oxford">><<set $money -= 100>><</link>>

Industrial

<<elkicon>><<link [[Buy a ticket to Elk Street|Bus seat]]>><<set $bus to "elk">><<set $money -= 100>><</link>>

<<mericon>><<link [[Buy a ticket to Mer Street (Docks)|Bus seat]]>><<set $bus to "mer">><<set $money -= 100>><</link>>

<<harvesticon>><<link [[Buy a ticket to Harvest Street (Pub)|Bus seat]]>><<set $bus to "harvest">><<set $money -= 100>><</link>>

<<else>>

You cannot afford the fare.

<</if>>

Get off

<<destination>>

:: Bus seat

<<set $outside to 0>><<effects>>
<<if $weekday isnot 1 and $weekday isnot 7 and $hour gte 7 and $hour lte 8 and $schoolday is 1>>
	Your bus is crowded with students on their way to school.
<<elseif $weekday isnot 1 and $weekday isnot 7 and $hour is 15 and $schoolday is 1>>
	Your bus is crowded with students on their way home from school.
<</if>>
<<if $weather is "rain">>
	Rain thuds against the windowpanes.
<</if>>
You take a seat and look out the window.

<<if $stress gte $stressmax>>
	<<passoutbus>>
<<else>>
	<<set $dangerbus to 0>>
	<<set $danger to random(1, 10000)>>
	<<if $danger gte (9900 - $allure)>><<set $dangerbus to random(1, 2)>>
		<<if $wraith and $wraith.hunt and ($moonstate is "evening" and $hour gte 21 or $moonstate is "morning" and $hour lt 6) and $dangerbus is 1>>
		You gaze out the window at the scenery, all bathed in red moonlight. You notice an unusually pale person stop and look at you through the window.

		Less than a minute passes, and you see it again on the other side of the road. Then at the next stop. You blink, and it's gone.

		You look over your shoulder. It's sitting in the back of the bus.

		The bus arrives at your destination, and you scramble from your seat. <<stress 12>><<ggstress>>

		<<set $wraith.hunt++>>
		<<destination5>>
		<<elseif $dangerbus is 1>>
			<<generate1>>A <<person1>><<person>> sits down next to you and rests a hand on your leg.

			<<if $rng gte 61>>
				<<link [[Move|Bus move]]>><<set $molestationstart to 1>><</link>><<gharass>>

			<<else>>
				<<link [[Move|Bus move Safe]]>><</link>><<gharass>>

			<</if>>
			<<if $rng gte 81>>
				<<link [[Don't move|Bus endure]]>><<set $molestationstart to 1>><</link>><<gtrauma>><<gstress>>

			<<else>>
				<<link [[Don't move|Bus endure safe]]>><<trauma 6>><<stress 6>><</link>><<gtrauma>><<gstress>>

			<</if>>
		<<elseif $dangerbus is 2>>
			<<if $weekday isnot 1 and $weekday isnot 7 and $hour gte 7 and $hour lte 8 and $schoolday is 1>>
				Some delinquents are picking on the less popular students.

				<<if $cool lt 80>>
					<<generatey1>><<generatey2>><<generatey3>><<person1>>One of them, a <<person>>, sits beside you. Two of <<his>> friends, a <<person2>><<person>> and <<person3>><<person>>, sit in front of you and lean over the backs of their seats.

					"We didn't say you could use our bus," says the <<person1>><<person>>.

					"<<pShes>> probably too stupid to know any better," the <<person2>><<person>> interjects.

					<<if $player.gender_appearance is "m" and $worn.upper.type.includes("naked")>>
						"Probably. <<pShe>> even forgot <<pher>> shirt."

						"Or maybe <<pshe>> doesn't like wearing clothes at all. Maybe <<pshe>> would like our help removing them."

						<<if $submissive lte 850>>
							"Fuck off," you say, determined not to be bullied.

						<<elseif $submissive gte 1150>>
							You look at your lap and shake your head.

						<<else>>
							"Leave me alone," you say.

						<</if>>
						"I insist," says the <<person1>><<person>>, grabbing your $worn.lower.name.

						<<link [[Next|Bus School Strip]]>><<set $molestationstart to 1>><</link>>

					<<else>>
						The <<person3>><<person>> grins at you. "I know," <<he>> says. "How about you <<pullup>> your $worn.upper.name? Let's see some skin."

						<<link [[Comply|Bus Comply]]>><<trauma 6>><<stress 6>><<set $submissive += 1>><</link>><<gtrauma>><<gstress>>

						<<link [[Refuse|Bus Refuse]]>><<set $submissive -= 1>><</link>>

					<</if>>
				<<else>>
					Your bus arrives at your destination.

					<<destination5>>
				<</if>>
			<<elseif $weekday isnot 1 and $weekday isnot 7 and $hour is 15 and $schoolday is 1>>
				Some delinquents are picking on the less popular students.

				<<if $cool lt 80>>
					<<generatey1>><<generatey2>><<generatey3>><<person1>>One of them, a <<person>>, sits beside you. Two of <<his>> friends, a <<person2>><<person>> and <<person3>><<person>>, sit in front of you and lean over the backs of their seats.

					"We didn't say you could use our bus," says the <<person1>><<person>>.

					"<<pShes>> probably too stupid to know any better," the <<person2>><<person>> interjects.

					<<if $player.gender_appearance is "m" and $worn.upper.type.includes("naked")>>
						"Probably. <<pShe>> even forgot <<pher>> shirt."

						"Or maybe <<pshe>> doesn't like wearing clothes at all. Maybe <<pshe>> would like our help removing them."

						<<if $submissive lte 850>>
							"Fuck off," you say, determined to not be bullied.

						<<elseif $submissive gte 1150>>
							You look at your lap and shake your head.

						<<else>>
							"Leave me alone," you say.

						<</if>>
						"I insist," says the <<person1>><<person>>, grabbing your $worn.lower.name.

						<<link [[Next|Bus School Strip]]>><<set $molestationstart to 1>><</link>>

					<<else>>
						The <<person3>><<person>> grins at you. "I know," <<he>> says. "How about you <<pullup>> your $worn.upper.name? Let's see some skin."

						<<link [[Comply|Bus Comply]]>><<trauma 6>><<stress 6>><<set $submissive += 1>><</link>><<gtrauma>><<gstress>>

						<<link [[Refuse|Bus Refuse]]>><<set $submissive -= 1>><</link>>

					<</if>>
				<<else>>
					Your bus arrives at your destination.

					<<destination5>>
				<</if>>
			<<else>>
				<<generate1>><<generate2>>The <<people>> in the bus seem to be crowding around you. Some even move seats to be closer.

				<<if $daystate is "night">>
					The bus approaches your destination but doesn't slow down. You stand to tell the driver, but a <<person1>><<person>> blocks your path. "Going so soon?" A <<person2>><<person>> grabs you from behind. "You should know better than to wander at night."

					<<link [[Next|Bus Seat Rape]]>><<set $molestationstart to 1>><</link>>

				<<else>>
					The bus arrives at your destination. As you walk down the aisle a <<person1>><<person>> grabs your arm. "Don't leave yet, we need some company," <<he>> says as you struggle free. <<catcall>> They laugh as you leave the bus.
					<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

					<<endevent>>
					<<destination5>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
		Your bus arrives at your destination.

		<<destination5>>
	<</if>>
<</if>>

:: Stripped Bus

<<effects>>
You feel strangely cold as you awaken. You are still on the bus. You are about to stand up when you realise that you are completely naked! You frantically search for your clothing, but can find nothing.<<controlloss>>

You cautiously look around the bus. No one seems to have noticed your predicament.

<<if $daystate is "night">>
	It's dark out and there are only a few people on the streets. You might be able to slip out the window at the next stop. Alternatively, you could hide under a seat and wait until the bus returns to the station.

	<<link [[Climb out (0:05)|Climb Out Bus]]>><<pass 5>><</link>>

	<<link [[Wait (1:00)|Bus Station]]>><<pass 1 hour>><</link>>

<<else>>
	You peek out the window and see numerous pedestrians. You can't think of any option other than hiding under a seat and waiting until the bus returns to station.

	<<link [[Wait (1:00)|Bus Station]]>><<pass 1 hour>><</link>>

<</if>>

:: Molestation bus

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<generate1>><<molestbusinit>>You feel something probing your nethers. As you open your eyes a hand clasps down on your mouth, muffling your screams.

<</if>>
<<effects>>
<<effectsman>><<man>>
<<stateman>>

<<actionsman>>
<<if $alarm is 1>>
	<<if $rescue is 1>>
		<<link [[Next->Molestation bus Alarm]]>><</link>><<nexttext>>
	<<else>>
		No one comes to your aid.
		<<set $alarm to 0>>
		There's no one else on the bus.
		<<if $drugged gte 1>>The drugs inhibit you, you couldn't cry very convincingly.<</if>>

		<<if $enemyarousal gte $enemyarousalmax>>
			<<link [[Next->Molestation bus Ejaculation]]>><</link>><<nexttext>>
		<<elseif $enemyhealth lte 0>>
			<<link [[Next->Molestation bus Escape]]>><</link>><<nexttext>>
		<<else>>
			<<link [[Next->Molestation bus]]>><</link>><<nexttext>>
		<</if>>
	<</if>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next->Molestation bus Ejaculation]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next->Molestation bus Escape]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next->Molestation bus]]>><</link>><<nexttext>>
<</if>>

:: Stranger rescue bus

<<effects>><<pass 1 hour>><<set $hunger -= 500>><<set $thirst -= 500>><<set $stress -= 500>>
You feel someone shaking your shoulder. You look around and see an old woman smiling at you. She pours you a cup of tea from a flask and gives you a chocolate bar, letting you know that it's important to not let your blood-sugar levels drop too low. You thank her and shortly after the bus arrives at your destination.

She waves from the window as the bus continues on.

<<destination>>
<<displayLinks>>

:: Bus move

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>>As you try to pass <<he>> grabs your waist and forces you onto <<his>> lap.

	<<enable_rescue>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<stateman>>

<<actionsman>>
<<if $alarm is 1>>
	<<if $rescue is 1>>
		<<link [[Next->Bus move Alarm]]>><</link>><<nexttext>>
	<<else>>
		No one comes to your aid.
		<<set $alarm to 0>>
		<<if $drugged gte 1>>The drugs inhibit you, you couldn't cry very convincingly.<</if>>

		<<if $enemyarousal gte $enemyarousalmax>>
			<<link [[Next->Bus move Ejaculation]]>><</link>><<nexttext>>
		<<elseif $enemyhealth lte 0>>
			<<link [[Next->Bus move Escape]]>><</link>><<nexttext>>
		<<else>>
			<<link [[Next->Bus move]]>><</link>><<nexttext>>
		<</if>>
	<</if>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next->Bus move Ejaculation]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next->Bus move Escape]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next->Bus move]]>><</link>><<nexttext>>
<</if>>

:: Bus move Safe

<<set $outside to 0>><<effects>>
You stand up and shuffle past the <<person>>, who doesn't stop you.

The bus soon arrives at your destination.

<<endevent>>
<<destination5>>

:: Bus endure safe

<<set $outside to 0>><<effects>>
You remain seated. The <<persons>> hand moves to your inner thigh. <<He>> creeps closer to your crotch over the next couple of minutes, but stops when the bus arrives at <<his>> destination. It arrives at yours soon after.

<<endevent>>
<<destination5>>

:: Bus Comply

<<set $outside to 0>><<effects>>
You feel their hungry eyes as you <<pullup>> your $worn.upper.name, revealing your <<undertop>>.
<<if $player.gender_appearance is "m">>
	"Don't be shy," says the <<person1>><<person>> as <<he>> reaches out and pinches your right nipple.
<<elseif $player.perceived_breastsize is 0>>
	"You call those pathetic things breasts?" says the <<person1>><<person>> as <<he>> reaches out and pinches your right nipple.
	<<insecurity "breasts_tiny" 5>><<ginsecurity "breasts_tiny">>
<<elseif $player.perceived_breastsize lte 5>>
	"You call those little things breasts?" says the <<person1>><<person>> as <<he>> reaches out and pinches your right nipple.
	<<insecurity "breasts_small" 5>><<ginsecurity "breasts_small">>
<<elseif $player.perceived_breastsize lte 7>>
	"I knew you had nice boobs," says the <<person1>><<person>> as <<he>> reaches out and squeezes your right breast.
	<<if $player.gender is "m">><<insecurity "breasts_big" 5>><<ginsecurity "breasts_big">><</if>>
<<else>>
	"Look at the size of them," says the <<person1>><<person>> as <<he>> reaches out and squeezes your right breast.
	<<insecurity "breasts_big" 5>><<ginsecurity "breasts_big">>
<</if>>
The other two join in bullying your exposed chest. Trapped in the corner, you can do nothing but endure and hope no one else can see your humiliation.

After several minutes the bus stop and the <<person2>><<person>> pokes the <<person1>><<person>>. "We need to get off here." They give your <<breasts>> one last slap before leaving. The bus arrives at your destination soon after.

<<set $pain += 30>>
<<endevent>>
<<destination5>>

:: Bus Refuse

<<set $outside to 0>><<effects>>
<<if $submissive lte 850>>
	"Fuck off," you say, determined to not be bullied.

<<elseif $submissive gte 1150>>
	You look at your lap and shake your head.

<<else>>
	"Leave me alone," you say.

<</if>>
"I insist," says the <<person1>><<person>>, grabbing your $worn.upper.name.

<<link [[Next|Bus School Strip]]>><<set $molestationstart to 1>><</link>>

:: Bus School Strip

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>><<npcstrip>><<npcidlegenitals>>
	<<set $timer to 15>>
	<<if $delinquency lt 400>><<enable_rescue>><</if>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	No one comes to your aid, likely due to your reputation as a delinquent.

<</if>>
<<stateman>>

<<actionsman>>
<<if $timer lte 1>>
	<<link [[Next|Bus School Strip Finish]]>><</link>><<nexttext>>
<<elseif $alarm is 1 and $rescue is 1>>
	<<link [[Next|Bus School Strip Finish]]>><</link>><<nexttext>>
<<elseif $worn.upper.type.includes("naked") and $worn.lower.type.includes("naked") and $worn.under_lower.type.includes("naked")>>
	<<link [[Next|Bus School Strip Finish]]>><</link>><<nexttext>>
<<elseif $worn.upper.type.includes("naked") and $worn.lower.type.includes("naked") and $worn.genitals.type.includes("chastity")>>
	<<link [[Next|Bus School Strip Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Bus School Strip Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Bus School Strip Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Bus School Strip]]>><</link>><<nexttext>>
<</if>>

:: Bus School Strip Finish

<<if $enemyhealth lte 0>>
	The <<person1>><<person>> falls back into the aisle and the other two pull away from you. "Come on," <<he>> says. "This psycho isn't worth it."

	<<clotheson>>
	<<endcombat>>
	The bus soon arrives at your destination.

	<<destination5>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	"You're good for something at least." <<tearful>> you gather yourself. The three of them find someone else to harass.

	<<clotheson>>
	<<endcombat>>
	The bus soon arrives at your destination.

	<<destination5>>
<<elseif $alarm is 1 and $rescue is 1>>
	"Stop the tomfoolery back there, or I'll come sort you out," says the <<generate4>><<person4>><<person>> driving the bus. The trio relent in their attack.

	<<clotheson>>
	<<endcombat>>
	The bus soon arrives at your destination.

	<<destination5>>
<<elseif $timer lte 0>>
	The bus pulls to a stop. "We need to get off here," says the <<person2>><<person>>.
	<<if $upperoff is 0 and $loweroff is 0 and $underloweroff is 0 and $underupperoff is 0>>
	<<else>>
		They leave the bus, taking your clothes with them.
		<<set $stealtextskip to 1>>
		<<stealclothes>>
	<</if>>
	<<if $exposed gte 1>>
		<<clotheson>>
		<<endcombat>>
		<<tearful>> you sink into your seat to avoid being seen.

		You'll arrive at your destination soon, but you can't leave like this. The bus must return to the station at some point.

		<<link [[Ask someone for help|Bus School Strip Help]]>><<trauma 6>><<stress 6>><</link>><<gtrauma>><<gstress>>

		<<link [[Wait (1:00)|Bus Station]]>><<pass 1 hour>><</link>>
	<<else>>
		<<tearful>> you settle back into your seat.

		<<clotheson>>
		<<endcombat>>
		The bus soon arrives at your destination.

		<<destination5>>
	<</if>>
<<else>>
	"Much better," says the <<person1>><<person>>. "Now everyone can see you." The bus comes to a halt. "That's our stop. See you later, slut." They take your clothes with them.

	<<set $stealtextskip to 1>>
	<<stealclothes>>
	<<clotheson>>
	<<endcombat>>
	<<tearful>> you sink into your seat to avoid being seen.

	You'll arrive at your destination soon, but you can't leave like this. The bus must return to the station at some point.

	<<link [[Ask someone for help|Bus School Strip Help]]>><<trauma 6>><<stress 6>><</link>><<gtrauma>><<gstress>>

	<<link [[Wait (1:00)|Bus Station]]>><<pass 1 hour>><</link>>
<</if>>

:: Bus School Strip Help

<<set $outside to 0>><<effects>>
Keeping low, you shuffle into the aisle and poke a <<generatey1>><<person1>><<person>> in the arm and return to your seat. <<He>> looks over <<his>> shoulder.
<<if $submissive gte 1150>>
	"I-I need some towels. Please help," you say, unable to make eye contact.
<<elseif $submissive lte 850>>
	"Gimme some towels. Quickly," you demand.
<<else>>
	"Do you have any towels I can cover up with?" you ask.
<</if>>

<<if $rng gte 81>>
	"Why would you-" <<he>> begins before realising your predicament and smiling. "I'll help, but I want a look at you first."

	<<if $submissive gte 1150>>
		"Please don't make me,"
	<<elseif $submissive lte 850>>
		"Fuck off,"
	<<else>>
		"Don't be a pervert,"
	<</if>>
	you say, but <<he>> moves to the seat opposite you. <<covered>>

	<<if $leftarm is "bound" and $rightarm is "bound">>
		<<He>> laughs. "I was right. Now turn around so I can see you properly.
	<<else>>
		<<He>> laughs. "I was right. Move your hands so I can see you properly.
	<</if>>
	If you don't, I'll let the rest of the bus know and we can all get a look."

	<<link [[Comply|Bus School Strip Comply]]>><><<trauma 6>><<stress 6>><<fameexhibitionism 1>><</link>>

	<<link [[Refuse|Bus School Strip Refuse]]>><<detention 1>><<def 1>><<trauma 6>><<stress 6>><</link>><<gdelinquency>>

<<else>>
	"Why would you-" <<he>> says, before blushing in realisation. <<He>> rummages in <<his>> back and throws some towels at you.

	<<towelup>>
	<<endevent>>
	The bus soon arrives at your destination.

	<<destination5>>
<</if>>

:: Bus School Strip Comply

<<set $outside to 0>><<effects>>
<<if $leftarm is "bound" and $rightarm is "bound">>
	You turn your body, baring your <<lewdness>> to the <<person>>.
<<else>>
	You move your arms out of the way, baring your <<lewdness>> to the <<person>>.
<</if>>
<<He>> stares at you with hungry eyes and reaches out, but you recoil from <<his>> hand. <<He>> doesn't continue, thinking <<hes>> pushed <<his>> luck far enough.

"Here you go," <<he>> says as <<he>> throws you some towels. "That wasn't so bad, was it?" <<He>> returns to <<his>> seat.

<<towelup>>
<<endevent>>
The bus soon arrives at your destination.

<<destination5>>

:: Bus School Strip Refuse

<<set $outside to 0>><<effects>>
<<fameexhibitionism 20>>
<<He>> stands up. "Everyone, this <<girl>> isn't wearing anything!" <<he>> bellows, causing heads all over the bus to turn your way. You shrink in your seat, but it only inflames curiosity in your new audience. "Come have a look!"

A <<generatey2>><<person2>><<person>> leans over the seat behind you. <<person1>>"<<Hes>> not lying. Come look." You're fortunate than none have the daring to assault you further, but the rest of the journey is miserable as they crowd and jeer.

<<generate3>><<person3>>The bus comes to a stop at your destination and the driver climbs out of <<his>> seat. "Everyone away from <<phim>>, now." The students start shuffling off the bus with some reluctance, lingering as long as they can. The driver, a <<person>>, throws you some towels. "I don't ever want to catch you slutting up my bus again. I'm letting the teachers know."

There's not much to do but cover up and leave the bus.

<<towelup>>
<<endevent>>
<<destination5>>

:: Bus Seat Rape

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>>
	<<set $enemyanger += 40>>
	<<set $enemytrust -= 40>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<audience>>
<<stateman>>

<<actionsman>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Bus Seat Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Bus Seat Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Bus Seat Rape]]>><</link>><<nexttext>>
<</if>>

:: Bus Seat Rape Finish

<<if $enemyhealth lte 0>>
	You knock the <<person1>><<person>> down, giving you a clear route out. <<tearful>> you run to the front of the bus.
	<<if $submissive lte 850>>
		"Let me off or I'll mess you up too," you say,
	<<elseif $submissive gte 1150>>
		"Please stop the bus," you say,
	<<else>>
		"Let me off!" you say,
	<</if>>
	aware that the <<person>> and <<his>> friends won't take long to recover. The driver doesn't respond.

	You open the door and look out at the town racing by. Jumping would be dangerous. You glance back at the <<people>> coming for you. You don't have long.

	<<link [[Jump|Bus Seat Rape Jump]]>><</link>>

	<<if $submissive lte 500>>
		<<link [[Punch the driver|Bus Seat Rape Punch]]>><<crimeup 100>><</link>><<crime>>

	<</if>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	The bus stops and the group push you towards the door. They shove you out and ride away, jeering at you through the windows.
	<<if $upperoff is 0 and $loweroff is 0 and $underloweroff is 0 and $underupperoff is 0>>
	<<else>>
		They kept your clothes.
	<</if>>
	<<if $exposed gte 1>>
		<<tearful>> you hide behind a car before you're seen.

	<<else>>
		<<tearful>> you try to work out where you are.

	<</if>>
	<<set $stealtextskip to 1>>
	<<stealclothes>>
	<<clotheson>>
	<<endcombat>>
	<<set $rng to random(1, 13)>>
	<<switch $rng>>
	<<case 1>>
		<<set $bus to "nightingale">>
	<<case 2>>
		<<set $bus to "domus">>
	<<case 3>>
		<<set $bus to "elk">>
	<<case 4>>
		<<set $bus to "high">>
	<<case 5>>
		<<set $bus to "starfish">>
	<<case 6>>
		<<set $bus to "barb">>
	<<case 7>>
		<<set $bus to "connudatus">>
	<<case 8>>
		<<set $bus to "wolf">>
	<<case 9>>
		<<set $bus to "harvest">>
	<<case 10>>
		<<set $bus to "oxford">>
	<<case 11>>
		<<set $bus to "danube">>
	<<case 12>>
		<<set $bus to "mer">>
	<<case 13>>
		<<set $bus to "cliff">>
	<</switch>>
	<<destination>>
<</if>>

:: Bus Seat Rape Jump

<<effects>>
You leap from the bus. You land rolling on a patch of grass. <<tearful>> you struggle to your feet.
<<set $pain += 60>>
<<clotheson>>
<<endcombat>>
<<set $rng to random(1, 13)>>
<<switch $rng>>
<<case 1>>
	<<set $bus to "nightingale">>
<<case 2>>
	<<set $bus to "domus">>
<<case 3>>
	<<set $bus to "elk">>
<<case 4>>
	<<set $bus to "high">>
<<case 5>>
	<<set $bus to "starfish">>
<<case 6>>
	<<set $bus to "barb">>
<<case 7>>
	<<set $bus to "connudatus">>
<<case 8>>
	<<set $bus to "wolf">>
<<case 9>>
	<<set $bus to "harvest">>
<<case 10>>
	<<set $bus to "oxford">>
<<case 11>>
	<<set $bus to "danube">>
<<case 12>>
	<<set $bus to "mer">>
<<case 13>>
	<<set $bus to "cliff">>
<</switch>>
<<destination>>

:: Bus Seat Rape Punch

<<effects>>
You grip a pole with one hand and punch the driver in the jaw. <<He>> brakes, but the bus swerves off the road, colliding with the corner of a building before coming to a stop. The impact knocks everyone to the ground. <<tearful>> you escape the bus and run round a corner, away from view.
<<clotheson>>
<<endcombat>>
<<set $rng to random(1, 13)>>
<<switch $rng>>
<<case 1>>
	<<set $bus to "nightingale">>
<<case 2>>
	<<set $bus to "domus">>
<<case 3>>
	<<set $bus to "elk">>
<<case 4>>
	<<set $bus to "high">>
<<case 5>>
	<<set $bus to "starfish">>
<<case 6>>
	<<set $bus to "barb">>
<<case 7>>
	<<set $bus to "connudatus">>
<<case 8>>
	<<set $bus to "wolf">>
<<case 9>>
	<<set $bus to "harvest">>
<<case 10>>
	<<set $bus to "oxford">>
<<case 11>>
	<<set $bus to "danube">>
<<case 12>>
	<<set $bus to "mer">>
<<case 13>>
	<<set $bus to "cliff">>
<</switch>>
<<destination>>

:: Bus endure

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>>
	<<He>> becomes bolder and begins to surreptitiously masturbate.

	<<enable_rescue>>
<</if>>
<<effects>>
<<effectsman>><<man>>
<<stateman>>

<<actionsman>>
<<if $alarm is 1>>
	<<if $rescue is 1>>
		<<link [[Next->Bus endure Alarm]]>><</link>><<nexttext>>
	<<else>>
		No one comes to your aid.
		<<set $alarm to 0>>
		There's no one else on the bus.
		<<if $drugged gte 1>>The drugs inhibit you, you couldn't cry very convincingly.<</if>>

		<<if $enemyarousal gte $enemyarousalmax>>
			<<link [[Next->Bus endure Ejaculation]]>><</link>><<nexttext>>
		<<elseif $enemyhealth lte 0>>
			<<link [[Next->Bus endure Escape]]>><</link>><<nexttext>>
		<<else>>
			<<link [[Next->Bus endure]]>><</link>><<nexttext>>
		<</if>>
	<</if>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next->Bus endure Ejaculation]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next->Bus endure Escape]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next->Bus endure]]>><</link>><<nexttext>>
<</if>>

:: Bus endure Alarm

<<effects>>
<<He>> notices several heads turning in response to your cry, and relents in <<his>> assault. <<He>> leaves at the next stop, and you soon arrive at your own. <<tearful>> you leave the bus.

<<clotheson>>
<<endcombat>>
<<destination5>>

:: Bus endure Ejaculation

<<effects>>
<<ejaculation>>
<<He>> tenses during <<his>> climax, apparently just in time for <<his>> stop. <<He>> leaves abruptly, and you soon arrive at your own stop. <<tearful>> you leave the bus.

<<clotheson>>
<<endcombat>>
<<destination5>>

:: Bus endure Escape

<<effects>>
<<He>> recoils in pain as you arrive your destination. <<tearful>> you seize the opportunity and dart out the vehicle.

<<clotheson>>
<<endcombat>>
<<destination5>>

:: Bus move Alarm

<<effects>>
<<He>> notices several heads turning in response to your cry, and relents in <<his>> assault. <<He>> leaves at the next stop, and you soon arrive at your own. <<tearful>> you leave the bus.

<<clotheson>>
<<endcombat>>
<<destination5>>

:: Bus move Ejaculation

<<effects>>
<<ejaculation>>
Your attacker recovers just in time for their stop, and leaves abruptly. You soon arrive at your own stop. <<tearful>> you leave the bus.

<<clotheson>>
<<endcombat>>
<<destination5>>

:: Bus move Escape

<<effects>>
<<He>> recoils in pain as you arrive at your destination. <<tearful>> you seize the opportunity and dart out the vehicle.

<<clotheson>>
<<endcombat>>
<<destination5>>

:: Climb Out Bus

The bus slows to round a corner. You take the opportunity to slip out unnoticed.

<<starfishquick>>

:: Molestation bus Alarm

<<effects>>
<<He>> notices several heads turning in response to your cry, and relents in <<his>> assault. <<He>> hurriedly leaves at the next stop, and you arrive at your own soon after. <<tearful>> you leave the bus.

<<clotheson>>
<<endcombat>>
<<set $stress -= 1000>><<set $eventskip to 1>>
<<destination>>

:: Molestation bus Ejaculation

<<effects>>
<<ejaculation>>
<<if $enemyanger gte ($enemyangermax / 5) * 3>>
	<<He>> gives you one last smack to the face, then leaves you lying on the cum-stained seat.
	<<violence 3>>

<<elseif $enemyanger gte 1>>
	Without a word, <<he>> gets up and leaves you lying on the cum-stained seat.

<<else>>
	Smiling, <<he>> kisses you on the cheek. "This is for you." <<He>> gets up and leaves you lying on the cum-stained seat.

	You've gained <<moneyGain 5>>.

<</if>>
You soon arrive at your stop. <<tearful>> you leave the bus.

<<clotheson>>
<<endcombat>>
<<set $stress -= 1000>><<set $eventskip to 1>>
<<destination>>

:: Molestation bus Escape

<<effects>>
<<He>> recoils in pain as you arrive your destination. <<tearful>> you seize the opportunity and dart out the vehicle.

<<clotheson>>
<<endcombat>>
<<set $stress -= 1000>><<set $eventskip to 1>>
<<destination>>

:: Passout bus

You've pushed yourself too much.

<<passout>>
<<set $safebus to 0>>
<<set $dangerbus to 0>>
<<set $danger to random(1, 10000)>>
<<if $danger gte (9900 - $allure)>><<set $dangerbus to random(1, 2)>><</if>>
<<if $danger lt (9900 - $allure)>><<set $safebus to random(1, 2)>><</if>>
<<if $dangerbus eq 1>>
	[[Wake up|Stripped Bus]]
<<elseif $dangerbus eq 2>>
	<<link [[Wake up|Molestation bus]]>>
		<<set $molestationstart to 1>>
	<</link>>
<</if>>
<<if $safebus eq 1>>
	[[Wake up|Stranger rescue bus]]
<<elseif $safebus eq 2>>
	<<ambulance>>
<</if>>
<<pass 1 hour>>
<<trauma 6>><<set $stress -= 2000>>


code:
:: Widgets Bus [widget]

<<widget "buswait">>
	<<add_link "<<busicon>><<link [[Wait for a bus (0:02)|Bus]]>><<pass 2>><</link>>
">><<hideDisplay>>
<</widget>>

:: Widget Passout Bus [widget]

<<widget "passoutbus">>
/*ToDo: Pregnancy, remove $pregnancyTesting to properly enable*/
<<if $sexStats.vagina.pregnancy.waterBreaking is true and $pregnancyTesting>>
	<<pregnancyWatersBrokenPassout "bus">>
<<else>>
	[[Everything fades to black...->Passout bus]]
<</if>>
<</widget>>

:: Widgets Destination [widget]

<<widget "destination">>
	<<switch $bus>>
	<<case "nightingale">>
		<<nightingalequick>>
	<<case "domus">>
		<<domusquick>>
	<<case "elk">>
		<<elkquick>>
	<<case "high">>
		<<highquick>>
	<<case "starfish">>
		<<starfishquick>>
	<<case "barb">>
		<<barbquick>>
	<<case "connudatus">>
		<<connudatusquick>>
	<<case "wolf">>
		<<wolfquick>>
	<<case "harvest">>
		<<harvestquick>>
	<<case "oxford">>
		<<oxfordquick>>
	<<case "danube">>
		<<danubequick>>
	<<case "mer">>
		<<merquick>>
	<<case "cliff">>
		<<cliffquick>>
	<<case "industrial">>
		<<industrialquick>>
	<<case "residential">>
		<<residentialquick>>
	<<case "commercial">>
		<<commercialquick>>
	<<case "park">>
		<<parkquick>>
	<<case "industrialdrain">>
		<<industrialdrainquick>>
	<<case "residentialdrain">>
		<<residentialdrainquick>>
	<<case "commercialdrain">>
		<<commercialdrainquick>>
	<<case "seabeach">>
		<<seabeachquick>>
	<<case "searocks">>
		<<searocksquick>>
	<<case "seadocks">>
		<<seadocksquick>>
	<<case "seacliffs">>
		<<seacliffsquick>>
	<<case "drainexit">>
		<<drainexitquick>>
	<<case "sea">>
		<<seamovequick>>
	<</switch>>

<</widget>>

<<widget "destination5">>
	<<switch $bus>>
	<<case "nightingale">>
		<<nightingale>>
	<<case "domus">>
		<<domus>>
	<<case "elk">>
		<<elk>>
	<<case "high">>
		<<high>>
	<<case "starfish">>
		<<starfish>>
	<<case "barb">>
		<<barb>>
	<<case "connudatus">>
		<<connudatus>>
	<<case "wolf">>
		<<wolf>>
	<<case "harvest">>
		<<harvest>>
	<<case "oxford">>
		<<oxford>>
	<<case "danube">>
		<<danube>>
	<<case "mer">>
		<<mer>>
	<<case "cliff">>
		<<cliff>>
	<<case "industrial">>
		<<industrial>>
	<<case "residential">>
		<<residential>>
	<<case "commercial">>
		<<commercial>>
	<<case "park">>
		<<park>>
	<<case "industrialdrain">>
		<<industrialdrain>>
	<<case "residentialdrain">>
		<<residentialdrain>>
	<<case "commercialdrain">>
		<<commercialdrain>>
	<<case "seabeach">>
		<<seabeach>>
	<<case "searocks">>
		<<searocks>>
	<<case "seadocks">>
		<<seadocks>>
	<<case "seacliffs">>
		<<seacliffs>>
	<<case "drainexit">>
		<<drainexit>>
	<<case "sea">>
		<<seamove>>
	<</switch>>

	<<displayLinks>>
<</widget>>

<<widget "destinationeventend">>
	<<switch $bus>>
	<<case "nightingale">>
		<<nightingaleeventend>>
	<<case "domus">>
		<<domuseventend>>
	<<case "elk">>
		<<elkeventend>>
	<<case "high">>
		<<higheventend>>
	<<case "starfish">>
		<<starfisheventend>>
	<<case "barb">>
		<<barbeventend>>
	<<case "connudatus">>
		<<connudatuseventend>>
	<<case "wolf">>
		<<wolfeventend>>
	<<case "harvest">>
		<<harvesteventend>>
	<<case "oxford">>
		<<oxfordeventend>>
	<<case "danube">>
		<<danubeeventend>>
	<<case "mer">>
		<<mereventend>>
	<<case "cliff">>
		<<cliffeventend>>
	<<case "industrial">>
		<<industrialeventend>>
	<<case "residential">>
		<<residentialeventend>>
	<<case "commercial">>
		<<commercialeventend>>
	<<case "park">>
		<<parkeventend>>
	<<case "industrialdrain">>
		<<industrialdraineventend>>
	<<case "residentialdrain">>
		<<residentialdraineventend>>
	<<case "commercialdrain">>
		<<commercialdraineventend>>
	<<case "seabeach">>
		<<seabeacheventend>>
	<<case "searocks">>
		<<searockseventend>>
	<<case "seadocks">>
		<<seadockseventend>>
	<<case "seacliffs">>
		<<seacliffseventend>>
	<<case "drainexit">>
		<<drainexiteventend>>
	<<case "sea">>
		<<seamoveeventend>>
	<<default>>
		<<domuseventend>>
	<</switch>>

<</widget>>