code:
:: Widgets Chapel [widget]

<<widget "chapeloptions">>
<<if _piperPray>>
	<<set _prayPassage to "Chapel Piper Pray">>
<<else>>
	<<set _prayPassage to "Chapel Pray">>
<</if>>
	<<link [[Pray for absolution (1:00)|_prayPassage]]>>
		<<pass 60>><<set $phase to 2>>
		<<if $awareness gte ((1000 / 7) * 7)>>
			<<stress -6>><<awareness -2>><<arousal -1200>>
		<<elseif $awareness gte ((1000 / 7) * 6)>>
			<<stress -6>><<awareness -1>><<arousal -1000>>
		<<elseif $awareness gte ((1000 / 7) * 5)>>
			<<stress -5>><<awareness -1>><<arousal -800>>
		<<elseif $awareness gte ((1000 / 7) * 4)>>
			<<stress -4>><<awareness -1>><<arousal -600>>
		<<elseif $awareness gte ((1000 / 7) * 3)>>
			<<stress -3>><<awareness -1>><<arousal -500>>
		<<elseif $awareness gte ((1000 / 7) * 2)>>
			<<stress -2>><<awareness -1>><<arousal -400>>
		<<else>>
			<<stress -1>><<awareness -1>><<arousal -300>>
		<</if>>
	<</link>>
	<<lawareness>><<lstress>><<larousal>>

	<<if $insecurity_penis_tiny gte 1 and $penissize lte 0 and $acceptance_penis_tiny lte 999 and $chapel_pray isnot 1>>
		<<link [[Beseech for a bigger penis (1:00)|_prayPassage]]>>
			<<pass 60>><<set $phase to 4>><<set $chapel_pray to 1>>
			<<if $awareness gte ((1000 / 7) * 7)>>
				<<stress 5>><<acceptance "penis_tiny" 20>>
			<<elseif $awareness gte ((1000 / 7) * 6)>>
				<<stress 5>><<acceptance "penis_tiny" 18>>
			<<elseif $awareness gte ((1000 / 7) * 5)>>
				<<stress 6>><<acceptance "penis_tiny" 16>>
			<<elseif $awareness gte ((1000 / 7) * 4)>>
				<<stress 7>><<acceptance "penis_tiny" 14>>
			<<elseif $awareness gte ((1000 / 7) * 3)>>
				<<stress 8>><<acceptance "penis_tiny" 12>>
			<<elseif $awareness gte ((1000 / 7) * 2)>>
				<<stress 10>><<acceptance "penis_tiny" 10>>
			<<else>>
				<<stress 12>><<acceptance "penis_tiny" 8>>
			<</if>>
		<</link>>
		<<gstress>><<gacceptance>>

	<</if>>
	<<if $insecurity_penis_small gte 1 and $penissize is 1 and $acceptance_penis_small lte 999 and $chapel_pray isnot 1>>
		<<link [[Beseech for a bigger penis (1:00)|_prayPassage]]>>
			<<pass 60>><<set $phase to 5>><<set $chapel_pray to 1>>
			<<if $awareness gte ((1000 / 7) * 7)>>
				<<stress 5>><<acceptance "penis_small" 20>>
			<<elseif $awareness gte ((1000 / 7) * 6)>>
				<<stress 5>><<acceptance "penis_small" 18>>
			<<elseif $awareness gte ((1000 / 7) * 5)>>
				<<stress 6>><<acceptance "penis_small" 16>>
			<<elseif $awareness gte ((1000 / 7) * 4)>>
				<<stress 7>><<acceptance "penis_small" 14>>
			<<elseif $awareness gte ((1000 / 7) * 3)>>
				<<stress 8>><<acceptance "penis_small" 12>>
			<<elseif $awareness gte ((1000 / 7) * 2)>>
				<<stress 10>><<acceptance "penis_small" 10>>
			<<else>>
				<<stress 12>><<acceptance "penis_small" 8>>
			<</if>>
		<</link>>
		<<gstress>><<gacceptance>>

	<</if>>
	<<if $player.gender is "m">>
		<<if $insecurity_penis_big gte 1 and $penissize gte 4 and $acceptance_penis_big lte 999 and $chapel_pray isnot 1>>
			<<link [[Beseech for a smaller penis (1:00)|_prayPassage]]>>
				<<pass 60>><<set $phase to 6>><<set $chapel_pray to 1>>
				<<if $awareness gte ((1000 / 7) * 7)>>
					<<stress 5>><<acceptance "penis_big" 20>>
				<<elseif $awareness gte ((1000 / 7) * 6)>>
					<<stress 5>><<acceptance "penis_big" 18>>
				<<elseif $awareness gte ((1000 / 7) * 5)>>
					<<stress 6>><<acceptance "penis_big" 16>>
				<<elseif $awareness gte ((1000 / 7) * 4)>>
					<<stress 7>><<acceptance "penis_big" 14>>
				<<elseif $awareness gte ((1000 / 7) * 3)>>
					<<stress 8>><<acceptance "penis_big" 12>>
				<<elseif $awareness gte ((1000 / 7) * 2)>>
					<<stress 10>><<acceptance "penis_big" 10>>
				<<else>>
					<<stress 12>><<acceptance "penis_big" 8>>
				<</if>>
			<</link>>
			<<gstress>><<gacceptance>>

		<</if>>
	<<else>>
		<<if $insecurity_penis_big gte 1 and $penissize gte 2 and $acceptance_penis_big lte 999 and $chapel_pray isnot 1>>
			<<link [[Beseech for a smaller penis (1:00)|_prayPassage]]>>
				<<pass 60>><<set $phase to 6>><<set $chapel_pray to 1>>
				<<if $awareness gte ((1000 / 7) * 7)>>
					<<stress 5>><<acceptance "penis_big" 20>>
				<<elseif $awareness gte ((1000 / 7) * 6)>>
					<<stress 5>><<acceptance "penis_big" 18>>
				<<elseif $awareness gte ((1000 / 7) * 5)>>
					<<stress 6>><<acceptance "penis_big" 16>>
				<<elseif $awareness gte ((1000 / 7) * 4)>>
					<<stress 7>><<acceptance "penis_big" 14>>
				<<elseif $awareness gte ((1000 / 7) * 3)>>
					<<stress 8>><<acceptance "penis_big" 12>>
				<<elseif $awareness gte ((1000 / 7) * 2)>>
					<<stress 10>><<acceptance "penis_big" 10>>
				<<else>>
					<<stress 12>><<acceptance "penis_big" 8>>
				<</if>>
			<</link>>
			<<gstress>><<gacceptance>>

		<</if>>
	<</if>>
	<<if $insecurity_breasts_tiny gte 1 and $breastsize lte 0 and ($player.gender is "f" or $player.gender is "h") and $acceptance_breasts_tiny lte 999 and $chapel_pray isnot 1>>
		<<link [[Beseech for bigger breasts (1:00)|_prayPassage]]>>
			<<pass 60>><<set $phase to 7>><<set $chapel_pray to 1>>
			<<if $awareness gte ((1000 / 7) * 7)>>
				<<stress 5>><<acceptance "breasts_tiny" 20>>
			<<elseif $awareness gte ((1000 / 7) * 6)>>
				<<stress 5>><<acceptance "breasts_tiny" 18>>
			<<elseif $awareness gte ((1000 / 7) * 5)>>
				<<stress 6>><<acceptance "breasts_tiny" 16>>
			<<elseif $awareness gte ((1000 / 7) * 4)>>
				<<stress 7>><<acceptance "breasts_tiny" 14>>
			<<elseif $awareness gte ((1000 / 7) * 3)>>
				<<stress 8>><<acceptance "breasts_tiny" 12>>
			<<elseif $awareness gte ((1000 / 7) * 2)>>
				<<stress 10>><<acceptance "breasts_tiny" 10>>
			<<else>>
				<<stress 12>><<acceptance "breasts_tiny" 8>>
			<</if>>
		<</link>>
		<<gstress>><<gacceptance>>

	<</if>>
	<<if $insecurity_breasts_small gte 1 and $breastsize gte 1 and $breastsize lte 5 and $acceptance_breasts_small lte 999 and $chapel_pray isnot 1>>
		<<if $player.gender is "f" or $player.gender is "h">>
			<<link [[Beseech for bigger breasts (1:00)|_prayPassage]]>>
				<<pass 60>><<set $phase to 8>><<set $chapel_pray to 1>>
				<<if $awareness gte ((1000 / 7) * 7)>>
					<<stress 5>><<acceptance "breasts_small" 20>>
				<<elseif $awareness gte ((1000 / 7) * 6)>>
					<<stress 5>><<acceptance "breasts_small" 18>>
				<<elseif $awareness gte ((1000 / 7) * 5)>>
					<<stress 6>><<acceptance "breasts_small" 16>>
				<<elseif $awareness gte ((1000 / 7) * 4)>>
					<<stress 7>><<acceptance "breasts_small" 14>>
				<<elseif $awareness gte ((1000 / 7) * 3)>>
					<<stress 8>><<acceptance "breasts_small" 12>>
				<<elseif $awareness gte ((1000 / 7) * 2)>>
					<<stress 10>><<acceptance "breasts_small" 10>>
				<<else>>
					<<stress 12>><<acceptance "breasts_small" 8>>
				<</if>>
			<</link>>
			<<gstress>><<gacceptance>>

		<<else>>
			<<link [[Beseech for smaller breasts (1:00)|_prayPassage]]>>
				<<pass 60>><<set $phase to 8>><<set $chapel_pray to 1>>
				<<if $awareness gte ((1000 / 7) * 7)>>
					<<stress 5>><<acceptance "breasts_small" 20>>
				<<elseif $awareness gte ((1000 / 7) * 6)>>
					<<stress 5>><<acceptance "breasts_small" 18>>
				<<elseif $awareness gte ((1000 / 7) * 5)>>
					<<stress 6>><<acceptance "breasts_small" 16>>
				<<elseif $awareness gte ((1000 / 7) * 4)>>
					<<stress 7>><<acceptance "breasts_small" 14>>
				<<elseif $awareness gte ((1000 / 7) * 3)>>
					<<stress 8>><<acceptance "breasts_small" 12>>
				<<elseif $awareness gte ((1000 / 7) * 2)>>
					<<stress 10>><<acceptance "breasts_small" 10>>
				<<else>>
					<<stress 12>><<acceptance "breasts_small" 8>>
				<</if>>
			<</link>>
			<<gstress>><<gacceptance>>

		<</if>>
	<</if>>
	<<if $player.gender is "f" or $player.gender is "h">>
		<<if $insecurity_breasts_big gte 1 and $breastsize gte 8 and $acceptance_breasts_big lte 999 and $chapel_pray isnot 1>>
			<<link [[Beseech for smaller breasts (1:00)|_prayPassage]]>>
				<<pass 60>><<set $phase to 9>><<set $chapel_pray to 1>>
				<<if $awareness gte ((1000 / 7) * 7)>>
					<<stress 5>><<acceptance "breasts_big" 20>>
				<<elseif $awareness gte ((1000 / 7) * 6)>>
					<<stress 5>><<acceptance "breasts_big" 18>>
				<<elseif $awareness gte ((1000 / 7) * 5)>>
					<<stress 6>><<acceptance "breasts_big" 16>>
				<<elseif $awareness gte ((1000 / 7) * 4)>>
					<<stress 7>><<acceptance "breasts_big" 14>>
				<<elseif $awareness gte ((1000 / 7) * 3)>>
					<<stress 8>><<acceptance "breasts_big" 12>>
				<<elseif $awareness gte ((1000 / 7) * 2)>>
					<<stress 10>><<acceptance "breasts_big" 10>>
				<<else>>
					<<stress 12>><<acceptance "breasts_big" 8>>
				<</if>>
			<</link>>
			<<gstress>><<gacceptance>>

		<</if>>
	<<else>>
		<<if $insecurity_breasts_big gte 1 and $breastsize gte 6 and $acceptance_breasts_big lte 999 and $chapel_pray isnot 1>>
			<<link [[Beseech for smaller breasts (1:00)|_prayPassage]]>>
				<<pass 60>><<set $phase to 9>><<set $chapel_pray to 1>>
				<<if $awareness gte ((1000 / 7) * 7)>>
					<<stress 5>><<acceptance "breasts_big" 20>>
				<<elseif $awareness gte ((1000 / 7) * 6)>>
					<<stress 5>><<acceptance "breasts_big" 18>>
				<<elseif $awareness gte ((1000 / 7) * 5)>>
					<<stress 6>><<acceptance "breasts_big" 16>>
				<<elseif $awareness gte ((1000 / 7) * 4)>>
					<<stress 7>><<acceptance "breasts_big" 14>>
				<<elseif $awareness gte ((1000 / 7) * 3)>>
					<<stress 8>><<acceptance "breasts_big" 12>>
				<<elseif $awareness gte ((1000 / 7) * 2)>>
					<<stress 10>><<acceptance "breasts_big" 10>>
				<<else>>
					<<stress 12>><<acceptance "breasts_big" 8>>
				<</if>>
			<</link>>
			<<gstress>><<gacceptance>>

		<</if>>
	<</if>>
	<<link [[Commune (1:00)|_prayPassage]]>>
		<<pass 60>><<set $phase to 3>>
		<<if $awareness gte ((1000 / 7) * 7)>>
			<<stress 5>><<awareness 2>>
		<<elseif $awareness gte ((1000 / 7) * 6)>>
			<<stress 5>><<awareness 1>>
		<<elseif $awareness gte ((1000 / 7) * 5)>>
			<<stress 6>><<awareness 1>>
		<<elseif $awareness gte ((1000 / 7) * 4)>>
			<<stress 7>><<awareness 1>>
		<<elseif $awareness gte ((1000 / 7) * 3)>>
			<<stress 8>><<awareness 1>>
		<<elseif $awareness gte ((1000 / 7) * 2)>>
			<<stress 10>><<awareness 1>>
		<<else>>
			<<stress 12>><<awareness 1>>
		<</if>>
	<</link>>
	<<gawareness>><<gstress>>

	<<if !_piperPray>>
		<<link [[Stop|Cult Chapel]]>><</link>>

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

