code:
:: Widgets Exhibitionism [widget]
<<widget "exhibitionism1">><<nobr>>
<<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>><<set $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.
<<set $arousal += 100>><<garousal>>
		<<if $exhibitionismstress1 isnot 1>>
		<<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>><<set $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.
<<set $arousal += 100>><<garousal>>
		<<if $exhibitionismstress1 isnot 1>>
		<<set $exhibitionismstress1 to 1>><<lstress>><<set $stress -= 100>>
		<</if>>
	<</if>>
<</if>>

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

<<widget "exhibitionism2">><<nobr>>
<<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>><<set $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.
<<set $arousal += 100>><<garousal>>
		<<if $exhibitionismstress2 isnot 1>>
		<<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>><<set $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.
<<set $arousal += 200>><<garousal>>
		<<if $exhibitionismstress2 isnot 1>>
		<<set $exhibitionismstress2 to 1>><<lstress>><<set $stress -= 200>>
		<</if>>
	<</if>>
<</if>>

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

<<widget "exhibitionism3">><<nobr>>
<<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>><<set $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.
<<set $arousal += 300>><<garousal>>
		<<if $exhibitionismstress3 isnot 1>>
		<<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>><<set $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.
<<set $arousal += 300>><<garousal>>
		<<if $exhibitionismstress3 isnot 1>>
		<<set $exhibitionismstress3 to 1>><<lstress>><<set $stress -= 300>>
		<</if>>
	<</if>>
<</if>>

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

<<widget "exhibitionism4">><<nobr>>
<<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>><<set $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.
<<set $arousal += 400>><<garousal>>
		<<if $exhibitionismstress4 isnot 1>>
		<<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>><<set $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.
<<set $arousal += 400>><<garousal>>
		<<if $exhibitionismstress4 isnot 1>>
		<<set $exhibitionismstress4 to 1>><<lstress>><<set $stress -= 400>>
		<</if>>
	<</if>>
<</if>>

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

<<widget "exhibitionism5">><<nobr>>
<<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>><<set $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.
<<set $arousal += 500>><<garousal>>
		<<if $exhibitionismstress5 isnot 1>>
		<<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>><<set $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.
<<set $arousal += 500>><<garousal>>
		<<if $exhibitionismstress5 isnot 1>>
		<<set $exhibitionismstress5 to 1>><<lstress>><<set $stress -= 500>>
		<</if>>
	<</if>>
<</if>>

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

<<widget "exhibitionism">><<nobr>>

<<if $args[0] is "street">>
	<<if $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $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 exitement 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>><<set $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 exitement 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">><<set $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 exitement 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>><<set $arousal += 80>>

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $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 exitement 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>><<set $arousal += 40>>
				You are standing in a public alley in a state of undress.

				You feel a sense of exitement 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">><<set $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 exitement 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>><<set $arousal += 80>>
				You are standing in a public alley with your vulnerables exposed!

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $arousal += 20>>

				You feel a sense of exitement 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>><<set $arousal += 40>>

				You feel a sense of exitement 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">><<set $arousal += 40>>

				You feel a sense of exitement 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>><<set $arousal += 80>>

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $arousal += 20>>

				You feel a sense of exitement 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>><<set $arousal += 40>>

				You feel a sense of exitement 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">><<set $arousal += 40>>

				You feel a sense of exitement 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>><<set $arousal += 80>>

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $arousal += 20>>

				You feel a sense of exitement 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>><<set $arousal += 40>>

				You feel a sense of exitement 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">><<set $arousal += 40>>

				You feel a sense of exitement 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>><<set $arousal += 80>>

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $arousal += 20>>

				You feel a sense of exitement 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>><<set $arousal += 40>>

				You feel a sense of exitement 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">><<set $arousal += 40>>

				You feel a sense of exitement 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>><<set $arousal += 80>>

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $arousal += 20>>

				You feel a sense of exitement 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>><<set $arousal += 40>>

				You feel a sense of exitement 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">><<set $arousal += 40>>

				You feel a sense of exitement 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>><<set $arousal += 80>>

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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 $exhibitionismaction is "exited">>
		<<if $exposed is 1>>
			<<if $daystate is "night">><<set $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 exitement 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>><<set $arousal += 40>>
				Even for the beach, your state of undress is too much. You hide behind a windbreaker.

				You feel a sense of exitement 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">><<set $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 exitement 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>><<set $arousal += 80>>
				You're completely exposed in broad daylight! Thankfully, there's enough windbreakers to hide your body.

				You feel a sense of exitement 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">><<set $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>><<set $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">><<set $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>><<set $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>>
<</nobr>><</widget>>

<<widget "exhibitionismpark">><<nobr>>
<<if $exposed is 1>><<set $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>><<set $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>>

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

<<widget "exhibitionismgarden">><<nobr>>
<<if $exposed is 1>><<set $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>><<set $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>>

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

<<widget "exhibitionismroof">><<nobr>>
<<if $exposed is 1>><<set $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>><<set $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>>

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

<<widget "exhibitionismbuilding">><<nobr>>
<<if $exposed is 1>><<set $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>><<set $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>>

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

<<widget "exhibitionclassroom">><<nobr>>
<<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 <<nuditystop>>

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


code:
:: Widgets Fame [widget]
<<widget "fameexhibitionism">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
		<<set $fame += $args[0]>>
		<<set $fameexhibitionism += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "fameprostitution">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $fameprostitution += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famebestiality">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famebestiality += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famerape">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famerape += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famesex">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famesex += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famegood">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famegood += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famebusiness">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famebusiness += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famepimp">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famepimp += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famescrap">><<nobr>>
<<if $args[0]>>
	<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<set $fame += $args[0]>>
	<<set $famescrap += $args[0]>>
	<</if>>
<</if>>
<</nobr>><</widget>>

<<widget "famedance">><<nobr>>
<<exposure>>
<<if $face isnot "covered" and !$worn.face.type.includes("mask") and !$gloryhole>>
	<<if $exposed is 1>>
	<<set $fameexhibitionism += $audience>>
	<<set $fame += $audience>>
	<<elseif $exposed gte 2>>
	<<set $fameexhibitionism += ($audience * 2)>>
	<<set $fame += ($audience * 2)>>
	<</if>>
<</if>>
<</nobr>><</widget>>

repo_name: KinkyOne/degrees

license: mit


code:
:: Widgets Breasts Img [widget]
<<widget "breastsidle">><<nobr>>
<<if $worn.upper.exposed gte 2>>
	<<if $breastsize is 0>>
	<</if>>
	<<if $breastsize is 1>>

	<</if>>
	<<if $breastsize is 2>>

	<</if>>
	<<if $breastsize is 3>>

	<</if>>
	<<if $breastsize is 4>>

	<</if>>
	<<if $breastsize is 5>>

	<</if>>
	<<if $breastsize is 6>>

	<</if>>
	<<if $breastsize is 7>>

	<</if>>
	<<if $breastsize is 8>>

	<</if>>
	<<if $breastsize is 9>>

	<</if>>
	<<if $breastsize is 10>>

	<</if>>
	<<if $breastsize is 11>>

	<</if>>
	<<if $breastsize is 12>>

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

<<widget "breastsactive">><<nobr>>
<<if $worn.upper.exposed gte 2>>
	<<if $breastsize is 0>>
	<</if>>
	<<if $breastsize is 1>>

	<</if>>
	<<if $breastsize is 2>>

	<</if>>
	<<if $breastsize is 3>>

	<</if>>
	<<if $breastsize is 4>>

	<</if>>
	<<if $breastsize is 5>>

	<</if>>
	<<if $breastsize is 6>>

	<</if>>
	<<if $breastsize is 7>>

	<</if>>
	<<if $breastsize is 8>>

	<</if>>
	<<if $breastsize is 9>>

	<</if>>
	<<if $breastsize is 10>>

	<</if>>
	<<if $breastsize is 11>>

	<</if>>
	<<if $breastsize is 12>>

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

<<widget "breastsidlemissionary">><<nobr>>

	<<if $breastsize is 0>>
	<</if>>
	<<if $breastsize is 1>>

	<</if>>
	<<if $breastsize is 2>>

	<</if>>
	<<if $breastsize is 3>>

	<</if>>
	<<if $breastsize is 4>>

	<</if>>
	<<if $breastsize is 5>>

	<</if>>
	<<if $breastsize is 6>>

	<</if>>
	<<if $breastsize is 7>>

	<</if>>
	<<if $breastsize is 8>>

	<</if>>
	<<if $breastsize is 9>>

	<</if>>
	<<if $breastsize is 10>>

	<</if>>
	<<if $breastsize is 11>>

	<</if>>
	<<if $breastsize is 12>>

	<</if>>

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

<<widget "breastsactivemissionary">><<nobr>>
	<<if $breastsize is 0>>
	<</if>>
	<<if $breastsize is 1>>

	<</if>>
	<<if $breastsize is 2>>

	<</if>>
	<<if $breastsize is 3>>

	<</if>>
	<<if $breastsize is 4>>

	<</if>>
	<<if $breastsize is 5>>

	<</if>>
	<<if $breastsize is 6>>

	<</if>>
	<<if $breastsize is 7>>

	<</if>>
	<<if $breastsize is 8>>

	<</if>>
	<<if $breastsize is 9>>

	<</if>>
	<<if $breastsize is 10>>

	<</if>>
	<<if $breastsize is 11>>

	<</if>>
	<<if $breastsize is 12>>

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

