code:
:: Widgets Inspection [widget]
<<widget "penisinspection">><<nobr>>

	You notice Leighton holding a camera as the girls move their chairs. "Now then," <<he>> says. "Today we're going to inspect the boys and make sure they're fit and healthy. We're going to move down the line and one by one, each boy will pull down their shorts and show us their penis."

		<<if $malechance is 100>>
		<<generateym4>><<generateym5>>The girls erupt with gasps and giggles. The boys shift uncomfortably. A <<person3>><<person>> stood near Leighton turns pale, and looks like <<hes>> about to cry. The door opens and a <<person4>><<person>> and <<person5>><<person>> enter, both of them grinning. "Ah," Leighton says. "My help has arrived."

		<<else>>
	<<generateyf4>><<generateyf5>>The girls erupt with gasps and giggles. The boys shift uncomfortably. A <<person3>><<person>> stood near Leighton turns pale, and looks like <<hes>> about to cry. A <<person4>><<person>> and <<person5>><<person>> who had sat at the back, disinterested, pick up their chairs and barge their way to the front.

		<</if>>

	Leighton turns to the pair. <<person1>>"You two are enthusiastic. I'll need help taking measurements. Go look in Sirris' desk for a tape measure," <<he>> says to the <<person4>><<personstop>> <<He>> looks giddy with excitement as <<he>> rushes over to the desk. "You," Leighton says to the <<person5>><<personstop>> "Bring me a clipboard and paper."

	"I want to use the tape measure." <<He>> says.

	"Talk back again and you can wait outside."

	The <<person>> pouts, but does as instructed.

<</nobr>><</widget>>

<<widget "penisinspection2">><<nobr>>

	Leighton turns to the <<person3>><<personstop>> "You're up first. There's nothing to be shy about. This is a medical inspection. Now, pull down your shorts."

	The <<person>> clenches <<his>> fists at <<his>> side and stares at <<his>> feet, unmoving. "You just need a little help," Leighton says, grasping the hem of <<his>> shorts. The <<person>> tenses as <<his>> shorts are tugged down. The girls' excitement is renewed as the top of <<his>> penis comes into view, but Leighton doesn't stop there, tugging <<his>> shorts down until the whole length is visible.

	<<person1>>"There we go," Leighton says, stepping back. "You have a beautiful penis. I don't know why you are so ashamed." <<He>> raises the camera and takes a picture. "For your records." <<He>> kneels in front of the boy and takes a close-up shot. <<person3>>"Take <<his>> measurements while I see to the next."

	The <<person4>><<person>> kneels in front of the <<person3>><<person>> and takes <<his>> penis in <<person4>><<his>> hand. <<He>> presses the tape against <<his>> skin and the <<person5>><<person>> notes down the measurement. The <<person4>><<person>> holds the penis far longer than needed, taking in the feel of it against <<his>> fingers. The <<person3>><<person>> starts to shake, you're surprised <<he>> doesn't burst into tears.

<</nobr>><</widget>>

<<widget "pussyinspection">><<nobr>>

Leighton pulls out <<his>> camera and a look of dread appears on the girls' faces. "First," <<he>> addresses the girls. "I need your underwear." <<He>> holds out <<his>> free hand to the <<person2>><<person>> stood beside <<person1>><<himcomma>> who looks mortified. "Don't tarry, or I'll keep you after school." The <<person2>><<person>> shuts <<his>> eyes and holds the front of <<his>> skirt down with one hand while <<he>> lifts it at <<his>> side. <<He>> pulls <<his>> panties down <<his>> legs and steps out of them. Leighton snatches them from <<his>> hand.

"Climb on the desk." The headteacher says, <<person1>><<his>> expression blank. <<person2>>The <<person>> does so, still holding down the front of <<his>> skirt. "Lift your skirt," Leighton says, as if it were a normal thing to ask. "Or you'll get detention. You have a perfect record, what would your parents say?" The <<person>> trembles as <<he>> raises <<his>> skirt. Leighton steps in front of <<him>> and takes a picture. The <<person>> doesn't open <<his>> eyes.

"Next," Leighton says. The <<person>> drops <<his>> skirt and climbs from the desk. <<He>> holds out <<his>> hand. "I'll be keeping these," Leighton says. "They'll be tested for health problems."

<</nobr>><</widget>>

