code:
:: Widgets Exams [widget]
<<widget "exam">>

Understanding:
<<if $args[0] is "science">>
	<<set $exam_chance to $science_exam>>
	<<print Math.trunc($science_exam)>> %

	<<if $NPCName[$NPCNameList.indexOf("Sirris")].love gte 10>>
		<<set $exam_chance += 5>>
		Sirris's love +5%

	<</if>>
<<elseif $args[0] is "maths">>
	<<set $exam_chance to $maths_exam>>
	<<print Math.trunc($maths_exam)>> %

	<<if $NPCName[$NPCNameList.indexOf("River")].love gte 10>>
		<<set $exam_chance += 5>>
		River's love +5%

	<</if>>
	<<if $whitneymaths is "active">>
		<<set $exam_chance -= 5>>
		Whitney's distractions -5%

	<<elseif $whitneymaths is "seat">>
		<<set $exam_chance -= 10>>
		Whitney's distractions -10%

	<</if>>
<<elseif $args[0] is "english">>
	<<set $exam_chance to $english_exam>>
	<<print Math.trunc($english_exam)>> %

	<<if $NPCName[$NPCNameList.indexOf("Doren")].love gte 10>>
		<<set $exam_chance += 5>>
		Doren's love +5%

	<</if>>
<<elseif $args[0] is "history">>
	<<set $exam_chance to $history_exam>>
	<<print Math.trunc($history_exam)>> %

	<<if $NPCName[$NPCNameList.indexOf("Winter")].love gte 10>>
		<<set $exam_chance += 5>>
		Winter's love +5%

	<</if>>
<</if>>
<<if $anxiety gte 2>>
	<<set $exam_chance -= 20>>
	Very anxious -20%

<<elseif $anxiety gte 1>>
	<<set $exam_chance -= 10>>
	Anxious -10%

<</if>>

Pass chance: <<print Math.trunc($exam_chance)>> %

<</widget>>

<<widget "exam_check">>
<<if $exam_chance lt 0>>
	<<set $exam_chance to 0>>
<</if>>
<<if $exam_chance gte V[$args[0] + '_exam_difficulty']>>
	<<set _exam_success to true>>
<<else>>
	<<set _exam_success to false>>
<</if>>
<</widget>>

<<widget "exam_difficulty">>
<<set $science_exam_difficulty to random(1, 100)>>
<<set $maths_exam_difficulty to random(1, 100)>>
<<set $english_exam_difficulty to random(1, 100)>>
<<set $history_exam_difficulty to random(1, 100)>>
<</widget>>

<<widget "exam_end">>
<<unset $exam_chance>>
<</widget>>

<<widget "school_mark">>
<<if V[$args[0] + 'trait'] gte 4>>
	an A*
<<elseif V[$args[0] + 'trait'] gte 3>>
		an A
<<elseif V[$args[0] + 'trait'] gte 2>>
	a B
<<elseif V[$args[0] + 'trait'] gte 1>>
	a C
<<elseif V[$args[0] + 'trait'] gte 0>>
	a D
<<else>>
	a F
<</if>>
<</widget>>

<<widget "school_skill_up">>
<<if V[$args[0] + 'trait'] lt 4>>
	<<set V[$args[0] + 'trait'] += 1>>
<</if>>
<<if V[$args[0] + 'trait'] gte 4>>
	<<set V[$args[0]] to 1000>>
<<elseif V[$args[0] + 'trait'] gte 3>>
	<<set V[$args[0]] to 700>>
<<elseif V[$args[0] + 'trait'] gte 2>>
	<<set V[$args[0]] to 400>>
<<elseif V[$args[0] + 'trait'] gte 1>>
	<<set V[$args[0]] to 200>>
<<elseif V[$args[0] + 'trait'] gte 0>>
	<<set V[$args[0]] to 100>>
<<else>>
	<<set V[$args[0]] to 0>>
<</if>>
<<set V[$args[0] + '_exam'] to 0>>
<<set $school to $science + $maths + $english + $history>>
<</widget>>

<<widget "school_skill_down">>
<<if V[$args[0] + 'trait'] gte 0>>
	<<set V[$args[0] + 'trait'] -= 1>>
<</if>>
<<if V[$args[0] + 'trait'] gte 4>>
	<<set V[$args[0]] to 1000>>
<<elseif V[$args[0] + 'trait'] gte 3>>
	<<set V[$args[0]] to 700>>
<<elseif V[$args[0] + 'trait'] gte 2>>
	<<set V[$args[0]] to 400>>
<<elseif V[$args[0] + 'trait'] gte 1>>
	<<set V[$args[0]] to 200>>
<<elseif V[$args[0] + 'trait'] gte 0>>
	<<set V[$args[0]] to 100>>
<<else>>
	<<set V[$args[0]] to 0>>
<</if>>
<<set V[$args[0] + '_exam'] to 0>>
<<set $school to $science + $maths + $english + $history>>
<</widget>>

<<widget "exam_clamp">>
<<set V[$args[0] + '_exam'] = Math.clamp(V[$args[0] + '_exam'], -107, 200)>>
<</widget>>

<<widget "exam_clamp_all">>
<<exam_clamp science>>
<<exam_clamp maths>>
<<exam_clamp english>>
<<exam_clamp history>>
<</widget>>

<<widget "exam_cheat">>
<<if V[$args[0] + 'trait'] gte 4>>
	<<set $skulduggerydifficulty to 1100>>
<<elseif V[$args[0] + 'trait'] gte 3>>
	<<set $skulduggerydifficulty to 1100>>
<<elseif V[$args[0] + 'trait'] gte 2>>
	<<set $skulduggerydifficulty to 700>>
<<elseif V[$args[0] + 'trait'] gte 1>>
	<<set $skulduggerydifficulty to 400>>
<<elseif V[$args[0] + 'trait'] gte 0>>
	<<set $skulduggerydifficulty to 200>>
<<else>>
	<<set $skulduggerydifficulty to 100>>
<</if>>
<</widget>>

<<widget "science_skill_up_text">>
<<switch $sciencetrait>>
<<case 4>>
	You've gained the Excellent Science trait, making pain much easier to cope with.
<<case 3>>
	You've gained the Good Science trait, making pain easier to cope with.
<<case 2>>
	You've gained the Decent Science trait, making pain moderately easier to cope with.
<<case 1>>
	You've gained the Passable Science trait, making pain slightly easier to cope with.
<<default>>
	Keep at it, and you're sure to benefit.
<</switch>>
<<if $sciencetrait lt 4>>
	However, the next exam will be harder.
<</if>>
<</widget>>

<<widget "maths_skill_up_text">>
<<switch $mathstrait>>
<<case 4>>
	You've gained the Excellent Maths trait, letting you make 100% more from tips and negotiated fees.
<<case 3>>
	You've gained the Good Maths trait, letting you make 75% more from tips and negotiated fees.
<<case 2>>
	You've gained the Decent Maths trait, letting you make 50% more from tips and negotiated fees.
<<case 1>>
	You've gained the Passable Maths trait, letting you make 25% more from tips and negotiated fees.
<<default>>
	Keep at it, and you're sure to benefit.
<</switch>>
<<if $mathstrait lt 4>>
	However, the next exam will be harder.
<</if>>
<</widget>>

<<widget "english_skill_up_text">>
<<switch $englishtrait>>
<<case 4>>
	You've gained the Excellent English trait, making speech actions five times as effective.
<<case 3>>
	You've gained the Good English trait, making speech actions four times as effective.
<<case 2>>
	You've gained the Decent English trait, making speech actions three times as effective.
<<case 1>>
	You've gained the Passable English trait, making speech actions (plead, moan, demand, apologise, mock, tease) twice as effective.
<<default>>
	Keep at it, and you're sure to benefit.
<</switch>>
<<if $englishtrait lt 4>>
	However, the next exam will be harder.
<</if>>
<</widget>>

<<widget "history_skill_up_text">>
<<switch $historytrait>>
<<case 4>>
	You've gained the Excellent History trait, teaching you more secret paths around town.
<<case 3>>
	You've gained the Good History trait, teaching you more secret paths around town.
<<case 2>>
	You've gained the Decent History trait, teaching you more secret paths around town.
<<case 1>>
	You've gained the Passable History trait, teaching you secret paths around town.
<<default>>
	Keep at it, and you're sure to benefit.
<</switch>>
<<if $historytrait lt 4>>
	However, the next exam will be harder.
<</if>>
<</widget>>

:: Science Exam
<<schooleffects>><<effects>>

<<set _time_temp to (59 - $minute)>>
<<pass _time_temp>>

<<switch $phase>>
<<case 0>>
	You focus on the exam, doing your best to tune out the scribbling and groans of other students.

<<case 1>>
	You take a deep breath, and try not to let the pressure get to you.

<<case 2>>
	<<skulduggerycheck>>
	<<npc Sirris>><<person1>>
	You watch Sirris. <<Hes>> supposed to keep an eye on the room, but spends more time looking out the window. You should be able to copy your neighbours if you're

	<<if $skulduggerysuccess is 1>>
		<<set $exam_chance += 10>>
		careful. You manage to glean a few answers to some of the tougher questions. | +10% Pass chance

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

		<</if>>

	<<else>>
		<<set $exam_chance -= 10>>
		care-

		"Focus on your own paper," Sirris says, looking right at you. <<He>> wasn't as distracted as <<he>> appeared.<<gstress>><<stress 6>> | -10% Pass chance<<gdelinquency>><<detention 5>>

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

		<</if>>

	<</if>>
	<<endevent>>
<</switch>>

<<exam_check science>>
<<endevent>>

<<npc Sirris>><<person1>>
Sirris looks at <<his>> watch now and then. "And done," <<he>> says. "I hope that wasn't too bad." Some students continue to scribble, but Sirris zips around the room in <<his>> haste to retrieve the booklets.

The class are allowed to chat while Sirris marks the papers. They make up for the period of silence with more noise than usual, though some are too nervous to talk.