:: Widgets Transformation Img [widget]

<<widget "transformationwolfimg">><<nobr>>
	<<if $wolfgirl gte 4>>

		<<if $hirsutedisable is "f">>

		<</if>>
	<</if>>
	<<if $wolfgirl gte 6>>

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

<<widget "transformationwolfimgactive">><<nobr>>
	<<if $wolfgirl gte 4>>

		<<if $hirsutedisable is "f">>

		<</if>>
	<</if>>
	<<if $wolfgirl gte 6>>

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

<<widget "transformationwolfimgmiss">><<nobr>>
	<<if $wolfgirl gte 4>>

		<<if $hirsutedisable is "f">>

		<</if>>
	<</if>>
	<<if $wolfgirl gte 6>>

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

<<widget "transformationwolfimgmissactive">><<nobr>>
	<<if $wolfgirl gte 4>>

		<<if $hirsutedisable is "f">>

		<</if>>
	<</if>>
	<<if $wolfgirl gte 6>>

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

:: Widgets Icon Img [widget]

<<widget "barbicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "clifficon">><<nobr>>
	<<if $images is 1>>

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

<<widget "starfishicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "mericon">><<nobr>>
	<<if $images is 1>>

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

<<widget "domusicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "connudatusicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "highicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "oxfordicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "harvesticon">><<nobr>>
	<<if $images is 1>>

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

<<widget "danubeicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "wolficon">><<nobr>>
	<<if $images is 1>>

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

<<widget "nightingaleicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "elkicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "binicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "wrenchicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "tailoricon">><<nobr>>
	<<if $images is 1>>

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

<<widget "busicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "hairdressericon">><<nobr>>
	<<if $images is 1>>

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

<<widget "brothelicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "swimmingicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "scienceicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "historyicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "mathicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "englishicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "parkicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "stripclubicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "policeicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "sewericon">><<nobr>>
	<<if $images is 1>>

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

<<widget "foresticon">><<nobr>>
	<<if $images is 1>>

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

<<widget "pubicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "libraryicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "toileticon">><<nobr>>
	<<if $images is 1>>

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

<<widget "eaticon">><<nobr>>
	<<if $images is 1>>

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

<<widget "lockericon">><<nobr>>
	<<if $images is 1>>

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

<<widget "loitericon">><<nobr>>
	<<if $images is 1>>

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

<<widget "petshopicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "clothingshopicon">><<nobr>>
	<<if $images is 1>>

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

<<widget "ind">><<nobr>>
	<<if $images is 1>>

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


code:
:: Widgets Journal [widget]
<<widget "journal">><<nobr>>

__Journal__

<<if $rentday isnot undefined>>
	<<if $renttime lte 0>>
		Bailey is looking for you, and wants £<<print $rentmoney / 100>>.

	<<else>>
		Bailey wants £<<print $rentmoney / 100>> on <<rentday>>

	<</if>>
<<else>>
	Bailey wants £<<print $rentmoney / 100>>.

<</if>>

<<if $psych is 1>>
	You have an appointment with Doctor Harper on Friday.

<</if>>

<<if $brothelshow isnot "none" and $brothelshowintro is 1>>
	<<if $weekday is 6 and $brothelshowdone isnot 1>>
		You're expected to perform at the brothel today.

	<<else>>
		You're expected to perform at the brothel on Friday.

	<</if>>
<<elseif $brothelshowintro is 1>>
	You can star in shows at the brothel.

<</if>>

<<if $dockwork gte 2>>
	You can work at the docks starting from 7:00 - 8:00 on any day except school days.

<</if>>

<<if $pubtask2 is 1>>
	Return the black box to Landry at the pub.

<<elseif $pubtask is 1>>
	Landry wants you to retrieve a black box from the forest.

<</if>>

<<if $police_hack is 1>>
	Landry might be able to help you with the locked police computer.
<<elseif $pub_hack_job is 1>>
	Landry wants you to find a young hacker living at the Domus street orphanage.

<<elseif $pub_hack_job is 2>>
	Convice the hacker kid to work with you.

<<elseif $pub_hack_job is 3>>
	<<if not $hacker_tasks.includes("bailey")>>
	The hacker wants you to implant a device on Bailey's computer while Bailey is logged in.

	<</if>>
	<<if not $hacker_tasks.includes("leighton")>>
	The hacker wants you to steal memory cards from a strongbox under Leighton's desk.

	<</if>>
	<<if $hacker_tasks.length gte 2>>
	You need to talk to Landry about the hacker.

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

<<if $robindebtevent gte 1 and $docksrobinintro isnot 1>>
	Robin is missing. They were taken to the docks on Mer Street.

<</if>>

<<if $averydate is 1 and $hour lte 21>>
	You have a date scheduled with Avery. They'll wait for you on Domus Street between <<if $timestyle is "military">>20:00 and 21:00<<else>>8:00 and 9:00 pm<</if>>.

<</if>>

<<if $halloween is 1>>
Halloween is held on October 31st.
	<<if $halloween_whitney is 1>>
	Whitney will be trick-or-treating on Domus Street from <<if $timestyle is "military">>19:00<<else>>7:00 pm<</if>>.
	<</if>>
	<<if $halloween_robin is 1>>
	Robin wants to go trick-or-treating between <<if $timestyle is "military">>16:00 and 19:00<<else>>4:00 pm and 7:00 pm<</if>>.
	<</if>>

<</if>>

<<if $scienceproject is "ongoing">>

	<<if $scienceprojectdays is 0>>
		The science fair is being held at the town hall on Cliff street today from 9:00 until 18:00.

	<<else>>
		The science fair will be held at the town hall on Cliff Street in $scienceprojectdays days.

	<</if>>
	You have the following ongoing science projects. You'll choose one to present at the fair.

	<<if $sciencelichenknown is 1>>
		-Local lichen

		<<if $sciencelichenpark is 1>>
			<<if $sciencelichenparkready is 1>>
				--You've incorporated the lichen living in the park to your project. +25% success chance.

			<<else>>
				--You've examined lichen in the park. You need to write it up at home or the library.

			<</if>>
		<<else>>
			--Examine white lichen in the park.

		<</if>>
		<<if $sciencelichentemple is 1>>
			<<if $sciencelichentempleready is 1>>
				--You've incorporated the lichen living on the temple to your project. +25% success chance.

			<<else>>
				--You've examined lichen living on the temple. You need to add it to your project at home or the library.

			<</if>>
		<<else>>
			--Examine pink lichen on the temple.

		<</if>>
		<<if $sciencelichendrain is 1>>
			<<if $sciencelichendrainready is 1>>
				--You've incorporated the lichen living in the storm drain to your project. +25% success chance.

			<<else>>
				--You've examined lichen living in the storm drain. You need to add it to your project at home or the library.

			<</if>>
		<<else>>
			--Examine violet lichen in the storm drain, where it exits into the sea.

		<</if>>
		<<if $sciencelichenlake is 1>>
			<<if $sciencelichenlakeready is 1>>
				--You've incorporated the lichen living on the lake ruin to your project. +25% success chance

			<<else>>
				--You've examined lichen living on the lake ruin. You need to add it to your project at home or the library.

			<</if>>
		<<else>>
			--Examine purple lichen on the lake ruin.

		<</if>>
		As it is, this project has a <<print ($sciencelichenparkready * 25 + $sciencelichenlakeready * 25 + $sciencelichendrainready * 25 + $sciencelichentempleready * 25)>>% chance of winning the fair. Winning with this project will greatly reduce trauma and endear you to your teachers.

	<<else>>
		???????????? - Explore to discover.

	<</if>>
	<<if $scienceshroomknown is 1>>
		-Local mushrooms

		-- $scienceshroomheart/5 heartshrooms found.

		-- $scienceshroomheartready/5 heartshrooms added to project.
		<<if $scienceshroomheart gte $scienceshroomheartready>>
			Add mushrooms to your project at home or the library.
		<</if>>
		<<if $scienceshroomheartready gte 1>>
			+<<print ($scienceshroomheartready * 10)>>% success chance.
		<</if>>

		-- $scienceshroomwolf/5 wolfshrooms found.

		-- $scienceshroomwolfready/5 wolfshrooms added to project.
		<<if $scienceshroomwolf gte $scienceshroomwolfready>>
			Add mushrooms to your project at home or the library.
		<</if>>
		<<if $scienceshroomwolfready gte 1>>
			+<<print ($scienceshroomwolfready * 10)>>% success chance.
		<</if>>

		As it is, this project has a <<print ($scienceshroomwolfready * 10 + $scienceshroomheartready * 10)>>% chance of winning the fair. Winning with this project will greatly reduce trauma and make you more popular among your peers.

	<<else>>
		???????????? - Explore the forest to discover.

	<</if>>
	<<if $sciencephallusknown is 1>>
		-Local phalli - Look for participants on the beach during good weather.

		-- $sciencephallus/10 phalli measured.

		-- $sciencephallusready/10 phalli added to project.
		<<if $sciencephallus gte $sciencephallusready>>
			Add phalli to your project at home or the library.
		<</if>>
		<<if $sciencephallusready gte 1>>
			+<<print ($sciencephallusready * 10)>>% success chance.
		<</if>>

		As it is, this project has a <<print ($sciencephallusready * 10)>>% chance of winning the fair. Winning with this project will greatly reduce trauma and make you more famous.

	<<else>>
		???????????? - Become more promiscuous to discover.

	<</if>>