:: Widgets Great Hall [widget]

<<widget "eventshall">>
<<if $halltopic is 1>>
	<<if $rng gte 66>>
		<<generateCultist1>><<person1>>A <<personsimple>> suddenly speaks up. <<He>> claims to have seen an angel on high in the meadow above. <<if $angel gte 5 or $harpy gte 5 or $fallenangel gte 2>>You can't help but think <<he>>'s talking about you. You feel eyes watching you, but when you look, nobody is looking your way.<<gstress>><<stress 9>><<gtrauma>><<trauma 3>><<else>> Someone groans.<</if>>

		<<set $rng to random(1, 3)>>
		<<switch $rng>>
			<<case 1>>
				<<He>> expresses concern that the angels might find this place, <<if $hallraylan lte 7>> but Raylan dismisses the idea entirely.<<else>> and the Apostle immediately kicks the acolyte out of the lesson.<</if>>
			<<default>>
				The acolyte slanders the angel as a follower of a false god. <<His>> words are violent and accusatory. <<if $angel gte 5 or $fallenangel gte 2>>You feel unwelcome. <<gstress>><<stress 3>><</if>>
		<</switch>>

		<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

		<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
	<<elseif $rng gte 33>>
		<<set $rng to random(1, 5)>>
		<<switch $rng>>
			<<case 1>>
				<<if $hallraylan gte 8>>
					The apostle calls on you to interpret a passage from the scripture.

					<<if $awareness gte random(1,1000)>>
						You begin to describe what you think it means, and before you know it, the words feel like they're forced from your mouth. Something was alive in this passage. <<ggstress>><<stress 9>><<gtrauma>><<trauma 3>>

						The apostle nods approval before moving on.

						<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

						<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
					<<else>>
						You begin to attempt to describe what you think it means, though the chosen text is particularly difficult to understand. The apostle cuts you off.

						"Stop. I'll just ask for another acolyte's interpretation."

						<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

						<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
					<</if>>
				<<else>>
					<<npc Raylan>><<person1>>
					Raylan calls on you to interpret a passage from the scripture.

					<<if $awareness gte random(1,1000)>>
						You begin to describe what you think it means, and before you know it, the words feel like they're forced from your mouth. Something was alive in this passage. <<ggstress>><<stress 9>><<gtrauma>><<trauma 3>>

						"Excellent! It's clear you've been taking communion seriously." Raylan says, before moving on.

						<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

						<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
					<<else>>
						You begin to attempt to describe what you think it means, though the chosen text is particularly difficult to understand. Acolytes give you odd looks, but Raylan nods.

						"Indeed, not everything is clear to everyone immediately." <<He>> looks directly at you. "In time, you too shall understand the truth."

						<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

						<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
					<</if>>
				<</if>>
			<<case 2>>
				<<npc Piper>><<person1>>
				Piper is called upon to interpret a passage from the scripture. <<He>> stands up, breathing deeply before giving <<his>> interpretation of the words. <<if $hallRaylan gte 8>>The apostle nods, and continues.<<else>>Raylan nods, and continues.<</if>>

				<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

				<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
			<<default>>
				An acolyte is called on to interpret a passage from the scripture.

				<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

				<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
		<</switch>>
	<<else>>
		<<if $hallRaylan gte 8>>The apostle<<else>>Raylan<</if>> reads a passage about the elder one itself. The words describing it sound muddled, like an empty headache. You can't remember the words afterwards. <<gawareness>><<set $awareness +=10>>

		<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

		<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
	<</if>>
