code:
:: Temple

<<set $outside to 0>><<set $location to "temple">><<sydneySchedule>><<temple_effects>><<effects>>
You are in the main hall of the temple. Stone walls and pillars tower into darkness. Rows of seats face an altar at the end of the room.
<<if $daystate isnot "night" and $daystate isnot "dusk">>
	A figure wearing a white cowl kneels before the altar.
<</if>>
<<if $weekday is 1 and $hour is 12 and $massattended isnot 1>>
	The seats are filled with worshippers, here for Sunday mass.
<</if>>
<<if $exposed gte 1>>
	You hide behind one of the pillars to conceal your <<nudity>>.
<</if>>

<<if $stress gte $stressmax>>
	<<passouttemple>>
<<elseif $temple_chastity_timer lte 0 and $temple_rank isnot undefined and $temple_rank isnot "prospective" and $exposed lte 0>><<set $temple_chastity_timer to 30>>
	<<if $templePromised is "Sydney">>
		<<npc Jordan>><<person1>>
		<<if $daystate isnot "night" and $daystate isnot "dusk">>
			The figure turns. It's Jordan. "My child," <<he>> says. "It is time for your chastity examination.
		<<else>>
			"My child," says a voice from the side. It's Jordan. "It is time for you chastity examination.
		<</if>>
		We must make sure you're still pure. You and your partner will be purified if you are not."

		<<if _sydney_location is "temple">>
			Another figure approaches. It's Sydney, who yawns.
		<<else>>
			<<He>> gives you a patient smile. "Your partner is being retrieved as we speak, so don't worry."
		<</if>>

		<<link [[Allow examination|Sydney Temple Test]]>><</link>>

		<<link [[Refuse examination|Sydney Temple Test Refuse]]>><<npcincr Sydney love -5>><</link>><<lllove>>

		<<link [[Say you are impure|Sydney Temple Test Admission]]>><<npcincr Sydney love -10>><</link>><<llllove>>

	<<elseif $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and $NPCName[$NPCNameList.indexOf("Sydney")].virginity.temple isnot true and $templePromised isnot "Sydney">>
		<<npc Jordan>><<person1>>
		<<if $daystate isnot "night" and $daystate isnot "dusk">>
			The figure turns. It's Jordan, holding Sydney by the arm. "My child," <<he>> says. "Sydney has failed <<nnpc_his "Sydney">> chastity examination.
		<<else>>
			"My child," says a voice from the side. It's Jordan, holding Sydney by the arm. "Sydney has failed <<nnpc_his "Sydney">> chastity examination.
		<</if>>
		We know you're the one responsible, and you must be purified alongside <<nnpc_him "Sydney">>. I'm sorry." <<He>> produces a small bell from <<his>> robes, and rings.

		Jordan releases Sydney, who quickly clings to you.

		<<endevent>>
		<<link [[Next|Sydney Temple Punish Intro]]>><</link>>

	<<else>>
		<<npc Jordan>><<person1>>
		<<if $daystate isnot "night" and $daystate isnot "dusk">>
			The figure turns. It's Jordan. "My child," <<he>> says. "It is time for your chastity examination.
		<<else>>
			"My child," says a voice from the side. It's Jordan. "It is time for you chastity examination.
		<</if>>
		We must make sure you're still pure. You will be purified if you are not."

		<<link [[Allow examination|Temple Test]]>><<set $phase to 2>><</link>>

		<<link [[Refuse examination|Temple Test Refuse]]>><</link>>

		<<link [[Say you are impure|Temple Test Admission]]>><</link>>

	<</if>>

<<elseif $temple_event is 1 and $daystate isnot "night" and $exposed lte 0>><<set $temple_event to 0>>
	<<eventstemple>>
<<else>>
	<<if $arousal gte $arousalmax>>
		<<orgasmLocation "temple">>
	<</if>>
	<<if $scienceproject is "ongoing" and $sciencelichentemple is 0 and $exposed lte 0>>
		<<link [[Search for lichen (0:30)|Temple Lichen]]>><<pass 30>><<set $sciencelichentemple to 1>><</link>>

	<</if>>
	<<if $daystate isnot "night" and $daystate isnot "dusk" and $exposed is 0>>
		<<link [[Approach the figure|Temple Jordan]]>><</link>>

	<</if>>

	<<if $weekday is 1 and $hour gte 11 and $hour lte 12 and $massattended isnot 1 and $exposed lte 0 and $NPCName[$NPCNameList.indexOf("Jordan")].init is 1>>
		<<if $angel gte 6>>
			<<link [[Attend mass (1:00)|Temple Mass Angel]]>><<purity 10>><<pass 60>><<trauma -18>><<stress -18>><<alcohol 10>><<set $massattended to 1>><</link>> | + Purity<<lltrauma>><<llstress>>

		<<elseif $fallenangel gte 2>>
			<<link [[Attend mass (1:00)|Temple Mass Fallen Angel]]>><<purity 70>><<pass 60>><<trauma 6>><<stress 6>><<pain 6>><<alcohol 10>><<set $massattended to 1>><</link>> | + + + Purity<<trauma>><<gstress>><<gpain>>

		<<elseif $demon gte 6>>
			<<link [[Attend mass (1:00)|Temple Mass Demon]]>><<purity 10>><<pass 60>><<trauma 6>><<stress 6>><<pain 6>><<alcohol 10>><<set $massattended to 1>><</link>> | + Purity<<trauma>><<gstress>><<gpain>>

		<<else>>
			<<link [[Attend mass (1:00)|Temple Mass]]>><<purity 10>><<pass 60>><<alcohol 10>><<set $massattended to 1>><</link>> | + Purity

		<</if>>
	<<elseif $exposed lte 0>>
		<<link [[Pray (1:00)|Temple Pray]]>><<set $eventskip to 1>><<set $phase to 1>><</link>>

	<</if>>
	<<if $exhibitionism gte 55 and $angel lte 0>>
		<<link [[Masturbate (0:20)|Temple Masturbation]]>><<pass 20>><<set $masturbationstart to 1>><</link>><<llpurity>>

	<</if>>

	<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and $exposed lte 0>>
		<<if _sydney_location is "late" and $schoolday is 1>>
			<<if $sydneyScience is 1 and !$sydneySeen.includes("science")>>
			/* Do nothing. Prevents Sydney from being interactable if their science intro is ready. */
			<<else>>

				You see a figure asleep at one of the pews. Upon closer examination, you realise it's Sydney. <<if $hour is 9>><<nnpc_Hes "Sydney">> late for school.<<else>><<nnpc_He "Sydney">> might be late for school if someone doesn't wake <<nnpc_him "Sydney">>.<</if>>

				<<link [["Wake " + $NPCName[$NPCNameList.indexOf("Sydney")].pronouns.him|Temple Sydney Wakeup]]>><<npcincr Sydney love 1>><</link>><<glove>>

			<</if>>
		<<elseif _sydney_location is "temple">>

			<<switch $sydney_templeWork>>
				<<case "pray">>
					You see Sydney sitting on a pew, head bowed in prayer.

					<<link [[Approach Sydney|Temple Sydney]]>><<set $phase to 1>><</link>>
				<<case "garden">>
					You see Sydney carrying garden supplies in and out of the temple.
				<<case "quarters">>
					You see Sydney carrying laundry and cleaning supplies in and out of the quarters.
				<<case "mass">>
					Sydney is likely preparing for mass.
				<<case "sleep">>
					Sydney is staying overnight.
			<</switch>>
		<</if>>
	<</if>>

	<<if $temple_rank isnot undefined and $temple_rank isnot "prospective">>

		<<if $prayer_room_init is 1>>
			<<link [[Garden|Temple Garden]]>><</link>>

			<<link [[Quarters|Temple Quarters]]>><</link>>

			<<link [[Prayer room|Temple Prayer Entrance]]>><</link>>

		<<else>>
			<<link [[Explore temple (0:30)|Temple Prayer Explore]]>><<pass 30>><<set $prayer_room_init to 1>><</link>>
		<</if>>

	<</if>>

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

<</if>>
<<set $eventskip to 0>>

:: Temple Pray
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<if $phase is 1>>
	<<set $phase to 0>>
	You sit on a pew and bow your head. Prayer effectiveness depends on purity.

<<elseif $phase is 2>>
	<<set $phase to 0>>
	You pray for salvation. Your thoughts drift to your hopes for the future, and how things could be better.

	An hour passes, and you feel less burdened.

<<elseif $phase is 3>>
	<<set $phase to 0>>
	<<set _people to random(22, 34)>>
	You open one eye and examine the room. There are others like you, praying in the pews. <<if $NPCName[$NPCNameList.indexOf("Jordan")].pronoun is "m">>Monks<<else>>Nuns<</if>> prowl the aisles, passing furtive messages to one another. There are many more than you'd expect. You count <<number _people>> coming and going.

	<<if $awareness gte 400>>
		You glance up at the shadowed ceiling, at the gaping abyss perched above. Terror shivers up your spine. Your gaze is forced away.
		<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

	<</if>>
<<elseif $phase is 4>>
	<<set $phase to 0>>
	Your thoughts turn to your <<penis>>, and the mocking way people regard it. The torment returns. You pray for a bigger penis.

	An hour passes, and your penis is no bigger.

	<<if $acceptance_penis_tiny gte 1000>>
		Realisation dawns as you lean back. Your <<penis>> is beautiful. Why should you care what other people say about it? You've gained the Acceptance: Tiny Penis trait.

	<</if>>
<<elseif $phase is 5>>
	<<set $phase to 0>>
	Your thoughts turn to your <<penis>>, and the mocking way people regard it. The torment returns. You pray for a bigger penis.

	An hour passes, and your penis is no bigger.

	<<if $acceptance_penis_small gte 1000>>
		Realisation dawns as you lean back. Your <<penis>> is beautiful. Why should you care what other people say about it? You've gained the Acceptance: Small Penis trait.

	<</if>>
<<elseif $phase is 6>>
	<<set $phase to 0>>
	Your thoughts turn to your <<penis>>, and the mocking way people regard it. The torment returns. You pray for a smaller penis.

	An hour passes, and your penis is no smaller.

	<<if $acceptance_penis_big gte 1000>>
		Realisation dawns as you lean back. Your <<penis>> is beautiful. Why should you care what other people say about it? You've gained the Acceptance: Big Penis trait.

	<</if>>
<<elseif $phase is 7>>
	<<set $phase to 0>>
	Your thoughts turn to your flat chest, and the mocking way people regard it. The torment returns. You pray for bigger breasts.

	An hour passes, and your breasts are no bigger.

	<<if $acceptance_breasts_tiny gte 1000>>
		Realisation dawns as you lean back. Your chest is beautiful. Why should you care what other people say about it? You've gained the Acceptance: Tiny Breasts trait.

	<</if>>
