code:
:: Widgets Clamp [widget]
<<widget "preclamp">>

<<if $trauma gte $traumamax>>
	<<set $beauty -= (($trauma - $traumamax) / 5)>>
<</if>>
<<if $innocencestate is 1 and $trauma gt 0>>
	<<set $innocencetrauma += $trauma>>
	<<set $trauma to 0>>
<</if>>

<</widget>>

<<widget "clamp">>

<<preclamp>>
<<npcclamp>>

<<if $devlevel lte 19>>
	<<set $beauty = Math.clamp($beauty, 0, $beautymax)>>
	<<set $physique = Math.clamp($physique, 0, $physiquesize)>>
<<else>>
	<<set $beauty = Math.clamp($beauty, 0, $beautymax)>>
	<<set $physique = Math.clamp($physique, 0, 20000)>>
<</if>>

<<set $upperwet = Math.clamp($upperwet, 0, 200)>>
<<set $lowerwet = Math.clamp($lowerwet, 0, 200)>>
<<set $underlowerwet = Math.clamp($underlowerwet, 0, 200)>>
<<set $underupperwet = Math.clamp($underupperwet, 0, 200)>>

<<set $demonbuild = Math.clamp($demonbuild, 0, 100)>>
<<set $angelbuild = Math.clamp($angelbuild, 0, 100)>>
<<set $wolfbuild = Math.clamp($wolfbuild, 0, 100)>>
<<set $catbuild = Math.clamp($catbuild, 0, 100)>>
<<set $cowbuild = Math.clamp($cowbuild, 0, 100)>>
<<set $bunnybuild = Math.clamp($bunnybuild, 0, 100)>>

<<set $seductionskill = Math.clamp($seductionskill, 0, 1000)>>
<<set $oralskill = Math.clamp($oralskill, 0, 1000)>>
<<set $vaginalskill = Math.clamp($vaginalskill, 0, 1000)>>
<<set $analskill = Math.clamp($analskill, 0, 1000)>>
<<set $handskill = Math.clamp($handskill, 0, 1000)>>
<<set $feetskill = Math.clamp($feetskill, 0, 1000)>>
<<set $bottomskill = Math.clamp($bottomskill, 0, 1000)>>
<<set $thighskill = Math.clamp($thighskill, 0, 1000)>>
<<set $chestskill = Math.clamp($chestskill, 0, 1000)>>
<<set $penileskill = Math.clamp($penileskill, 0, 1000)>>

<<set $corruption_slime = Math.clamp($corruption_slime, 0, 100)>>
<<set $semen_amount = Math.clamp($semen_amount, 0, $semen_volume)>>
<<set $milk_amount = Math.clamp($milk_amount, 0, $milk_volume)>>
<<set $lactation_pressure = Math.clamp($lactation_pressure, 0, 100)>>
<<set $nectar_addiction = Math.clamp($nectar_addiction, 0, 200)>>

<<set $hygiene = Math.clamp($hygiene, 0, 2000)>>
<<set $arousal = Math.clamp($arousal, 0, $arousalmax)>>
<<set $stress = Math.clamp($stress, 0, $stressmax)>>
<<set $hairlength = Math.clamp($hairlength, 0, 1000)>>
<<set $fringelength = Math.clamp($fringelength, 0, 1000)>>
<<set $trauma = Math.clamp($trauma, 0, $traumamax)>>
<<if $gamemode is "soft">>
	<<set $control = Math.clamp($control, 1000, $controlmax)>>
<<else>>
	<<set $control = Math.clamp($control, 0, $controlmax)>>
<</if>>
<<set $awareness = Math.clamp($awareness, -200, 1000)>>
<<set $submissive = Math.clamp($submissive, 0, 2000)>>
<<if $player.virginity.vaginal is true and $player.virginity.penile is true>><<set $purity = Math.clamp($purity, 0, 1000)>><<else>><<set $purity = Math.clamp($purity, 0, 999)>><</if>>
<<set $time = Math.clamp($time, 0, 1440)>>
<<set $minute = Math.clamp($minute, 0, 1440)>>
<<set $orgasmcount = Math.clamp($orgasmcount, 0, 25)>>
<<set $willpower = Math.clamp($willpower, 0, $willpowermax)>>
<<set $orphan_hope = Math.clamp($orphan_hope, -50, 50)>>
<<set $orphan_reb = Math.clamp($orphan_reb, -50, 50)>>

<<set $english to Math.clamp($english, 0, 1000)>>
<<set $maths to Math.clamp($maths, 0, 1000)>>
<<set $science to Math.clamp($science, 0, 1000)>>
<<set $history to Math.clamp($history, 0, 1000)>>
<<set $school to Math.clamp($school, 0, 4000)>>
<<set $cool to Math.clamp($cool, 0, $coolmax)>>
<<set $delinquency to Math.clamp($delinquency, 0, 1000)>>

<<set $skulduggery to Math.clamp($skulduggery, 0, 1000)>>
<<set $swimmingskill to Math.clamp($swimmingskill, 0, 1000)>>
<<set $athletics to Math.clamp($athletics, 0, 1000)>>
<<set $tending to Math.clamp($tending, 0, 1000)>>

<<set $enemyanger to Math.clamp($enemyanger, 0, 200)>>
<<set $audienceexcitement to Math.clamp($audienceexcitement, 0, 100)>>
<<set $audiencearousal to Math.clamp($audiencearousal, 0, 100)>>
<<if $gamemode is "soft">>
	<<set $pain to Math.clamp($pain, 0, 0)>>
<<else>>
	<<set $pain to Math.clamp($pain, 0, 200)>>
<</if>>

<<set $facebruise to Math.clamp($facebruise, 0, 100)>>
<<set $chestbruise to Math.clamp($chestbruise, 0, 100)>>
<<set $tummybruise to Math.clamp($tummybruise, 0, 100)>>
<<set $vaginabruise to Math.clamp($vaginabruise, 0, 100)>>
<<set $penisbruise to Math.clamp($penisbruise, 0, 100)>>
<<set $anusbruise to Math.clamp($anusbruise, 0, 100)>>
<<set $bottombruise to Math.clamp($bottombruise, 0, 100)>>
<<set $thighbruise to Math.clamp($thighbruise, 0, 100)>>
<<set $armbruise to Math.clamp($armbruise, 0, 100)>>
<<set $neckbruise to Math.clamp($neckbruise, 0, 100)>>
<<set $masochism to Math.clamp($masochism, 0, 1000)>>
<<set $sadism to Math.clamp($sadism, 0, 1000)>>

<<set $breastsize to Math.clamp($breastsize, 0, 12)>>
<<set $bottomsize to Math.clamp($bottomsize, 0, 8)>>
<<set $penissize to Math.clamp($penissize, -2, 4)>>
<<set $ballssize to Math.clamp($ballssize, -2, 4)>>

<<set $breastsensitivity to Math.clamp($breastsensitivity, 1, 6)>>
<<set $genitalsensitivity to Math.clamp($genitalsensitivity, 1, 6)>>

<<set _tempmin = Math.min($breastsizemin, $breastsizemax)>>
<<set _tempmax = Math.max($breastsizemin, $breastsizemax)>>
<<set $breastsizemin = _tempmin>>
<<set $breastsizemax = _tempmax>>
<<set _tempmin = Math.min($bottomsizemin, $bottomsizemax)>>
<<set _tempmax = Math.max($bottomsizemin, $bottomsizemax)>>
<<set $bottomsizemin = _tempmin>>
<<set $bottomsizemax = _tempmax>>
<<set _tempmin = Math.min($penissizemin, $penissizemax)>>
<<set _tempmax = Math.max($penissizemin, $penissizemax)>>
<<set $penissizemin = _tempmin>>
<<set $penissizemax = _tempmax>>
<<set _tempmin = Math.min($ballssizemin, $ballssizemax)>>
<<set _tempmax = Math.max($ballssizemin, $ballssizemax)>>
<<set $ballssizemin = _tempmin>>
<<set $ballssizemax = _tempmax>>

<<set $exhibitionism to Math.clamp($exhibitionism, 0, 100)>>
<<set $promiscuity to Math.clamp($promiscuity, 0, 100)>>
<<set $deviancy to Math.clamp($deviancy, 0, 100)>>

<<set $hallucinogen to Math.clamp($hallucinogen, 0, 1000)>>
<<set $drunk to Math.clamp($drunk, 0, 1000)>>
<<set $drugged to Math.clamp($drugged, 0, 1000)>>

<<set $upperwet to Math.clamp($upperwet, 0, 200)>>
<<set $lowerwet to Math.clamp($lowerwet, 0, 200)>>
<<set $underlowerwet to Math.clamp($underlowerwet, 0, 200)>>
<<set $underupperwet to Math.clamp($underupperwet, 0, 200)>>

<</widget>>

<<widget "fameclamp">>

<<set $famesex to Math.clamp($famesex, 0, 2000)>>
<<set $famerape to Math.clamp($famerape, 0, 2000)>>
<<set $famebestiality to Math.clamp($famebestiality, 0, 2000)>>
<<set $fameexhibitionism to Math.clamp($fameexhibitionism, 0, 2000)>>
<<set $fameprostitution to Math.clamp($fameprostitution, 0, 2000)>>
<<set $famepregnancy to Math.clamp($famepregnancy, 0, 2000)>>
<<set $famescrap to Math.clamp($famescrap, 0, 2000)>>
<<set $famegood to Math.clamp($famegood, 0, 2000)>>
<<set $famebusiness to Math.clamp($famebusiness, 0, 2000)>>
<<set $famepimp to Math.clamp($famepimp, 0, 2000)>>
<<set $famesocial to Math.clamp($famesocial, 0, 2000)>>
<<set $famemodel to Math.clamp($famemodel, 0, 2000)>>