<</if>>

<<if $mathsproject is "ongoing">>
	<<set $mathschance = Math.clamp($mathschance, 0, 100)>>

	<<if $mathsprojectdays is 0>>
		The maths competition is being held at the town hall on Cliff street today from 9:00 until 18:00.

	<<else>>
		The maths competition will be held at the town hall on Cliff Street in $mathsprojectdays <<if $mathsprojectdays is 1>>day<<else>>days<</if>>. Your solution must be ready before then. You can work on your project at the orphanage or the school library.

	<</if>>
	<<if $mathschance is 0>>
		You haven't begun work on a solution. You have a $mathschance% chance of winning the competition.
	<<elseif $mathschance lte 10>>
		You've barely begun work on a solution. You have a $mathschance% chance of winning the competition.
	<<elseif $mathschance lte 30>>
		Your solution isn't much, but it's something. You have a $mathschance% chance of winning the competition.
	<<elseif $mathschance lte 50>>
		Your solution has some substance, but there's a long way to go. You have a $mathschance% chance of winning the competition.
	<<elseif $mathschance lte 80>>
		Your solution is shaping up, but there's room for improvement. You have a $mathschance% chance of winning the competition.
	<<elseif $mathschance lte 99>>
		Your solution isn't right, but it's good. You can't imagine anyone else has gone as far as this. You have a $mathschance% chance of winning the competition.
	<<else>>
		Your solution is perfect. You have a $mathschance% chance of winning the competition.
	<</if>>

	You have $mathsinfo insights.

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

		You can buy stimulants from dealers on Oxford Street.

	<</if>>

<</if>>

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


code:
:: Widgets Mirror [widget]
<<widget "mirror">><<nobr>>

<<if $hairlength gte 1000>>
<<set $hairlengthstage to "feet">>
<<elseif $hairlength gte 800>>
<<set $hairlengthstage to "thighs">>
<<elseif $hairlength gte 600>>
<<set $hairlengthstage to "navel">>
<<elseif $hairlength gte 400>>
<<set $hairlengthstage to "chest">>
<<elseif $hairlength gte 200>>
<<set $hairlengthstage to "shoulder">>
<<else>>
<<set $hairlengthstage to "short">>
<</if>>

<<if $fringelength gte 1000>>
<<set $fringelengthstage to "feet">>
<<elseif $fringelength gte 800>>
<<set $fringelengthstage to "thighs">>
<<elseif $fringelength gte 600>>
<<set $fringelengthstage to "navel">>
<<elseif $fringelength gte 400>>
<<set $fringelengthstage to "chest">>
<<elseif $fringelength gte 200>>
<<set $fringelengthstage to "shoulder">>
<<else>>
<<set $fringelengthstage to "short">>
<</if>>

You look into the mirror.
<<if $fallenangel gte 2>>
A pathetic excuse of a person
<<elseif $hallucinogen gte 200>>
The mirror melts away into an inky black puddle, floating before you. Shards of glass graze past your skin and dissolve into the air.

You stare into the void, and the void
<<elseif $hallucinogen gte 100>>
The surface folds over itself at an angle you can't quite understand, and something unrecognizable
<<elseif $hallucinogen gt 0>>
The surface ripples at your presence, and a vaguely familiar <<girl>>
<<elseif $trauma gte $traumamax>>
A <<girl>> with glazed eyes
<<elseif $pain gte 100>>
A crying <<girl>>
<<elseif $pain gte 40>>
A tearful <<girl>>
<<elseif $pain gte 1>>
A frowning <<girl>>
<<else>>
A cheerful <<girl>>
<</if>>
stares back.

<<mirrorwet $necksemen $neckgoo "neck">>
<<mirrorwet $rightarmsemen $rightarmgoo "right arm">>
<<mirrorwet $leftarmsemen $leftarmgoo "left arm">>
<<mirrorwet $thighsemen $thighgoo "thighs">>
<<mirrorwet $bottomsemen $bottomgoo "bottom">>
<<mirrorwet $tummysemen $tummygoo "tummy">>
<<mirrorwet $chestsemen $chestgoo "chest">>
<<mirrorwet $facesemen $facegoo "face">>
<<mirrorwet $hairsemen $hairgoo "hair">>
<<mirrorwet $feetsemen $feetgoo "feet">>
<<mirrorwet $vaginaoutsidesemen $vaginaoutsidegoo "labia">>
<<mirrorwet $vaginasemen $vaginagoo "vagina">>
<<mirrorwet $penissemen $penisgoo "penis">>
<<mirrorwet $anussemen $anusgoo "anus">>
<<mirrorwet $mouthsemen $mouthgoo "mouth">>

Attractiveness measures your ability to use your looks to your advantage.

Attractiveness rating:
<<if $attractiveness gte 5000>>
S
<<elseif $attractiveness gte 4000>>
A
<<elseif $attractiveness gte 3000>>
B
<<elseif $attractiveness gte 2000>>
C
<<elseif $attractiveness gte 1000>>
D
<<else>>
F
<</if>>

<<if $beauty gte ($beautymax / 7)>>
 Cute

<</if>>
<<if $beauty gte ($beautymax / 7) * 2>>
 Pretty

<</if>>
<<if $beauty gte ($beautymax / 7) * 3>>
 Charming

<</if>>
<<if $beauty gte ($beautymax / 7) * 4>>
 Beautiful

<</if>>
<<if $beauty gte ($beautymax / 7) * 5>>
 Ravishing

<</if>>
<<if $beauty gte ($beautymax / 7) * 6>>
 Divine

<</if>>
 Hair length

<<if $worn.upper.type.includes("naked")>>
 Topless

<<elseif $worn.upper.reveal gte 500>>
 Revealing top

<</if>>
<<if $worn.lower.type.includes("naked")>>
 Bottomless

<<elseif $worn.lower.reveal gte 500>>
 Revealing bottoms

<</if>>
<<if $worn.under_lower.type.includes("naked")>>
 Pantiless

<<elseif $worn.under_lower.reveal gte 500>>
 Sexy underwear

<</if>>
<<if $wolfgirl gte 6>>
 Wolfy

<</if>>
<<if $angel gte 6>>
 Angel

<</if>>
<<if $fallenangel gte 2>>
 Fallen angel

<</if>>
<<if $demon gte 6>>
 Demon

<</if>>
<<if $worn.head.reveal gte 50>>
 Attractive headwear

<</if>>
<<if $worn.face.reveal gte 50>>
 Attractive face accessory

<</if>>
<<if $worn.neck.reveal gte 50>>
 Attractive collar

<</if>>
<<if $worn.legs.reveal gte 50>>
 Attractive legwear

<</if>>
<<if $worn.feet.reveal gte 50>>
 Attractive shoes

<</if>>

Allure is the dark side of attractiveness, and measures how much people will want to molest you.

Allure: <<if $allure gte 6000 * $alluremod>>You look like you need to be ravaged.
<<elseif $allure gte 4000 * $alluremod>>You look perverted.
<<elseif $allure gte 3000 * $alluremod>>You look lewd.
<<elseif $allure gte 2000 * $alluremod>>You stand out.
<<elseif $allure gte 1500 * $alluremod>>You attract attention.
<<elseif $allure gte 1000 * $alluremod>>You attract glances.
<<else>>You look unremarkable.
<</if>>

Increasing your allure:

<<if $beauty gte ($beautymax / 7)>>
 Cute

<</if>>
<<if $beauty gte ($beautymax / 7) * 2>>
 Pretty

<</if>>
<<if $beauty gte ($beautymax / 7) * 3>>
 Charming

<</if>>
<<if $beauty gte ($beautymax / 7) * 4>>
 Beautiful

<</if>>
<<if $beauty gte ($beautymax / 7) * 5>>
 Ravishing

<</if>>
<<if $beauty gte ($beautymax / 7) * 6>>
 Divine

<</if>>
 Hair length

<<if $worn.upper.type.includes("naked")>>
 Topless

<<elseif $worn.upper.reveal gte 500>>
 Revealing top

<</if>>
<<if $worn.lower.type.includes("naked")>>
 Bottomless

<<elseif $worn.lower.reveal gte 500>>
 Revealing bottoms

<</if>>
<<if $worn.under_lower.type.includes("naked")>>
 Pantiless

<<elseif $worn.under_lower.reveal gte 500>>
 Sexy underwear

<</if>>
<<if $wolfgirl gte 6>>
 Wolfy

<</if>>
<<if $angel gte 6>>
 Angel

<</if>>
<<if $fallenangel gte 2>>
 Fallen angel

<</if>>
<<if $demon gte 6>>
 Demon

<</if>>
<<if $worn.head.reveal gte 50>>
 Alluring headwear

<</if>>
<<if $worn.face.reveal gte 50>>
 Alluring face accessory

<</if>>
<<if $worn.neck.reveal gte 50>>
 Alluring collar

<</if>>
<<if $worn.legs.reveal gte 50>>
 Alluring legwear

<</if>>
<<if $worn.feet.reveal gte 50>>
 Alluring shoes

<</if>>
<<if $daystate is "night">>
 Night

<</if>>
<<if $exposed gte 1>>
 Exposed

<</if>>
<<if $semencount + $goocount gte 1>>
 Smell of cum