<<elseif $halltopic is 2>>

		The practices lesson moves on to carving idols.

		<<if $awareness gte random(1, 1000)>>
			You start to carve a small ode to the elder one out of soapstone. Your hands move like they're possessed, and you eventually end up with an odd, three-pronged symbol. Holding it makes you feel woozy. <<set $hallucinogen +=10>>

			<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

			<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
		<<else>>
			You carve your own idol in peace. You think you do a good job.

			<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

			<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>

	<</if>>
<<else>>
	<<if $rng gte 51>>
		As the ceremonies lesson proceeds, you feel your $worn.under_lower catch on one of the chairs, and you trip.

		<<link [[Try to catch yourself|Ceremonies Catch]]>><</link>><<dancedifficulty 1 1000>>

		<<link [[Fall|Ceremonies Fall]]>><</link>>
	<<else>>
		The ceremonies lesson continues, and every acolyte is given a lit candle and instructed to pour its wax over a mirror.

		<<if $hallucinations gte 1>>
			As you pour the wax over the mirror, the edges tint red. You look around to see if the same thing is happening with the other acolytes, and as you turn back, you notice your reflection is missing its clothes. <<pShe>> smiles unbidden, pressing <<pher>> hand on the other side of the mirror. When you blink, it's normal again. <<gstress>><<stress 6>>

			<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

			<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
		<<else>>
			You pour the wax over the mirror. You look around to see if you're supposed to do anything else with this, but this seems to be it.

			<<link [[Participate in the lesson (0:20)|Hall Lessons]]>><<pass 20>><</link>>

			<<link [[Leave the lesson (0:05)|Cult Great Hall]]>><<pass 20>><</link>>
		<</if>>
	<</if>>
