code:
:: Maths Project [nobr]
<<effects>>

<<if $mathschance is 0>>
The maths competition booklet lies on the desk in front of you. The task ahead is daunting.
<<elseif $mathschance lte 20>>
The maths competition booklet and the little progress you've made lie on the desk in front of you.
<<elseif $mathschance lte 40>>
Your groundwork for the maths competition lies on the desk in front of you.
<<elseif $mathschance lte 60>>
Your solution for the maths competition lies on the desk in front of you. There's a lot of room for improvement.
<<elseif $mathschance lte 80>>
Your solution for the maths competition lies on the desk in front of you. It's not complete, but it represents an impressive effort.
<<elseif $mathschancestart lte 99>>
Your solution for the maths competition lies on the desk in front of you. You know it's wrong, but it's impressive all the same.
<<else>>
Your solution for the maths competition lies on the desk in front of you. You weren't supposed to solve it. You're confident you have.
<</if>>

You have $mathsinfo insights.

<<if $stimdealerknown is 1>>
You have $mathsstim stimulants.

<</if>>

<<link [[Work on solution (2:00)|Maths Project Work]]>><<set $mathschance += 1>><<set $maths += 2>><<set $school += 2>><<pass 120>><<stress 12>><</link>><<gstress>><<gmaths>>

	<<if $mathsstim gte 1>>
	<<link [[Use stimulant (2:00)|Maths Project Stim]]>><<set $mathschance += 20>><<set $mathsstim -= 1>><<set $mathsstimused += 1>><<set $maths += 40>><<set $school += 40>><<pass 120>><</link>><<gggmaths>>

	<</if>>
	<<if $mathsinfo gte 1>>
	<<link [[Use a mathematical insight (2:00)|Maths Project Work]]>><<set $mathsinfo -= 1>><<set $mathschance += 10>><<set $maths += 20>><<set $school += 20>><<pass 120>><</link>><<ggmaths>>

	<</if>>

<<if $location is "home">>
<<link [[Stop|Bedroom]]>><</link>>

<<else>>
<<link [[Stop|School Library]]>><</link>>

<</if>>

:: Maths Project Work [nobr]
<<effects>>

You sit down and get to work.

<<if $mathschance lte 9>>
You hardly know where to begin - the mathematical symbols are a whole new language. There must be a way to make things easier.

<<elseif $mathschance lte 24>>
You have a basic understanding of what you need to do, but the amount of work remaining is daunting.

<<elseif $mathschance lte 44>>
You've probably done enough to be in with a chance, but the project isn't complete by any means.

<<elseif $mathschance lte 69>>
The project is definitely passable at this point, and you have a hard time imagining that any other student has worked this hard on it.

<<else>>
It's painstaking work, but you go over the project in detail, catching anything that could be considered a mistake.

<</if>>

<<if $location is "home">>
	<<if $hour lte 3>>
	The orphanage is dead silent as you work.

	<<elseif $hour lte 5>>
	As you work, the sky slowly brightens and the sun rises above the horizon.

	<<elseif $hour lte 7 and $schoolday is 1>>
	You do your best to ignore Bailey's knocking and instead keep working while the other residents head off to school.

	<<elseif $hour lte 7>>
	You do your best to ignore the sound of the other orphanage residents heading out for the day.

	<<elseif $hour lte 12 and $schoolday is 1>>
	You may be skipping school, but you aren't having much fun as you work.

	<<elseif $hour lte 12>>
	You listen to the sounds of the bustling town outside as you work.

	<<elseif $hour lte 14 and $schoolday is 1>>
	You work, though your concentration is often broken by the sound of the other residents of the orphanage arriving home from school.

	<<elseif $hour lte 14>>
	The orphanage grows noisy as its residents arrive home.

	<<elseif $hour lte 16>>
	The orphanage is alive with shouting and footsteps as the afternoon fades into the evening.

	<<elseif $hour lte 18>>
	The orphanage grows quiet as the residents wind down for the night.

	<<elseif $hour lte 20>>
	The sky grows dark as you work. The sun dips below the horizon.

	<<elseif $hour lte 21>>
	The orphanage is quiet at this hour, but you're still startled out of your work by the occasional sound of footsteps past your door.

	<<elseif $hour lte 23>>
	The orphanage is dead silent as you work.

	<<else>>
	You watch the clock as you work, continuing through midnight and into the next day.

	<</if>>
<<else>>
	<<if $schoolday is 1>>
		<<if $hour lte 6>>
		You work through the night, occasionally ducking below the desk to avoid security.
		<<elseif $hour lte 7>>
		Morning light bleeds through the library windows as you work.
		<<elseif $hour lte 8>>
		Other students arrive as you work. Some work on their own projects.
		<<elseif $hour lte 11>>
		You may be skipping your lessons, but you aren't having much fun as you work.
		<<elseif $hour lte 12>>
		You work as the library fills with other students arriving to pursue their own solutions.
		<<elseif $hour lte 14>>
		You may be skipping your lessons, but you aren't having much fun as you work.
		<<elseif $hour lte 16>>
		You work as the library fills with other students staying late to pursue their own solutions.
		<<elseif $hour lte 18>>
		You listen to the sounds of the bustling town outside as you work.
		<<elseif $hour lte 21>>
		The remaining daylight dims as you work.
		<<else>>
		You work through the night, occasionally ducking below the desk to avoid security.
		<</if>>
	<<else>>
		<<if $hour lte 6>>
		You work through the night, occasionally ducking below the desk to avoid security.
		<<elseif $hour lte 7>>
		Morning light bleeds through the library windows as you work.
		<<elseif $hour lte 8>>
		Morning light bleeds through the library windows as you work.
		<<elseif $hour lte 11>>
		You listen to the sounds of the bustling town outside as you work.
		<<elseif $hour lte 12>>
		You listen to the sounds of the bustling town outside as you work.
		<<elseif $hour lte 14>>
		You listen to the sounds of the bustling town outside as you work.
		<<elseif $hour lte 16>>
		You listen to the sounds of the bustling town outside as you work.
		<<elseif $hour lte 18>>
		You listen to the sounds of the bustling town outside as you work.
		<<elseif $hour lte 21>>
		The remaining daylight dims as you work.
		<<else>>
		You work through the night, occasionally ducking below the desk to avoid security.
		<</if>>
	<</if>>
<</if>>

<<link [[Next|Maths Project]]>><</link>>

:: Maths Project Stim [nobr]
<<effects>>

You take the stimulant, sit down, and get to work.

<<if $mathschance lte 9>>
The maths is completely new to you, but with the stimulant sharpening your mind you figure out the basics.

<<elseif $mathschance lte 24>>
With the help of the stimulant, you can see all the steps you'll need to complete the project.

<<elseif $mathschance lte 44>>
The groundwork of the project has been laid, and now you're ready to fill in the rest.

<<elseif $mathschance lte 69>>
Although your project is satisfactory, you can see plenty more to improve.

<<else>>
At this point, all that's left is to polish out the little flaws until the project is perfect.

<</if>>

<<if $location is "home">>
	<<if $hour lte 3>>
	The orphanage is silent.

	<<elseif $hour lte 5>>
	You're so focused on your work that the sun catches you by surprise when it rises above the horizon.

	<<elseif $hour lte 7 and $schoolday is 1>>
	Your focus on your work is unbreakable, even by Bailey hammering on the door to wake you for school.

	<<elseif $hour lte 7>>
	You can hear the other residents of the orphanage waking up and leaving for the day, but it's easy to ignore them.

	<<elseif $hour lte 12 and $schoolday is 1>>
	You may be skipping school, but you're still learning a lot as you work.

	<<elseif $hour lte 12>>
	The day flies by as you work.

	<<elseif $hour lte 14 and $schoolday is 1>>
	You hear the other residents of the orphanage arriving home from school, but it doesn't break your concentration.

	<<elseif $hour lte 14>>
	You're aware of the other residents of the orphanage arriving home for the evening, but you keep working regardless.

	<<elseif $hour lte 16>>
	You have no trouble shutting out the sounds of the orphanage's activity as the afternoon fades into evening.

	<<elseif $hour lte 18>>
	The sounds of the orphanage grow quiet as the other residents wind down for the night, but you're still working as quickly as ever.

	<<elseif $hour lte 20>>
	You're so focused on your work that the sun catches you by surprise when it dips below the horizon.

	<<elseif $hour lte 21>>
	The orphanage is silent at this hour. You focus on your work.

	<<else>>
	Time speeds by, and you're late to notice that midnight has passed and the next day has begun.

	<</if>>
<<else>>
	<<if $schoolday is 1>>
		<<if $hour lte 6>>
		You work through the night. The occasional need to duck below your desk to avoid security does nothing to break your concentration.
		<<elseif $hour lte 7>>
		You barely notice the morning light creeping through the library windows as you work.
		<<elseif $hour lte 8>>
		Other students arrive as you work. You ignore them.
		<<elseif $hour lte 11>>
		You may be skipping school, but you're still learning a lot as you work.
		<<elseif $hour lte 12>>
		You work as the library fills with other students arriving to pursue their own solutions. You find it easy to ignore them.
		<<elseif $hour lte 14>>
		You may be skipping school, but you're still learning a lot as you work.
		<<elseif $hour lte 16>>
		You are not distracted by the other students staying late to pursue their own solutions.
		<<elseif $hour lte 18>>
		The day flies by as you work.
		<<elseif $hour lte 21>>
		You barely notice the morning light creeping through the library windows as you work.
		<<else>>
		You work through the night. The occasional need to duck below your desk to avoid security does nothing to break your concentration.
		<</if>>
	<<else>>
		<<if $hour lte 6>>
		You work through the night. The occasional need to duck below your desk to avoid security does nothing to break your concentration.
		<<elseif $hour lte 7>>
		You barely notice the morning light creeping through the library windows as you work.
		<<elseif $hour lte 8>>
		You barely notice the morning light creeping through the library windows as you work.
		<<elseif $hour lte 11>>
		The day flies by as you work.
		<<elseif $hour lte 12>>
		The day flies by as you work.
		<<elseif $hour lte 14>>
		The day flies by as you work.
		<<elseif $hour lte 16>>
		The day flies by as you work.
		<<elseif $hour lte 18>>
		The day flies by as you work.
		<<elseif $hour lte 21>>
		You barely notice the dimming light outside the library windows as you work.
		<<else>>
		You work through the night. The occasional need to duck below your desk to avoid security does nothing to break your concentration.
		<</if>>
	<</if>>