<<elseif $phase is 8>>
	<<set $phase to 0>>
	Your thoughts turn to your <<breasts>>, and the mocking way people regard them. The torment returns. You try to remain detached.

	An hour passes, and for a few moments the weight of scrutiny lifts.

	<<if $acceptance_breasts_small gte 1000>>
		Realisation dawns as you lean back. Your <<breasts>> are beautiful. Why should you care what other people say about them? You've gained the Acceptance: Small Breasts trait.

	<</if>>
<<elseif $phase is 9>>
	<<set $phase to 0>>
	Your thoughts turn to your <<breasts>>, and the mocking way people regard them. The torment returns. You pray for smaller breasts.

	An hour passes, and your breasts are no smaller.

	<<if $acceptance_breasts_big gte 1000>>
		Realisation dawns as you lean back. Your <<breasts>> are beautiful. Why should you care what other people say about them? You've gained the Acceptance: Big Breasts trait.

	<</if>>
<</if>>
<<set $danger to random(1, 10000)>><<set $dangerevent to 0>>
<<if $stress gte $stressmax>>
	<<passouttemple>>
<<elseif $danger gte (9900 - $allure) and $eventskip isnot 1>>
	<<if $rng gte 81>>
		<<set _npcChastity to 1>><<generate1>><<person1>> A <<monk>> carrying a donation plate walks by. <<He>> smiles at you.

		<<link [[Look away|Temple Plate Look]]>><</link>>

		<<if $money gte 100>>
			<<link [[Make a small donation (£1)|Temple Plate Donation]]>><<set $phase to 0>><<set $money -= 100>><<trauma -6>><<famegood 1>><</link>><<ltrauma>>

		<</if>>
		<<if $money gte 500>>
			<<link [[Make a reasonable donation (£5)|Temple Plate Donation]]>><<set $phase to 1>><<set $money -= 500>><<trauma -12>><<famegood 2>><</link>><<lltrauma>>

		<</if>>
		<<if $money gte 2500>>
			<<link [[Make a large donation (£25)|Temple Plate Donation]]>><<set $phase to 2>><<set $money -= 2500>><<trauma -18>><<famegood 3>><</link>><<llltrauma>>

		<</if>>
		<<set $skulduggerydifficulty to 100>>
		<<link [[Steal|Temple Plate Steal]]>><<crimeup 5>><</link>><<crime>><<skulduggerydifficulty>>

	<<elseif $rng gte 71>>
		<<generate1>><<generateyv2>>A door at the side of the temple creaks ajar. Through the gap you see a <<person2>><<persons>> head, lying on a table. <<Hes>> wearing a blindfold and gag.

		You hear a solid whack, and the <<person>> jerks and winces. A moment later a stern-looking <<person1>><<monk>> appears at the gap, blocking your view. <<He>> closes the door.

		<<endevent>>
		<<prayoptions>>

	<<elseif $rng gte 61>>
		<<generate1>><<generateyv2>>You hear a <<person1>><<monk>> speak behind you. "We said there'd be consequences for breaking your oaths," <<he>> says, addressing someone behind <<him>>. "Now stand up straight." <<He>> holds a silk cord that trails after <<him>>. It binds the wrists of a younger <<person2>><<monk>>.

		The junior <<monk>> wears a blindfold. <<His>> mouth is gagged by another span of cloth. The elder <<person1>><<monk>> directs <<person2>><<his>> steps by tugging on the cord. "Once you've faced penance." Those last words linger after they pass through one of the side doors, disappearing from view and earshot.

		<<endevent>>
		<<prayoptions>>

	<<elseif $rng gte 41>>
		<<set _npcChastity to 1>><<generatey1>><<person1>>A young <<monk>> walks by, swinging a sweet-smelling thurible in <<his>> hands.

		<<if $worn.upper.type.includes("naked") and $worn.under_upper.type.includes("naked")>>
			<<He>> glances at your bare <<breasts>>, then looks away and blushes.
		<<else>>
			<<He>> glances at you, then looks away and blushes.
		<</if>>

		<<if $player.gender_appearance is "f" or $player.perceived_breastsize gte 3 and (!$worn.upper.type.includes("naked") or !$worn.under_upper.type.includes("naked"))>>
			<<if $exhibitionism gte 55>>
			<<link [[Flash chest|Temple Thurible Flash]]>><</link>><<exhibitionist4>>

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

		<<link [[Chat|Temple Thurible Chat]]>><</link>>

		<<link [[Ignore|Temple Thurible Ignore]]>><</link>>

	<<elseif $rng gte 21>>

	<<prayoptions>>

	<<else>>
		<<set _npcChastity to 1>><<generate1>><<person1>>A <<person>> dressed as a <<monk>> sits close beside you. Very close. <<He>> rests a hand on your thigh. "Don't cause a fuss," <<he>> whispers. "Or I'll say you attacked me. Who will they believe?"

		<<if $angel gte 6>>
		<<link [[Guilt|Temple Guilt]]>><</link>><<angel>>

		<</if>>
		<<link [[Endure|Temple Rape]]>><<set $molestationstart to 1>><</link>>

	<</if>>
<<else>>
	<<prayoptions>>
<</if>>
<<set $eventskip to 0>>

:: Temple Thurible Flash

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You make eye contact with the <<person>>. This time <<he>> doesn't look away. <<pullupall>><<exhibitionism4>>

The thurible clatters against the ground as the <<person>> raises <<his>> hands to <<his>> face. "So careless," says a stern voice. You cover back up. A <<generate2>><<person2>><<monk>> storms around the pews and grasps the <<person1>><<persons>> arm. "Come on," <<person2>><<he>> says. "It's the paddle for you."

The <<person1>>young <<monk>> follows the older <<person2>><<monk>> with eyes downcast.

<<endevent>>

<<prayoptions>>

:: Temple Thurible Chat
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You try to strike up a conversation, but an <<generate2>><<person2>>older <<monk>> intervenes. "Don't distract <<person1>><<him>>," <<he>> snaps. "<<He>> has very important duties."

The <<person1>><<person>> looks away, blushing.

<<endevent>>

<<prayoptions>>

:: Temple Thurible Ignore
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You leave the <<person>> to their duties.

<<endevent>>

<<prayoptions>>

:: Temple Plate Donation
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

<<if $phase is 0>>
	You place a pound coin on the plate. The <<monk>> gives you a small <<if $pronoun is "m">>bow<<else>>curtsy<</if>>.
	<<if $sydneyPresent>>
		Sydney gives you an approving nod.
	<</if>>

	<<endevent>>
	<<if $sydneyPresent>>
		<<unset $sydneyPresent>><<set _sydneyPray to true>>
		<<npc "Sydney">><<person1>>
		<<sydneyOptions>>
	<<else>>
		<<prayoptions>>
	<</if>>

<<elseif $phase is 1>>
	You place a five pound note on the plate. "We rely on such kindnesses," <<he>> says. "Thank you."
	<<if $sydneyPresent>>
		Sydney gives you a gentle smile.
	<</if>>

	<<endevent>>
	<<if $sydneyPresent>>
		<<unset $sydneyPresent>><<set _sydneyPray to true>>
		<<npc "Sydney">><<person1>>
		<<sydneyOptions>>
	<<else>>
		<<prayoptions>>
	<</if>>

<<elseif !$soup_kitchen_known>>
	You place £25 on the plate. The <<monk>> beams at you. "Thank you," <<he>> says. "This will go a long way toward maintaining the building." <<He>> pauses before continuing. "Perhaps you would like to assist us further? We run a soup kitchen in the evening, between <<ampm 18 00>> and <<ampm 21 00>>. We could use another pair of hands."

	"If you're interested, you can find the kitchen in the grey building next door."

	You've discovered the soup kitchen on Wolf Street.

	<<set $soup_kitchen_known to 1>>
	<<if $sydneyPresent>>
		Sydney puts a hand on your shoulder and nods. "That was very generous of you."

	<</if>>
	<<endevent>>
	<<if $sydneyPresent>>
		<<unset $sydneyPresent>><<set _sydneyPray to true>>
		<<npc "Sydney">><<person1>>
		<<sydneyOptions>>
	<<else>>
		<<prayoptions>>
	<</if>>

<<else>>
	You place £25 on the plate. The <<monk>> beams at you. "Thank you," <<he>> says. "This will go a long way toward maintaining the building."

	<<if $sydneyPresent>>
		Sydney puts a hand on your shoulder and nods. "That was very generous of you."

	<</if>>
	<<endevent>>
	<<if $sydneyPresent>>
		<<unset $sydneyPresent>><<set _sydneyPray to true>>
		<<npc "Sydney">><<person1>>
		<<sydneyOptions>>
	<<else>>
		<<prayoptions>>
	<</if>>
<</if>>

:: Temple Plate Steal
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You place your hand on the collection plate, as if placing something. Instead, you sneak some coins into your palm.

<<skulduggerycheck>>
<<if $skulduggerysuccess is 1>>

<<if $sydneyPresent>>Both Sydney and the <<monk>> fail to notice.<<else>>The <<monk>> doesn't notice.<</if>> "Thank you," <<he>> says. <<He>> gives you a small <<if $pronoun is "m">>bow<<else>>curtsy<</if>>.

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

	<</if>>

	<<endevent>>
	<<if $sydneyPresent>>
		<<unset $sydneyPresent>><<set _sydneyPray to true>>
		<<npc "Sydney">><<person1>>
		<<sydneyOptions>>
	<<else>>
		<<prayoptions>>
	<</if>>

<<else>>

The <<monk>> grabs your wrist and tuts. "For shame." <<if $sydneyPresent>>Sydney gives you a horrified glare. <<npcincr Sydney love -5>><<lllove>><</if>>

	<<if $submissive gte 1150>>
	"I'm sorry," you say, eyes downcast. "I know it's wrong, but I need it."
	<<elseif $submissive lte 850>>
	You snatch your hand away. "I need it more than you," you say.
	<<else>>
	"I'm sorry," you say. "But I really need it."
	<</if>>

<<He>> mutters something disparaging about youth as <<he>> walks away.

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

	<</if>>

	<<endevent>>
	<<if $sydneyPresent>>
		<<unset $sydneyPresent>><<set _sydneyPray to true>>
		<<npc "Sydney">><<person1>>
		<<sydneyOptions>>
	<<else>>
		<<prayoptions>>
	<</if>>

<</if>>

:: Temple Plate Look
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You look away from the <<monk>>, and <<he>> continues down the aisle.
<<if $sydneyPresent>>
	Sydney shakes <<nnpc_his "Sydney">> head.