The bell rings. Sirris stands by the door, smiling as <<he>> hands the booklets back to passing students. <<He>> holds out yours,
<<if _exam_success is true>>
	<<if $sciencetrait gte 4>>
		<<school_skill_up science>>
		<<school_mark science>> printed and circled on the front, with "Distinction" written beside it in green ink.<<ggcontrol>><<control 25>>
		<<distinction_stat>>
	<<else>>
		<<school_skill_up science>>
		<<school_mark science>> printed and circled on the front. You've improved your mark!

		<<science_skill_up_text>>
	<</if>>
<<else>>
	<<school_mark science>> printed and circled on the front. The expected mark.
<</if>>

You join the throng of students in the hallway.

<<endevent>>
<<exam_end>>

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

:: Maths Exam
<<schooleffects>><<effects>>

<<set _time_temp to (59 - $minute)>>
<<pass _time_temp>>

<<switch $phase>>
<<case 0>>
	You focus on the exam, doing your best to tune out the scribbling and groans of other students.

<<case 1>>
	You take a deep breath, and try not to let the pressure get to you.

<<case 2>>
	<<skulduggerycheck>>
	You glance sideways. The <<generatey1>><<person1>><<person>> beside you seems confident. You cover your glances with innocuous movements,

	<<endevent>>
	<<npc River>><<person1>>

	<<if $skulduggerysuccess is 1>>
		<<set $exam_chance += 10>>
		hoping to avoid River's gaze. You manage to glean a few answers to some of the tougher questions. | +10% Pass chance

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

		<</if>>

	<<else>>
		<<set $exam_chance -= 10>>
		hoping to-

		"Eyes in front," River says, piercing you with <<his>> gaze. <<He>> doesn't say another word on the matter, but you know your paper will be under thorough scrutiny.<<gstress>><<stress 6>> | -10% Pass chance<<gdelinquency>><<detention 5>>

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

		<</if>>

	<</if>>
	<<endevent>>
<<case 3>>
	<<if $danceSuccess>>
		<<npc Whitney>><<person1>>
		You glance behind you as Whitney throws, and manage to snatch the rubber from the air. Deprived of <<his>> projectile, Whitney can only glower.<<set $exam_chance += 5>> | +5% Pass chance

		<<endevent>>
	<<else>>
		<<npc Whitney>><<person1>>
		You glance behind you as Whitney throws, hoping to snatch the rubber from the air.

		<<endevent>>
		<<npc River>><<person1>>
		"Eyes in front," River says, piercing you with <<his>> gaze. <<He>> doesn't say another word on the matter, but you know your paper will be under thorough scrutiny.<<gstress>><<stress 6>> | -10% Pass chance<<set $exam_chance -= 10>>

		<<endevent>>
		<<npc Whitney>><<person1>>
		Whitney stops harassing you, but you just know <<hes>> smirking.

		<<endevent>>
	<</if>>
<<case 4>>
	<<npc Whitney>><<person1>>
	<<if $pronoun is "f">>
		You pull up Whitney's skirt, and wrap your fingers around <<his>> <<print $NPCName[$NPCNameList.indexOf("Whitney")].penisdesc>>.
	<<else>>
		You unzip Whitney's trousers, and wrap your fingers around <<his>> <<print $NPCName[$NPCNameList.indexOf("Whitney")].penisdesc>>.
	<</if>>
	You <<handtext>> stroke <<him>>.

	<<if $handskill gte random(1, 1000)>>
		You need to finish <<him>> quick, before River notices. <<He>> has the sense not to make a noise, but shudders as <<he>> climaxes over your hand.<<set $player.bodyliquid.leftarm.semen += 1>> | +10% Pass chance<<set $exam_chance += 5>>

		<<He>> leans back, content, allowing you to work through the booklet.

	<<else>>
		You know you need to finish <<him>> quick, before River notices, but it's difficult with such limited movement.
		<<endevent>><<npc River>><<person1>>

		"Stop fidgeting," River says, piercing you with <<his>> gaze. You pull your hand away, leaving you to endure Whitney's sporadic groping.

	<</if>>
<<default>>
	<<npc Whitney>><<person1>>
	<<if $pronoun is "f">>
		You pull up Whitney's skirt, and press your fingers against <<his>> clit.
	<<else>>
		You unzip Whitney's trousers, and press your fingers against <<his>> clit.
	<</if>>
	You <<handtext>> stroke <<him>>.

	<<if $handskill gte random(1, 1000)>>
		You need to finish <<him>> quick, before River notices. <<He>> has the sense not to make a noise, but shudders as <<he>> climaxes. | +10% Pass chance<<set $exam_chance += 5>>

		<<He>> leans back, content, allowing you to work through the booklet.

	<<else>>
		You know you need to finish <<him>> quick, before River notices, but it's difficult with such limited movement.
		<<endevent>><<npc River>><<person1>>

		"Stop fidgeting," River says, piercing you with <<his>> gaze. You pull your hand away, leaving you to endure Whitney's sporadic groping.

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

<<exam_check maths>>
<<endevent>>

<<npc River>><<generatey2>><<person1>>
River watches throughout, casting an occasional glance at the clock on the wall. "Put down your pens," <<he>> says. A <<person2>><<person>> keeps writing, until River shoots <<him>> a sharp look.

<<person1>>
River directs the class to solve some "fun" puzzles at the back of your textbooks while <<he>> marks the exam. It only takes a few minutes.

The marked booklet lands on your desk,
<<if _exam_success is true>>
	<<if $mathstrait gte 4>>
		<<school_skill_up maths>>
		<<school_mark maths>> printed and circled on the front, with "Distinction" written beside it in green ink.<<ggcontrol>><<control 25>>
		<<distinction_stat>>
	<<else>>
		<<school_skill_up maths>>
		<<school_mark maths>> printed and circled on the front. You've improved your mark!

		<<maths_skill_up_text>>
	<</if>>
<<else>>
	<<school_mark maths>> printed and circled on the front. The expected mark.
<</if>>

The bell rings. You shuffle with the other students into the throng of the hallway.

<<endevent>>
<<exam_end>>

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

:: English Exam
<<schooleffects>><<effects>>

<<set _time_temp to (59 - $minute)>>
<<pass _time_temp>>

<<switch $phase>>
<<case 0>>
	You focus on the exam, doing your best to tune out the scribbling and groans of other students.

<<case 1>>
	You take a deep breath, and try not to let the pressure get to you.

<<case 2>>
	<<skulduggerycheck>>
	<<endevent>>
	<<npc Doren>><<person1>>

	Doren's back is often turned to you, but <<his>> path is unpredictable.

	<<if $skulduggerysuccess is 1>>
		<<set $exam_chance += 10>>
		<<He>> could turn at any moment, but you manage to read your neighbour's papers with daring glances. | +10% Pass chance

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

		<</if>>

	<<else>>
		<<set $exam_chance -= 10>>
		You wait until <<he>> passes, then sneak a glance at your neighbour. Doren spins, and smacks <<his>> hand against your desk.

		"Got the fly," <<he>> says. <<Hes>> sparing you the embarrassment of being caught cheating, but your paper will be under extra scrutiny.<<gstress>><<stress 6>> | -10% Pass chance<<gdelinquency>><<detention 5>>

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

		<</if>>

	<</if>>
	<<endevent>>
<<default>>
	<<npc Kylar>><<person1>>
	You glance at Kylar's booklet. <<He>> notices and, eager to please, keeps <<his>> arm from obscuring your view as <<he>> writes. <<He>> has creative answers to the tougher questions.

<</switch>>

<<exam_check english>>
<<endevent>>

<<npc Doren>><<person1>>
Doren prowls throughout, then lifts the tray on <<his>> desk. <<He>> walks around the room, gathering the booklets.

"Won't be long," <<he>> says, tearing through the first paper with a red pen. <<Hes>> unbothered by the chatter that erupts. <<Hes>> soon finished.

Your marked booklet skids in front of you,
<<if _exam_success is true>>
	<<if $englishtrait gte 4>>
		<<school_skill_up english>>
		<<school_mark english>> printed and circled on the front, with "Distinction" written beside it in green ink.<<ggcontrol>><<control 25>>
		<<distinction_stat>>
	<<else>>
		<<school_skill_up english>>
		<<school_mark english>> printed and circled on the front. You've improved your mark!

		<<english_skill_up_text>>
	<</if>>
<<else>>
	<<school_mark english>> printed and circled on the front. The expected mark.
<</if>>

The bell rings. You shuffle with the other students into the throng of the hallway.

<<endevent>>
<<exam_end>>

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

:: History Exam
<<schooleffects>><<effects>>

<<set _time_temp to (59 - $minute)>>
<<pass _time_temp>>

<<switch $phase>>
<<case 0>>
	You focus on the exam, doing your best to tune out the scribbling and groans of other students.

<<case 1>>
	You take a deep breath, and try not to let the pressure get to you.

<<case 2>>
	<<skulduggerycheck>>
	<<npc Winter>><<person1>>
	Winter occupies <<himself>> with a book, and doesn't seem to be paying attention.

	<<if $skulduggerysuccess is 1>>
		<<set $exam_chance += 10>>
		You know that isn't true. There are moments, here and there, where the teacher's attention is taken. You glance at your neighbours during those moments, and manage to glean a few answers to the tougher questions. | +10% Pass chance

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

		<</if>>

	<<else>>
		<<set $exam_chance -= 10>>
		You take the chance, and look at your neighbour's paper.

		<<if $robinhistory is "seat">>
			Robin nudges you. "You shouldn't cheat!"

			Winter glances up. "No talking." You won't be able to get away with it now.<<gstress>><<stress 6>>

		<<else>>
			"No cheating," Winter says without looking up. You know <<he>> was referring to you, though <<he>> gives no indication.<<gstress>><<stress 6>> | -10% Pass chance<<gdelinquency>><<detention 5>>

		<</if>>

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

		<</if>>

	<</if>>
	<<endevent>>
<</switch>>

<<exam_check history>>
<<endevent>>

<<npc Winter>><<person1>>
Winter thumbs through the pages of <<his>> book while the students work. <<He>> thuds it shut. "Done," <<he>> announces.