<</if>>

<<if $mathsstimused is 2 or $mathsstimused gte 4 and $rng gte 75>>
You sit back and admire your work. You feel a strange heat just beneath your skin. It grows and spreads through your body, concentrated on your loins. Lewd fantasies force themselves into your mind. Within moments, your cheeks are flushed and you find yourself squirming with desire. That dose must have been contaminated by a concentrated aphrodisiac.<<gggarousal>><<arousal 100>><<set $drugged += 500>>

Your hands wander between your legs in an instinctive attempt to satisfy your burning desire. But the stimulation from touching yourself is too strong to bear. The pleasure shoots through you, painfully intense. Your hands recoil, and your whole body convulses as your vision whites out. The aftershocks leave you trembling. There's no way you'll be able to use your hands to comfort yourself.

You consider leaving your room for some fresh air. But your mind is so overwhelmed by desire. You can only imagine what will happen when someone finds you in your defenceless state. And the alternative, staying here and trying to endure the arousal until it fades, feels like it might be even worse.

	<<if $location is "home">>
	<<link [[Endure (4:00)|Maths Project Endure Home]]>><<pass 240>><<stress 24>><</link>><<ggstress>>

	<<link [[Go outside|Maths Project Outside Home]]>><</link>>

	<<else>>
	<<link [[Endure (4:00)|Maths Project Endure Library]]>><<pass 240>><<stress 24>><</link>>

	<<link [[Go outside|Maths Project Outside Library]]>><</link>>

	<</if>>

<<elseif $mathsstimused is 3 or $mathsstimused gte 4 and $rng gte 50>>

You sit back and admire your work, but something is wrong. The objects in your room begin to shift and warp, becoming covered in strange patterns. You lose your sense of balance and find yourself wobbling. You almost fall over. That dose must have been contaminated with a concentrated hallucinogen. The knowledge does nothing to make the experience less real.
<<set $hallucinogen += 500>>

You try to lie down, but before you can make it to your bed your surroundings become twisted and unfamiliar. Dark, threatening shapes shift around you as you stumble forward in search of something familiar to cling to. Grotesque creatures with giant eyes and countless thrashing tongues watch you from afar, gibbering in guttural sounds that echo across the landscape. The floor begins to liquefy, and you struggle to move through it as you sink to your ankles, then your knees, then your waist. Finally, it gives way all at once and you find yourself falling, tumbling end-over-end through a black void.

	<<if $location is "home">>
	<<set $bus to "residential">>
	<<else>>
	<<set $bus to "industrial">>
	<</if>>
	<<link [[Next|Maths Project Void]]>><</link>>

<<elseif $mathsstimrobin isnot 1 and $schoolday is 0 and $daystate isnot "night" and $robinmissing isnot 1 and $NPCName[$NPCNameList.indexOf("Robin")].init is 1 and $location is "home">><<set $mathsstimrobin to 1>>
<<npc Robin>><<person1>>
You sit back and admire your work. You feel a strange heat just beneath your skin. Your visions blurs, and everything fades to black.
<<ggarousal>><<arousal 18>><<set $drugged += 120>><<set $hallucinogen += 120>>

You awaken to someone shaking your arm. You're still in your room, lying on your bed. Robin sits beside you, frowning.

"You were lying on the floor outside," <<he>> says. <<He>> sounds concerned. "Are you okay?"

<<if $robinromance is 1>>
That strange heat hasn't left your body. Robin is so close.

<<link [[Pull Robin on top of you|Maths Project Robin Sex]]>><<set $sexstart to 1>><</link>><<promiscuous1>>

<</if>>