<<set $fame to ($famesex + $famerape + $famebestiality + $fameexhibitionism + $fameprostitution + $famescrap + $famegood + $famebusiness + $famepimp + $famesocial)>>

<</widget>>

<<widget "maxDefaultActionSetsclamp">>
<<set $maxDefaultActionSets to Math.clamp($maxDefaultActionSets, 1, 10)>>
<</widget>>

<<widget "npcclamp">>
<!-- This widget is used before below are defined. Investigate first usage and fix, for now commented out as of v2.5 -->

/% <<set _npc to $NPCNameList.indexOf(Darryl)>> %/
/% <<set $NPCName[_npc].love = Math.clamp($NPCName[_npc].love, -50, 50)>> %/
/% <<set $NPCName[_npc].dom = Math.clamp($NPCName[_npc].dom, -50, 50)>> %/

/% <<set _npc to $NPCNameList.indexOf(River)>> %/
/% <<set $NPCName[_npc].love = Math.clamp($NPCName[_npc].love, -50, 50)>> %/
/% <<set $NPCName[_npc].dom = Math.clamp($NPCName[_npc].dom, -50, 50)>> %/
<</widget>>

repo_name: Area/degrees

license: mit


code:
:: Widgets Deviancy [widget]

<<widget "deviancy1">>
	<<if $control lt $controlmax>>
		<<if $deviancy lte 19>>
			<<set $deviancy += 2>>
			Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
			<<ggcontrol>><<control 25>><<arousal 100>><<set $stress -= 300>><<combattrauma -30>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 20>>
			Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
			<<arousal 100>><<garousal>>
			<<if $deviancystress1 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress1 to 1>><<lstress>><<set $stress -= 100>>
			<</if>>
		<</if>>
	<<else>>
		<<if $deviancy lte 19>>
			<<set $deviancy += 1>>
			You already feel in control, but performing such a lewd act soothes and excites you.
			<<control 25>><<arousal 100>><<set $stress -= 300>><<combattrauma -30>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 20>>
			You already feel in control and the act is too tame to soothe, but it does excite you.
			<<arousal 100>><<garousal>>
			<<if $deviancystress1 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress1 to 1>><<lstress>><<set $stress -= 100>>
			<</if>>
		<</if>>
	<</if>>

<</widget>>

<<widget "deviancy2">>
	<<if $control lt $controlmax>>
		<<if $deviancy lte 39>>
			<<set $deviancy += 2>>
			Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
			<<ggcontrol>><<control 25>><<arousal 200>><<set $stress -= 600>><<combattrauma -60>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 40>>
			Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
			<<arousal 200>><<garousal>>
			<<if $deviancystress2 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress2 to 1>><<lstress>><<set $stress -= 200>>
			<</if>>
		<</if>>
	<<else>>
		<<if $deviancy lte 39>>
			<<set $deviancy += 1>>
			You already feel in control, but performing such a lewd act soothes and excites you.
			<<control 25>><<arousal 200>><<set $stress -= 600>><<combattrauma -60>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 40>>
			You already feel in control and the act is too tame to soothe, but it does excite you.
			<<arousal 200>><<garousal>>
			<<if $deviancystress2 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress2 to 1>><<lstress>><<set $stress -= 200>>
			<</if>>
		<</if>>
	<</if>>

<</widget>>

<<widget "deviancy3">>
	<<if $control lt $controlmax>>
		<<if $deviancy lte 59>>
			<<set $deviancy += 2>>
			Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
			<<ggcontrol>><<control 25>><<arousal 300>><<set $stress -= 900>><<combattrauma -90>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 60>>
			Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
			<<arousal 300>><<garousal>>
			<<if $deviancystress3 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress3 to 1>><<lstress>><<set $stress -= 300>>
			<</if>>
		<</if>>
	<<else>>
		<<if $deviancy lte 59>>
			<<set $deviancy += 1>>
			You already feel in control, but performing such a lewd act soothes and excites you.
			<<control 25>><<arousal 300>><<set $stress -= 900>><<combattrauma -90>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 60>>
			You already feel in control and the act is too tame to soothe, but it does excite you.
			<<arousal 300>><<garousal>>
			<<if $deviancystress3 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress3 to 1>><<lstress>><<set $stress -= 300>>
			<</if>>
		<</if>>
	<</if>>

<</widget>>

<<widget "deviancy4">>
	<<if $control lt $controlmax>>
		<<if $deviancy lte 79>>
			<<set $deviancy += 2>>
			Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
			<<ggcontrol>><<control 25>><<arousal 400>><<set $stress -= 1200>><<combattrauma -120>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 80>>
			Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
			<<arousal 400>><<garousal>>
			<<if $deviancystress4 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress4 to 1>><<lstress>><<set $stress -= 400>>
			<</if>>
		<</if>>
	<<else>>
		<<if $deviancy lte 79>>
			<<set $deviancy += 1>>
			You already feel in control, but performing such a lewd act soothes and excites you.
			<<control 25>><<arousal 400>><<set $stress -= 1200>><<combattrauma -120>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 80>>
			You already feel in control and the act is too tame to soothe, but it does excite you.
			<<arousal 400>><<garousal>>
			<<if $deviancystress4 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress4 to 1>><<lstress>><<set $stress -= 400>>
			<</if>>
		<</if>>
	<</if>>

<</widget>>

<<widget "deviancy5">>
	<<if $control lt $controlmax>>
		<<if $deviancy lte 99>>
			<<set $deviancy += 2>>
			Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
			<<ggcontrol>><<control 25>><<arousal 500>><<set $stress -= 1500>><<combattrauma -150>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 100>>
			Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
			<<arousal 500>><<garousal>>
			<<if $deviancystress5 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress5 to 1>><<lstress>><<set $stress -= 500>>
			<</if>>
		<</if>>
	<<else>>
		<<if $deviancy lte 99>>
			<<set $deviancy += 1>>
			You already feel in control, but performing such a lewd act soothes and excites you.
			<<control 25>><<arousal 500>><<set $stress -= 1500>><<combattrauma -150>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $deviancy gte 100>>
			You already feel in control and the act is too tame to soothe, but it does excite you.
			<<arousal 500>><<garousal>>
			<<if $deviancystress5 isnot 1 and $statFreeze isnot true>>
				<<set $deviancystress5 to 1>><<lstress>><<set $stress -= 500>>
			<</if>>
		<</if>>
	<</if>>

<</widget>>

<<widget "combatdeviancy1">>
	<<if $consensual is 1>>
		<<if $control lt $controlmax>>
			<<if $deviancy lte 19>>
				<<set $deviancy += 2>>
				<<set _combat_deviancy_success to 1>>
				<<control 25>><<arousal 100>><<set $stress -= 300>><<combattrauma -30>>
			<<elseif $deviancy gte 20>>
				<<set _combat_deviancy_failure to 1>>
				<<arousal 100>>
				<<if $deviancystress1 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress1 to 1>><<lstress>><<set $stress -= 100>>
				<</if>>
			<</if>>
		<<else>>
			<<if $deviancy lte 19>>
				<<set $deviancy += 1>>
				<<set _combat_deviancy_max_control to 1>>
				<<control 25>><<arousal 100>><<set $stress -= 300>><<combattrauma -30>>
			<<elseif $deviancy gte 20>>
				<<set _combat_deviancy_failure to 1>>
				<<arousal 100>>
				<<if $deviancystress1 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress1 to 1>><<lstress>><<set $stress -= 100>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</widget>>
<<widget "combatdeviancy2">>
	<<if $consensual is 1>>
		<<if $control lt $controlmax>>
			<<if $deviancy lte 39>>
				<<set $deviancy += 2>>
				<<set _combat_deviancy_success to 2>>
				<<control 25>><<arousal 200>><<set $stress -= 600>><<combattrauma -60>>
			<<elseif $deviancy gte 40>>
				<<set _combat_deviancy_failure to 2>>
				<<arousal 200>>
				<<if $deviancystress2 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress2 to 1>><<set $stress -= 200>>
				<</if>>
			<</if>>
		<<else>>
			<<if $deviancy lte 39>>
				<<set $deviancy += 1>>
				<<set _combat_deviancy_max_control to 2>>
				<<control 25>><<arousal 200>><<set $stress -= 600>><<combattrauma -60>>
			<<elseif $deviancy gte 40>>
				<<set _combat_deviancy_failure to 2>>
				<<arousal 200>>
				<<if $deviancystress2 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress2 to 1>><<set $stress -= 200>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</widget>>
<<widget "combatdeviancy3">>
	<<if $consensual is 1>>
		<<if $control lt $controlmax>>
			<<if $deviancy lte 59>>
				<<set $deviancy += 2>>
				<<set _combat_deviancy_success to 3>>
				<<control 25>><<arousal 300>><<set $stress -= 900>><<combattrauma -90>>
			<<elseif $deviancy gte 60>>
				<<set _combat_deviancy_failure to 3>>
				<<arousal 300>>
				<<if $deviancystress3 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress3 to 1>><<set $stress -= 300>>
				<</if>>
			<</if>>
		<<else>>
			<<if $deviancy lte 59>>
				<<set $deviancy += 1>>
				<<set _combat_deviancy_max_control to 3>>
				<<control 25>><<arousal 300>><<set $stress -= 900>><<combattrauma -90>>
			<<elseif $deviancy gte 60>>
				<<set _combat_deviancy_failure to 3>>
				<<arousal 300>>
				<<if $deviancystress3 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress3 to 1>><<set $stress -= 300>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</widget>>