<</if>>
<</widget>>

:: Widgets Sanctuary [widget]

<<widget "eventssanctuaryday">>
<<if $rng gte 91>>
	<<if $bestialitydisable is "f">>
		You pass an acolyte holding a small rabbit to their chest. The bunny squirms as it notices you.
	<<else>>
		<<generatebunny1>>
		You pass an acolyte with a short <<beasttype>> following demurely behind them. <<bHe>> hides behind the cultist as you walk by.
		<<endevent>>
	<</if>>

	<<sanctreturn>>
<<elseif $rng gte 81>>
	<<generatecat1>>
	A <<beasttype>> peers at you through yellow eyes as you pass.
	<<endevent>>

	<<sanctreturn>>
<<elseif $rng gte 61>>
	A passing acolyte nods to you. "May the Elder One light your path."

	<<sanctreturn>>
<<elseif $rng gte 41>>
	The sanctuary is strangely quiet. In fact, you notice that no other acolytes seem to be around. You're not sure what to make of it, but eventually, you feel the atmosphere return to normal as you turn a corner.

	<<sanctreturn>>
<<elseif $rng gte 21>>
	<<npc Raylan 1>>
	You overhear a group of acolytes walking as they shuffle through the hallways.

	"Raylan's such a hard-ass," one says.

	"Yeah, but <<he>>'s so hot," says another.

	"<<He>>'s a <<if $pronoun is "m">>dilf<<else>>milf<</if>> for sure!" says the third.

	"Fuck you guys, <<he>> put me on lurker duty!" the first claims.

	Their voices fade as the move into the distance.

	<<sanctreturn>>