<</if>>

<<endevent>>
<<if $sydneyPresent>>
	<<unset $sydneyPresent>><<set _sydneyPray to true>>
	<<npc "Sydney">><<person1>>
	<<sydneyOptions>>
<<else>>
	<<prayoptions>>
<</if>>

:: Temple Rape

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<maninit>>
	<<enable_rescue>>
	The <<persons>> fondling becomes more aggressive. The tall pews hide <<his>> actions from view.
		<<if $rng gte 81>>
			<<He>> gags you with <<his>> hand and licks your cheek.
			<<neutral 1>><<hand_gag 0 left>>
		<</if>>

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

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

:: Temple Rape Finish

<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	"You're a good <<girl>>," <<he>> whispers. <<He>> shuffles into the aisle and walks away.

	<<tearful>> you sit upright.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Temple Pray]]>><<set $eventskip to 1>><</link>>
<<elseif $enemyhealth lte 0>>
	You shove the <<person>> to the ground.

	<<tearful>> you move across the aisle onto a different pew. <<He>> doesn't follow, maybe because <<he>> notices the strict eyes of an elder <<monk>> watching <<him>>.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Temple Pray]]>><<set $eventskip to 1>><</link>>
<<else>>
	<<set $rescued += 1>>
	An elder <<monk>> arrives to investigate your cry. <<He>> grabs the <<person>> by the ear and pulls <<him>> away.

	<<tearful>> you sit upright.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Temple Pray]]>><<set $eventskip to 1>><</link>>
<</if>>

:: Temple Mass

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>><<sydneySchedule>>
<<npc Jordan>><<person1>>You take a seat at the end of a pew as Jordan reads holy scripture. <<His>> melodic voice calms you.
<<if $sydneySeen is undefined or !$sydneySeen.includes("mass")>>
	<<sydneyMass>>
<<else>>

	You are called to the front for communion. You kneel in front of Jordan as the other <<if $pronoun is "m">>monks<<else>>nuns<</if>> watch. <<He>> pushes a small piece of bread into your mouth, and holds a cup in front of you. You take a sip of the bitter fluid and make way for the next person.
	<<sydneyMass>>

	Jordan finishes with a prayer.

<</if>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Mass Angel

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>><<sydneySchedule>>
<<npc Jordan>><<person1>>You take a seat at the end of a pew as Jordan reads holy scripture. <<His>> melodic voice calms you. You feel serene.
<<if $sydneySeen is undefined or !$sydneySeen.includes("mass")>>
	<<sydneyMass>>
<<else>>

	You are called to the front for communion. You kneel in front of Jordan as the other <<if $pronoun is "m">>monks<<else>>nuns<</if>> watch. <<He>> pushes a small piece of bread into your mouth, and holds a cup in front of you. You take a sip of the sweet fluid and make way for the next person.
	<<sydneyMass>>

	Jordan finishes with a prayer.

<</if>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Mass Fallen Angel

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>><<sydneySchedule>>
<<npc Jordan>><<person1>>You take a seat at the end of a pew as Jordan reads holy scripture. <<His>> words are violent and accusing.
<<if $sydneySeen is undefined or !$sydneySeen.includes("mass")>>
	<<sydneyMass>>
<<else>>

	You are called to the front for communion. You kneel in front of Jordan, but the other <<if $pronoun is "m">>monks<<else>>nuns<</if>> refuse to look at you. The bread slips from Jordan's fingers before reaching your mouth. The wine evaporates before touching your lips. Despite that, you feel vindicated by your effort.
	<<sydneyMass>>

	Jordan finishes with a prayer.

<</if>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Mass Demon

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>><<sydneySchedule>>
<<npc Jordan>><<person1>>You take a seat at the end of a pew as Jordan reads holy scripture. <<His>> words are violent and accusing.
<<if $sydneySeen is undefined or !$sydneySeen.includes("mass")>>
	<<sydneyMass>>
<<else>>

	You are called to the front for communion. You kneel in front of Jordan, but the other <<if $pronoun is "m">>monks<<else>>nuns<</if>> refuse to look at you. The bread tastes like ash. The wine like blood.
	<<sydneyMass>>

	Jordan finishes with a prayer.

<</if>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Jordan

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<if $NPCName[$NPCNameList.indexOf("Jordan")].init isnot 1>>
	<<npc Jordan>><<person1>>
	You approach the figure. As you near, <<he>> stands and turns to face you. <<His>> outfit covers <<him>> from head to toe, only <<his>> youthful face is visible. Locks of hair protrude from the sides of the cowl, betraying a golden shade. <<His>> smile does not reach <<his>> blue eyes.

	"Welcome," <<he>> says. "I don't recall meeting you. I'm <<if $pronoun is "m">>brother<<else>>sister<</if>> Jordan." <<He>> bows <<his>> head slightly. "Are you here for the protective measures we provide for the pure-bodied, in the form of chastity belts? Keep in mind that while the impure may also benefit from this service, they do so at a cost."

	<<He>> continues. "Please don't disturb the other <<if $pronoun is "m">>monks<<else>>nuns<</if>>, for they have taken sacred vows and your presence may distract them."

<<else>>
	<<npc Jordan>><<person1>>
	You approach the figure. <<He>> turns to greet you as you near, revealing Jordan's familiar face. "Welcome back," <<he>> says.

<</if>>
<<if $vaginalchastityparasite is 0 and $analchastityparasite is 0 and $penilechastityparasite is 0>>
<<else>>
	<<He>> looks at your crotch with a concerned look on <<his>> face. "If you have a belt-induced parasite problem, we can help for £20."

<</if>>
<<if $parasite.left_ear.name is "slime" or $parasite.right_ear.name is "slime">>
<<link [[Inquire about ear slime|Temple Slime]]>><</link>>

<</if>>
<<if $wraith and $wraith.seen gte 10>>
<<link [[Inquire about the pale figure|Temple Pale Story]]>><</link>>

<</if>>
<<link [[Inquire about chastity belts|Temple Chastity]]>><</link>>

<<if $vaginalchastityparasite is 0 and $analchastityparasite is 0 and $penilechastityparasite is 0>>
<<elseif $money gte 2000>>
	<<link [[Have parasites removed (£20 0:05)|Temple Parasite]]>><<set $money -= 2000>><<pass 5>><</link>>

<</if>>
<<if $forgiveintro isnot 1 and $fallenangel gte 2>>
	<<link [[Request forgiveness|Temple Forgiveness]]>><</link>><<fallenangel>>

<<elseif $money gte 1000000 and $fallenangel gte 2>>
	<<link [[Buy forgiveness (£10,000 1:00)|Temple Buy Forgiveness]]>><<trauma 6>><<set $money -= 1000000>><</link>><<gtrauma>><<garousal>><<fallenangel>> Removes the fallen angel trait.

<<elseif $fallenangel gte 2>>
	You can't afford forgiveness.

<</if>>
<<if $temple_rank is undefined or $temple_rank is "prospective">>
	<<link [[Inquire about joining the temple|Temple Join]]>><</link>>

<<elseif $temple_fire isnot 1>>
	<<link [[Inquire about the trial of purity|Temple Fire Repeat]]>><</link>>

<</if>>
<<if $temple_harassed is 1>>
	<<link [[Say you were harassed by a member of the church (0:05)|Temple Harass Inform]]>><<pass 5>><</link>>

<<elseif $temple_harassed gte 2>>
	<<link [[Say you were harassed by members of the church (0:05)|Temple Harass Inform]]>><<pass 5>><</link>>

<</if>>
<<link [[Leave|Temple]]>><<endevent>><</link>>

:: Temple Harass Inform
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

<<if $temple_harassed gte 2>>

You tell Jordan you were attacked. <<He>> listens without a word, only speaking once you're finished. "Thank you child," <<he>> says. "You've handled this appropriately. I'll see the offenders are disciplined."

<<He>> doesn't explain the discipline <<he>> means, but <<he>> sounds sincere.
<<ggstress>><<lltrauma>><<stress 12>><<trauma -12>>

<<else>>

You tell Jordan you were attacked. <<He>> listens without a word, only speaking once you're finished. "Thank you child," <<he>> says. "You've handled this appropriately. I'll see the offender is disciplined."

<<He>> doesn't explain the discipline <<he>> means, but <<he>> sounds sincere.
<<gstress>><<ltrauma>><<stress 6>><<trauma -6>>

<</if>>

<<set $temple_harassed to 0>>
<<endevent>>

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

:: Temple Join
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

<<if $temple_rank is "prospective">>
	<<if $temple_fire is 1>>
		"I'm afraid you can only attempt a trial of purity once per week," <<he>> says.
	<<else>>
		"I'll prepare the trial when you're ready," <<he>> says.
	<</if>>
	<<if $templetest isnot "failed">>
		"Unless you'd prefer to prove your purity in a different way?"
	<</if>>

	<<if $temple_fire isnot 1>>
	<<link [[Trial by fire (1:00)|Temple Join Fire]]>><<set $phase to 0>><<pass 60>><<set $temple_fire to 1>><</link>>

	<</if>>
	<<if $templetest isnot "failed">>
		<<link [[Virginity test|Temple Test]]>><<set $phase to 1>><</link>>

	<</if>>
	<<link [[Leave|Temple]]>><<endevent>><</link>>

<<else>>
	<<if $templetest isnot "failed">>
		<<if $famegood gte 0>>
			Jordan observes you, unblinking. "Admission to the <<if $player.gender_appearance is "m">>brotherhood<<else>>sisterhood<</if>> is restricted to virgins, and those who have made amends via the trial of purity."

			<<link [[Virginity test|Temple Test]]>><<set $phase to 1>><</link>>

			<<link [[Ask about trial|Temple Trial Intro]]>><</link>>

			<<link [[Leave|Temple]]>><<endevent>><</link>>

		<<else>>
			Jordan observes you, unblinking. "Admission to the <<if $player.gender_appearance is "m">>brotherhood<<else>>sisterhood<</if>> is restricted to virgins, and those who have made amends via the trial of purity."

			"You also need a modest reputation for kindness. We do important work, and it requires people trust us. If you pray here you'll often see someone going round with a collection plate. Giving to charity would be a good way to prove yourself."

			"Return when you're better known and we'll discuss the next step. Thank you for your interest." <<He>> turns back to the altar.

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

		<</if>>
	<<else>>
		"I'm sorry child," Jordan says. "Admission to the <<if $player.gender_appearance is "m">>brotherhood<<else>>sisterhood<</if>> is restricted to virgins, and those who have made amends via the trial of purity."

			<<if $famegood gte 0>>
				<<link [[Ask about trial|Temple Trial Intro]]>><</link>>

				<<link [[Leave|Temple]]>><<endevent>><</link>>

			<<else>>
				"You also need a modest reputation for kindness. We do important work, and it requires people trust us. If you pray here you'll often see someone going round with a collection plate. Giving to charity would be a good way to prove yourself."

				"Return when you're better known and we'll discuss the next step. Thank you for your interest." <<He>> turns back to the altar.

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

			<</if>>

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

