code:
:: School Front Playground [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>><<set $bus to "schoolfrontplayground">>

<<if $schoolstate isnot "early" and $schoolstate isnot "late" and $schoolstate isnot "earlynoschool" and $schoolstate isnot "latenoschool" and $schoolstate isnot "daynoschool">>
	<<if $schoolstate is "morning">>
	You are in the playground in front of the school. Younger students are already playing, despite school not yet having officially begun.

	<<elseif $schoolstate is "afternoon">>
	You are in the playground in front of the school. Some students are running around and playing, as the facilities stay open for a couple of hours.
		<<if $weekday eq 6 and $framed is "whitney" and $pillory_tenant.special.name isnot "Whitney">>

You hear some shouts and arrive just in time to see a scuffle as Whitney is dragged out of the school in handcuffs by several police officers.<<imprison_whitney>>
		<<elseif $weekday eq 6 and $framed is "leighton" and $pillory_tenant.special.name isnot "Leighton">>

You hear some loud protests and arrive just in time to see Leighton being led away by police.<<imprison_leighton>>
		<<elseif $detention gte 1 and $detentionattended isnot 1 and $headnodetention isnot 1 and $pillory_tenant.special.name isnot "Leighton">>
			You see the head guarding the gate. You're meant to be in detention, so if you leave that way, you'll be apprehended.
		<<elseif $bullytimer gte 1 and $bullytimeroutside gte 1 and $NPCName[$NPCNameList.indexOf("Whitney")].init is 1 and $NPCName[$NPCNameList.indexOf("Whitney")].state isnot "dungeon" and $pillory_tenant.special.name isnot "Whitney">>
			You see Whitney hanging out by the gate.
		<</if>>

	<<elseif $schoolstate is "lunch">>
	You are in the playground in front of the school. It is crowded with students on their lunch break.

	<<else>>
	You are in the playground in front of the school. It's mostly empty while class is in session.

	<</if>>
	<<if $exposed gte 1>>
	You hide behind a shed, keeping your <<lewdness>> hidden.

	<</if>>
<<else>>
The front playground is empty.

<</if>>

<<schoolperiodtext>>

<<if $stress gte 10000>>
<<link [[Everything fades to black...|School Passout]]>><</link>>
<<else>>
<<set $danger to random(1, 10000)>><<set $dangerevent to 0>>
<<if $danger gte (9900 - $allure) and $eventskip is 0>>
<<eventsplayground>>
<<else>>
	<<if $schoolstate isnot "early" and $schoolstate isnot "late" and $schoolstate isnot "earlynoschool" and $schoolstate isnot "latenoschool" and $schoolstate isnot "daynoschool" and $exposed gte 1>>
		<<link [[Sneak behind the school (0:05)|School Rear Playground]]>><<pass 5>><</link>>

	<<else>>
		<<link [[Enter the school (0:01)|Hallways]]>><<pass 1>><</link>>

		<<link [[Rear playground (0:02)|School Rear Playground]]>><<pass 2>><</link>>

		<<if $schoolstate is "afternoon" and $detention gte 1 and $detentionattended isnot 1 and $headnodetention isnot 1 and $pillory_tenant.special.name isnot "Leighton">>
			<<link [[Leave the school|School Leave Stop]]>><</link>>

		<<elseif $schoolstate is "afternoon" and $bullytimer gte 1 and $bullytimeroutside gte 1 and $NPCName[$NPCNameList.indexOf("Whitney")].init is 1 and $NPCName[$NPCNameList.indexOf("Whitney")].state isnot "dungeon">>
			<<link [[Leave the school|School Leave Whitney]]>><</link>>

		<<elseif $schoolday is 1 and $hour gte 7 and $hour lte 16>>
			<<link [[Leave the school (0:01)|Oxford Street]]>><<pass 1>><</link>>

		<<else>>
			<<link [[Leave the School|School Gate Exit]]>><</link>>

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

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

<<set $eventskip to 0>>

:: School Rear Playground [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>><<set $bus to "schoolrearplayground">>

<<if $schoolstate isnot "early" and $schoolstate isnot "late" and $schoolstate isnot "earlynoschool" and $schoolstate isnot "latenoschool" and $schoolstate isnot "daynoschool">>
	<<if $schoolstate is "morning">>
	You are in the playground behind the school. Younger students are already playing, despite school not yet having officially begun.

	<<elseif $schoolstate is "afternoon">>
	You are in the playground behind the school. Some students are running around and playing, as the facilities stay open for a couple of hours.

	<<elseif $schoolstate is "lunch">>
	You are in the playground behind the school. It is crowded with students on their lunch break.

	<<else>>
	You are in the playground behind the school. It's mostly empty while class is in session.

	<</if>>
	<<if $exposed gte 1>>
	You hide behind a shed, keeping your <<lewdness>> hidden.

	<</if>>
<<else>>
The rear playground is empty.

<</if>>

<<schoolperiodtext>>

<<if $stress gte 10000>>
<<link [[Everything fades to black...|School Passout]]>><</link>>
<<else>>
<<set $danger to random(1, 10000)>><<set $dangerevent to 0>>
<<if $danger gte (9900 - $allure) and $eventskip is 0>>
<<eventsplayground>>
<<else>>

	<<if $schoolstate isnot "early" and $schoolstate isnot "late" and $schoolstate isnot "earlynoschool" and $schoolstate isnot "latenoschool" and $schoolstate isnot "daynoschool" and $exposed gte 1>>

	<<link [[Sneak into the school (0:03)|Hallways]]>><<pass 3>><</link>>

	<<link [[Sneak in front of the school (0:05)|School Front Playground]]>><<pass 5>><</link>>

	<<link [[Climb over the fence to the industrial district (0:02)|School Rear Fence Exit]]>><<pass 2>><</link>>

	<<else>>

		<<if $exposed lte 0 and $NPCName[$NPCNameList.indexOf("Kylar")].state is "active" and $weather isnot "rain" and $schoolstate is "lunch">>
		Kylar sits on a stump and stares at the ground.

		<<link [[Approach|Kylar Playground]]>><</link>>

		<</if>>
		<<if $exposed lte 0 and $schoolstate is "lunch">>
		<<link [[Relax on a stump (0:10)|School Stump]]>><<stress -1>><<pass 10>><<tiredness -1>><</link>><<ltiredness>><<lstress>>

		<</if>>
	<<link [[Enter the school (0:01)|Hallways]]>><<pass 1>><</link>>

	<<link [[Front playground (0:02)|School Front Playground]]>><<pass 2>><</link>>

	<<link [[Climb over the fence to the industrial district (0:02)|School Rear Fence Exit]]>><<pass 2>><</link>>

	<</if>>

	<<if $historytrait gte 1>>
		<<if $parktunnelintro gte 1>>
		<<parkicon>><<link [[Secret tunnel to park (0:05)|Park]]>><<pass 5>><</link>>

		<<else>>
		<<parkicon>><<link [[Secret tunnel to park (0:05)|Park Tunnel]]>><<pass 5>><</link>>

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

<<set $eventskip to 0>>

:: School Locked [nobr]
<<set $outside to 0>><<effects>><<set $lock to 200>>

The school gate is shut and sealed by a sturdy padlock.

	<<if $skulduggery gte $lock>>
	The lock looks easy to pick.

	<<link [[Pick it (0:10)|School Front Playground]]>><<pass 10>><<crimeup 1>><</link>><<crime>>

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

	<</if>>

<<link [[Leave|Oxford Street]]>><</link>>

:: School Pool Entrance [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You are outside the school changing rooms. You need to pass through them to access the pool.

<<if $exposed gte 1>>

A stack of towels sits on a trolley beside the door.

<<link [[Grab some towels|School Pool Entrance]]>><<towelup>><</link>>

<</if>>

<<link [[Boy's Changing Room|School Boy Changing Room]]>><</link>>

<<link [[Girl's Changing Room|School Girl Changing Room]]>><</link>>

<<if $schoolstate isnot 0 and $schoolday is 1>>
	<<if $time gte ($hour * 60 + 5) and $time lte ($hour * 60 + 57)>>
	<<else>>
		<<if $player.appearance is "m">>
		<<link [[Wait for the girls to leave (0:05)|School Pool Entrance]]>><<pass 5>><</link>>

		<</if>>
		<<if $player.appearance is "f">>
		<<link [[Wait for the boys to leave (0:05)|School Pool Entrance]]>><<pass 5>><</link>>

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

<<link [[Leave|Hallways]]>><</link>>

:: School Rear Fence [nobr]
<<set $outside to 1>><<set $location to "town">><<effects>>

You haul yourself over the fence and drop down on the other side.

<<set $worn.lower.integrity -= 20>>
<<if $worn.lower.type.includes("naked")>>
	<<if !$worn.under_lower.type.includes("naked")>>
	<<set $worn.under_lower.integrity -= 20>>
		<<if $worn.under_lower.integrity lte 0>>
		You feel strangely cold. You look back at the fence, and see your $worn.under_lower.name hanging from one of the spikes!
		<<else>>
		Your $worn.under_lower.name caught on a spike and tore slightly as you climbed over.
		<</if>>
	<<else>>
	A breeze caresses your <<genitalscomma>> making you shiver.
	<</if>>
<<else>>
	<<if $worn.lower.integrity lte 0>>
	You feel strangely cold. You look back at the fence, and see your $worn.lower.name hanging from one of the spikes!
	<<else>>
	Your $worn.lower.name caught on a spike and tore slightly as you climbed over.
	<</if>>
<</if>>

<<link [[Next|School Rear Playground]]>><</link>>

:: School Rear Fence Exit [nobr]
<<set $outside to 1>><<set $location to "town">><<effects>>

You haul yourself over the fence and drop down on the other side.

<<set $worn.lower.integrity -= 20>>
<<if $worn.lower.type.includes("naked")>>
	<<if !$worn.under_lower.type.includes("naked")>>
	<<set $worn.under_lower.integrity -= 20>>
		<<if $worn.under_lower.integrity lte 0>>
		You feel strangely cold. You look back at the fence, and see your $worn.under_lower.name hanging from one of the spikes!
		<<else>>
		Your $worn.under_lower.name caught on a spike and tore slightly as you climbed over.
		<</if>>
	<<else>>
	A breeze caresses your <<genitalscomma>> making you shiver.
	<</if>>
<<else>>
	<<if $worn.lower.integrity lte 0>>
	You feel strangely cold. You look back at the fence, and see your $worn.lower.name hanging from one of the spikes!
	<<else>>
	Your $worn.lower.name caught on a spike and tore slightly as you climbed over.
	<</if>>
<</if>>

<<link [[Next|Industrial alleyways]]>><</link>>

:: Head's Office [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $schoolday is 1 and $schoolstate isnot "early" and $schoolstate isnot "late">>

<<npc Leighton>><<person1>>
You knock on the head<<if $pronoun is "m">>master<<else>>mistress<</if>>'s door. You hear <<his>> voice on the other side. "Enter."

	<<if $worn.upper.type.includes("school") and $worn.lower.type.includes("school") and $rightarm isnot "bound" or $hour gte 14>>
		<<if $headinterrupted is 0>>
		Leighton looks up from <<his>> desk as you enter. "How can I help you?"

		<<link [[Leave the office (0:01)|Hallways]]>><<endevent>><<pass 1>><<set $headinterrupted to 1>><</link>>

			<<if $headdrive is 1 and $headnodetention isnot 1 and $headmoney isnot 1>>
			<<link [[Blackmail|Head's Office Blackmail]]>><</link>><<crime>>

			<</if>>
			<<if $schoolfameblackmail gte 1>>
				<<if $schoolfameboard is 1>>
					<<if $schoolfameconsensual is 1>>
					<<link [[Photoshoot (0:20)|Head's Office Photoshoot]]>><<set $schoolfameblackmail to 0>><</link>>

					<<elseif $exhibitionism gte 55 and $schoolfameblackmail gte 3>>
					<<link [[Offer to do photoshoots for money|Head's Office Photoshoot Offer]]>><<set $schoolfameblackmail to 0>><<set $schoolfameconsensual to 1>><</link>><<exhibitionist4>>

					<</if>>
				<<else>>
				<<link [[Photoshoot (0:20)|Head's Office Photoshoot Blackmail]]>><<set $schoolfameblackmail to 0>><<trauma 6>><<stress 6>><<npcincr Leighton dom 1>><</link>><<gtrauma>><<gstress>>

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

		<<else>>
			<<if $exposed gte 1>>
			<<fameexhibitionism 1>>
			<</if>>

				<<if $headnodetention isnot 1>>
	Leighton looks up from <<his>> desk as you enter. "You again? It's rude to keep bothering me without purpose. I'll have to flag you for punishment if this isn't important."

				<<else>>
				Leighton looks up from <<his>> desk as you enter. "We have nothing to discuss. Get out."
				<</if>>

		<<link [[Leave the office (0:01)|Hallways]]>><<endevent>><<pass 1>><<detention 1>><</link>><<gdelinquency>>

			<<if $headdrive is 1 and $headnodetention isnot 1 and $headmoney isnot 1>>
			<<link [[Blackmail|Head's Office Blackmail]]>><</link>><<crime>>

			<</if>>
			<<if $schoolfameblackmail gte 1>>
				<<if $schoolfameboard is 1>>
					<<if $schoolfameconsensual is 1>>
					<<link [[Photoshoot (0:20)|Head's Office Photoshoot]]>><<set $schoolfameblackmail to 0>><</link>>

					<<elseif $exhibitionism gte 55 and $schoolfameblackmail gte 3>>
					<<link [[Offer to do photoshoots for money|Head's Office Photoshoot Offer]]>><<set $schoolfameblackmail to 0>><<set $schoolfameconsensual to 1>><</link>><<exhibitionist4>>

					<</if>>
				<<else>>
				<<link [[Photoshoot (0:20)|Head's Office Photoshoot Blackmail]]>><<set $schoolfameblackmail to 0>><<trauma 6>><<stress 6>><<npcincr Leighton dom 1>><</link>><<gtrauma>><<gstress>>

				<</if>>
			<</if>>
		<</if>>
	<<else>>
	Leighton looks up from <<his>> desk as you enter. "Oh. This won't do at all."

		<<if $rightarm is "bound">>

			"How did you get yourself in this state," <<he>> mutters as he walks behind you. You feel your arms fall free.

			<<unbind>>
			<<if (!$worn.upper.type.includes("school") or !$worn.lower.type.includes("school")) and $schoolstate isnot "fifth">> /*clothes don't matter for swim*/
				"These clothes won't do either." <<He>> pulls some clothing out of a drawer. "Here you go."

			<<else>>
				<<link [[Next|Hallways]]>><<endevent>><</link>>

			<</if>>
		<<else>>
		<<He>> pulls some clothing out of a drawer. "Here you go."

		<</if>>
		<<if !$worn.upper.type.includes("school") and !$worn.lower.type.includes("school") and $schoolstate isnot "fifth">>
			<<if $player.gender is "m">>
				<<if $rng gte 51>>
				<<set $clothingselector to "m">>
				<<He>> hands you a worn-looking school shirt and a pair of school shorts. "You can get changed in the storeroom. I'll have your clothes sent to the pool for you to collect after school." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<else>>
				<<set $clothingselector to "f">>
				<<He>> hands you a worn-looking school shirt and skirt. <<He>> speaks before you can articulate any apprehension. "I know it's a girl's uniform, but it's all I have. Wear your own uniform if you don't want this to happen in the future." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<link [["There's no way I can wear this!" |Head's Office Refusal]]>><<detention 1>><</link>><<gdelinquency>>

				<</if>>
			<<elseif $player.gender is "f">>
				<<if $rng gte 51>>
				<<set $clothingselector to "f">>
				<<He>> hands you a worn-looking school shirt and a school skirt. "You can get changed in the storeroom. I'll have your clothes sent to the pool for you to collect after school." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<else>>
				<<set $clothingselector to "m">>
				<<He>> hands you a worn-looking school shirt and pair of shorts. <<He>> speaks before you can articulate any apprehension. "I know it's a boy's uniform, but it's all I have. Wear your own uniform if you don't want this to happen in the future." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<link [["There's no way I can wear this!" |Head's Office Refusal]]>><<detention 1>><</link>><<gdelinquency>>

				<</if>>
			<</if>>
		<<elseif !$worn.lower.type.includes("school") and $schoolstate isnot "fifth">>
			<<if $player.gender is "m">>
				<<if $rng gte 51>>
				<<set $clothingselector to "m">>
				<<He>> hands you a worn-looking pair of school shorts. "You can get changed in the storeroom. I'll have your clothes sent to the pool for you to collect after school." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<else>>
				<<set $clothingselector to "f">>
				<<He>> hands you a worn-looking school skirt. <<He>> speaks before you can articulate any apprehension. "I know it's a girl's uniform, but it's all I have. Wear your own uniform if you don't want this to happen in the future." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<link [["There's no way I can wear this!" |Head's Office Refusal]]>><<detention 1>><</link>><<gdelinquency>>

				<</if>>
			<<elseif $player.gender is "f">>
				<<if $rng gte 51>>
				<<set $clothingselector to "f">>
				<<He>> hands you a worn-looking school skirt. "You can get changed in the storeroom. I'll have your clothes sent to the pool for you to collect after school." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<else>>
				<<set $clothingselector to "m">>
				<<He>> hands you a worn-looking pair of school shorts. <<He>> speaks before you can articulate any apprehension. "I know it's a boy's uniform, but it's all I have. Wear your own uniform if you don't want this to happen in the future." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

				<<link [["There's no way I can wear this!" |Head's Office Refusal]]>><<detention 1>><</link>><<gdelinquency>>

				<</if>>
			<</if>>
		<<elseif !$worn.upper.type.includes("school") and $schoolstate isnot "fifth">>
				<<He>> hands you a worn-looking school shirt. "You can get changed in the storeroom. I'll have your clothes sent to the pool for you to collect after school." <<He>> turns back to <<his>> computer and leaves you to change.

				<<link [[Get changed and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<endevent>><<pass 1>><</link>>

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

<<else>>
The office is empty.

	<<if $headpasswordknown is 1 and $headdrive isnot 1>>
	<<link [[Break into computer|Head's Computer]]>><</link>>

	<</if>>
	<<if $pub_hack_job is 3 and not $hacker_tasks.includes("leighton")>>
		<<link [[Break into strongbox|Head's Stash]]>><</link>>

	<</if>>
<<link [[Leave the office (0:01)|Hallways]]>><<pass 1>><</link>>

<</if>>

:: Head's Office Refusal [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<He>> looks at you sternly. "Don't talk back. I told you to get dressed. Now, get dressed."

<<link [[Wear the clothes and leave (0:01)|Hallways]]>><<undress "wardrobe">><<schoolspareclothes>><<pass 1>><<endevent>><</link>>

<<link [[Walk out|Hallways]]>><<detention 3>><<endevent>><</link>><<gdelinquency>>

:: School Passout [nobr]
You remain unconscious for a time.

<<pass 1 hour>>

<<set $danger to random(1, 10000)>>

<<if $danger gte (9900 - $allure)>>
	<<if $schoolday is 1 and $schoolstate isnot "early" and $schoolstate isnot "late">>
		<<if $rng gte 81>>
		<<link [[Next|School Passout Exhibit]]>><<upperruined>><<lowerruined>><<underruined>><</link>>
		<<elseif $rng gte 1>>
		<<link [[Next|School Passout Rape]]>><<set $molestationstart to 1>><</link>>
		<</if>>
	<<else>>
		<<if $rng gte 51>>
		<<link [[Next|School Passout Gang Rape]]>><<set $molestationstart to 1>><</link>>
		<<elseif $rng gte 1>>
		<<link [[Next|School Passout Gang Rape]]>><<set $molestationstart to 1>><</link>>
		<</if>>
	<</if>>
<<else>>
<<ambulance>>
<</if>>

<<set $trauma +=10>><<set $stress -= 2000>>

:: School Passout Exhibit [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $phase is 0>>

You feel metallic clamps on your wrists, knees and ankles. You open your eyes, and find yourself outside the science classroom, bound and attached to the wall with your legs splayed, your <<lewdness>> on display. There's a strange sensation of fullness in your anus. You try to struggle free, but you're locked up tight.

A group of young students round the corner and stop when they see you, eyes wide. You feel your face turn red as they behold you. They walk past, giggling and whispering to one another.
<<lcool>><<gtrauma>><<gstress>><<stress 1>><<trauma 1>><<status -10>>

A minute passes before a <<generatey1>><<generatey2>><<person1>><<person>> and <<person2>><<person>> round the corner. They initially react like the first group but, proving to be more inquisitive, they approach you.

"There's a button here," says the <<personstop>> "What do you think it does?" <<He>> raises <<his>> arm and hovers a finger over it.

<<link [["Please don't press it!"|School Passout Exhibit]]>><<set $phase to 1>><<status -10>><</link>><<lcool>>

<<link [[Remain silent|School Passout Exhibit]]>><<set $phase to 2>><</link>>

<<elseif $phase is 1>>
	<<if $cool gte ($coolmax / 10 * 6)>>
	<<He>> looks taken aback, and exchanges a nervous look with <<his>> friend, before backing off.

	"Could you help me down?" You plead. <<person1>>Standing on <<his>> toes, the <<person>> reaches up and flips a switch, releasing you. You fall onto your hands and knees, the object in your butt slipping out as you do. You begin to stand up but, aware of your lewd state, you crouch instead. The pair still look amused at the situation, but the <<person2>><<person>> pulls some towels out of their bag and hands them to you. They wordlessly leave, smiling back at you as they do.

	That could have been much worse, but you know the whole school will hear about it.

	<<towelup>>
	<<link [[Next|Hallways]]>><<endevent>><</link>>
	<<else>>
	<<He>> looks taken aback, but pauses only a moment before giving you an evil grin and pressing the button.

	The fullness inside you starts vibrating against your <<prostate>>, softly at first, but growing in intensity, and creating an audible buzzing. The <<person>> steps back, smiling mischievously, as you try not to react to the sensation.

	<<set $arousal += 2000>>
		<<if $arousal gte 10000>>
		<<orgasmpassage>><<exhibitorgasm>>
		<</if>>

	The buzzing comes to an abrupt stop. A shameful part of you feels disappointed, but the <<person2>><<person>> reaches for the button yet again. This time, the contraption doesn't give you time to warm up, sending violent shock waves through you. You involuntarily jerk, delighting the <<person1>><<person>> and <<person2>><<personstop>>

	<<set $arousal += 2000>>
		<<if $arousal gte 10000>><<orgasmpassage>><<exhibitorgasm>>
		<</if>>

	Its purpose apparently served, the restraints release you. You drop to your hands and knees, the object in your butt slipping out as you do. The pair exchange a worried glance before bolting down the corridor, leaving you exposed on the floor.

	<<link [[Next|Hallways]]>><<set $stress -= 500>><<endevent>><</link>>

	<</if>>
<<elseif $phase is 2>>
<<He>> presses the button.

	The fullness inside you starts vibrating against your <<prostate>>, softly at first, but growing in intensity, and creating an audible buzzing. The <<person>> steps back, smiling mischievously, as you try not to react to the sensation.

	<<set $arousal += 2000>>
		<<if $arousal gte 10000>>
		<<orgasmpassage>><<exhibitorgasm>>
		<</if>>

	The buzzing comes to an abrupt stop. A shameful part of you feels disappointed, but the <<person2>><<person>> reaches for the button yet again. This time, the contraption doesn't give you time to warm up, sending violent shock waves through you. You involuntarily jerk, delighting the <<person1>><<person>> and <<person2>><<personstop>>

	<<set $arousal += 2000>>
		<<if $arousal gte 10000>><<orgasmpassage>><<exhibitorgasm>>
		<</if>>

	Its purpose apparently served, the restraints release you. You drop to your hands and knees, the object in your butt slipping out as you do. The pair exchange a worried glance before bolting down the corridor, leaving you exposed on the floor.

	<<link [[Next|Hallways]]>><<set $stress -= 500>><<endevent>><</link>>

<</if>>

:: School Passout Rape [nobr]
<<if $molestationstart is 1>>
<<set $molestationstart to 0>>
<<controlloss>>
<<violence 1>>
<<neutral 1>>
<<molested>>
<<set $event to "molestationhome">>
<<generatey1>><<generatey2>><<man1init>><<set $NPCList[0].lefthand to "mouth">><<set $mouthuse to "lefthand">>
"Shhh, <<pshes>> waking up." A <<person1>><<person>> and <<person2>><<person>> stand over you. You're lying in a shed on the school grounds. Before you can speak, the <<person1>><<person>> smothers your mouth with <<his>> hand. "Now's our chance, no one will know!"

<<set $rescue to 1>>
<</if>>

<<effects>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
<<link [[Next|School Passout Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<link [[Next|School Passout Rape Finish]]>><</link>><<nexttext>>
<<elseif $rescue is 1 and $alarm is 1>>
<<link [[Next|School Passout Rape Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|School Passout Rape]]>><</link>><<nexttext>>
<</if>>

:: School Passout Gang Rape [nobr]
<<if $molestationstart is 1>>
<<set $molestationstart to 0>>
<<controlloss>>
<<violence 1>>
<<neutral 1>>
<<molested>>
<<set $event to "molestationhome">>
<<generate1>><<generate2>><<man1init>><<set $leftarm to "bound">><<set $rightarm to "bound">><<set $feetuse to "bound">>
You awaken in the science classroom, bent over a desk. Straps tie down your arms and legs, restricting your movement.

<</if>>

<<effects>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
<<link [[Next|School Passout Gang Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<link [[Next|School Passout Gang Rape Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|School Passout Gang Rape]]>><</link>><<nexttext>>
<</if>>

:: School Passout Rape Finish [nobr]
<<effects>><<set $stress -= 500>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

"Don't try to tell on us. No one will believe you." The pair leave you lying on the hard floor. <<tearful>> you struggle to your feet.

<<clotheson>>
<<endcombat>>

<<link [[Next|School Rear Playground]]>><</link>>

<<elseif $enemyhealth lte 0>>
Your assailants recoil in pain. <<tearful>> you seize the opportunity and escape from the shed.

<<clotheson>>
<<endcombat>>

<<link [[Next|School Rear Playground]]>><</link>>

<<elseif $rescue is 1 and $alarm is 1>><<set $rescued += 1>>
<<endevent>>
<<npc Leighton>>Leighton barges into the shed. Eyes wide with panic, your assailants stumble over their words as they try to explain themselves. Leighton is having none of it, and drags them from the building by the scruff of their necks. <<tearful>> you gather yourself.

<<clotheson>>
<<endcombat>>

<<link [[Next|School Rear Playground]]>><</link>>
<</if>>

:: School Passout Gang Rape Finish [nobr]
<<effects>><<set $feetuse to 0>><<set $leftarm to 0>><<set $rightarm to 0>><<set $stress -= 500>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

Satisfied, the pair leave you tied to the desk. <<tearful>> you manage to work yourself free.

<<clotheson>>
<<endcombat>>

<<link [[Next|Science Classroom]]>><</link>>
<<elseif $enemyhealth lte 0>>
Deciding you're more trouble than you're worth, the pair leave you tied to the desk. <<tearful>> you manage to work yourself free.

<<clotheson>>
<<endcombat>>

<<link [[Next|Science Classroom]]>><</link>>
<</if>>

:: Hallways Sneak [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You <<nervously>> poke your head outside. There's no one around. You leave the relative safety of the toilets, your <<lewdness>> on display.

<<if $phase is 1>>
<<exhibitionism3>>
<<elseif $phase is 2>>
<<exhibitionism4>>
<</if>>

<<link [[Next|Hallways]]>><</link>>

<<set $eventskip to 0>>

:: School Gate Exit [nobr]
<<set $outside to 0>><<effects>><<set $lock to 200>>

The school gate is shut and sealed by a sturdy padlock.

	<<if $skulduggery gte $lock>>
	The lock looks easy to pick.

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

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

	<</if>>

<<link [[Leave|School Front Playground]]>><</link>>

:: Rear Playground Dog [nobr]
<<if $molestationstart is 1>>
<<set $molestationstart to 0>>
<<controlloss>>
<<violence 1>>
<<neutral 1>>
<<molested>>
<<set $event to "dogpack">>
<<beast1init>><<beasttype dog>>
<</if>>

<<effects>>
<<effectsman>>

<<beast>>

<<stateman>>

<<actionsman>>

<<if $enemyarousal gte $enemyarousalmax>>
<<link [[Next|Rear Playground Dog Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
<<link [[Next|Rear Playground Dog Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|Rear Playground Dog]]>><</link>><<nexttext>>
<</if>>

:: Rear Playground Dog Finish [nobr]
<<set $outside to 0>><<set $location to "school">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>

<<beastejaculation>>

Satisfied, the dog bounds away from you.

<<tearful>> you rise to your feet.

<<clotheson>>
<<endcombat>>

<<playground>>

<<elseif $enemyhealth lte 0>>

The dog whimpers and flees.

<<tearful>> you rise to your feet.

<<clotheson>>
<<endcombat>>

<<playground>>

<</if>>

:: Park Tunnel [nobr]
<<effects>><<set $outside to 0>>

<<set $parktunnelintro to 1>>

You search for the old tunnel you read about. You find it behind an outbuilding, obscured by trees and moss. You peer into the dark, and see a distant light at the end. You walk through and try to ignore the damp smell, until you emerge back into the light. You're in the park.

<<parkquick>>

:: School Drain [nobr]
<<effects>><<set $outside to 0>>

<<set $schooldrainintro to 1>>

There's a shaft hidden beneath the rubber flooring that should lead to the town's storm drain system. You peel back the floor and open the hatch, before climbing down into the dark. The sound of running water grows stronger.

<<link [[Next|Commercial Drain]]>><</link>>

:: Head's Computer [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You enter the username and password you discovered in the note and log into Leighton's computer. You find nothing at first, just boring spreadsheets, until you find a folder simply titled "D".

<<npc Darryl>><<person1>>It contains thousands of images of a <<if $pronoun is "m">>boy<<else>>girl<</if>> with black hair in various states of undress. <<He>> looks distressed in some of the pictures but <<his>> expression is blank in others. The pictures are arranged in order of date and appear to be from several years ago. Whatever was happening went on for many months.

Leighton makes an appearance in the later pictures, sometimes posing with <<himcomma>> but other times groping and fondling. From <<his>> outfit, it looks like <<he>> was a student here.

<<link [[Copy to flash drive|Head's Computer Flash]]>><</link>>

:: Head's Computer Flash [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You copy the files. Now to decide what to do with them.

<<set $headdrive to 1>>
<<link [[Next|Hallways]]>><<endevent>><</link>>

:: Head's Stash [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

Looking under the head's desk you find a small but solid box with a door. It's almost a safe. You pull, but the door doesn't move. It's locked. The lock looks very solid:
it will take some time to pick.

<<set $skulduggerydifficulty to 1000>>

<<link [[Pick the Lock (0:30)|Head's Stash 2]]>><<pass 30>><</link>><<skulduggerydifficulty>>

<<link [[Leave it alone|Head's Office]]>><<endevent>><</link>>

:: Head's Stash 2 [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You settle under the desk and set to work on the lock.

<<skulduggerycheck>>

<<if $skulduggerysuccess is 1>><<set $hacker_tasks.pushUnique("leighton")>>
	It takes some time and is far more complex than you expected. You are just about to give up when the door suddenly pops loose.
	You open the drawer and find a number of cameras and lenses as well as a box full of memory cards. Quite a collection.

	You scoop the memory cards into your bag.

		<<if $skulduggery lte ($skulduggerydifficulty + 100)>>
		<<skulduggeryskilluse>>
		<<else>>
		That was too easy. You didn't learn anything.

		<</if>>

	<<if $hacker_tasks.length gte 2>>
	You have completed the hacker's tasks - you now need to talk to Landry.

	<</if>>
	<<link [[Next|Head's Office]]>><<endevent>><</link>>

<<else>>
	It is far more complex than you expected. After nearly half an hour of fruitless poking and prodding at the lock, you give up.
	Now you have a feel for the lock, you could try again.

		<<if $skulduggery lte ($skulduggerydifficulty + 100)>>
		<<skulduggeryskilluse>>
		<<else>>
		That was too easy. You didn't learn anything.

		<</if>>

	<<set $skulduggerydifficulty -= 200>>
	<<link [[Try again (0:30)|Head's Stash 2]]>><<pass 30>><</link>><<skulduggerydifficulty>>

	<<link [[Give up|Head's Office]]>><<endevent>><</link>>

<</if>>

:: Head's Office Blackmail [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $phase is 1>>
Leighton looks up from <<his>> desk as you enter. "How can I help you?"

<</if>>

<<if $submissive lte 850>>
You give <<him>> a wicked smile. "I've been on your computer," you say. "I've seen what you keep there. I made copies."

<<elseif $submissive gte 1150>>
You can't bring yourself to look <<him>> in the eye. "I-I've seen what you did to that student. On your computer," you manage to say. "I-I made copies."
<<else>>
"I've been on your computer," you say. "I've seen what you did to that student. I made copies."
<</if>>

<<crimeup 1000>>
<<He>> stares at you, not moving a muscle. Then <<he>> glances at the door, and sizes you up. <<He>> seems to think better of whatever <<he>> was planning however and sighs, "What do you want?"

<<npcincr Leighton dom -10>>
<<npcincr Leighton love -10>>
<<link [[Your watch|Head's Office Money]]>><</link>>

<<link [[No detention|Head's Office No Detention]]>><</link>>

<<if $schoolfameboard isnot 1 and $schoolfameblackmail isnot undefined>>
<<link [[No more photoshoots|Head's Office No Photoshoots]]>><</link>>

	<<if $exhibitionism gte 55>>
	<<link [[Pay me for photoshoots|Head's Office Pay Photoshoots]]>><</link>><<exhibitionist4>>

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

:: Head's Office Money [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

"My watch?" <<he>> says. "But this is a genuine... Fuck." <<He>> removes <<his>> watch and chucks it at you. "This had better be the last I hear of it, or you'll pay dearly. Now get out."

This watch should be worth a fair bit if you could find a buyer.<<ggcontrol>>

<<set $blackmoney += 5000>><<set $headmoney to 1>><<set $headblackmailed to 1>><<control 25>><<endevent>><<set $submissive -= 10>>

<<link [[Next|Hallways]]>><</link>>

:: Head's Office No Detention [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

"That's it?" <<he>> says. "Fine. Less work for me anyway. This had better be the last I hear of it, or you'll pay dearly."

You leave the office. That's one less problem to worry about.<<ggcontrol>>

<<set $headnodetention to 1>><<set $headblackmailed to 1>><<control 25>><<endevent>><<set $submissive -= 10>>

<<link [[Next|Hallways]]>><</link>>

:: Events Shades Hand [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You hand river the shades. "Good. You'll get them back, the way you dress outside school is your parent's business. Here though, you abide by the rules." <<He>> marches away from you.

<<generatey2>><<person2>>"I thought <<pshe>> was cooler than that," you hear a <<person>> say to <<his>> friend.

<<endevent>>

<<playground>>

:: Events Shades Flip [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You turn away from River and show <<him>> your middle finger. The watching students cheer you on. River is lost for words. "Y-you little... You'll be punished for this, I'll make sure you won't be able to sit for a week!" <<He>> marches away from you.

<<endevent>>

<<playground>>

:: Glasses No Underwear [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

<<if $submissive gte 1150>>
"B-but I don't have any on," you say.
<<elseif $submissive lte 850>>
"You're out of luck. I'm not wearing any," you say.
<<else>>
"But I'm not wearing any," you say.
<</if>>

"What a pervert!" the <<person>> exclaims. <<He>> kicks your glasses over to you. "Here, I don't want anything to do with them. I might catch something." <<He>> saunters off. Fortunately, your glasses appear undamaged.<<clotheson>>

<<endevent>>

<<playground>>

:: Glasses Underwear [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You <<pulldown>> your $worn.lower.name, revealing your $worn.under_lower.name.
<<if $worn.under_lower.type.includes("chastity")>>
"What is that?" <<he>> asks, crouching for a closer look. "Is that a keyhole?" You decide <<hes>> seen enough and cover back up. "You really are a weirdo. Here," <<he>> kicks your glasses to your feet. "I don't want to catch anything." <<He>> saunters off.

Fortunately your glasses appear undamaged.<<clotheson>>

<<elseif $worn.under_lower.gender isnot $player.appearance>>
	<<if $player.appearance is "m">>
	"You're wearing panties!" <<he>> exclaims. "I knew you were a pervert, but this is a bit much. Here," <<he>> kicks your glasses to you. "I regret touching them now." <<He>> saunters off.

Fortunately your glasses appear undamaged.<<clotheson>>

	<<else>>
	"You're wearing boy's underwear!" <<he>> exclaims. "I knew you were a pervert, but this is a bit much. Here," <<he>> kicks your glasses to you. "I regret touching them now." <<He>> saunters off.

Fortunately your glasses appear undamaged.<<clotheson>>

	<</if>>
<<else>>
<<He>> eyes up your exposed underwear. "Nice. See, that wasn't so bad, was it," <<he>> says as <<he>> throws your glasses at you. You manage to catch them. "See ya around <<bitchcomma>> wear some better undies next time."<<clotheson>>

<</if>>

<<endevent>>

<<playground>>

:: Glasses Refuse [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

<<if $submissive gte 1150>>
"N-no," you say, unable to make eye contact. "I don't want to."
<<elseif $submissive lte 850>>
"Fuck off pervert, I'll buy new glasses," you say.
<<else>>
"I'll just buy new glasses," you say.
<</if>>

"Suit yourself," <<he>> responds, and crunches your glasses underfoot. "Later loser." <<He>> saunters off.

<<faceruined>>

<<endevent>>

<<playground>>

:: School Stump [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

<<if $schoolstate is "lunch" or $schoolstate is "morning" or $schoolstate is "afternoon">>
You lean back on the stump. You close your eyes and listen to the murmuring of students in the playground.
<<else>>
You lean back on the stump. You close your eyes and listen to the chirping of birds.
<</if>>

<<if $danger gte (9900 - $allure)>>
<<eventsschoolstump>>
<<else>>
	<<if $schoolstate isnot "late">>
	<<link [[Keep relaxing (0:10)|School Stump]]>><<pass 10>><<stress -1>><<tiredness -1>><</link>><<ltiredness>><<lstress>>

	<</if>>
<<link [[Stop|School Rear Playground]]>><</link>>

<</if>>

:: School Stump Ignore [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You turn away from the pervert and shut your eyes. "You're no fun," <<he>> says. You peek a few moment's later. <<Hes>> gone.

<<endevent>>

	<<if $schoolstate isnot "late">>
	<<link [[Keep relaxing (0:10)|School Stump]]>><<pass 10>><<stress -1>><<tiredness -1>><</link>><<ltiredness>><<lstress>>

	<</if>>
<<link [[Stop|School Rear Playground]]>><</link>>

:: School Stump Flash [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

<<if $worn.lower.skirt is 1>>
You lift your $worn.lower.name, exposing your <<undiesstop>> <<He>> whistles at you and leans into the fence for a closer look.
<<else>>
You pull down your $worn.lower.name, exposing your <<undiesstop>> <<He>> whistles at you and leans into the fence for a closer look.
<</if>>

You wink at <<him>> and cover up before anyone else can see. <<He>> leaves with a smile on <<his>> face.<<fameexhibitionism 1>>

<<exhibitionism2>>

<<endevent>>
	<<if $schoolstate isnot "late">>
	<<link [[Keep relaxing (0:10)|School Stump]]>><<pass 10>><<stress -1>><<tiredness -1>><</link>><<ltiredness>><<lstress>>

	<</if>>
<<link [[Stop|School Rear Playground]]>><</link>>

:: School Stump Genital Flash [nobr]

<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>
<<if $worn.lower.skirt is 1>>
You lift your $worn.lower.name, exposing your <<undiesstop>> <<He>> whistles at you and leans into the fence for a closer look.
<<else>>
You pull down your $worn.lower.name, exposing your <<undiesstop>> <<He>> whistles at you and leans into the fence for a closer look.
<</if>>
<<flaunting>> you wink at <<him>> and cover up before anyone else can see. <<He>> leaves with a smile on <<his>> face.
<<fameexhibitionism 1>>
<<exhibitionism5>>
<<endevent>>
<<if $schoolstate isnot "late">>
	<<link [[Keep relaxing (0:10)|School Stump]]>><<pass 10>><<stress -1>><<tiredness -1>><</link>><<ltiredness>><<lstress>>

<</if>>
<<link [[Stop|School Rear Playground]]>><</link>>

:: Bra Strap Quiet [nobr]

<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>
You find a secluded space behind an outbuilding. You make sure you weren't followed, then <<pullup>> your $worn.upper.name and fix your $worn.under_upper.name.

<<endevent>>
<<playground>>

:: Bra Strap Exhibitionism [nobr]

<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You <<pullup>> your $worn.upper.name, exposing your <<breastsstop>> The <<person>> and <<his>> friends fall silent and ogle you as you fix your $worn.under_upper.name.<<pain -4>><<exhibitionism4>>

<<pain -4>><<exhibitionism4>>
<<endevent>>
<<playground>>

:: Bra Strap Turn [nobr]

<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>
You do your best to ignore the <<person>> and <<his>> friends.

<<endevent>>
<<playground>>

:: Bra Strap Angry [nobr]
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You storm over to the <<personstop>> <<He>> turns to you just in time to see you shove <<himcomma>> making <<him>> flinch. <<He>> stumbles and falls against a wall. <<His>> friends are laughing at <<him>> now.

<<endevent>>
<<playground>>