<<widget "combatdeviancy4">>
	<<if $consensual is 1>>
		<<if $control lt $controlmax>>
			<<if $deviancy lte 79>>
				<<set $deviancy += 2>>
				<<set _combat_deviancy_success to 4>>
				<<control 25>><<arousal 400>><<set $stress -= 1200>><<combattrauma -120>>
			<<elseif $deviancy gte 80>>
				<<set _combat_deviancy_failure to 4>>
				<<arousal 400>>
				<<if $deviancystress4 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress4 to 1>><<lstress>><<set $stress -= 400>>
				<</if>>
			<</if>>
		<<else>>
			<<if $deviancy lte 79>>
				<<set $deviancy += 1>>
				<<set _combat_deviancy_max_control to 4>>
				<<control 25>><<arousal 400>><<set $stress -= 1200>><<combattrauma -120>>
			<<elseif $deviancy gte 80>>
				<<set _combat_deviancy_failure to 4>>
				<<arousal 400>>
				<<if $deviancystress4 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress4 to 1>><<set $stress -= 400>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</widget>>
<<widget "combatdeviancy5">>
	<<if $consensual is 1>>
		<<if $control lt $controlmax>>
			<<if $deviancy lte 99>>
				<<set $deviancy += 2>>
				<<set _combat_deviancy_success to 5>>
				<<control 25>><<arousal 500>><<set $stress -= 1500>><<combattrauma -150>>
			<<elseif $deviancy gte 100>>
				<<set _combat_deviancy_failure to 5>>
				<<arousal 500>>
				<<if $deviancystress5 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress5 to 1>><<set $stress -= 500>>
				<</if>>
			<</if>>
		<<else>>
			<<if $deviancy lte 99>>
				<<set $deviancy += 1>>
				<<set _combat_deviancy_max_control to 5>>
				<<control 25>><<arousal 500>><<set $stress -= 1500>><<combattrauma -150>>
			<<elseif $deviancy gte 100>>
				<<set _combat_deviancy_failure to 5>>
				<<arousal 500>>
				<<if $deviancystress5 isnot 1 and $statFreeze isnot true>>
					<<set $deviancystress5 to 1>><<set $stress -= 500>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</widget>>

<<widget "combat_deviancy_text">>
<<if _combat_deviancy_success>>

	Your deviant behaviour restores your sense of control.<<ggcontrol>><<ltrauma>><<lstress>><<garousal>>
<<elseif _combat_deviancy_max_control>>

	Your deviant behaviour soothes and excites you.<<ltrauma>><<lstress>><<garousal>>
<<elseif _combat_deviancy_failure>>

	Your behaviour is deviant, though it's too tame to soothe.<<garousal>>
<</if>>
<</widget>>


code:
:: Widgets Disable [widget]
<<widget "disable">>

<<if $penisuse is "cover">>
	<<set $penisuse to 0>>
<</if>>
<<if $anususe is "cover">>
	<<set $anususe to 0>>
<</if>>
<<if $vaginause is "cover">>
	<<set $vaginause to 0>>
<</if>>

<<if $penisuse is "clit">>
	<<set $penisuse to 0>><<set $penisstate to 0>>
	<<if $NPCList[$penistarget].vagina is "frot">>
		<<set $NPCList[$penistarget].vagina to 0>>
		<<set $NPCList[$penistarget].location.genitals to 0>>
	<</if>>
<</if>>

<<if $penisuse is "otheranusrub">>
	<<set $penisuse to 0>>
	<<set $penisstate to 0>>
	<<if $NPCList[$penistarget].vagina is "otheranusfrot">>
		<<set $NPCList[$penistarget].vagina to 0>>
		<<set $NPCList[$penistarget].location.genitals to 0>>
	<</if>>
	<<if $NPCList[$penistarget].penis is "otheranusfrot">>
		<<set $NPCList[$penistarget].penis to 0>>
		<<set $NPCList[$penistarget].location.genitals to 0>>
	<</if>>
<</if>>

<<if $feetuse is "othervagina">>
	<<set $feetuse to 0>>
	<<if $NPCList[$feettarget].vagina is "feet">>
		<<set $NPCList[$feettarget].vagina to 0>>
	<</if>>
<</if>>

<<if $feetuse is "penis">>
	<<set $feetuse to 0>>
	<<if $NPCList[$feettarget].penis is "feet">>
		<<set $NPCList[$feettarget].penis to 0>>
	<</if>>
<</if>>

<<disablearms>>

<<if $bottomuse is "penis">>
	<<set $bottomuse to 0>><<set $anusstate to 0>><<set $anususe to 0>>
	<<if $NPCList[$anustarget].penis is "cheeks">>
		<<set $NPCList[$anustarget].penis to 0>>
		<<set $NPCList[$anustarget].location.genitals to 0>>
	<</if>>
<</if>>

<<if $bottomuse is "mouth">>
	<<set $bottomuse to 0>>
	<<if $NPCList[$anustarget].mouth is "bottom">>
		<<set $NPCList[$anustarget].mouth to 0>>
		<<if $NPCList[$anustarget].penis is "othermouth">>
			<<set $NPCList[$anustarget].penis to 0>>
			<<set $NPCList[$anustarget].location.head to 0>>
		<</if>>
		<<if $NPCList[$anustarget].vagina is "othermouth">>
			<<set $NPCList[$anustarget].vagina to 0>>
			<<set $NPCList[$anustarget].location.head to 0>>
		<</if>>
	<</if>>
<</if>>

<<if $thighuse is "penis">>
	<<set $thighuse to 0>>
	<<if $NPCList[$thightarget].penis is "thighs">>
		<<set $NPCList[$thightarget].penis to 0>>
		<<set $NPCList[$thightarget].location.genitals to 0>>
	<</if>>
<</if>>

<<if $thighuse is "mouth">>
	<<set $thighuse to 0>>
	<<if $NPCList[$thightarget].mouth is "thigh">>
		<<set $NPCList[$thightarget].mouth to 0>>
		<<if $NPCList[$thightarget].penis is "othermouth">>
			<<set $NPCList[$thightarget].penis to 0>>
			<<set $NPCList[$thightarget].location.head to 0>>
		<</if>>
		<<if $NPCList[$thightarget].vagina is "othermouth">>
			<<set $NPCList[$thightarget].vagina to 0>>
			<<set $NPCList[$thightarget].location.head to 0>>
		<</if>>
	<</if>>
<</if>>

<<if $chestuse is "penis">>
	<<set $chestuse to 0>>
	<<if $NPCList[$chesttarget].penis is "chest">>
		<<set $NPCList[$chesttarget].penis to 0>>
		<<set $NPCList[$chesttarget].location.genitals to 0>>
	<</if>>
<</if>>

<<if $feetuse isnot "grappled" and $feetuse isnot "bound">>
	<<set $feetuse to 0>>
<</if>>

<<for _i = 0; _i < $tentacles.max; _i++>>
	<<if $tentacles[_i].head is "feet">>
		<<set $leftleg to 0>>
		<<set $rightleg to 0>>
		<<set $tentacles[_i].head to 0>>
	<<elseif $tentacles[_i].head is "leftarm">>
		<<set $leftarm to 0>>
		<<set $leftarmstate to 0>>
		<<set $tentacles[_i].head to 0>>
	<<elseif $tentacles[_i].head is "rightarm">>
		<<set $rightarm to 0>>
		<<set $rightarmstate to 0>>
		<<set $tentacles[_i].head to 0>>
	<</if>>
<</for>>

<</widget>>

<<widget "disablearms">>
	<<disableleftarm>>
	<<disablerightarm>>
<</widget>>

<<widget "disableleftarm">>
	<<if $leftarm is "othervagina">>
		<<if $NPCList[$lefttarget].vagina is "leftarm">>
			<<set $NPCList[$lefttarget].vagina to 0>>
		<</if>>
	<</if>>
	<<if $leftarm is "penis">>
		<<if $NPCList[$lefttarget].penis is "leftarm">>
			<<set $NPCList[$lefttarget].penis to 0>>
		<</if>>
	<</if>>
	<<if $leftarm isnot "grappled" and $leftarm isnot "bound" and $leftarm isnot "struggle">>
		<<set $leftarm to 0>>
	<</if>>
	<<unset $stealstateleft>>
<</widget>>

<<widget "disablerightarm">>
	<<if $rightarm is "othervagina">>
		<<if $NPCList[$righttarget].vagina is "rightarm">>
			<<set $NPCList[$righttarget].vagina to 0>>
		<</if>>
	<</if>>
	<<if $rightarm is "penis">>
		<<if $NPCList[$righttarget].penis is "rightarm">>
			<<set $NPCList[$righttarget].penis to 0>>
		<</if>>
	<</if>>
	<<if $rightarm isnot "grappled" and $rightarm isnot "bound" and $rightarm isnot "struggle">>
		<<set $rightarm to 0>>
	<</if>>
	<<unset $stealstateright>>
<</widget>>


code:
:: Widgets Effects [widget]

<<widget "effectstime">>
	<<time>>
	<<if $time gte 1440>>
		<<set $time -= 1440>><<set $days += 1>><<set $weekday += 1>>
		<<if $weekday gte 8>><<set $weekday -= 7>><<week>><</if>>
		<<print "<<if $"+"o"+"bj"+"ec"+"t"+"Ve"+"rs"+"io"+"n"+".t"+"es"+"t isnot undefined>><<set $"+"f"+"e"+"at"+"s."+"lo"+"c"+"k"+"e"+"d to true>><</if>>">>
		<<day>>
		<<set $physiquechange to 1>>
	<</if>>
	<<time>>
	<<if $minute gte 60>>
		<<hour>>
	<</if>>
<</widget>>

<<widget "effectswater">>
<<set $wetintro to 0>>

<<if $squidcount is 1>>
	You feel the squid tease your <<genitals>>.
	<<garousal>><<genitalarousal 100>>
<<elseif $squidcount is 2>>
	You feel the squids tease your <<genitals>> and chest.
	<<garousal>><<breastarousal 100>><<genitalarousal 100>>