<</if>>
<<if $semencount + $goocount gte 10>>
 Covered in cum

<</if>>
<<if $semencount + $goocount gte 30>>
 Drenched in cum

<</if>>
<<if $moonstate is "evening" and $hour gte 21 or $moonstate is "morning" and $hour lte 6>>
 Full moon

<</if>>

Decreasing your allure:

<<if $famescrap gte 1000>>
Notorious scrapper

<<elseif $famescrap gte 600>>
Famous scrapper

<<elseif $famescrap gte 400>>
Recognised scrapper

<<elseif $famescrap gte 200>>
Known scrapper

<<elseif $famescrap gte 100>>
Low-key scrapper

<<elseif $famescrap gte 30>>
Obscure scrapper

<</if>>
<<if $famegood gte 1000>>
Notorious do-gooder

<<elseif $famegood gte 600>>
Famous do-gooder

<<elseif $famegood gte 400>>
Recognised do-gooder

<<elseif $famegood gte 200>>
Known do-gooder

<<elseif $famegood gte 100>>
Low-key do-gooder

<<elseif $famegood gte 30>>
Obscure do-gooder

<</if>>

__Hair__

Natural (changes both sides and fringe)

Your sides are in the "$hairtype" style, and positioned <<if $hairposition is "front">>in front of<<else>>behind<</if>> your body.

<<if $hairtype is "default">>
Changing your sides from natural will set your fringe to messy.
<</if>>

<<set $mirrorVars to {
	"type": ["Braid left","Braid right","Flat ponytail","Loose","Messy","Pigtails","Ponytail","Short","Side tail left","Side tail right","Straight","Swept left","Twin braids","Twintails"],
	"typeVar": ["braid left","braid right","flat ponytail","loose","messy","pigtails","ponytail","short","side tail left","side tail right","straight","swept left","twin braids","twintails"],
	"fringe": ["Flaps","Hime","Loose","Messy","Overgrown","Ringlets","Split","Straight","Swept left",],
	"fringeVar": ["flaps","hime","loose","messy","overgrown","ringlets","split","straight","swept right",],
}>>

<<for _i to 0; _i lt $mirrorVars.typeVar.length;_i++>>
	<<print ''+$mirrorVars.type[_i]+''>> |
<</for>>

Position in front of body |
Position behind body

Your fringe is in the "$fringetype" style.

<<if $fringetype is "default">>
Changing your fringe from natural will set your sides to messy.
<</if>>

<<for _i to 0; _i lt $mirrorVars.fringeVar.length;_i++>>
	<<print ''+$mirrorVars.fringe[_i]+''>> |
<</for>>

<<if $debug is 1>>

<<link "<<<">><<set $hairlength -= 1000>><<clamp>><<replace "#statshairlength">><<print Math.trunc($hairlength)>><</replace>><</link>> |
<<link "<<">><<set $hairlength -= 100>><<clamp>><<replace "#statshairlength">><<print Math.trunc($hairlength)>><</replace>><</link>> |
<<link "<">><<set $hairlength -= 10>><<clamp>><<replace "#statshairlength">><<print Math.trunc($hairlength)>><</replace>><</link>> |
Hair length: <<print Math.trunc($hairlength)>>
 | <<link ">">><<set $hairlength += 10>><<clamp>><<replace "#statshairlength">><<print Math.trunc($hairlength)>><</replace>><</link>>
 | <<link ">>">><<set $hairlength += 100>><<clamp>><<replace "#statshairlength">><<print Math.trunc($hairlength)>><</replace>><</link>>
 | <<link ">>>">><<set $hairlength += 1000>><<clamp>><<replace "#statshairlength">><<print Math.trunc($hairlength)>><</replace>><</link>>

<<link "<<<">><<set $fringelength -= 1000>><<clamp>><<replace "#statsfringelength">><<print Math.trunc($fringelength)>><</replace>><</link>> |
<<link "<<">><<set $fringelength -= 100>><<clamp>><<replace "#statsfringelength">><<print Math.trunc($fringelength)>><</replace>><</link>> |
<<link "<">><<set $fringelength -= 10>><<clamp>><<replace "#statsfringelength">><<print Math.trunc($fringelength)>><</replace>><</link>> |
Fringe length: <<print Math.trunc($fringelength)>>
 | <<link ">">><<set $fringelength += 10>><<clamp>><<replace "#statsfringelength">><<print Math.trunc($fringelength)>><</replace>><</link>>
 | <<link ">>">><<set $fringelength += 100>><<clamp>><<replace "#statsfringelength">><<print Math.trunc($fringelength)>><</replace>><</link>>
 | <<link ">>>">><<set $fringelength += 1000>><<clamp>><<replace "#statsfringelength">><<print Math.trunc($fringelength)>><</replace>><</link>>

Hair Colour (<<= $haircolour>>):
<<link "Black">><<set $haircolour to "black">><<goto "Wardrobe">><</link>> |
<<link "Brown">><<set $haircolour to "brown">><<goto "Wardrobe">><</link>> |
<<link "Red">><<set $haircolour to "red">><<goto "Wardrobe">><</link>> |
<<link "Ginger">><<set $haircolour to "ginger">><<goto "Wardrobe">><</link>> |
<<link "Blond">><<set $haircolour to "blond">><<goto "Wardrobe">><</link>> |
<<link "Green">><<set $haircolour to "green">><<goto "Wardrobe">><</link>> |
<<link "Blue">><<set $haircolour to "blue">><<goto "Wardrobe">><</link>> |
<<link "Purple">><<set $haircolour to "purple">><<goto "Wardrobe">><</link>>

<<link "Skip day">><<pass 23 hours>><<effects>><<goto "Mirror">><</link>>

<</if>>

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

<<widget "mirrorwet">><<nobr>>
<<if $args[0] or $args[1]>>

<<set _temp to $args[0]>>
<<set _temp2 to $args[1]>>
<<set _temp3 to _temp + _temp2>>
Your $args[2]
	<<if $args [2] is "thighs" or $args [2] is "feet">>
	are
	<<else>>
	is
	<</if>>
	<<if _temp3 gte 5>>
	drenched in
	<<elseif _temp3 is 4>>
	soaked in
	<<elseif _temp3 is 3>>
	slick with
	<<elseif _temp3 is 2>>
	wet with
	<<elseif _temp3 is 1>>
	moist with
	<</if>>

	<<if _temp gte 1 and _temp2 gte 1>>
	slime and semen.
	<<elseif _temp gte 1>>
	semen.
	<<else>>
	slime.
	<</if>>
<</if>>

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


code:
:: Widgets Named Npcs [widget]
<<widget "endnpc">><<nobr>>

<<if $npc>>
<<set _i to $NPCNameList.indexOf($npc)>>
<<set $NPCName[_i].trust += ($enemytrust / 100)>>
<</if>>
<</nobr>><</widget>>

/*Gender neutral names for future reference
Aiden
Akira
Alex
Alexis
Ariel
Armani
Ashanti
Ashton
Aspen
Aubrey
August
Blair
Blake
Brogan
Brooklyn
Bryce
Cameron
Carson
Casey
Chris
Courtney
Dana
Delaney
Devon
Dominique
Drew
Dylan
Easton
Elia
Elliot
Esme
Evan
Farai
Faris
Ferris
Finley
Flynn
Frankie
Genesis
Hayden
Hollis
Hudson
Ira
Ivory
Jamie
Jayden
Jean
Jeryn
Jesse
Joey
Jun
Justice
Keegan
Kendall
Kennedy
Kerry
Kim
Kirby
Kit
Kris
Kyrie
Lashawn
Lee
Lesley
Lincoln
Linden
Logan
Mackenzie
Maddox
Madison
Mel
Michael
Nakia
Nasim
Nicky
Nikita
Noah
Noor
Nyx
Odell
Orion
Palmer
Paris
Payson
Peyton
Phoenix
Quinn
Raz
Reagan
Rebel
Rei
Remy
Ren
Rey
Riley
Roan
Rotem
Rowan
Ryan
Sawyer
Shannon
Sharon
Shaw
Shay
Shiloh
Spencer
Sydney
Taylor
Teagan
Toby
Tracy
Tyne
Willow
Wren
Wynne
Yael
Yannick
Zain
Zane
Zephyr
Zia
Zohar
*/

<<widget "initnpcgender">><<nobr>><<set $test2 to 2>>

<<for _i to 0; _i lt $NPCName.length; _i++>>

<<if $NPCName[_i].pronoun is "none" or $args[0] is "genders">>
	<<if $malechance lt random(1, 100)>>
		<<set $NPCName[_i].pronoun to "f">><<set $test to $NPCName[_i].pronoun>>
	<<else>>
		<<set $NPCName[_i].pronoun to "m">>
	<</if>>
<</if>>

<<if $NPCName[_i].gender is "none" or $args[0] is "genders">>
	<<if $NPCName[_i].pronoun is "m">>
		<<if random(0, 99) gte $cbchance>>
			<<set $NPCName[_i].gender to "m">>
		<<else>>
			<<set $NPCName[_i].gender to "f">>
		<</if>>
	<<elseif $NPCName[_i].pronoun is "f">>
		<<if random(0, 99) gte $dgchance>>
			<<set $NPCName[_i].gender to "f">>
		<<else>>
			<<set $NPCName[_i].gender to "m">>
		<</if>>
	<</if>>
<</if>>