:: Temple Chastity

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<if !$worn.genitals.type.includes("chastity")>>
	"We fit chastity belts to any virgin who should want one. You will need to undergo a brief examination beforehand, that we might verify your purity. If you are not a virgin, then we can provide you with a belt for £80. If you already have a chastity belt, an anal shield can be fitted for £50. Even virgins must pay for the shield however."

	"Our belts are very durable, designed to protect from even the most vicious of assailants. We don't use keys; once on, only specialised equipment can remove them. Be warned however, those that cannot sate their lust through obvious means may be driven to other violent urges. Also keep in mind that they don't conceal much from view, nor do they protect well against finer assaults, by fingers and the like. They are designed to protect chastity as written in the holy texts."

<<else>>
	<<if $player.virginity.penile is true and $player.virginity.vaginal is true>>
		"It is written that we should never remove the chastity belt from a virgin. However, if you really want it removed, we will overlook that rule in return for an £80 donation."

	<<else>>
		"We can remove your belt if you like. Once it's off however, you'll need to pay again to have another put on."

	<</if>>
	<<if $worn.genitals.anal_shield is 0>>
		"Or would you prefer to have even more protection? We can fit a shield that will protect your rear for £50."

	<</if>>
<</if>>
<<if !$worn.genitals.type.includes("chastity")>>
	<<if $templetest isnot "failed">>
		<<link [[Virginity test (0:05)|Temple Test]]>><<set $phase to 0>><<pass 5>><</link>>

	<</if>>
	<<if $money gte 8000>>
		<<link [[Have chastity belt fitted (£80 0:05)|Temple Chastity Fitting]]>><<pass 5>><<set $money -= 8000>><</link>>

	<</if>>
<</if>>
<<if $worn.genitals.type.includes("chastity") and $worn.genitals.anal_shield is 0>>
	<<if $money gte 5000>>
		<<link [[Have shield fitted (£50 0:05)|Temple Chastity Shield]]>><<pass 5>><<set $money -= 5000>><</link>>

	<<else>>
		You can't afford to have a shield fitted.

	<</if>>
<<elseif $worn.genitals.type.includes("chastity") and $worn.genitals.anal_shield is null>>
	You're unable to get a shield fitted with your $worn.genitals.name.

<</if>>
<<if $worn.genitals.type.includes("chastity") and $worn.genitals.anal_shield is 1>>
	<<link [[Have shield removed (0:05)|Temple Chastity Shield Removal]]>><<pass 5>><</link>>

<</if>>
<<if $worn.genitals.type.includes("chastity") and $player.virginity.penile is true and $player.virginity.vaginal is true>>
	<<if $money gte 8000>>
		<<link [[Have belt removed (£80 0:05)|Temple Chastity Removal]]>><<set $money -= 8000>><<pass 5>><</link>>

	<<else>>
	<</if>>
<<elseif $worn.genitals.type.includes("chastity")>>
	<<link [[Have belt removed (0:05)|Temple Chastity Removal]]>><<pass 5>><</link>>

<</if>>
<<link [[Leave|Temple]]>><<endevent>><</link>>

:: Temple Test

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
Jordan gives you a solemn nod. "Please come with me."

<<He>> leads you out of the main hall and into a small room. "There's a ritual to this, nothing complicated. I'll prepare while you undress."

You remove your clothing, wishing it wasn't quite so cold in here. Jordan rubs white powder between <<his>> hands, then kneels in front of you.
<<if ($phase is 1 or $phase is 2) and $worn.genitals.type.includes("chastity") and $worn.genitals.origin is "temple">>
<<He>> holds a strange rod against your $worn.genitals.name, and the device clatters to the floor.
<</if>>
<<if $player.penisExist>>
	<<He>> holds your penis between both forefingers, and stares at it intently, gently manipulating the length. You try to distract yourself, but you soon feel it hardening under <<his>> scrutiny.
<</if>>
<<if $player.vaginaExist>>
	<<He>> places <<his>> thumbs against your pussy and gently opens your
	<<if setup.bodyliquid.combined("vagina") gte 2>>
		<<if setup.bodyliquid.combined("vagina") gte 6>>
			lips. Cum bursts out, spraying across Jordan's face and running in streams down both <<his>> arms.
			<<He>> falls back in shock, hurriedly wiping cum from <<his>> eyes and mouth.

			<<He>> looks at you.
		<<elseif setup.bodyliquid.combined("vagina") gte 4>>
			lips. A thick stream of lewd fluids gushes out. Some runs down Jordan's arm and quickly disappears up <<his>> sleeve.
			<<He>> jumps back with a yelp, shaking <<his>> arms in alarm.

		<<else>>
			lips. Cum runs out in a thin stream down your legs. Jordan withdraws <<his>> hands in surprise.

		<</if>>
		"That's a bad sign," <<he>> mutters.

	<<else>>
		lips, giving <<him>> a clear view inside.

	<</if>>
	You don't want to admit it, but your body responds lewdly to being examined like this.
<</if>>

The fondling continues for a few minutes. Finally, <<he>> finishes <<his>> work. <<He>> stands back and looks at you.
<<arousal 1000>>
<<if $phase is 2>>
	<<if $player.virginity.penile is true and $player.virginity.vaginal is true or $player.virginity.temple is true>>

		"You are unblemished, and may it stay that way."
		<<if $worn.genitals.type.includes("chastity") and $worn.genitals.origin is "temple">>
			With one anxious motion, <<he>> returns your $worn.genitals.name to its place, guarding your crotch.
		<</if>>

		<<He>> turns away to let you dress.
			<<if $grace gte 90>>
				Without looking, <<he>> places an envelope on the shelf beside you. "Your monthly allowance. Your behaviour has been remarkable. You're a credit to our faith, and every one of us could learn from you. Thank you."

				You open the envelope. There's £<<print ($grace * 40)>> inside.
				<<set $money += ($grace * 4000)>>
			<<elseif $grace gte 50>>
				Without looking, <<he>> places an envelope on the shelf beside you. "Your monthly allowance. You've been an upstanding member of our faith, and deserve every penny."

				You open the envelope. There's £<<print ($grace * 40)>> inside.
				<<set $money += ($grace * 4000)>>
			<<elseif $grace gte 1>>
				Without looking, <<he>> places an envelope on the shelf beside you. "Your monthly allowance. You've been an upstanding member of our faith. There is room for improvement, but such is true of us all. We should strive to be better each day."

				You open the envelope. There's £<<print ($grace * 40)>> inside.
				<<set $money += ($grace * 4000)>>
			<<else>>
				"Though pure, your behaviour hasn't been appropriate for a member of our faith," <<he>> says. "We know you can do better. As such, we've decided to withhold your allowance this month. I hope I can pay you next time."

			<</if>>

		<<clotheson>>
		<<endevent>>
		<<link [[Next|Temple]]>><</link>>
	<<else>>
		<<set $templetest to "failed">>
		"I'm sorry, but you are spoiled." <<His>> voice shakes slightly, you're not sure if you imagined it. "You must be purified. I will summon the specialists. Please cooperate with them." <<He>> produces a small bell from <<his>> robes, and rings.

		<<endevent>>
		<<link [[Next|Temple Arcade Intro]]>><</link>>

	<</if>>
<<elseif $phase is 1>>
	<<if $player.virginity.penile is true and $player.virginity.vaginal is true>>
		<<inittemple>>
		"You are unblemished, and may it stay that way. You are now an initiate of the temple. Welcome, <<if $player.gender_appearance is "m">>brother.<<else>>sister.<</if>>"
		<<if $worn.genitals.type.includes("chastity") and $worn.genitals.origin is "temple">>
			With one anxious motion, <<he>> returns your $worn.genitals.name to its place, guarding your crotch.
		<</if>>

		<<He>> turns away to let you dress. "Initiates are tasked with menial work around the temple proper. Cleaning, gardening, and servicing your elders. In return you have full access to the temple grounds, with the exception of areas behind doors painted with a red cross."

		"We have some other rules. No stealing. No violence. No sex, everyone has their chastity checked monthly. No refusing your elders. If someone behaves in an improper manner towards you, tolerate it until you can inform me. Dealing with that is one of my responsibilities."

		"I'll let the others know you've joined us," <<he>> continues, smiling. "I'm pleased to have you."

		<<clotheson>>
		<<endevent>>
		<<link [[Next|Temple]]>><</link>>
	<<else>>
		<<set $templetest to "failed">>
		"I'm sorry, but you are spoiled." <<His>> voice shakes slightly, you're not sure if you imagined it. "You can still become an initiate, but you must pass the trial of purity." <<He>> walks out of the room, but stops in the doorway. "I'm sorry you were taken while still so young." <<He>> disappears around the corner.

		<<link [[Next|Temple]]>><<endevent>><</link>>
	<</if>>

<<else>>
	<<if $player.virginity.penile is true and $player.virginity.vaginal is true>>
		"You are unblemished, and may it stay that way. Please be patient, I'll return shortly with your belt." <<He>> leaves you briefly, and returns with the
		<<if $player.gender isnot "m">>
			metallic device. Without a word <<he>> kneels once more and wraps it round your waist. You hear a loud click, and Jordan steps back to admire <<his>> handiwork.

			You look down to examine it yourself. It doesn't feel as tight or uncomfortable as you expected, you wonder if it's on right. You try to slip your fingers beneath it, but have no success. You push down on the belt with both hands, but it doesn't give at all.

			<<genitalswear 1>>
			<<set $worn.genitals.origin to "temple">>

			"Everything is satisfactory," <<he>> says. "If there are any problems, come see me." <<He>> leaves you alone in the room.

			<<clotheson>>
			<<link [[Next|Temple]]>><<endevent>><</link>>
		<<else>>
			metallic belt and cage.

			"Thanks to your <<genitals 2>>, you have two options. You could wear this cage, secured at the base of your <<genitals 2>>. However, it would only protect your <<genitals 2>>, leaving you vulnerable to sodomy."

			After giving you a chance to examine it, <<he>> continues, "Your other option would be this chastity belt. It would be able to protect your <<genitals 2>>, and can be fitted with a shield to protect you from sodomy. It's been designed to both prevent rubbing and to hold a flaccid penis in place. This is the best protection, but others may mistake you for a girl."

			<<link [[Ask for the chastity cage|Temple Male Chastity Fitting]]>><<genitalswear 2>><</link>>

			<<link [[Ask for the chastity belt|Temple Male Chastity Fitting]]>><<genitalswear 1>><</link>>
		<</if>>
	<<else>>
		<<set $templetest to "failed">>
		"I'm sorry, but you are spoiled." <<His>> voice shakes slightly, you're not sure if you imagined it. "We can still fit you with a belt, but you'll need to pay for it." <<He>> walks out of the room, but stops in the doorway. "I'm sorry you were taken while still so young." <<He>> disappears around the corner.

		<<link [[Next|Temple]]>><<endevent>><</link>>
	<</if>>