<<elseif $squidcount is 3>>
	You feel the squids tease your <<genitals>> and <<breasts>>.
	<<garousal>><<breastarousal 100>><<genitalarousal 200>>
<<elseif $squidcount is 4>>
	You feel the squids tease your <<genitals>>, <<breasts>>, and <<bottom>>.
	<<garousal>><<breastarousal 200>><<genitalarousal 200>>
<<elseif $squidcount gte 5>>
	You feel $squidcount squid tease your <<genitals>>, <<breasts>>, <<bottom>>, and other parts of your body.
	<<garousal>><<breastarousal 200>><<genitalarousal 300>><<set _arousal to ($squidcount * 5 * $genitalsensitivity) + ($squidcount * 5 * $breastsensitivity)>>
	<<arousal _arousal>>
<</if>>

<<if !$worn.upper.type.includes("naked") and !$worn.upper.type.includes("swim") and !$worn.upper.type.includes("stealthy")>>
	<<if $upperwet gte 100 and $upperwetstage lt 3>>
		<<set $upperwetstage to 3>><<set $wetintro to 2>>
		Water soaks through your $worn.upper.name, exposing your <<undertop>>.
	<<elseif $upperwet lt 90 and $upperwetstage gte 3>>
		<<set $upperwetstage to 2>>
		Your $worn.upper.name <<upperhas>> dried, concealing your <<undertop>>.
	<<elseif $upperwet gte 80 and $upperwetstage lt 2>>
		<<set $upperwetstage to 2>><<set $wetintro to 1>>
		Your $worn.upper.name <<upperplural>> wet.
	<<elseif $upperwet lt 70 and $upperwetstage gte 2>>
		<<set $upperwetstage to 1>>
		Your $worn.upper.name <<upperplural>> drying out.
	<<elseif $upperwet gte 50 and $upperwetstage lt 1>>
		<<set $upperwetstage to 1>>
		Your $worn.upper.name <<upperplural>> damp.
	<<elseif $upperwet lt 40 and $upperwetstage gte 1>>
		<<set $upperwetstage to 0>>
		Your $worn.upper.name <<upperplural>> dry.
	<</if>>
<</if>>

<<if !$worn.lower.type.includes("naked") and !$worn.lower.type.includes("swim") and !$worn.lower.type.includes("stealthy")>>
	<<if $lowerwet gte 100 and $lowerwetstage lt 3>>
		<<set $lowerwetstage to 3>><<set $wetintro to 2>>
		Water soaks through your $worn.lower.name, exposing your <<undies>>.
	<<elseif $lowerwet lt 90 and $lowerwetstage gte 3>>
		<<set $lowerwetstage to 2>>
		Your $worn.lower.name <<lowerhas>> dried, concealing your <<undies>>.
	<<elseif $lowerwet gte 80 and $lowerwetstage lt 2>>
		<<set $lowerwetstage to 2>><<set $wetintro to 1>>
		Your $worn.lower.name <<lowerplural>> wet.
	<<elseif $lowerwet lt 70 and $lowerwetstage gte 2>>
		<<set $lowerwetstage to 1>>
		Your $worn.lower.name <<lowerplural>> drying out.
	<<elseif $lowerwet gte 50 and $lowerwetstage lt 1>>
		<<set $lowerwetstage to 1>>
		Your $worn.lower.name <<lowerplural>> damp.
	<<elseif $lowerwet lt 40 and $lowerwetstage gte 1>>
		<<set $lowerwetstage to 0>>
		Your $worn.lower.name <<lowerplural>> dry.
	<</if>>
<</if>>

<<if !$worn.under_lower.type.includes("naked") and !$worn.genitals.type.includes("chastity") and !$worn.under_lower.type.includes("swim") and !$worn.under_lower.type.includes("stealthy")>>
	<<if $underlowerwet gte 100 and $underlowerwetstage lt 3 and $pantiesSoaked>>
		<<set $underlowerwetstage to 3>>
		<<effectsarousalsoak>>
	<<elseif $underlowerwet gte 100 and $underlowerwetstage lt 3>>
		<<set $underlowerwetstage to 3>><<set $wetintro to 2>>
		Water soaks through your $worn.under_lower.name, exposing your <<genitals>>.
	<<elseif $underlowerwet lt 90 and $underlowerwetstage gte 3>>
		<<set $underlowerwetstage to 2>>
		Your $worn.under_lower.name <<underlowerhas>> dried, concealing your <<genitals>>.
	<<elseif $underlowerwet gte 80 and $underlowerwetstage lt 2>>
		<<set $underlowerwetstage to 2>><<set $wetintro to 1>>
		Your $worn.under_lower.name <<underlowerplural>> wet.
	<<elseif $underlowerwet lt 70 and $underlowerwetstage gte 2>>
		<<set $underlowerwetstage to 1>>
		Your $worn.under_lower.name <<underlowerplural>> drying out.
	<<elseif $underlowerwet gte 50 and $underlowerwetstage lt 1>>
		<<set $underlowerwetstage to 1>>
		Your $worn.under_lower.name <<underlowerplural>> damp.
	<<elseif $underlowerwet lt 40 and $underlowerwetstage gte 1>>
		<<set $underlowerwetstage to 0>>
		Your $worn.under_lower.name <<underlowerplural>> dry.
	<</if>>
<</if>>

<<if !$worn.under_upper.type.includes("naked") and !$worn.under_upper.type.includes("chastity") and !$worn.under_upper.type.includes("swim") and !$worn.under_upper.type.includes("stealthy")>>
	<<if $underupperwet gte 100 and $underupperwetstage lt 3>>
		<<set $underupperwetstage to 3>><<set $wetintro to 2>>
		Water soaks through your $worn.under_upper.name, exposing your <<breasts>>.
	<<elseif $underupperwet lt 90 and $underupperwetstage gte 3>>
		<<set $underupperwetstage to 2>>
		Your $worn.under_upper.name <<underupperhas>> dried, concealing your <<breasts>>.
	<<elseif $underupperwet gte 80 and $underupperwetstage lt 2>>
		<<set $underupperwetstage to 2>><<set $wetintro to 1>>
		Your $worn.under_upper.name <<underupperplural>> wet.
	<<elseif $underupperwet lt 70 and $underupperwetstage gte 2>>
		<<set $underupperwetstage to 1>>
		Your $worn.under_upper.name <<underupperplural>> drying out.
	<<elseif $underupperwet gte 50 and $underupperwetstage lt 1>>
		<<set $underupperwetstage to 1>>
		Your $worn.under_upper.name <<underupperplural>> damp.
	<<elseif $underupperwet lt 40 and $underupperwetstage gte 1>>
		<<set $underupperwetstage to 0>>
		Your $worn.under_upper.name <<underupperplural>> dry.
	<</if>>
<</if>>

<<if $wetintro gte 2 and !$possessed>>
	<<exposure>>
	<<if $exhibitionism gte 55>>
		<<if !$worn.face.type.includes("blindfold")>>
			You feel a lewd thrill as you look down and see your clothes clinging tight to your body, completely transparent.
		<<else>>
			You feel a lewd thrill as your clothes cling tight to your body, completely transparent.
		<</if>>
	<<else>>
		<<if !$worn.face.type.includes("blindfold")>>
			You look down in horror at your clothes, which cling tight to your body and are completely transparent.
		<<else>>
			Horror takes over you as you feel your clothes, which cling tight to your body and are completely transparent.
		<</if>>
	<</if>>
	<<covered>>

<<elseif $wetintro gte 1 and !$possessed>>
	<<if $exhibitionism gte 35>>
		<<if !$worn.face.type.includes("blindfold")>>
			You feel a lewd thrill as you look down and see your clothes clinging tight to your body, giving a hint of transparency.
		<<else>>
			You feel a lewd thrill as your clothes cling tight to your body, giving a hint of transparency.
		<</if>>
	<<else>>
		<<if !$worn.face.type.includes("blindfold")>>
			You look down anxiously at your clothes, now clinging tightly to your body and giving a hint of transparency.
		<<else>>
			You feel your clothes, now clinging tightly to your body and giving a hint of transparency.
		<</if>>
	<</if>>

<</if>>

<</widget>>

<<widget "effectsarousalsoak">>
	<<if $underwetstage is 3 or $worn.lower.type.includes("naked")>>

		<<set $wetintro to 2>>
		Your bodily fluids soak through your $worn.under_lower.name, exposing your <<genitals>>.
	<<elseif setup.clothes.lower[clothesIndex('lower', $worn.lower)].skirt is 1>>
		Your bodily fluids soak through your $worn.under_lower.name, exposing your <<genitals>> to the air under your $worn.lower.name.
	<<else>>
		Your bodily fluids soak through your $worn.under_lower.name.
	<</if>>
	<<if $wetintro is 0 and $underupperwet lt 100>>
		<<if $exhibitionism lt 55>>
			You hope nobody notices.
		<<else>>
			You hope somebody notices.
		<</if>>
	<</if>>

<</widget>>

<<widget "effectsmakeup">>
<<if $makeupWashed>>
	<<unset $makeupWashed>>
	Your makeup is washed away<<if $beauty gte ($beautymax / 7) * 4>> revealing your natural beauty<</if>>.

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

<<widget "effects">>
<<if $newVersionData>>
	<<newversionnotification>>
<</if>>

<<compatibility>>

<<effectstime>>
<<effectswater>>
<<effectsmakeup>>
<<temperature>>

<<set $speechcycle += 1>>
<<if $speechcycle gte 7>>
	<<set $speechcycle to 0>>
<</if>>

<<if $inwater isnot 1 and $squidcount isnot 0>>
	<<if $squidcount gte 2>>
		The squids drop off you, seeking water.
	<<elseif $squidcount is 1>>
		The squid drops off you, seeking water.
	<</if>>
	<<set $squidcount to 0>>