<<if $NPCName[_i].pronoun is "f">>
	<<set _brdes to ["small","pert","modest","full","large"]>>
	<<set _rnd to random(4, 8)>>
	<<set $NPCName[_i].breastsize to _rnd>>
	<<set $NPCName[_i].breastsdesc to _brdes[_rnd-4]+" breasts">>
	<<set $NPCName[_i].breastdesc to _brdes[_rnd-4]+" breast">>
<<else>>
	<<set $NPCName[_i].breastsize to 0>>
	<<set $NPCName[_i].breastsdesc to "nipples">>
	<<set $NPCName[_i].breastdesc to "nipple">>
<</if>>

<<if $penis_mod is 8>>/*Clumsy way to get average penis size setting working for NNPCs.*/
<<set _p_mod_upper to 8>><<set _p_mod_lower to 8>>
<<elseif $penis_mod gte 6>>
<<set _p_mod_upper to 8>><<set _p_mod_lower to 7>>
<<elseif $penis_mod gte 4>>
<<set _p_mod_upper to 8>><<set _p_mod_lower to 5>>
<<elseif $penis_mod gte 2>>
<<set _p_mod_upper to 8>><<set _p_mod_lower to 3>>
<<elseif $penis_mod gte 0>>
<<set _p_mod_upper to 8>><<set _p_mod_lower to 1>>
<<elseif $penis_mod gte -2>>
<<set _p_mod_upper to 7>><<set _p_mod_lower to 1>>
<<elseif $penis_mod gte -4>>
<<set _p_mod_upper to 5>><<set _p_mod_lower to 1>>
<<elseif $penis_mod gte -6>>
<<set _p_mod_upper to 3>><<set _p_mod_lower to 1>>
<<else>>
<<set _p_mod_upper to 1>><<set _p_mod_lower to 1>>
<</if>>

<<if $NPCName[_i].penissize is 0 or $args[0] is "penis">>
	<<if $NPCName[_i].gender is "m">>
		<<switch random (_p_mod_lower, _p_mod_upper)>>
		<<case 5 6 7>>
			<<set $NPCName[_i].penisdesc to either("thick cock","hefty cock","big cock","large cock","veiny cock","meaty cock")>>
			<<set $NPCName[_i].penissize to 3>>
		<<case 8>>
			<<set $NPCName[_i].penisdesc to either("massive cock","huge cock","humongous cock","immense cock","gigantic cock","enormous cock")>>
			<<set $NPCName[_i].penissize to 4>>
		<<case 2 3 4 5>>
			<<set $NPCName[_i].penisdesc to "penis">>
			<<set $NPCName[_i].penissize to 2>>
		<<default>>
			<<set $NPCName[_i].penisdesc to either("tiny penis","pathetic cock","little penis","small penis","mini penis","micro penis")>>
			<<set $NPCName[_i].penissize to 1>>
		<</switch>>
	<<else>>
		<<set $NPCName[_i].penissize to 0>>
		<<set $NPCName[_i].penisdesc to "none">>
	<</if>>
<</if>>

<<if $NPCName[_i].penissize isnot 0>>
	<<switch $NPCName[_i].penissize>>
	<<case 4>>
		<<set $NPCName[_i].penisdesc to either("massive cock","huge cock","humongous cock","immense cock","gigantic cock","enormous cock")>>
	<<case 3>>
		<<set $NPCName[_i].penisdesc to either("thick cock","hefty cock","big cock","large cock","veiny cock","meaty cock")>>
	<<case 1>>
		<<set $NPCName[_i].penisdesc to either("tiny penis","pathetic cock","little penis","small penis","mini penis","micro penis")>>
	<<default>>
		<<set $NPCName[_i].penisdesc to "penis">>
	<</switch>>
<</if>>

<</for>>

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

<<widget "initnpc">><<nobr>>

<<set _nam to $args[0]>>
<<set _i to $NPCNameList.indexOf(_nam)>>
<<if $NPCName[_i].init is 0>>
	<<set $NPCName[_i].init to 1>>

	<<set $NPCName[_i].trust to 0>>
	<<set $NPCName[_i].love to 0>>
	<<set $NPCName[_i].dom to 0>>
	<<set $NPCName[_i].lust to 0>>
	<<set $NPCName[_i].trauma to 0>>
	<<set $NPCName[_i].rage to 0>>
	<<set $NPCName[_i].state to "active">>

	<<switch _nam>>
	<<case Kylar>>
		<<set $kylartimer to 0>>
		<<set $kylarstreettimer to 0>>
		<<set $kylarraped to 0>>
		<<set $NPCName[$NPCNameList.indexOf("Kylar")].state to 0>>

	<<case River>>
		<<if $NPCName[_i].pronoun is "m">>
			//River teaches maths at the local school. His short brown hair is flecked with grey and his piercing blue eyes scrutinize his surroundings. Students tend to be well-behaved in his class.//
		<<else>>
			//River teaches maths at the local school. Her long brown hair is flecked with grey and her piercing blue eyes scrutinize her surroundings. Students tend to be well-behaved in her class.//
		<</if>>
	<<case Leighton>>
		<<if $NPCName[_i].pronoun is "m">>
			<<set $NPCName[_i].title to "headmaster">>
			//Leighton is the headmaster of the local school. He has green eyes and well-kept greying black hair. Tall and stately, he has a firm attitude towards the students at his school.//
		<<else>>
			<<set $NPCName[_i].title to "headmistress">>
			//Leighton is the headmistress of the local school. She has green eyes and greying black hair, held behind her head in a bun. Tall and stately, she has a firm attitude towards the students at her school.//
		<</if>>
	<<case Mason>>
		<<if $NPCName[_i].pronoun is "m">>
			//Mason is the swimming teacher at the local school. He's the youngest teacher, only a few years older than some of the students. His toned body is naturally shown off during class, but if he notices the way he's leered at, he gives no indication.//
		<<else>>
			//Mason is the swimming teacher at the local school. She's the youngest teacher, only a few years older than some of the students. Her toned body is naturally shown off during class, but if she notices the way she's leered at, she gives no indication.//
		<</if>>
	<<case Winter>>
		<<if $NPCName[_i].pronoun is "m">>
			//Winter teaches history at the local school. He's an older gentleman, well-groomed and sophisticated.//
		<<else>>
			//Winter teaches history at the local school. She's an older lady, well-groomed and sophisticated.//
		<</if>>
	<<case Doren>>
		<<if $NPCName[_i].pronoun is "m">>
			//Doren teaches English at the local school. His shaggy red hair and beard give him a savage look.//
		<<else>>
			//Doren teaches English at the local school. Her shaggy red hair gives her a savage look.//
		<</if>>
	<<case Sirris>>
		<<if $NPCName[_i].pronoun is "m">>
			//Sirris teaches science at the local school. He's calm and patient, which sometimes leads to a disordered classroom.//
		<<else>>
			//Sirris teaches science at the local school. She's calm and patient, which sometimes leads to a disordered classroom.//
		<</if>>
	<<case Eden>>
		<<if $NPCName[_i].pronoun is "m">>
			<<set $NPCName[_i].title to "hunter">>
		<<else>>
			<<set $NPCName[_i].title to "huntress">>
		<</if>>
	<<case Avery>>
		<<if $NPCName[_i].pronoun is "m">>
			<<set $NPCName[_i].title to "businessman">>
		<<else>>
			<<set $NPCName[_i].title to "businesswoman">>
		<</if>>
	<<case Jordan>>
		<<if $NPCName[_i].pronoun is "m">>
			<<set $NPCName[_i].title to "monk">>
		<<else>>
			<<set $NPCName[_i].title to "nun">>
		<</if>>
	<<default>>
	<</switch>>
<</if>>

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

<<widget "npc">><<nobr>>

<<set _nam to $args[0]>>
<<set _i to $NPCNameList.indexOf(_nam)>>

<<if $NPCName[_i].init isnot 1>>
	<<switch $NPCName[_i].nam>>
	<<case Robin Whitney Eden Kylar>>
		/%  %/
	<<default>>
	<<initnpc _nam>>
	<</switch>>
<</if>>

<<set $npc to _nam>>
<<set $npcnum to _i>>
<<set $pronoun to $NPCName[_i].pronoun>>

<<set $NPCList[0].pronoun to $NPCName[_i].pronoun>>
<<set $NPCList[0].gender to $NPCName[_i].gender>>
<<set $NPCList[0].lefthand to 0>>
<<set $NPCList[0].righthand to 0>>
<<set $NPCList[0].mouth to 0>>
<<set $NPCList[0].anus to 0>>
<<set $NPCList[0].chest to 0>>

<<set $NPCList[0].breastsize to $NPCName[_i].breastsize>>
<<set $NPCList[0].breastsdesc to $NPCName[_i].breastsdesc>>
<<set $NPCList[0].breastdesc to $NPCName[_i].breastdesc>>

<<if $NPCName[_i].gender is "m">>
	<<set $NPCList[0].penis to "clothed">>
	<<set $NPCList[0].penissize to $NPCName[_i].penissize>>
	<<set $NPCList[0].penisdesc to $NPCName[_i].penisdesc>>
<<else>>
	<<set $NPCList[0].vagina to "clothed">>
<</if>>

<<set $NPCList[0].insecurity to $NPCName[_i].insecurity>>
<<set $npcdescription to $NPCName[_i].description>>