<<link [[Say you're fine|Maths Project Robin]]>><</link>>

<<else>>
You sit back and admire your work. You feel a strange heat just beneath your skin.
<<ggarousal>><<arousal 18>><<set $drugged += 120>><<set $hallucinogen += 120>>

<<link [[Next|Maths Project]]>><</link>>

<</if>>

:: Maths Project Robin [nobr]
<<effects>>

You tell Robin you're fine, and thank <<him>> for bringing you to your bed. <<He>> doesn't look relieved, but <<he>> nods and stands up. <<He>> turns as <<he>> reaches the door. "Make sure you go to a doctor if you're feeling ill," <<he>> says. "I'll go with you if you like."

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

:: Maths Project Robin Sex [nobr]
<<if $sexstart is 1>>
<<set $sexstart to 0>>
<<consensual>>
<<set $consensual to 1>>
<<neutral 1>>
<<set $event to "molestationhome">>
<<man1init>>
<<set $enemytrust += 500>><<set $speechdisable to 1>>
<<set $enemyarousalmax to 600>>
<</if>>

<<set $enemyanger to 0>>

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

<<stateman>>

<<actionsman>>

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

:: Maths Project Robin Sex Finish [nobr]
<<set $outside to 0>><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>><<npcincr Robin lust -20>>

Robin clings to you and smiles.

<<elseif $enemyhealth lte 0>>

"Ow!" Robin says. <<Hes>> still smiling.

<<elseif $finish is 1>>

Robin clings to you and smiles.

<</if>>

"Thank you for looking out for me," you say. You kiss <<his>> forehead and <<he>> nuzzles your neck. You lie together for a few moments, until <<he>> climbs to <<his>> feet.

<<He>> turns as <<he>> reaches the door. "I'm glad you're okay, but make sure you go to a doctor if you're feeling ill," <<he>> says. "I'll go with you if you like."

<<clotheson>>
<<endcombat>>

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

:: Maths Project Void [nobr]
<<effects>>
<<generate1>><<person1>>
The fall abruptly ends as you land against a cold brick wall. You recognize the sky and the surrounding buildings, though they still don't seem quite right. You've somehow ended up outside<<if $exposed gte 1>> - and without getting dressed first!<<else>>.<</if>>

As you try and fail to balance yourself, a <<person>> rounds the corner and notices the difficulty you're having.

"Poor thing. Here, let me help you walk home."

You can't find the words to protest as <<he>> takes you by the shoulder and guides you into a nearby alley. The sounds of the city fade as you arrive at a secluded dead end. Then, <<he>> shoves you against the wall. Your lucidity returns as the <<person>> bears down on you.

<<link [[Next|Maths Project Void Rape]]>><<set $molestationstart to 1>><</link>>

:: Maths Project Void Rape [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|Maths Project Void Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<link [[Next|Maths Project Void Rape Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|Maths Project Void Rape]]>><</link>><<nexttext>>
<</if>>

:: Maths Project Void Rape Finish [nobr]
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

<<He>> dumps you on floor and glances around, before leaving without a word.

<<tearful>> you try to stagger to your feet. You slip back to the ground.

<<clotheson>>
<<endcombat>>

<<generate1>><<person1>>A <<person>> wearing a white coat crouches in front of you. You didn't see <<him>> coming. <<He>> holds a cotton bud in one hand. <<He>> grasps your cheeks with the other, forcing your mouth open. <<He>> pushes the bud into your mouth, and rubs it against the inside of your cheek. <<He>> drops the bud into a small bag, which <<he>> seals shut. <<He>> leaves without a word.

<<endevent>>
You stagger once more to your feet. You remain stood this time. The world is returning to normal. Mostly.

<<destinationeventend>>

<<else>>

You manage to shove <<him>> against the alley wall and stagger into the open.

<<tearful>> you lean against a street light, but lose your balance and tumble to the ground.

<<clotheson>>
<<endcombat>>

<<generate1>><<person1>>A <<person>> wearing a white coat crouches in front of you. You didn't see <<him>> coming. <<He>> holds a cotton bud in one hand. <<He>> grasps your cheeks with the other, forcing your mouth open. <<He>> pushes the bud into your mouth, and rubs it against the inside of your cheek. <<He>> drops the bud into a small bag, which <<he>> seals shut. <<He>> leaves without a word.

<<endevent>>
You stagger once more to your feet. You remain stood this time. The world is returning to normal. Mostly.

<<destinationeventend>>

<</if>>

:: Maths Project Endure Home [nobr]
<<effects>>

You lay down on your bed and hope you can endure the experience. Doing anything productive right now is out of the question. It's a struggle to even think straight, but you do your best to distract yourself by counting things. It's going well until you glance at the clock and realize only a couple of minutes have passed.

Your muscles ache from the tension by the time the aches fade. You realize that your teeth have been clenched too. You're still aroused and frustrated. At least you can think straight again.

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

:: Maths Project Endure Library [nobr]
<<effects>>

You lean back in your chair and hope you can endure the experience. Doing anything productive right now is out of the question. It's a struggle to even think straight, but you do your best to distract yourself by counting things. It's going well until you glance at the clock and realize only a couple of minutes have passed.

By the time the drug's effects begin to fade your muscles ache from the tension. You realize that your teeth have been clenched too. You're still aroused and frustrated. At least you can think straight again.

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

:: Maths Project Outside Home [nobr]

<<effects>><<set $bus to "residential">>
<<generate1>><<person1>>
You stumble outside, leaning against a wall for support. <<if $exposed gte 1>>The air is cold against your skin. You were in such a hurry that you didn't even get dressed, but you're past the point of caring. If it means that someone notices you sooner, all the better.<<else>>The stimulation of your clothes brushing against your <<genitals>> is almost too much to bear, forcing you to stop every few steps as you convulse with pleasure.<</if>> At first, no one else notices, until a <<person>> walking on the same side of the street spots you and casts a leer up and down your body. You try to speak to <<himstop>>

"Pl-please..."

<<He>> doesn't wait for clarification. After glancing around to make sure no one is watching, <<he>> grabs your arm and pulls you down an alleyway. Your reflexive scream of protest comes out as a lewd moan.

<<His>> hand explores between your legs, and the pleasure overwhelms you once more. But this time the spasms don't stop the stimulation. You can only thrash helplessly as <<his>> fingers continue their work.

"You're a naughty one, aren't you?" <<he>> says. "Don't worry. I know just what you need."

<<link [[Next|Maths Project Outside Rape]]>><<set $molestationstart to 1>><</link>>

:: Maths Project Outside Library [nobr]

<<effects>><<set $bus to "industrial">>
<<generate1>><<person1>>
You stumble from the library, through the corridors, and outside. <<if $schoolday is 1 and $hour gte 8 and $hour lte 17>>You leave through the front gate, leaning against a wall for support. <<else>>You haul yourself over the fence, then lean against the wall for support.<</if>> <<if $exposed gte 1>>The air is cold against your skin. Your <<lewdness>> is exposed, but you're past the point of caring. If it means that someone notices you sooner, all the better.<<else>>The stimulation of your clothes brushing against your <<genitals>> is almost too much to bear, forcing you to stop every few steps as you convulse with pleasure.<</if>> At first, no one else notices, until a <<person>> walking on the same side of the street spots you and casts a leer up and down your body. You try to speak to <<himstop>>

"Pl-please..."

<<He>> doesn't wait for clarification. After glancing around to make sure no one is watching, <<he>> grabs you and pulls you down an alleyway. Your reflexive scream of protest comes out as a lewd moan.

<<His>> hand explores between your legs, and the pleasure overwhelms you once more. But this time the spasms don't stop the stimulation. You can only thrash helplessly as <<his>> fingers continue their work.

"You're a naughty one, aren't you?" <<he>> says. "Don't worry. I know just what you need."

<<link [[Next|Maths Project Outside Rape]]>><<set $molestationstart to 1>><</link>>

:: Maths Project Outside Rape [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|Maths Project Outside Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
<<link [[Next|Maths Project Outside Rape Finish]]>><</link>><<nexttext>>
<<else>>
<<link [[Next|Maths Project Outside Rape]]>><</link>><<nexttext>>
<</if>>

:: Maths Project Outside Rape Finish [nobr]
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

<<He>> dumps you on floor and glances around before leaving without a word.

<<tearful>> you stagger to your feet. You still feel sensitive and frustrated, but your thoughts have cleared somewhat.

<<clotheson>>
<<endcombat>>

<<destinationeventend>>

<<else>>

You manage to shove <<him>> against the alley wall and stagger into the open.

<<tearful>> you lean against a street light. You still feel sensitive and frustrated, but your thoughts have cleared somewhat.

<<clotheson>>
<<endcombat>>

<<destinationeventend>>

<</if>>

:: Stim Dealer [nobr]
<<effects>>

<<generate1>><<person1>>You approach the figure lurking in the shadows. Now closer, you can see a <<person>> hiding behind the heavy coat.

<<link [[Ask to buy stimulant|Stim Dealer Buy]]>><</link>>

<<if $mathsstimstolen is 0>>
<<set $skulduggerydifficulty to 600>>
<<elseif $mathsstimstolen is 1>>
<<set $skulduggerydifficulty to 800>>
<<elseif $mathsstimstolen is 2>>
<<set $skulduggerydifficulty to 1000>>
<<else>>
<<set $skulduggerydifficulty to 1200>>
<</if>>
<<link [[Steal stimulant|Stim Dealer Steal]]>><</link>><<skulduggerydifficulty>>

	<<if $hallucinations gte 1>>
	<<link [[Get caught stealing on purpose|Stim Dealer Steal]]>><<set $skulduggerydifficulty to 10000>><<trauma -60>><</link>> | Dangerous<<llltrauma>>

	<</if>>
<<link [[Walk away|Oxford Street]]>><<endevent>><</link>>

:: Stim Dealer Buy [nobr]
<<effects>>

The <<person>> looks at you with a wry smile.

<<if $mathsstimbought is 0>>
"You here for a study aid?" <<he>> asks. "£500 for a dose. It'll help, trust me."

	<<if $money gte 50000>>
	<<link [[Buy|Stim Dealer Buy 2]]>><<set $mathsstimbought += 1>><<set $mathsstim += 1>><<set $money -= 50000>><</link>>

	<</if>>
<<elseif $mathsstimbought is 1>>
"I'm afraid supplies are running low," <<he>> says. "£2000 per dose."

	<<if $money gte 200000>>
	<<link [[Buy|Stim Dealer Buy 2]]>><<set $mathsstimbought += 1>><<set $mathsstim += 1>><<set $money -= 200000>><</link>>

	<</if>>
<<else>>
"Supplies are scarce," <<he>> says. "Very scarce. £5000 per dose. Don't try to negotiate. There are plenty of rich kids looking to impress mummy and daddy."

	<<if $money gte 500000>>
	<<link [[Buy|Stim Dealer Buy 2]]>><<set $mathsstimbought += 1>><<set $mathsstim += 1>><<set $money -= 500000>><</link>>

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

<<link [[Walk away|Oxford Street]]>><<endevent>><</link>>

:: Stim Dealer Buy 2 [nobr]
<<effects>>

You exchange your money for a small bag of bright coloured pills. "One dose," the <<person>> says. <<He>> turns and walks deeper into the alley, then disappears around a corner.

<<link [[Next|Oxford Street]]>><<endevent>><</link>>

:: Stim Dealer Steal [nobr]
<<effects>>

<<if $mathsstimcaught isnot 1>>
	You wait for a group of students to approach the dealer, then slip in among them in order to get close. The other students give you a few confused glances, but the dealer is too distracted to notice you're not one of them. While they're doing business together you slip a hand into the dealer's coat.

	<<skulduggerycheck>>
	<<if $skulduggerysuccess is 1>><<set $mathsstim += 1>><<set $mathsstimstolen += 1>>

	You grasp a bag of pills, holding your breath as it crinkles softly between your fingers. The dealer remains oblivious. You stick around just long enough to avoid arousing any suspicion with too hasty a departure, then slip away into another passing crowd, your stolen drugs safely tucked away.

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

		<</if>>

	<<endevent>>
	<<link [[Next|Oxford Street]]>><</link>>

	<<else>>
	<<set $mathsstimcaught to 1>>
	The dealer glances at you, then shoves you away. The other students are confused, but the dealer's eyes remain locked on yours, narrowed above a nasty smirk.

	"You just made a big mistake," <<he>> says. <<He>> looks at the other students. "The rest of you listen up. First person to make <<phim>> scream gets a freebie. Hurry, before I change my mind."

	The other students turn towards you, weighing their options. They hesitate just long enough for you to break into a run and make your escape, but you're certain that this isn't the end of it. The dealers around here will be looking out for you from now on.

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

		<</if>>

	<<endevent>>
	<<link [[Next|Oxford Street]]>><</link>>

	<</if>>

<<else>>
	The dealers are on the lookout for you now, so you have to be more careful. You wait for a student to approach the dealer, and watch from a distance. As the dealer leaves, you follow behind. The next time the dealer turns into an alleyway, you hurry after and prepare to make your move.

	<<skulduggerycheck>>
	<<if $skulduggerysuccess is 1>><<set $mathsstim += 1>><<set $mathsstimstolen += 1>>

	You reach into the dealer's coat and grab a bag of pills. Then, you run. You don't stop to check if you were noticed. Any hesitation could go very badly.

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

		<</if>>

	<<endevent>>
	<<link [[Next|Oxford Street]]>><</link>>

	<<else>>
	<<set $mathsstimcaught to 1>><<generate2>><<generate3>>
	But as soon as you turn the corner you skid to a stop. The dealer is there, facing you, stood shoulder-to-shoulder with hired muscle. You turn to flee, but the way back is blocked by more rough-looking people.

	"We've heard all about you," the dealer sneers. "Time for a lesson."

	The dealer's goons close in.

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

		<</if>>

	<<link [[Go quietly|Maths Abduction]]>><<set $phase to 0>><</link>>

	<<link [[Scream|Maths Abduction]]>><<set $phase to 1>><</link>>

		<<if $submissive gte 1500>>
		<<link [[Beg|Maths Beg]]>><</link>><<submissivetext>>

		<</if>>

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

:: Maths Beg [nobr]
<<effects>>

<<if $mathsstimbeg isnot 1>><<set $mathsstimbeg to 1>>
You drop to your knees and rest your forehead on the ground. "Pl-please," you sob. "Don't hurt me. I don't have any money and I really need it."

The goons shift uncomfortably. "<<pShes>> just a kid," one of them says. "<<pShe>> worth the fuss?"

"Don't let us catch you again," the dealer says. "Or all the crying in the world won't save you." They depart, leaving you alone in the alley.

<<link [[Next|Oxford Street]]>><<endevent>><</link>>

<<else>>

You drop to your knees and rest your forehead on the ground. "Pl-please," you sob. "Don't hurt me. I don't have any money and I really need it."

The dealer barks laughter. "We're not falling for that," <<he>> says, nodding to <<his>> goons. You're grabbed from behind. Your <<bind>>arms are bound, and you are pushed down the alleyway until you come to a black car with an open boot. They shove you in, and slam it shut behind you.

<<link [[Next|Maths Boot]]>><</link>>

<</if>>

:: Maths Abduction [nobr]
<<effects>>
<<bind>>
<<if $phase is 0>>

Your arms are bound, and you are pushed down the alleyway until you come to a black car with an open boot. They shove you in, and slam it shut behind you.

<<else>>
You scream. One of the goons steps forward and gags your mouth with <<his>> hand. Two more grasp your arms, and bind them behind your back. You are pushed down the alleyway until you come to a black car with an open boot. They shove you in, and slam it shut behind you.

<</if>>

<<link [[Next|Maths Boot]]>><</link>>

:: Maths Boot [nobr]
<<effects>><<set $outside to 0>>

You're bound in the darkness. The engine roars into life, and you feel the car move.

<<link [[Wait (0:30)|Maths Boot Wait]]>><<pass 30>><<stress 6>><<trauma 6>><</link>><<gtrauma>><<gstress>>

<<link [[Struggle (0:30)|Maths Boot Struggle]]>><<pass 30>><<tiredness 6>><<stress 18>><<trauma 6>><</link>><<gtrauma>><<ggstress>><<gtiredness>>

:: Maths Boot Wait [nobr]
<<effects>><<set $location to "moor">>

The sounds of the town diminish and disappear, but the journey continues. It's hard to judge how much time passes, locked away in darkness. The car comes to a stop, and the engine falls silent. You hear many voices. The <<person>> throws the boot open. <<Hes>> not alone. A gang of <<people>> stand beside <<himcomma>> watching you.

"Nice."

"<<pShe>> tried to steal from you? But <<pshe>> looks so sweet."

"You're a lucky <<girlstop>>"

The <<person>> drags you from the boot. You get a glimpse of your surroundings before the <<people>> close in.

<<if $daystate is "night">>
You see long grass and wild flowers in the light of a nearby building. It's too dark to make out anything more, but you're somewhere outside town.

<<else>>
You're on top of a hill, beside an old building. A rocky plain of grass and wild flowers stretches out in all directions. You're a long way from town.

<</if>>

The gang shove you towards the building, and through its doors.

<<if $leftarm isnot "bound" or $rightarm isnot "bound">>
They don't notice your arms are free.

<</if>>

<<link [[Next|Maths Abduction 2]]>><</link>>

:: Maths Boot Struggle [nobr]
<<effects>><<set $location to "moor">>

You struggle against the bindings wrapped tight around your arms. You're persistent. Something comes loose. You keep struggling until you can pull your arms free.

<<unbind>>You feel the boot of the car, but can find no way to open it.

<<link [[Wait|Maths Boot Wait]]>><</link>>

:: Maths Abduction 2 [nobr]
<<effects>><<set $location to "moor">>

Inside is a table covered with cider cans and playing cards. As if a game were interrupted. They push you past it, and onto a bed next to a pile of stacked crates.

"Three at a time," the <<person>> says "There's enough <<girl>> for all of us. First though." <<He>> crouches, and pulls a pair of ankle cuffs out from beneath the bed. They snap shut around your legs. A short chain connects them.<<feetwear 3>>

<<He>> tugs the chain to make sure they're on firm, then climbs on top of you.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><<set $mathsab to 0>><</link>>

:: Maths Abduction Rape [nobr]
<<if $molestationstart is 1>>
<<set $molestationstart to 0>>
<<controlloss>>
<<violence 1>>
<<neutral 1>>
<<molested>>
<<set $event to "molestationhome">>
<<man1init>>

	<<if $pain gt 90>>
	"<<pShes>> gonna pass out," you hear someone say. "Give <<phim>> a dose." A hand yanks your head back by your hair, and another forces a pink pill into your mouth.<<garousal>><<lpain>><<set $drugged += 60>><<set $pain to 90>>

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

<<effects>>

<<effectsman>><<man>>

<<audience>>

<<stateman>>

<<actionsman>>

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

:: Maths Abduction Rape Finish [nobr]
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

<<tearful>> you prepare for more abuse.

	<<if $mathsab is 0>>
	"I've got an idea," the <<person1>><<person>> says.
	<</if>>

<<else>>

	<<if $worn.feet.name is "ankle cuffs">>
	You shove them away from you, but your bound legs and the sheer number of assailants prevents escape.

	<<else>>
	You shove them away from you, but the sheer number of assailants prevents escape.

	<</if>>
<<tearful>> you prepare for more abuse.

	<<if $mathsab is 0>>
	"<<pShe>> has such spirit," the <<person1>><<person>> says. "Can't wait to see <<phim>> broken."
	<</if>>

<</if>>

<<if $mathsab is 0>><<set $mathsab += 1>>

	<<if $leftarm is "bound" or $rightarm is "bound">>
	<<He>> produces a knife, and slices through the material binding your arms.
	<</if>>

"Everyone get your phones ready," <<he>> says, sitting behind you. <<He>> grabs your arms. "Smile <<girlcomma>> if you know what's good for you."

<<endcombat>>

<<link [[Smile and make peace signs with your fingers|Maths Abduction Smile]]>><<fameexhibitionism 50>><<trauma 6>><<stress -6>><</link>><<gtrauma>><<lstress>>

<<link [[Frown and make "fuck you" signs with your fingers|Maths Abduction Frown]]>><<fameexhibitionism 50>><<trauma -6>><<stress 6>><</link>><<gstress>><<ltrauma>>

<<link [[Cover your face|Maths Abduction Cover]]>><<trauma 6>><<stress 6>><<pain 6>><</link>><<gtrauma>><<gstress>><<gpain>>

<<elseif $mathsab is 1>><<set $mathsab += 1>>

"Someone put an ad up with one of those pictures," the <<person>> says. "We might be able to get something for <<phimstop>>"

<<endcombat>>

<<generate1>><<generate2>><<generate3>>
Three more <<people>> climb on the bed, eager for their turn.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><</link>>

<<elseif $mathsab is 2>><<set $mathsab += 1>>

The <<person1>><<person>> checks <<his>> phone. "We got someone interested already," <<he>> says. "Let's make the most of <<phim>> while we can."

<<endcombat>>

<<generate1>><<generate2>><<generate3>>
Three more <<people>> climb on the bed, eager for their turn.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><</link>>

<<elseif $mathsab is 3>><<set $mathsab += 1>>

"Do we have to sell <<phim>> off?" the <<person1>><<person>> asks. "We could keep <<phim>> chained up here. Not like anyone would find out."

"You'd get bored of <<phim>> within a week," the <<person>> responds, checking <<his>> phone. "The buyer's already on their way. They sound like a nasty piece of work."

<<endcombat>>

<<generate1>><<generate2>><<generate3>>
Three more <<people>> climb on the bed, eager for their turn.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><</link>>

<<else>>

"How about you pose for us again?" the <<person>> says. "Something for us to remember you by."

<<endcombat>>

<<link [[Smile and make peace signs with your fingers|Maths Abduction Smile 2]]>><<famerape 50>><<trauma 6>><<stress -6>><</link>><<gtrauma>><<lstress>>

<<link [[Frown and make "fuck you" signs with your fingers|Maths Abduction Frown 2]]>><<famerape 50>><<trauma -6>><<stress 6>><</link>><<gstress>><<ltrauma>>

<<link [[Cover your face|Maths Abduction Cover 2]]>><<trauma 6>><<stress 6>><<pain 6>><</link>><<gtrauma>><<gstress>><<gpain>>

<</if>>

:: Maths Abduction Smile [nobr]
<<effects>><<set $location to "moor">>

<<if $pain gte 40>>
<<set $mathsab1 to "tearsmile">>
You smile through your tears, face your palms towards your audience, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"Such a slut."

"Aww, <<pshes>> crying already."

"I wonder how long <<pshe>> will keep it up."

<<else>>
<<set $mathsab1 to "smile">>
You smile, face your palms towards your audience, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"Such a slut."

"It's almost like <<pshe>> hasn't just been raped."

"I wonder how long that smile will last."

<</if>>

<<generate1>><<generate2>><<generate3>>
"That's enough of that," a <<person1>><<person>> says. "It's my turn." <<He>> shoves you back on the bed.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><</link>>

:: Maths Abduction Frown [nobr]
<<effects>><<set $location to "moor">>

<<if $pain gte 40>>
<<set $mathsab1 to "tearfrown">>
You let your anger show, though you can't stop your tears. You face your palms towards your body, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"<<pShe>> won't resist for long."

"Aww, <<pshes>> trying to be tough."

"So feisty for someone in <<pher>> position."

<<else>>
<<set $mathsab1 to "frown">>
You let your anger show, face your palms towards your body, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"<<pShe>> won't resist for long."

"Let's rape <<pher>> until <<pshe>> likes it."

"So feisty."

<</if>>

<<generate1>><<generate2>><<generate3>>
"That's enough of that," a <<person1>><<person>> says. "It's my turn." <<He>> shoves you back on the bed.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><</link>>

:: Maths Abduction Cover [nobr]
<<effects>><<set $location to "moor">>

<<if $pain gte 40>>
<<set $mathsab1 to "tearcover">>
You cover your tearful face with your hands. Someone smacks your head, but everyone starts taking pictures anyway.

"Aww, <<pshes>> shy."

"<<pShes>> trying to hide."

"Maybe <<pshe>> doesn't want <<pher>> school friends to see <<phim>> crying."

<<else>>
<<set $mathsab1 to "cover">>
You cover your face with your hands. Someone smacks your head, but everyone starts taking pictures anyway.

"Aww, <<pshes>> shy."

"<<pShes>> trying to hide."

"Maybe <<pshe>> thinks <<pher>> school friends will see the pictures."

<</if>>

<<generate1>><<generate2>><<generate3>>
"That's enough of that," a <<person1>><<person>> says. "It's my turn." <<He>> shoves you back on the bed.

<<link [[Next|Maths Abduction Rape]]>><<set $molestationstart to 1>><</link>>

:: Maths Abduction Smile 2 [nobr]
<<effects>><<set $location to "moor">>

<<if $pain gte 40>>
<<set $mathsab2 to "tearsmile">>
You smile through your tears, face your palms towards your audience, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"<<pShes>> a trooper."

"Still putting on a brave face."

"It's like <<pshes>> been trained already."

<<else>>
<<set $mathsab2 to "smile">>
You smile, face your palms towards your audience, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"<<pShes>> a trooper."

"Still putting on a brave face."

"<<pShes>> gonna make a fantastic sex slave."

<</if>>

<<mathsphone>>

<<generate1>><<person1>>A <<person>> chains your ankles to the bed. They jeer at you a bit longer, but then lose interest. Seems they're finished with you for now.

<<endevent>>
<<link [[Next|Maths Abduction 3]]>><</link>>

:: Maths Abduction Frown 2 [nobr]
<<effects>><<set $location to "moor">>

<<if $pain gte 40>><<set $mathsab2 to "tearfrown">>
You let your anger show, though you can't stop your tears. You face your palms towards your body, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"Gotta hand it to <<phimcomma>> <<pshes>> tough."

"I hope the buyer knows what they're getting into."

"I used to break sluts like <<phim>> all the time back in the day."

<<else>>
<<set $mathsab2 to "frown">>
You let your anger show, face your palms towards your body, and make a v sign with your index and middle finger. Everyone starts taking pictures.

"Gotta hand it to <<phimcomma>> <<pshes>> tough."

"I hope the buyer knows what they're getting into."

"I used to break slut like <<phim>> all the time back in the day."

<</if>>

<<mathsphone>>

<<generate1>><<person1>>A <<person>> chains your ankles to the bed. They jeer at you a bit longer, but then lose interest. Seems they're finished with you for now.

<<endevent>>
<<link [[Next|Maths Abduction 3]]>><</link>>

:: Maths Abduction Cover 2 [nobr]
<<effects>><<set $location to "moor">>

<<if $pain gte 40>><<set $mathsab2 to "tearcover">>
You cover your tearful face with your hands. Someone smacks your head, but everyone starts taking pictures anyway.

"Trying to save face after all this."

"<<pShes>> trying to be tough."

"We've taken so many pictures, I hope <<pshe>> doesn't think no one will recognise <<pherstop>>"

<<else>>
<<set $mathsab2 to "cover">>
You cover your face with your hands. Someone smacks your head, but everyone starts taking pictures anyway.

"Trying to save face after all this."

"<<pShes>> trying to be tough."

"We've taken so many pictures, I hope <<pshe>> doesn't think no one will recognise <<pherstop>>"

<</if>>

<<mathsphone>>

<<generate1>><<person1>>A <<person>> chains your ankles to the bed. They jeer at you a bit longer, but then lose interest. Seems they're finished with you for now.

<<endevent>>
<<link [[Next|Maths Abduction 3]]>><</link>>

:: Maths Abduction 3 [nobr]
<<effects>><<set $location to "moor">>
<<generate1>><<generate2>><<person1>>
You curl up on the bed as most of the gang return to their game of cards. Others just drink and chat. At one point a van pulls up outside, tall enough that you see it's roof through the window. It's not here to pick you up however. Some of the gang carry boxes off the back, and stack them with the others.

"We're gonna need to push these harder," a <<person>> comments. "Or find someone new to sell to."

<<person2>>
"I don't like this whole thing," a <<person>> responds. "Don't you ever feel watched while carrying them?"

<<person1>>
"By who?" the <<person>> scoffs. "The police would shake us down if they knew. Not just watch."

<<person2>>
"Not them," the <<person>> says. "That's the trouble."

<<endevent>>

No one notices a few bags spill from one of the boxes. You've gained 3 doses of stimulant.<<set $mathsstim += 3>>

<<link [[Next (0:30)|Maths Abduction 4]]>><<pass 30>><</link>>

:: Maths Abduction 4 [nobr]
<<effects>><<set $location to "moor">>
<<unset $mathsab>><<unset $mathsab1>><<unset $mathsab2>>

<<npc Bailey>><<generate2>><<generate3>><<generate4>><<generate5>>

You hear a car pull up outside. Four doors open and close. <<person2>>"That'll be the buyer," a <<person>> says. They step away from their game of cards and leave the building.

"You came in a hurry," you hear <<him>> say. "We haven't had a chance to clean-"

"Show me the <<girlcomma>>" a familiar voice interrupts. It's Bailey.

<<person2>>Bailey follows the <<person>> into the building. <<person1>>Three rough-looking people enter with <<himstop>>

<<link [[Next|Maths Abduction 5]]>><</link>>

:: Maths Abduction 5 [nobr]
<<effects>><<set $location to "moor">>

Bailey glances at you, then turns to the <<person2>><<personstop>> "Five thousand."

"That's right," the <<person>> replies, holding out <<his>> hand. One of Bailey's goons, a <<person3>><<personcomma>> approaches you, unlocks the chain tying you to the bed, and pulls you to your feet.<<if $worn.feet.name is "ankle cuffs">><<set $worn.feet.type.push("broken")>><<feetruined>><</if>>

"You misunderstand," Bailey says. The goons flanking <<person1>><<himcomma>> a <<person4>><<person>> and <<person5>><<personcomma>> pull pistols from their jackets. "You used my property. You're paying for it."

The <<person2>><<person>> gapes. "You're a brave fucker," <<he>> spits. <<Hes>> incensed, but <<he>> looks around the room. <<His>> colleagues stand way back, their hands in the air. <<He>> sighs, then gestures where the table stood.

Bailey walks over, lifts a decaying rug, and opens the trap door <<he>> finds beneath. <<He>> pulls out a rucksack. Inside are rolls of banknotes. <<He>> counts them, then stuffs about half into <<his>> pockets. <<He>> drops the bag back through the hole.

"Five thousand." <<He>> repeats. "Good doing business with you."

<<link [[Next (0:30)|Maths Abduction 6]]>><</link>>

:: Maths Abduction 6 [nobr]
<<effects>><<set $location to "moor">>
<<clothesontowel>>
The journey home through the countryside is uneventful. You sit in the middle seat, between the <<person4>><<person>> and <<person5>><<personstop>> They don't look at you. Bailey drives, with the <<person3>><<person>> sat beside <<himstop>>

<<link [[Thank for the rescue|Maths Abduction Thank]]>><</link>>

<<link [[Get angry you were called property|Maths Abduction Insist]]>><</link>>

<<if $promiscuity gte 35>>
<<link [[Tease the goons|Maths Abduction Tease]]>><</link>><<promiscuous3>>

<</if>>
<<link [[Remain Silent|Maths Abduction Silent]]>><</link>>

:: Maths Abduction Thank [nobr]
<<effects>><<set $location to "town">>

"Thanks for rescuing me," you say. The <<person5>><<person>> smiles at you. No one else responds.

<<link [[Ask if Bailey is angry with you|Maths Abduction Ask]]>><</link>>

<<link [[Remain Silent|Maths Abduction Silent]]>><</link>>

:: Maths Abduction Ask [nobr]
<<effects>><<set $location to "town">>

"Are you upset with me?" you ask, looking at Bailey through the rearview mirror.

"No," <<he>> says. "That will change if you don't be quiet."

No one says anything else as Bailey drives you into town, and back to the orphanage.

<<link [[Next|Domus Street]]>><<endevent>><<set $eventskip to 1>><<set $stress -= 200>><</link>>

:: Maths Abduction Insist [nobr]
<<effects>><<set $location to "town">>

"I'm not your property," you say, glaring at Bailey through the rearview mirror.

"You are until you pay your debt," <<he>> responds, keeping <<his>> eyes on the road. "As far as anyone cares."

No one says anything else as Bailey drives you into town, and back to the orphanage.

<<link [[Next|Domus Street]]>><<endevent>><<set $eventskip to 1>><<set $stress -= 200>><</link>>

:: Maths Abduction Tease [nobr]
<<effects>><<set $location to "town">>

You rest your hands on the <<person4>><<person>> and <<person5>><<persons>> thighs, with one finger on their groins. You begin to stroke.<<promiscuity3>>

The <<person4>><<person>> blushes, but doesn't react. The <<person5>><<person>> rests <<his>> own hand on your thigh, and mimics your movements.

"You paying for that?" Bailey says. <<His>> eyes remain locked on the road. The <<person5>><<person>> grasps your arm and pushes it away from <<his>> crotch. <<He>> looks out the window, as if nothing happened.

No one says anything else as Bailey drives you into town, and back to the orphanage.

<<link [[Next|Domus Street]]>><<endevent>><<set $eventskip to 1>><<set $stress -= 200>><</link>>

:: Maths Abduction Silent [nobr]
<<effects>><<set $location to "town">>

You remain silent as Bailey drives you into town, and back to the orphanage.

<<link [[Next|Domus Street]]>><<endevent>><<set $eventskip to 1>><<set $stress -= 200>><</link>>

:: Maths Library Student [nobr]
<<effects>>

<<generatey1>><<person1>>You approach the student, a <<personcomma>> working on their solution. <<Hes>> too focused to notice you. You might learn something if you could get close enough to read.

<<link [[Distract with your body|Maths Library Student Seduce]]>><<set $mathslibrarystudent to 1>><</link>><<exhibitionist1>>

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

:: Maths Library Student Seduce [nobr]
<<effects>>

You saunter up to the <<personcomma>> and lean over <<his>> desk. <<if $worn.upper.type.includes("naked")>><<His>> eyes are drawn to your bare chest<<else>><<He>> gets a good look down your deliberately dishevelled $worn.upper.name<</if>>. You <<if $skirt is 1>>lift up the side of<<else>>pull down<</if>> your $worn.lower.name just far enough to <<if $worn.under_lower.type.includes("naked")>>hint at your lack of underwear<<else>>reveal a glimpse of your $worn.under_lower.name<</if>>.
<<exhibitionism1>>

<<if $submissive gte 1150>>
"Do you want to keep looking at me?" you ask. "I don't mind."
<<elseif $submissive lte 850>>
"I'll let you stare," you say. "This time."
<<else>>
"It's so hot in here," you say.
<</if>>

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

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

<<if $seductionrating gte $seductionrequired>><<set $mathslibraryknown to 1>><<set $mathsinfo += 1>>

<<He>> nods as you put on your show. You read over <<his>> project, keeping your eyes on it even as you sway your <<bottom>> around. You lean in so close you're almost touching <<himstop>>

The <<person>> reaches out to grab you. You glide out from between <<his>> arms. You've memorised everything you'll need. You leave with a playful wave. | + Mathematical Insight

<<else>>

<<He>> blushes, picks up <<his>> work, and moves to a different seat.

<</if>>

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

:: Maths Drugged Help [nobr]
<<effects>>

You rush to the staff room and knock on the door. Doren answers it. "Can I help you, <<if $player.appearance is "m">>lad<<else>>lass<</if>>?"

"There's a student lying in the hall," you say. "I think they're on something."

You show Doren to the student. "You're right," the teacher says. "I'll take <<him>> to the nurse. Good on you for watching out for your fellows."

Doren picks up the pen and paper, lifts the <<person>> with ease, and carries <<him>> away.

<<endevent>>

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

:: Maths Drugged Copy [nobr]
<<effects>>

You read the <<persons>> work, and spot some useful calculations. You finish copying them for yourself just as a librarian rounds the corner. <<generate2>><<person2>><<He>> rushes to the <<person1>><<persons>> side.

<<person2>><<He>> eyes you with suspicion as you leave, but doesn't say anything.

<<endevent>>

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

:: Maths Drugged Rob [nobr]
<<effects>>

You rifle through the <<person1>><<persons>> pockets. <<He>> mumbles something about tentacles and tries to squirm away, but <<hes>> in no state to stop you. You find a bag of bright-coloured pills just as a librarian rounds the corner. <<generate2>><<person2>><<He>> rushes to the <<person1>><<persons>> side.

<<person2>><<He>> eyes you with suspicion as you leave, but doesn't say anything.

<<endevent>>

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

:: Maths Competition [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

You enter the town hall. Rows of chairs face the stage opposite you. There's a projector set up. You recognise others from your class, holding their solutions close to their chests. Leighton and River stand beside the stage, talking with two people wearing suits. You don't recognise them.

You can enter your solution, or just watch. Taking part will make the teachers think better of you whether you win or not.

<<set $mathschance = Math.clamp($mathschance, 0, 100)>>
<<link [[Enter the competition (3:00)|Maths Competition Enter]]>><<pass 1 hour>><<pass 2 hours>><</link>> $mathschance% chance of winning.

<<link [[Just watch (3:00)|Maths Competition Watch]]>><<set $mathschancestart to $mathschance>><<pass 1 hour>><<pass 2 hours>><</link>>

<<link [[Leave (0:05)|Cliff Street]]>><<pass 5>><<endevent>><</link>>

:: Maths Competition Watch [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

You take a seat. More students arrive, some carrying papers, others here to watch. Leighton instructs the entrants to sit in the front row.

<<npc Leighton>><<person1>>
The <<if $pronoun is "m">>headmaster<<else>>headmistress<</if>> climbs the stage and taps the microphone. River stands beside <<himstop>> "Thank you, boys and girls, ladies and gentlemen, for coming," <<he>> says. "I'll be brief. Myself, River and two guests from outside town will judge. Each contestant will present their solution on stage."

A nervous murmur erupts from the front row. River frowns. "Did I forget to mention that part?"

<<generatey2>><<person2>>
Each student presents their solution in turn. Some are more nervous than others to talk in front of a crowd. One, a <<personcomma>> tries to flee the room. Their friends stop them, and convince them to go through with it.

The last student climbs down from the stage. Leighton, River and the two guests confer for a moment. They award the prize to the <<personcomma>> who seems almost as nervous to receive the prize as they were to present their work.

Leighton herds you and the other students from the hall. You might have learned something.
<<gmaths>><<set $maths += 6>>

<<set $mathsproject to "done">>
<<mathsprojectfinish>>

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

:: Maths Competition Enter [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<if $leftarm is "bound" or $rightarm is "bound">><<unbind>>
Your bindings come loose. "You can't enter the competition like that," River says from behind, before rushing off to help someone else.

<</if>>

Leighton instructs you and the other entrants to sit in the front row.

<<if $NPCName[$NPCNameList.indexOf("Whitney")].state is "active" or $NPCName[$NPCNameList.indexOf("Whitney")].state is "rescued" and $NPCName[$NPCNameList.indexOf("Whitney")].init is 1>><<set $mathsprojectwhitney to 1>>
<<npc Whitney>><<person1>>Before you can make it however, you feel someone's hand on your <<bottomstop>> You turn right to face the culprit, but a hand snakes around your left shoulder and snatches your solution from your grip. It's Whitney.

You try to take it back, but <<he>> shoves you away. "So this is what you've been up to," <<he>> says, looking at the paper. "What a waste of time. Maybe I should tear it up."<<gstress>><<stress 6>>

<<link [[Get angry|Maths Competition Angry]]>><<npcincr Whitney dom -1>><</link>><<ldom>>

<<link [[Beg|Maths Competition Beg]]>><<npcincr Whitney dom 1>><</link>><<gdom>>

<<link [[Call for help|Maths Competition Help]]>><<npcincr Whitney love -1>><</link>><<llove>>

<<else>>
You take a seat, and wait as the rest fill.

<<link [[Next|Maths Competition Intro]]>><</link>>

<</if>>

:: Maths Competition Angry [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<if $submissive gte 1150>>
"That's not fair," you say. "I worked really hard on it."
<<elseif $submissive lte 850>>
"Don't," you say. "Or else."
<<else>>
"Give it back," you say. "Or I'll make you regret it."
<</if>>

Whitney laughs. "That mouth is gonna get you in trouble," <<he>> says. <<He>> looks thoughtfully at the paper, then hands it to you. "You'll make it up to me later."

You continue to the front row and find an empty seat. You glance around, worried that Whitney followed you. You see <<him>> sitting with <<his>> friends on the other side of the hall, in the second row.

<<endevent>>
<<link [[Next|Maths Competition Intro]]>><</link>>

:: Maths Competition Beg [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<if $submissive gte 1150>>
"P-please, no," you say. "I worked so hard on it."
<<elseif $submissive lte 850>>
"Don't you dare," you say. "I worked really hard on that."
<<else>>
"Please don't," you say. "I worked really hard on that."
<</if>>

Whitney laughs. "Poor you," <<he>> says. <<He>> looks thoughtfully at the paper, then hands it to you. "You'll make it up to me later."

You continue to the front row and find an empty seat. You glance around, worried that Whitney followed you. You see <<him>> sitting with <<his>> friends on the other side of the hall, in the second row.

<<endevent>>
<<link [[Next|Maths Competition Intro]]>><</link>>

:: Maths Competition Help [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

You call to River, who pierces Whitney with <<if $NPCName[$NPCNameList.indexOf("River")].pronoun is "m">>his<<else>>her<</if>> blue eyes.

"I'm only joking around," Whitney scoffs as <<he>> makes a paper aeroplane from your solution. <<He>> throws it at you. "You're gonna make it up to me later."

You continue to the front row and find an empty seat. You glance around, worried that Whitney followed you. You see <<him>> sitting with <<his>> friends on the other side of the hall, in the second row.

<<endevent>>
<<link [[Next|Maths Competition Intro]]>><</link>>

:: Maths Competition Intro [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

More students arrive, some carrying papers, others here to watch. Leighton instructs the other entrants to sit in the front row.

<<npc Leighton>><<person1>>
The <<if $pronoun is "m">>headmaster<<else>>headmistress<</if>> climbs the stage and taps the microphone. River stands beside <<himstop>> "Thank you, boys and girls, ladies and gentlemen, for coming," <<he>> says. "This is a fuller audience than we expected. I'll be brief. Myself, River and two guests from outside town will judge. Each contestant will present their solution on stage, and use the projector to display their work."

<<if $anxiety gte 2>>
You feel a little sick.<<ggstress>><<stress 18>>
<<elseif $anxiety gte 1>>
You feel anxious.<<gstress>><<stress 6>>
<</if>>

A nervous murmur erupts from the front row. River frowns. "Did I forget to mention that part?"

<<generatey2>><<person2>>
The first student to be called up, a <<personcomma>> tries to flee the room. <<Hes>> stopped by <<his>> friends and convinced to go through with it. <<He>> trips over <<his>> words and drops <<his>> papers twice, but <<hes>> smiling at the end of it.

The next student is more confident. Leighton calls the entrants up one by one, working down the row. You'll be the last. Not a single student's solution is anything like another's.

<<endevent>>

Leighton points at you. <<if $anxiety gte 1>>You swallow your nerves and climb the stage.<<else>>You climb the stage.<</if>>

<<link [[Next|Maths Competition Stage]]>><</link>>

:: Maths Competition Stage [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

You stand beside the projector and look at the audience. There are a mixture of students and older strangers.

<<if $mathsprojectwhitney is 1>>
<<npc Whitney>><<person1>>
Whitney sits to one side. <<His>> expression is blank, but <<his>> friends are smirking.
<<else>>

<</if>>

<<endevent>>
<<npc Leighton>><<person1>>
"Don't tarry," Leighton says. "We're pressed for time." A photographer sets up their equipment nearby, getting ready to take pictures of the winner.

<<endevent>>
<<link [[Proceed|Maths Competition Proceed]]>><</link>>

<<if $exhibitionism gte 35>>
<<link [[Tease|Maths Competition Flirt]]>><<set $mathschance += 10>><</link>><<exhibitionist3>> | + 10% Success Chance

<</if>>

:: Maths Competition Flirt [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

You knock your paper on the floor. It slides along, and rests in front of Leighton. "Oops," you say. You saunter to the edge of the stage, turn around, and bend over. You pretend to have difficulty picking it up, and wiggle your <<bottom>> at the audience during your "attempts."<<exhibitionism3>>

You hear giggling from the crowd. You look between your legs. River and the two guests avert their eyes. River looks pale. Leighton leans forward and stares.

You pick up the paper and return to the microphone.

<<link [[Next|Maths Competition Proceed]]>><</link>>

:: Maths Competition Proceed [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<npc River>><<person1>>

<<if $mathschancestart is 0>>
You you do your best to sound smart, using what little you remember from the booklet. Your paper is little more than a collection of doodles, but you show it with the projector regardless. The judges don't seem impressed.
<<elseif $mathschancestart lte 20>>
You present your solution. It's more a collection of ideas than anything solid, but people have presented worse.
<<elseif $mathschancestart lte 40>>
You present your solution. The judges look bored for the most part, but one of the suited guest raises their eyebrows. You hope that's a good thing.
<<elseif $mathschancestart lte 60>>
Your solution for the maths competition lies on the desk in front of you. There's a lot of room for improvement.
<<elseif $mathschancestart lte 80>>
Your solution for the maths competition lies on the desk in front of you. It's not complete, but it represents an impressive effort.
<<elseif $mathschancestart lte 99>>
You present your solution. The suited guests keep glancing at each other. They look impressed. River looks a little proud.
<<else>>
You present your solution. The suited guests keep glancing at each other. They look impressed. River looks a little proud. As you continue the suited guests break into a quiet discussion. River looks awed. Leighton seems to be staring at something beneath your waistline.

River shakes <<his>> head. "It's a good thing you went last," <<he>> says.
<</if>>

<<endevent>>
<<if $mathsprojectwhitney is 1 and $worn.lower.name isnot "naked">>
	<<if $worn.lower.set is $worn.upper.set and $worn.lower.skirt isnot 1>>
	You pass the judges on the way down from the stage. You take your seat and wait for their decision.

	<<link [[Next|Maths Competition End]]>><</link>>

	<<else>>

	<<link [[Next|Maths Competition Exposure]]>><</link>>

	<</if>>

<<else>>
You pass the judges on the way down from the stage. You take your seat and wait for their decision.

<<link [[Next|Maths Competition End]]>><</link>>

<</if>>

:: Maths Competition Exposure [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<if $worn.lower.skirt is 1>>
You feel a tug on your $worn.lower.name. You look down just in time to see it flare up, pulled by some invisible force. You push down the front of the hem fast enough to prevent your <<undies>> being revealed, but you feel cool air on your <<bottomstop>>

You hear giggles and murmuring from the audience. <<npc River>><<person1>>River puts <<his>> hands over <<his>> eyes. One of the suited guests raises a hand to their mouth. The other looks away, blushing. Leighton is smiling.

You realise how little you managed to keep down. Enough to keep your privates concealed, but everyone can see what you're wearing beneath. You feel blood rush to your face.
<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

<<endevent>>
<<npc Whitney>><<person1>>

	<<if $worn.under_lower.name is "naked">>
	"No underwear," Whitney says. "Perfect." <<Hes>> tugging at the air, as if holding something.

	<<else>>
	"Nice underwear," Whitney says. "And you're so eager to show it off." <<Hes>> tugging at the air, as if holding something.

	<</if>>

You feel around with your free hand and find it. A wire is attached to your skirt. It must be looped around something in the rafters. The tugging at the back and sides suggests there are more than one.

Whitney's friends line up behind <<him>> and grasp at the air, trying to find the wire. They are preparing for a mighty pull.

<<link [[Protect your dignity|Maths Competition Protect Skirt]]>><<stress 6>><</link>><<gstress>>

<<link [[Finish the presentation|Maths Competition Finish Skirt]]>><<stress 12>><<trauma 6>><<set $mathschance += 10>><</link>><<gtrauma>><<ggstress>> | + Success chance

<<else>>

You feel a tug on your $worn.lower.name. You look down just in time to see it lurch down, pulled by some invisible force. You grab the front of the hem fast enough to prevent your <<undies>> being revealed, but you feel cool air on your <<bottomstop>>

You hear giggles and murmuring from the audience. <<npc River>><<person1>>River puts <<his>> hands over <<his>> eyes. One of the suited guests raises a hand to their mouth. The other looks away, blushing. Leighton is smiling.

You realise how little you managed to keep up. Enough to keep your privates concealed, but everyone can see what you're wearing beneath. You feel blood rush to your face.
<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

<<endevent>>
<<npc Whitney>><<person1>>

	<<if $worn.under_lower.name is "naked">>
	"No underwear," Whitney says. "Perfect." <<Hes>> tugging at the air, as if holding something.

	<<else>>
	"Nice underwear," Whitney says. "And you're so eager to show it off." <<Hes>> tugging at the air, as if holding something.

	<</if>>

You feel around with your free hand and find it. A wire is attached to your bottoms. It must be looped around something beneath the stage. The tugging at the back and sides suggests there are more than one.

Whitney's friends line up behind <<him>> and grasp at the air, trying to find the wire. They are preparing for a mighty pull.

<<link [[Protect your dignity|Maths Competition Protect Shorts]]>><<stress 6>><</link>><<gstress>>

<<link [[Finish the presentation|Maths Competition Finish Shorts]]>><<stress 12>><<trauma 6>><<set $mathschance += 10>><</link>><<gtrauma>><<ggstress>> | + Success chance

<</if>>

:: Maths Competition Protect Skirt [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<set $mathsexposed to "safe">>

You grasp the hem of your $worn.lower.name with both hands as Whitney and <<his>> friends tug. You manage to prevent them from revealing your <<undies>> to the audience, but the fabric covering you becomes even tighter.

The audience is alive with excitement. Some look away, but most stare in astonishment, or pull phones from their pockets. Leighton sits on the edge of <<endevent>><<npc Leighton>><<person1>><<his>> seat. <<endevent>><<npc River>><<person1>>River remains completely still, hands covering <<his>> eyes.

The photographer now darts around in front of the stage, taking pictures of the struggle from every angle. Perhaps waiting for the moment you're exposed in front of everyone.

<<endevent>><<npc Whitney>><<person1>>
Whitney and friends stop pulling for a moment, but only to reposition in the aisle so they can put their backs into it. The force almost lifts you off the ground.

You feel a slackness as one of the wires snaps, soon followed by the others. Whitney and <<his>> friends fall backwards. You almost fall over yourself. Your skirt floats back where it belongs. You spend a few moments removing the hooks.

<<endevent>><<npc Leighton>><<person1>>"That's enough," Leighton says. "Time to wrap up."

<<if $submissive gte 1150>>
"B-but I haven't finished," you say.
<<elseif $submissive lte 850>>
"I'm not done yet," you say.
<<else>>
"But I still need to-," you begin to protest. Leighton interrupts.

<</if>>

"I said that's enough," <<he>> says. "I have places to be."

You pass the judges on the way down from the stage. You take your seat and wait for their decision.

<<link [[Next|Maths Competition End]]>><</link>>

:: Maths Competition Protect Shorts [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<set $mathsexposed to "safe">>

You grasp the hem of your $worn.lower.name with both hands as Whitney and <<his>> friends tug. You prevent them from revealing your <<undies>> to the audience, but the fabric covering you becomes even tighter.

The audience is alive with excitement. Some look away, but most stare in astonishment, or pull phones from their pockets. Leighton sits on the edge of <<endevent>><<npc Leighton>><<person1>><<his>> seat. <<endevent>><<npc River>><<person1>>River remains completely still, hands covering <<his>> eyes.

The photographer now darts around in front of the stage, taking pictures of the struggle from every angle. Perhaps waiting for the moment you're exposed in front of everyone.

<<endevent>><<npc Whitney>><<person1>>
Whitney and friends stop pulling for a moment, but only to reposition in the aisle so they can put their backs into it. The force almost forces you to the ground.

You feel a slackness as one of the wires snaps, soon followed by the others. Whitney and <<his>> friends fall backwards. You almost fall over yourself. You pull your $worn.lower.name back where it belongs. You spend a few moments removing the hooks.

<<endevent>><<npc Leighton>><<person1>>"That's enough," Leighton says. "Time to wrap up."

<<if $submissive gte 1150>>
"B-but I haven't finished," you say.
<<elseif $submissive lte 850>>
"I'm not done yet," you say.
<<else>>
"But I still need to-," you begin to protest. Leighton interrupts.
<</if>>

"I said that's enough," <<he>> says. "I have places to be."

You pass the judges on the way down from the stage. You take your seat and wait for their decision.

<<link [[Next|Maths Competition End]]>><</link>>

:: Maths Competition Finish Skirt [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<if $worn.under_lower.type.includes("naked")>>
<<fameexhibitionism 60>><<set $mathsexposed to "genitals">>
<<else>>
<<fameexhibitionism 30>><<set $mathsexposed to "undies">>
<</if>>

You keep your skirt held down with one hand and continue with the presentation. Whitney's friends join in the tugging. Your $worn.lower.name becomes tighter, until just a finger of fabric protects your <<genitals>> from the audience.

Leighton and most of the crowd sit on the edge of their seats. <<endevent>><<npc River>><<person1>>River keeps <<his>> eyes covered, but the guests watch with horrified expressions. With a final tug, your $worn.lower.name <<lowerplural>> torn free from your grip, exposing you to the crowd.

Gasps and laughter fill the hall. Some look away, but most stare in astonishment, or pull phones from their pockets. River might have fainted.

<<if $player.gender isnot $player.appearance>>
	<<if $player.gender is "m">>
	"He's a boy!" someone shouts.

	"Is he some kind of pervert?"

	"I bet he's doing this on purpose."

	<<else>>
	"She's a girl!" someone shouts.

	"Is she some kind of slut?"

	"I bet she's doing this on purpose."

	<</if>>

<</if>>

With a shaking voice you try to talk through your solution as if nothing is amiss. <<if $worn.under_lower.type.includes("naked")>> As if your <<if $penisexist is 1>><<penis>><<else>><<pussy>><</if>> does not have the attention of everyone in the room. <</if>>The photographer darts around in front of the stage, taking pictures of you from every angle.

You reach the end of your presentation. The audience cheer and applaud. You feel around for the hooks, and remove them one by one. Your skirt falls back into place, covering your <<undiesstop>> Whitney leans back and smirks.

<<endevent>><<npc Leighton>><<person1>>
"Very good," Leighton says. <<He>> shakes River awake.

Heart still thumping, you step down from the stage. You take your seat and wait for judges' decision.

<<endevent>>
<<link [[Next|Maths Competition End]]>><</link>>

:: Maths Competition Finish Shorts [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<if $worn.under_lower.type.includes("naked")>>
<<fameexhibitionism 60>><<set $mathsexposed to "genitals">>
<<else>>
<<fameexhibitionism 30>><<set $mathsexposed to "undies">>
<</if>>

You keep your clothes held up with one hand and continue with the presentation. Whitney's friends join in the tugging. Your $worn.lower.name becomes tighter, until just a finger of fabric protects your <<genitals>> from the audience.

Leighton and most of the crowd sit on the edge of their seats. <<endevent>><<npc River>><<person1>>River keeps <<his>> eyes covered, but the guests watch with horrified expressions. With a final tug, your $worn.lower.name <<lowerplural>> torn free from your grip, exposing you to the crowd.

Gasps and laughter fill the hall. Some look away, but most stare in astonishment, or pull phones from their pockets. River might have fainted.

<<if $player.gender isnot $player.appearance>>
	<<if $player.gender is "m">>
	"He's a boy!" someone shouts.

	"Is he some kind of pervert?"

	"I bet he's doing this on purpose."

	<<else>>
	"She's a girl!" someone shouts.

	"Is she some kind of slut?"

	"I bet she's doing this on purpose."

	<</if>>

<</if>>

With a shaking voice you try to talk through your solution as if nothing is amiss. <<if $worn.under_lower.type.includes("naked")>> As if your <<if $penisexist is 1>><<penis>><<else>><<pussy>><</if>> does not have the attention of everyone in the room. <</if>>The photographer darts around in front of the stage, taking pictures of you from every angle.

You reach the end of your presentation. The audience cheer and applaud. You crouch to feel around for the hooks, and remove them one by one. You pull your $worn.lower.name into place, covering your <<undiesstop>> Whitney leans back and smirks.

<<endevent>><<npc Leighton>><<person1>>
"Very good," Leighton says. <<He>> shakes River awake.

Heart still thumping, you step down from the stage. You take your seat and wait for judges' decision.

<<endevent>>
<<link [[Next|Maths Competition End]]>><</link>>

:: Maths Competition End [nobr]
<<set $outside to 0>><<set $location to "town">><<effects>>

<<npc Leighton>><<person1>>
Leighton, River and the two guests confer on stage for a moment.
<<if $mathschance gte 1 and $mathschancestart is 0>>
Leighton seems to be arguing with the others.
	<<if $mathschance gte $rng>>
	River throws up <<if $NPCName[$NPCNameList.indexOf("River")].pronoun is "m">>his<<else>>her<</if>> hands in exasperation as Leighton steps up to the microphone and clears <<his>> throat.
	<<else>>
	<<He>> shakes <<his>> head, then steps up to the microphone and clears <<his>> throat.

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

"We've made a decision," <<he>> says.

<<if $mathschance gte $rng>>
"The winner is the student with the <<haircolourtext>> hair." <<He>> points at you. "Come on up."

You climb the stage and shake Leighton's hand as <<he>> smiles for a waiting photographer. <<He>> hands you the trophy. There's £2000 inside.
<<set $money += 200000>>
The audience cheer and applaud.
<<npcincr River love 5>><<llltrauma>><<trauma -120>><<famebusiness 100>>

<<if $mathsexposed isnot undefined>>
<<endevent>><<npc River>><<person1>>River struggles to look you in the eye. "I expect you to get an A* on every exam from now on," <<he>> says. "You've proven capable." <<He>> and Leighton herd you and the other students from the building. A few people try to grope you on the way out.<<lldelinquency>><<detention -54>>

<<else>>
<<endevent>><<npc River>><<person1>>River smiles. "I expect you to get an A* on every exam from now on," <<he>> says. "You've proven capable." <<He>> and Leighton herd you and the other students from the building.<<lldelinquency>><<detention -54>>

<</if>>

<<set $mathsproject to "won">><<set $mathsprojectwon to 1>>
<<mathsprojectfinish>>

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

<<else>>
<<generate2>>
<<He>> announces that a <<person2>><<person>> is the winner. <<He>> rushes up to accept <<his>> trophy.

<<if $mathsexposed isnot undefined>>
Leighton herds you and the other students from the hall. "I appreciate your effort," River says to you on the way out. <<He>> struggles to look you in the eye.<<ldelinquency>><<detention -18>>

A few people try to grope you on the way out.

<<else>>
Leighton herds you and the other students from the hall. "I appreciate your effort," River says to you on the way out, before being pulled away by one of the suited guests. <<ldelinquency>><<detention -18>>

<</if>>

<<set $mathsproject to "done">>
<<mathsprojectfinish>>

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

<</if>>

repo_name: ammm/more

license: mit


code:
:: Widgets School Projects [widget]
<<widget "scienceprojectstart">><<nobr>>
<<set $sciencelichentemple to 0>>
<<set $sciencelichenpark to 0>>
<<set $sciencelichenlake to 0>>
<<set $sciencelichendrain to 0>>

<<set $sciencelichentempleready to 0>>
<<set $sciencelichenparkready to 0>>
<<set $sciencelichenlakeready to 0>>
<<set $sciencelichendrainready to 0>>

<<set $scienceshroomwolf to 0>>
<<set $scienceshroomheart to 0>>

<<set $scienceshroomwolfready to 0>>
<<set $scienceshroomheartready to 0>>

<<set $sciencephallusready to 0>>

<<set $sciencephallus to 0>>

<<set $sciencephalluspenis to 0>>
<<set $sciencephallusclit to 0>>

<<set $sciencefaircheat to 0>>

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

<<widget "scienceprojectfinish">><<nobr>>
<<unset $sciencelichentemple>>
<<unset $sciencelichenpark>>
<<unset $sciencelichenlake>>
<<unset $sciencelichendrain>>

<<unset $sciencelichentempleready>>
<<unset $sciencelichenparkready>>
<<unset $sciencelichenlakeready>>
<<unset $sciencelichendrainready>>

<<unset $scienceshroomwolf>>
<<unset $scienceshroomheart>>

<<unset $scienceshroomwolfready>>
<<unset $scienceshroomheartready>>

<<unset $sciencephallus>>

<<unset $sciencephallusready>>

<<unset $sciencephalluspenis>>
<<unset $sciencephallusclit>>

<<unset $sciencefaircheat>>
<<unset $sciencelichenchance>>
<<unset $scienceshroomchance>>
<<unset $sciencephalluschance>>

<<unset $scienceprojectwarning>>

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

<<widget "mathsprojectstart">><<nobr>>

<<set $mathschance to 0>>
	<<if $mathsstim is undefined>>
	<<set $mathsstim to 0>>
	<</if>>
<<set $mathsstimused to 0>>
<<set $mathsstimbought to 0>>
<<set $mathsstimstolen to 0>>
<<set $mathsinfo to 0>>

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

<<widget "mathsprojectfinish">><<nobr>>

<<unset $mathschance>>

<<unset $mathsprojectdays>>
<<unset $mathsstimused>>
<<unset $mathsstimbought>>
<<unset $mathslibraryknown>>
<<unset $mathsdruggedstudent>>
<<unset $mathsinfo>>
<<unset $mathsstimstolen>>
<<unset $mathsstimrobin>>
<<unset $mathsstimbeg>>
<<unset $mathsprojectwhitney>>
<<unset $mathschancestart>>

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

<<widget "projectoptions">><<nobr>>

<<if $scienceproject is "ongoing">>
<<link [[Work on science project|Science Project]]>><</link>>

<</if>>
<<if $mathsproject is "ongoing">>
<<link [[Work on maths project|Maths Project]]>><</link>>

<</if>>

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

<<widget "scienceprojectchance">><<nobr>>

<<set $sciencelichenchance to $sciencelichenparkready * 25 + $sciencelichenlakeready * 25 + $sciencelichendrainready * 25 + $sciencelichentempleready * 25>>
<<set $scienceshroomchance to $scienceshroomwolfready * 10 + $scienceshroomheartready * 10>>
<<set $sciencephalluschance to $sciencephallusready * 10>>

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

<<widget "mathsphone">><<nobr>>

They compare the pictures they've taken. Two of them push their phones in front of you.

<<if $mathsab1 is "smile">>
The first picture shows you smiling, with your hands making peace signs. If you didn't know better, you wouldn't realise the picture was taken under duress.
<<elseif $mathsab1 is "frown">>
The first picture shows you frowning, and making offensive gestures at the camera with your hands.
<<elseif $mathsab1 is "cover">>
The first picture shows you covering your face. You don't think anyone could tell it was you.
<<elseif $mathsab1 is "tearsmile">>
The first picture shows you smiling, with your hands making peace signs. Tears wet your face, and the smile is far from genuine.
<<elseif $mathsab1 is "tearfrown">>
The first picture shows you frowning, tearful and angry. You're making offensive gestures at the camera with your hands.
<<elseif $mathsab1 is "tearcover">>
The first picture shows you covering your face. Tears run down from beneath your hands.
<</if>>
You look far more dishevelled in the second, taken some time later. You're coated in something slick and glistening.
<<if $mathsab2 is "smile">>
Your face is smiling, but there's something strange about the look in your eyes.
<<elseif $mathsab2 is "frown">>
Your face is angry, defiant.
<<elseif $mathsab2 is "cover">>
Your face is covered.
<<elseif $mathsab2 is "tearsmile">>
Your face is smiling, but the tears betray what's really happening.
<<elseif $mathsab2 is "tearfrown">>
Your face is tearful, but angry and defiant.
<<elseif $mathsab2 is "tearcover">>
Your face is covered, but the tears are unmistakable.
<</if>>

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