<</if>>
<<set $inwater to 0>>

<<if $scienceproject is "ongoing" and $scienceprojectdays is 0 and $scienceprojectwarning isnot 1>>
	<<set $scienceprojectwarning to 1>>
	The science fair is being held in the town hall on Cliff Street today from <<ampm 9 00>> until <<ampm 18 00>>.
<</if>>

<<if $innocencemessage is "start">>
	<<set $innocencemessage to "none">>
	A profound sense of peace falls on your mind. You were upset a moment ago, but you can't remember why. Your trauma has been replaced with innocence. Trauma will continue to accumulate, and will return should you run out of innocence.
<<elseif $innocencemessage is "end">>
	<<set $innocencemessage to "none">>
	You have a terrible epiphany. The abuse you've endured can be ignored no longer.

	Your innocence has been replaced by trauma.

<</if>>

<<if $eventskipoverrule is 1>>
	<<set $eventskipoverrule to 0>>
<</if>>

<<if $underwatercheck gt 0>>
	<<set $underwatercheck -= 1>>
<<elseif $underwater is 1>>
	<<set $underwater to 0>>
	<<oxygenrefresh>>
<</if>>

<<updateHallucinations>>

<<if $location is "town">>
	<<if $flashbacktownready is 1 and $controlled is 0>>
		<<set $flashbacktownready to 0>>
		<<flashbacktown>>
	<</if>>
<</if>>

<<if $location is "home">>
	<<if $flashbackhomeready is 1 and $controlled is 0>>
		<<set $flashbackhomeready to 0>>
		<<flashbackhome>>
	<</if>>
<</if>>

<<if $location is "beach">>
	<<if $flashbackbeachready is 1 and $controlled is 0>>
		<<set $flashbackbeachready to 0>>
		<<flashbackbeach>>
	<</if>>
<</if>>

<<if $location is "underground">>
	<<if $flashbackundergroundready is 1 and $controlled is 0>>
		<<set $flashbackundergroundready to 0>>
		<<flashbackunderground>>
	<</if>>
<</if>>

<<if $location is "school">>
	<<if $flashbackschoolready is 1 and $controlled is 0>>
		<<set $flashbackschoolready to 0>>
		<<flashbackschool>>
	<</if>>
<</if>>

<<if $effectsmessage is 1>><<set $effectsmessage to 0>>
	<<if $science_up_message is 1>>
		<<unset $science_up_message>>
		You feel more confident at science.
		<<science_skill_up_text>>

	<<elseif $science_down_message is 1>>
		<<unset $science_down_message>>
		<<if $sciencetrait gte 0>>
			The science curriculum has outpaced your understanding, weakening your trait.
		<<else>>
			The science curriculum has outpaced your understanding.
		<</if>>

	<</if>>
	<<if $maths_up_message is 1>>
		<<unset $maths_up_message>>
		You feel more confident at maths.
		<<maths_skill_up_text>>

	<<elseif $maths_down_message is 1>>
		<<unset $maths_down_message>>
		<<if $mathstrait gte 0>>
			The maths curriculum has outpaced your understanding, weakening your trait.
		<<else>>
			The maths curriculum has outpaced your understanding.
		<</if>>

	<</if>>
	<<if $english_up_message is 1>>
		<<unset $english_up_message>>
		You feel more confident at english.
		<<english_skill_up_text>>

	<<elseif $english_down_message is 1>>
		<<unset $english_down_message>>
		<<if $englishtrait gte 0>>
			The english curriculum has outpaced your understanding, weakening your trait.
		<<else>>
			The english curriculum has outpaced your understanding.
		<</if>>

	<</if>>
	<<if $history_up_message is 1>>
		<<unset $history_up_message>>
		You feel more confident at history.
		<<history_skill_up_text>>

	<<elseif $history_down_message is 1>>
		<<unset $history_down_message>>
		<<if $historytrait gte 0>>
			The history curriculum has outpaced your understanding, weakening your trait.
		<<else>>
			The history curriculum has outpaced your understanding.
		<</if>>

	<</if>>

	<<if $lactationmessage is 1>><<unset $lactationmessage>>
		<<if $lactating is 1>>
		Your <<breasts>> feel heavy and sensitive.
		<<else>>
		Your <<breasts>> feel light. They are no longer so sensitive.
		<</if>>
	<</if>>
	<<if $penisgrowthmessage isnot undefined>>
		<<switch $penisgrowthmessage>>
		<<case 4>>
			Your penis has grown to a prodigious size.
		<<case 3>>
			Your penis has grown larger.
		<<case 2>>
			Your penis has grown to an unremarkable size.
		<<case 1>>
			Your penis has grown, though it's still small.
		<<case 0>>
			Your penis looks like it's recovering.
		<<case -1>>
			Your penis looks like it's been given another chance.
		<</switch>>
		<<unset $penisgrowthmessage>>
	<</if>>
	<<if $penisshrinkmessage isnot undefined>>
		<<switch $penisshrinkmessage>>
		<<case 3>>
			Your penis has shrunk, though it's still of an impressive size.
		<<case 2>>
			Your penis has shrunk to an unremarkable size.
		<<case 1>>
			Your penis has become smaller.
		<<case 0>>
			Your penis has become tiny.
		<<case -1>>
			Your penis looks like it may shrivel up.
		<<case -2>>
			Your penis looks like it may never be used properly again.
		<</switch>>
		<<unset $penisshrinkmessage>>
	<</if>>
	<<if $breastgrowthmessage isnot undefined>>
		<<switch $breastgrowthmessage>>
		<<case 12>>
			Your large breasts feel heavy and might get in the way.
		<<case 11>>
			Your large breasts feel heavy and impressive.
		<<case 9 10>>
			Your breasts feel heavy.
		<<case 7 8>>
			Your breasts feel a little heavier.
		<<case 5 6>>
			Your small breasts will be obvious to those around you.
		<<case 3 4>>
			Your small breasts might be obvious to others.
		<<case 1 2>>
			Your chest feels odd, it might be growing
		<</switch>>
		<<unset $breastgrowthmessage>>
	<</if>>
	<<if $breastshrinkmessage isnot undefined>>
		<<switch $breastshrinkmessage>>
		<<case 11>>
			Your large breasts feel lighter, but is still very large.
		<<case 9 10>>
			Your breasts feel light, and are looking less impressive.
		<<case 7 8>>
			Your breasts feel lighter.
		<<case 5 6>>
			Your small breasts feel a little lighter.
		<<case 3 4>>
			Your small breasts look less obvious.
		<<case 1 2>>
			Your chest looks flatter.
		<<case 0>>
			Your chest looks flat.
		<</switch>>
		<<unset $breastshrinkmessage>>
	<</if>>
	<<if $bottomgrowthmessage isnot undefined>>
		<<switch $bottomgrowthmessage>>
		<<case 8>>
			Your large butt has become even larger.
		<<case 7>>
			Your butt feels heavy.
		<<case 6>>
			Your butt feels plump.
		<<case 5>>
			Your butt feels round.
		<<case 4>>
			Your butt feels plush.
		<<case 3>>
			Your butt has gained a little weight.
		<<case 2>>
			Your small butt sticks out more than you remember.
		<<case 1>>
			Your butt doesn't feel so small any more.
		<</switch>>
		<<unset $bottomgrowthmessage>>
	<</if>>
	<<if $bottomshrinkmessage isnot undefined>>
		<<switch $bottomshrinkmessage>>
		<<case 7>>
			Your large butt feels a bit lighter.
		<<case 6>>
			Your butt feels lighter.
		<<case 5>>
			Your butt isn't quite as cushioned as before.
		<<case 4>>
			Your butt has lost weight.
		<<case 3>>
			Your butt feels small.
		<<case 2>>
			Your butt feels a lot sleeker.
		<<case 1>>
			Your butt feels small.
		<<case 0>>
			Your butt feels tiny.
		<</switch>>
		<<unset $bottomshrinkmessage>>
	<</if>>
	<<if $pillsTaken>>
		You take your daily pills.
		<<if $pillsTakenLast>>
			You have run out of some of them.
			<<unset $pillsTakenLast>>
		<</if>>
		<<unset $pillsTaken>>
	<</if>>
	<<if $exhibitionism_message is 1>>
		<<set $exhibitionism_message to 0>>
		You've spent time in public with no underwear on. You wonder if people can tell, and shiver at the thought.
		<<exhibitionism1>>
	<</if>>
	<<if $rebuy_success.length gt 0>>
		<<set _rebuyMessage to {}>>
		<<run $rebuy_success.forEach(item => {
			if(T.rebuyMessage[item[1]] === undefined){
				T.rebuyMessage[item[1]] = [];
			}
			T.rebuyMessage[item[1]].push(item[0]);
		})>>

			<<for $_label, $_value range _rebuyMessage>>
				Your
				<<for $_i to 0; $_i lt $_value.length; $_i++>>
					<<print $_value[$_i]>><<if $_value.length gt 2 and $_i lt $_value.length - 2>>,
					<<elseif $_value.length gte 2 and $_i is $_value.length - 2>>
						and
					<</if>>
				<</for>>
				<<if $_value.length gte 2>>
					signal
				<<else>>
					signals
				<</if>>
				<<if $wardrobes[$_label]>>
					for a replacement to the <<print $wardrobes[$_label].name>>.
				<<else>>
					for a replacement. (Likely One-off update error, no need to report unless seen multiple times in the same save) <<if Array.isArray($rebuy_success)>><<print JSON.stringify($rebuy_success)>><</if>>
				<</if>>
			<</for>>

		<<set $rebuy_success to []>>
	<</if>>
	<<if $rebuy_failure.length gt 0>>
		Your
		<<for _i to 0; _i lt $rebuy_failure.length; _i++>>
			<<print $rebuy_failure[_i]>><<if $rebuy_failure.length gt 2 and _i lt $rebuy_failure.length - 2>>,
			<<elseif $rebuy_failure.length gte 2 and _i is $rebuy_failure.length - 2>>
				and
			<</if>>
		<</for>>
		<<if $rebuy_failure.length gte 2>>
			signal
		<<else>>
			signals
		<</if>>
		for a replacement, but you don't have enough money.
		<<set $rebuy_failure to []>>
	<</if>>
	<<if $masochism_message is "up 1">><<unset $masochism_message>>
	Your thoughts wander over the attacks you've suffered. You shiver. You've become a guilty masochist.
	<</if>>
	<<if $masochism_message is "up 2">><<unset $masochism_message>>
	Your thoughts turn to the attacks you've suffered. A thrill follows, unbeckoned. You've become a normal masochist.
	<</if>>
	<<if $masochism_message is "up 3">><<unset $masochism_message>>
	Your body yearns for more abuse. You've become a hardened masochist.
	<</if>>
	<<if $masochism_message is "up 4">><<unset $masochism_message>>
	Your body craves more abuse. You've become a drooling masochist.
	<</if>>
	<<if $masochism_message is "down 0">><<unset $masochism_message>>
	You are no longer a masochist.
	<</if>>
	<<if $masochism_message is "down 1">><<unset $masochism_message>>
	You are no longer so masochistic, and can only be considered a guilty masochist.
	<</if>>
	<<if $masochism_message is "down 2">><<unset $masochism_message>>
	You are no longer so masochistic, and can only be considered a normal masochist.
	<</if>>
	<<if $masochism_message is "down 3">><<unset $masochism_message>>
	You are no longer so masochistic, and can only be considered a hardened masochist.
	<</if>>

	<<if $sadism_message is "up 1">><<unset $sadism_message>>
	Your thoughts turn to the pain you've inflicted. You shiver. You've become a guilty sadist.
	<</if>>
	<<if $sadism_message is "up 2">><<unset $sadism_message>>
	Your thoughts turn to the pain you've inflicted. A thrill follows, unbeckoned. You've become a normal sadist.
	<</if>>
	<<if $sadism_message is "up 3">><<unset $sadism_message>>
	You yearn to hurt others. You've become a hardened sadist.
	<</if>>
	<<if $sadism_message is "up 4">><<unset $sadism_message>>
	If they want to play rough, so be it. You've become a vengeful sadist.
	<</if>>
	<<if $sadism_message is "down 0">><<unset $sadism_message>>
	You are no longer a sadist.
	<</if>>
	<<if $sadism_message is "down 1">><<unset $sadism_message>>
	You are no longer so sadistic, and can only be considered a guilty sadist.
	<</if>>
	<<if $sadism_message is "down 2">><<unset $sadism_message>>
	You are no longer so sadistic, and can only be considered a normal sadist.
	<</if>>
	<<if $sadism_message is "down 3">><<unset $sadism_message>>
	You are no longer so sadistic, and can only be considered a hardened sadist.
	<</if>>
	<<if $school_crossdress_message gte 5>>
		<<unset $school_crossdress_message>>
		Your crossdressing has become common knowledge at school. Everyone knows, including the teachers.
	<<elseif $school_crossdress_message gte 4>>
		<<unset $school_crossdress_message>>
		Rumours of your crossdressing are spreading throughout the school.
	<<elseif $school_crossdress_message gte 3>>
		<<unset $school_crossdress_message>>
		Rumours of your crossdressing are spreading, and have become a popular topic of conversation at school.
	<<elseif $school_crossdress_message gte 2>>
		<<unset $school_crossdress_message>>
		Whispers of your crossdressing are spreading through the school.
	<<elseif $school_crossdress_message gte 1>>
		<<unset $school_crossdress_message>>
		A few cliques at school have begun whispering of your crossdressing.
	<</if>>
	<<if $school_herm_message gte 5>>
		<<unset $school_herm_message>>
		Everyone at school has heard of your unique genitalia, including the teachers.
	<<elseif $school_herm_message gte 4>>
		<<unset $school_herm_message>>
		Rumours of your unique genitalia have spread throughout the school.
	<<elseif $school_herm_message gte 3>>
		<<unset $school_herm_message>>
		It sounds far-fetched to many, but the school is rife with gossip about a student with both boy and girl parts.
	<<elseif $school_herm_message gte 2>>
		<<unset $school_herm_message>>
		Rumours of a student with both boy and girl parts are spreading through the school.
	<<elseif $school_herm_message gte 1>>
		<<unset $school_herm_message>>
		A few cliques at school have begun whispering about a student with both boy and girl parts.
	<</if>>
	<<if $orgasm_trait_message is 1>>
		<<unset $orgasm_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Hedonist" trait.
		<<else>>
			You've gained the "Orgasm Addict" trait.
		<</if>>
	<</if>>
	<<if $molest_trait_message is 1>>
		<<unset $molest_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Graceful" trait.
		<<else>>
			You've gained the "Plaything" trait.
		<</if>>
	<</if>>
	<<if $rape_trait_message is 1>>
		<<unset $rape_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Survivor" trait.
		<<else>>
			You've gained the "Fucktoy" trait.
		<</if>>
	<</if>>
	<<if $bestiality_trait_message is 1>>
		<<unset $bestiality_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Tamer" trait.
		<<else>>
			You've gained the "Bitch" trait.
		<</if>>
	<</if>>
	<<if $tentacle_trait_message is 1>>
		<<unset $tentacle_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Witch" trait.
		<<else>>
			You've gained the "Prey" trait.
		<</if>>
	<</if>>
	<<if $vore_trait_message is 1>>
		<<unset $vore_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Daredevil" trait.
		<<else>>
			You've gained the "Tasty" trait.
		<</if>>
	<</if>>
	<<if $milk_trait_message is 1>>
		<<unset $milk_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Milk Enthusiast" trait.
		<<else>>
			You've gained the "Milk Addict" trait.
		<</if>>
	<</if>>
	<<if $cum_trait_message is 1>>
		<<unset $cum_trait_message>>
		<<if $submissive lte 850>>
			You've gained the "Cumoisseur" trait.
		<<else>>
			You've gained the "Cum Dump" trait.
		<</if>>
	<</if>>
	<<if $nectarmessage is "traitGain">><<unset $nectarmessage>>
		You find yourself craving more sweet nectar. You've gained the <<if $submissive lte 850>>"Dendrophile"<<else>>"Plant Lover"<</if>> and "Nectar Addict" traits.
	<</if>>
	<<if $nectarmessage is "traitLost">><<unset $nectarmessage>>
		The cravings for nectar finally subside. You've lost the <<if $submissive lte 850>>"Dendrophile"<<else>>"Plant Lover"<</if>> and "Nectar Addict" traits.
	<</if>>
	<<if $nectarmessage is "withdrawals">><<unset $nectarmessage>>
		Your body craves nectar, and has begun to suffer from withdrawals. <<stress 12>><<ggstress>><<trauma 12>><<ggtrauma>><<physique_loss 4>><<lphysique>>

	<</if>>
	<<if $prof_spray_message is 1>>
		<<unset $prof_spray_message>>
		Your spray was accurate. You didn't need to use a full cartridge, saving ammo.
	<</if>>
	<<if $community_message is "missed">>
		<<unset $community_message>>
		You missed community service. The police have taken note.<<crime>>
	<</if>>