<<elseif $rng gte 11>>
	<<if $angel gte 6>>
		<<generateCultist1>>
		An acolyte suddenly stops, <<his>> eyes widening at the sight of your halo. <<He>> suddenly whips around and sprints in the other direction, knocking over another acolyte as he does.

		You're not sure if you should feel vindicated by this or not. <<gstress>><<stress 3>>

		<<sanctreturn>>
	<<elseif $fallenangel gte 2>>
		<<generateCultist1>>
		An acolyte suddenly stops, <<his>> eyes widening at the sight of your shattered halo. <<He>> smiles slowly, before nodding to you.

		"Fellow acolyte, you... you are on a wonderous path. The others, outside, they might disagree but... We welcome you here." You almost cry at the praise. <<lstress>><<stress -3>>

		<<sanctreturn>>
	<<elseif $demon gte 6>>
		<<generateCultist1>>
		An acolyte suddenly stops to marvel at the horns atop your head. <<He>> seems smitten. He eventually notices you looking at him.

		"Oh, sorry, I just... It's rare to see one quite so taken by the elder one as you! You really are a beacon of it's light. People like me should really follow your example!" You beam at the praise. <<lstress>><<stress -6>><<ltrauma>><<trauma -3>>

		<<sanctreturn>>
	<<else>>
		An acolyte nods as you pass.

		<<sanctreturn>>
	<</if>>
