code:
:: Ambulance rescue
<<set $outside to 0>><<effects>><<rngWraith 1>>

You feel yourself being lifted onto a stretcher before passing out again.
<<if _wraithEvent>>
	You think you saw someone standing next to you. Someone pale and beautiful.
<</if>>

<<link [[Sleep|Hospital Bed]]>><</link>>

:: Widgets Ambulance [widget]
<<widget "ambulance">>

<<if $NPCName[$NPCNameList.indexOf("Kylar")].rage gte 96 and $NPCName[$NPCNameList.indexOf("Kylar")].state is "active">>
	<<link [[Wake up|Kylar Basement]]>><<pass 1 hour>><</link>>
<<else>>
	<<link [[Wake up|Ambulance rescue]]>><<pass 1 hour>><</link>>
<</if>>

<</widget>>

:: Hospital front
<<set $outside to 1>><<set $location to "hospital">><<effects>>

You are in front of the hospital. It is open at all hours.

<<if $stress gte $stressmax>>
	<<passouthospital>>
<<else>>
	<<if $exposed gte 1>>
		You are hiding in the bushes just outside the entrance. You should be able to enter without being seen if you time it right.

	<</if>>
	<<if $arousal gte $arousalmax>>
		<<orgasmLocation "hospital">>
	<</if>>

	<<link [[Go inside hospital (0:01)->Hospital Foyer]]>><<pass 1>><</link>>

	<<link [[Nightingale Street (0:01)->Nightingale Street]]>><<pass 1>><</link>>

<</if>>

:: Hospital Foyer
<<set $outside to 0>><<set $location to "hospital">><<effects>>

You are inside the hospital foyer. <<if $psych is 1>>You see a sign directing to Harper's office. <</if>><<if $weekday is 6 and $harpervisit isnot 1 and $psych is 1 and $trauma gte ($traumamax / 10) * 9>>You can't remember when your appointment was.<<elseif $weekday is 6 and $harpervisit isnot 1 and $psych is 1>>You're in time for your appointment.<<else>>You don't have an appointment right now.<</if>>

<<if $stress gte $stressmax>>
	<<passouthospital>>
<<else>>
	<<if $arousal gte $arousalmax>>
		<<orgasmLocation "hospital">>
	<</if>>
	<<if $exposed gte 1>>
		You are hiding under a hospital bed, hoping no one spots you in this state of undress. You see a cart full of sheets not far away that you could use to cover yourself. You could wait until the coast looks clear then make a break for it. Alternatively, you could inch the bed closer to the cart to try to remain concealed from view.

		<<link [[Make a break for it (0:05)|Hospital Exhibition]]>><<set $phase to 0>><<pass 5>><</link>>

		<<link [[Slide the bed closer (0:10)|Hospital Exhibition]]>><<set $phase to 1>><<pass 10>><</link>>

	<<else>>
		<<if $psych is 1 and $harpervisit isnot 1 and $exposed lte 0>>
			<<if $trauma gte ($traumamax / 10) * 9>>
				<<link [[Ask for an emergency appointment with Doctor Harper|Doctor Harper Emergency]]>><<set $harpervisit to 1>><</link>> (If Doctor Harper sees you like this, you fear <<nnpc_he "Harper">> may intervene.)
			<<elseif $weekday is 6>>
				<<link [[Doctor Harper's office|Doctor Harper's Office]]>><<set $harpervisit to 1>><</link>>
			<</if>>

		<</if>>
		/*ToDo: Pregnancy, remove $pregnancyTesting to properly enable*/
		<<if $sexStats.vagina.pregnancy.waterBreaking is true and $pregnancyTesting>>
			<<link [[Say that your waters have broken|Pregnancy Birth Hospital]]>><</link>>

		<</if>>
		<<if $vaginalchastityparasite isnot 0>>
			You feel $vaginalchastityparasite squirming inside your vagina.

		<</if>>
		<<if $penilechastityparasite is 0 and $vaginalchastityparasite is 0 and $analchastityparasite is 0 and $parasite.clit.name is undefined and $parasite.penis.name is undefined and $parasite.nipples.name is undefined and $parasite.bottom.name is undefined and $parasite.left_ear.name is undefined and $parasite.right_ear.name is undefined>>
		<<else>>
			<<link [[Inquire about body parasite removal (0:10)|Hospital Parasite]]>><<pass 10>><</link>>

		<</if>>
		<<if $breastsize lte 11>>
			<<link [[Inquire about breast enlargement (0:10)|Hospital Breast Enlargement]]>><<pass 10>><</link>>

		<</if>>
		<<if $breastsize gte 1>>
			<<link [[Inquire about breast reduction (0:10)|Hospital Breast Reduction]]>><<pass 10>><</link>>

		<</if>>
		<<if $player.penisExist and $penissize lt $penissizemax>>
			<<link [[Inquire about penis enlargement (0:10)|Hospital Penis Enlargement]]>><<pass 10>><</link>>

		<</if>>
		<<if $player.penisExist and $penissize gt $penissizemin>>
			<<link [[Inquire about penis reduction (0:10)|Hospital Penis Reduction]]>><<pass 10>><</link>>

		<</if>>
		<<set _pregnancy to $sexStats.anus.pregnancy>>
		<<if _pregnancy.seenDoctor is 1>>
			<<link [[Inquire about movement in your stomach (0:10)|Pregnancy Introduction]]>><<pass 10>><</link>>

		<</if>>
		<<if _pregnancy.seenDoctor is 3 or (_pregnancy.motherStatus is 2 and _pregnancy.seenDoctor gt 3) or $container.portable.value gt 0>>
			<<if $deviancy gte 75>><<set _pregnancy.namesChildren to true>><<else>><<set _pregnancy.namesChildren to false>><</if>>
			<<if _pregnancy.namesChildren is true>>
				<<link [[Inquire about your pregnancy and children (0:10)|Pregnancy Discussion]]>><<pass 10>><</link>>

			<<else>>
				<<link [[Inquire about the parasites inside you (0:10)|Pregnancy Discussion]]>><<pass 10>><</link>>

			<</if>>
		<</if>>
		<<set _pregnancy to $sexStats.vagina.pregnancy>>
		<<if _pregnancy.awareOf is true and _pregnancy.ultrasoundDone is 0 and between(_pregnancy.timer, 1, _pregnancy.timerStart * 0.9)>>
			<<link [[Inquire about getting an ultrasound (0:10)|Pregnancy ultrasound]]>><<pass 10>><<set _pregnancy.ultrasoundDone to 14>><</link>>

		<</if>>
		<<for _active_bodypart range setup.bodyparts>>
			<<if $skin[_active_bodypart].pen is "tattoo">>
				<<link [[Inquire about tattoo removal (0:10)|Hospital Tattoo Removal]]>><<pass 10>><</link>>

				<<break>>
			<</if>>
		<</for>>

		<<link [[Pharmacy (0:02)|Pharmacy]]>><<pass 2>><</link>>

		<<link [[Go outside (0:01)->Hospital front]]>><<pass 1>><</link>>

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

:: Abduction Hospital
<<set $outside to 0>><<set $location to "hospital">><<effects>>

You awaken on a hard metallic surface in a dark room. Dim lights along the walls switch on, illuminating a large and grimy room, the ceiling lost in the darkness above. Cages line one wall, full of golden eyes that stare out at you. The cage doors shift slightly, and a timer blinks into life "1:00, 0:59, 0:58..." Fighting back panic, you head to the door on the other side of the room, which appears to be the only way out.

Through the door and to the left there is a precipitous drop. You peer down and see dark running water; you can vaguely make out a wide tunnel leading away from the bottom. To the right is a long corridor. A door stands shut at the other end. In front of you is a small hole in the wall, which you might be able to squeeze through.

<<beastNEWinit 2 wolf>>
<<if $monster is 1 or $bestialitydisable is "f">>
	<<link [[Climb down to the water (0:01)|Abduction Hospital Water]]>><<set $molestationstart to 1>><<pass 1>><</link>>

<</if>>
<<link [[Head down the corridor (0:01)|Abduction Hospital Corridor]]>><<pass 1>><<endevent>><</link>>

<<link [[Squeeze through the hole (0:01)|Abduction Hospital Hole]]>><<pass 1>><<endevent>><</link>>

:: Molestation Hospital
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<generate1>><<nurseinit>><<person1>>You feel a sharp pain in your arm. You open your eyes to see a <<person>> in a nurse outfit and medical mask injecting you with a mystery liquid. Almost immediately a daze descends on you. You find it hard to move, or even think. A perverse warmth starts rising within your belly.

<</if>>

<<effects>><<set $outside to 0>>

<<effectsman>><<man>>

<<stateman>>

<<actionsman>>

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

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

:: Hospital Bed
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $hunger to 0>><<set $thirst to 0>><<set $tiredness to 0>><<set $hygiene to 0>>
<<set $stress -= 2000>>

<<if $hospitalintro is 0>><<set $hospitalintro to 1>>
	You awaken in a bed at the civic hospital.

	<<generate1>><<person1>>
	The nurse explains that you have suffered a severe stress response, but you are otherwise physically healthy. <<He>> asks you to wait a moment while <<he>> fetches the doctor.

	<<endevent>>

	<<npc Harper>><<person1>>You don't have to wait long. A <<personsimple>> wearing a white medical coat and carrying a clipboard enters.

	<<He>> smiles at you. "Hello, I'm Doctor Harper." <<He>> takes a seat by your bedside and pulls <<his>> blond fringe away from <<his>> eyes. <<He>> looks young, can't be older than 25.

<<else>>
	You awaken in a bed at the civic hospital.

	<<npc Harper>><<person1>>Doctor Harper enters at that moment, carrying <<his>> usual clipboard. <<He>> assures you that there is no immediate concern, but <<he>> would like to you examine you further.

<</if>>

<<link [[Next|Hospital Bed Examination]]>><</link>>

:: Hospital Ejaculation
<<effects>>

<<He>> tenses, throws back <<his>> head and lets out a loud moan as <<he>> climaxes.

<<ejaculation>>

<<if $enemyanger gte ($enemyangermax / 5) * 3>>
	<<He>> adjusts <<his>> uniform and leaves the room, but not before giving you one last smack to the face.
	<<violence 3>>

<<elseif $enemyanger gte 1>>
	Without a word, <<he>> adjusts <<his>> uniform and leaves the room.

<<else>>
	Smiling, <<he>> kisses you on the cheek. "This is for you." <<He>> adjusts <<his>> uniform and leaves the room.

	You've gained <<moneyGain 5>>.

<</if>>

<<clotheson>>

<<tearful>> you climb off the bed and stumble onto the ward.

<<endcombat>>

<<link [[Next->Paediatric ward]]>><</link>><<nexttext>>

:: Hospital Escape
<<effects>>

<<He>> recoils in pain. <<tearful>> you seize the opportunity and dart out the room, taking refuge in a maintenance cupboard.

<<clotheson>>

<<endcombat>>

[[Next|Hospital cupboard]]

:: Hospital cupboard
<<set $outside to 0>><<set $location to "hospital">><<effects>>

This small maintenance cupboard contains a variety of cleaning implements and chemicals. You peek through the door. There's no one there.

<<if $stress gte $stressmax>>
	<<passouthospital>>
<<else>>
	<<link [[Leave the cupboard (0:01)->Paediatric ward]]>><<pass 1>><</link>>

<</if>>

:: Paediatric ward
<<set $outside to 0>><<set $location to "hospital">><<effects>>

You are in the paediatric ward of the hospital. Several nurses go about their business.

<<if $stress gte $stressmax>>
	<<passouthospital>>