You form into another orderly queue. Winter marks each booklet as <<he>> receives them, <<his>> red pen ablur. Yours is no different. <<He>> hands it back to you,
<<if _exam_success is true>>
	<<if $historytrait gte 4>>
		<<school_skill_up history>>
		<<school_mark history>> printed and circled on the front, with "Distinction" written beside it in green ink.<<ggcontrol>><<control 25>>
		<<distinction_stat>>
	<<else>>
		<<school_skill_up history>>
		<<school_mark history>> printed and circled on the front. You've improved your mark!

		<<history_skill_up_text>>
	<</if>>
<<else>>
	<<school_mark history>> printed and circled on the front. The expected mark.
<</if>>

The bell rings, and you join the throng of students in the hallway.

<<endevent>>
<<exam_end>>

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


code:
:: Widgets School Fame [widget]
<<widget "schoolfameboard">>

You see a large group of students up ahead. They're gathered around an announcement board, but you can't see what they're looking at. They murmur with excitement.

<<generatey1>><<generatey2>><<person1>>A <<person>> turns and falls silent when <<he>> sees you. <<He>> stares at you. A <<person2>><<person>> spots you next, and whispers to <<his>> friend. More and more turn to look at you. The group parts and reveals the board.

It's covered with pictures of you.

<<if $famerape gte $famesex>>
	<<if $famebestiality gte 1000>>
	Being raped. By so many different people. Even animals appear to ravage you in some of them.
	<<else>>
	Being raped. By so many different people.
	<</if>>
<<else>>
	<<if $famebestiality gte 1000>>
	Being fucked. By so many different people. Even animals appear to ravage you in some of them.
	<<else>>
	Being fucked. By so many different people.
	<</if>>
<</if>>

<<if $famesex gte $famerape and $famebestiality lt 1000>>
You stare at the board. You feel angry.
<<gtrauma>><<trauma 6>>

	<<if $promiscuity gte 75>>
	<<link [[Take control|School Fame Gangbang]]>><<generatey3>><<generatey4>><<generatey5>><<generatey6>><<set $sexstart to 1>><</link>><<promiscuous5>>

	<</if>>
<<link [[Look away|School Fame Away]]>><<set $cool to 1>><</link>><<lllcool>>

<<else>>

You stare at the board. You don't feel anything.
<<lllcool>><<gtrauma>><<trauma 6>><<set $cool to 0>>

<<endevent>>

<<npc Leighton>><<person1>>Leighton pushes through the crowd. "There's nothing to see here," <<he>> says. "I'm sure you have better places to be." The crowd disperses. Some students sneak pictures from the wall and hide them in their bags.

Leighton starts tearing them down, but <<he>> puts them in <<his>> own pocket. <<He>> doesn't acknowledge you. <<He>> removes the last of the pictures and leaves you stood alone in the corridor.

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

<</if>>

<</widget>>

:: School Fame Blackmail
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You follow <<person1>> into <<his>> office and stand in front of <<his>> desk while <<he>> takes <<his>> seat. <<He>> reclines and examines you.

"I have something interesting," <<he>> says, an odd smile on <<his>> face. "Pictures. Of you. Doing such lewd things. Pictures that everyone in school could see." <<He>> leans forward and pulls a camera from a drawer. "Unless you cooperate. All I want is a little photoshoot. No one has to see a thing."

<<if $headblackmailed is 1>>
	"Doesn't feel good to be blackmailed, does it?" <<he>> sneers. "I'm going to enjoy putting you to work."

<<else>>
<</if>>

<<link [[Accept|School First Shoot]]>><</link>>

<<link [[Refuse|School Shoot Refuse]]>><</link>>

:: School Fame Blackmail Refuse
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You turn away from Leighton, but <<he>> steps forward and grasps your shoulder. "You better do as I say, believe me." <<He>> says, quiet enough that only you can hear. "Or things will be difficult for you."

<<link [[Enter|School Fame Blackmail]]>><</link>>

<<link [[Shake off|Hallways]]>><<set $schoolfamerefused to 1>><<endevent>><<set $eventskip to 1>><</link>>

:: School First Shoot
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You nod, and the headteacher smiles. "Lock the door," <<he>> says. You do so. <<He>> stands and walks in front of <<his>> desk. "Now <<girl>>, I want you to smile. That's all."

<<He>> takes a picture. Then another from a different angle. This continues for several minutes. <<He>> asks you to strike specific poses, but nothing lewd. "There," <<he>> says. <<He>> sounds satisfied. "That'll be all. For today. I want you to return every school day. Whatever time you wish, but if you miss a day, I'll make sure you regret it." <<He>> opens the door and ushers you out.

<<endevent>>

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

:: School Shoot Refuse
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $submissive gte 1150>>
	"N-no," you say. "I won't let you abuse me." You flee from the room.

<<elseif $submissive lte 850>>
	"Pervert," you say. "Do your worst." You march from the room.
<<else>>
	"I don't care what you have," you say. You leave the room.
<</if>>

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

:: Head's Office Photoshoot
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<pass 20>>

Leighton retrieves <<his>> camera from the drawer and leers at you.

<<if $rng gte 61>>
	"Let's see some skin," <<he>> says. "Strip."

	<<strip>>
	You <<nervously>> remove your clothing. You feel <<his>> eyes taking in your exposed body. "Good," <<he>> says. "Worth every penny." <<He>> brings the camera up to <<his>> eyes and takes a picture. Then another. <<He>> circles around you, snapping from different angles.

	<<fameexhibitionism 10 pic>>
<<else>>
	"I never get bored of that outfit," <<he>> says. <<He>> brings the camera up to <<his>> eyes and takes a picture. <<He>> circles around you, snapping from different angles. <<He>> occasionally stops to adjust your clothing, opening a button on your shirt or tugging down your $worn.lower.name to show more of your hips.

<</if>>

<<if $pain gte 60>>
	<<He>> makes no mention of your tears.

<</if>>

<<set $rng to random(1, 100)>>
<<if $rng gte 61>>
	<<He>> asks you to bend over, kneel, and other suggestive poses.
	<<fameexhibitionism 10 pic>>
<<else>>
	<<He>> asks you to adopt various poses, but nothing too lewd.
<</if>>

After a while <<he>> puts down <<his>> camera. "Don't go anywhere just yet," <<he>> says. <<He>> steps beside you, and strokes your hair with <<his>> left hand.