<</if>>

:: Temple Male Chastity Fitting

<<set $outside to 0>><<set $location to "town">><<effects>>
<<set $worn.genitals.origin to "temple">>
<<He>> kneels once more and secures it on you. You hear a loud click, and Jordan steps back to admire <<his>> handiwork.

You look down to examine it yourself. It doesn't feel as tight or uncomfortable as you expected, you wonder if it's on right. You try to slip your fingers beneath the cage, but have no success. You push down on the $worn.genitals.name with both hands, but it doesn't give at all.

"Everything is satisfactory," <<he>> says. "If there are any problems, come see me." <<He>> leaves you alone in the room.

<<clotheson>>
<<link [[Next|Temple]]>><<endevent>><</link>>

:: Temple Chastity Fitting

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<He>> leads you out of the main hall and into a small room. "Please undress, I'll be back shortly." You remove your clothing, wishing the room were warmer. This is embarrassing, but it'll be worth it. <<He>> soon returns, carrying a metallic belt and cage.

<<if $player.gender isnot "m">>
	Without a word <<he>> places the cage to the side followed by wrapping the chastity belt around your waist. You hear a loud click, and Jordan steps back to admire <<his>> handiwork.

	You look down to examine it yourself. It doesn't feel as tight or uncomfortable as you expected, you wonder if it's on right. You try to slip your fingers beneath it, but have no success. You push down on the belt with both hands, but it doesn't give at all.

	<<genitalswear 1>>
	"Everything is satisfactory," <<he>> says. "If there are any problems, come see me." <<He>> leaves you alone in the room.

	<<set $worn.genitals.origin to "temple">>
	<<clotheson>>
	<<link [[Next|Temple]]>><<endevent>><</link>>
<<else>>
	<<He>> asks, "Thanks to your <<genitals 2>>, you have two options. You could wear this cage and it would provide protection for just your <<genitals 2>> and be secured at the base of your penis,however, it will be unable to protect you from sodomy."

	After giving you a chance to examine it, <<he>> continues, "Your other option would be this chastity belt, it will be able to protect your <<genitals 2>> on top of it being able to fit a shield to protect you from sodomy. It's been designed to both prevent rubbing and to hold a flaccid penis gently in place. As much as this is the best way to protect you, others may mistake you for a girl."

	<<link [[Ask for the chastity cage|Temple Male Chastity Fitting]]>><<genitalswear 2>><</link>>

	<<link [[Ask for the chastity belt|Temple Male Chastity Fitting]]>><<genitalswear 1>><</link>>
<</if>>

:: Temple Chastity Shield

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<He>> leads you out of the main hall and into a small room. "I'll need to access the belt," <<he>> says. You ignore your apprehension and remove your <<bottoms>>. <<He>> kneels behind you and starts tinkering with the belt. It rubs against your <<genitals>> as <<he>> works, but you manage to stay calm.

<<He>> stands up. "All done, you are now protected from sodomy. If there are any problems, come see me." <<He>> leaves you alone in the room.

<<set $worn.genitals.anal_shield to 1>>
<<set $worn.genitals.anus_exposed to 0>>
<<set $worn.genitals.anus_exposed_base to 0>>
<<clotheson>>
<<link [[Next|Temple]]>><<endevent>><</link>>

:: Temple Chastity Shield Removal

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<He>> leads you out of the main hall and into a small room. "I'll need to access the belt," <<he>> says. You ignore your apprehension and remove your <<bottoms>>. <<He>> kneels behind you and starts tinkering with the belt. It rubs against your <<genitals>> as <<he>> works, but you manage to stay calm.

<<He>> stands up. "All done, you are no longer protected from sodomy, be careful. If there are any problems, come see me." <<He>> leaves you alone in the room.

<<set $worn.genitals.anal_shield to 0>>
<<set $worn.genitals.anus_exposed to 1>>
<<set $worn.genitals.anus_exposed_base to 1>>
<<if $analchastityparasite isnot 0>>
	With the shield gone, the $analchastityparasite fall out of your anus.

	<<set $analchastityparasite to 0>>
<</if>>
<<clotheson>>
<<link [[Next|Temple]]>><<endevent>><</link>>

:: Temple Chastity Removal

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
<<He>> leads you out of the main hall and into a small room. "Please undress," <<he>> says. You ignore your apprehension and remove your clothing.

<<if $worn.genitals.origin is "temple">>
	<<He>> produces a sinister bladed instrument from <<his>> robes and kneels in front of you.
	Seconds later, the belt lies ruined on the floor and your <<genitals_are 1>> once again exposed and vulnerable.

	<<He>> stands up. "All done. If you would like a replacement you know where to find me." <<He>> leaves you alone in the room.

	<<set $worn.genitals.type.push("broken")>>
	<<genitalsruined>>
	<<if $vaginalchastityparasite isnot 0>>
		With the chastity belt gone, the $vaginalchastityparasite fall out of your vagina.

		<<set $vaginalchastityparasite to 0>>
	<</if>>
	<<if $penilechastityparasite isnot 0>>
		With the chastity belt gone, the $penilechastityparasite fall off of your penis.

		<<set $penilechastityparasite to 0>>
	<</if>>
	<<if $analchastityparasite isnot 0>>
		With the chastity belt gone, the $analchastityparasite fall out of your anus.

		<<set $analchastityparasite to 0>>
	<</if>>
	<<if $worn.genitals.anal_shield is 1>><<set $worn.genitals.anal_shield to 0>><</if>>
	<<clotheson>>
<<else>>

	<<He>> looks at you with a confused expression, "I'm sorry, but I can't remove your $worn.genitals.name, we only have keys to belts or cages that you get directly from here."

<</if>>

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

:: Temple Parasite

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
You explain your parasite problem. <<He>> nods and beckons you follow <<him>>. You enter a small room away from prying eyes and then <<he>> speaks. "Please undress, I need to access the belt."

You <<nervously>> remove your <<bottoms>> while Jordan watches. Kneeling, <<he>> presses a small device against the belt and activates it, sending a jolt through your body, sending you sprawling to the ground.

<<arousal 4000>>
<<if $arousal gte $arousalmax>>
	<<orgasm>> <<He>> seems unfazed by your climax.

<</if>>
<<if $vaginalchastityparasite isnot 0>>
	The $vaginalchastityparasite squirm their way out of your pussy and fall to the floor.

<</if>>
<<if $penilechastityparasite isnot 0>>
	The $penilechastityparasite release their hold of your penis and fall to the floor.

<</if>>
<<if $analchastityparasite isnot 0>>
	The $analchastityparasite squirm their way out of your butt and fall to the floor.

<</if>>
"Please return if you have further problems," <<he>> says, leaving you to collect yourself.

<<set $vaginalchastityparasite to 0>><<set $analchastityparasite to 0>><<set $penilechastityparasite to 0>>
<<clotheson>>
<<link [[Next|Temple]]>><<endevent>><</link>>

:: Temple Forgiveness

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
You fight through the shame and speak.
<<if $submissive gte 1150>>
	"I'm dirty," you say, dropping to your knees. "Please forgive me."
<<elseif $submissive lte 850>>
	"I've been soiled," you say, trying to steady the tremble in your voice. "I need your forgiveness."
<<else>>
	"I'm dirty," you say, voice trembling. "Please forgive me."
<</if>>

<<He>> considers for a moment. "Of course my child," <<he>> says. "We only require a small donation of £10,000 and everything will be forgiven."

<<if $submissive gte 1150>>
	You nod. That's expensive, but you don't think there's any other way.
<<elseif $submissive lte 850>>
	You repress the urge to spit in their holy water. That's a lot of money, but you can't think of any other way.
<<else>>
	That's a lot of money, but you can't think of any other way.
<</if>>

<<set $forgiveintro to 1>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Buy Forgiveness

<<location "forest">><<effects>>
<<if $pronoun is "m">>
	<<generatem2>>
	<<generatem3>>
	<<generatem4>>
	<<generatem5>>
	<<generatem6>>
<<else>>
	<<generatef2>>
	<<generatef3>>
	<<generatef4>>
	<<generatef5>>
	<<generatef6>>
<</if>>
<<pass 1 hour>>
"Wait here child," <<he>> says. "I will gather the others." <<He>> disappears through an archway. When <<he>> returns <<he>> is followed by five robed figures. They surround you as Jordan kneels in front of you, arms outstretched and holding a length of cloth. One of the <<monks>> reaches over your shoulders and takes the fabric. <<He>> wraps it around your head, blinding you.

"Now we must travel to the altar. Don't worry, we'll be with you at all times."

They guide you outside. The soft ground and muffled sound of traffic suggest they're taking you into the forest.

You walk for some time. They must be careful with the route they're leading you through, as you have no difficulty and your unease at walking while blind soon fades. Occasionally the group stops and you bump into whoever's in front of you. You hear someone move a branch out of way before continuing.

The group stops once more, but this time someone rests their hand on your arm. You hear Jordan's voice. "We're here." <<He>> lifts your hand and places it on something cold and hard. "This is an altar. You'll need to lie on top of it. First though, your clothes."

<<link [[Next|Temple Buy Forgiveness 2]]>><</link>>

:: Temple Buy Forgiveness 2

<<location "forest">><<effects>>
<<strip>>
The <<monks>> grasp your clothing and try to remove it. Between your blindness and the sheer number of hands pulling and tugging there's nothing you can do to stop them. They soon have you stripped and bare. <<covered>><<gtrauma>>

<<if $worn.genitals.type.includes("chastity")>>
	Someone grabs hold of your $worn.genitals.name and you hear a grinding sound. A cool breeze caresses your <<genitals 1>> directly. "We've opened your belt for the ceremony. We'll protect you again afterwards."

<</if>>
<<if $submissive gte 1150>>
	"P-please don't hurt me," you say.
<<elseif $submissive lte 850>>
	"I thought you people were better than this," you say.
<<else>>
	"I'm cold," you say.
<</if>>

"Hush child," Jordan says. "Lie atop the altar. This won't take long." You've come this far. You lie on the altar. "Good. Spread your arms and legs please. Yes like that." Something wraps around each of your limbs, tensing them and holding them in place. You can't move an inch.