:: Penis Inspection [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<generateym2>><<generateym3>>

Leighton pushes Sirris' desk to the side, clearing the front of the room. The students look at each other, wondering what the headteacher has planned. "Could all the boys line up at the front of the class please?"

<<if $penisexist is 1>>
	<<if $playergenderappearance is "m">>
	You stand up with the boys and walk to the front, taking a position in the middle of the line. "Good. Girls, move your chairs closer. It's important that you watch closely."

<<penisinspection>>

<<link [[Next|Penis Inspection 2]]>><</link>>

	<<else>>
	You remain with the girls as the boys line up at the front of the room. "Good. Girls, move your chairs closer. It's important that you watch closely."

	<<penisinspection>>

	<<link [[Next|Penis Inspection 2]]>><</link>>

	<</if>>
<<else>>
	<<if $playergenderappearance is "f">>

	You remain with the girls as the boys line up at the front of the room. "Good. Girls, move your chairs closer. It's important that you watch closely."

	<<penisinspection>>

<<link [[Next|Penis Inspection 2]]>><</link>>

	<<else>>

		You stand up with the boys and walk to the front, taking a position in the middle of the line. "Good. Girls, move your chairs closer. It's important that you watch closely."

<<penisinspection>>

<<link [[Next|Penis Inspection 2]]>><</link>>

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

:: Pussy Inspection [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<generateyf2>><<generateyf3>>

Leighton clears Sirris' desk. "Could all the girls form an orderly line please? Boys, form a semicircle with your chairs around the desk."

<<if $penisexist is 1>>
	<<if $playergenderappearance is "m">>
	You carry your chair to the front of the class with the boys.

	<<else>>
	You join the line of girls forming at the front of the class.

	<</if>>
<<else>>
	<<if $playergenderappearance is "m">>
	You carry your chair to the front of the class with the boys.

	<<else>>
	You join the line of girls forming at the front of the class.

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

<<pussyinspection>>

<<if $playergenderappearance is "m">>
<<link [[Next|Pussy Inspection End]]>><</link>>

<<else>>
<<link [[Next|Pussy Inspection2]]>><</link>>

<</if>>

:: Breast Inspection [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<generateyf2>><<generateym3>>

"Everyone form a line at the front of the class," Leighton says. You stand with the other students. Most look worried. "Today is a very important health check," the headteacher says as <<he>> pulls <<his>> camera out. "Unbutton your shirts."

A well-endowed <<person2>><<person>> stood beside <<person1>><<him>> starts sobbing.

<<link [[Comply|Breast Inspection Comply]]>><</link>>

<<if $playergenderappearance is "f" or $breastsize gte 2>>
	<<if $exhibitionism gte 55>>
	<<link [[Flaunt|Breast Inspection Flaunt]]>><</link>><<exhibitionist4>>

	<</if>>
<<else>>
<<link [[Flaunt|Breast Inspection Flat Flaunt]]>><</link>><<exhibitionist1>>

<</if>>
<<link [[Protest|Breast Inspection Protest]]>><</link>>

:: Penis Inspection Expose [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<fameexhibitionism 50>><<set $genderknown.pushUnique($npc)>>
You <<nervously>> pull down your shorts as instructed, exposing your penis to the room. You feel everyone's eyes on so delicate a place. Leighton steps back and takes a picture, then crouches in front of you to take another.

<<if $penilevirginity is 1>>
"You're still a virgin," <<person1>><<he>> says. "Saving yourself for marriage? Maybe you'll make one of the girls in here very happy." You cringe in embarrassment. The giggling recommences, and some usually shy girls smile at you.
<<else>>
"I see you have some experience," <<person1>><<he>> says. "I've inspected enough that I can tell." You cringe in embarrassment as the girls start whispering amongst themselves.
<</if>>

<<if $undertype is "chastity">>

"What's that?" the <<person4>><<person>> asks, looking at your $underclothes.

"That's to stop <<phim>> being naughty," Leighton replies. "Just take <<his>> measurement as best you can."

<</if>>

The <<person4>><<person>> crouches before you next, and gasps. "This is the cutest one yet," <<he>> says.

The <<person5>><<person>> crouches next to <<person4>><<himstop>> <<person5>> "Yeah." <<He>> leans closer, until <<his>> mouth hovers an inch away from you. You feel <<his>> breath on your <<penisstop>> The attention alone was almost too much, this pushes you over the edge. You feel your penis start to erect, growing with every pulse.<<garousal>><<arousal 6>>

"It's getting bigger!" The <<person4>><<person>> exclaims. The girls' giggling is renewed, and some of the other boys lean forward to look.

<<person5>>"It happened when I breathed on it," the <<person>> says. <<He>> inhales, then blows onto you. The <<person4>><<person>> joins in,

<<if $undertype is "chastity">>
and they soon have you straining against your chastity.
<<else>>
and they soon have you fully erect.
<</if>>

"Would you two stop that?" Leighton interjects. "There's more penises to inspect." At last, the pair leave you alone and you pull your shorts back up.

<<link [[Next|Penis Inspection End]]>><</link>>

:: Penis Inspection Flaunt [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<fameexhibitionism 50>><<set $genderknown.pushUnique($npc)>>
Confident, you tug down your shorts, lean back, and place your hands on your hips. You feel everyone's eyes on you. Leighton steps back and takes a picture, then crouches in front of you to take another.

You enjoy the attention.
<<if $submissive gte 1150>>
"Does it look nice?" you ask.
<<elseif $submissive lte 850>>
"I usually charge for pictures, you know," you say.
<<else>>
"You're going to be enjoying those later, aren't you," you say.
<</if>>
<<exhibitionism4>>

<<if $penilevirginity is 1>>
"You're still a virgin," <<person1>><<he>> says, ignoring your words. "Saving yourself for marriage? Maybe you'll make one of the girls in here very happy." You stand proud. The giggling recommences, and some usually shy girls smile at you.
<<else>>
"I see you have some experience," <<person1>><<he>> says. "I've inspected enough that I can tell." You stand proud as the girls start whispering amongst themselves.
<</if>>

<<if $undertype is "chastity">>

"What's that?" the <<person4>><<person>> asks, looking at your $underclothes.

"That's to stop <<phim>> being naughty," Leighton replies. "Just take <<his>> measurement as best you can."

<</if>>

The <<person4>><<person>> crouches before you next, and gasps. "This is the cutest one yet," <<he>> says.

The <<person5>><<person>> crouches next to <<person4>><<himstop>> <<person5>> "Yeah." <<He>> leans closer, until <<his>> mouth hovers an inch away from you. You feel <<his>> breath on your <<penisstop>> The attention alone was almost too much, this pushes you over the edge. You feel your penis start to erect, growing with every pulse.

"It's getting bigger!" The <<person4>><<person>> exclaims. The girls' giggling is renewed, and some of the other boys lean forward to look.

<<person5>>"It happened when I breathed on it," the <<person>> says. <<He>> inhales, then blows onto you. The <<person4>><<person>> joins in,

<<if $undertype is "chastity">>
and they soon have you straining against your chastity.
<<else>>
and they soon have you fully erect.
<</if>>

"Would you two stop that?" Leighton interjects. "There's more penises to inspect." At last, the pair leave you alone and you pull your shorts back up.

<<link [[Next|Penis Inspection End]]>><</link>>

:: Penis Inspection Run Away [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You duck under Leighton's arm and flee the room, chased by laughter.

<<endevent>><<sirris>><<person1>>
You run down the hallways, angry and frustrated at Leighton and the class. You run round a corner and collide with Sirris. You both tumble to the ground.<<set $pain += 40>>

"No running," Sirris says, rubbing <<his>> back. "Aren't you supposed to-" <<he>> sees something in your appearance that changes <<his>> demeanour. "What's wrong?" <<He>> helps you up. You try to speak, but struggle to form the words. "It's okay," Sirris says. "I'm on my way to the staff room. Going to wait for the head to finish. You're welcome to join me if you like."

You follow Sirris to the staff room. It's small, with several chairs around a table in the middle. "Take a seat," <<he>> says as <<he>> sits.

You spend the next few minutes sat in silence while Sirris reads an old newspaper. You feel a need to stand up and run, as if you're still in the classroom. Slowly though, your pulse slows and you start to feel more at ease. Sirris puts the paper back on the table. "I feel guilty sat here when I should be working," <<he>> says. "Let's go check on them."

You don't like the idea of returning to class, but you follow <<him>> back to the classroom and arrive in time to see Leighton leaving. <<endevent>><<leighton>><<person1>>"Good timing," Leighton says to Sirris. "You're doing a good job." <<He>> looks at you. "I'll be seeing you in detention."

You follow Sirris into the classroom, prepared to face your peers. You're surprised when people barely look in your direction. The girls chat, still excited, while the boys sit quiet and avoid looking at each other. Your flight was just a footnote in the entire experience.

<<endevent>>
<<link [[Next|Science Lesson]]>><</link>>

:: Penis Inspection End [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

Leighton continues working down the line, leaving a trail of <<person1>>ashamed boys in <<his>> wake. "Don't tell anyone about this," <<he>> says as the last boy finishes covering himself back up. <<He>> taps the camera. "It's our secret."

Sirris enters the room. "Just in time," Leighton says. "Everyone, take your seats. Thank you Sirris, you have a very well-endowed," <<he>> coughs. "Sorry. Well-behaved class."

<<He>> leaves Sirris to drag <<endevent>><<sirris>><<person1>><<his>> desk back into position. The girls chat, still excited, while the boys sit quietly and avoid looking at each other.

<<endevent>>

<<link [[Next|Science Lesson]]>><</link>>

:: Penis Inspection Flaunt Crossdress [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<fameexhibitionism 50>><<set $genderknown.pushUnique($npc)>>
You tug down your shorts, revealing your <<pussy>> to the room.
The class fall silent as they behold you. You put your hands on your hips and lean back, proud. Some of the boys blush and look away. Others stare hungrily.

The <<person4>><<person>> isn't paying attention, <<his>> eyes still transfixed on the previous boy in the line-up. <<He>> kneels in front of you before turning to look. <<He>> gasps and falls backwards when <<he>> sees your <<genitalsstop>>

"Young lady," Leighton says, <<person1>><<his>> voice stern. "You're violating all sorts of rules right now. Sit down."

<<if $submissive gte 1150>>
"But I want to be looked at too," you say. You turn and lean forward, sticking your rear out towards the class.
<<elseif $submissive lte 850>>
"Why?" you ask. "Never seen one before?"
<<else>>
"Don't you think I'm cute?" you say. You turn and lean forward, sticking your rear out towards the class.
<</if>>
<<exhibitionism4>>

"Just sit down. Girls will be inspected another day. Wait your turn." Many of the girls look nervous all of a sudden.

You pull your shorts back up and take your seat. Your pulse races.

<<link [[Next|Penis Inspection End]]>><</link>>

:: Penis Inspection 2 [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $penisexist is 1>>
	<<if $playergenderappearance is "m">>

	<<penisinspection2>>

	This process continues down the line. Leighton takes pictures and the pair take measurements. Most don't take it as badly as the <<person3>><<personcomma>> but they all look embarrassed. Leighton soon arrives beside you, and looks at you expectantly.

	<<link [[Expose yourself|Penis Inspection Expose]]>><<stress 6>><<trauma 6>><</link>><<gstress>><<gtrauma>>

		<<if $exhibitionism gte 55>>
		<<link [[Flaunt|Penis Inspection Flaunt]]>><</link>><<exhibitionist4>>

		<</if>>
	<<link [[Run away|Penis Inspection Run Away]]>><<detention 4 "Disobedience">><<status -10>><</link>><<gdelinquency>><<lcool>>

	<<else>>

	<<penisinspection2>>

	This process continues down the line. Leighton takes pictures and the pair take measurements. Most don't take it as badly as the <<person3>><<personcomma>> but they all look embarrassed. You feel more conscious of the secret beneath your skirt as time goes on.

	<<link [[Next|Penis Inspection End]]>><</link>>

	<</if>>
<<else>>
	<<if $playergenderappearance is "f">>

	<<penisinspection2>>

	This process continues down the line. Leighton takes pictures and the pair take measurements. Most don't take it as badly as the <<person3>><<personcomma>> but they all look embarrassed.

	<<link [[Next|Penis Inspection End]]>><</link>>

	<<else>>

<<penisinspection2>>

	This process continues down the line. Leighton takes pictures and the pair take measurements. Most don't take it as badly as the <<person3>><<personcomma>> but they all look embarrassed. Leighton soon arrives beside you, and looks at you expectantly. Your face flushes as you think about the secret hidden in your shorts.

		<<if $exhibitionism gte 55>>
		<<link [[Flaunt|Penis Inspection Flaunt Crossdress]]>><</link>><<exhibitionist4>>

		<</if>>
	<<link [[Run away|Penis Inspection Run Away]]>><<detention 4 "Disobedience">><<status -10>><</link>><<gdelinquency>><<lcool>>

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

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

Leighton continues down the line, and one by one the girls climb the desk for their inspection. Leighton keeps all the panties, and soon has a bundle of them in <<person1>><<his>> hand.

<<if $undertype is "naked" or $undertype is "chastity">>
	<<if $penisexist is 1>>
	You feel more conscious of your <<penis>> and lack of underwear as the headteacher draws closer.
	<<else>>
	You feel more conscious of your lack of underwear as the headteacher draws closer.
	<</if>>
<<else>>
	<<if $penisexist is 1>>
	You feel more conscious of your <<penis>> as the headteacher draws closer.
	<<else>>
	<</if>>
<</if>>

It's soon your turn, Leighton holds out <<his>> hand expectantly.

<<if $penisexist is 1>>
<<link [[Run away|Pussy Inspection Run]]>><<status -10>><<detention 4 "Disobedience">><</link>><<lcool>><<gdelinquency>>

	<<if $exhibitionism gte 55>>
	<<link [[Flaunt|Pussy Inspection Penis]]>><</link>><<exhibitionist4>>

	<</if>>
<<else>>
<<link [[Run away|Pussy Inspection Run]]>><<status -10>><<detention 4 "Disobedience">><</link>><<lcool>><<gdelinquency>>

	<<link [[Comply|Pussy Inspection Comply]]>><<trauma 6>><<stress 6>><</link>><<gtrauma>><<gstress>>

	<<if $exhibitionism gte 55>>
	<<link [[Flaunt|Pussy Inspection Flaunt]]>><</link>><<exhibitionist4>>

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

:: Pussy Inspection Run [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You refuse to comply, darting away from Leighton and through the classroom doors. You hide in a nearby maintenance cupboard and peek through a gap, waiting for Leighton to leave. <<He>> does so just as Sirris arrives back. They exchange brief words, then Sirris enters the class and Leighton heads back to <<his>> office, carrying a bag <<he>> didn't arrive with.

Once Leighton is out of sight you leave your hiding place and walk back to class. The boys talk and laugh with each other. The girls aren't speaking much, and shift their legs uncomfortably.

<<endevent>>

<<link [[Next|Science Lesson]]>><</link>>

:: Pussy Inspection Penis [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<fameexhibitionism 50>>
<<if $undertype is "naked" or $undertype is "chastity">>
You cock your head and put one foot on the other. "I'm not wearing panties," you say, sounding apologetic.
<<else>>
You lift your skirt and pull down your $underclothes, then hand them to Leighton.<<underruined>>
<</if>>

Wasting no time, you climb atop the desk and pull your skirt off your legs, placing it to one side. It would only get in the way. You lean back and spread your legs, giving the whole class a look. <<exhibitionism4>>

The class erupts into whispering when they see your <<penisstop>>

<<if $malechance gte 1>>
Some of the boys look away, but others lean forward in amazement.
<</if>>
"Young man," Leighton says. "We've already had penis inspection."

"I know," you say. You make peace signs with your hands. "But seeing as I'm already here..." Leighton pauses, then smiles and takes a picture.

<<if $undertype is "chastity">>
<<He>> doesn't mention your belt.
<</if>>

"Good," Leighton says. "Next." You put your skirt back on and take your place in the line, your heart still thumping.

<<link [[Next|Pussy Inspection End]]>><</link>>

:: Pussy Inspection Comply [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<fameexhibitionism 30>>
<<if $undertype is "naked" or $undertype is "chastity">>
You stare between your feet. "I-I'm not wearing any panties," you whisper.

"Not wearing any?" Leighton announces. You hear someone giggle. "I'll overlook it. Get on the desk."
<<else>>
You lift your skirt and pull down your $underclothes, then hand them to Leighton.<<underruined>>
<</if>>

You climb atop the desk and lift your skirt just above your <<pussystop>> You look away as Leighton takes a picture.

<<if $malechance gte 1>>
You feel the boys' eyes on you, taking it in.
<</if>>

<<if $undertype is "chastity">>
Leighton doesn't mention your belt.
<</if>>

"Good," Leighton says. "Next." You drop from the desk and take your place in the line.

<<link [[Next|Pussy Inspection End]]>><</link>>

:: Pussy Inspection Flaunt [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>
<<fameexhibitionism 50>>
<<if $undertype is "naked" or $undertype is "chastity">>
You grip the hem of your skirt and flash Leighton. "No panties," you say, sounding apologetic.
<<else>>
You lift your skirt and pull down your $underclothes, then hand them to Leighton.<<underruined>>
<</if>>

Wasting no time, you climb atop the desk and pull your skirt off your legs, placing it to one side. It would only get in the way. You lean back and spread your legs, giving the whole class a look. <<exhibitionism4>>

You put one hand between your legs and spread yourself open, while making a peace sign with the other. Leighton pauses, then smiles as <<he>> takes a picture.

<<if $undertype is "chastity">>
<<He>> doesn't mention your belt.
<</if>>

<<if $malechance gte 1>>
The boys stare in awe at your display, and lean forward for a closer look.
<</if>>

"Good," Leighton says. "Next." You put your skirt back on and take your place in the line, your heart still thumping.

<<link [[Next|Pussy Inspection End]]>><</link>>

:: Pussy Inspection End [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

Leighton continues to work <<his>> way down the line. As the last girl climbs off the desk <<he>> draws an opaque bag from <<his>> pocket and pushes the panties inside. "There you are," <<he>> says as the door opens and Sirris enters. "Just in time." Sirris looks at the bag but says nothing as Leighton leaves.

"Right," Sirris says to the class. "Where were we?" The boys talk and laugh with each other. The girls don't speak much, and shift their legs uncomfortably.

<<endevent>>

<<link [[Next|Science Lesson]]>><</link>>

:: Breast Inspection Comply [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

The <<person2>><<person>> undoes the buttons on <<his>> shirt, and holds it open so that no one but Leighton and <<person1>><<his>> camera can see. The headteacher takes a picture. "Good," <<he>> says, moving down the line. Most students look uncomfortable as it approaches their turn, and relieved following. Even boys who are used to being seen topless while swimming fidget and blush under Leighton's gaze.

<<He>> soon arrives at you. You follow the <<person2>><<persons>> lead and hold open your shirt so that only Leighton can see. You feel your nipples stand on end. <<He>> takes a picture.

	<<if $breastsize gte 5>>
		<<if $playergenderappearance is "m">>
		"Nice pair," <<he>> says. "Especially for a boy."<<fameexhibitionism 30>>
		<<else>>
		"Nice pair," <<he>> says.<<fameexhibitionism 30>>
		<</if>>
	<<elseif $breastsize gte 2>>
		<<if $playergenderappearance is "m">>
		"Nice pair," <<he>> says.<<fameexhibitionism 30>>
		<<else>>
		"Nice pair," <<he>> says. <<fameexhibitionism 30>>
		<</if>>
	<<else>>
		<<if $playergenderappearance is "m">>
		<<fameexhibitionism 10>>
		<<else>>
		"Don't be ashamed about being flat," <<he>> says while leering at you.<<fameexhibitionism 30>>
		<</if>>
	<</if>>
	<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

	<<link [[Next|Breast Inspection End]]>><</link>>

:: Breast Inspection Protest [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

"No," you say, looking right at Leighton. <<His>> eyes widen slightly as <<he>> looks at you, but <<he>> seems more bemused than angry.

	<<if $submissive gte 1150>>
	"I-I mean..." Leighton marches towards you. With an effort of will you look <<him>> in the eyes. "This is wrong. Y-you're just a pervert!"
	<<elseif $submissive lte 850>>
	"That's right." Leighton marches towards. You stand your ground. "You're a pervert. You belong behind bars!"
	<<else>>
	"I said it." Leighton marches towards you. "This has nothing to do with health. You just want to take humiliating pictures!"
	<</if>>

<<if $cool gte 160>>
	<<famegood 30>>
"I see," the headteacher says. "Does anyone else feel this way?"

A <<person3>><<person>> speaks up. "You shouldn't treat us like this," <<he>> says. "I'll tell my parents."

The <<person2>><<person>> suppresses <<his>> tears and speaks next. "I'm not going to show you any more of me."

<<person1>>The whole class starts clamouring. Accusing the headteacher of all sorts of nasty things. Leighton's mouth gapes, then becomes a sneer. "Fucking brats. This is for your own good. But if you're going to be like that, fine." <<He>> strides to the door. <<He>> turns and looks right at you before slamming the door behind <<himstop>><<gdelinquency>><<detention 6 "Disobedience">>

Everyone cheers. A group of thankful students surrounds you. Others return to their seats, looking relieved. A few look disappointed, but if so they keep it to themselves. <<endevent>><<sirris>><<person1>>Sirris is surprised by the atmosphere when <<he>> returns. "I don't know what Leighton gets up to in here," <<he>> says. "But it seems to have gone down well. Now, where were we?"<<gcool>><<ltrauma>><<lstress>><<status 1>><<trauma -6>><<stress -12>>

<<link [[Next|Science Lesson]]>><</link>>

<<else>>

"I see," the headteacher says. "Does anyone else feel this way?" No one is willing to meet <<his>> gaze. "No? I didn't think so. I'll see you in detention <<girlstop>> But first." <<He>> tears open your shirt with both hands, exposing your <<breastsstop>>

	<<if $breastsize gte 5>>
		<<if $playergenderappearance is "m">>
		"Nice pair," <<he>> says with relish while holding your shirt open. <<He>> steps back and takes a picture with one motion before you can cover yourself.<<fameexhibitionism 30>>
		<<else>>
		"Nice pair," <<he>> says with relish while holding your shirt open. "Especially for a boy." <<He>> steps back and takes a picture with one motion before you can cover yourself.<<fameexhibitionism 30>>
		<</if>>
	<<elseif $breastsize gte 2>>
		<<if $playergenderappearance is "m">>
		"Nice pair," <<he>> says with relish while holding your shirt open. <<He>> steps back and takes a picture with one motion before you can cover yourself.<<fameexhibitionism 30>>
		<<else>>
		"Nice pair," <<he>> says with relish while holding your shirt open. "Especially for a boy." <<He>> steps back and takes a picture with one motion before you can cover yourself.<<fameexhibitionism 30>>
		<</if>>
	<<else>>
		<<if $playergenderappearance is "m">>
		"I don't know what's got you so riled," <<he>> says while holding your shirt open. <<He>> steps back and takes a picture with one motion.<<fameexhibitionism 10>>
		<<else>>
		"I know why you're behaving this way," <<he>> says while holding your shirt open. "You're ashamed about being flat." <<He>> steps back and takes a picture with one motion before you can cover yourself.<<fameexhibitionism 30>>
		<</if>>
	<</if>>
<<gdelinquency>><<detention 4 "Disobedience">><<gtrauma>><<gstress>><<garousal>><<trauma 6>><<stress 6>><<arousal 6>>

<<link [[Next|Breast Inspection End]]>><</link>>

<</if>>

:: Breast Inspection Flaunt [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

The <<person2>><<person>> undoes the buttons on <<his>> shirt, and holds it open so that no one but Leighton and <<person1>><<his>> camera can see. The headteacher takes a picture. "Good," <<he>> says, moving down the line. Most students look uncomfortable as it approaches their turn, and relieved following. Even boys who are used to being seen topless while swimming fidget and blush under Leighton's gaze.

<<He>> soon arrives at you.

	<<if $breastsize gte 5>>
	You open your shirt wide so that everyone can see. Your <<breasts>> tumble out.
		<<if $playergenderappearance is "m">>
		"Nice pair," <<he>> says. "Especially for a boy."<<fameexhibitionism 40>>
		<<else>>
		"Nice pair," <<he>> says.<<fameexhibitionism 40>>
		<</if>>
	<<elseif $breastsize gte 2>>
	You open your shirt wide so that everyone can see your <<breastsstop>>
		<<if $playergenderappearance is "m">>
		"Nice pair," <<he>> says.<<fameexhibitionism 40>>
		<<else>>
		"Nice pair," <<he>> says. <<fameexhibitionism 40>>
		<</if>>
	<<else>>
	You open your shirt wide so that everyone can see your <<breastsstop>>
		<<if $playergenderappearance is "m">>
		<<fameexhibitionism 20>>
		<<else>>
		"Don't be ashamed about being flat," <<he>> says while leering at you.<<fameexhibitionism 40>>
		<</if>>
	<</if>>

	<<if $submissive gte 1150>>
	"I like being seen," you whisper. <<He>> takes several pictures before moving to the next student.
	<<elseif $submissive lte 850>>
	"You look like you want to touch them," you whisper. "In front of everyone." <<He>> hesitates, then takes several pictures before moving to the next student.
	<<else>>
	"I like showing them off," you whisper. <<He>> takes several pictures before moving to the next student.
	<</if>>
	<<exhibitionism4>>
	<<He>> takes several pictures before moving to the next student.

	<<link [[Next|Breast Inspection End]]>><</link>>

:: Breast Inspection Flat Flaunt [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

The <<person2>><<person>> undoes the buttons on <<his>> shirt, and holds it open so that no one but Leighton and <<person1>><<his>> camera can see. The headteacher takes a picture. "Good," <<he>> says, moving down the line. Most students look uncomfortable as it approaches their turn, and relieved following. Even boys who are used to being seen topless while swimming fidget and blush under Leighton's gaze.

<<He>> soon arrives at you. You hold your shirt open wide, making no attempt to hide from the rest of the class. Leighton hesitates a moment before taking a picture.

<<if $submissive gte 1150>>
"You can take more if you like," you whisper.
<<elseif $submissive lte 850>>
"I know you want to see more of me," you whisper.
<<else>>
"Like what you see?" you whisper.
<</if>>
<<exhibitionism1>>
<<fameexhibitionism 20>>
Leighton doesn't respond, but kneels to take a second picture, something <<he>> didn't do to any other student.

<<link [[Next|Breast Inspection End]]>><</link>>

:: Breast Inspection End [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

Leighton continues down the line, taking pictures. <<He>> occasionally reaches and gropes their chest before continuing. <<He>> reaches the end of the line and puts <<his>> camera away as the last student covers up.

<<endevent>><<leighton>><<generatey2>><<person1>>

The students start to relax, but it's not over. "One more thing," Leighton says. <<He>> puts <<his>> hand on a <<person2>><<persons>> shoulder and, gripping, steers <<him>> in front of the other students. <<person1>>"It's important to check for lumps," the headteacher continues. <<He>> stands behind the <<person2>><<person>> and reaches around <<him>> to undo the buttons on <<his>> shirt once more. The <<person>> reaches up as if to stop <<person1>><<himcomma>> but thinks better of it and drops <<person2>><<his>> arms. <<He>> looks resigned.

<<if $pronoun is "m">>
Soon <<his>> sleek chest is exposed in front of everyone. <<person1>>Leighton reaches up and rests <<his>> hands on it.
<<else>>
Soon <<his>> breasts are exposed in front of everyone. <<He>> shuts <<his>> eyes as if enduring pain. <<person1>>Leighton reaches up and rests <<his>> hands on them.
<</if>>

<<He>> starts fondling <<person2>><<himstop>> <<person1>>When <<his>> fingers brush against <<person2>><<his>> nipples <<he>> jerks and tries to pull away, but Leighton pulls <<him>> back and leans in close. <<person1>>"You'll stand where I tell you to," <<he>> whispers.

Some students try to look away, but Leighton announces that all will look or suffer detention. <<He>> continues molesting the <<person2>><<person>> in front of everyone for several minutes, until footsteps are heard outside. <<person1>><<He>> pulls <<his>> hands away. "Everyone back to your seats." The <<person2>><<person>> does <<his>> shirt back up with trembling fingers.

<<person1>>The door opens and Sirris enters. "You're back sooner than I expected," Leighton says. "But the inspection is finished." <<He>> leaves before Sirris responds.

"My desk is in order this time," Sirris says, smiling. "Right, where were we?"

<<endevent>>
<<link [[Next|Science Lesson]]>><</link>>


code:
:: School Library [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>><<set $bus to "schoollibrary">>
You are in the school library.
<<if $loglocations is 1>><<log "Was in the school library." $locationimportance>><</if>>
<<if $schoolday is 1>>
/* indev - double
 replaced with single */
	<<if $schoolstate is "early">>
	The library is devoid of people, it being so early in the day.

	<<elseif $schoolstate is "late">>
	The library is devoid of people, students and teachers having gone home for the day.

	<<elseif $schoolstate is "lunch">>
	The room is packed with students using their lunch break to catch up with homework.

	<<else>>
	Several students are present, working at the desks and searching among the bookshelves.

	<</if>>
<<elseif $schoolday isnot 1>>
The library is devoid of people.

<</if>>
/*indev - Extra library description*/
There are several shelves with typical academic literature. You see books on engineering, biology, social sciences and language learning. Everything that is useful in catching up.
Next to it is a small basket with returned and not yet sorted books.
<<if $english lt 200>>
	You wonder if there may be something more interesting here if you were one of those bookworms.
<</if>>

<<if $exposed gte 1>>
	<<if $schoolday is 1 and $schoolstate isnot "early" and $schoolstate isnot "late">>
	You hide between the bookshelves, doing your best to conceal your <<nuditystop>>

	<<set $logprep to "I hid between the bookshelves to conceal my "+$nakedness+" at the school library.">><<log $logprep $exposureimportance>>
	<<else>>
	<<exhibitionclassroom>>
	<</if>>
<</if>>

<<if $stress gte 10000>>
<<link [[Everything fades to black...|School Passout]]>><</link>>
<<else>>
	<<if $exposed gte 1 and $schoolday is 1 and $schoolstate isnot "early" and $schoolstate isnot "late">>
	<<else>>
<<projectoptions>>

		<<if $exposed lte 0 and $kylarstate is "active" and $weather is "rain" and $schoolstate is "lunch" and $luncheaten is 1>>
		Kylar sits at a desk, scribbling something.

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

		<</if>>
		<<if $exposed gte 1>>
			<<link [[Study science (0:20)|Library Study Exposed]]>><<pass 20>><<set $phase to 1>><</link>><<gscience>>

			<<link [[Study maths (0:20)|Library Study Exposed]]>><<pass 20>><<set $phase to 2>><</link>><<gmaths>>

			<<link [[Study English (0:20)|Library Study Exposed]]>><<pass 20>><<set $phase to 3>><</link>><<genglish>>

			<<link [[Study history (0:20)|Library Study Exposed]]>><<pass 20>><<set $phase to 4>><</link>><<ghistory>>

		<<else>>
			<<link [[Study science (0:20)|Library Study]]>><<pass 20>><<set $phase to 1>><</link>><<gscience>>

			<<link [[Study maths (0:20)|Library Study]]>><<pass 20>><<set $phase to 2>><</link>><<gmaths>>

			<<link [[Study English (0:20)|Library Study]]>><<pass 20>><<set $phase to 3>><</link>><<genglish>>

			<<link [[Study history (0:20)|Library Study]]>><<pass 20>><<set $phase to 4>><</link>><<ghistory>>

		<</if>>
		/*indev - scarlet book possible to be taken. English 200+ required*/
		<<if $english gte 300>>
			<<link [[Take "Raul and Janet" from the basket (0:01)|ScarletBook1]]>><<pass 1>><</link>>

		<<elseif $english gte 200>>
			<<link [[Take the medium-sized scarlet book from the basket (0:01)|ScarletBook1]]>><<pass 1>><</link>>

		<</if>>

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

<</if>>

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

<<if $phase is 1>><<scienceskill>>
You settle down at a desk with a science textbook and read through the material.
<<elseif $phase is 2>><<mathsskill>>
You settle down at a desk with a maths textbook and read through the material.
<<elseif $phase is 3>><<englishskill>>
You settle down at a desk with an English textbook and read through the material.
<<elseif $phase is 4>><<historyskill>>
You settle down at a desk with a history textbook and read through the material.
<</if>>

<<set $danger to random(1, 10000)>><<set $dangerevent to 0>>
	<<if $danger gte (9900 - $allure) and $schoolday is 1 and $schoolstate isnot "early" and $schoolstate isnot "late">>
		<<if $rng gte 51>>
			<<generatey1>><<generatey2>>While you are minding your own business, a <<person1>><<person>> and <<person2>><<person>> start harassing you.

			<<link [[Ignore them|School Library Harass]]>><<set $phase to 0>><<trauma 2>><<stress 2>><</link>><<gtrauma>><<gstress>>

			<<link [[Ask the librarian for help|School Library Harass]]>><<set $phase to 1>><<status -10>><</link>><<lcool>>

		<<else>>
		<<set $lowerintegrity -= 10>>
			<<if $lowerintegrity lte 0>>
				<<set $logprep to "I studied at the school library and my "+$lowerclothes+" caught on to a desk and got destroyed.">>
				As you rise from the chair, you hear a tear. Your $lowerclothes <<lowerplural>> caught on the desk. You try to free them, but <<loweritis>> torn clean off your body, exposing your <<undiesstop>>
				<<lowerruined>><<trauma 3>>

			<<elseif $lowerintegrity gte 0>>
				<<set $logprep to "I studied at the school library and my "+$lowerclothes+" caught on to a desk and got torn.">>
				As you rise from the seat, you hear a tear. Your $lowerclothes <<lowerplural>> caught on the desk.

			<</if>>
			<<log $logprep 2>>
			<<link [[Next|School Library]]>><</link>>

		<</if>>
	<<else>>
		<<set $logprep to "I studied at the school library.">>
		<<log $logprep 2>>
		<<link [[Next|School Library]]>><</link>>

	<</if>>

:: Library Study Exposed [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $phase is 1>><<scienceskill>>
You settle down at a desk with a science textbook and read through the material. Being sat here in the school library with your <<lewdness>> on display feels naughty, even with no one around. It keeps you alert and focused.<<gscience>><<garousal>><<arousal 3>>
<<elseif $phase is 2>><<mathsskill>>
You settle down at a desk with a maths textbook and read through the material. Being sat here in the school library with your <<lewdness>> on display feels naughty, even with no one around. It keeps you alert and focused.<<gmaths>><<garousal>><<arousal 3>>
<<elseif $phase is 3>><<englishskill>>
You settle down at a desk with an English textbook and read through the material. Being sat here in the school library with your <<lewdness>> on display feels naughty, even with no one around. It keeps you alert and focused.<<genglish>><<garousal>><<arousal 3>>
<<elseif $phase is 4>><<historyskill>>
You settle down at a desk with a history textbook and read through the material. Being sat here in the school library with your <<lewdness>> on display feels naughty, even with no one around. It keeps you alert and focused.<<ghistory>><<garousal>><<arousal 3>>
<</if>>

<<set $danger to random(1, 10000)>><<set $dangerevent to 0>>
	<<if $danger gte (9900 - ($allure / 2))>>
		<<if $rng gte 51>>
		<<generate1>><<person1>>You fumble the book as you try to place it on its shelf. It thumps against the floor. "That better not be another cat," a voice responds from the corridor outside. You take cover behind the shelf and peek between the books. A <<person>> wearing a security uniform enters. "Who's there?"

			<<if $exposed gte 2>>
				<<if $exhibitionism gte 75>>
				<<link [[Show yourself|Library Study Show]]>><<set $phase to 0>><</link>><<exhibitionist5>>

				<</if>>
			<<elseif $exposed is 1>>
				<<if $exhibitionism gte 15>>
				<<link [[Show yourself|Library Study Show]]>><<set $phase to 1>><</link>><<exhibitionist2>>

				<</if>>
			<</if>>
		<<link [[Stay hidden (0:10)|Library Study Hide]]>><<stress 3>><<pass 10>><</link>><<gstress>>

		<<else>>
		<<generate1>><<generate2>><<person1>>A <<person>> and <<person2>><<person>> walk along the street outside the window. They will see you if they look through.

		<<link [[Risk it|Library Study Risk]]>><</link>>

		<<link [[Hide (0:20)|Library Study Pair Hide]]>><<pass 20>><</link>>

		<</if>>
	<<else>>
	<<set $logprep to "I studied "+$naked+" at the school library.">>
	<<log $logprep 2>>
	<<link [[Next|School Library]]>><</link>>

	<</if>>

:: Library Study Risk [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<if $rng gte 81>>

You ignore the pair, and keep studying. The <<person1>><<person>> glances over <<his>> shoulder and spots you. <<He>> grabs the <<person2>><<persons>> arm and they both grin at you through the glass. <<covered>> You feel your face flush.<<gstress>><<garousal>><<stress 3>><<arousal 6>><<fameexhibitionism 2>>

They move on, still smiling.

<<set $logprep to "I studied "+$naked+" at the school library and got seen by some people through a window.">>
<<log $logprep 2>>
<<else>>

You ignore the pair, and keep studying. They don't notice you.

<<set $logprep to "I studied "+$naked+" at the school library but almost got seen through a window.">>
<<log $logprep 2>>

<</if>>

<<endevent>>
<<link [[Next|School Library]]>><</link>>

:: Library Study Pair Hide [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You take cover in the darkness behind the librarian's desk. The pair stop by the window, turn and start to chat. You wait until they move on

<<set $logprep to "I studied "+$naked+" at the school library and hid behind the librarian's desk until the people who could have seen me through a window left.">>
<<log $logprep 2>>
<<endevent>>
<<link [[Next|School Library]]>><</link>>

:: Library Study Hide [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You remain hidden. <<He>> patrols through the library, but you're able to avoid <<himstop>> <<He>> frowns over <<his>> shoulder as <<he>> leaves the room.

<<set $logprep to "I studied "+$naked+" at the school library but dropped a book causing a security guard to hear it and investigate so I hid until "+$he+" left.">>
<<log $logprep 2>>
<<endevent>>
<<link [[Next|School Library]]>><</link>>

:: Library Study Show [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You step out from your hiding place. The <<persons>> jaw drops when <<he>> sees you.
<<if $phase is 0>>
<<exhibitionism5>>
<<else>>
<<exhibitionism2>>
<</if>>

<<if $rng gte 51>>

"Y-you aren't supposed to be here," <<he>> stammers. "Y-you need to come with me."

<<link [[Comply|Library Study Comply]]>><</link>>

<<link [[Refuse (0:20)|Library Study Refuse]]>><<pass 20>><</link>>

<<else>>

"What a treat," <<he>> says. <<He>> thumbs <<his>> baton as <<he>> steps closer, then lunges for you.

<<link [[Next|Library Exposed Molestation]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Library Exposed Molestation [nobr]
<<if $molestationstart is 1>>
<<set $molestationstart to 0>>
<<controlloss>>
<<violence 1>>
<<neutral 1>>
<<molested>>
<<set $event to "molestationhome">>
<<man1init>>

<</if>>

<<effects>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
<<link [[Next|Library Exposed Molestation Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<link [[Next|Library Exposed Molestation Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|Library Exposed Molestation]]>><</link>><<nexttext>>
<</if>>

:: Library Exposed Molestation Finish [nobr]
<<effects>><<pronouns>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

"You're lucky I don't turn you in," <<he>> says. "They'd eat a <<girl>> like you alive." <<He>> whistles as <<he>> leaves the library.

<<tearful>> you struggle to your feet.

<<clotheson>>
<<endcombat>>
<<set $logprep to "I studied "+$naked+" at the school library but a security guard found me and "$aw_xedx" before happily leaving without turning me in.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<link [[Next|School Library]]>><</link>>/*Point links wherever you want the player to end up*/

<<elseif $enemyhealth lte 0>>

<<He>> stumbles away from you and fumbles for <<his>> baton. It slips from <<his>> fingers. "Fuck," <<he>> says, then runs from the library.

<<tearful>> you listen to <<his>> footsteps fade.

<<clotheson>>
<<endcombat>>
<<set $logprep to "I studied "+$naked+" at the school library but a security guard found me and tried to "$aw_xx" but I managed to beat "+$him+" up.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<link [[Next|School Library]]>><</link>>

<</if>>

:: Library Study Comply [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

You nod and walk to the <<persons>> side with nary a care. <<He>> blushes and looks away. "I-I'll escort you from the premises," <<he>> says. "P-please."

You follow <<him>> down the corridor toward the entrance. "H-here," <<he>> says at the school gates. <<He>> hands you some towels. "You'll catch a cold." <<He>> locks the gate behind you.

<<towelup>>
<<endevent>>
<<set $logprep to "I studied "+$naked+" at the school library but a security guard found me and escorted me out of the school and gave me some towels.">>
<<log $logprep 3>>
<<link [[Next|Oxford Street]]>><</link>>

:: Library Study Refuse [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

<<He>> chases you down the aisles. You avoid <<him>> with ease. <<He>> seems afraid of touching you, lest <<he>> come in contact with something <<he>> shouldn't. After some time <<he>> stops, panting. "I-if anyone asks," <<he>> says. "I never saw you." <<He>> leaves the room.

<<endevent>>
<<set $logprep to "I studied "+$naked+" at the school library but a security guard found me and chased after me for a while before giving up.">>
<<log $logprep 3>>
<<link [[Next|School Library]]>><</link>>

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

<<if $phase is 0>>
	<<if $rng gte 81>>
	The <<person1>><<person>> looks at the <<person2>><<person>> and smiles. "<<pShe>> thinks <<pshe>> can ignore us." <<person1>><<He>> gags you with <<his>> hand.

	<<link [[Next|School Library Molestation]]>><<set $molestationstart to 1>><</link>>

	<<else>>
	You ignore their pestering until they tire and leave you alone.

	<<set $logprep to "I studied at the school library but some students tried to harass me but I just ignored them until they got bored.">>
	<<log $logprep 2>>

	<<link [[Next|School Library]]>><<endevent>><</link>>
	<</if>>
<<elseif $phase is 1>>
<<generate3>><<person3>>You shout for help. Several people arrive to investigate, including the librarian. <<He>> glares at the pair. "You two again. Out."

<<person2>>The <<person>> looks indignant. "We're just play-"

The librarian interrupts. "I said OUT." The pair comply, leaving you in peace.

<<person3>>The librarian asks if you're okay, and you nod. Assured that you're fine, <<he>> returns to <<his>> duties.

<<set $logprep to "I studied at the school library but some students tried to harass me but I got the librarian to chase them away.">>
<<log $logprep 2>>

<<link [[Next|School Library]]>><<endevent>><</link>>

<</if>>

:: School Library Molestation [nobr]
<<if $molestationstart is 1>>
<<set $molestationstart to 0>>
<<controlloss>>
<<violence 1>>
<<neutral 1>>
<<molested>>
<<set $event to "molestationhome">>
<<man1init>><<npcidlegenitals>><<set $mouthuse to "lefthand">><<set $lefthand to "mouth">>
<<if $delinquency lt 400>><<set $rescue to 1>><</if>>
<<set $timer to 20>>
<</if>>

<<effects>>

<<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>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

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

:: School Library Molestation Finish [nobr]
<<if $enemyhealth lte 0>>

They recoil in pain, a glint of fear in their eyes. "Fucking psycho!" They leave you in peace. <<tearful>> you gather yourself.

<<clotheson>>
<<endcombat>>
<<set $logprep to "I studied at the school library but some students tried to "+$aw_xx+" but I managed make them leave by beating them up.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<link [[Next|School Library]]>><</link>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

<<person1>>The <<person>> looks at the <<person2>><<personstop>> "I came first, pay up!"

The <<person>> shakes <<his>> head. "No way, I started shuddering before you."

They leave you slumped over the desk. They're still arguing as their voices fade. <<tearful>> you gather yourself.

<<clotheson>>
<<endcombat>>
<<set $logprep to "I studied at the school library but a pair of students decided to "+$aw_xx+" until they were both satisfied.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<link [[Next|School Library]]>><</link>>
<<elseif $alarm is 1 and $rescue is 1>><<set $rescued += 1>>

<<endevent>>

The librarian, startled by your cries, arrives to investigate.

The pair cease their assault and flee between the bookshelves, as the librarian rushes over to you.

<<clotheson>>
<<endcombat>>
<<set $logprep to "I studied at the school library and some students started to "+$aw_xx+" but I managed to cry for help">>
<<exposure>>
<<generate1>><<person1>>
<<if $exposed gte 1>>
	<<He>> gives you some towels to cover up with.<<towelup>>
<</if>>
"Are you OK?" <<He>> asks.
<<if $stress gte 10000>>
	Your consciousness is already slipping away, however.

	<<endevent>>
	<<set $logprep to $logprep+" before passing out.">>
	<<log $logprep 3>>
	<<logopinion "That was interesting">>
	<<ambulance>>
<<elseif $pain gte 100>>
	You try to speak, but instead burst into tears. You feel the librarian's arms around you as you pass out.

	<<endevent>>
	<<set $logprep to $logprep+" before passing out.">>
	<<log $logprep 3>>
	<<logopinion "That was interesting">>
	<<ambulance>>
<<elseif $pain gte 20>>
	<<tearful>> you nod and smile at the librarian through your tears. Once assured that you're unhurt, <<he>> returns to <<his>> duties.
	<<endevent>>

	<<set $logprep to $logprep+" despite the pain.">>
	<<log $logprep 3>>
	<<logopinion "That was interesting">>
	<<link [[Next|School Library]]>><</link>>
<<else>>
	<<tearful>> you nod and smile at the blushing librarian. Once assured that you're unhurt, <<he>> returns to <<his>> duties.

	<<endevent>>
	<<set $logprep to $logprep+".">>
	<<log $logprep 3>>
	<<logopinion "That was interesting">>
	<<link [[Next|School Library]]>><</link>>
<</if>>
<<elseif $timer lte 0>>

Seeming to grow bored, the pair leave you alone. <<tearful>> you gather yourself.

<<clotheson>>
<<endcombat>>
<<set $logprep to "I studied at the school library but a pair of students decided to "+$aw_xx+" until they got bored.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<link [[Next|School Library]]>><</link>>
<</if>>

repo_name: Mauno/degrees


code:
:: School Lockers [nobr]
<<set $outside to 0>><<schooleffects>><<effects>><<set $lock to 0>>
<<if $loglocations is 1>><<log "Was at the school lockers." $locationimportance>><</if>>

The school lockers are notoriously easy to break into.

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

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

	<<link [[Break into them (0:30)|School Lockers Sneak]]>><<pass 30>><<crimeup 30>><</link>><<crime>>

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

	<</if>>

<<else>>
During school there may be valuables left inside them.

<</if>>

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

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

<<if $rng gte 81 and $lockermoney gte 6>>

You successfully pick the locks.

<<if $skulduggery lt 100>>
<<skulduggeryskilluse>><<set $skulduggery += 5>>
<<else>>
There's nothing more you can learn from locks this simple.
<</if>>

You find £6 worth of coins scattered around. Probably meant for bus fare.

<<link [[Take it|School Lockers]]>><<set $money += 600>><<set $lockermoney -= 6>><<set $lockertheft += 6>><<crimeup 1>><<log "Broke into a locker at school and found some coins." 2>><</link>><<crime>>

<<link [[Leave|School Lockers]]>><<log "Broke into a locker at school and found some coins but didn't take them." 2>><</link>>

<<elseif $rng gte 61>>

You successfully pick the locks.

<<if $skulduggery lt 100>>
<<skulduggeryskilluse>><<set $skulduggery += 5>>
<<else>>
There's nothing more you can learn from locks this simple.
<</if>>

There's nothing of interest inside the lockers. Just some pens and pencils strewn around.

<<link [[Leave|School Lockers]]>><<log "Broke into a locker at school but found nothing of interest." 1>><</link>>

<<elseif $rng gte 41 and $lockermoney gte 30>>

You successfully pick the locks.

<<if $skulduggery lt 100>>
<<skulduggeryskilluse>><<set $skulduggery += 5>>
<<else>>
There's nothing more you can learn from locks this simple.
<</if>>

A bit of rummaging uncovers £30.

<<link [[Take it|School Lockers]]>><<set $money += 3000>><<set $lockermoney -= 30>><<set $lockertheft += 30>><<crimeup 5>><<log "Broke into a locker at school and found some money" 2>><</link>><<crime>>

<<link [[Leave|School Lockers]]>><<log "Broke into a locker at school and found some money but didn't take it." 2>><</link>>

<<elseif $rng gte 21>>

You successfully pick the locks.

<<if $skulduggery lt 100>>
<<skulduggeryskilluse>><<set $skulduggery += 5>>
<<else>>
There's nothing more you can learn from locks this simple.
<</if>>

You rummage through the belongings, but find nothing of value.

<<link [[Leave|School Lockers]]>><<log "Broke into a locker at school but found nothing of interest." 1>><</link>>

<<else>>

You successfully pick the locks.

<<if $skulduggery lt 100>>
<<skulduggeryskilluse>><<set $skulduggery += 5>>
<<else>>
There's nothing more you can learn from locks this simple.
<</if>>

<<if $schoolstate isnot "early" and $schoolstate isnot "late" and $schoolstate isnot "earlynoschool" and $schoolstate isnot "latenoschool" and $schoolstate isnot "daynoschool">>
	<<generatey1>>You are rummaging through some belongings when you hear a voice behind you. "Hey, that's my locker!" The voice belongs to a <<person1>><<personcomma>> who looks angry at your intrusion.

	<<link [[Apologize|School Lockers Apology]]>><</link>><<lcool>>

	<<link [[Lie|School Lockers Lie]]>><</link>><<gdelinquency>>

	<<link [[Fight|School Lockers Fight]]>><<set $fightstart to 1>><</link>>

<<else>>
	There's nothing of interest inside the lockers. Just some pens and pencils strewn around.

	<<link [[Leave|School Lockers]]>><<log "Broke into a locker at school but found nothing of interest." 1>><</link>>

<</if>>

<</if>>

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

You look down at your feet in shame. "S-sorry. I just wanted a look."

<<if $rng gte 95>><<status -5>>
	The <<person>> looks mollified. "You really shouldn't do that, I thought you were trying to steal from me." <<he>> says, looking through <<his>> belongings. Probably checking if anything is missing.

	<<log "Broke into a locker at school and was found out but just saying sorry was enough to get the person to forgive me." 2>>
	<<link [[Next|School Lockers]]>><<endevent>><</link>>

<<elseif $rng gte 5+$lockeralarm*2>>/* 5-25% fail chance*/<<status -10>>
	The <<person>> is not impressed, but doesn't seem as angry. "Just piss off," <<he>> says, looking through <<his>> belongings. Probably checking if anything is missing.

	<<log "Broke into a locker at school and was found out but just saying sorry was enough to get the person to leave me alone." 2>>
	<<link [[Next|School Lockers]]>><<endevent>><</link>>

<<else>><<status -10>>
	The <<person>> seems to just get angrier. "Like hell you did, nobody steals from me!" <<he>> yells, and attacks you.

	<<link [[Next|School Lockers Fight]]>><<set $fightstart to 1>><<set $phase to 1>><</link>>

<</if>>

:: School Lockers Lie [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>><<pronouns>>

You feign confusion. "Your locker? I thought this was mine. Silly me."

<<if $rng gte 95>>
	The <<person>> is not impressed, but doesn't seem as angry. "Well, it's not, so piss off." <<he>> says, looking through <<his>> belongings. Probably checking if anything is missing.

	<<set $logprep to "Broke into a locker at school and was found out but luckily "+$he+" bought my excuse of thinking that it was my locker.">>
	<<log $logprep 2>>
	<<link [[Next|School Lockers]]>><<endevent>><</link>>

<<elseif $rng gte 5+$lockeralarm*3>><<detention 3 "Theft">>
	"Your locker is nowhere near here, I'm not stupid," <<he>> says, looking through <<his>> belongings. Probably checking if anything is missing.

	<<set $logprep to "Broke into a locker at school and was found out but despite "+$him+" not buying my excuse "+$he+" left me alone.">>
	<<log $logprep 2>>
	<<link [[Next|School Lockers]]>><<endevent>><</link>>

<<else>>
	The <<person>> seems to just get angrier. "That's a blatant lie, your locker is nowhere near here, I think you need some punishement." <<he>> says and attacks you.

	<<link [[Next|School Lockers Fight]]>><<set $fightstart to 1>><<set $phase to 1>><</link>>

<</if>>

:: School Lockers Fight [nobr]
<<if $fightstart is 1>>
<<set $fightstart to 0>>

<<neutral 1>>
<<set $event to "molestationhome">>
<<man1init>>
<<set $enemytrust -= 100>>
<<set $enemyhealthmax -= 100>>
<<set $enemyhealth -= 100>>
<<set $enemyanger += 100>>
<<npcidlegenitals>>
<<if $phase is 1>>
<<He>> runs and collides with you, sending you both tumbling to the ground.

<<else>>
"Oh yeah," you say. "What are you gonna do about it?" <<He>> runs and collides with you, sending you both tumbling to the ground.

<</if>>
<<set $timer to 10>>
<</if>>

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

<<stateman>>

<<actionsman>>

<<if $timer lte 0>>
<<link [[Next|School Lockers Fight Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
<<link [[Next|School Lockers Fight Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<link [[Next|School Lockers Fight Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|School Lockers Fight]]>><</link>><<nexttext>>
<</if>>

:: School Lockers Fight Finish [nobr]
<<set $outside to 0>><<set $location to "school">><<schooleffects>><<effects>>

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

The climax seems to have robbed <<him>> of <<his>> remaining anger. "Just don't do it again," <<he>> says, looking sheepish. <<tearful>> you rise to your feet as <<he>> closes <<his>> locker and walks away.

<<clotheson>>
<<endcombat>>
<<set $logprep to "Broke into a locker at school and was found out by the owner of the locker who "+$aw_xedx+" until "+$he+" was satisfied.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<elseif $enemyhealth lte 0>>

"N-no more! You win," <<he>> says tearfully as <<he>> flees the scene. <<tearful>> you stand tall and triumphant.<<ltrauma>><<lstress>><<gcool>><<trauma -6>><<stress -12>><<status 1>>

<<clotheson>>
<<endcombat>>
<<set $logprep to "Broke into a locker at school and was found out by the owner of the locker so I beat "+$him+" up.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>

<<elseif $timer lte 0>>
<<endevent>>

<<leighton>><<person1>>Leighton storms onto the scene, and physically separates the two of you. "This is completely unacceptable," <<he>> says, looking at you. "I'll see you in my office after school, perhaps I can teach you how to act civil." <<gdelinquency>><<detention 4 "Fighting">>

<<clotheson>>
<<endcombat>>
<<set $logprep to "Broke into a locker at school and was found out by the owner of the locker so I fought "+$him+" until Leighton came to separate us.">>
<<log $logprep 3>>
<<logopinion "That was interesting">>
<</if>>

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