<<else>>
	<<if $exposed gte 1>>
		You are hiding under a hospital bed, hoping no one spots you in this state of undress. You see a cart full of sheets not far away that you could use to cover yourself. You could wait until the coast looks clear then make a break for it. Alternatively, you could inch the bed closer to the cart to try to remain concealed from view.

		<<link [[Make a break for it (0:05)|Hospital Exhibition]]>><<set $phase to 0>><<pass 5>><</link>>

		<<link [[Slide the bed closer (0:10)|Hospital Exhibition]]>><<set $phase to 1>><<pass 10>><</link>>

	<<else>>
		<<link [[Leave the ward (0:01)->Hospital Foyer]]>><<pass 1>><</link>>

		<<link [[Maintenance cupboard (0:01)|Hospital cupboard]]>><<pass 1>><</link>>

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

:: Passout hospital
You've pushed yourself too much.

<<passout>>

<<set $danger to random(1, 10000)>>
<<if $danger gte (9900 - $allure)>>

	<<if $rng gte 81>>
		<<link [[Wake up|Abduction Hospital]]>><</link>>
	<<else>>
		<<link [[Wake up|Molestation Hospital]]>><<set $molestationstart to 1>><</link>>
	<</if>>
<<else>>
	<<link [[Wake up|Hospital Bed]]>><</link>>
<</if>>

<<pass 1 hour>>

<<trauma 6>><<set $stress -= 2000>>

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

:: Hospital Bed Examination
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<unbind>>
<<if $worn.face.type.includes("gag") or $worn.face.type.includes("blindfold")>>
	<<set $worn.face.type.push("broken")>>
	<<faceruined>>
<</if>>
<<if $exposed gte 1>>
	<<if $player.gender is "m" and $backgroundTraits.includes("crossdresser")>>
		<<set $clothingselector to "f">>
	<<elseif $player.gender is "f" and $backgroundTraits.includes("crossdresser")>>
		<<set $clothingselector to "m">>
	<<else>>
		<<set $clothingselector to $player.gender_appearance>>
	<</if>>
	<<if $clothingselector is "m">>
		<<underlowerwear 4>>
		<<upperwear 4>>
		<<lowerwear 5>>
	<<else>>
		<<upperwear 1>>
		<<underlowerwear 1>>
	<</if>>
<</if>>