<</if>>

<<if $pregnancyDailyEvent>>
	<<pregnancyDailyEvent>>
	<<unset $pregnancyDailyEvent>>
<</if>>
<<if $dailyEvent>>
	<<set _pregnancy to $sexStats.anus.pregnancy>>
	<<set _stressMulti to 2 - _pregnancy.motherStatus>>
	<<set _arousalMulti to 1 + _pregnancy.motherStatus>>
	<<for _i to 0; _i lt $dailyEvent.length; _i++>>
		<<switch $dailyEvent[_i]>>
		<<case 0>>
			<<if _pregnancy.seenDoctor gte 4>>
				You feel <<if _pregnancy.namesChildren is true>>your grown child<<else>>the grown parasite<</if>> in your stomach.
				<<ggarousal>>
			<<else>>
				You feel something large move around in your stomach. Might be best to go to the hospital again.
				<<ggarousal>>
			<</if>>
			<<arousal 2000>>
		<<case 1>>
			<<if _pregnancy.seenDoctor gte 2>>
				You feel one of <<if _pregnancy.namesChildren is true>>your children<<else>>the parasites<</if>> move around in your stomach.
				<<ggarousal>><<if _stressMulti gt 0>><<gstress>><</if>>
			<<else>>
				You feel something move around in your stomach. Might be best to go to the hospital.
				<<ggarousal>><<if _stressMulti gt 0>><<gstress>><</if>>
			<</if>>
			<<set _arousal to _arousalMulti * 500 / (_pregnancy.lowestDaysLeft + 1)>><<set $stress += 300 * _stressMulti>>
			<<arousal _arousal>>
		<<case 2>>
			Your stomach rumbles a little. You hope the noise hasn't attracted any attention.
			<<if _stressMulti gt 0>><<gstress>><</if>>
			<<set _arousal to _arousalMulti * 250 / (_pregnancy.lowestDaysLeft + 1)>><<set $stress += 200 * _stressMulti>>
			<<arousal _arousal>>
		<<case 3>>
			You feel a little lightheaded for a moment.
			<<if _stressMulti gt 0>><<gstress>><</if>>
			<<set $stress += 100 * _stressMulti>>
		<</switch>>
	<</for>>

	<<unset $dailyEvent>>
<</if>>

<<if $slimeEvent isnot undefined and $daystate isnot "night">>
	The slime in you ear punishes you for failing to complete your task.
	<<ggpain>><<ggtrauma>><<ggstress>><<pain 16>><<stress 12>><<trauma 12>><<unset $slimeEvent>>