<<set $NPCList[0].adult to $NPCName[_i].adult>>
<<set $NPCList[0].teen to $NPCName[_i].teen>>

<<set $enemyno += 1>>

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

<<widget "npcrelationship">><<nobr>>

<<set _nam to $args[0]>>
<<set _i to $NPCNameList.indexOf(_nam)>>
<<if $NPCName[_i].init is 1>>
	<<set $npctextlove to $NPCName[_i].love>>
	<<set $npctextdom to $NPCName[_i].dom>>
	<<set $npctextname to _nam>>
	<<set $npctextdescription to $NPCName[_i].title>>
	<<relationshiptext _nam>>

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

<<widget "npcincr">><<nobr>>

<<set _nam to $args[0]>>
<<set _var to $args[1]>>
<<set _val to $args[2]>>

<<set _i to $NPCNameList.indexOf(_nam)>>

<<switch _var>>
	<<case love>>
		<<set $NPCName[_i].love += _val>>
	<<case dom>>
		<<set $NPCName[_i].dom += _val>>
	<<case trust>>
		<<set $NPCName[_i].trust += _val>>
	<<case lust>>
		<<set $NPCName[_i].lust += _val>>
	<<case rage>>
		<<set $NPCName[_i].rage += _val>>
	<<case state>>
		<<set $NPCName[_i].state to _val>>
	<<case trauma>>
		<<set $NPCName[_i].trauma += _val>>
	<<default>>
		NPCINCR error - Unknown variable _var

<</switch>>

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

<<widget "npcset">><<nobr>>

<<set _nam to $args[0]>>
<<set _var to $args[1]>>
<<set _val to $args[2]>>

<<set _i to $NPCNameList.indexOf(_nam)>>

<<switch _var>>
	<<case love>>
		<<set $NPCName[_i].love to _val>>
	<<case dom>>
		<<set $NPCName[_i].dom to _val>>
	<<case trust>>
		<<set $NPCName[_i].trust to _val>>
	<<case lust>>
		<<set $NPCName[_i].lust to _val>>
	<<case rage>>
		<<set $NPCName[_i].rage to _val>>
	<<case state>>
		<<set $NPCName[_i].state to _val>>
	<<case trauma>>
		<<set $NPCName[_i].trauma to _val>>
	<<default>>
		NPCSET error - Unknown value _var

<</switch>>

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

<<widget "relationshiptext">><<nobr>>

<<set _npc to $args[0]>>
<<set _i to $NPCNameList.indexOf(_npc)>>

<<switch _npc>>
	<<case Robin>>
		Robin
		<<if $robinromance is 1>>
		loves you.
		<<elseif $NPCName[_i].trauma gte 80>>
		is traumatised.
		<<elseif $NPCName[_i].trauma gte 40>>
		is in pain.
		<<elseif $NPCName[_i].trauma gte 10>>
		is troubled.
		<<else>>
		looks up to you.
		<</if>>

	<<case Avery>>
		Avery
		<<if $NPCName[_i].love gte 60>>
			<<if $NPCName[_i].rage gte 60>>
			is infuriated by you.
			<<elseif $NPCName[_i].rage gte 20>>
			wants you on a tighter leash.
			<<else>>
			prizes you.
			<</if>>
		<<elseif $NPCName[_i].love gte 20>>
			<<if $NPCName[_i].rage gte 60>>
			is furious with you.
			<<elseif $NPCName[_i].rage gte 20>>
			sees you as a possession.
			<<else>>
			thinks you're cute.
			<</if>>
		<<else>>
			<<if $NPCName[_i].rage gte 60>>
			thinks you're insolent.
			<<elseif $NPCName[_i].rage gte 20>>
			thinks you're a brat.
			<<else>>
			has no strong opinion of you.
			<</if>>
		<</if>>

	<<case Kylar>>
		Kylar the loner
		<<if $NPCName[_i].love gte 90>>
			<<if $NPCName[_i].rage gte 90>>
			is hysteric.
			<<elseif $NPCName[_i].rage gte 60>>
			is obsessed with you.
			<<elseif $NPCName[_i].rage gte 30>>
			is obsessed with you.
			<<else>>
			is obsessed with you.
			<</if>>
		<<elseif $NPCName[_i].love gte 60>>
			<<if $NPCName[_i].rage gte 90>>
			is hysteric.
			<<elseif $NPCName[_i].rage gte 60>>
			is enamoured with you.
			<<elseif $NPCName[_i].rage gte 30>>
			is enamoured with you.
			<<else>>
			is enamoured with you.
			<</if>>
		<<elseif $NPCName[_i].love gte 30>>
			<<if $NPCName[_i].rage gte 90>>
			is hysteric.
			<<elseif $NPCName[_i].rage gte 60>>
			is infatuated with you.
			<<elseif $NPCName[_i].rage gte 30>>
			is infatuated with you.
			<<else>>
			is infatuated with you.
			<</if>>
		<<else>>
			<<if $NPCName[_i].rage gte 90>>
			is hysteric.
			<<elseif $NPCName[_i].rage gte 60>>
			is fixated on you.
			<<elseif $NPCName[_i].rage gte 30>>
			is fixated on you.
			<<else>>
			is fixated on you.
			<</if>>
		<</if>>

	<<default>>
		<<if $npctextlove gte $npclovehigh>>
			<<if $npctextdom gte $npcdomhigh>>
			$npctextname the $npctextdescription thinks you're adorable.
			<<elseif $npctextdom lte $npcdomlow>>
			$npctextname the $npctextdescription thinks you're inspiring.
			<<else>>
			$npctextname the $npctextdescription thinks you're delightful.
			<</if>>
		<<elseif $npctextlove lte $npclovelow>>
			<<if $npctextdom gte $npcdomhigh>>
			$npctextname the $npctextdescription thinks you're pathetic.
			<<elseif $npctextdom lte $npcdomlow>>
			$npctextname the $npctextdescription thinks you're irritating.
			<<else>>
			$npctextname the $npctextdescription thinks you're terrible.
			<</if>>
		<<else>>
			<<if $npctextdom gte $npcdomhigh>>
			$npctextname the $npctextdescription thinks you're cute.
			<<elseif $npctextdom lte $npcdomlow>>
			$npctextname the $npctextdescription looks up to you.
			<<else>>
			$npctextname the $npctextdescription has no strong opinion of you.
			<</if>>
		<</if>>
<</switch>>
<</nobr>><</widget>>


code:
:: Options [widget]

<<widget "options">><<nobr>>

<<button Close>>
	<<addclass "#customOverlay" "hidden">>
	<<set $currentOverlay to null>>
<</button>>
<<button "Export/Import Save">>
	<<overlayReplace "optionsExportImport">>
	<<set $currentOverlay to null>>
<</button>>

Options

Saves

	<<saveList>>

These require a passage (move location, enter/exit a wardrobe, etc) change to apply.

<<print '<<checkbox "$enabledOldSaveMenu" false true '+($enabledOldSaveMenu is true ? "checked" : "")+'>>'>>
	Enable old Save Menu

<<if $map isnot undefined>>

	<<print '<<checkbox "$map.movement" false true '+($map.movement is true ? "checked" : "")+'>>'>>
		Enable map movement by clicking/touching the map icons

	<<print '<<checkbox "$map.markers" false true '+($map.markers is true ? "checked" : "")+'>>'>>
		Show clickable area on map

	<<if $map isnot undefined>>
		<<print '<<checkbox "$map.legacy" false true '+($map.legacy is true ? "checked" : "")+'>>'>> Disable SVG map. Enable if town map is not visible. The above option will not work with this enabled.

	<</if>>
	<<print '<<checkbox "$map.top" false true '+($map.top is true ? "checked" : "")+'>>'>>
		Move the map above the map links

	/*<<print '<<checkbox "$map.hideLinks" false true '+($map.hideLinks is true ? "checked" : "")+'>>'>>
		Hide links that can be accessed via the map movement (Requires map movement to be enabled).
	*/

<</if>>

<<if $passage isnot "Start">>
	<<button "Restart Game">>
		<>
	<</button>>
<</if>>

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

<<widget "optionsExportImport">><<nobr>>

<<button Close>>
	<<addclass "#customOverlay" "hidden">>
	<<set $currentOverlay to null>>
<</button>>
<<button "Return to Options">>
	<<overlayReplace "options">>
	<<set $currentOverlay to "options">>
<</button>>

Saves Export/Import

File Import/Export

<<if SugarCube.Browser.isMobile.any() is true>>
	Note that saving and loading from file does not work on Android currently.
<<else>>
	Load from file: <input id="saveImport" type="file" value="Load from file" onchange="importSave(this.files)">

	<<if $dancing is 0 and $combat is 0>>
		<input type="button" value="Save to file" onclick="SugarCube.Save.export()">
	<<else>>
		Unable to save to file currently.
	<</if>>
<</if>>

Text Import/Export

<<if $dancing is 0 and $combat is 0>>
	This feature lets you transfer saves between devices when one or more does not allow access to save files, such as on Android.

	To save, click on "Get Save Data", then copy and paste the save data where required.

	To load, paste in the save data then click "Load Save Data".

	To transfer to and from Android, it is recommended to use email or a service such as pastebin. Please ensure that the start and the end of the save is exact to prevent issues.

	<textarea id="saveDataInput" rows="4" cols="40" onClick="if(SugarCube.State.variables.disableAutoSelect == false)this.select();"></textarea>

	<input type="button" value="Clear Text Box" onclick="clearTextBox('saveDataInput')"/>
	<input type="button" value="Top of Text Box" onclick="topTextArea('saveDataInput')"/>
	<input type="button" value="Bottom of Text Box" onclick="bottomTextArea('saveDataInput')"/>
	<input type="button" value="Get Save Data" onclick="getSaveData()"/>
	<input type="button" value="Load Save Data" onclick="loadSaveData()"/>