"Okay," Jordan says again. <<He>> sounds breathless. "I'm sorry, I've not done this before."

"You'll do fine," one of the <<monks>> says. <<He>> sounds older. "We're all here to help you."

<<if (setup.bodyliquid.combined("vaginaoutside") + setup.bodyliquid.combined("penis")) gte 1>>
	"Wait," <<he>> says. "There's something sticky here. Is that..?"

	"It's nothing." One of the <<monks>> says quickly. "Just sweat. Let me clean this one."

	You feel a wet cloth roughly wipe the lewd fluids from your <<genitals 1>>.

	<<set $player.bodyliquid.vaginaoutside.semen to 0>><<set $player.bodyliquid.vaginaoutside.goo to 0>><<set $player.bodyliquid.penis.semen to 0>><<set $player.bodyliquid.penis.goo to 0>>
	"Okay," Jordan says. "Thank you. Okay, here I go."
<<else>>
	"Thank you. Okay. Here I go."
<</if>>
You feel a warm breeze on your <<genitals 1>>, then something warm and wet touches it.

<<link [[Next|Temple Buy Forgiveness 3]]>><</link>>

:: Temple Buy Forgiveness 3

<<location "forest">><<effects>>
"That's it," the older <<monk>> says.
<<if $player.penisExist>>
	"Just keep working it with your tongue. Be careful not to take it into your mouth."
<<else>>
	"Just keep working it with your tongue. Be careful not to penetrate."
<</if>>

<<if setup.bodyliquid.combined("vagina") gte 2>>
	<<if $player.bodyliquid.vagina.semen gte 1>>
		<<set _fluid to "cum">>
	<<else>>
		<<set _fluid to "tentacle goo">>
	<</if>>
	As your body starts to react, _fluid
	<<if setup.bodyliquid.combined("vagina") gte 4>>
		starts to gush from your <<genitals 1>>.

		Jordan unwittingly laps it up and audibly gags. <<He>> starts coughing. "What was..?"

		"Don't stop," the older <<monk>> instructs.

		As Jordan's tongue resumes, the older <<monk>> warns. "Keep going, no matter what. This is a critical phase."

		Jordan obediently continues, reluctantly lapping up all the lewd fluids still flowing from your <<genitals 1>>.

	<<else>>
		start to dribble out of your <<genitals>>.

		Jordan doesn't notice and unwittingly laps up all the _fluid from your <<genitals 1>>.

	<</if>>
	<<set $player.bodyliquid.vagina.semen to 0>><<set $player.bodyliquid.vagina.goo to 0>>
<</if>>
You feel Jordan's tongue lick and twist against your <<genitals 1>>. You can't predict where or how rough <<his>> next lick will be. The anticipation is almost as maddening as the physical sensation itself.

<<arousal 10000>>
<<orgasm>>
"I did it!" Jordan shouts, excited. "Did it work?"

"Not yet," the older <<monk>> responds. "Keep it up."

Jordan gets back to work, not even giving your spasms a chance to subside. "This is taking too long," says a younger voice to your right. "I'm helping." You feel a second tongue, this time on your <<nipple>>. The surprise makes you jerk away, but your bonds prevent you from moving.

"Good idea," the older <<monk>> says. "You. Help <<him>> out." Another tongue appears on your other nipple. Together, the teasing and licking is too much.

<<arousal 10000>>
<<orgasm>>
"It's still not working," Jordan says, disheartened.

"Don't be silly," the older <<monk>> responds. "We just need a little something extra. Move out the way and lift up <<pher>> legs." Jordan practically climbs on top of you. Your legs are released and lifted, then pressed against your shoulders where they are tied in place once more. You couldn't be more exposed.

"This might be a bit awkward. No not there! That's it. Now we can both reach <<phim>>. You two, you need to help too. If this doesn't remove the taint, nothing will." They recommence their licking. This time though, two tongues assault your <<genitals 1>>.
<<if $player.penisExist and $player.ballsExist is true>>
	The second ranges further down, licking your testes. <<He>> even takes one into <<his>> mouth.
<</if>>

<<link [[Next|Temple Buy Forgiveness 4]]>><</link>>

:: Temple Buy Forgiveness 4

<<location "forest">><<effects>>
The final two <<monks>> don't seem confident, but they comply and start licking your arms. "Not like that. Lick <<pher>> face."

And so you lie there, naked and assailed by tongues on your <<genitals 1>>, <<breasts>>, and face, shaking against the bonds holding you in place. One of the <<monks>> licking your face becomes more confident and starts licking your lips. You feel your mouth open of its own accord, and <<he>> invades you with <<his>> tongue, pressing your lips together in a kiss. <<takeKissVirginity `($pronoun is "m"?"monk":"nun")`>>

<<arousal 10000>>
<<orgasm>>
<<arousal 10000>>
<<orgasm>>
<<arousal 10000>>
<<orgasm>>
"That's it!" You hear a voice shout as your body convulses. "We've done it."

<<arousal 10000>>
<<orgasm>>
<<arousal 10000>>
<<orgasm>>
"Isn't it supposed to stop by now?"

<<arousal 10000>>
<<orgasm>>
<<arousal 10000>>
<<orgasm>>
You feel a light beam down on you, and a great weight is lifted. "Someone untie <<phim>>, quickly."

You pass out.

<<link [[Next|Temple Buy Forgiveness 5]]>><<clotheson>><</link>>

:: Temple Buy Forgiveness 5

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>
You awaken back at the temple. You're lying on a small bed in a little room. Jordan sits in the corner, and blushes when <<he>> sees you awake. "The ceremony went as planned. You are forgiven." <<He>> avoids making eye contact. "Thank you for your contribution. Please though, do not tell anyone about what occurred during the ceremony. We like to keep our secrets." <<He>> bows and leaves you alone.

<<set $fallenangel to 1>><<set $specialTransform to 0>>
<<set $transformationParts.fallenAngel.halo to "disabled">>
<<set $transformationParts.fallenAngel.wings to "disabled">>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Guilt

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You stare at the <<person>>. <<His>> smile falters. "They'll believe me," you say. "Look."

<<He>> follows your gaze up to the statues of saints and angels lining the walls. <<He>> tries to speak, but <<his>> voice catches in <<his>> throat. <<He>> stumbles as <<he>> leaves the pew, and collapses before the altar at the front of the hall.

<<endevent>>
<<prayoptions>>

:: Temple Slime

<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You describe the problems you've had, and how they started when a slime entered your ear. Jordan listens with a blank look.

<<Hes>> silent for a moment. "There are stories," <<he>> begins. "Of old creatures like you describe. One of our artifacts details how to remove them. There was an altar at the old temple. The afflicted would lie on it during a blood moon."

"It doesn't matter though," <<he>> adds. "The old temple sank beneath the lake centuries ago. Students sometimes go out there after school. Entering the forest alone is a bad idea, and the ruin is... tainted."

<<endevent>>

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

:: Temple Pale Story
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

You tell Jordan about the ghostly figure <<if $wraith.state is "haunt">>that's been tormenting you<<else>>that you've encountered<</if>>. You describe what you've seen it do, and where you've seen it. Jordan winces at a few of the details.

<<He>> stays silent for a long time. <<He>> slowly turns to you, and gives a deep sigh. "It's not a pleasant story. It predates the founding of our order, but was instrumental in it." Jordan gestures for you to walk with <<him>>. You follow as <<he>> continues.

"Centuries ago, there was a monastic schism. A disagreement between beliefs. One group eventually went on to found the temple we stand in now. The other dissolved." Jordan stares at the angels lining the walls. "We know nothing of their names, and precious little about what really happened. There are only stories." <<He>> continues walking.

"There was another temple in the forest, not too far from here. It was supposedly the site for a terrible, heretical ritual that was countered by my predescesors. What the intent was, we may never know. Whatever happened, it had dire consequences. Some say it was this, and not the ravages of time, that sunk the old temple into the lake." Jordan keeps walking, brushing <<his>> hands against an angelic statue. The angel has six arms, and many wings. You feel oddly calm.

<<link [[Next|Temple Pale Story 2]]>><</link>>

:: Temple Pale Story 2
<<set $outside to 0>><<set $location to "temple">><<temple_effects>><<effects>>

"What we do know, is that a high-ranking member of the order disappeared around this time. Some say they defected, others say they were kidnapped and sacrificed for that ritual. Oddly, they appear very rarely in any records. Once again, we know very little." You catch a hint of sadness in <<his>> voice.

"There's one constant through all their appearances. They always wore a precious piece of jewelry, believed to have divine significance. It was a necklace,
<<if $wraith.state is "haunt">>
	carved from ivory, and set with large sapphires."
<<else>>
	carved from ivory, and set with large sapphires."
<</if>>

"Throughout history, there are accounts of sightings. A beautiful, pale man or woman under the harvest moon, clutching that necklace. It's something of a legend now, I suppose. Some say it's a shared hallucination of some kind." Jordan turns to you, looking very serious.

"If you choose to investigate, please be careful. Hallucinations are real enough to those that see them." Jordan turns away, and leaves.

<<endevent>>

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

:: Temple Trial Intro
<<effects>>

"The trial of purity is a trial by fire," Jordan continues. "It's not dangerous, despite the name. It's an exercise of will. Let me know when you're ready, and I'll make preparations."
<<set $temple_rank to "prospective">>

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

:: Temple Fire Repeat
<<effects>>

"You can attempt the trial of purity once a week," Jordan says. "Some brothers and sisters find it helps focus their will."

<<link [[Attempt trial (1:00)|Temple Join Fire]]>><<set $temple_fire to 1>><<pass 60>><<set $phase to 1>><</link>>

<<link [[Leave|Temple]]>><<endevent>><</link>>

:: Temple Join Fire
<<effects>><<sydneySchedule>>
<<generate2>><<person2>>
You follow Jordan into the garden. You follow past beds of flowers, and between hedge rows, until you reach a wide and barren space. A jovial <<monk>> agitates a coal fire. Jordan whispers in <<his>> ear, and the <<monk>> smiles.

The <<monk>> produces a bell from <<his>> habit. <<He>> rings it twice. Three initiates arrive from different directions.<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple">> Sydney is one of them, and <<nnpc_he "Sydney">> smiles and waves at you.<</if>> They discard their gardening gloves and grab shovels, before piling more coal onto the fire.

Jordan watches, impassive, as the initiates work. The <<monk>> pokes a pair of bellows into the fire, and pumps. The flames spread.

<<link [[Next|Temple Firewalk]]>><</link>>

:: Temple Firewalk
<<effects>>