<<else>>
	The sound of flickering torches soothes you.

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

<<widget "eventssanctuarynight">>
<<if $rng gte 81>>
	<<if $hour gte 4 and $hour lte 9>>
		<<if $cultistquest is 1>>
			<<npc Raylan 1>>
			As you walk through the halls of the Sanctuary, a familiar masked figure comes into view. <<His>> body straightens as <<he>> sees you.

			"Ah, Acolyte! What are you doing out so late? Or perhaps it's early for you!" Raylan chuckles with what seems like genuine mirth. <<He>> continues before you can give <<him>> a proper response. "No matter! Say, why don't you come on a stroll with me? I like to wander the grounds early in the mornings like this. Keeps the mind fresh, as it were. What do you say, Acolyte?"

			As always, his mask betrays nothing, but his tone seems genuine.

			<<link [[Yes|Raylan Stroll]]>><<npcincr Raylan love 1>><</link>><<glove>>

			<<link [[No|Stroll Refuse]]>><</link>>
		<<else>>
			<<if $raylanoutsiderasked is 1>>
				"Ah, we meet again, outsider." Comes a voice behind you. It's Raylan, the <<if $awareness gte random(900,1000)>>cult leader<<else>>Reverend<</if>>.

				"I trust you're finding yourself well? If you need me, and the hour happens to be three or nine, I may be able to assist. As for now, there's work to attend to. Farewell for now."

				<<sanctreturn>>
			<<else>>
				<<set $raylanoutsiderasked to 1>>
				As you walk through the halls of the Sanctuary, you spot an imposing masked figure ahead of you. It's Raylan, the <<if $awareness gte random(900,1000)>>cult leader<<else>>Reverend<</if>>.

				"Ah, outsider. A delight to see you here." You can't tell if <<he>>'s being honest, and <<his>> masked expression doesn't help. <<He>> waves a hand around you. "While I have you, why don't you answer a question of mine?"

				<<He>> doesn't wait for an answer. "I've always wondered what we seem like to outsiders such as you. Tell me- what do you think of this place?"

				<<link [[Ask to become an acolyte|Raylan Outsider Ask]]>><<npcincr Raylan love 1>><</link>>
				<<link [[It's scary|Raylan Outsider Scary]]>><<npcincr Raylan love -1>><</link>>
				<<link [[It's nice|Raylan Outsider Nice]]>><<npcincr Raylan love 1>><</link>>
				<<link [[It's lewd?|Raylan Outsider Lewd]]>><</link>>
			<</if>>
		<</if>>
	<<else>>
		<<generateCultist1>>
		An acolyte kicks a stone in boredom as <<he>> passes.
		<<endevent>>

		<<sanctreturn>>
	<</if>>
<<elseif $rng gte 61>>
	The sound of flickering torches soothes you.

	<<sanctreturn>>
<<elseif $rng gte 41>>
	<<generatecat1>>
	A <<beasttype>> peers at you through yellow eyes as you pass.
	<<endevent>>

	<<sanctreturn>>
<<elseif $rng gte 21>>
	You think you can hear something dripping in the silence of the night.

	<<sanctreturn>>
<<else>>
	The shadows of the sanctuary elongate into tendrils and reach towards you. You blink, and they're normal again. <<ggstress>><<stress 16>>

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

:: Widgets Sanctuary Return [widget]

<<widget "sanctreturn">>

<<if $cultlocation is "Barracks">>
	<<set _dest to "Cult Barracks">>
<<elseif $cultlocation is "Barracks2">>
	<<set _dest to "Cult Barracks 2">>
<<elseif $cultlocation is "Pit">>
	<<set _dest to "Cult Pit Room">>
<<elseif $cultlocation is "Side">>
	<<set _dest to "Cult Side Passage">>
<<elseif $cultlocation is "Entrance">>
	<<set _dest to "Cult Entrance Hall">>
<<else>>
	ERROR: invalid location <<print $cultlocation>>. Please inform Area.

	<<set _dest to "Cult Barracks">>
<</if>>
<<link [[Next|_dest]]>><<set $eventskip to 1>><</link>>
<</widget>>

:: Widgets Boutique [widget]

<<widget "cultShop-main">>
	<<if $tryOn.autoReset isnot false>><<tryOnReset>><</if>><<unset $tempDisable>>
	<<set $outside to 0>><<set $location to "cult">><<effects>>
	<<set $shopName = "cult">>

	You are in the cult Boutique. It has a large selection of ordinary clothes, as well as cult specific items.

	<<if $stress gte $stressmax>>
	<<passoutshop>>
	<<else>>
		<<if $hour is 21>>
			It's closing time. The <<if $awareness gte 750>>zealot<<else>>apostle<</if>> is herding everyone outside. <<if $exposed gte 1>>Panic swells within you as you realise how exposed you'll be should the proprietor find you in this state of dress.<</if>>

			<<if $exposed lte 0>>
				<<link [[Go outside|Cult Entrance Hall]]>><</link>>

			<<else>>
				<<link [[Hide until its over (1:00)|Cult Boutique]]>><<pass 1 hour>><</link>>
			<</if>>
		<<else>>

<<tryOnStats>>

			<<unset $shopListStartCount>>
			<<unset $clothes_choice>>
			<<set $shopPage = 0>>

			<<if $daystate is "night">>
				You are alone in the darkness.

			<<elseif $exposed gte 1>>
				You are hiding within a clothing stand to protect your dignity.

			<</if>>

			Warmth:
			<<warmthscale>>

				<<warmth_description>>

			<<if $debug is 1>>
				<<clothingcategoryicon "overoutfit">>
				<<link "View over outfits">><<replace "#clothingShop-div">><<OverOutfitShop>><</replace>><</link>>

			<</if>>
			<<clothingcategoryicon "outfit">>
			<<link "View outfits">><<replace "#clothingShop-div">><<OutfitShop>><</replace>><</link>>

			<<clothingcategoryicon "upper">>
			<<link "View tops">><<replace "#clothingShop-div">><<TopShop>><</replace>><</link>>

			<<clothingcategoryicon "lower">>
			<<link "View bottoms">><<replace "#clothingShop-div">><<BottomShop>><</replace>><</link>>

			<<clothingcategoryicon "underoutfit">>
			<<link "View under outfits">><<replace "#clothingShop-div">><<UnderOutfitShop>><</replace>><</link>>

			<<clothingcategoryicon "underupper">>
			<<link "View under tops">><<replace "#clothingShop-div">><<UnderTopShop>><</replace>><</link>>

			<<clothingcategoryicon "underlower">>
			<<link "View under bottoms">><<replace "#clothingShop-div">><<UnderBottomShop>><</replace>><</link>>

			<<clothingcategoryicon "head">>
			<<link "View Head Accessories">><<replace "#clothingShop-div">><<HeadShop>><</replace>><</link>>

			<<clothingcategoryicon "face">>
			<<link "View Face Accessories">><<replace "#clothingShop-div">><<FaceShop>><</replace>><</link>>

			<<clothingcategoryicon "neck">>
			<<link "View Neck Accessories">><<replace "#clothingShop-div">><<NeckShop>><</replace>><</link>>

			<<clothingcategoryicon "hand">>
			<<link "View Hand Accessories">><<replace "#clothingShop-div">><<HandsShop>><</replace>><</link>>

			<<clothingcategoryicon "legs">>
			<<link "View Legwear">><<replace "#clothingShop-div">><<LegsShop>><</replace>><</link>>

			<<clothingcategoryicon "feet">>
			<<link "View Shoes">><<replace "#clothingShop-div">><<FeetShop>><</replace>><</link>>

			<<run linkifyDivs('.button-back-to-shop')>>

			<<if $clothingrebuy is 1>>
				[[Disable automatic clothing rebuy|Rebuy Cult Shop]]

			<<else>>
				[[Enable automatic clothing rebuy|Rebuy Cult Shop]]

			<</if>>

			<<if $daystate is "night" and $hour isnot $closinghour and $cultboutiquetheft isnot 1>>
				<<link [[Examine the cash register|Cult Boutique Register]]>><</link>>

			<</if>>

			<<if $daystate is "night" or $tryOn.value is 0>>
				<<if $daystate is "night" and $cultBoutique.spotted is true and $cultBoutique.stolenClothes gt 0>>
					<<link[[Leave|Cult Boutique Night Guard Found]]>>
						<<shopClothingFilterReset>>
						<<ShowUnderEquip "normal">>
						<<ShowUnderEquip "over">>
						<<set $tryOn.autoReset to true>>
						<<crimeup `$tryOn.value / 100`>>
					<</link>>
				<<else>>
					<<link[[Leave|Cult Entrance Hall]]>>
						<<shopClothingFilterReset>>
						<<ShowUnderEquip "normal">>
						<<ShowUnderEquip "over">>
						<<set $tryOn.autoReset to true>>
						<<crimeup `$tryOn.value / 100`>>
					<</link>>
				<</if>>
				<<if $tryOn.value gt 0>>
					<<crime>>
				<</if>>

			<<elseif $tryOn.value gt 0>>
				<<link "Return clothes">><<clothingReset>>
					<<updatesidebarimg>>
					<<updatesidebardescription>>
					<<updateallure>>
					<<updatewarmthscale>>
					<<updatewarmthdescription>>
					<<updateclothingshop>>
					<<run updateMoment()>>
				<</link>>

				<<if $tryOn.value lt $money>>
					<<sendItemsToDropdown>>
					<<link "Buy clothes">><<buyTryOnClothes "wear">><<updateclothingshop>><</link>>

					<<link "Buy clothes and send to wardrobe">>
						<<buyTryOnClothes "wardrobe">>
						<<updatesidebarmoney>>
						<<updatesidebarimg>>
						<<updatesidebardescription>>
						<<updateallure>>
						<<updatewarmthscale>>
						<<updatewarmthdescription>>
						<<updateclothingshop>>
						<<run updateMoment()>>
					<</link>>

				<</if>>
				<<link [[Leave with stolen clothes|Stolen Cult Boutique Result]]>><<shopClothingFilterReset>><</link>>

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

:: Piper Orgasm [widget]

<<widget "pipergasm">>

<<if $enemyarousal gte $enemyarousalmax>>
	<<if $pipergasm is undefined>>
	<</if>>
<</if>>
<</widget>>