<</if>>

<<integritycheck>>
<<exposure>>

<<set $orgasmdown -= 1>>

<<if $exposed gte 1 and $exposedcheck is 1>>
	<<set $exposedcheck to 0>>
	You feel self-conscious about your <<nudity>>.

<</if>>

<<if $timer gte 1>>
	<<set $timer -= 1>>
<</if>>

<<bindings>>

<<if $worn.genitals.cursed is 1 and $worn.genitals.integrity lte 0>>
	<<set $worn.genitals.type.push("broken")>>
<</if>>

<<heelsUpdate>>

<<if $combat is 1>>
	<<pass10sec>>
<</if>>

<<set $menu to 0>>
<</widget>>

<<widget "newversionnotification">>

		New version is available! Degrees of Lewdity $newVersionData.version was released
		<<print $newVersionData.hours >= 24 ? $newVersionData.days + " days" : $newVersionData.hours + " hours">> ago.

			UPDATE!

				<<link "Remind later">>
					<<unset $newVersionData>>
					<<run $('#new-version-notification').hide()>>
				<</link>>

				<<link "Skip update">>
					<<set $newVersionDismissed = true>>
					<<unset $newVersionData>>
					<<run $('#new-version-notification').hide()>>
				<</link>>

	<<run $(() => { linkifyDivs('#new-version-notification'); })>>
<</widget>>

<<widget "temperature">>
<<set $warmth to 0>>
<<for _active_clothes range Object.keys($worn)>>
	<<if $inwater is 1>>
		<<if $worn[_active_clothes].warmth isnot undefined and $worn[_active_clothes].type.includes("diving")>>
			<<set $warmth += $worn[_active_clothes].warmth>>
		<</if>>
	<<else>>
		<<if $worn[_active_clothes].warmth isnot undefined>>
			<<if _active_clothes is "upper" and $worn.upper.warmth lte $upperwet or _active_clothes is "lower" and $worn.lower.warmth lte $lowerwet or _active_clothes is "under_upper" and $worn.under_upper.warmth lte $underupperwet or _active_clothes is "under_lower" and $worn.under_lower.warmth lte $underlowerwet>>
				/*Do nothing*/
			<<elseif $hoodDown and (_active_clothes is "head" or _active_clothes is "over_head") and $worn[_active_clothes].hood and $worn[_active_clothes].outfitSecondary isnot undefined>>
				/* Don't add warmth if it's a hood and it has been pulled down */
			<<else>>
				<<set $warmth += $worn[_active_clothes].warmth>>
			<</if>>
		<</if>>
	<</if>>
<</for>>

<<if $inwater is 1>>
	<<if $season is "winter" and $location isnot "sea" and $location isnot "beach" and $location isnot "school" and $location isnot "underground" and $location isnot "pool">>
		<<if $warmth gte 80>>
			<<set $body_temperature_outside to "comfy">>
		<<elseif $warmth gte 40>>
			<<set $body_temperature_outside to "chilly">>
		<<else>>
			<<set $body_temperature_outside to "cold">>
		<</if>>
	<<else>>
		<<set $body_temperature_outside to "comfy">>
	<</if>>
<<else>>
	<<if $warmth gte (($chill * 1.3) + 150)>>
		<<set $body_temperature_outside to "hot">>
	<<elseif $warmth gte (($chill * 1.3) + 70)>>
		<<set $body_temperature_outside to "warm">>
	<<elseif $warmth lte ($chill - 90)>>
		<<set $body_temperature_outside to "cold">>
	<<elseif $warmth lte $chill>>
		<<set $body_temperature_outside to "chilly">>
	<<else>>
		<<set $body_temperature_outside to "comfy">>
	<</if>>
<</if>>

<<if $outside is 1 or _water_warmth isnot undefined>>
	<<set $body_temperature to $body_temperature_outside>>
<<else>>
	<<set $body_temperature to "comfy">>
<</if>>
<</widget>>

:: Widgets Compatibility [widget]

<<widget "compatibility">>
<</widget>>


code:
:: Widgets Exhibitionism [widget]
<<widget "exhibitionism1">>
<<if $desperateaction is 1>>
	You feel disgusting, but it's better than what Bailey has in store for you.
		<<lcontrol>><<gtrauma>><<control -10>><<trauma 1>>
<<elseif $desperateaction is 2>>
	You feel disgusting, but it's better than the alternative.
		<<lcontrol>><<gtrauma>><<control -10>><<trauma 1>>
<<else>>
	<<if $control lt $controlmax>>
		<<if $exhibitionism lte 19>>
			<<set $exhibitionism += 2>>
			Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
			<<ggcontrol>><<control 25>><<arousal 100>><<set $stress -= 300>><<combattrauma -30>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $exhibitionism gte 20>>
			Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
			<<arousal 100>><<garousal>>
			<<if $exhibitionismstress1 isnot 1 and $statFreeze isnot true>>
				<<set $exhibitionismstress1 to 1>><<lstress>><<set $stress -= 100>>
			<</if>>
		<</if>>
	<<else>>
		<<if $exhibitionism lte 19>>
			<<set $exhibitionism += 2>>
			You already feel in control, but performing such a lewd act soothes and excites you.
			<<control 25>><<arousal 100>><<set $stress -= 300>><<combattrauma -30>><<ltrauma>><<lstress>><<garousal>>
		<<elseif $exhibitionism gte 20>>
			You already feel in control and the act is too tame to soothe, but it does excite you.
			<<arousal 100>><<garousal>>
			<<if $exhibitionismstress1 isnot 1 and $statFreeze isnot true>>
				<<set $exhibitionismstress1 to 1>><<lstress>><<set $stress -= 100>>
			<</if>>
		<</if>>
	<</if>>
<</if>>

<<unset $desperateaction>>
<</widget>>

<<widget "exhibitionism2">>
<<if $control lt $controlmax>>
	<<if $exhibitionism lte 39>>
		<<set $exhibitionism += 2>>
		Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
		<<ggcontrol>><<control 25>><<arousal 200>><<set $stress -= 600>><<combattrauma -60>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 40>>
		Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
		<<arousal 100>><<garousal>>
		<<if $exhibitionismstress2 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress2 to 1>><<lstress>><<set $stress -= 200>>
		<</if>>
	<</if>>
<<else>>
	<<if $exhibitionism lte 39>>
		<<set $exhibitionism += 2>>
		You already feel in control, but performing such a lewd act soothes and excites you.
		<<control 25>><<arousal 600>><<set $stress -= 200>><<combattrauma -60>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 40>>
		You already feel in control and the act is too tame to soothe, but it does excite you.
		<<arousal 200>><<garousal>>
		<<if $exhibitionismstress2 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress2 to 1>><<lstress>><<set $stress -= 200>>
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionism3">>
<<if $control lt $controlmax>>
	<<if $exhibitionism lte 59>>
		<<set $exhibitionism += 2>>
		Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
		<<ggcontrol>><<control 25>><<arousal 300>><<set $stress -= 900>><<combattrauma -90>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 60>>
		Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
		<<arousal 300>><<garousal>>
		<<if $exhibitionismstress3 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress3 to 1>><<lstress>><<set $stress -= 300>>
		<</if>>
	<</if>>
<<else>>
	<<if $exhibitionism lte 59>>
		<<set $exhibitionism += 2>>
		You already feel in control, but performing such a lewd act soothes and excites you.
		<<control 25>><<arousal 300>><<set $stress -= 900>><<combattrauma -90>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 60>>
		You already feel in control and the act is too tame to soothe, but it does excite you.
		<<arousal 300>><<garousal>>
		<<if $exhibitionismstress3 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress3 to 1>><<lstress>><<set $stress -= 300>>
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionism4">>
<<if $control lt $controlmax>>
	<<if $exhibitionism lte 79>>
		<<set $exhibitionism += 2>>
		Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
		<<ggcontrol>><<control 25>><<arousal 400>><<set $stress -= 1200>><<combattrauma -120>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 80>>
		Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
		<<arousal 400>><<garousal>>
		<<if $exhibitionismstress4 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress4 to 1>><<lstress>><<set $stress -= 400>>
		<</if>>
	<</if>>
<<else>>
	<<if $exhibitionism lte 79>>
		<<set $exhibitionism += 2>>
		You already feel in control, but performing such a lewd act soothes and excites you.
		<<control 25>><<arousal 400>><<set $stress -= 1200>><<combattrauma -120>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 80>>
		You already feel in control and the act is too tame to soothe, but it does excite you.
		<<arousal 400>><<garousal>>
		<<if $exhibitionismstress4 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress4 to 1>><<lstress>><<set $stress -= 400>>
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionism5">>
<<if $control lt $controlmax>>
	<<if $exhibitionism lte 99>>
		<<set $exhibitionism += 2>>
		Performing such a lewd act excites you and restores your sense of control and self-worth, for now.
		<<ggcontrol>><<control 25>><<arousal 500>><<set $stress -= 1500>><<combattrauma -150>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 100>>
		Performing such a lewd act excites you, but does nothing to lift the cloud hanging over you. You need to do something more extreme.
		<<arousal 500>><<garousal>>
		<<if $exhibitionismstress5 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress5 to 1>><<lstress>><<set $stress -= 500>>
		<</if>>
	<</if>>
<<else>>
	<<if $exhibitionism lte 99>>
		<<set $exhibitionism += 2>>
		You already feel in control, but performing such a lewd act soothes and excites you.
		<<control 25>><<arousal 500>><<set $stress -= 1500>><<combattrauma -150>><<ltrauma>><<lstress>><<garousal>>
	<<elseif $exhibitionism gte 100>>
		You already feel in control and the act is too tame to soothe, but it does excite you.
		<<arousal 500>><<garousal>>
		<<if $exhibitionismstress5 isnot 1 and $statFreeze isnot true>>
			<<set $exhibitionismstress5 to 1>><<lstress>><<set $stress -= 500>>
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionism">>