The <<monk>> and initiates watch as the coals heat. They soon glow. The initiates lift their shovels, and push the topmost coals onto the earth. They don't stop there. They continue to spread the coals. They soon have the fire spread into a thin rectangle, its foot beside yours.

<<if !$worn.feet.type.includes("naked") or !$worn.legs.type.includes("naked")>>
"Remove your footwear," the <<person2>><<monk>> says. You do so. <<feetstrip>><<legsstrip>>

<</if>>

<<person1>>"The trial of purity requires you walk across the bed before you," Jordan says. "At least one foot must touch them at all times. Don't be afraid. The fire won't hurt you, but your mind might deceive you into thinking otherwise."

<<if $phase is 0>>
"You can try again if you fail," <<he>> continues. "But only once a week."

<</if>>

<<link [[Walk|Temple Firewalk 2]]>><</link>>

<<if $phase is 0>>
<<link [[Refuse|Temple Firewalk Refuse]]>><</link>>

<</if>>

:: Temple Firewalk Refuse
<<effects>>

The <<person2>><<person>> looks disappointed as <<he>> smothers the coals with a bucket of sand.

"When you're ready," Jordan says. "You may try again."

<<He>> leads you back into the main hall of the temple.

<<clotheson>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Firewalk 2
<<effects>>

Smoke rises from the coals. You take a deep breath, and step on them. It's a little warm, but doesn't hurt. Maybe this won't be so bad.

<<link [[Continue|Temple Firewalk 3]]>><</link>><<gpain>>

<<link [[Jump off|Temple Firewalk Jump]]>><</link>>

:: Temple Firewalk Jump
<<effects>><<sydneySchedule>>

<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple">>
	Sydney runs to your side to support you. <<nnpc_He "Sydney">> runs right across the hot coals, entirely unaffected.

<</if>>
The cool earth feels wonderful on your feet. You examine your soles. They're covered in soot, but don't look burnt at all.

"The flames don't hurt you," Jordan says. "They merely burn away impurity. You have failed the trial, but may try again next week."

<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple">>
	<<if $sydneyromance is 1>>Sydney hugs you.<<else>>Sydney puts a hand on your shoulder.<</if>>
	"You'll get it next time, I'm sure." <<stress -3>><<lstress>>

<</if>>
The <<person2>><<monk>> smothers the coals with a bucket of sand as Jordan leads you back to the temple's main hall.

<<clotheson>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Firewalk 3

<<effects>>
You step forward as quick as you can. You feel the coals heat beneath you.
<<pain 1>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100))>>
	A little sting isn't enough to stop you.
	<<gwillpower>><<willpower 1>>

	<<link [[Continue|Temple Firewalk 4]]>><</link>><<gpain>>

	<<link [[Jump off|Temple Firewalk Jump]]>><</link>>

<<else>>
	You feel your feet burning. Panicked, you leap off the coals onto the cool dirt.
	<<ggwillpower>><<willpower 10>>

	<<link [[Next|Temple Firewalk Jump]]>><</link>>

<</if>>

:: Temple Firewalk 4

<<effects>>
You step forward again. The coals are even hotter.
<<pain 2>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100))>>
	Still nothing you can't handle.
	<<gwillpower>><<willpower 1>>

	<<link [[Continue|Temple Firewalk 5]]>><</link>><<gpain>>

	<<link [[Jump off|Temple Firewalk Jump]]>><</link>>

<<else>>
	It hurts. You gasp and jump away from the heat.
	<<ggwillpower>><<willpower 10>>

	<<link [[Next|Temple Firewalk Jump]]>><</link>>

<</if>>

:: Temple Firewalk 5

<<effects>>
You step forward again, now about halfway across the coals. The heat continues to build.
<<pain 3>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100))>>
	You feel your soles burn, but you're determined to continue.
	<<gwillpower>><<willpower 1>>

	<<link [[Continue|Temple Firewalk 6]]>><</link>><<gpain>>

	<<link [[Jump off|Temple Firewalk Jump]]>><</link>>

<<else>>
	You feel your soles burn. It's too much for you. You leap to safety. The <<person2>><<monk>> and initiates applaud your attempt.
	<<ggwillpower>><<willpower 10>>

	<<link [[Next|Temple Firewalk Jump]]>><</link>>

<</if>>

:: Temple Firewalk 6

<<effects>>
You tense as your foot comes down again, the coals now hotter still.
<<pain 4>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100))>>
	You manage to keep your cool.
	<<gwillpower>><<willpower 1>>

	<<link [[Continue|Temple Firewalk 7]]>><</link>><<gpain>>

	<<link [[Jump off|Temple Firewalk Jump]]>><</link>>

<<else>>
	You feel an incredible heat. Like your feet are on fire. You leap to safety. The <<person2>><<monk>> and initiates applaud your attempt. "So close," you hear one whisper.
	<<ggwillpower>><<willpower 10>>

	<<link [[Next|Temple Firewalk Jump]]>><</link>>

<</if>>

:: Temple Firewalk 7

<<effects>>
You cringe as your foot comes down again. You're so close.
<<pain 5>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100))>>
	You wonder if you'll need to visit the hospital after. You don't care.
	<<gwillpower>><<willpower 1>>

	<<link [[Continue|Temple Firewalk 8]]>><</link>><<gpain>>

<<else>>
	You can't take it anymore. You can smell your feet burning. You leap to safety. The <<person2>><<monk>> and initiates applaud your attempt. "So close," you hear one whisper. The <<monk>> shakes <<his>> head.
	<<ggwillpower>><<willpower 10>>

	<<link [[Next|Temple Firewalk Jump]]>><</link>>

<</if>>

:: Temple Firewalk 8

<<effects>>
You take the final step. It hurts so much, but you're across.
<<pain 6>>

Your feet sink into the cool earth. The <<person2>><<monk>> looks impressed. Stunned, even. <<He>> and the initiates applaud, along with several other <<monks>> standing on a balcony back at the temple, watching over the hedge. You examine your soles. They're covered in soot, but not burnt at all.

<<if $phase is 0>>
	"The fire doesn't hurt," Jordan says. "It merely burns away impurity. Congratulations. You are unblemished in the eyes of the church."

<<else>>
	"The fire doesn't hurt," Jordan says. "It merely burns away impurity. You have passed the trial. Congratulations."

	Jordan returns to the temple while the <<person2>><<monk>> smothers the coal with a bucket of sand.

	<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple">>
		Sydney hugs you. "I knew you could do it!" <<stress -6>><<lstress>><<npcincr Sydney love 1>><<glove>>

	<</if>>
<</if>>
<<clotheson>>
<<if $phase is 0>>
	<<if $player.virginity.penile isnot true and $player.virginity.vaginal isnot true>>
		You've gained the Chastity Vow trait.

	<</if>>
	<<link [[Next|Temple Firewalk Success]]>><</link>>
<<else>>
	<<endevent>>
	<<link [[Next|Temple Garden]]>><</link>>

<</if>>

:: Temple Firewalk Success

<<effects>><<sydneySchedule>>

<<inittemple>>
You follow Jordan back inside as the <<person2>><<monk>> smothers the coal with a bucket of sand.

<<person1>>"You are unblemished, and may it stay that way. You are now an initiate of the temple. Welcome, <<if $player.gender_appearance is "m">>brother.<<else>>sister.<</if>>"
<<if $worn.genitals.type.includes("chastity")>>
	With one anxious motion, <<he>> returns your $worn.genitals.name to its place, guarding your crotch.
<</if>>

<<He>> turns away to let you dress. "Initiates are tasked with menial work around the temple proper. Cleaning, gardening, and servicing your elders. In return you have full access to the temple grounds, with the exception of areas behind doors painted with a red cross."

We have some other rules. No stealing. No violence. No sex, everyone has their chastity checked monthly. No refusing your elders. If someone behaves in an improper manner towards you, tolerate it until you can inform me. Dealing with that is one of my responsibilities."

"I'll let the others know you've joined us," <<he>> continues, <<his>> stern countenance giving way to a smile. "I'm pleased to have you.<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple" and !$sydneySeen.includes("initiate")>> It looks like I'm not the only one." <<He>> smiles at something behind you.<<else>>"<</if>>

<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple" and !$sydneySeen.includes("initiate")>>
	<<set $sydneySeen.pushUnique("initiate")>>
	Someone hugs you from behind. It's Sydney. "Congratulations... initiate!" <<nnpc_He "Sydney">>s overflowing with joy. <<npcincr Sydney love 3>><<gglove>>

<</if>>
<<clotheson>>
<<endevent>>
<<link [[Next|Temple]]>><</link>>

:: Temple Test Refuse
<<effects>>

"Then I must assume the worst," Jordan says, looking at <<his>> feet. "I'm sorry. You will be purified. I will summon the specialists. Please cooperate with them." <<He>> produces a small bell from <<his>> robes, and rings.

<<endevent>>
<<link [[Next|Temple Arcade Intro]]>><</link>>

:: Temple Test Admission
<<effects>>

<<if $submissive gte 1150>>
"I-it was taken from me," you say. "I'm sorry."
<<elseif $submissive lte 850>>
"No need," you say. "I failed your dumb task."
<<else>>
"I'm sorry," you say. "But I didn't remain chaste."
<</if>>

"Thank you for your honesty," Jordan says, looking at <<his>> feet. "You must be purified. I will summon the specialists. Please cooperate with them." <<He>> produces a small bell from <<his>> robes, and rings.

<<endevent>>
<<link [[Next|Temple Arcade Intro]]>><</link>>

:: Temple Arcade Intro
<<effects>>

<<set _npcChastity to 1>><<generate1>><<person1>><<generate2>><<generate3>> A <<monk>> emerges from a door marked with a red cross. <<Hes>> flanked by two others. One of them assures Jordan that you'll be treated gently.

Head bowed, Jordan leaves the room as a <<monk>> pulls a gag from <<his>> habit. "To make amends you must perform a service. Stay still."

<<link [[Submit|Temple Arcade Submit]]>><</link>>

<<link [[Fight|Temple Arcade Fight]]>><<set $fightstart to 1>><</link>>

:: Temple Arcade Fight
<<if $fightstart is 1>>
<<set $fightstart to 0>>

<<neutral 1>>

<<maninit>>
<<set $enemytrust -= 100>>
<<set $enemyanger += 200>>
<<npcidlegenitals>>
"You will be purified," the <<monk>> says. They form a circle around you, preventing escape.

<</if>>

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

<<stateman>>

<<actionsman>>

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

:: Temple Arcade Fight Finish
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
<<ejaculation>>

The <<person1>><<person>> backs away from you, looking confused and ashamed. "F-forgive me-" <<he>> says, dropping to <<his>> knees and staring at the ceiling. <<He>> slips into prayer. The others follow suit.