<<else>>
	Unable to save currently.
<</if>>

	<<if $enabledOldSaveMenu is true>>
		<<checkbox "$disableAutoSelect" false true checked>>
	<<else>>
		<<checkbox "$disableAutoSelect" false true>>
	<</if>>
	Disables auto select.

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

<<widget "saveList">><<nobr>>
<<set _saveDetails = returnSaveDetails()>>

		<<for _i to 0; _i lt 10; _i++>>

				<<if _i is 0>>
					A
					<<if _saveDetails.autosave isnot null>>
						<input type="button" class="saveMenuButton" value="Load" onclick="loadSave('auto')"/>
						<<print _saveDetails.autosave.title>>

						<<print new Date(_saveDetails.autosave.date).toLocaleString()>>
						<input type="button" class="saveMenuButton right" value="Delete Auto" onclick="deleteSave('auto')"/>
					<<else>>
						<input type="button" value="Load" disabled/>

					<</if>>
				<<elseif _i lt 9>>
					<<set _slot to _i - 1>>
					<<print _i>>
					<<if _saveDetails.slots[_slot] isnot null>>

							<<print '<input type="button" class="saveMenuButton" value="Save" onclick="save('+ _slot +')"/>'>>
							<<print '<input type="button" class="saveMenuButton" value="Load" onclick="loadSave('+ _slot +')"/>'>>

						<<print _saveDetails.slots[_slot].title>>

						<<print new Date(_saveDetails.slots[_slot].date).toLocaleString()>>
						<<print '<input type="button" class="saveMenuButton right" value="Delete" onclick="deleteSave('+ _slot +')"/>'>>
					<<else>>
						<<print '<input type="button" class="saveMenuButton" value="Save" onclick="save('+ _slot +')"/>'>>

					<</if>>
				<<else>>

					<input type="button" class="saveMenuButton right" value="Delete All" onclick="deleteSave('all')"/>
				<</if>>

		<</for>>

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

<<widget "clearAllWarning">>
Warning - Are you sure you would like to delete all saves?

<input type="button" class="close" value="Confirm Delete All" onclick="deleteSave('all', true)"/>

<input type="button" class="saveMenuButton" value="Cancel" onclick="deleteSave('all', false)"/>

<</widget>>

<<widget "resetSaveMenu">><<nobr>>
	<<replace #saveList>>
		<<saveList>>
	<</replace>>
<</nobr>><</widget>>

<<widget "clearSaveMenu">><<nobr>>
	<<replace #saveList>>
		<<clearAllWarning>>
	<</replace>>
<</nobr>><</widget>>


code:
:: Widgets Orgasm [widget]

<<widget "orgasm">><<nobr>>
	<<if $orgasmcount lte 1>>
		<<set $stress -= 200>>
		<<if $drugged gte 1>>
			<<set $arousal -= 4000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 8000>>
		<</if>>
		You shudder from the sudden release.

	<<elseif $orgasmcount lte 2>>
		<<set $stress -= 200>>
		<<if $drugged gte 1>>
			<<set $arousal -= 5000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 9000>>
		<</if>>
		You shudder from the sudden release.

	<<elseif $orgasmcount lte 3>>
		<<set $stress -= 200>>
		<<if $drugged gte 1>>
			<<set $arousal -= 6000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		You shudder from the sudden release.

	<<elseif $orgasmcount lte 4>>
		<<set $stress -= 200>>
		<<if $drugged gte 1>>
			<<set $arousal -= 7000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		You shudder from the sudden release.

	<<elseif $orgasmcount lte 5>>
		<<set $stress -= 200>>
		<<if $drugged gte 1>>
			<<set $arousal -= 8000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		You feel spent.

	<<elseif $orgasmcount lte 6>>
		<<set $stress -= 100>>
		<<if $drugged gte 1>>
			<<set $arousal -= 7000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		Despite feeling like you've nothing left to give, the orgasm is intense.

	<<elseif $orgasmcount lte 7>>
		<<set $stress -= 100>>
		<<if $drugged gte 1>>
			<<set $arousal -= 6000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		Despite feeling like you've nothing left to give, the orgasm is intense.

	<<elseif $orgasmcount lte 8>>
		<<set $stress -= 100>>
		<<if $drugged gte 1>>
			<<set $arousal -= 5000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		Despite feeling like you've nothing left to give, the orgasm is intense.

	<<elseif $orgasmcount lte 9>>
		<<if $drugged gte 1>>
			<<set $arousal -= 4000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		Your body is tiring from the repeated climaxes.

	<<elseif $orgasmcount lte 10>>
		<<if $drugged gte 1>>
			<<set $arousal -= 3000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		Your body is tiring from the repeated climaxes.

	<<elseif $orgasmcount lte 11>>
		<<if $drugged gte 1>>
			<<set $arousal -= 2000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		Your body is tiring from the repeated climaxes.

	<<elseif $orgasmcount lte 18>>
		<<if $drugged gte 1>>
			<<set $arousal -= 2000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		<<set $stress += 100>>
		The repeated orgasms are causing you great strain. You don't want to cum any more.

	<<elseif $orgasmcount lte 23>>
		<<if $drugged gte 1>>
			<<set $arousal -= 2000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		<<set $stress += 100>><<combattrauma 10>>
		Your mind and body buckle under the continued orgasms.

	<<else>>
		<<if $drugged gte 1>>
			<<set $arousal -= 2000>><<set $drugged -= 20>>
		<<else>>
			<<set $arousal -= 10000>>
		<</if>>
		<<set $stress += 100>><<combattrauma 10>><<set $pain += 5>>
		You've had so many orgasms in such a short span of time that you no longer gain any pleasure from them. They're painful, both physically and psychologically.

	<</if>>
	<<if $orgasmtrait gte 1>>
		<<set $stress -= 100>>
	<</if>>
	<<set $orgasmcurrent += 1>>
<</nobr>><</widget>>

<<widget "orgasmpassage">><<nobr>>
	<<if $femaleclimax isnot -1 and $orgasmdown lt 0>>
		<<set $femaleclimax to -1>>
	<</if>>
	<<orgasmstat>><<set $orgasmcount += 1>><<set $orgasmdown to 3>><<set $speechcum += 1>><<set $speechorgasmcount += 1>>
	<<if $penisexist is 1 and $femaleclimax is -1 and $penissize lt 0>>
		<<set $calculation to 0>>
		<<if $anusstate is "penetrated" or $anusstate is "tentacle" or $mouthstate is "tentacledeep">>
			<<set $calculation += 40>>
		<</if>>
		<<if $mouthstate is "penetrated" or $mouthstate is "tentacle" or $mouthstate is "tentacledeep">>
			<<set $calculation += 20>>
		<</if>>
		<<if $penisstate is "penetrated" or $penisstate is "otheranus" or $penisstate is "tentacledeep" or $penisstate is "tentacle">>
			<<set $calculation -= 40>>
		<</if>>
		<<if random(1, 100) lte (50 + $calculation)>>
			<<set $femaleclimax to 1>>
		<<else>>
			<<set $femaleclimax to 0>>
		<</if>>
	<</if>>
	<<if $penisexist is 1 and $devstate is 1 and $femaleclimax isnot 1>>
		<<if $orgasmcount gte 24>>
			You are overcome by sensation and your body is tormented by another orgasm. You produce no cum, as your reserves are utterly spent.
		<<else>>
			<<if $parasite.penis.name>>
			You are overcome by sensation. You ejaculate into the parasite latched onto your penis.
			<<elseif $penisuse is "othervagina">>
				<<if $penisstate is "penetrated">>
					<<penileejacstat>>
					You are overcome by sensation and ejaculate deep into <<his>> womb.
					<<set $purity -= 1>><<internalejac>><<creampie "npc" "vagina">>
				<<else>>
					You are overcome by sensation and ejaculate on <<his>> pussy.
				<</if>>
			<<elseif $penisuse is "otheranus">>
				<<if $penisstate is "otheranus">>
					<<penileejacstat>>
					You are overcome by sensation and ejaculate deep into <<his>> bowels.
					<<set $purity -= 1>><<internalejac>><<creampie "npc" "anus">>
				<<else>>
					You are overcome by sensation and ejaculate on <<his>> ass.
				<</if>>
			<<elseif $penisuse is "othermouth">>
				<<if $penisstate is "othermouth">>
					<<penileejacstat>>
					You are overcome by sensation and ejaculate into <<his>> mouth.
					<<set $purity -= 1>><<internalejac>><<creampie "npc" "mouth">>
				<<else>>
					You are overcome by sensation and ejaculate on <<his>> face.
				<</if>>
			<<elseif $penisuse is "tentacle">>
				<<if $penisstate isnot "tentacleentrance" and $penisstate isnot "tentacleimminent">>
					<<penileejacstat>>
					You are overcome by sensation. The tentacle milks you of your semen.
					<<set $purity -= 1>><<internalejac>><<creampie "npc" "tentacle">>
				<<else>>
					You are overcome by sensation and ejaculate on the tentacle.
				<</if>>
			<<else>>
				You are overcome by sensation. A surge of cum erupts from your penis.
			<</if>>
			<<if $orgasmcount gte 18>>
				Exhausted, your body only manages to produce a few droplets of watery cum.
			<<elseif $orgasmcount gte 12>>
				Tired from overuse, your cum is thin and watery.
			<<elseif $orgasmcount gte 6>>
				The repeated orgasms are taking their toll, reducing the amount of cum your body manages to produce.
			<</if>>
		<</if>>
	<<elseif $penisexist is 1 and $penissize lt 0>>
		You are overcome by sensation and climax like a girl.
	<<else>>
		You are overcome by sensation and climax.
	<</if>>
	<<if $swarmchestgrab gte 1>>
		Your convulsions launch the $swarmcreature away from your chest.
		<<set $swarmchestgrab to 0>>
	<</if>>
	<<if $swarm1 is "chest">>
		<<set $swarm1 to "active">>
	<</if>>
	<<if $swarm2 is "chest">>
		<<set $swarm2 to "active">>
	<</if>>
	<<if $swarm3 is "chest">>
		<<set $swarm3 to "active">>
	<</if>>
	<<if $swarm4 is "chest">>
		<<set $swarm4 to "active">>
	<</if>>
	<<if $swarm5 is "chest">>
		<<set $swarm5 to "active">>
	<</if>>
	<<if $swarm6 is "chest">>
		<<set $swarm6 to "active">>
	<</if>>
	<<if $swarm7 is "chest">>
		<<set $swarm7 to "active">>
	<</if>>
	<<if $swarm8 is "chest">>
		<<set $swarm8 to "active">>
	<</if>>
	<<if $swarm9 is "chest">>
		<<set $swarm9 to "active">>
	<</if>>
	<<if $swarm10 is "chest">>
		<<set $swarm10 to "active">>
	<</if>>
	<<orgasm>>