<<if $args[0] is "street">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>
				You are standing on a public street in a state of undress! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

				It's dark enough that you could remain mostly concealed by sticking to the shadows. Alternatively you could avoid the street entirely. You might feel less exposed but there's something foreboding about the darkness.

			<<else>>
				<<arousal 40>>
				You are standing on a public street in a state of undress! You take cover behind a parked car, shielding you from view for now.

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>
				You are standing on a public street completely exposed! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

				It's dark enough that you could remain mostly concealed by sticking to the shadows. Alternatively you could avoid the street entirely. You might feel less exposed but there's something foreboding about the darkness.

			<<else>>
				<<arousal 80>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>
				You are standing on a public street in a state of undress! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

				It's dark enough that you could remain mostly concealed by sticking to the shadows. Alternatively you could avoid the street entirely. You might feel less exposed but there's something foreboding about the darkness.

			<<else>>
				<<arousal 10>>
				You are standing on a public street in a state of undress! You take cover behind a parked car, shielding you from view for now.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>
				You are standing on a public street completely exposed! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

				It's dark enough that you could remain mostly concealed by sticking to the shadows. Alternatively you could avoid the street entirely. You might feel less exposed but there's something foreboding about the darkness.

			<<else>>
				<<arousal 5>>
				You are standing on a public street in a state of undress! You take cover behind a parked car, shielding you from view for now.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "alley">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>
				You are standing in a public alley in a state of undress! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>
				You are standing in a public alley in a state of undress.

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>
				You are standing in a public alley with your vulnerables exposed! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>
				You are standing in a public alley with your vulnerables exposed!

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>
				You are standing in a public alley in a state of undress! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 10>>
				You are standing in a public alley in a state of undress.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>
				You are standing in a public alley with your vulnerables exposed! The cold night air blows against your bare skin. There appears to be no one else around, but you don't know how long that will last.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>
				You are standing in a public alley with your vulnerables exposed!

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "park">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "roof">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "garden">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "building">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>><<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "classroom">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<elseif $args[0] is "beach">>
	<<if $uncomfortable.nude is false>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>
				You are alone, but being in such a lewd state of dress is as terrifying as it is thrilling.

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 40>>
				Even for the beach, your state of undress is too much. You hide behind a windbreaker.

				You feel a sense of excitement that's even stronger if you don't cover your undressed body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 40>>
				You are alone, but being in such a lewd state of dress is as terrifying as it is thrilling.

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<<else>>
				<<arousal 80>>
				You're completely exposed in broad daylight! Thankfully, there are enough windbreakers to hide your body.

				You feel a sense of excitement that's even stronger if you don't cover your naked body<<if $leftarm is "bound" and $rightarm is "bound">>, which you can't do anyway, as your arms are tied behind your back.<<else>>.<</if>>

			<</if>>
		<</if>>
	<<else>>
		<<if $exposed is 1>>
			<<if $daystate is "night">>
				<<arousal 20>>
				You are alone, but being in such a lewd state of dress is as terrifying as it is thrilling.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 10>>
				You are dressed too lewdly even for here! You feel excitement and terror in equal measure. If you keep low you might be able to use the numerous windbreakers scattered across the beach to shield yourself.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your state of undress.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<<elseif $exposed is 2>>
			<<if $daystate is "night">>
				<<arousal 10>>
				You are alone, but being in such a lewd state of dress is as terrifying as it is thrilling.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<<else>>
				<<arousal 5>>
				You are in broad daylight with your unmentionables uncovered! This is no good, no good at all! Maybe if you keep low you might be able to use the numerous windbreakers scattered across the beach to shield your nudity.

				You feel intense embarrassment at your exposure<<if $leftarm is "bound" and $rightarm is "bound">> but with your arms bound you can do nothing to hide your nakedness.<<else>> and cover yourself as best you can.<</if>>

			<</if>>
		<</if>>
	<</if>>
<<else>>
	BUG - Missing/typo'd location in "exhibitionism" widget

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

<<widget "exhibitionismpark">>
<<if $exposed is 1>>
	<<arousal 20>>
	<<if $daystate is "night">>
		You are hiding behind a bush. The cold night air blows against your bare skin.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		You are hiding behind a bush. If you're careful you might be able to remain concealed by hiding behind vegetation.

		Regardless, you feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<</if>>
<<elseif $exposed is 2>>
	<<arousal 50>>
	<<if $daystate is "night">>
		You are hiding behind a bush. The cold night air blows against your bare skin. You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		You are hiding behind a bush. If you're careful you might be able to remain concealed by hiding behind vegetation.

		Regardless, you feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

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

<</widget>>

<<widget "exhibitionismgarden">>
<<if $exposed is 1>>
	<<arousal 20>>
	<<if $daystate is "night">>
		You are hiding behind the garden shed. The cold night air blows against your bare skin. You hope you can make it to your bedroom without anyone seeing you.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		You are hiding behind the garden shed. You hope you can make it to your bedroom without anyone seeing you.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<</if>>
<<elseif $exposed is 2>>
	<<arousal 50>>
	<<if $daystate is "night">>
		You are hiding behind the garden shed. The cold night air blows against your bare skin. You hope you can make it to your bedroom without anyone seeing you.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		You are hiding behind the garden shed. You hope you can make it to your bedroom without anyone seeing you.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionismroof">>
<<if $exposed is 1>>
	<<arousal 20>>
	<<if $daystate is "night">>
	The cool night breeze makes you shiver. The open air makes you feel more exposed than ever despite no one being around.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		The open air makes you feel more exposed than ever despite no one being around.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<</if>>
<<elseif $exposed is 2>>
	<<arousal 50>>
	<<if $daystate is "night">>
			The cool night breeze makes you shiver. The open air makes you feel more exposed than ever despite no one being around.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		The open air makes you feel more exposed than ever despite no one being around.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionismbuilding">>
<<if $exposed is 1>>
	<<arousal 20>>
	<<if $daystate is "night">>
		You are alone, but being in such a lewd state of dress is as terrifying as it is thrilling.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		You are dressed lewdly in a public space! You feel excitement and terror in equal measure.

		You also feel intensely embarrassed at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<</if>>
<<elseif $exposed is 2>>
	<<arousal 50>>
	<<if $daystate is "night">>
		You are alone, but being in such a lewd state of dress is as terrifying as it is thrilling.

		You feel intense embarrassment at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>

	<<else>>
		You are in public with your unmentionables uncovered! You feel excitement and terror in equal measure.

		You also feel intensely embarrassed at your exposure
		<<if $leftarm is "bound" and $rightarm is "bound">>
			but with your arms bound you can do nothing to hide your nakedness.
		<<else>>
			and cover yourself as best you can.
		<</if>>
	<</if>>
<</if>>

<</widget>>

<<widget "exhibitionclassroom">>
<<if $exposed gte 1>>
	You're alone in the room, but being exposed in this often-crowded space makes you feel vulnerable and conscious of your <<nudity>>.

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


code:
:: Widgets Fame [widget]
<<widget "fameexhibitionism">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole and !($npc.length is 1 and ["Eden", "Robin", "Kylar", "Sydney"].includes($npc[0]))>>
		<<set $fame += $args[0]>>
		<<set $fameexhibitionism += $args[0]>>
		<<set $fameexhibitionism to Math.clamp($fameexhibitionism, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "fameschoolex">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $fameexhibitionism += $args[0]>>
		<<set $fameexhibitionism to Math.clamp($fameexhibitionism, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "fameprostitution">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $fameprostitution += $args[0]>>
		<<set $fameprostitution to Math.clamp($fameprostitution, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famebestiality">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famebestiality += $args[0]>>
		<<set $famebestiality to Math.clamp($famebestiality, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famerape">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole and !($npc.length is 1 and $npc[0] is "Eden")>>
		<<set $fame += $args[0]>>
		<<set $famerape += $args[0]>>
		<<set $famerape to Math.clamp($famerape, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famesex">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole and !($npc.length is 1 and $npc[0] is "Eden")>>
		<<set $fame += $args[0]>>
		<<set $famesex += $args[0]>>
		<<set $famesex to Math.clamp($famesex, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famepregnancy">>
<<if $args[0] and pregnancyBellyVisible()>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famepregnancy += $args[0]>>
		<<set $famepregnancy to Math.clamp($famepregnancy, 0, Math.clamp($sexStats.vagina.pregnancy.totalBirthEvents,1,20) * 100)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famegood">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famegood += $args[0]>>
		<<set $famegood to Math.clamp($famegood, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famebusiness">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famebusiness += $args[0]>>
		<<set $famebusiness to Math.clamp($famebusiness, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famepimp">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famepimp += $args[0]>>
		<<set $famepimp to Math.clamp($famepimp, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famescrap">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famescrap += $args[0]>>
		<<set $famescrap to Math.clamp($famescrap, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>
<<widget "famedance">>
<<exposure>>
<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole and $statFreeze isnot true>>
	<<if $exposed is 1>>
		<<set $fameexhibitionism += $audience>>
		<<set $fame += $audience>>
	<<elseif $exposed gte 2>>
		<<set $fameexhibitionism += ($audience * 2)>>
		<<set $fame += ($audience * 2)>>
	<</if>>
<</if>>
<</widget>>

<<widget "famesocial">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famesocial += $args[0]>>
		<<set $famesocial to Math.clamp($famesocial, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>

<<widget "famemodel">>
<<if $args[0] and $statFreeze isnot true>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $famemodel += $args[0]>>
		<<set $famemodel to Math.clamp($famemodel, 0, 2000)>>
	<</if>>
<</if>>
<</widget>>