<<tearful>> you escape without difficulty.

<<clotheson>>
<<endcombat>>

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

<<elseif $enemyhealth lte 0>>

You shove the <<monk>> away from you, creating a gap in their circle. <<tearful>> you seize the opportunity. You escape into another room and take refuge in the shadow of a stone pillar.

<<clotheson>>
<<endcombat>>

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

<<else>>

<<tearful>> you fall to the ground. You're too hurt to continue fighting. The three surround you, looking down with disdain.

<<clotheson>>

<<link [[Next|Temple Arcade Submit]]>><</link>>

<</if>>

:: Temple Arcade Submit
<<effects>>
<<pass 20>>
<<facewear 4>><<leash 21>>
The <<person1>><<monk>> pushes the gag into your mouth, and ties it firm behind your head. Any sound you make will be muffled and unintelligible. A <<person2>><<monk>> to <<person1>><<his>> side wraps a collar around your neck. <<He>> holds the attached leash, and tugs.

<<pass 3>>
You're led through the marked door and down a cramped passage. There are no lights bar the occasional torch on the wall.

After a few minutes the stone walls give way to more modern construction, and you emerge in a windowless room. The sight before you makes your heart sink.

<<link [[Next|Temple Arcade]]>><</link>>

:: Temple Arcade
<<effects>>
<<if $malevictimchance lt $rng>>
	<<set $temple_wall_victim to "girl">>
<<else>>
	<<set $temple_wall_victim to "boy">>
<</if>>

A row of butts stick out the wall opposite. One hole is unoccupied. The <<monk>> leads you over to it. <<He>> grasps you by the collar, and forces you to bend over. With great force, <<he>> shoves you through the hole. You feel something clamp around your waist, locking you in.

<<endcombat>>

This side of the wall looks much the same as the other, except for a large bell on a stand in the centre. You hear a whimper. To your right a dark-haired $temple_wall_victim hangs <<if $temple_wall_victim is "boy">>his<<else>>her<</if>> head and weeps.

"We're gonna get through this," says a freckled $temple_wall_victim to your left. <<if $temple_wall_victim is "boy">>He<<else>>She<</if>> presses <<if $temple_wall_victim is "boy">>his<<else>>her<</if>> palms against the wall. "Be strong everyone."

<<link [[Next|Temple Arcade 2]]>><</link>>

:: Temple Arcade 2
<<effects>>

<<generate1>><<person1>>A <<monk>> enters through a door in front of you. "My children," <<he>> says. "You are here to renew your sacred chastity. In doing so, you will help relieve our town of its corruption." <<He>> reaches beneath the bell, and rings it.

<<endevent>>

You hear a set of doors open behind you, followed by footsteps and laughter.

"We can do whatever we want to them?"

"I should start going to church."

"This one's mine."

A pair of hands grasp your <<bottom>>.

<<set $temple_arcade_phase to 0>>
<<link [[Next|Temple Arcade Rape]]>><<set $molestationstart to 1>><</link>>

:: Temple Arcade Rape

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<generate1>><<person1>>
	<<maninit>><<set $position to "wall">><<set $leftarm to "bound">><<set $rightarm to "bound">><<set $head to "bound">>

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

<<actionsman>>
<<if $enemyhealth lte 0>>
	<<link [[Next|Temple Arcade Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Temple Arcade Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Temple Arcade Rape]]>><</link>><<nexttext>>
<</if>>

:: Temple Arcade Rape Finish

<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>
	<<tearful>> you prepare for more abuse.

	<<endcombat>>

	<<link [[Next|Temple Arcade 3]]>><</link>>
<<else>>
	You scare the <<person>> away from you. You hear <<him>> complain as <<he>> leaves the room.

	<<endcombat>>

	<<link [[Next|Temple Arcade 3]]>><</link>>

<</if>>

:: Temple Arcade 3
<<effects>>

<<if $temple_arcade_phase is 0>><<set $temple_arcade_phase += 1>>
	The bell rings again. Another group enters, as eager as the last.

	The dark-haired $temple_wall_victim screams and bashes the wall. "St-stop. Not again. Please."

	Someone grabs your <<bottom>>.

	<<link [[Next|Temple Arcade Rape]]>><<set $molestationstart to 1>><</link>>

<<elseif $temple_arcade_phase is 1>><<set $temple_arcade_phase += 1>>
	The bell rings again. Another group enters, as eager as the last.

	"St-stay strong," the freckled $temple_wall_victim says. "We're all getting through this."

	Someone grabs your <<bottom>>.

	<<link [[Next|Temple Arcade Rape]]>><<set $molestationstart to 1>><</link>>

<<elseif $temple_arcade_phase is 2>><<set $temple_arcade_phase += 1>>
	The bell rings again. Another group enters, as eager as the last.

	The dark-haired $temple_wall_victim tries to squirm free from the wall. They fail.

	Someone grabs your <<bottom>>.

	<<link [[Next|Temple Arcade Rape]]>><<set $molestationstart to 1>><</link>>

<<elseif $temple_arcade_phase is 3>><<set $temple_arcade_phase += 1>>
	The bell rings again. Another group enters, as eager as the last.

	The freckled $temple_wall_victim chokes back sobs.

	Someone grabs your <<bottom>>.

	<<link [[Next|Temple Arcade Rape]]>><<set $molestationstart to 1>><</link>>

<<elseif $temple_arcade_phase is 4>><<set $temple_arcade_phase += 1>>
	The bell rings again. Another group enters, as eager as the last.

	The dark-haired $temple_wall_victim hangs limp. The freckled $temple_wall_victim cradles their face in their hands. Tears fall between their fingers.

	Someone grabs your <<bottom>>.

	<<link [[Next|Temple Arcade Rape]]>><<set $molestationstart to 1>><</link>>

<<else>>
	The bell rings again, but this time it carries a deep, sonorous tone. You hear the door open again, followed by a single pair of footsteps.

	The tightness around your waist loosens, and you're pulled out of the wall.

	<<link [[Next|Temple Arcade End]]>><</link>>

<</if>>

:: Temple Arcade End
<<effects>>

<<generate1>><<person1>>
Stern-faced <<monks>> cluster you and the other victims together. A <<priest>> stands in the middle of the room, wearing robes of pitch black.

"Congratulations my children," <<he>> drawls. "You are pure once more. Thank you for your service." A <<monk>> steps behind you and unties your gag. <<He>> also removes your collar. "A warning," the <<priest>> continues. "Breathe not a word of this to anyone. Not your friends. Not Jordan. Not your parents, should you be so blessed. I'd hate to consider you impure again." The dark-haired $temple_wall_victim whimpers.

<<if $player.virginity.penile isnot true or $player.virginity.vaginal isnot true>>
	You've gained the Chastity Vow trait.

<</if>>
<<set $worn.face.type.push("broken")>>
<<faceruined>>
<<set $worn.neck.type.push("broken")>>
<<neckruined>>
<<unset $temple_arcade_phase>>
<<unset $temple_wall_victim>>
<<set $player.virginity.temple to true>>

<<clotheson>>
<<endevent>>

<<pass 20>>
You're led through the tunnel and back to the temple. The others are silent the whole way.

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

:: Temple Masturbation
<<effects>><<sydneySchedule>>

<<if $masturbationstart is 1>>
<<set $masturbationstart to 0>>
<<set $masturbationstat += 1>>
<<masturbationstart>>
<<set $timer to random(10, 30)>>
You search for a secluded spot. It's not easy, as the temple is so busy. You watch a pillar in the corner of the room for several minutes. No one goes behind it. You sneak over and sit. <<exhibitionism4>>

	<<if $angel gte 6>>
	You feel disgusted with yourself.

	<</if>>
<</if>>
<<masturbationeffects>>
<<masturbationactions>>

<<if $timer lte 1>>
	<<if $NPCName[$NPCNameList.indexOf("Sydney")].init is 1 and _sydney_location is "temple">>
		<<link [[Continue|Temple Masturbation Sydney]]>><</link>><<nexttext>>

	<<else>>
		<<link [[Continue|Temple Masturbation Finish]]>><</link>><<nexttext>>

	<</if>>
<<else>>
	<<link [[Continue|Temple Masturbation]]>><</link>><<nexttext>>

<</if>>
<<if $corruptionMasturbation isnot true and random(0,3) gt $orgasmcurrent and $corruption_slime gt ($willpower / 10)>>
	<<link [[Stop|$passage]]>><<set $corruptionMasturbation to true>><</link>>
<<elseif $corruptionMasturbation isnot true>>
	<<link [[Stop|Temple Masturbation Finish]]>><<set $finish to 1>><</link>>
<<else>>
	The slime in your ear will not allow you to stop.
<</if>>

:: Temple Masturbation Finish
<<effects>>
<<if $timer lte 1>>
	A <<generate1>><<person1>><<monk>> walks around the pillar. <<His>> eyes are closed in meditative prayer, but <<he>> trips over your leg and almost stumbles to the ground. You cover yourself before <<he>> turns.

	<<if $temple_rank is "initiate">>
		<<He>> faces you. "You can't just sit where you like initiate!" <<he>> says. "I've half a mind to report you to the bishop."
		<<lgrace monk>><<grace -1 monk>>
	<<elseif $temple_rank is "monk">>
		<<He>> faces you. "Terribly sorry <<if $player.gender_appearance is "m">>brother<<else>>sister<</if>>," <<he>> says. "I'll be more careful in the future."
	<<else>>
		<<He>> faces you. "Forgive me," <<he>> says. "I'll be more careful in the future."
	<</if>>
	<<if $exposed gte 1>>
		<<He>> gasps and shuts <<his>> eyes again when <<he>> realises your state of dress. "W-well I-I..." <<he>> mutters as <<he>> continues on <<his>> way.

	<<else>>
		<<He>> continues on <<his>> way, now with <<his>> eyes open.

	<</if>>
<</if>>
<<if $masturbationorgasm gte 1>>
	You look around. No one seems to have noticed your defilement of this sacred ground.
	<<if $angel gte 6>>
	Thinking about it, you feel disgusted with yourself.
	<<llpurity>><<purity -20>><<ggtrauma>><<trauma 50>>
	<<elseif $demon gte 6>>
	Thinking about it, you feel a thrill unlike any other!
	<<llpurity>><<purity -20>><<llstress>><<stress -12>>
	<<else>>
	You feel a cold sense of guilt wash over you, but it quickly fades.
	<<purity -10>><<llpurity>><<gtrauma>><<trauma 6>>
	<</if>>
<<else>>
	You stop before reaching orgasm. You look around. No one seems to have noticed.
<</if>>

<<endmasturbation>>
<<clotheson>>
<<endcombat>>

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