<</nobr>><</widget>>

<<widget "orgasmstreet">><<nobr>>
	<<orgasmpassage>>
	<<if $exposed gte 1>>
		<<if $daystate isnot "night">>
			You steady yourself as your spasms subside, feeling exposed and hoping the noise hasn't given away your hiding place.
		<<else>>
			You steady yourself as your spasms subside, feeling exposed and hoping the noise hasn't attracted attention.
		<</if>>
	<<else>>
		<<if $daystate isnot "night">>
			The sight and sound of a <<girl>> convulsing in climax draws attention, and as you regain control you find yourself stared at from all directions. Face red, you flee the scene.
			<<gtrauma>><<gstress>><<trauma 6>><<stress 6>><<fameexhibitionism 10>>
		<<else>>
			You steady yourself as your spasms subside, and hope the noise hasn't attracted attention.
		<</if>>
	<</if>>

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

<<widget "orgasmforest">><<nobr>>
	<<orgasmpassage>>
	<<if $exposed gte 1>>
		<<if $daystate isnot "night">>
			You steady yourself against a tree as your spasms subside.
		<<else>>
			You steady yourself against a tree as your spasms subside.
		<</if>>
	<<else>>
		<<if $daystate isnot "night">>
			You steady yourself against a tree as your spasms subside.
		<<else>>
			You steady yourself against a tree as your spasms subside.
		<</if>>
	<</if>>

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

<<widget "orgasmbeach">><<nobr>>
	<<orgasmpassage>>
	<<if $exposed gte 1>>
		<<if $daystate isnot "night">>
			You steady yourself as your spasms subside, feeling exposed and hoping the noise hasn't given away your hiding place.
		<<else>>
			You steady yourself as your spasms subside, feeling exposed on the open beach.
		<</if>>
	<<else>>
		<<if $daystate isnot "night">>
			The sight and sound of a <<girl>> convulsing in climax draws attention, and as you regain control you find yourself stared at from all across the beach. Face red, you flee the scene.
			<<gtrauma>><<gstress>><<trauma 6>><<stress 6>><<fameexhibitionism 10>>
		<<else>>
			You steady yourself as your spasms subside, feeling exposed on the open beach.
		<</if>>
	<</if>>

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

<<widget "orgasmhour">><<nobr>>
	<<if $purity gte 990>>
		<<set $orgasmcount -= 1>>
	<<elseif $purity gte 900>>
		<<set $orgasmcount -= 2>>
	<<elseif $purity gte 800>>
		<<set $orgasmcount -= 3>>
	<<elseif $purity gte 700>>
		<<set $orgasmcount -= 4>>
	<<elseif $purity gte 600>>
		<<set $orgasmcount -= 5>>
	<<elseif $purity gte 500>>
		<<set $orgasmcount -= 6>>
	<<elseif $purity gte 400>>
		<<set $orgasmcount -= 7>>
	<<elseif $purity gte 300>>
		<<set $orgasmcount -= 8>>
	<<elseif $purity gte 200>>
		<<set $orgasmcount -= 9>>
	<<elseif $purity gte 100>>
		<<set $orgasmcount -= 10>>
	<<else>>
		<<set $orgasmcount -= 11>>
	<</if>>
<</nobr>><</widget>>


code:
:: overlayReplace [widget]

<<widget "overlayReplace">><<nobr>>
	<<if $args[0]>>
		<<if $currentOverlay isnot $args[0]>>
			<<set $currentOverlay to $args[0]>>
			<<switch $args[0]>>
			<<case "characteristics">>
				<<replace #customOverlay>><<characteristics>><</replace>>
			<<case "traits">>
				<<replace #customOverlay>><<traits>><</replace>>
			<<case "social">>
				<<replace #customOverlay>><<social>><</replace>>
			<<case "statistics">>
				<<replace #customOverlay>><<statistics>><</replace>>
			<<case "options">>
				<<replace #customOverlay>><<options>><</replace>>
			<<case "optionsExportImport">>
				<<replace #customOverlay>><<optionsExportImport>><</replace>>
			<<case "cheats">>
				<<replace #customOverlay>><<cheats>><</replace>>
			<</switch>>
			<<removeclass "#customOverlay" "hidden">>
		<<else>>
			<<set $currentOverlay to null>>
			<<addclass "#customOverlay" "hidden">>
		<</if>>
	<</if>>
<</nobr>><</widget>>


code:
:: Widgets Parasites [widget]
<<widget "parasiteinit">><<nobr>>

<<set $parasite to {}>>

<<set $parasite.nipples to {}>>
<<set $parasite.bottom to {}>>
<<set $parasite.penis to {}>>
<<set $parasite.balls to {}>>
<<set $parasite.clit to {}>>
<<set $parasite.anus to {}>>
<<set $parasite.vagina to {}>>
<<set $parasite.labia to {}>>
<<set $parasite.right_thigh to {}>>
<<set $parasite.left_thigh to {}>>
<<set $parasite.left_foot to {}>>
<<set $parasite.right_foot to {}>>
<<set $parasite.right_arm to {}>>
<<set $parasite.left_arm to {}>>
<<set $parasite.right_hand to {}>>
<<set $parasite.left_hand to {}>>
<<set $parasite.tummy to {}>>
<<set $parasite.back to {}>>
<<set $parasite.face to {}>>
<<set $parasite.mouth to {}>>
<<set $parasite.left_ear to {}>>
<<set $parasite.right_ear to {}>>
<<set $parasite.hair to {}>>

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

<<widget "parasite">><<nobr>>
/*First argument is the body part you want to attach a parasite to, second argument is the type of parasite*/
<<if $args[0] and $args[1]>>
<<set _temp0 to $args[0]>>
<<set _temp1 to $args[1]>>

<<set $parasite[_temp0].name to _temp1>>
<<set $parasitestat += 1>>
<</if>>
<</nobr>><</widget>>

<<widget "removeparasite">><<nobr>>
/*Argument is the body part you want to free from parasites*/
<<if $args[0]>>
<<set _temp0 to $args[0]>>
<<set $parasite[_temp0] to {}>>
<</if>>
<</nobr>><</widget>>


code:
:: Widgets Persistent NPCs [widget]
/*For saving generic NPC data so they can be loaded later*/
<<widget "saveNPC">><<nobr>>
/*First argument is the NPClist index of the NPC to be saved. Second argument is the string you want to save it under.*/
<<if $args[0] gte 0 and $args[1]>>
	<<set _temp1 to $args[1]>>
	<<set _temp0 to $args[0]>>
	<<set $per_npc[_temp1] to clone($NPCList[_temp0])>>
<</if>>
<</nobr>><</widget>>

<<widget "loadNPC">><<nobr>>
/*First argument is the NPClist you want the NPC to fill. Second argument is the string you want to load, as saved with saveNPC.*/
<<if $args[0] gte 0 and $args[1]>>
	<<set _temp1 to $args[1]>>
	<<set _temp0 to $args[0]>>
	<<set $NPCList[_temp0] to clone($per_npc[_temp1])>>
	<<set $enemyno += 1>>
<</if>>
<</nobr>><</widget>>

<<widget "clearNPC">><<nobr>>
/*Clears persistent NPC data for a single NPC. Argument is the string the NPC was saved under.*/
<<if $args[0]>>
<<set _temp0 to $args[0]>>
<<unset $per_npc[_temp0]>>
<</if>>
<</nobr>><</widget>>