<<if $trauma lte ($traumamax / 10) * 2>>
	<<He>> gently interrogates you on a variety of subjects relating to your home life, how school is going and how your well-being has been faring. <<He>> informs you that everything is okay as far as <<he>> can tell, but you should be careful in the future.

	<<wash>>
	A nurse helps you to your feet, and you soon find yourself being discharged.

	<<if $daystate is "night">>
		It's dark out. Maybe you should wait until morning.

		<<link [[Wait|Hospital Wait]]>><<pass 10>><<endevent>><<set $saveDetails.auto.count++>><</link>><<ltiredness>>

		<<if $renttime lte 0>>
			<<link [[Leave now|Hospital Rent]]>><<pass 10>><<endevent>><</link>>

		<<elseif $crime gte 1000>>
			<<link [[Leave now|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

		<<elseif $baileyhospital lte 2>>
			<<link [[Leave now->Hospital Journey Home]]>><<pass 10>><<endevent>><</link>>

		<<else>>
			<<link [[Leave now->Hospital front]]>><<pass 10>><<endevent>><</link>>

		<</if>>
	<<else>>
		<<if $renttime lte 0>>
			<<link [[Next|Hospital Rent]]>><<pass 10>><<endevent>><</link>>

		<<elseif $crime gte 1000>>
			<<link [[Next|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

		<<elseif $baileyhospital lte 2>>
			<<link [[Next->Hospital Journey Home]]>><<pass 10>><<endevent>><</link>>

		<<else>>
			<<link [[Next->Hospital front]]>><<pass 10>><<endevent>><</link>>

		<</if>>
	<</if>>
<<elseif $trauma lt ($traumamax / 10) * 9>>
	<<He>> gently interrogates you on a variety of subjects relating to your home life, how school is going and how your well-being has been faring. After a short while, <<he>> summons a nurse and they have a brief conversation in the corner of the room. They talk quietly, and after a short while the nurse nods and leave the room.

	<<if $psych is 0>>
		The doctor tells you to visit <<him>> here at the hospital on Fridays for therapy.

		<<set $psych to 1>>
		<<wash>>
		A nurse helps you to your feet, and you soon find yourself being discharged.

	<<else>>
		The doctor reminds you to visit <<him>> here at the hospital on Fridays.

		<<wash>>
		A nurse helps you to your feet, and you soon find yourself being discharged.

	<</if>>

	<<if $daystate is "night">>
		It's dark out. Maybe you should wait until morning.

		<<link [[Wait|Hospital Wait]]>><<pass 10>><<endevent>><<set $saveDetails.auto.count++>><</link>><<ltiredness>>

		<<if $renttime lte 0>>
			<<link [[Leave now|Hospital Rent]]>><<pass 10>><<endevent>><</link>>

		<<elseif $crime gte 1000>>
			<<link [[Leave now|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

		<<elseif $baileyhospital lte 2>>
			<<link [[Leave now->Hospital Journey Home]]>><<pass 10>><<endevent>><</link>>

		<<else>>
			<<link [[Leave now->Hospital front]]>><<pass 10>><<endevent>><</link>>

		<</if>>
	<<else>>
		<<if $renttime lte 0>>
			<<link [[Next|Hospital Rent]]>><<pass 10>><<endevent>><</link>>

		<<elseif $crime gte 1000>>
			<<link [[Next|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

		<<elseif $baileyhospital lte 2>>
			<<link [[Next->Hospital Journey Home]]>><<pass 10>><<endevent>><</link>>

		<<else>>
			<<link [[Next->Hospital front]]>><<pass 10>><<endevent>><</link>>

		<</if>>
	<</if>>
<<else>>
	<<set $asylum to 1>><<set $psych to 1>>
	<<He>> gently interrogates you on a variety of subjects relating to your home life, how school is going and how your well-being has been faring. A look of concern grows on <<his>> face, but you've no idea why. After a short while, <<he>> summons a nurse into the room and they talk quietly for a short time. The nurse keeps glancing at you, looking concerned.

	The nurse leaves you alone with the doctor, who presses a cloth to your face. A haze falls on you. "Everything will be fine," you hear <<him>> say through the fog. Two blurred shapes enter the room. They help you to your feet and guide you away from the bed, an arm on each shoulder. Doctor Harper follows close behind.

	Once out in the corridor another shape marches toward you. Harper blocks their path. The shape shouts something incomprehensible with Bailey's voice. The two beside you don't stop. They lead you outside and into the back of a waiting van. There's a cot inside. They push you onto it as the last of your consciousness slips.

	<<endevent>>
	<<link [[Next|Asylum Intro]]>><<pass 120>><</link>>

<</if>>

:: Hospital Exhibition
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<if $phase is 0>>
	You wait for the number of people in the vicinity to drop. You soon find yourself almost alone. There are still people at the far end of the hall, but they are facing away from you. You won't get a better chance than this. Steeling yourself, you emerge from beneath the bed and run toward the towels.

	<<if random(1, 3) is 3>>
	You've barely left the safety of the bed when doors on both sides of the hall open simultaneously. In an instant, the vacant room becomes packed with bodies. They immediately see you, and react in a diverse manner. Some look offended while others laugh, still others stare at you with depravity in their eyes. There's nowhere to hide; you can do nothing but crouch to preserve what little dignity you can. Not seeing any other option, you continue the original plan. You manage to cover yourself before people start filming the event with their phones. Blushing and light-headed, you flee the scene.
	<<garousal>><<arousal 600>><<gtrauma>><<trauma 6>><<gstress>><<stress 6>>

		<<link [[Next|Hospital Foyer]]>><<endevent>><<towelup>><</link>>

	<<else>>
		You make it the cart without incident. Crouching beside it, you help yourself the towels, eyes affixed on a nearby door. You still feel exposed, but at least now you're covered. You should find something more suitable as soon as you can, before you attract unwanted attention.

		<<link [[Next|Hospital Foyer]]>><<endevent>><<towelup>><</link>>

	<</if>>
<<elseif $phase is 1>>

	You slowly inch the bed forward. Slow enough, you hope, that no one will even notice. Peeking from beneath the bed, you see the towels drawing closer.

	<<if random(1, 5) is 5>>
		You're almost there when the bed lurches into movement. You cling to the underside as you are pushed further and further away from the towels, through a set of doors, then another, and then down a ramp.

		You hear a metallic creaking, then you and the bed are shoved down a steep ramp. A short distance later you plunge into rushing water.

		<<link [[Next|Drain Water]]>><<endevent>><<set $bus to "commercialdrain">><</link>>
	<<else>>
		When you are within arm's reach, you stretch out and manage to acquire a handful of towels. You awkwardly cover yourself while remaining under the bed. You still feel exposed, but at least now you're covered. You should find something more suitable as soon as you can, before you attract unwanted attention.

		<<link [[Next|Hospital Foyer]]>><<endevent>><<towelup>><</link>>

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

:: Hospital Rent
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $bus to "hospital">>

As you walk down an empty corridor a door beside you opens and a pair of arms drag you through. It's Bailey. The heavy doors slam shut. You're at the top of a staircase leading down into darkness.

<<rentdue>>

:: Rent Hospital Fight
<<if $fightstart is 1>>
	<<set $fightstart to 0>>

	<<neutral 1>>

	<<maninit>>
	<<set $enemyhealthmax += 200>>
	<<set $enemyhealth += 200>>
	<<set $enemyanger += 200>>
	<<npcidlegenitals>>
	"You think I won't beat it out of you?" Bailey says.

<</if>>

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

<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
	<<link [[Next|Rent Hospital Fight Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Rent Hospital Fight Finish]]>><</link>><<nexttext>>
<<elseif $pain gte 100 and $willpowerpain is 0>>
	<<link [[Next|Rent Hospital Fight Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Rent Hospital Fight]]>><</link>><<nexttext>>
<</if>>

:: Rent Hospital Fight Finish
<<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>><<set $baileydefeatedlewd += 1>><<set $baileydefeatedchain += 1>><<earnFeat "Bailey's Trouble Maker">>

	<<He>> grips the bannister as the orgasm wracks <<his>> body. It's all the chance you need to escape back into the hospital proper. That won't be the last of it, but for now you're in the clear.
	<<ltrauma>><<lstress>><<trauma -6>><<stress -12>>

	<<clotheson>>
	<<endcombat>>

	<<if $crime gte 1000>>
		<<link [[Next|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

	<<else>>
		<<link [[Next->Hospital front]]>><<pass 10>><<endevent>><</link>>

	<</if>>
<<elseif $enemyhealth lte 0>>
	<<set $baileydefeated += 1>><<set $baileydefeatedchain += 1>>

	<<He>> trips and tumbles down the stairs, shouting profanities as <<he>> falls. You waste no time and escape back into the hospital proper. That won't be the last of it, but for now you're in the clear.
	<<ltrauma>><<lstress>><<trauma -6>><<stress -12>>

	<<clotheson>>
	<<endcombat>>

	<<if $crime gte 1000>>
		<<link [[Next|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

	<<else>>
		<<link [[Next->Hospital front]]>><<pass 10>><<endevent>><</link>>

	<</if>>
<<else>>
	<<set $baileydefeatedchain to 0>>
	<<unset $bailey_encroach>>

	You fall to the ground, too hurt to move.

	<<set $upperoff to 0>>
	<<set $loweroff to 0>>
	<<set $underloweroff to 0>>
	<<set $underupperoff to 0>>
	<<endcombat>>

	<<link [[Next|Rent Intro]]>><</link>>
<</if>>

:: Hospital Journey Home
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<if $baileyhospital gte 2>>
	<<set $baileyhospital += 1>>

	<<npc Bailey>><<person1>>Bailey waits for you beside <<his>> car. "This is the last time I'm picking you up like this. I've already wasted enough time." The journey home is uneventful.

<<elseif $baileyhospital gte 1>>
	<<set $baileyhospital += 1>>

	<<npc Bailey>><<person1>>Bailey waits for you beside <<his>> car. "You need to be more careful. Next time you might not be so lucky." The journey home is uneventful.

<<else>>
	<<set $baileyhospital to 1>>

	<<npc Bailey>><<person1>>Bailey waits for you beside <<his>> car. "I'm glad you're alright," <<he>> says. "You wouldn't believe the paperwork involved when one of you idiots goes missing. Get in." The journey home is uneventful.

<</if>>

<<link [[Next (0:10)|Orphanage]]>><<endevent>><<pass 10>><</link>>

:: Hospital Wait
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<if !_preventUpdate and !$autosavedisabled>>
	<<run Save.autosave.save(null, {"saveId":$saveId, "saveName":$saveName})>>
	<<run setSaveDetail("autosave",{"saveId":$saveId,"saveName":$saveName})>>
<</if>>
<<set _hour to clone($hour)>>
<<for _i to 0; _i lt 12; _i++>>
	<<set _hour++>>
	<<if _hour % 24 gte 6 and _hour % 24 lte 9>>
		<<set _multi to _hour - $hour>>
		<<pass `1 * _multi` hour>><<tiredness `-12 * _multi`>><<effects>>
		<<break>>
	<</if>>
<</for>>

The nurse lets you stay in the waiting room until the sun rises.

<<if $renttime lte 0>>
	<<link [[Next|Hospital Rent]]>><<pass 10>><<endevent>><</link>>

<<elseif $crime gte 1000>>
	<<link [[Next|Hospital Arrest]]>><<pass 10>><<endevent>><</link>>

<<elseif $baileyhospital lte 2>>
	<<link [[Next->Hospital Journey Home]]>><<pass 10>><<endevent>><</link>>

<<else>>
	<<link [[Next->Hospital front]]>><<pass 10>><<endevent>><</link>>

<</if>>

:: Hospital Breast Reduction
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<generate1>><<person1>>
The receptionist taps something into <<his>> computer and instructs you to take a seat in the waiting room.

<<endevent>>

<<harper_intro>>

"This is a very simple procedure." <<He>> pulls a chart of breast sizes from <<his>> desk. "You're about here." <<He>> points at a picture labelled
	<<if $breastsize is 0>>
		"flat".
	<<else>>
		"<<breasts>>."
	<</if>>

"It costs £2000 to decrease your breasts by a single size, and a further £2000 for each size beyond that."

<<if $breastsize gte 12>>
	<<link [[Make your breasts gigantic|Hospital Breast Reduction 2]]>><<set $phase to 11>><</link>>

<</if>>
<<if $breastsize gte 11>>
	<<link [[Make your breasts huge|Hospital Breast Reduction 2]]>><<set $phase to 10>><</link>>

<</if>>
<<if $breastsize gte 10>>
	<<link [[Make your breasts massive|Hospital Breast Reduction 2]]>><<set $phase to 9>><</link>>

<</if>>
<<if $breastsize gte 9>>
	<<link [[Make your breasts ample|Hospital Breast Reduction 2]]>><<set $phase to 8>><</link>>

<</if>>
<<if $breastsize gte 8>>
	<<link [[Make your breasts large|Hospital Breast Reduction 2]]>><<set $phase to 7>><</link>>

<</if>>
<<if $breastsize gte 7>>
	<<link [[Make your breasts full|Hospital Breast Reduction 2]]>><<set $phase to 6>><</link>>

<</if>>
<<if $breastsize gte 6>>
	<<link [[Make your breasts modest|Hospital Breast Reduction 2]]>><<set $phase to 5>><</link>>

<</if>>
<<if $breastsize gte 5>>
	<<link [[Make your breasts pert|Hospital Breast Reduction 2]]>><<set $phase to 4>><</link>>

<</if>>
<<if $breastsize gte 4>>
	<<link [[Make your breasts small|Hospital Breast Reduction 2]]>><<set $phase to 3>><</link>>

<</if>>
<<if $breastsize gte 3>>
	<<link [[Make your breasts tiny|Hospital Breast Reduction 2]]>><<set $phase to 2>><</link>>

<</if>>
<<if $breastsize gte 2>>
	<<link [[Make your breasts budding|Hospital Breast Reduction 2]]>><<set $phase to 1>><</link>>

<</if>>
<<if $breastsize gte 1>>
	<<link [[Make your breasts flat|Hospital Breast Reduction 2]]>><<set $phase to 0>><</link>>

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Breast Reduction 2
<<set $outside to 0>><<set $location to "hospital">><<effects>>

"This will cost £<<print (($breastsize - $phase) * 2000)>>," <<he>> says. "And take four hours."

<<if $money gte (($breastsize - $phase) * 200000)>>
	<<link [[Accept (4:00)|Hospital Breast Reduction 3]]>><<pass 2 hours>><<pass 2 hours>><</link>>

<<else>>
	You can't afford it.

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Breast Reduction 3
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $money -= (($breastsize - $phase) * 200000)>>
<<set $breastgrowthtimer to 700>>

<<upperstrip>>
<<lowerstrip>>
<<underlowerstrip>>
<<underupperstrip>>
Harper accepts the payment. "Please undress," <<he>> says as <<he>> stands to leave the room.
You remove your clothing and stand waiting, feeling more than a little exposed.
<<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem.<</if>>
<<He>> soon returns, carrying a medical gown.

"Wear this." <<He>> instructs. You put the gown on. "Right, if you'd like to come with me, it's just a short walk away."

<<He>> leads you to another room, containing a small bed. "Please lie down. I'll put you under then move you to the theatre." You lie down.
<<He>> presses a mask against your face, and you feel your consciousness start to slip. <<He>> pulls a camera from <<his>> pocket as you pass out.

<<fameexhibitionism 10 pic>>

<<link [[Next|Hospital Breast Done]]>><</link>>

:: Hospital Breast Done
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $breastsize to $phase>>
<<set $breastsizeold to $breastsize>>

You awaken in the same room you passed out in. You don't feel any different, until you look down and see your <<breasts>>. Harper enters the room.

"The operation was a success," <<he>> says. <<He>> looks at your chest.

<<if $breastsize gte 12>>
	"I hope those things don't give you back problems."
<<elseif $breastsize gte 9>>
	"You'll get a lot of attention with those."
<<elseif $breastsize gte 6>>
	"That's a good size."
<<elseif $breastsize gte 3>>
	"You look good with those."
<<elseif $breastsize gte 1>>
	"You look cute with those."
<<elseif $breastsize is 0>>
	"Your chest looks cute."
<</if>>

<<He>> checks <<his>> clipboard. "You can leave straight away. Be well." <<He>> leaves you to dress.

<<endevent>>

<<link [[Next|Hospital Foyer]]>><<clotheson>><</link>>

:: Hospital Breast Enlargement
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<generate1>><<person1>>
The receptionist taps something into <<his>> computer and instructs you to take a seat in the waiting room.

<<endevent>>

<<harper_intro>>

"This is a simple procedure." <<He>> pulls a chart of breast sizes from <<his>> desk. "You're about here." <<He>> points at a picture labelled
<<if $breastsize is 0>>
	"flat".
<<else>>
	"<<breasts>>."
<</if>>

"It costs £5000 to increase your breasts by a single size, and a further £5000 for each size beyond that."

<<if $breastsize lt 12>>
	<<link [[Make your breasts enormous|Hospital Breast Enlargement 2]]>><<set $phase to 12>><</link>>

<</if>>
<<if $breastsize lt 11>>
	<<link [[Make your breasts gigantic|Hospital Breast Enlargement 2]]>><<set $phase to 11>><</link>>

<</if>>
<<if $breastsize lt 10>>
	<<link [[Make your breasts huge|Hospital Breast Enlargement 2]]>><<set $phase to 10>><</link>>

<</if>>
<<if $breastsize lt 9>>
	<<link [[Make your breasts massive|Hospital Breast Enlargement 2]]>><<set $phase to 9>><</link>>

<</if>>
<<if $breastsize lt 8>>
	<<link [[Make your breasts ample|Hospital Breast Enlargement 2]]>><<set $phase to 8>><</link>>

<</if>>
<<if $breastsize lt 7>>
	<<link [[Make your breasts large|Hospital Breast Enlargement 2]]>><<set $phase to 7>><</link>>

<</if>>
<<if $breastsize lt 6>>
	<<link [[Make your breasts full|Hospital Breast Enlargement 2]]>><<set $phase to 6>><</link>>

<</if>>
<<if $breastsize lt 5>>
	<<link [[Make your breasts modest|Hospital Breast Enlargement 2]]>><<set $phase to 5>><</link>>

<</if>>
<<if $breastsize lt 4>>
	<<link [[Make your breasts pert|Hospital Breast Enlargement 2]]>><<set $phase to 4>><</link>>

<</if>>
<<if $breastsize lt 3>>
	<<link [[Make your breasts small|Hospital Breast Enlargement 2]]>><<set $phase to 3>><</link>>

<</if>>
<<if $breastsize lt 2>>
	<<link [[Make your breasts tiny|Hospital Breast Enlargement 2]]>><<set $phase to 2>><</link>>

<</if>>
<<if $breastsize lt 1>>
	<<link [[Make your breasts budding|Hospital Breast Enlargement 2]]>><<set $phase to 1>><</link>>

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Breast Enlargement 2
<<set $outside to 0>><<set $location to "hospital">><<effects>>

"This will cost £<<print (($phase - $breastsize) * 5000)>>," <<he>> says. "And take four hours."

<<if $money gte (($phase - $breastsize) * 500000)>>
	<<link [[Accept (4:00)|Hospital Breast Enlargement 3]]>><<pass 2 hours>><<pass 2 hours>><</link>>

<<else>>
	You can't afford it.

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Breast Enlargement 3
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $money -= (($phase - $breastsize) * 500000)>>
<<set $breastgrowthtimer to 700>>

<<upperstrip>>
<<lowerstrip>>
<<underlowerstrip>>
<<underupperstrip>>
Harper accepts the payment. "Please undress," <<he>> says as <<he>> stands to leave the room.
You remove your clothing and stand waiting, feeling more than a little exposed.
<<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem.<</if>>
<<He>> soon returns, carrying a medical gown.

"Wear this." <<He>> instructs. You put the gown on. "Right, if you'd like to come with me, it's just a short walk away."

<<He>> leads you to another room, containing a small bed. "Please lie down. I'll put you under then move you to the theatre." You lie down.
<<He>> presses a mask against your face, and you feel your consciousness start to slip. <<He>> pulls a camera from <<his>> pocket as you pass out.

<<fameexhibitionism 10 pic>>

<<link [[Next|Hospital Breast Done]]>><</link>>

:: Hospital Penis Reduction
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<generate1>><<person1>>
The receptionist taps something into <<his>> computer and instructs you to take a seat in the waiting room.

<<endevent>>

<<harper_intro>>

"This is a very simple procedure." <<He>> pulls a chart of penis sizes from <<his>> desk. "You're about here." <<He>> points at
<<switch $penissize>>
	<<case 4>>the top
	<<case -1>>the bottom
	<<default>>a
<</switch>>
picture labelled "<<print ($penissize is 2 ? "average" : "<<penissize>>")>> penis."

"It costs £2000 to decrease your penis by a single size, and a further £2000 for each size beyond that."

<<if $penissize gte 4>>
	<<link [[Make your penis large|Hospital Penis Reduction 2]]>><<set $phase to 3>><</link>>

<</if>>
<<if $penissize gte 3>>
	<<link [[Make your penis average|Hospital Penis Reduction 2]]>><<set $phase to 2>><</link>>

<</if>>
<<if $penissize gte 2>>
	<<link [[Make your penis small|Hospital Penis Reduction 2]]>><<set $phase to 1>><</link>>

<</if>>
<<if $penissize gte 1>>
	<<link [[Make your penis tiny|Hospital Penis Reduction 2]]>><<set $phase to 0>><</link>>

<</if>>
<<if $penissize gte 0 and $penissizemin lt 0>>
	<<link [[Make your penis mini|Hospital Penis Reduction 2]]>><<set $phase to -1>><</link>>

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Penis Reduction 2
<<set $outside to 0>><<set $location to "hospital">><<effects>>

"This will cost £<<print (($penissize - $phase) * 2000)>>," <<he>> says. "And take four hours."

<<if $money gte (($penissize - $phase) * 200000)>>
	<<link [[Accept (4:00)|Hospital Penis Reduction 3]]>><<pass 2 hours>><<pass 2 hours>><</link>>

<<else>>
	You can't afford it.

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Penis Reduction 3
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $money -= (($penissize - $phase) * 200000)>>
<<set $penisgrowthtimer to 700>>

<<upperstrip>>
<<lowerstrip>>
<<underlowerstrip>>
<<underupperstrip>>
Harper accepts the payment. "Please undress," <<he>> says as <<he>> stands to leave the room.
You remove your clothing and stand waiting, feeling more than a little exposed.
<<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem.<</if>>
<<He>> soon returns, carrying a medical gown.

"Wear this." <<He>> instructs. You put the gown on. "Right, if you'd like to come with me, it's just a short walk away."

<<He>> leads you to another room, containing a small bed. "Please lie down. I'll put you under then move you to the theatre." You lie down.
<<He>> presses a mask against your face, and you feel your consciousness start to slip. <<He>> pulls a camera from <<his>> pocket as you pass out.

<<fameexhibitionism 10 pic>>

<<link [[Next|Hospital Penis Done]]>><</link>>

:: Hospital Penis Done
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $penissize to $phase>>

You awaken in the same room you passed out in. You don't feel any different, until you look down and see your <<penissize>> penis. Harper enters the room.

"The operation was a success," <<he>> says. <<He>> looks at your groin.

<<if $penissize gte 4>>
	Stares, in fact. <<He>> blushes and looks away.
<<elseif $penissize gte 3>>
	Stares, in fact. <<He>> blushes and looks away.
<<elseif $penissize is 2>>
	"No one would look twice at it now." <<He>> blushes. "N-not that it doesn't look nice."
<<elseif $penissize is 1>>
	"Such a manageable size."
<<else>>
	"It looks so cute."
<</if>>

<<He>> checks <<his>> clipboard. "You can leave straight away. Be well." <<He>> leaves you to dress.

<<endevent>>

<<link [[Next|Hospital Foyer]]>><<clotheson>><</link>>

:: Hospital Penis Enlargement
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<generate1>><<person1>>
The receptionist taps something into <<his>> computer and instructs you to take a seat in the waiting room.

<<endevent>>

<<harper_intro>>
<<if $penissize gte -1>>
	"This is a simple procedure." <<He>> pulls a chart of penis sizes from <<his>> desk. "You're about here." <<He>> points at
	<<switch $penissize>>
		<<case 4>>the top
		<<case -1>>the bottom
		<<default>>a
	<</switch>>
	picture labelled "<<print ($penissize is 2 ? "average" : "<<penissize>>")>> penis."

	"It costs £5000 to increase your penis by a single size, and a further £5000 for each size beyond that."

	<<if $penissize lt 4>>
		<<link [[Make your penis enormous|Hospital Penis Enlargement 2]]>><<set $phase to 4>><</link>>

	<</if>>
	<<if $penissize lt 3>>
		<<link [[Make your penis large|Hospital Penis Enlargement 2]]>><<set $phase to 3>><</link>>

	<</if>>
	<<if $penissize lt 2>>
		<<link [[Make your penis average|Hospital Penis Enlargement 2]]>><<set $phase to 2>><</link>>

	<</if>>
	<<if $penissize lt 1>>
		<<link [[Make your penis small|Hospital Penis Enlargement 2]]>><<set $phase to 1>><</link>>

	<</if>>
	<<if $penissize lt 0>>
		<<link [[Make your penis tiny|Hospital Penis Enlargement 2]]>><<set $phase to 0>><</link>>

	<</if>>
<<else>>
	"This would normally be a simple procedure..." <<He>> pulls a chart of penis sizes from <<his>> desk. "However, you're not even at the smallest size." <<He>> points at a picture labelled "mini penis."

	While taking a closer look, <<he>> continues, "You should head to our Pharmacy and buy some penis growth pills, I personally recommend taking two doses per day to start with, however, I'm not quite sure if that would be enough to revive it."

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Penis Enlargement 2
<<set $outside to 0>><<set $location to "hospital">><<effects>>

"This will cost £<<print (($phase - $penissize) * 5000)>>," <<he>> says. "And take four hours."

<<if $money gte (($phase - $penissize) * 500000)>>
	<<link [[Accept (4:00)|Hospital Penis Enlargement 3]]>><<pass 2 hours>><<pass 2 hours>><</link>>

<<else>>
	You can't afford it.

<</if>>

<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Penis Enlargement 3
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<set $money -= (($phase - $penissize) * 500000)>>
<<set $penisgrowthtimer to 300>>

<<upperstrip>>
<<lowerstrip>>
<<underlowerstrip>>
<<underupperstrip>>
Harper accepts the payment. "Please undress," <<he>> says as <<he>> stands to leave the room.
You remove your clothing and stand waiting, feeling more than a little exposed.
<<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem.<</if>>
<<He>> soon returns, carrying a medical gown.

"Wear this." <<He>> instructs. You put the gown on. "Right, if you'd like to come with me, it's just a short walk away."

<<He>> leads you to another room, containing a small bed. "Please lie down. I'll put you under then move you to the theatre." You lie down.
<<He>> presses a mask against your face, and you feel your consciousness start to slip. <<He>> pulls a camera from <<his>> pocket as you pass out.

<<fameexhibitionism 10 pic>>

<<link [[Next|Hospital Penis Done]]>><</link>>

:: Hospital Tattoo Removal
<<effects>>

<<generate1>><<person1>>
The receptionist taps something into <<his>> computer and instructs you to take a seat in the waiting room.

<<endevent>>

<<harper_intro>>

"So you have ink you'd like removed," <<he>> says. "We can facilitate that. The procedure costs £3000, and will take three hours."

<<if $money gte 300000>>
	<<for _active_bodypart range setup.bodyparts>>
		<<if $skin[_active_bodypart].pen is "tattoo">>
			You have a <<tattoo _active_bodypart>> on your <<bodypart _active_bodypart>>. <<capture _active_bodypart>><<link [[Remove|Hospital Tattoo Removal 2]]>><<pass 3 hours>><<set $money -= 300000>><<set $remove_tattoo to _active_bodypart>><</link>><</capture>>

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

<</if>>
<<link [[Leave|Hospital Foyer]]>><<endevent>><</link>>

:: Hospital Tattoo Removal 2
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<strip>>
Harper accepts the payment. "Please undress," <<he>> says as <<he>> stands to leave the room. "Everything. The presence of clothing interferes with the delicate apparatus."
You remove your clothing and stand waiting, feeling more than a little exposed.
<<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem.<</if>>
<<He>> soon returns, carrying a medical gown.

"Wear this." <<He>> instructs. You put the gown on. "Right, if you'd like to come with me, it's just a short walk away."

<<He>> leads you to another room, containing a small bed. "Please lie down. I'll put you under then move you to the theatre." You lie down.
<<He>> presses a mask against your face, and you feel your consciousness start to slip. <<He>> pulls a camera from <<his>> pocket as you pass out.

<<fameexhibitionism 10 pic>>

<<link [[Next|Hospital Tattoo Removal Done]]>><</link>>

:: Hospital Tattoo Removal Done
<<effects>>

You awaken in the same room you passed out in.
<<if $remove_tattoo is "forehead" or $remove_tattoo is "left_cheek" or $remove_tattoo is "right_cheek">>
	You look in a mirror. The <<tattoo $remove_tattoo>> on your <<bodypart $remove_tattoo>> is gone.
<<else>>
	You look down at your <<bodypart $remove_tattoo>>. Your <<tattoo $remove_tattoo>> is gone.
<</if>>
Harper enters the room.

<<bodywriting_clear $remove_tattoo>><<unset $remove_tattoo>>

"The removal was a success," <<he>> says. <<He>> checks <<his>> clipboard. "You can leave straight away. Be well." <<He>> leaves you to dress.

<<endevent>>

<<link [[Next|Hospital Foyer]]>><<clotheson>><</link>>

:: Doctor Harper Emergency
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<generate1>><<person1>>
You approach the receptionist and ask for Harper. <<He>> looks at <<his>> screen.
<<if $weekday is 6>>
	"You're already scheduled for today-"
<<else>>
	"You don't seem to-"
<</if>>
<<he>> gives you a quick glance. Worry spreads across <<his>> face, and <<he>> taps something into the computer. "The doctor is currently seeing a patient. Please wait here."

<<endevent>>
You take a seat in the waiting room. With nothing to do but go over your troubled thoughts, you fidget in place. The wait seems unbearable.
Eventually, the receptionist calls you and points you to Harper's office. The previous patient exits, giving you a crooked smile.

<<link [[Next|Doctor Harper Emergency 2]]>><</link>>

:: Doctor Harper Emergency 2
<<set $asylum to 1>><<set $psych to 1>><<npc Harper>><<person1>>
You knock on the door to Harper's office and hear <<his>> voice on the other side. "Come in." You enter. <<He>> sits at <<his>> desk in front of a computer.
<<if $weekday is 6>>
	"This isn't our scheduled time. This must be serious."
<<else>>
	"I finished up with my last patient as fast as I could. How can I help you?"
<</if>>

You sit down and waste no time going over your grievances with recent events. Harper lets you speak, for the most part, only occasionally asking for clarification regarding your home and school life along with your well-being. You have difficulty remembering when exactly you began to cry. <<He>> reaches for something in <<his>> desk drawer and approaches you. <<He>> gently wraps an arm around you.

"There, there," Harper says, pressing a cloth against your face while tightening <<his>> grip around you. "Everything will be fine," <<he>> says through a haze that rapidly falls on you. Two blurred shapes enter the office and help you to your feet. They guide you away from the office, an arm on each shoulder. Doctor Harper follows close behind.

You're quietly led through the corridor. Some shapes seem to glance your way. The two beside you don't stop. They lead you outside and into the back of a waiting van. There's a cot inside. They push you onto it as the last of your consciousness slips.

<<endevent>>
<<link [[Next|Asylum Intro]]>><<pass 120>><</link>>

:: Ambulance Sydney
<<set $outside to 0>><<effects>>
<<set $worn.face.type.push("broken")>><<faceruined>><<set $worn.neck.type.push("broken")>><<neckruined>>
<<remove_shackle>><<unbind>><<storeon "duopunish">><<unset $punishmentCounter>><<unset $punishmentTimer>><<unset $sydneyPain>><<unset $sydneyArousal>>
<<unset $sydneyHold>><<unset $sydneyStop>><<unset $sydneyHit>><<unset $sydneyPlead>><<unset $sydneyTouch>>
<<set $sydneyPunish to 1>>

You feel yourself being lifted onto a stretcher. You're holding onto something. It's holding on to you, too. It's warm, and makes you feel safe in a way you can't explain. Something tries to pull it away from you, so you hold on tighter. You pass out again.

<<if $player.virginity.penile isnot true or $player.virginity.vaginal isnot true>>
	<<if $templePromised is "Sydney">>
		You've gained the Rite of Promise: Sydney trait.

	<<else>>
		You've gained the Chastity Vow trait.

	<</if>>
<</if>>
<<set $player.virginity.temple to true>>
<<set $NPCName[$NPCNameList.indexOf("Sydney")].virginity.temple to true>>

<<link [[Sleep|Hospital Bed Sydney]]>><</link>>

:: Hospital Bed Sydney
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<set $hunger to 0>><<set $thirst to 0>><<set $tiredness to 0>><<set $hygiene to 0>>
<<set $stress -= 2000>>

You awaken in a bed at the civic hospital. You see Sydney on the same bed, asleep. You're still holding each other.
<<generate1>><<person1>>
"About time." It's a nurse. "The doctor tried to separate you two, but even unconscious you wouldn't let go." <<He>> points to Sydney. "Eventually <<nnpc_he "Sydney">> sat upright and... growled at me in <<nnpc_his "Sydney">> sleep. Then went right back down like nothing happened. That's when we stopped trying."

The nurse explains that you have suffered a severe stress response, but you are both otherwise physically healthy. <<He>> asks you to wait a moment while <<he>> fetches the doctor.

<<endevent>>
<<if $hospitalintro is 0>><<set $hospitalintro to 1>>
	<<npc "Harper" 1>><<person1>><<npc "Sydney" 2>><<person2>> You don't have to wait long. A <<person1>><<personsimple>> wearing a white medical coat and carrying a clipboard enters.

	<<He>> smiles at you. "Hello, I'm Doctor Harper." <<He>> takes a seat by your bedside and pulls <<his>> blond fringe away from <<his>> eyes. <<He>> looks young, can't be older than 25.

<<else>>
	<<npc "Harper" 1>><<person1>><<npc "Sydney" 2>><<person2>>Doctor Harper enters at that moment, carrying <<person1>><<his>> usual clipboard. <<He>> assures you that there is no immediate concern, but <<he>> would like to you examine you further.

<</if>>

<<link [[Next|Hospital Bed Examination Sydney]]>><</link>>

:: Hospital Bed Examination Sydney
<<effects>>
You hear Sydney yawn. <<person2>><<His>> eyes flutter open, and <<he>> smiles. "Glad you're the first thing I'm seeing." <<His>> expression immediately changes when <<he>> sees Doctor Harper. They stare each other down. It's hard to read either of their emotions.

"Not so glad that's the second thing I'm seeing."

<<if !$sydneySeen.includes("Harper")>>
	<<set $sydneySeen.pushUnique("Harper")>>
	"Sydney. It's been a while."

	"Not nearly long enough." You feel like Sydney would jump up and attack were you not still holding each other.
<<else>>
	"Let's not do this again. We can get this over with professionally."
<</if>>

Sydney moves in front of you, as if to guard you. "I'm invoking my right to refuse treatment. My <<sydneymum>> will handle the paperwork."

Doctor Harper sighs. "Very well. But I must still evaluate <<phim>>."
<<person1>>
<<if $trauma lte ($traumamax / 10) * 2>>
	<<He>> gently interrogates you on a variety of subjects relating to your home life, how school is going and how your well-being has been faring. <<He>> informs you that everything is okay as far as <<he>> can tell, but you should be careful in the future.

	<<wash>>
	Sydney helps you to your feet, and you soon find yourself being discharged.

	<<link [[Leave|Hospital Journey Home Sydney]]>><<pass 10>><<endevent>><</link>>

<<elseif $trauma lt ($traumamax / 10) * 9>>
	<<He>> gently interrogates you on a variety of subjects relating to your home life, how school is going and how your well-being has been faring. After a short while, <<he>> summons a nurse and they have a brief conversation in the corner of the room. They talk quietly, and after a short while the nurse nods and leave the room.

	<<if $psych is 0>>
		The doctor tells you to visit <<him>> here at the hospital on Fridays for therapy.

		<<set $psych to 1>>
		<<wash>>
		Sydney helps you to your feet, and you soon find yourself being discharged.

	<<else>>
		The doctor reminds you to visit <<him>> here at the hospital on Fridays.

		<<wash>>
		Sydney helps you to your feet, and you soon find yourself being discharged.

	<</if>>

	<<link [[Leave|Hospital Journey Home Sydney]]>><<pass 10>><<endevent>><</link>>

<<else>>
	<<He>> gently interrogates you on a variety of subjects relating to your home life, how school is going and how your well-being has been faring. A look of concern grows on <<his>> face, but you've no idea why. After a short while, <<he>> summons a nurse into the room and they talk quietly for a short time. The nurse keeps glancing at you, looking concerned.

	Sydney looks uneasy. "We need to leave." You find yourself unable to respond. The nurse moves towards Sydney, who pulls you away. "No." The nurse freezes in place as Sydney glares.

	"Sydney, I assure you that-"

	"Everything will be fine? No it won't. We're leaving, and you can't stop us." The nurse grabs Sydney by the arms and holds <<person1>><<him>> back. <<He>> pushes back with surprising strength, but is too slow. The doctor presses a cloth to your face, and a haze falls on you. You hear a yell in Sydney's voice, and everything begins to spin. You feel yourself pulled along, and more yelling.

	Once out in the corridor multiple shapes march toward you. Someone blocks their path. The one holding you doesn't stop. They lead you outside and into the back of a waiting car as your consciousness slips.

	<<endevent>>
	<<link [[Next|Hospital Sydney Rescue]]>><<pass 1 hour>><</link>>

<</if>>

:: Hospital Sydney Rescue
<<effects>>
You awaken once more, your head spinning. Two figures are talking in the front seats. You slowly begin to recognise them. It's Sydney, and Sirris. <<npc "Sydney" 1>><<person1>><<npc "Sirris" 2>><<person2>>

"There, see? I told you they'd be okay, Syd." You notice you're no longer in front of the hospital, but on Elk Street.

Sydney practically jumps out of the car, only to open the rear door and jump in, tackle-hugging you into the seat. "I was so worried once <<nnpc_he "Harper">> got that cloth on you." You think about asking Sydney what happened, but the words simply won't form. You mindlessly return the hug.

"Alright, get comfortable back there, you two. Sydney, seatbelt! And you wonder why you can't get your license.
<<if !$sydneySeen.includes("ride")>>
	<<set $sydneySeen.pushUnique("ride")>>
	So, where do you live?" Sirris leans back over the seat to look at you.

	You answer Sirris in a monotone, giving flawless directions to the orphanage. You think you see a sympathetic frown, but you're not sure.
<<else>>
	The ride won't take long since I know where to go now."
<</if>>
Sirris keeps shooting concerned looks at you through the rear mirror. Sydney refuses to let go of you until you get to the orphanage, at which point you both exit the car.

Sydney walks you to the front door of the orphanage, and <<if $sydneyromance is 1>>kisses you on the cheek<<else>>hugs you<</if>>.
"Be careful around that doctor. Don't trust a word <<nnpc_he "Harper">> says."

You watch Sydney walk back to the car, and they both wait for you to go inside before leaving.

<<link [[Next|Orphanage]]>><<pass 10>><<endevent>><</link>>

:: Hospital Journey Home Sydney
<<effects>>
Sydney leads you out of the hospital, into a waiting car. Sirris waits in the driver's seat. <<npc "Sydney" 1>><<person1>><<npc "Sirris" 2>><<person2>>
"You two are quite the handful. Everything alright?" <<He>> looks at you. "Sydney refused to leave your side the whole time. I would have stayed too, had time permitted. Sydney, buckle up or you'll never get your license." Sydney pouts.
<<if !$sydneySeen.includes("ride")>>
	<<set $sydneySeen.pushUnique("ride")>>
	"So, where do you live?" Sirris leans back over the seat to look at you.

	You give Sirris directions to the orphanage. You think you see a sympathetic frown, but you're not sure.
<<else>>
	"The ride won't take long since I know where to go now."
<</if>>
Sirris keeps shooting concerned looks at you through the rear mirror. You reach the orphanage quickly, and Sydney exits the car to take your hand.

<<person1>><<He>> walks you to the front door of the orphanage, and <<if $sydneyromance is 1>>kisses you on the cheek<<else>>hugs you<</if>>.
"Be careful around that doctor. Don't trust a word <<nnpc_he "Harper">> says."

You watch Sydney walk back to the car, and they both wait for you to go inside before leaving.

<<link [[Next|Orphanage]]>><<pass 10>><<endevent>><</link>>


code:
:: Hospital Parasite
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<generate1>><<person1>>
The receptionist taps something into <<his>> computer and instructs you to take a seat in the waiting room.

<<endevent>>

<<harper_intro>>

"So you have a parasite problem," <<he>> says. "It's probably nothing to worry about, so don't be nervous. Can you explain the symptoms?" Though embarrassed, you manage to stammer a description of your issue.

<<if $parasite.clit.name is "urchin" or $parasite.clit.name is "slime" or
$parasite.penis.name is "urchin" or $parasite.penis.name is "slime" or
$parasite.nipples.name is "urchin" or $parasite.nipples.name is "slime" or
$parasite.bottom.name is "urchin" or $parasite.bottom.name is "slime">>
	<<He>> listens intently, nodding along as if there's nothing strange about anything you're saying. When you are finished <<he>> silently turns to <<his>> computer and starts reading something. "Okay," <<he>> says.

	<<if $parasite.left_ear.name is "slime" or $parasite.right_ear.name is "slime">>
		"Firstly, the slime you describe," <<he>> continues. "Entering your ear? Hallucinations are a side effect of many medications. Some people find solace at the temple when they experience similar. Perhaps they could help."

		"The rest are more real. A rare but relatively benign condition. We should be able to cure you right now." You breathe a sigh of relief. "I'll just be a moment." <<He>> turns back to <<his>> computer.

	<<else>>
		"A rare but relatively benign condition. We should be able to cure you right now." You breathe a sigh of relief. "I'll just be a moment." <<He>> turns back to <<his>> computer.

	<</if>>

	A minute later <<he>> turns back to you. "We can apply a special form of electrolysis to your unclothed body, at a wavelength that disables this type of parasite. It's completely harmless to people, but you might feel a tingle."

	"The procedure will cost you £250." <<He>> pauses before continuing. "As this is a rare illness however, some of my colleagues would like to observe your treatment. If you agree to be observed, you won't be charged." You suddenly don't feel so relieved. "They'll all be medical professionals, so there's no reason to be embarrassed."

	<<if $exhibitionism gte 55>>
		You try to tell yourself that you don't want to be seen naked by any more people than is necessary, but you can't hide from the lewd feelings stirring at the thought.

	<<else>>
		You don't like the idea of being seen naked by any more people than is necessary, but the alternative is so expensive.

	<</if>>

	<<link [[Free procedure (0:20)|Hospital Parasite Public]]>><<pass 20>><</link>>

	<<if $money gte 25000>>
		<<link [[Paid procedure (£250 0:10)|Hospital Parasite Private]]>><<set $money -= 25000>><</link>>

	<</if>>
	<<link [[Leave without treatment|Hospital Foyer]]>><<endevent>><</link>>

<<elseif $parasite.left_ear.name is "slime" or $parasite.right_ear.name is "slime">>
	<<He>> listens intently, nodding along as if there's nothing strange about anything you're saying. When you're finished, <<he>> smiles. "A slime inside your ear?" <<he>> says. "Hallucinations are a side effect of many medications. Some people find solace at the temple when they experience similar. Perhaps they could help."

	<<He>> starts tapping into <<his>> keyboard. "Do you have any further concerns?" You shake your head.

	<<He>> rises and holds open the door for you. You leave the office.

	<<link [[Next|Hospital Foyer]]>><<endevent>><</link>>
<<elseif $penilechastityparasite or $vaginalchastityparasite or $analchastityparasite>>
	<<He>> listens intently, nodding along as if there's nothing strange about anything you're saying. When you're finished, <<he>> smiles. "As I thought, there's no danger. All you need to do is remove your $worn.genitals.name and the parasites should fall out."

	<<He>> starts tapping into <<his>> keyboard. "Do you have any further concerns?" You shake your head, wondering if removing the belt will be an ordeal in of itself.

	<<He>> rises and holds open the door for you. You leave the office.

	<<link [[Next|Hospital Foyer]]>><<endevent>><</link>>
<<else>>
	<<He>> listens intently, nodding along as if there's nothing strange about anything you're saying. When you're finished, <<he>> frowns. "I've not encountered anything like this before," <<he>> says. "But they seem benign. I expect they'll leave on their own time, and there's nothing to worry about."

	<<He>> starts tapping into <<his>> keyboard. "Do you have any further concerns?" You shake your head, wondering if removing the belt will be an ordeal in of itself.

	<<He>> rises and holds open the door for you. You leave the office.

	<<link [[Next|Hospital Foyer]]>><<endevent>><</link>>
<</if>>

:: Hospital Parasite Public
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<upperstrip>>
<<lowerstrip>>
<<underlowerstrip>>
"Please undress," Harper says as <<he>> stands to leave the room. You remove your clothing and stand waiting, feeling more than a little exposed. <<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem. <</if>><<He>> soon returns, carrying a medical gown.

"Wear this." <<He>> instructs. You quickly put the gown on. "Right, if you'd like to come with me, it's just a short walk away."

<<generate2>><<generate3>><<generate4>><<generate5>><<generate6>>
<<He>> leads you to another part of the hospital. Your breath catches when you enter the auditorium. Seats rise up in a circle around a central platform. The audience is far larger than you expected, and people are still entering. There must be room for nearly a hundred people. Harper smiles at you reassuringly. "Don't be nervous, we'll be done before you know it!"

When the seats are full the lights in the audience dim, and Harper softly speaks. "If you would disrobe and lie on the table, please."

You feel hairs stand on end as your gown falls to the floor, unveiling you for the whole audience to see.
<<if $player.gender is "h">>
	They erupt into inquisitive murmuring. It must be your <<genitals>>.
<</if>>
<<if ($goocount + $semencount) gte 8>>
	<<if ($goocount + $semencount) gte 20>>
		You hear loud murmurs from the audience as they see the copious lewd fluids coating parts of your body.
	<<else>>
		You hear murmurs from the audience as some notice the lewd fluids on your skin.
	<</if>>
	<<if $exhibitionism lt 15>>
		You want to die being this exposed in front of so many strangers. You try to hide
	<<elseif $exhibitionism lt 55>>
		In front of all these eyes, you feel self-conscious of
	<<elseif $uncomfortable.nude is true>>
		Resisting the excitement rising within, you try to cover up
	<<else>>
		You feel excited to have so many lascivious eyes witnessing
	<</if>>

	<<if setup.bodyliquid.combined("vagina") gte 4>>
		the cum gushing out of your pussy and running down your leg.
	<<elseif setup.bodyliquid.combined("anus") gte 4>>
		the cum running out of your ass.
	<<elseif setup.bodyliquid.combined("vagina") gte 2>>
		the cum dribbling out of your pussy.
	<<elseif setup.bodyliquid.combined("anus") gte 2>>
		the cum dripping out of your ass.
	<<elseif setup.bodyliquid.combined("face") gte 2>>
		the cum all over your face.
	<<elseif setup.bodyliquid.combined("mouth") gte 2>>
		the cum running down your chin.
	<<elseif setup.bodyliquid.combined("chest") gte 2>>
		the cum on your <<breasts>>.
	<<else>>
		the cum on your skin, glistening in the lights.
	<</if>>

	<<if $exhibitionism lt 15>>
		<<ggstress>><<stress 12>>
	<<elseif $exhibitionism lt 55>>
		<<gstress>><<stress 4>>
	<<else>>
		<<garousal>><<arousal 600>>
	<</if>>

<</if>>
You lie on the table as instructed, and shortly after Harper produces straps from the underside of the bed, swiftly subduing your limbs. <<He>> sticks small pads to various parts of your body. <<He>> takes a seat and turns to a small machine covered in switches and dials.

Once satisfied, <<he>> turns to you. "We're all ready to start, just relax." <<He>> turns back to the device in front of <<him>>. Without further warning, an electric pulse jolts through you.

Which parasites should be removed?

<<set $parasite_procedure to []>>

<<link [[Remove all the parasites they can|Hospital Parasite Public2]]>><<set $parasite_procedure.push("all")>><</link>>

<<if $parasite.clit.name isnot undefined>>
	<<link [[Remove clit parasite|Hospital Parasite Public2]]>><<set $parasite_procedure.push("clit")>><</link>>

<</if>>
<<if $parasite.penis.name isnot undefined>>
	<<link [[Remove penis parasite|Hospital Parasite Public2]]>><<set $parasite_procedure.push("penis")>><</link>>

<</if>>
<<if $parasite.bottom.name isnot undefined>>
	<<link [[Remove ass parasite|Hospital Parasite Public2]]>><<set $parasite_procedure.push("bottom")>><</link>>

<</if>>
<<if $parasite.nipples.name isnot undefined>>
	<<link [[Remove nipple parasite|Hospital Parasite Public2]]>><<set $parasite_procedure.push("nipples")>><</link>>

<</if>>

:: Hospital Parasite Private
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<upperstrip>>
<<lowerstrip>>
<<underlowerstrip>>
Harper accepts the payment. "Please undress," <<he>> says as <<he>> stands to leave the room. You remove your clothing and stand waiting, feeling more than a little exposed. <<if $worn.genitals.type.includes("chastity")>>You can't remove your $worn.genitals.name, you hope it won't be a problem. <</if>><<He>> soon returns, carrying a box of equipment.

"Lie down." <<He>> instructs. You do so, and shortly after <<he>> produces straps from the underside of the bed, swiftly subduing your limbs. <<He>> reaches into the box and lifts a number of small wired pads which <<he>> sticks to various parts of your body. <<He>> reaches in again and retrieves the machine that the wires attach to. Placing it on <<his>> desk and attaching the headphones to <<his>> ears, <<he>> starts turning various dials.

Once satisfied, <<he>> turns to you. "We're all ready to start, just relax." <<He>> turns back to the device in front of <<him>>. Without further warning, an electric pulse jolts through you.

<<set $parasite_procedure to []>>

<<link [[Remove all the parasites they can|Hospital Parasite Private2]]>><<set $parasite_procedure.push("all")>><</link>>

<<if $parasite.clit.name isnot undefined>>
	<<link [[Remove clit parasite|Hospital Parasite Private2]]>><<set $parasite_procedure.push("clit")>><</link>>

<</if>>
<<if $parasite.penis.name isnot undefined>>
	<<link [[Remove penis parasite|Hospital Parasite Private2]]>><<set $parasite_procedure.push("penis")>><</link>>

<</if>>
<<if $parasite.bottom.name isnot undefined>>
	<<link [[Remove ass parasite|Hospital Parasite Private2]]>><<set $parasite_procedure.push("bottom")>><</link>>

<</if>>
<<if $parasite.nipples.name isnot undefined>>
	<<link [[Remove nipple parasite|Hospital Parasite Private2]]>><<set $parasite_procedure.push("nipples")>><</link>>

<</if>>

:: Hospital Parasite Private2
<<set $outside to 0>><<set $location to "hospital">><<effects>>

<<arousal 4000>>
<<if $arousal gte $arousalmax>><<orgasm>><<hospitalparasite>><</if>>

The pulses increase in intensity, it's certainly not the "tingle" that was advertised. Your <<genitals 1>> is particularly wracked by the treatment, responding even more violently than the rest of your body.

<<arousal 4000>>
<<if $arousal gte $arousalmax>><<orgasm>><<hospitalparasite>><</if>>

<<if $parasite_procedure.includes("all")>>
	<<removeparasite clit>>
	<<removeparasite penis>>
	<<removeparasite nipples>>
	<<removeparasite bottom>>
	<<if $parasite.clit.name isnot undefined and $parasite.nipples.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creatures clinging to your <<nipples>> and clit begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.

	<<elseif $parasite.penis.name isnot undefined and $parasite.nipples.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creatures clinging to your <<nipples>> and penis begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.

	<<elseif $parasite.clit.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creature clinging to your clitoris begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

	<<elseif $parasite.penis.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creature clinging to your penis begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

	<<elseif $parasite.nipples.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creatures clinging to your <<nipples>> begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.

	<</if>>

	<<if $parasite.bottom.name isnot undefined>>
		<<if _parasite_procedure is 1>>
			The creature attached to your <<bottom>> follows suit. Harper scoops it into the container with the others.
		<<else>>
			Finally, the creature clinging to your <<bottom>> begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

		<</if>>
	<</if>><<set _parasite_procedure to 1>>
<<elseif $parasite_procedure.includes("clit")>>
	<<removeparasite clit>>
	Finally, the creature clinging to your clitoris begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

<<elseif $parasite_procedure.includes("penis")>>
	<<removeparasite penis>>
	Finally, the creature clinging to your penis begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

<<elseif $parasite_procedure.includes("nipples")>>
	<<removeparasite nipples>>
	Finally, the creatures clinging to your <<nipples>> begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.

<<elseif $parasite_procedure.includes("bottom")>>
	<<removeparasite bottom>>
	Finally, the creature clinging to your <<bottom>> begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

<</if>>
<<unset $parasite_precedure>>

<<arousal 4000>>
<<if $arousal gte $arousalmax>><<orgasm>><<hospitalparasite>><</if>>

<<person1>><<He>> switches off the machine and the pulses immediately stop, leaving a mild tingling in their place. <<He>> removes the pads from your body and undoes the straps. "All done!" <<He>> smiles. "You can get dressed."

<<pass 10>>
<<He>> holds the door open for you on your way out. "Be well."

<<endevent>>
<<clotheson>>

<<link [[Next|Hospital Foyer]]>><</link>>

:: Widgets Hospital Parasite [widget]
<<widget "hospitalparasite">>
<<if $orgasmdown gte 1>><<set $orgasmdown to 0>>
	<<if $orgasmcurrent lte 0>>
	<<elseif $orgasmcurrent lte 1>>
		You spasm against the bindings, which hold firm. Harper doesn't even blink at your response.
		<<if $enemyno gte 2>>
			<<if $player.penisExist and $devstate is 1 and $orgasmcount lte 23>>
				<<person2>>The audience does however. You hear gasping and nervous laughter. Their eyes are drawn to your semen, propelled further from your body than usual by the electrolysis. A <<person>> in the front row visibly blushes, but can't look away.
			<<else>>
				The audience does however. Some gasp and you hear subdued laughter.
			<</if>>
		<<else>>
			<<if $player.penisExist and $devstate is 1 and $orgasmcount lte 23>>
			<<else>>
			<</if>>
		<</if>>
	<<elseif $orgasmcurrent is 2>>
		You spasm again against the bindings. Harper still doesn't acknowledge you.
		<<if $enemyno gte 2>>
			<<if $player.penisExist and $devstate is 1 and $orgasmcount lte 23>>
				<<person2>>The audience gasps again, this time the laughter is more discernible. Your semen flies even further, the <<person>> gets some in <<his>> hair, but is so enraptured that <<he>> doesn't notice. Fortunately, all the electric pulses tormenting you give you no chance to fully experience the humiliation of the situation.
			<<else>>
				The audience gasps again, this time the laughter is more discernible. Fortunately, the relentless electric pulses give you no chance to fully experience the humiliation of the situation.
			<</if>>
		<<else>>
			<<if $player.penisExist and $devstate is 1 and $orgasmcount lte 23>>
			<<else>>
			<</if>>
		<</if>>
	<<else>>
	<</if>>

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

:: Hospital Parasite Public2
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<fameexhibitionism 100>>
<<arousal 4000>>
<<if $arousal gte $arousalmax>><<orgasm>><<hospitalparasite>><</if>>

The pulses increase in intensity, it's certainly not the "tingle" that was advertised. Your <<genitals_are 1>> particularly wracked by the treatment, responding even more violently than the rest of your body.

<<arousal 4000>>
<<if $arousal gte $arousalmax>><<orgasm>><<hospitalparasite>><</if>>

<<if $parasite_procedure.includes("all")>>
	<<removeparasite clit>>
	<<removeparasite penis>>
	<<removeparasite nipples>>
	<<removeparasite bottom>>
	<<if $parasite.clit.name isnot undefined and $parasite.nipples.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creatures clinging to your <<nipples>> and clit begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.
	<<elseif $parasite.penis.name isnot undefined and $parasite.nipples.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creatures clinging to your <<nipples>> and penis begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.
	<<elseif $parasite.clit.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creature clinging to your clitoris begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.
	<<elseif $parasite.penis.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creature clinging to your penis begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.
	<<elseif $parasite.nipples.name isnot undefined>><<set _parasite_procedure to 1>>
		Finally, the creatures clinging to your <<nipples>> begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.
	<</if>>

	<<if $parasite.bottom.name isnot undefined>>
		<<if _parasite_procedure is 1>>
			The creature attached to your <<bottom>> follows suit. Harper scoops it into the container with the others.
		<<else>>
			Finally, the creature clinging to your <<bottom>> begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

		<</if>>
	<</if>><<set _parasite_procedure to 1>>
<<elseif $parasite_procedure.includes("clit")>>
	<<removeparasite clit>>
	Finally, the creature clinging to your clitoris begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

<<elseif $parasite_procedure.includes("penis")>>
	<<removeparasite penis>>
	Finally, the creature clinging to your penis begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

<<elseif $parasite_procedure.includes("nipples")>>
	<<removeparasite nipples>>
	Finally, the creatures clinging to your <<nipples>> begin to respond. They massage you with increasing fervour, before releasing their hold and dropping off. Harper wastes no time in picking them up with a gloved hand and placing them in a tiny container.

<<elseif $parasite_procedure.includes("bottom")>>
	<<removeparasite bottom>>
	Finally, the creature clinging to your <<bottom>> begins to respond. It massages you with increasing fervour, before releasing its hold and dropping off. Harper wastes no time in picking it up with a gloved hand and placing it in a tiny container.

<</if>>
<<unset $parasite_precedure>>

<<arousal 4000>>
<<if $arousal gte $arousalmax>><<orgasm>><<hospitalparasite>><</if>>

<<if $rng gte 11>>
	<<person1>>Harper switches off the machine and the pulses immediately stop, leaving a mild tingling in their place. <<He>> removes the pads from your body and undoes the straps. "All done!" <<He>> smiles. "You can get dressed."

	You slip the gown back on as the audience murmur among themselves. You worry that your weakened legs won't be able to hold you, but you managed to make it back to Harper's office, where you find your clothes waiting.
	<<pass 10>>
	<<He>> holds the door open for you on your way out. "Be well."

	<<endevent>>
	<<clotheson>>

	<<link [[Next|Hospital Foyer]]>><</link>>

<<else>>
	<<person1>>Harper switches off the machine, but the pulses don't stop. <<He>> scratches <<his>> head in thought as the waves continue to torment you.

	<<link [[Next|Hospital Parasite Public3]]>><</link>>
<</if>>

:: Hospital Parasite Public3
<<set $outside to 0>><<set $location to "hospital">><<effects>>

Perplexed at the machine's lack of response, <<he>> removes <<his>> shoe and gives it a solid whack. The moment <<he>> does so, power surges through the pads and into your helpless body. The pulses reach a maddening intensity; you shudder and strain impotently against the straps binding you as the audience watch on in bewilderment.

<<arousal 10000>><<orgasm>>
<<arousal 10000>><<orgasm>>
<<arousal 10000>><<orgasm>>
<<arousal 10000>><<orgasm>>

The orgasms come so rapidly they blur together, forming a continuous stream. Harper works furiously at the machine, "No no no, this isn't supposed to happen!"

<<if $player.penisExist and $devstate is 1 and $orgasmcount lte 23>>
	Tendrils of cum erupt from you, showering the front row of the audience as they fall over each other to escape your reach.
<</if>>

<<arousal 10000>><<orgasm>>
<<arousal 10000>><<orgasm>>
<<arousal 10000>><<orgasm>>
<<arousal 10000>><<orgasm>>

Looking fearful, Harper gives up on the machine and, grabbing the wires, tries to tug the pads off your body. The strain is too much; you feel your consciousness slipping.

<<endevent>>
<<clothesruined>>

<<if $rng gte 81>>
	<<link [[Everything fades to black...|Abduction Hospital]]>><</link>>
<<else>>
	<<link [[Everything fades to black...|Molestation Hospital]]>><<set $molestationstart to 1>><</link>>
<</if>>

repo_name: Area/degrees

license: mit


code:
:: Pharmacy
<<if $pharmClosed is true>>
A "Closed" sign hangs on the door. You tug the door but it's locked.

<<link [[Go back|Hospital Foyer]]>><</link>>
<<else>>

<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<endevent>>
<<generateNPC 1 t $pharmNurseGender $pharmNurseGender $pharmNurseLvl>>
<<person1>>
<<set $pronoun = $NPCList[0].pronoun>>
<<set $description = $NPCList[0].description>>
<<if $pharmTriedSeduction is undefined>>
	<<set $pharmTriedSeduction to false>>
<</if>>

You are inside the hospital pharmacy.
<<if $pharmTriedSeduction != true>>
	The young nurse at the till glances at you, then returns to <<his>> book.
<<elseif $pharmSexFinished == true>>
	A <<person>> sits by the till and reads a book.
<<else>>

	"Hey, you're back," nurse notices you, then goes back to <<his>> book.
<</if>>

Looking at the items on the shelves, you notice a few objects of interest.

<<if $player.penisExist>>

<<link [[Pack of 14 penis reduction|Pharmacy Sale]]>><<set $pharmacyItem to "penis reduction">><</link>>

<<link [[Pack of 14 penis growth|Pharmacy Sale]]>><<set $pharmacyItem to "penis growth">><</link>>

<<link [[Pack of 14 penis growth blocker|Pharmacy Sale]]>><<set $pharmacyItem to "penis growth blocker">><</link>>

<</if>>

<<link [[Pack of 14 breast reduction|Pharmacy Sale]]>><<set $pharmacyItem to "breast reduction">><</link>>

<<link [[Pack of 14 breast growth|Pharmacy Sale]]>><<set $pharmacyItem to "breast growth">><</link>>

<<link [[Pack of 14 breast growth blocker|Pharmacy Sale]]>><<set $pharmacyItem to "breast growth blocker">><</link>>

<<link [[Pack of 14 butt reduction|Pharmacy Sale]]>><<set $pharmacyItem to "bottom reduction">><</link>>

<<link [[Pack of 14 butt growth|Pharmacy Sale]]>><<set $pharmacyItem to "bottom growth">><</link>>

<<link [[Pack of 14 butt growth blocker|Pharmacy Sale]]>><<set $pharmacyItem to "bottom growth blocker">><</link>>

/*ToDo: Pregnancy, remove check to properly enable*/
<<if $pregnancyTesting>>
	<<link [[Pack of 10 condoms|Pharmacy Sale]]>><<set $pharmacyItem to "condoms">><</link>>

	<<link [[Pack of 2 pregnancy tests|Pharmacy Sale]]>><<set $pharmacyItem to "pregnancy test">><</link>>

	<<link [[Pack of 14 fertility pills|Pharmacy Sale]]>><<set $pharmacyItem to "fertility pills">><</link>>

	<<link [[Pack of 14 contraceptive pills|Pharmacy Sale]]>><<set $pharmacyItem to "contraceptive pills">><</link>>

	<<link [[Ask for the morning-after-pill|Pharmacy Morning After pill]]>><<set $pharmacyItem to "Morning After pill">><</link>>

<</if>>
<<link [[Take a look at the contact lenses display|Pharmacy Lenses]]>><</link>>

<<link [[Return to foyer|Hospital Foyer]]>><<endevent>><</link>>
<</if>>

:: Pharmacy Lenses
An assortment of colourful contact lenses is displayed behind the glass. You can purchase lenses to change the colour of your eyes.
<<if $makeup.owned.eyelenses.length gt 0>>

	You already own lenses of the following colours:
	<<for _i, _colour range $makeup.owned.eyelenses>>
		_colour
		<<if _i < $makeup.owned.eyelenses.length - 1>>, <</if>>
	<</for>>.
<</if>>

<<set _availableColours = ["dark blue", "light blue", "purple", "hazel", "amber", "green", "light green", "grey", "red", "pink"].filter(x => !$makeup.owned.eyelenses.includes(x))>>
<<if _availableColours.length == 0>>
	You have collected all available colours of contact lenses, there's nothing left for you to buy.

<<else>>
	Each pair of lenses costs £200.

	<<set _lensChoice = _availableColours[0]>>
	<<for _i, _colour range _availableColours>>
		_colour <<print '<<radiobutton "_lensChoice" "'+_colour+'" ' + (_lensChoice is _colour ? "checked" : "") + '>>'>> |
	<</for>>

	<<if $money gte 20000>>
		<<link [[Buy and send home|Pharmacy Lenses]]>><<set $money -= 20000>><<set $makeup.owned.eyelenses.push(_lensChoice)>><</link>>

		<<link [[Buy and wear|Pharmacy]]>><<set $money -= 20000>><<set $makeup.owned.eyelenses.push(_lensChoice)>><<set $makeup.eyelenses = _lensChoice>><</link>>

	<<else>>
		You can't afford the purchase.

	<</if>>
<</if>>
<<link [[Go back|Pharmacy]]>><</link>>

:: Pharmacy Sale
<<set $outside to 0>><<set $location to "hospital">><<effects>>
The nurse looks at the item you're holding,
<<switch $pharmacyItem>>
	<<case "penis reduction">>
		"That'll be £150.<<if $pharmTriedSeduction != true>> So is it too big, or do you just want it to be tiny?<</if>>"

		<<if $money gte 15000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 15000>><<managePill "penis" "reduction" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
		<<if $promiscuity gte 15 and $pharmTriedSeduction != true>>

			<<link [[Seduce|Pharmacy Seduction]]>><<set $choice to "reduction">><<set $price to 150>><</link>><<seductiondifficulty>><<promiscuous2>>
		<</if>>
	<<case "penis growth">>
		"That'll be £150.<<if $pharmTriedSeduction != true>> So you think yours is too small?<</if>>"

		<<if $money gte 15000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 15000>><<managePill "penis" "growth" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
		<<if $promiscuity gte 15 and $pharmTriedSeduction != true>>

			<<link [[Seduce|Pharmacy Seduction]]>><<set $choice to "growth">><<set $price to 150>><</link>><<seductiondifficulty>><<promiscuous2>>
		<</if>>
	<<case "penis growth blocker">>
		"£200.00 please.<<if $pharmTriedSeduction != true>> I wonder how big you are.<</if>>"

		<<if $money gte 20000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 20000>><<managePill "penis" "blocker" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
		<<if $promiscuity gte 15 and $pharmTriedSeduction != true>>

			<<link [[Seduce|Pharmacy Seduction]]>><<set $choice to "blocker">><<set $price to 200>><</link>><<seductiondifficulty>><<promiscuous2>>
		<</if>>
	<<case "breast reduction">>
		"£150.00 please. The effects will vary."

		<<if $money gte 15000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 15000>><<managePill "breast" "reduction" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "breast growth">>
		"£150.00 please. The effects will vary."

		<<if $money gte 15000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 15000>><<managePill "breast" "growth" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "breast growth blocker">>
		"£200.00 please."

		<<if $money gte 20000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 20000>><<managePill "breast" "blocker" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "bottom reduction">>
		"£150.00 please. The effects will vary."

		<<if $money gte 15000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 15000>><<managePill "bottom" "reduction" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "bottom growth">>
		"£150.00 please. The effects will vary."

		<<if $money gte 15000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 15000>><<managePill "bottom" "growth" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "bottom growth blocker">>
		"£200.00 please."

		<<if $money gte 20000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 20000>><<managePill "bottom" "blocker" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "condoms">>
		"£50.00 please." <<He>> looks you over.
		<<if $player.gender_appearance is "m">>
			"Glad to see people playing it safe, your girl is lucky."
		<</if>>

		<<if $money gte 5000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 5000>><<if $condoms is undefined>><<set $condoms to 0>><</if>><<set $condoms += 10>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "pregnancy test">>
		"£25.00 please." <<He>> looks you over.
		<<if $player.gender_appearance is "m">>
			"Your girl is lucky.
		<<else>>
			"Hope you get the result your after.
		<</if>>
		They are somewhat inaccurate right after conception, so just give it some time or take a test a couple of days later."

		<<if $money gte 2500>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 2500>><<if $pregnancyTest is undefined>><<set $pregnancyTest to 0>><</if>><<set $pregnancyTest += 2>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "fertility pills">>
		"£500.00 please." <<He>> looks you over.
		<<if $player.gender_appearance is "m">>
			"Trying to get your girl knocked up? Good luck.
		<<else>>
			"Oh, who's the lucky father?
		<</if>>
		Take one per day, try to normalise the time."

		<<if $money gte 50000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 50000>><<managePill "pregnancy" "fertility" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "contraceptive pills">>
		"£250.00 please.
		<<if $player.gender_appearance is "m">>
			Glad to see people playing it safe, your girl is lucky.
		<</if>>
		Take one per day, try to normalise the time. You still need to be careful, the only sure way to be safe is still to be abstinent."

		<<if $money gte 25000>>
			<<link [[Hand over the money|Pharmacy]]>><<set $money -= 25000>><<managePill "pregnancy" "contraceptive" 14 false>><<boughtOnce>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<case "Morning After pill">>
		"£500 please. For legal reasons, we're unable to sell these in bulk. You'll have to take it while I'm supervising you, just in case issues occur."

		<<if $money gte 50000>>
			<<link [[Hand over the money and take the pill|Pharmacy Morning After pill]]>><<set $money -= 50000>><</link>>
		<<else>>
			You cannot afford them.
		<</if>>
<</switch>>

<<link [[Don't buy|Pharmacy]]>><</link>>

:: Widgets boughtOnce [widget]
<<widget "boughtOnce">>
<<set $sexStats.pills.boughtOnce to true>>
<</widget>>

:: Pharmacy Seduction
<<set $pharmTriedSeduction = true>>
"Why don't you see it for yourself?" you say, gazing into <<his>> eyes.

<<set $seductiondifficulty to (8888 - ($rng * 20) - ($choice == "growth" ? 500 : 1000))>>
<<seductioncheck>>

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

<<if $seductionrating gte $seductionrequired>>
	<<He>> arches an eyebrow and blushes while glancing around to make sure you're alone. Satisfied, <<he>> takes you by the hand and leads you behind the counter.

	<<He>> pushes you against the wall, drops down on <<his>> knees and hastens to remove your <<if $worn.lower.name != "naked">>$worn.lower.name<<else>>$worn.under_lower.name<</if>>.

	<<set $sexstart to 1>>
	<<link [[Next|Pharmacy Encounter Sex]]>><</link>>
<<else>>
	After a brief pause, <<he>> bursts into a ringing laugh.<<ggstress>><<stress 23>>

	"Nice try, <<lass>>!" <<he>> says.

	"So, are you buying them or what?"

	A box of $choice pills lays on the table.

	<<if $money gte $price * 100>>
		<<link [["Pay £" + $price|Pharmacy Seduction End]]>><<set $phase to "pay">><</link>>

	<<else>>
		You cannot afford them.
	<</if>>
	<<link [[Nevermind|Pharmacy Seduction End]]>><<set $phase to "nevermind">><</link>>
<</if>>

:: Pharmacy Seduction End
<<switch $phase>>
	<<case "nevermind">>
	You turn and leave.

	"Hey," <<he>> says. "I didn't mean to upset you."

	<<link [[Next|Hospital Foyer]]>><<endevent>><</link>>

	<<case "pay">>
	You hand over the money in awkward silence, take your box of pills, and leave.

	<<set $money -= $price * 100>><<managePill "penis" $choice 14 false>><<boughtOnce>>
	<<link [[Next|Hospital Foyer]]>><<endevent>><</link>>

<</switch>>

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

	<<if $worn.lower.name != "naked">>
		<<set $NPCList[0].lefthand to "lowerclothes">>
		<<set $NPCList[0].righthand to "lowerclothes">>
	<<elseif $worn.under_lower.name != "naked">>
		<<set $NPCList[0].lefthand to "underclothes">>
		<<set $NPCList[0].righthand to "underclothes">>
	<</if>>
	<<set $NPCList[0].mouth to "penisentrance">>
	<<set $NPCList[0].location.head = "genitals">>
	<<npcidlegenitals>>
	<<set $enemytrust += 100>>
	<<set $position = "doggy">>

<</if>>

<<if $exposed is 2 and $exposedPrev lt 2>>
	<<if $worn.genitals.type.includes("chastity")>>
		"What the fuck is this?" <<he>> looks at your <<genitals>>. "That's not funny!"

<<He>> stays silent for a moment.

"I don't wanna go on. Get out."

"How disappointing," <<he>> adds quietly.
		<<set $finish = 1>><<set $phase = "chastity">>
	<<elseif $penissize lte 0>>
		<<He>> froze the moment your <<penis>> flopped out.

"What the fuck? You kidding me? This is what you wanted me to see?" <<he>> starts to chuckle.

<<He>> doesn't say anything for a while.

"Yeah. I'm not in the mood anymore."
		<<incggpenisinsecurity>>

<<He>> gets up, fixes <<his>> clothing and returns to the till and <<his>> book.
		<<set $finish = 1>><<set $phase = "tiny">>
	<<elseif $penissize is 1>>
		<<if $rng gte 70>>
		You hear a snicker as your <<penis>> flops out, but <<he>> doesn't say anything and keeps going.
		<<else>>

<<He>> stopped short the moment your <<penis>> flopped out.

"Oh, and that's it? You sounded like you have something special in your pants," <<he>> says.

"I'm not impressed. And I kinda lost all desire to go on. Buy more pills and come back when you're bigger."
		<<incggpenisinsecurity>>

<<He>> gets up, fixes <<his>> clothing and returns to the till and <<his>> book.
		<<set $finish = 1>><<set $phase = "small">>
		<</if>>
	<<elseif $penissize is 3>>
		You hear a gasp of surprise coming from down below as your <<penis>> flops out.

You look at <<his>> face and see <<his>> eyes light up.
	<<elseif $penissize gte 4>>
		"Shit," you hear a quiet whisper from down below as your <<penis>> flops out.

You look down and see <<him>> staring at your cock, mouth agape.
		<<if $insecurity_penis_big gte 1 and $penissize gte 4 and $acceptance_penis_big lte 999>>
			<<acceptance "penis_big" 10>><<gacceptance>>
		<</if>>
	<</if>>

<</if>>
<<if $finish isnot 1>>
	<<set $exposedPrev to $exposed>>
	<<effectsman>><<man>>
	<<stateman>>
	<<actionsman>>
<</if>>

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

:: Pharmacy Encounter Sex Finish
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<set $pharmSexFinished = true>>

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

	"Wow!" <<he>> pants as <<he>> struggles to <<his>> feet, leaning against the counter. <<tearful>> you gather yourself.

	<<clotheson>>

	<<He>> takes a breath, fixes <<his>> clothing, and walks back to the till.

	<<if $choice isnot "reduction" or $penissize lt 3>>
		"I think you've earned a discount, sweetie. You can have these pills for £<<print $price / 2>>."

		"Please come back for more," <<he>> winks.

<<endcombat>>
		<<if $money gte ($price / 2) * 100>>
			<<link [["Buy penis " + $choice + " pills for £" + $price / 2|Pharmacy]]>>
				<<set $eventskip to 1>>
				<<set $money -= $price * 50>><<managePill "penis" $choice 14 false>><<boughtOnce>>
			<</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<<else>>
		"Sorry, sweetheart. I can't sell you these reduction pills after what you've done to me with your juicy cock. I just can't. I want it to stay as big as it is."

		"I can sell you growth blocker pills at a discount instead," <<he>> smiles.

<<endcombat>>
		<<if $money gte 10000>>
			<<link [[Buy blocker pills for £100|Pharmacy]]>>
				<<set $eventskip to 1>>
				<<set $money -= 10000>><<managePill "penis" "blocker" 14 false>><<boughtOnce>>
			<</link>>
		<<else>>
			You cannot afford them.
		<</if>>
	<</if>>

	<<link [[Don't buy|Pharmacy]]>><<set $eventskip to 1>><</link>>

<<elseif $enemyhealth lte 0>>
	The <<personsimple>> drops on the floor and nurses <<his>> injuries. <<tearful>> you gather yourself.

	<<clotheson>>
	<<endcombat>>

	You look at the counter and see the box of $choice pills you tried to purchase.

	<<link [[Steal the pills before the nurse picks themselves up|Hospital Foyer]]>>
		<<set $eventskip to 1>>
		<<set $pharmClosed = true>>
		<<crimeup $price>><<managePill "penis" $choice 14 false>><<boughtOnce>>
	<</link>><<crime>>

	<<link [[Just leave|Hospital Foyer]]>><<set $eventskip to 1>><<set $pharmClosed = true>><</link>>

<<elseif $finish is 1>>

	<<switch $phase>>
		<<case "chastity">>
		Embarrassed, you don't speak as you rise to your feet. <<clotheson>><<endcombat>>

		<<case "tiny">>
		Face red from intense embarrassment, you rise to your feet. <<clotheson>>
		The nurse doesn't even look your way.

		<<endcombat>>

		<<case "small">>
		Embarrassed, you rise to your feet. <<clotheson>>
		"Don't forget your pills," the nurse says. <<if $choice is "growth">>"You need them."<</if>>

		<<endcombat>>

		<<if $money gte $price * 100>>
			<<link [["Pay £" + $price + " for penis " + $choice + " pills"|Pharmacy]]>>
				<<set $eventskip to 1>>
				<<set $money -= $price * 100>><<managePill "penis" $choice 14 false>><<boughtOnce>>
			<</link>>

		<<else>>
			You cannot afford them.
		<</if>>

		<<default>>
		The <<personsimple>> looks dejected as <<he>> gets up and fixes <<his>> clothing. <<He>> returns to the till, and picks up <<his>> book.

		<<clotheson>><<endcombat>>
	<</switch>>

	<<link [[Leave|Hospital Foyer]]>><<set $eventskip to 1>><</link>>
<<else>>

	<<link [[Next|Hospital Foyer]]>><<endevent>><<set $eventskip to 1>><</link>>
<</if>>

<<unset $exposedPrev>>

:: Pharmacy Morning After pill
<<set $outside to 0>><<set $location to "hospital">><<effects>>
You ask the nurse for after morning pills.

"£500 please. For legal reasons, we're unable to sell these in bulk. You'll have to take it while I'm supervising you, just in case issues occur."

<<if $money gte 50000>>
	<<link [[Hand over the money and take the pill|Pharmacy Morning After pill 2]]>><<set $money -= 50000>><<set $pregnancyStats.afterMorningPills++>><</link>>
<<else>>
	You cannot afford them.
<</if>>

:: Pharmacy Morning After pill 2
<<set $outside to 0>><<set $location to "hospital">><<effects>>
<<pregnancyMorningAfterPill>>
ToDo: Morning After pill scene

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


code:
:: Widgets Hospital [widget]
<<widget "harper_intro">>
<<if $hospitalintro is 0>>
	<<set $hospitalintro to 1>>

	<<npc Harper>><<person1>>You don't have to wait long. A <<personsimple>> wearing a white medical coat and carrying a clipboard emerges from an adjacent room and beckons you over.

	<<He>> smiles at you. "Hello, I'm Doctor Harper." You enter <<his>> office and take a seat. <<He>> looks young, can't be older than 25.

<<elseif $hospitalintro is "livestock">>
	<<set $hospitalintro to 1>>
	<<npc Harper>><<person1>>
	You don't have to wait long. A <<personsimple>> wearing a white medical coat and carrying a clipboard emerges from an adjacent room and beckons you over.

	It's the doctor from the farm. The one who experimented on you. "Hello, I'm Doctor Harper." There's no recognition on <<his>> face. You hesitate, but enter <<his>> office and take a seat. You're in a busy hospital now, not an isolated farm.

<<else>>

	<<npc Harper>><<person1>>You don't have to wait long. Doctor Harper emerges from <<his>> office and beckons you over. You follow <<him>> in and take a seat.

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