<<set $rng to random(1, 100)>>
<<if $rng gte 81>>
	<<He>> lets go with reluctance. You can tell <<he>> wants you.

	<<link [[Sex|Head's Office Photoshoot Sex]]>><<set $sexstart to 1>><<set $phase to 0>><</link>>

	<<if $promiscuity gte 15>>
		<<link [[Offer sex for money|Head's Office Photoshoot Seduce]]>><</link>>

	<</if>>
	<<link [[Leave|Head's Office Photoshoot Leave]]>><</link>>

<<else>>
	<<He>> turns away. "That'll be all," <<he>> says. "Here." <<He>> hands you <<moneyGain 50>>.

	<<clotheson>>

	You count the money as you leave the office.

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

<</if>>

:: School Fame Gangbang
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<maninit>>
	<<set $enemytrust += 50>>

	You put your hands on your hips. "Why are you looking at pictures?" you ask. "I'm right here." The crowd falls quiet and stares. You can tell they're hungry for you. You grasp the <<person1>><<persons>> arm and pull <<him>> closer. It emboldens the others.
	<<famesex 30>><<promiscuity5>>

<</if>>

<<effects>>
<<effectsman>><<man>>

<<audience>>

<<stateman>>

<<actionsman>>

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

:: School Fame Away
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<endevent>>

<<npc Leighton>><<person1>>Leighton pushes through the crowd. "There's nothing to see here," <<he>> says. "I'm sure you have better places to be." The crowd disperses. Some students sneak pictures from the wall and hide them in their bags.

Leighton starts tearing them down, but <<he>> puts them in <<his>> own pocket. <<He>> doesn't acknowledge you. <<He>> removes the last of the pictures and leaves you stood alone in the corridor.

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

:: School Fame Gangbang Finish
<<effects>>

<<if $finish is 1>>
	The crowd backs away from you. "Careful now," you say. "Or we'll all get detention together." You think some of them would like that, but they cease all the same.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	You knock the students away from you. "Careful now," you say. "Or we'll all get detention together." You think some of them would like that, but they cease all the same.

	<<clotheson>>
	<<endcombat>>
<</if>>

<<npc Leighton>><<person1>>Leighton pushes through the crowd. "Stop this at once," <<he>> snarls. "Or I'll inform your parents." The crowd disperses. Some students sneak pictures from the wall and hide them in their bags.

Leighton starts tearing them down. <<He>> gives you an irritated look. You wink. "Nice try," you say, and leave <<him>> stood stunned in the corridor.

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

:: Head's Office Photoshoot Offer
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $submissive gte 1150>>
	"I-I need money," you say. "You can take pictures if you give me some."
<<elseif $submissive lte 850>>
	"I bet you still want to perv on me with that camera," you say. "How about we come to an arrangement?"
<<else>>
	"I know you still want pictures of me," you say. "I'll do it for cash."
<</if>>
<<exhibitionism4>>

<<Hes>> taken aback. <<He>> runs <<his>> fingers along <<his>> desk. "I'll give you £50 per shoot. Once every school day. I'm not made of money," <<he>> says. "Clear off for now, I'm busy." You leave <<his>> office.

<<endevent>>
<<set $schoolfameconsensual to 1>>
<<set $schoolfameblackmail to 0>>

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

:: Head's Office No Photoshoots
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $submissive gte 1150>>
	"D-don't show anyone those pictures," you say. "And don't take any more."
<<elseif $submissive lte 850>>
	"The photoshoots stop," you say. "I'll keep quiet about the pictures if you do."
<<else>>
	"No more photoshoots. I'll keep quiet about the pictures if you do."
<</if>>

<<set $headblackmailed to 1>>
<<set $headphotoshoot to 1>>
"Fine," <<he>> sighs. "I underestimated you. Now fuck off."

<<set $schoolfameboard to 1>>

<<endevent>>

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

:: Head's Office Pay Photoshoots
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $submissive gte 1150>>
	"I-I need money," you say. "You can take pictures if you give me some and promise not to share any."
<<elseif $submissive lte 850>>
	"You're not gonna be sharing those pictures of me," you say. "And you're paying me for the photoshoots."
<<else>>
	"I know you still want pictures of me," you say. "Keep them to yourself and I'll do it for cash."
<</if>>
<<exhibitionism4>>

<<Hes>> taken aback. <<He>> runs <<his>> fingers along <<his>> desk. "I'll give you £50 per shoot. Once every school day. I'm not made of money," <<he>> says. "Clear off for now, I'm busy." You leave <<his>> office.

<<endevent>>
<<set $headblackmailed to 1>>
<<set $headphotoshoot to 1>>
<<set $schoolfameboard to 1>>
<<set $schoolfameconsensual to 1>>
<<set $schoolfameblackmail to 0>>

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

:: Head's Office Photoshoot Blackmail
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<pass 20>>
Leighton retrieves <<his>> camera from the drawer and leers at you.

<<if $rng gte 61>>
	"Let's see some skin," <<he>> says. "Strip."

	<<if $exhibitionism lte 54>>
		You hesitate, and <<he>> smiles. "Better me than the whole school. I'll ask one more time. Strip."
	<<else>>
	<</if>>

	<<strip>>
	You <<nervously>> remove your clothing. You feel <<his>> eyes taking in your exposed body. "Good," <<he>> says. "I don't mind you covering, it's cute." <<He>> brings the camera up to <<his>> eyes and takes a picture. Then another. <<He>> circles around you, snapping from different angles.

	<<fameexhibitionism 10 pic>>
<<else>>
	"I never get bored of that outfit," <<he>> says. <<He>> brings the camera up to <<his>> eyes and takes a picture. <<He>> circles around you, snapping from different angles. <<He>> occasionally stops to adjust your clothing, opening a button on your shirt or tugging down your $worn.lower.name to show more of your hips.

<</if>>

<<if $pain gte 60>>
	<<He>> makes no mention of your tears.

<</if>>

<<set $rng to random(1, 100)>>
<<if $rng gte 61>>
	<<He>> asks you to bend over, kneel, and other suggestive poses.
	<<fameexhibitionism 10 pic>>
<<else>>
	<<He>> asks you to adopt various poses, but nothing too lewd.
<</if>>

After a while <<he>> puts down <<his>> camera. "Don't go anywhere just yet," <<he>> says. <<He>> steps beside you, and strokes your hair with <<his>> left hand.

<<set $rng to random(1, 100)>>
<<if $rng gte 81>>
	Without warning, <<he>> seizes your hair and throws you over <<his>> desk, sending papers and knick-knacks crashing to the floor.

	<<link [[Next|Head's Office Blackmail Rape]]>><<set $molestationstart to 1>><</link>>

<<else>>
	<<He>> turns away. "That'll be all. Don't forget. I want to see you every school day."

	<<clotheson>>

	<<tearful>> you leave the office.

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

<</if>>

:: Head's Office Blackmail Rape
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>

	<<maninit>>
<</if>>
<<set $position to "doggy">>

<<effects>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
	<<link [[Next|Head's Office Blackmail Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Head's Office Blackmail Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Head's Office Blackmail Rape]]>><</link>><<nexttext>>
<</if>>

:: Head's Office Blackmail Rape Finish
<<set $outside to 0>><<set $location to "school">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	"Good <<girl>>," <<he>> says, sitting at <<his>> desk. "Remember, I want to see you every school day."

	<<clotheson>>
	<<endcombat>>

	<<tearful>> you leave the office.

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

<<else>>
	You knock the headteacher away from you, who staggers and falls.

	<<tearful>> you flee the office, hearing <<him>> laugh behind you.

	<<clotheson>>
	<<endcombat>>

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

<</if>>

:: Head's Office Photoshoot Seduce
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<set $seductiondifficulty to 8000>>
<<seductioncheck>>

<<if $seductionskill lt 1000>>You feel more confident in your powers of seduction.<</if>><<seductionskilluse>>

<<if $seductionrating gte $seductionrequired>>
	"I underestimated you," Leighton says. "How much is your ass worth? £100?" <<He>> doesn't wait for a response.
	<<promiscuity2>>

	<<link [[Next|Head's Office Photoshoot Sex]]>><<set $sexstart to 1>><<set $phase to 1>><</link>>

<<else>>
	"I'm already paying you," <<he>> says.

	You shake <<his>> hand away. "For a photoshoot. Give it," you demand. <<He>> chuckles and hands you £50. You count it as you leave the office.

	<<endevent>>
	<<clotheson>>

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

<</if>>

:: Head's Office Photoshoot Leave
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You shake <<his>> hand away. "Money," you demand. <<He>> chuckles and hands you £50. You count it as you leave the office.

<<endevent>>
<<clotheson>>

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

:: Head's Office Photoshoot Sex
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<maninit>>
	<<He>> eagerly bends you over <<his>> desk as <<his>> free hand roughly clears away the papers and books onto the floor.

<</if>>
<<set $position to "doggy">>

<<effects>>
<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

<<if $finish is 1>>
	<<link [[Next|Head's Office Photoshoot Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Head's Office Photoshoot Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Head's Office Photoshoot Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Head's Office Photoshoot Sex]]>><</link>><<nexttext>>
<</if>>

:: Head's Office Photoshoot Sex Finish

<<set $outside to 0>><<set $location to "school">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	"Good <<girl>>," <<he>> says. "Remember, I want to see you every school day."
	<<if $phase is 1>>
		<<He>> hands you <<moneyGain 150>>.
	<<elseif $phase is 0>>
		<<He>> hands you <<moneyGain 50>>.
	<</if>>

	<<clotheson>>
	<<endcombat>>
	<<tearful>> you leave the office, counting the money. A couple of students spot you leaving and whisper to each other.

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

<<elseif $enemyhealth lte 0>>
	You knock the headteacher away from you. <<He>> staggers and falls.

	<<tearful>> you flee the office, hearing <<him>> laugh behind you.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>

<<else>>
	"Fine," <<he>> says. "You shouldn't tease your betters like that. Someone will hurt you, and you'll deserve it." <<He>> hands you <<moneyGain 50>>.

	<<clotheson>>
	<<endcombat>>
	<<tearful>> you leave the office, counting the money.

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

<</if>>

repo_name: Area/degrees

license: mit


code:
:: Hallways
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<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 school hallways. Students and faculty already move through the corridors, although school has not officially begun.

	<<elseif $schoolstate is "afternoon">>
		You are in the school hallways. Some students and faculty remain despite school finishing, as the facilities stay open for a couple of hours.

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

	<<else>>
		You are in the school hallways. You hear speaking behind the various classroom doors.

	<</if>>
	<<if $exposed gte 1>>
		You dart between storerooms, hide beneath stairwells and avoid popular areas to keep your <<lewdness>> hidden.

	<</if>>
<<else>>
	The school hallways are empty.

<</if>>
<<if $arousal gte $arousalmax>>
	<<orgasmLocation "schoolHallway">>
<</if>>
<<schoolperiodtext>>
<<set $danger to random(1, 10000)>><<set $dangerevent to 0>>
<<if $whitneypantiesmaths>>
	<<if $whitneypantiesmaths is "seen">>
		You've barely stepped into the hallway when <<npc Whitney>><<person1>>Whitney and <<his>> friends surround you. "You've been a bad <<girl>>," <<he>> grins. <<His>> friends look excited. "I said no <<if $player.gender_appearance is "f">>panties<<else>>underwear<</if>>, and I meant it. I'll have to take everything now."

		<<link [[Let it happen|Bully Panties]]>><<trauma 6>><<stress 3>><<set $submissive += 1>><<npcincr Whitney dom 1>><</link>><<gtrauma>><<gstress>><<garousal>><<gdom>>

		<<link [[Fight|Bully Panties Fight]]>><<set $fightstart to 1>><<set $submissive -= 1>><<npcincr Whitney dom -1>><</link>><<ldom>>

	<<else>>
		You've barely stepped into the hallway when <<npc Whitney>><<person1>>Whitney and <<his>> friends surround you. "I think you have something to hide," <<he>> says, smiling as <<he>> feels beneath your $worn.lower.name.

		<<if $worn.under_lower.type.includes("naked")>>
			"Hmm," <<he>> continues. "I guess you're a good <<girl>> after all. You should cooperate next time."

			<<He>> and <<his>> friends saunter away.

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

		<<else>>
			"Bad <<girl>>," Whitney chides, smiling. "I'll have to take everything now."

			<<link [[Let it happen|Bully Panties]]>><<trauma 6>><<stress 3>><<set $submissive += 1>><<npcincr Whitney dom 1>><</link>><<gtrauma>><<gstress>><<garousal>><<gdom>>

			<<link [[Fight|Bully Panties Fight]]>><<set $fightstart to 1>><<set $submissive -= 1>><<npcincr Whitney dom -1>><</link>><<ldom>>

		<</if>>
	<</if>>
	<<unset $whitneypantiesmaths>>
<<elseif $stress gte $stressmax>>
<<link [[Everything fades to black...|School Passout]]>><</link>>

<<elseif $schoolstate isnot "early" and $schoolstate isnot "late" and $schoolstate isnot "earlynoschool" and $schoolstate isnot "latenoschool" and $schoolstate isnot "daynoschool" and $danger gte (9900 - $allure) and $eventskip is 0>>
	<<if $exposed gte 1>>
	<<eventschoolhallwaysexposed>>
	<<else>>
	<<eventsschoolhallways>>
	<</if>>
<<else>>
	<<schoolperiod>>

	<<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 to rear playground (0:05)|School Rear Playground]]>><<pass 5>><</link>>

		<<swimmingicon>><<link [[Sneak to pool (0:03)|School Pool Entrance]]>><<pass 3>><</link>>

		<<libraryicon>><<link [[Sneak to library (0:05)|School Library]]>><<pass 5>><</link>>

		<<toileticon>><<link [[Sneak to toilets (0:05)|School Toilets]]>><<pass 5>><</link>>

	<<else>>
		<<if $schoolstate is "afternoon" and $detention gte 1 and $detentionattended isnot 1 and $pillory_tenant.special.name isnot "Leighton">>
		<<link [[Go to detention|School Detention]]>><</link>>

			<<if $headdrive gte 1 and $headnodetention isnot 1 and $headmoney isnot 1 and $headphotoshoot isnot 1>>
			<<link [[Blackmail Leighton|Head's Office Blackmail]]>><<npc Leighton>><<person1>><<set $phase to 1>><</link>><<crime>>

			<</if>>

		<</if>>

		<<lockericon>><<link [[Lockers|School Lockers]]>><</link>>

		Outside

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

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

		Facilities

		<<eaticon>><<link [[Canteen (0:01)|Canteen]]>><<pass 1>><</link>>

		<<swimmingicon>><<link [[Pool (0:01)|School Pool Entrance]]>><<pass 1>><</link>>

		<<libraryicon>><<link [[Library (0:02)|School Library]]>><<pass 2>><</link>>

		<<if $schoolstate is "afternoon" and $detention gte 1 and $detentionattended isnot 1>>
		<<else>>
			<<headdeskicon>><<link [[Head's office (0:02)|Head's Office]]>><<pass 2>><</link>>

		<</if>>
		<<toileticon>><<link [[Toilets (0:02)|School Toilets]]>><<pass 2>><</link>>

		Classrooms

		<<scienceicon>><<link [[Science classroom (0:01)|Science Classroom]]>><<pass 1>><</link>>

		<<mathicon>><<link [[Maths classroom (0:01)|Maths Classroom]]>><<pass 1>><</link>>

		<<englishicon>><<link [[English classroom (0:01)|English Classroom]]>><<pass 1>><</link>>

		<<historyicon>><<link [[History classroom (0:01)|History Classroom]]>><<pass 1>><</link>>

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

<<set $eventskip to 0>>

:: Hallways Low Status
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $rng gte 81>>

	<<generatey1>><<generatey2>><<generatey3>>

	<<if $schoolrep.herm gte 5>>
		A <<person1>><<person>> spots you first, and whispers to <<his>> friends. As you pass, three of them grab you and shove you against a locker. The others goad them on, encouraging them to punish the "freak".

	<<elseif $schoolrep.crossdress gte 5>>
		A <<person1>><<person>> spots you first, and whispers to <<his>> friends. You overhear "crossdresser" and "pervert". As you pass, three of them grab you and shove you against a locker.

	<<else>>
		A <<person1>><<person>> spots you first, and whispers to <<his>> friends. As you pass, three of them grab you and shove you against a locker.
	<</if>>

	<<link [[Next|Hallways Low Status Molestation]]>><<set $molestationstart to 1>><</link>>

<<else>>

	<<generatey1>>A <<person1>><<person>> spots you first, and whispers to <<his>> friends. They move away from you as you approach, as if you're infectious.<<trauma 6>><<stress 6>>

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

<</if>>

:: Hallways Low Status Molestation
<<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>>

<<audience>>

<<stateman>>

<<actionsman>>

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

:: Hallways Low Status Molestation Finish
<<if $enemyhealth lte 0>>
	They back off for a moment, shocked by your aggression. <<tearful>> you flee to safety.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	"Don't forget, this is all you're good for. Come on, let's go before someone thinks <<pshes>> with us." <<tearful>> you rise to your feet.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $alarm is 1 and $rescue is 1>>
	Your screaming seems to have impacted them. "Come on, we might catch something from this thing," the <<person1>><<person>> shoves you away, and the group leave you lying there. <<tearful>> you rise to your feet.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $timer lte 0>>
	Adult voices approach, and the <<person1>><<person>> shoves you away before two teachers walk into view. <<tearful>> you pick yourself off the ground.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<else>>
	The <<person1>><<person>>, <<person2>><<person>> and <<person3>><<person>> back off from you, your clothes in their hands. Completely surrounded, you crouch and try to keep your <<lewdness>> concealed.

	"Oh my god, you stripped <<phim>> naked!"

	"<<pShes>> so embarrassed, look at <<phim>> squirm!"

	<<if $submissive gte 1150>>
		"P-please give me my clothes back. It's cold," you say, kneeling and pressing your face against the ground.

		"Now that's just pathetic," the <<person1>><<person>> says. "Why would you debase yourself further?" <<He>> drops your clothes on top of you. "Come on, this wretch is making me ill." <<tearful>> you clutch your clothing and find a quiet space to dress.

		<<clotheson>>
		<<endcombat>>

		<<link [[Next|Hallways]]>><</link>>
	<<elseif $submissive lte 850>>
		You glare at the students. "Give me back my clothes, this instant," you say with surprising confidence given your predicament.

		The <<person1>><<person>> laughs "Oh no! We'd better do what <<pshe>> says!" <<He>> throws your clothing at a ceiling light, where it catches and remains suspended. "There you go!"

		The students enjoy watching you jump and reach above you, whilst trying to keep yourself covered. You manage to knock the light askew, and your clothes come tumbling on top of you. <<tearful>> you clutch your clothing and find a quiet space to dress.

		<<clotheson>>
		<<endcombat>>

		<<link [[Next|Hallways]]>><</link>>
	<<else>>
		"Come on," says the <<person1>><<person>>. "I think that put <<phim>> in <<pher>> place." They leave you, taking your clothes with them. <<tearful>> you look around. You're alone.

		<<set $stealtextskip to 1>>
		<<stealclothes>>

		<<clotheson>>
		<<endcombat>>

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

:: Hallways High Delinquency
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $rng gte 81>>
	You hear the <<person>> breathing behind you as you walk down the empty corridor, but <<he>> doesn't do anything.

	<<endevent>>

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

<<else>>
	You hear the <<person>> breathing behind you as you walk down the empty corridor. You're halfway through when <<he>> quickens <<his>> pace and grabs you from behind. "Try calling for help," <<he>> says. "No one will come."

	<<link [[Next|Hallways High Delinquency Molestation]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Hallways High Delinquency Molestation
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>

	<<maninit>>
<</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 $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Hallways High Delinquency Molestation Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Hallways High Delinquency Molestation Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Hallways High Delinquency Molestation]]>><</link>><<nexttext>>
<</if>>

:: Hallways High Delinquency Molestation Finish
<<if $enemyhealth lte 0>>
	You shove them against a locker, giving you a chance to escape. <<tearful>> you flee to safety.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	"If you tell anyone, I'll say you attacked me. And who're they gonna believe?" <<tearful>> you struggle to your feet.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<</if>>

:: Hallways Flirt Squeeze
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

<<set $rng to random(0, 100)>>
<<promiscuity1>>
<<if $rng gte 75>>
   Smiling, you look over your shoulder, "Thanks!" you purr.
<<elseif $rng gte 50>>
   You stick out your <<bottom>>, give it a little wiggle, and look over your shoulder.
<<elseif $rng gte 37>>
   You turn to face the <<person>> and giggle, "That was nice!"
<<elseif $rng gte 25>>
   You turn to face the <<person>> and giggle, "You like it?"
<<else>>
   You wink at the <<person>>.
<</if>>

<<set $rng to random(0, 100)>>
<<if $rng gte 75>>
   <<He>> locks eyes with you briefly, and grins. You blush and hurry on. <<arousal 500>><<garousal>>
<<elseif $rng gte 50>>
   <<He>> avoids eye contact and hurries on.
<<elseif $rng gte 25>>
   "You're welcome!" <<He>> replies, and smacks your <<bottom>> as <<he>> walks away. <<pain 5>><<gpain>><<arousal 500>><<garousal>>
<<else>>
   <<He>> shoots you an angry look and mumbles, "Stupid slut!" as <<he>> turns away. <<gtrauma>><<trauma 6>>
<</if>>

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

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

You slap the <<person>> before <<he>> can get away, wiping the smirk off <<his>> face.

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

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

<<if $rng gte 81>>
	<<if $schoolrep.herm gte 5>>
		You make small talk. <<He>> seems nice enough, but when you turn to leave <<he>> grabs your arm. "I know a place we won't be disturbed," <<he>> says, running <<his>> eyes down your body and over your crotch. "I hear you have a secret."
	<<elseif $schoolrep.crossdress gte 5 and $player.gender isnot $player.gender_appearance>>
		You make small talk. <<He>> seems nice enough, but when you turn to leave <<he>> grabs your arm. "I know a place we won't be disturbed," <<he>> says, runnings <<his>> eyes down your body and over your crotch. "I hear you have a secret."
	<<else>>
		You make small talk. <<He>> seems nice enough, but when you turn to leave <<he>> grabs your arm. "I know a place we won't be disturbed," <<he>> says, running <<his>> eyes down your body.
	<</if>>

	<<if $promiscuity lte 14>>
		You aren't debauched enough to take up <<his>> offer.

	<</if>>

	<<if $promiscuity gte 15>>
		<<link [[Accept|Hallways Encounter Sex]]>><<set $sexstart to 1>><</link>><<promiscuous2>>

	<</if>>
	<<link [[Refuse|Hallways]]>><<endevent>><<set $eventskip to 1>><</link>>

<<else>>

	You make small talk. <<He>> seems nice enough.

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

<</if>>

:: Hallways Encounter Sex
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<maninit>>
	<<set $enemytrust += 100>>

	You and the <<person>> find a storeroom for some privacy.
	<<promiscuity2>>

<</if>>

<<effects>>
<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

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

:: Hallways Encounter Sex Finish
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	"That was great," <<he>> says, panting. "See you around." <<tearful>> you gather yourself.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	The <<person>> staggers from the storeroom, looking confused and dejected. <<tearful>> you gather yourself.

	<<clotheson>>
	<<endcombat>>
<<elseif $finish is 1>>

	The <<person>> looks dejected as <<he>> fixes <<his>> clothing and leaves the storeroom.

	<<clotheson>>
	<<endcombat>>
<</if>>

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

:: Hallways Exposed Classroom
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

<<if $rng gte 81>>
	You crouch and peek through a classroom window. It's empty. Once inside you stand beside the door and listen for the voices to pass, but one of the groups stops nearby. "Maybe we could use this room." They're going to come inside.

	You look around for a place to hide, but there's nowhere.

	<<link [[Climb out the window|Hallways Exposed Window]]>><</link>>

	<<link [[Let yourself be found|Hallways Exposed Classroom Molestation]]>><<set $molestationstart to 1>><</link>>

<<else>>
	You crouch and peek through a classroom window. It's empty. Once inside you stand beside the door and listen for the voices to pass.

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

<</if>>

:: Hallways Exposed Lockers
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You start checking the lockers, and soon find one that has been left unlocked. You hide inside.

<<if $rng gte 81>>

	You peek through the slits and see two groups of students pass right by you. <<generatey1>><<person1>>"I almost forgot," a <<person>> says. "I need to get something from my locker." <<He>> walks back to your hiding place, and reaches to open it.

	<<He>> faces <<his>> friends as the locker door swings open, and fails to spot you stood exposed right in front of <<him>>. "It's just my homework." You duck as <<he>> probes above you, still not looking. <<He>> grabs a folder and pulls away, shutting the door after <<him>>. You hadn't realised you were holding your breath.
	<<gstress>><<garousal>><<stress 6>><<arousal 600>>

	Once their voices subside, you gently push the door. It doesn't budge. You push harder. It still doesn't move. <<He>> locked it this time. Though your movement is restricted, you feel around the darkness for something that could help, and realise there's a cool draft around your feet. Investigating further, you find that the back of the locker is missing, and you can feel the brick wall of the school. The lower portion of which is coming loose.

	<<endevent>>

	<<if $tentacledisable is "f" and $hallucinations gte 2>>
		<<link [[Kick through|Hallways Exposed Tentacles]]>><<set $molestationstart to 1>><</link>>

	<<else>>
		You break away the brickwork, and the draft increases in strength. Knocking away all the loose bricks leaves a hole maybe just big enough for you. You put one leg through, then the other, then slowly wiggle your way further down.

		<<link [[Next|Industrial Drain]]>><<set $eventskip to 1>><</link>>

	<</if>>
<<else>>
	You peek through the slits and see two groups of students pass right by you. You wait for their voices to fade.

	<<link [[Leave|Hallways]]>><<endevent>><<set $eventskip to 1>><</link>>

<</if>>

:: Hallways Exposed Window
<<set $outside to 1>><<set $location to "school">><<schooleffects>><<effects>>

You run to the window and throw it open. You don't have enough time to be sure, but it looks safe. You climb out and drop to the pavement below.

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

:: Hallways Exposed Classroom Molestation
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>

	<<generatey1>><<generatey2>><<generatey3>><<generatey4>><<maninit>>
	<<if $delinquency lt 400>><<enable_rescue>><</if>>

	A group of four students enter the room. They stop for a moment to behold you, before deciding they want to do more than just look.

<</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 $alarm is 1 and $rescue is 1>>
	<<link [[Next|Hallways Exposed Classroom Molestation Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Hallways Exposed Classroom Molestation Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Hallways Exposed Classroom Molestation Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Hallways Exposed Classroom Molestation]]>><</link>><<nexttext>>
<</if>>

:: Hallways Exposed Classroom Molestation Finish
<<if $enemyhealth lte 0>>
	They back off for a moment, shocked by your aggression. <<tearful>> you flee to safety.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	"What did you expect? Hanging around like that." <<tearful>> you rise to your feet and watch them leave.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $alarm is 1 and $rescue is 1>>
	The <<person1>><<person>> loses their nerve. "Come on, we don't want to get caught," <<he>> says as <<he>> shoves you away. <<tearful>> you rise to your feet and watch them leave.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<</if>>

:: Hallways Exposed Tentacles

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<set $combat to 1>>
	<<set $enemytype to "tentacles">>
	<<molested>>
	<<controlloss>>

	<<tentaclestart 4 15>>

	You break away the brickwork, and the draft increases in strength. Knocking away all the loose bricks leaves a hole maybe just big enough for you. You put one leg through, then the other, then slowly wiggle your way further down. You're wondering if the school has a basement when something strokes your <<bottom>>.

<</if>>

<<statetentacles>>

<<effects>>
<<effectstentacles>>
<<tentacles>>
<<actionstentacles>>

<<if $tentacles.active lte ($tentacles.max / 2)>>
	<<link [[Next|Hallways Exposed Tentacles Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Hallways Exposed Tentacles]]>><</link>><<nexttext>>
<</if>>

:: Hallways Exposed Tentacles Finish
<<effects>>

The tentacles withdraw from you, leaving you hanging there. Without their support, the rest of the wall gives way, and you tumble down. <<tearful>> you struggle to your feet and look around.

<<clotheson>>
<<endcombat>>

<<link [[Next|Industrial Drain]]>><<set $eventskip to 1>><</link>>

:: Hallways Slime Breasts Submit willingly
<<effects>>

<<if !$worn.upper.type.includes("naked")>>
	You turn toward the <<person>>, and in one motion, <<pullup>> your $worn.upper.name. <<He>> gapes at you. "Touch me." you say.
<<else>>
	You turn toward the <<person>>, and thrust out your chest. "Touch me." you say.
<</if>>

<<promiscuity4>>
"Fuck me." you say.

The <<person>> gawks, as if not believing <<his>> eyes. <<He>> glances around, then reaches out and cups your <<breasts>> in both hands. <<if !$worn.under_upper.type.includes("naked")>><<He>> feels you up through the fabric of your $worn.under_upper.name.<<else>><<He>> feels up your bare flesh.<</if>>

<<He>> becomes more aggressive.

<<link [[Next|Hallways Slime Rape]]>><<set $sexstart to 1>><</link>>

:: Hallways Slime Breasts Obey
<<effects>>

<<if !$worn.upper.type.includes("naked")>>
	You turn toward the <<person>>, and in one motion, <<pullup>> your $worn.upper.name. <<He>> gapes at you. "T-touch," you say. "Touch me."
<<else>>
	You turn toward the <<person>>, and thrust out your chest. "T-touch," you say. "Touch me."
<</if>>

The <<person>> gawks, as if not believing <<his>> eyes. <<He>> glances around, then reaches out and cups your <<breasts>> in both hands. <<if !$worn.under_upper.type.includes("naked")>><<He>> feels you up through the fabric of your $worn.under_upper.name.<<else>><<He>> feels up your bare flesh.<</if>>

<<He>> becomes more forceful.

<<link [[Next|Hallways Slime Rape]]>><<set $molestationstart to 1>><</link>>

:: Hallways Slime Breasts Defy
<<effects>>

The slime tries to assert control, but you fight it, and manage to wrench yourself away from the <<person>>.

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

:: Hallways Slime Strip Submit willingly
<<effects>>
<<clothesstrip>>
You turn toward the <<person>>. You begin to strip. <<He>> gawks as you discard each article of clothing, until you're stood naked in the middle of the hallway. <<He>> glances around, as if looking for someone to confirm what <<hes>> seeing.

<<promiscuity5>>

"Fuck me." you say.

<<He>> steps closer, and reaches out to grope. You feel the slime urge you to moan.

The <<person>> becomes more aggressive.

<<link [[Next|Hallways Slime Rape]]>><<set $sexstart to 1>><</link>>

:: Hallways Slime Strip Obey
<<effects>>
<<clothesstrip>>
You turn toward the <<person>>. You begin to strip. <<He>> gawks as you discard each article of clothing, until you're stood naked in the middle of the hallway. <<He>> glances around, as if looking for someone to confirm what <<hes>> seeing.

<<He>> steps closer, and reaches out to grope. You feel the slime urge you to stay still.

The <<person>> becomes more forceful.

<<link [[Next|Hallways Slime Rape]]>><<set $molestationstart to 1>><</link>>

:: Hallways Slime Strip Defy
<<effects>>

<<if $slimeDefyCooldown>>
	The slime tries to assert control, however, it's still worn out from overpowering you earlier. You feel it try, but fail, to force you to strip.

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

<<elseif $corruption_slime gte ($willpower / 10)>>
	<<if $exhibitionism gte 55>>
		<<set $slimeDefyCooldown to 4>>
	<<else>>
		<<set $slimeDefyCooldown to 8>>
	<</if>>
	The slime tries to assert control. It overpowers your will, forcing you to turn toward the <<person>> and strip.
	<<ggwillpower>><<willpower 3>>

	<<He>> gawks as you discard each article of clothing, until you're stood naked in the middle of the hallway. <<He>> glances around, as if looking for someone to confirm what <<hes>> seeing.

	<<He>> steps closer, and reaches out to grope. You feel the slime urge you to stay still.

	The <<person>> becomes more forceful.

	<<link [[Next|Hallways Slime Rape]]>><<set $molestationstart to 1>><</link>>

<<else>>
	The slime tries to assert control, but you fight it, and manage to wrench yourself away from the <<person>>.
	<<gwillpower>><<willpower 1>>

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

<</if>>

:: Hallways Slime Rape

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>

	<<maninit>>
	<<if $delinquency lt 400>><<enable_rescue>><</if>>
<<elseif $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<maninit>>
<</if>>

<<effects>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

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

:: Hallways Slime Rape Finish
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	<<He>> looks away awkwardly as <<he>> puts <<his>> clothes back on. "Are you okay?" <<he>> asks. You don't respond. <<He>> shrugs, turns and walks away.

	Your knees buckle as the slime's influence departs. <<tearful>> you steady yourself.

	<<clotheson>>
	<<endcombat>>

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

<<elseif $enemyhealth lte 0>>
	You shove the <<person>> against a locker. <<tearful>> you turn and run. You almost trip as the slime punishes you for defiance.
	<<corruption -1>><<pain 8>><<stress 6>><<trauma 6>><<set $submissive -= 1>><<lcorruption>><<ggpain>><<ggtrauma>><<ggstress>>

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<else>>
	<<set $rescued += 1>>

	A crowd gathers at the end of the hall, watching. The <<person>> notices, and steps away from you. "<<pShe>> a-asked for it," <<he>> stammers. "Honest." <<He>> turns and runs.

	You feel a jolt of pain as the slime punishes you for defiance.
	<<corruption -1>><<pain 8>><<stress 6>><<trauma 6>><<set $submissive -= 1>><<lcorruption>><<ggpain>><<ggtrauma>><<ggstress>>

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<</if>>

:: Hallways Breast Tease
<<effects>>

<<if $submissive gte 1150>>
	"You like them?" you say, thrusting your chest forward to put more emphasis on your <<breasts>>.
<<elseif $submissive lte 850>>
	"Wanna beg for a touch?" you say, cupping your <<breasts>>.
<<else>>
	"Jealous?" you say, giving your <<breasts>> a little shake.
<</if>>
<<exhibitionism1>>

<<if $rng gte 51>>
	The <<person>> tries to speak, but stutters, taken aback by your forwardness. <<He>> turns and scurries away.

<<else>>
	The <<person>> leers, and takes a step closer. <<Hes>> dissuaded when <<randomteacher>> enters the corridor from an adjoining room. <<He>> turns and walks away.

<</if>>

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

:: Hallways Catcall Flirt
<<effects>>

<<if setup.clothes.lower[clothesIndex('lower', $worn.lower)].skirt is 1>>
	You lift the hem of your $worn.lower.name, just short of showing off your <<undies>>.
	<<if $submissive gte 1150>>
		"You think I'm cute?" you ask.
	<<elseif $submissive lte 850>>
		"You're all talk," you say.
	<<else>>
		"You look okay too," you say.
	<</if>>
<<else>>
	You lean against a locker.
	<<if $submissive gte 1150>>
		"You think I'm cute?" you ask.
	<<elseif $submissive lte 850>>
		"You're all talk," you say. "Wanna prove me wrong?"
	<<else>>
		"You look okay too," you say.
	<</if>>
<</if>>
<<promiscuity1>>

<<if $rng gte 51>>
	The <<person>> tries to speak, but stutters, taken aback by your forwardness. <<He>> turns and scurries away.

	<<link [[Next|Hallways]]>><<endevent>><<set $eventskip to 1>><</link>>
<<else>>
	The <<person>> leers at your body, and takes a step closer. "Let's go somewhere together," <<he>> says. <<His>> intentions are clear.

	<<link [[Refuse|Hallways Cupboard Refuse]]>><</link>>

	<<if $promiscuity gte 15>>
		<<link [[Accept|Hallways Cupboard Sex]]>><<set $sexstart to 1>><<set $phase to 0>><</link>><<promiscuous2>>

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

:: Hallways Cupboard Refuse
<<effects>>

<<if $submissive gte 1150>>
	"I'm sorry," you say. "I'm not interested."
<<elseif $submissive lte 850>>
	"Nice try," you say. "Piss off."
<<else>>
	"You're not that good," you say.
<</if>>

<<if $rng gte 51>>
	The <<person>> considers, then turns away from you. <<He>> mutters something about a "tease".

	<<link [[Next|Hallways]]>><<endevent>><<set $eventskip to 1>><</link>>
<<else>>
	"No you don't," <<he>> sneers. "I'm not someone you can toy around with." <<He>> gives your arm a rough tug.
	<<gpain>><<pain 1>><<gstress>><<stress 6>>

	<<link [[Refuse again|Hallways Cupboard Refuse 2]]>><<detention 1>><</link>><<gdelinquency>>

	<<link [[Give in|Hallways Cupboard Sex]]>><<set $sexstart to 1>><<set $phase to 1>><</link>><<promiscuous1>>

<</if>>

:: Hallways Cupboard Refuse 2
<<effects>>

You shove the <<person>> away from you. "Crazy fuck," <<he>> says. "I'm telling the <<nnpc_title "Leighton">> you shoved me."

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

:: Hallways Cupboard Sex
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<maninit>>
	<<enable_rescue>>

	<<if $phase is 0>>
		<<He>> pulls you towards a cupboard. Other students giggle as you pass. <<He>> pushes you in first, and closes the door behind <<him>>.
		<<promiscuity2>>
	<<else>>
		<<He>> grips your arm tight as <<he>> pulls you towards a cupboard. Other students giggle as you pass. <<He>> shoves you through first, and closes the door behind <<him>>. <<He>> keeps you away from the entrance, as if afraid you'll try to escape.
		<<promiscuity1>>
	<</if>>
<</if>>

<<effects>>
<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

<<if $finish is 1>>
	<<link [[Next|Hallways Cupboard Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Hallways Cupboard Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Hallways Cupboard Sex Finish]]>><</link>><<nexttext>>
<<elseif $rescue is 1 and $alarm is 1>>
	<<link [[Next|Hallways Cupboard Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Hallways Cupboard Sex]]>><</link>><<nexttext>>
<</if>>

:: Hallways Cupboard Sex Finish
<<set $outside to 0>><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	"Thanks <<if $player.gender_appearance is "f">>girl<<else>>boy<</if>>," <<he>> says as <<he>> adjust <<his>> clothing. <<He>> leaves the cupboard.

	<<clotheson>>
	<<endcombat>>

	<<tearful>> you follow suit.

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $enemyhealth lte 0>>
	You shove <<him>> aside, giving you the chance you need.

	<<tearful>> you escape the cupboard.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<elseif $finish is 1>>
	"Fucking tease," <<he>> says as <<he>> adjusts <<his>> clothing. <<He>> leave the cupboard.

	<<clotheson>>
	<<endcombat>>

	<<tearful>> you follow suit.

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<<else>>
	<<set $rescued += 1>>

	Someone bashes on the door. "What's going on in there?" says a strong voice. It's Doren.

	The <<person>> fixes <<his>> clothing and opens the door. "I ain't done nothing," <<he>> says. Doren isn't fooled. The <<person>> finds <<himself>> grabbed by the arms and hauled away.

	<<clotheson>>
	<<endcombat>>

	<<tearful>> you leave the cupboard.

	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>
<</if>>

:: Hallways Flash
<<effects>>

You lift the hem of your $worn.lower.name, giving the <<person>> a brief glimpse of your $worn.under_lower.name.
<<if $submissive gte 1150>>
	"Oops!" you say. "Clumsy me."
<<elseif $submissive lte 850>>
	"Like what you saw?" you say. "I bet you did."
<<else>>
	"Like what you see?" you say.
<</if>>
<<exhibitionism2>>

<<if $rng gte 51>>
	The <<person>> blushes and averts <<his>> eyes. <<He>> tries to speak, but stutters, taken aback by your forwardness. <<He>> turns and scurries away.

	<<link [[Next|Hallways]]>><<endevent>><<set $eventskip to 1>><</link>>
<<else>>
	The <<person>> gapes a moment, then smiles and takes a step closer. "Let's go somewhere together," <<he>> says. <<His>> intentions are clear.

	<<link [[Refuse|Hallways Cupboard Refuse]]>><</link>>

	<<if $promiscuity gte 15>>
		<<link [[Accept|Hallways Cupboard Sex]]>><<set $sexstart to 1>><<set $phase to 0>><</link>><<promiscuous2>>

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

:: Hallways Lewd Flash
<<effects>>

You lift the hem of your $worn.lower.name, giving the <<person>> a brief glimpse of your <<genitals>>.
<<if $submissive gte 1150>>
	"Oops!" you say. "Clumsy me."
<<elseif $submissive lte 850>>
	"Like what you saw?" you say. "I bet you did."
<<else>>
	"Like what you see?" you say.
<</if>>
<<exhibitionism4>>

<<if $rng gte 51>>
	The <<person>> blushes and averts <<his>> eyes. <<He>> looks like <<he>> wants to say something, but instead turns and scurries away.

	<<link [[Next|Hallways]]>><<endevent>><<set $eventskip to 1>><</link>>
<<else>>
	The <<person>> gapes, then glances around to check if anyone saw what you did. No one seems to. <<He>> leers at your body and takes a step closer. "Let's go somewhere together," <<he>> says. <<His>> intentions are clear.

	<<link [[Refuse|Hallways Cupboard Refuse]]>><</link>>

	<<if $promiscuity gte 15>>
		<<link [[Accept|Hallways Cupboard Sex]]>><<set $sexstart to 1>><<set $phase to 0>><</link>><<promiscuous2>>

	<</if>>

<</if>>

:: Whitney Bully Parasite Event Submit

<<effects>>
<<eventwhitneyparasitecontinue>>

:: Whitney Bully Parasite Event Escape Attempt

<<effects>>
<<set $rng to random(0, 200)>>
<<if $physiqueSuccess>>
	With burst of strength, you throw off the <<group>> and prepare for a fight.

	<<link [[Fight|Whitney Bully Parasite Event Combat]]>><<set $molestationstart to 1>><</link>><<nexttext>>
<<else>>
	<<physiquedifficulty 1 10000 true>>
	<<if $physiqueSuccess>>
		Horrified and enraged, you struggle for your freedom. You throw one of Whitney's cronies off you, shocking the others with your brawn. Another replaces them though, and then another, until they have enough for Whitney to plant a firm punch into your abdomen, robbing you of your strength.
		<<pain +10>><<gpain>>
	<<else>>
		Horrified, you struggle against the <<group>>, hoping you can break their grip just enough to slip out and away to safety. Unfortunately, you aren't enough to escape the grip of this many strong hands. Your pathetic attempt at struggling earns you a punch to the gut from Whitney, and a slap across the face for even daring to resist.
		<<pain +15>><<ggpain>>
	<</if>>

	<<eventwhitneyparasitecontinue>>
<</if>>

:: Whitney Bully Parasite Event Combat

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<set $outside to 0>><<schooleffects>><<effects>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>><<npcidlegenitals>>
	<<set $enemyanger += 200>>
	<<set $enemytrust -= 100>>
	"You're getting stripped, bitch" the <<person>> says. "Whether you want it or not".

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

<<actionsman>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Whitney Bully Parasite Event Combat Victory]]>><</link>><<nexttext>>
<<elseif $pain is 100>>
	<<link [[Next|Whitney Bully Parasite Event Combat Loss]]>><</link>><<nexttext>>
<<elseif $worn.upper.type.includes("naked") and $worn.lower.type.includes("naked") and $worn.under_lower.type.includes("naked") and $worn.under_upper.type.includes("naked")>>
	<<link [[Next|Whitney Bully Parasite Event Combat Loss]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Whitney Bully Parasite Event Combat Victory]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Whitney Bully Parasite Event Combat]]>><</link>><<nexttext>>
<</if>>

:: Whitney Bully Parasite Event Combat Loss

<<effects>>
<<if $worn.upper.type.includes("naked") and $worn.lower.type.includes("naked") and $worn.under_lower.type.includes("naked") and $worn.under_upper.type.includes("naked")>>
	Having stripped you the gang relent, but they're still far from done with you.
<<else>>
	Having beaten you into submission the gang relent, but they're still far from done with you.
<</if>>

<<endcombat>>
<<npc Whitney>><<person1>>
<<eventwhitneyparasitecontinue>>

:: Whitney Bully Parasite Event Combat Victory
<<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	<<tearful>> you leave Whitney and <<person1>><<his>> friends panting on the floor.

<<else>>
	You bask in the thrill of victory as your foes whimper in pain on the hallway floor. Having an audience for your feat of combat prowess certainly doesn't hurt your ego or your reputation either.
	<<status 15>><<ggcool>>

<</if>>

<<endcombat>>
<<clotheson>>

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

:: Hallways Exposed Hypnosis
<<effects>>

<<generatey1>><<generatey2>><<generatey3>><<generatey4>><<person1>>
With a serene grace, you step out into the open. The students stop at the sight of you, and their mouths gape as you pass them by.<<fameexhibitionism 6>>

<<if random(1, 2) is 2>>
	You pick up your feet after rounding the corner, as your grace gives way to a thrilling fear. You duck into a maintenance cupboard, close it behind you, and sink to the ground with your back to the door. That felt strange.

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

<<else>>
	They follow, surround you, and trap you against the wall. <<covered>>

	<<if $promiscuity gte 75>>
		<<link [[Goad|Hallways Exposed Goad]]>><</link>><<promiscuous5>>

	<</if>>
	<<link [[Tell them to let you go|Hallways Exposed Tell]]>><<def 1>><</link>>

	<<link [[Remain silent|Hallways Exposed Silent]]>><</link>>

<</if>>

:: Hallways Exposed Hypnosis Resist
<<effects>>

<<if $willpowerSuccess>>
	You push the thoughts away, and crouch in the corner until the students pass.

<<else>>
	You recoil in horror, fall to the ground, and scramble into the corner. The students pass without noticing you, but your heart is left pounding.<<gpain>><<gtrauma>><<gstress>><<pain 4>><<trauma 6>><<stress 6>>

<</if>>

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

:: Hallways Exposed Tell
<<effects>>

<<if $submissive gte 1150>>
	"Pl-please let me go," you say.
<<elseif $submissive lte 850>>
	"Get out of my way," you say. "Or else."
<<else>>
	"Please let me go," you say.
<</if>>

<<if random(1, 2) is 2>>
	They hesitate. Then a <<person>> steps aside, allowing you to pass.

	You pick up your feet after rounding the corner, as your grace gives way to a thrilling fear. You duck into a maintenance cupboard, close it behind you, and sink to the ground with your back to the door. That felt strange.

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

<<else>>
	"Not gonna happen," says a <<person>>. <<He>> and a <<person2>><<person>> grasp your arms, and tug you away from the wall. Someone puts out a leg, tripping you. You fall to your knees. <<gpain>><<gtrauma>><<gstress>><<pain 4>><<trauma 6>><<stress 6>>

	You know they want to take it further, but none are willing to make the next move.

	<<link [[Stay still|Hallways Exposed Still]]>><</link>><<difficulty 50>>

	<<link [[Kick|Hallways Exposed Kick]]>><</link>><<physiquedifficulty 1 8000>>

<</if>>

:: Hallways Exposed Silent
<<effects>>

<<if random(1, 2) is 2>>
	They hesitate. Then a <<person>> steps aside, allowing you to pass.

	You pick up your feet after rounding the corner, as your grace gives way to a thrilling fear. You duck into a maintenance cupboard, close it behind you, and sink to the ground with your back to the door. That felt strange.

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

<<else>>
	A <<person1>><<person>> and a <<person2>><<person>> grasp your arms, and tug you away from the wall. Someone puts out a leg, tripping you. You fall to your knees. <<gpain>><<gtrauma>><<gstress>><<pain 4>><<trauma 6>><<stress 6>>

	You know they want to take it further, but none are willing to make the next move.

	<<link [[Stay still|Hallways Exposed Still]]>><</link>><<difficulty 50>>

	<<link [[Kick|Hallways Exposed Kick]]>><</link>><<physiquedifficulty 1 8000>>

<</if>>

:: Hallways Exposed Doren
<<effects>>

"What happened to your clothes <<lass>>?" asks Doren. "Here." <<He>> tugs the shirt off <<his>> back, exposing <<his>>
<<if $pronoun is "m">>
	thick chest.
<<else>>
	sports bra.
<</if>>
<<He>> hands it to you without looking. <<He>> doesn't seem bothered by <<his>> own exposure. "Just until we get to the staff room. We'll get you a spare uniform there."

The pair of you draw some odd looks on the walk over. The staff room is small, with several chairs around a table in the middle. Doren rummages in a cupboard, then places a neatly-folded uniform on the table.

"Just leave the shirt anywhere," <<he>> says. "I've got spare kit." <<He>> leaves you to dress.

<<link [[Next|Hallways]]>>
	<<set $eventskip to 1>>
	<<endevent>>
	<<if $worn.upper.exposed gte 1>>
		<<upperwear 5>>
	<</if>>
	<<if $worn.lower.exposed gte 1>>
		<<if $player.gender_appearance is "f">>
			<<lowerwear 7>>
		<<else>>
			<<lowerwear 6>>
		<</if>>
	<</if>>
<</link>>

:: Hallways Exposed Still
<<effects>>

<<if random(1, 2) is 2>>
	You remain still as the group goad each other into assaulting you.

	"What's of interests up there?" says a deep voice. It's Doren.
	<<endevent>><<npc Doren>><<person1>>
	The students jerk into movement, any plans they had abandoned. They shuffle away.

	Doren stops at the sight of you, and averts <<his>> eyes.

	<<link [[Next|Hallways Exposed Doren]]>><</link>>
<<else>>
	You remain still as the group goad each other into assaulting you. The <<person1>><<person>> makes the first move. <<He>> crouches beside you, puts an arm around your waist, and gives your <<bottom>> a sharp smack.

	<<link [[Next|Hallways Exposed Gang]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Hallways Exposed Kick
<<effects>>

<<if $physiqueSuccess>>
	The <<person>> makes the first move, and crouches behind you. You thwart <<his>> plans with a swift kick to the groin. <<He>> cries out in pain, and falls onto <<his>> side.

	The crowd laugh as their focus shifts from you to <<him>>. You scramble to your feet, rush around the corner, and duck into a maintenance cupboard. You close it behind you and sink to the ground with your back to the door. That felt strange.

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

<<else>>
	The <<person>> makes the first move, and crouches behind you. You try to kick <<him>> away, but <<he>> bats your leg aside, giving <<him>> clear access to your <<bottom>>. <<He>> gives you a sharp smack.

	<<link [[Next|Hallways Exposed Gang]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Hallways Exposed Goad
<<effects>>

<<if $submissive gte 1150>>
	"You caught me," you say. "I'm a nasty pervert. I need to be punished, don't you think?"
<<elseif $submissive lte 850>>
	"Any of you perverts gonna make the first move," you say. "Or do I have to do everything?"
<<else>>
	"You caught me," you say. "What are you gonna do now?"
<</if>>
<<promiscuity4>>

The <<person>> makes the first move, stepping closer. You grasp <<his>> arm and tug <<him>> the rest of the way.

<<link [[Next|Hallways Exposed Gang]]>><<set $sexstart to 1>><</link>>

:: Hallways Exposed Gang
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>

	<<maninit>>
	<<enable_rescue>>
<<elseif $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>

	<<maninit>>
	<<enable_rescue>>
<</if>>

<<effects>>

<<effectsman>><<man>>

<<audience>>

<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
	<<link [[Next|Hallways Exposed Gang Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Hallways Exposed Gang Finish]]>><</link>><<nexttext>>
<<elseif $alarm is 1 and $rescue is 1>>
	<<link [[Next|Hallways Exposed Gang Finish]]>><</link>><<nexttext>>
<<elseif $finish is 1>>
	<<link [[Next|Hallways Exposed Gang Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Hallways Exposed Gang]]>><</link>><<nexttext>>
<</if>>

:: Hallways Exposed Gang Finish
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	<<endcombat>>
	"What's that ruckus?" says a deep voice. It's Doren.
	<<npc Doren>><<person1>>
	The students jerk into movement, any plans they had abandoned. They shuffle away.

	<<clotheson>>
	Doren stops at the sight of you, and averts <<his>> eyes.

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

<<elseif $enemyhealth lte 0>>
	The students back away from you, giving you the chance you need. <<tearful>> you dash around the corner. You take cover in a maintenance cupboard, close it, and sink to the ground with your back against the door.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Hallways]]>><<set $eventskip to 1>><</link>>

<<elseif $finish is 1>>
	The students give you space. Some are more reluctant than others.

	<<tearful>> you walk away. Your grace is replaced by a thrilling fear once around the corner. You take cover in a maintenance cupboard, close it, and sink to the ground with your back against the door.

	<<clotheson>>
	<<endcombat>>

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

<<else>>
	<<set $rescued += 1>>
	<<endcombat>>
	"What's that ruckus?" says a deep voice. It's Doren.
	<<npc Doren>><<person1>>
	The students jerk into movement, any plans they had abandoned. They shuffle away.

	<<clotheson>>
	Doren stops at the sight of you, and averts <<his>> eyes.

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

<</if>>

:: Hallways Hypnosis Spank
<<effects>>

You give the <<persons>> ass a swift spank as you pass, eliciting laughter from other students. <<He>> bolts upright and glares at you, <<his>> face flushing.

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

:: Hallways Hypnosis Spank Resist
<<effects>>

<<if $willpowerSuccess>>
	You push the thoughts away, and manage to keep your hands firm at your side until the <<person>> is out of reach.

<<else>>
	You try to push the thoughts from your mind, but your hand springs to life of its own accord. You manage to snatch it with the other, preventing disaster, but you draw some funny looks.<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

<</if>>

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