code:
:: Widgets State Man [widget]
<<widget "stateman">><<nobr>>

<<if $enemyno is 1>>

	<<if $NPCList[0].pronoun is "m">>
	<<set $pronoun to "m">>
	<</if>>
	<<if $NPCList[0].pronoun is "f">>
	<<set $pronoun to "f">>
	<</if>>
	<<if $NPCList[0].pronoun is "i">>
	<<set $pronoun to "i">>
	<</if>>
	<<if $NPCList[0].pronoun is "n">>
	<<set $pronoun to "n">>
	<</if>>
	<<if $NPCList[0].pronoun is "t">>
	<<set $pronoun to "t">>
	<</if>>
	<<if $enemytype is "beast">>
	<<set $pronoun to "i">>
	<</if>>

	<<if $enemyhealth gte $enemyhealthmax>>
	<<He>> looks eager.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 4>>
	<<He>> looks uncomfortable.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 3>>
	<<He>> looks stung.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 2>>
	<<He>> looks pained.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 1>>
	<<He>> looks hurt.
	<<elseif $enemyhealth gt 0>>
	<<He>> doesn't look like <<he>> can take much more pain.
	<<elseif $enemyhealth lte 0>>
	<<He>> is recoiling in pain.<<combatcontrol 15>><<def 10>>
	<</if>>

	<<if $enemyarousal gte $enemyarousalmax>>
	<<if $NPCList[0].penis isnot "none">>
	Ejaculation imminent.
	<<else>>
	Orgasm imminent.
	<</if>>
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 4>>
	You think <<he>> is approaching orgasm.
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 3>>
	<<He>> looks lustful.
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 2>>
	<<He>> looks horny.
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 1>>
	<<He>> looks aroused.
	<<elseif $enemyarousal gt 0>>
	<<He>> looks stimulated.
	<<elseif $enemyarousal lte 0>>
	<<He>> is positively flaccid.
	<</if>>

	<<if $enemyanger gte $enemyangermax>>
	<<He>> is furious.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 4>>
	<<He>> looks incredibly pissed off.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 3>>
	<<He>> looks angry.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 2>>
	<<He>> looks frustrated.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 1>>
	<<He>> looks irritated.
	<<elseif $enemyanger gt 0>>
	<<He>> looks disappointed.
	<<elseif $enemyanger lte 0>>
	<<He>> looks calm.
	<</if>>

	<<if $enemytrust lte -100>>
	<<He>> looks full of suspicion.
	<<elseif $enemytrust lte -60>>
	<<He>> looks guarded.
	<<elseif $enemytrust lte -20>>
	<<He>> looks wary.
	<<elseif $enemytrust lte 20>>
	<<He>> looks cautious.
	<<elseif $enemytrust lte 60>>
	<<He>> looks alert
	<<elseif $enemytrust lte 100>>
	<<He>> looks relaxed.
	<<elseif $enemytrust gt 100>>
	<<He>> looks confident.
	<</if>>

<<else>>

<<set $pronoun to "t">>

	<<if $enemyhealth gte $enemyhealthmax>>
	<<He>> look eager.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 4>>
	<<He>> look uncomfortable.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 3>>
	<<He>> look stung.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 2>>
	<<He>> look pained.
	<<elseif $enemyhealth gte ($enemyhealthmax / 5) * 1>>
	<<He>> look hurt.
	<<elseif $enemyhealth gt 0>>
	<<He>> don't look like <<he>> can take much more pain.
	<<elseif $enemyhealth lte 0>>
	<<He>> are recoiling in pain.
	<<combatcontrol 15>><<def 10>>
	<</if>>

	<<if $enemyarousal gte $enemyarousalmax>>
	<<if $NPCList[0].penis isnot "none">>
	Ejaculation imminent.
	<<else>>
	Orgasm imminent.
	<</if>>
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 4>>
	You think <<he>> are approaching orgasm.
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 3>>
	<<He>> look lustful.
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 2>>
	<<He>> look horny.
	<<elseif $enemyarousal gte ($enemyarousalmax / 5) * 1>>
	<<He>> look aroused.
	<<elseif $enemyarousal gt 0>>
	<<He>> look stimulated.
	<<elseif $enemyarousal lte 0>>
	<<He>> are positively flaccid.
	<</if>>

	<<if $enemyanger gte $enemyangermax>>
	<<He>> are furious.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 4>>
	<<He>> look incredibly pissed off.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 3>>
	<<He>> look angry.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 2>>
	<<He>> look frustrated.
	<<elseif $enemyanger gte ($enemyangermax / 5) * 1>>
	<<He>> look irritated.
	<<elseif $enemyanger gt 0>>
	<<He>> look disappointed.
	<<elseif $enemyanger lte 0>>
	<<He>> look calm.
	<</if>>

	<<if $enemytrust lte -100>>
	<<He>> look full of suspicion.
	<<elseif $enemytrust lte -60>>
	<<He>> look guarded.
	<<elseif $enemytrust lte -20>>
	<<He>> look wary.
	<<elseif $enemytrust lte 20>>
	<<He>> look cautious.
	<<elseif $enemytrust lte 60>>
	<<He>> look alert
	<<elseif $enemytrust lte 100>>
	<<He>> look relaxed.
	<<elseif $enemytrust gt 100>>
	<<He>> look confident.
	<</if>>

<<if $panicattacks gte 1 and $panicviolence is 0 and $panicparalysis is 0 and $controlled is 0>>
	<<set $rng to random(1, 100)>>
	<<if $rng is 100>>
	<<set $panicparalysis to 10>>
	<</if>>
<</if>>

<<if $panicattacks gte 2 and $panicviolence is 0 and $panicparalysis is 0 and $controlled is 0>>
	<<set $rng to random(1, 100)>>
	<<if $rng is 100>>
	<<set $panicviolence to 3>>
	<</if>>
<</if>>

<</if>>

<<if $arousal gte 10000>>

<<orgasmpassage>>

<</if>>

<<set $seconds += 10>>
<<if $seconds gte 60>>
<<set $seconds to 0>>
<<pass 1>>
<</if>>

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

:: Widgets Combat State [widget]
<<widget "combatstate">><<nobr>>

<<if $gamemode is "soft">>
<<set $pain to 0>>
<</if>>

<<if $orgasmdown gte 1>>
<<set $enemyarousal += 10>>
Your body pulses and spasms with orgasmic waves, preventing you from acting normally.

<<disable>>
	<<if $panicviolence lte 0 and $panicparalysis lte 0 and $trance lte 0>>
	<<actionsorgasm>>
	<</if>>
<</if>>

<<if $pain gte 100 and $willpowerpain is 0>>
<<set $enemyarousal += 10>>
You are in too much pain to act normally.

<<disable>>
	<<if $orgasmdown lte 0 and $panicviolence lte 0 and $panicparalysis lte 0 and $trance lte 0>>
	<<actionspain>>
	<</if>>
<</if>>

<<if $panicviolence gte 1>>
<<set $enemyarousal += 10>>
You are stricken with panic, and flail wildly at anything invading your personal space.

<<defiance 10>><<set $panicviolence to $panicviolence - 1>><<disable>>
<</if>>

<<if $panicparalysis gte 1>>
<<set $enemyarousal += 10>>
You are stricken with panic, your muscles seize up, preventing action.

<<set $panicparalysis -= 1>><<disable>>
<</if>>

<<if $dissociation gte 2>>
<<set $enemyarousal += 10>>
You feel disconnected from yourself, as if in a dream.

<<disable>>
	<<if $orgasmdown lte 0 and $panicviolence lte 0 and $panicparalysis lte 0 and $trance lte 0>>
		<<if $pain lt 100 or $willpowerpain is undefined>>
		<<actionsdissociation>>
		<</if>>
	<</if>>
<</if>>

<<if $trance gte 1>>
<<set $enemyarousal += 10>>
You are entranced.

<<disable>>
<</if>>

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

<<widget "carryblock">><<nobr>>

<<if $orgasmdown gte 1>><<set $carryblock to "orgasm">>
<<elseif $pain gte 100 and $willpowerpain is 0>><<set $carryblock to "pain">>
<<elseif $dissociation gte 2>><<set $carryblock to "dissociation">>
<<elseif $panicviolence gte 1>><<set $carryblock to 1>>
<<elseif $panicparalysis gte 1>><<set $carryblock to 1>>
<<elseif $trance gte 1>><<set $carryblock to 1>>
<<else>><<set $carryblock to 0>>
<</if>>

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

<<widget "actioncarry">><<nobr>>

<<if $carryblock is 0>>

<<set $leftactioncarry to $leftactiondefault>>
<<set $rightactioncarry to $rightactiondefault>>
<<set $feetactioncarry to $feetactiondefault>>
<<set $mouthactioncarry to $mouthactiondefault>>
<<set $vaginaactioncarry to $vaginaactiondefault>>
<<set $penisactioncarry to $penisactiondefault>>
<<set $anusactioncarry to $anusactiondefault>>
<<set $thighactioncarry to $thighactiondefault>>
<<set $cheekactioncarry to $cheekactiondefault>>
<<set $chestactioncarry to $chestactiondefault>>

<<elseif $carryblock is "pain">>

<<set $leftactioncarrypain to $leftactiondefault>>
<<set $rightactioncarrypain to $rightactiondefault>>
<<set $feetactioncarrypain to $feetactiondefault>>
<<set $mouthactioncarrypain to $mouthactiondefault>>
<<set $vaginaactioncarrypain to $vaginaactiondefault>>
<<set $penisactioncarrypain to $penisactiondefault>>
<<set $anusactioncarrypain to $anusactiondefault>>
<<set $thighactioncarrypain to $thighactiondefault>>
<<set $cheekactioncarrypain to $cheekactiondefault>>
<<set $chestactioncarrypain to $chestactiondefault>>

<<elseif $carryblock is "orgasm">>

<<set $leftactioncarryorgasm to $leftactiondefault>>
<<set $rightactioncarryorgasm to $rightactiondefault>>
<<set $feetactioncarryorgasm to $feetactiondefault>>
<<set $mouthactioncarryorgasm to $mouthactiondefault>>
<<set $vaginaactioncarryorgasm to $vaginaactiondefault>>
<<set $penisactioncarryorgasm to $penisactiondefault>>
<<set $anusactioncarryorgasm to $anusactiondefault>>
<<set $thighactioncarryorgasm to $thighactiondefault>>
<<set $cheekactioncarryorgasm to $cheekactiondefault>>
<<set $chestactioncarryorgasm to $chestactiondefault>>

<<elseif $carryblock is "dissociation">>

<<set $leftactioncarrydissociation to $leftactiondefault>>
<<set $rightactioncarrydissociation to $rightactiondefault>>
<<set $feetactioncarrydissociation to $feetactiondefault>>
<<set $mouthactioncarrydissociation to $mouthactiondefault>>
<<set $vaginaactioncarrydissociation to $vaginaactiondefault>>
<<set $penisactioncarrydissociation to $penisactiondefault>>
<<set $anusactioncarrydissociation to $anusactiondefault>>
<<set $thighactioncarrydissociation to $thighactiondefault>>
<<set $cheekactioncarrydissociation to $cheekactiondefault>>
<<set $chestactioncarrydissociation to $chestactiondefault>>

<</if>>
<<set $carryblock to 0>>
<</nobr>><</widget>>

<<widget "actioncarrydrop">><<nobr>>

<<if $orgasmdown gte 1>>

<<set $leftactiondefault to $leftactioncarryorgasm>>
<<set $rightactiondefault to $rightactioncarryorgasm>>
<<set $feetactiondefault to $feetactioncarryorgasm>>
<<set $mouthactiondefault to $mouthactioncarryorgasm>>
<<set $vaginaactiondefault to $vaginaactioncarryorgasm>>
<<set $penisactiondefault to $penisactioncarryorgasm>>
<<set $anusactiondefault to $anusactioncarryorgasm>>
<<set $thighactiondefault to $thighactioncarryorgasm>>
<<set $cheekactiondefault to $cheekactioncarryorgasm>>
<<set $chestactiondefault to $chestactioncarryorgasm>>

<<elseif $pain gte 100 and $willpowerpain is 0>>

<<set $leftactiondefault to $leftactioncarrypain>>
<<set $rightactiondefault to $rightactioncarrypain>>
<<set $feetactiondefault to $feetactioncarrypain>>
<<set $mouthactiondefault to $mouthactioncarrypain>>
<<set $vaginaactiondefault to $vaginaactioncarrypain>>
<<set $penisactiondefault to $penisactioncarrypain>>
<<set $anusactiondefault to $anusactioncarrypain>>
<<set $thighactiondefault to $thighactioncarrypain>>
<<set $cheekactiondefault to $cheekactioncarrypain>>
<<set $chestactiondefault to $chestactioncarrypain>>

<<elseif $dissociation gte 2>>

<<set $leftactiondefault to $leftactioncarrydissociation>>
<<set $rightactiondefault to $rightactioncarrydissociation>>
<<set $feetactiondefault to $feetactioncarrydissociation>>
<<set $mouthactiondefault to $mouthactioncarrydissociation>>
<<set $vaginaactiondefault to $vaginaactioncarrydissociation>>
<<set $penisactiondefault to $penisactioncarrydissociation>>
<<set $anusactiondefault to $anusactioncarrydissociation>>
<<set $thighactiondefault to $thighactioncarrydissociation>>
<<set $cheekactiondefault to $cheekactioncarrydissociation>>
<<set $chestactiondefault to $chestactioncarrydissociation>>

<<else>>

<<set $leftactiondefault to $leftactioncarry>>
<<set $rightactiondefault to $rightactioncarry>>
<<set $feetactiondefault to $feetactioncarry>>
<<set $mouthactiondefault to $mouthactioncarry>>
<<set $vaginaactiondefault to $vaginaactioncarry>>
<<set $penisactiondefault to $penisactioncarry>>
<<set $anusactiondefault to $anusactioncarry>>
<<set $thighactiondefault to $thighactioncarry>>
<<set $cheekactiondefault to $cheekactioncarry>>
<<set $chestactiondefault to $chestactioncarry>>

<</if>>

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

:: Widgets Combat Effects [widget]
<<widget "combateffects">><<nobr>>

<<if $dev is 1>>
	<<if $consensual is 1>>
		<<if $trauma gte $traumasaved>>
		<<set $trauma to ($trauma - (($trauma - $traumasaved) * (($devlevel - 6) * 0.1)))>>
		<</if>>
	<</if>>
<<elseif $dev is 0>>
	<<if $consensual is 1>>
		<<if $trauma gte $traumasaved>>
		<<set $trauma -= ($trauma - $traumasaved)>>
		<</if>>
	<</if>>
<</if>>
<<if $rapetrait gte 1>>
	<<if $trauma gte $traumasaved>>
	<<set $trauma to ($trauma - (($trauma - $traumasaved) * 0.3))>>
	<</if>>
<</if>>
<<if $bestialitytrait gte 1 and $enemytype is "beast">>
	<<if $trauma gte $traumasaved>>
	<<set $trauma to ($trauma - (($trauma - $traumasaved) * 0.3))>>
	<</if>>
<</if>>
<<if $tentacletrait gte 1 and $enemytype is "tentacles">>
	<<if $trauma gte $traumasaved>>
	<<set $trauma to ($trauma - (($trauma - $traumasaved) * 0.3))>>
	<</if>>
<</if>>
<<if $trauma gte $traumasaved>>
<<set $traumagain += ($trauma - $traumasaved)>>
<</if>>

<<if $trauma lte 0>>
<<set $traumasaved to 0>>
<<else>>
<<set $traumasaved to $trauma>>
<</if>>

<<if $sciencetrait gte 1>>
	<<if $pain gte $painsaved>>
	<<set $pain to ($pain - (($pain - $painsaved) * ($sciencetrait / 10)))>>
	<</if>>
<</if>>
<<set $painsaved to $pain>>

<<if $orgasmtrait gte 1>>
	<<if $arousal gte $arousalsaved>>
<<set $arousal to ($arousal - (($arousal - $arousalsaved) * 0.4))>>
	<</if>>
<</if>>
<<set $arousalsaved to $arousal>>

<<if $stress gte $stresssaved>>
<<set $stressgain += ($stress - $stresssaved)>>
<</if>>

<<if $stress lte 0>>
<<set $stresssaved to 0>>
<<else>>
<<set $stresssaved to $stress>>
<</if>>

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

repo_name: fizzyboi/degrees

license: mit


code:
:: Widgets Swarm Actions [widget]
<<widget "swarmactions">><<nobr>>

<<set $chest to 0>>
<<set $front to 0>>
<<set $back to 0>>

<<if $vorecreature is 0>>
	<<if $images is 1>><<timed 100ms>>

	<<combatimg>>

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

<<if $enemytype isnot "tentacles">>
<<willpowerpain>>
<<willpowerorgasm>>
<<actioncarry>>
<<actioncarrydrop>>
<</if>>

<<if $trance lte 0>>
<<if $dissociation lte 1>>
<<if $panicparalysis is 0>>
<<if $panicviolence is 0>>
<<if $orgasmdown lte 0>>
<<if $pain lt 100 or $willpowerpain is undefined>>

<<if $leftarm is "bound">>
Your left arm is bound and helpless.
	<<if $gamemode is "soft">>

	Wriggle free<<radiobutton "$leftaction" "leftwriggle" checked>> |
	<</if>>

<<elseif $leftarm is "swarmgrappled">>
The $swarmcreature are constricting your left arm!

<<elseif $leftarm is 0>>
Your left arm is free.

	<<if $rightarm is "swarmgrappled">>
Free your right arm <<radiobutton "$leftaction" "leftfree">> |
	<<elseif $swarmpending gte 1>>
	$swarmSteady one of the $swarmname <<radiobutton "$leftaction" "leftswarm">> |
	<</if>>

	<<if $swarmfrontinside lte 0 and $swarmfront lte 0>>
	Cover your <<if $vaginaexist is 1>>pussy<<else>>penis<</if>> <<radiobutton "$leftaction" "frontcoverleft">> |
	<</if>>

	<<if $swarmbackinside lte 0 and $swarmback lte 0>>
	Cover your butt <<radiobutton "$leftaction" "backcoverleft" checked>> |
	<</if>>

	<<if $swarmchestgrab lte 0>>
	Cover your chest <<radiobutton "$leftaction" "chestcoverleft">> |
	<</if>>

	<<if $swarmfrontinside gte 1 and !$worn.under_lower.type.includes("chastity")>>
	<<if $vaginaexist is 1>>Pull the $swarmcreature out of your pussy<<else>>Pull the $swarmcreature off of your penis<</if>> <<radiobutton "$leftaction" "frontpurgeleft">> |
	<</if>>

	<<if $swarmfront gte 1 and !$worn.under_lower.type.includes("chastity")>>
	<<if $vaginaexist is 1>>Keep the $swarmcreature away from your pussy<<else>>Keep the $swarmcreature away from your penis<</if>> <<radiobutton "$leftaction" "frontclearleft">> |
	<</if>>

	<<if $swarmbackinside gte 1 and $worn.under_lower.anal_shield isnot 1>>
	Pull the $swarmcreature out of your anus <<radiobutton "$leftaction" "backpurgeleft" checked>> |
	<</if>>

	<<if $swarmback gte 1 and $worn.under_lower.anal_shield isnot 1>>
	Keep the $swarmcreature away from your butt <<radiobutton "$leftaction" "backclearleft" checked>> |
	<</if>>

	<<if $swarmchestgrab gte 1>>
	Clear the $swarmcreature off of your chest <<radiobutton "$leftaction" "chestclearleft">> |
	<</if>>

	<<if $water is 1 and $vorecreature is 0>>
	Swim to safety <<radiobutton "$leftaction" "swim" checked>> |
	<</if>>

	<<if $vorecreature is 0>>
	Rest <<radiobutton "$leftaction" "swarmrest">> |
	<</if>>

<</if>>

<<if $rightarm is "bound">>
Your right arm is bound and helpless.
	<<if $gamemode is "soft">>

	Wriggle free<<radiobutton "$rightaction" "rightwriggle" checked>> |
	<</if>>

<<elseif $rightarm is "swarmgrappled">>
The $swarmcreature are constricting your right arm!

<<elseif $rightarm is 0>>
Your right arm is free.

	<<if $leftarm is "swarmgrappled">>
Free your left arm <<radiobutton "$rightaction" "rightfree">> |
	<<elseif $swarmpending gte 1>>
	$swarmSteady one of the $swarmname <<radiobutton "$rightaction" "rightswarm">> |
	<</if>>

	<<if $swarmfrontinside lte 0 and $swarmfront lte 0>>
	Cover your <<if $vaginaexist is 1>>pussy<<else>>penis<</if>> <<radiobutton "$rightaction" "frontcoverright" checked>> |
	<</if>>

	<<if $swarmbackinside lte 0 and $swarmback lte 0>>
	Cover your butt <<radiobutton "$rightaction" "backcoverright">> |
	<</if>>

	<<if $swarmchestgrab lte 0>>
	Cover your chest <<radiobutton "$rightaction" "chestcoverright">> |
	<</if>>

	<<if $swarmfrontinside gte 1 and !$worn.under_lower.type.includes("chastity")>>
	<<if $vaginaexist is 1>>Pull the $swarmcreature out of your pussy<<else>>Pull the $swarmcreature off of your penis<</if>> <<radiobutton "$rightaction" "frontpurgeright" checked>> |
	<</if>>

	<<if $swarmfront gte 1 and !$worn.under_lower.type.includes("chastity")>>
	<<if $vaginaexist is 1>>Keep the $swarmcreature away from your pussy<<else>>Keep the $swarmcreature away from your penis<</if>> <<radiobutton "$rightaction" "frontclearright" checked>> |
	<</if>>

	<<if $swarmbackinside gte 1 and $worn.under_lower.anal_shield isnot 1>>
	Pull the $swarmcreature out of your anus <<radiobutton "$rightaction" "backpurgeright">> |
	<</if>>

	<<if $swarmback gte 1 and $worn.under_lower.anal_shield isnot 1>>
	Keep the $swarmcreature away from your butt <<radiobutton "$rightaction" "backclearright">> |
	<</if>>

	<<if $swarmchestgrab gte 1>>
	Clear the $swarmcreature off of your chest <<radiobutton "$rightaction" "chestclearright">> |
	<</if>>

	<<if $water is 1 and $vorecreature is 0>>
	Swim to safety <<radiobutton "$rightaction" "swim" checked>> |
	<</if>>

	<<if $vorecreature is 0>>
	Rest <<radiobutton "$rightaction" "swarmrest">> |
	<</if>>

<</if>>

<<if $feetuse is 0>>
Your feet are free.

	<<if $swarmpending gte 1>>
	$swarmSteady one of the $swarmname <<radiobutton "$feetaction" "feetswarm" checked>> |
	<</if>>
<</if>>

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

<<if $enemytype isnot "tentacles">>
<<combatstate>>
<<carryblock>>
<</if>>

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

:: Widgets Swarm Effects [widget]
<<widget "swarmeffects">><<nobr>>

<<effectspain>>
<<effectsorgasm>>
<<effectsdissociation>>

<<if $leftaction is "rightwriggle">><<set $leftaction to 0>>
	<<if $leftarm is "bound">>
	<<unbind>>You wriggle free from your bonds.
	<</if>>
<</if>>

<<if $leftaction is "leftfree">><<set $leftaction to 0>><<set $rightarm to 0>>You push away the $swarmcreature covering your right arm, freeing it.
<</if>>

<<if $leftaction is "leftswarm">><<set $leftaction to 0>><<set $swarmpending -= 1>>You $swarmsteady one of the $swarmname with your left hand.
	<<if $swarm1 is "pending">><<set $swarm1 to "steadied">>
	<<elseif $swarm2 is "pending">><<set $swarm2 to "steadied">>
	<<elseif $swarm3 is "pending">><<set $swarm3 to "steadied">>
	<<elseif $swarm4 is "pending">><<set $swarm4 to "steadied">>
	<<elseif $swarm5 is "pending">><<set $swarm5 to "steadied">>
	<<elseif $swarm6 is "pending">><<set $swarm6 to "steadied">>
	<<elseif $swarm7 is "pending">><<set $swarm7 to "steadied">>
	<<elseif $swarm8 is "pending">><<set $swarm8 to "steadied">>
	<<elseif $swarm9 is "pending">><<set $swarm9 to "steadied">>
	<<elseif $swarm10 is "pending">><<set $swarm10 to "steadied">>
	<</if>>
<</if>>

<<if $leftaction is "frontcoverleft">><<set $leftaction to 0>><<set $front to "covered">>You cover your <<genitalsstop>>with your left hand to prevent the $swarmcreature from violating you.
<</if>>

<<if $leftaction is "backcoverleft">><<set $leftaction to 0>>
<<set $back to "covered">>You cover your butt with your left hand. Hopefully it will keep the $swarmcreature from invading your rear.
<</if>>

<<if $leftaction is "chestcoverleft">><<set $leftaction to 0>>
<<set $chest to "covered">>You cover your chest with your left hand, keeping the $swarmcreature away from your sensitive bust.
<</if>>

<<if $leftaction is "frontpurgeleft">><<set $leftaction to 0>>
<<set $swarmfrontinside -= 1>>You remove some of the $swarmcreature that are <<if $vaginaexist is 1>>penetrating<<else>>wrapped around<</if>> your <<genitalsstop>> <<if $swarmfrontinside gte 1>>However, there are still some violating you.<<else>>You think you got them all, for now.<</if>>
	<<if $swarm1 is "frontinside">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "frontinside">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "frontinside">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "frontinside">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "frontinside">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "frontinside">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "frontinside">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "frontinside">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "frontinside">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "frontinside">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $leftaction is "frontclearleft">><<set $leftaction to 0>>
<<set $swarmfront -= 1>>You prevent the encroaching $swarmcreature from <<if $vaginaexist is 1>>entering<<else>>enveloping<</if>> your <<genitalsstop>> <<if $swarmfront gte 1>>There are so many however, that some make it through your guard.<</if>>
	<<if $swarm1 is "front">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "front">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "front">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "front">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "front">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "front">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "front">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "front">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "front">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "front">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $leftaction is "backpurgeleft">><<set $leftaction to 0>>
<<set $swarmbackinside -= 1>>You extract some of the $swarmcreature from your anus. <<if $swarmbackinside gte 1>>However, there are still some infesting you.<<else>>You think you got them all.<</if>>
	<<if $swarm1 is "backinside">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "backinside">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "backinside">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "backinside">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "backinside">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "backinside">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "backinside">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "backinside">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "backinside">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "backinside">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $leftaction is "backclearleft">><<set $leftaction to 0>>
<<set $swarmback -= 1>>You prevent the encroaching $swarmcreature from burrowing into your anus. <<if $swarmback gte 1>>There are so many however, that some make it through your guard.<</if>>
	<<if $swarm1 is "back">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "back">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "back">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "back">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "back">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "back">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "back">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "back">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "back">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "back">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $leftaction is "chestclearleft">>
<<set $leftaction to 0>>
<<set $swarmchestgrab -= 1>>
You clear away some of the $swarmcreature around your sensitive nipples. <<if $swarmchestgrab gte 1>>Many more remain however.<</if>>
	<<if $swarm1 is "chest">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "chest">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "chest">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "chest">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "chest">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "chest">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "chest">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "chest">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "chest">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "chest">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $leftaction is "swim">><<set $leftaction to 0>><<set $swimdistance -= 1>>
You paddle towards safety with your left arm.
<</if>>

<<if $leftaction is "swarmrest">><<set $leftaction to 0>>
You rest your left arm.
<</if>>

<<if $rightaction is "rightwriggle">><<set $rightaction to 0>>
	<<if $rightarm is "bound">>
	<<unbind>>You wriggle free from your bonds.
	<</if>>
<</if>>

<<if $rightaction is "rightfree">>
<<set $rightaction to 0>><<set $leftarm to 0>>
You push away the $swarmcreature covering your left arm, freeing it.
<</if>>

<<if $rightaction is "rightswarm">>
<<set $rightaction to 0>><<set $swarmpending -= 1>>
You $swarmsteady one of the $swarmname with your right hand.
	<<if $swarm1 is "pending">><<set $swarm1 to "steadied">>
	<<elseif $swarm2 is "pending">><<set $swarm2 to "steadied">>
	<<elseif $swarm3 is "pending">><<set $swarm3 to "steadied">>
	<<elseif $swarm4 is "pending">><<set $swarm4 to "steadied">>
	<<elseif $swarm5 is "pending">><<set $swarm5 to "steadied">>
	<<elseif $swarm6 is "pending">><<set $swarm6 to "steadied">>
	<<elseif $swarm7 is "pending">><<set $swarm7 to "steadied">>
	<<elseif $swarm8 is "pending">><<set $swarm8 to "steadied">>
	<<elseif $swarm9 is "pending">><<set $swarm9 to "steadied">>
	<<elseif $swarm10 is "pending">><<set $swarm10 to "steadied">>
	<</if>>
<</if>>

<<if $rightaction is "frontcoverright">>
<<set $rightaction to 0>><<set $front to "covered">>
You cover your <<genitalsstop>>with your right hand to prevent the $swarmcreature from violating you.
<</if>>

<<if $rightaction is "backcoverright">>
<<set $rightaction to 0>>
<<set $back to "covered">>
You cover your butt with your right hand. Hopefully it will keep the $swarmcreature from invading your rear.
<</if>>

<<if $rightaction is "chestcoverright">>
<<set $rightaction to 0>>
<<set $chest to "covered">>
You cover your chest with your right hand, keeping the $swarmcreature away from your sensitive bust.
<</if>>

<<if $rightaction is "frontpurgeright">>
<<set $rightaction to 0>>
<<set $swarmfrontinside -= 1>>
You remove some of the $swarmcreature that are <<if $vaginaexist is 1>>penetrating<<else>>wrapped around<</if>> your <<genitalsstop>> <<if $swarmfrontinside gte 1>>However, there are still some violating you.<<else>>You think you got them all, for now.<</if>>
	<<if $swarm1 is "frontinside">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "frontinside">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "frontinside">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "frontinside">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "frontinside">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "frontinside">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "frontinside">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "frontinside">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "frontinside">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "frontinside">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $rightaction is "frontclearright">>
<<set $rightaction to 0>>
<<set $swarmfront -= 1>>
You prevent the encroaching $swarmcreature from <<if $vaginaexist is 1>>entering<<else>>enveloping<</if>> your <<genitalsstop>><<if $swarmfront gte 1>>There are so many however, that some make it through your guard.<</if>>
	<<if $swarm1 is "front">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "front">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "front">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "front">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "front">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "front">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "front">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "front">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "front">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "front">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $rightaction is "backpurgeright">>
<<set $rightaction to 0>>
<<set $swarmbackinside -= 1>>
You extract some of the $swarmcreature from your anus. <<if $swarmbackinside gte 1>>However, there are still some infesting you.<<else>>You think you got them all.<</if>>
	<<if $swarm1 is "backinside">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "backinside">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "backinside">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "backinside">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "backinside">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "backinside">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "backinside">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "backinside">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "backinside">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "backinside">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $rightaction is "backclearright">>
<<set $rightaction to 0>>
<<set $swarmback -= 1>>
You prevent the encroaching $swarmcreature from burrowing into your anus.<<if $swarmback gte 1>>There are so many however, that some make it through your guard.<</if>>
	<<if $swarm1 is "back">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "back">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "back">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "back">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "back">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "back">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "back">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "back">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "back">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "back">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $rightaction is "chestclearright">>
<<set $rightaction to 0>>
<<set $swarmchestgrab -= 1>>
You clear away some of the $swarmcreature around your sensitive nipples. <<if $swarmchestgrab gte 1>>Many more remain however.<</if>>
	<<if $swarm1 is "chest">><<set $swarm1 to "active">>
	<<elseif $swarm2 is "chest">><<set $swarm2 to "active">>
	<<elseif $swarm3 is "chest">><<set $swarm3 to "active">>
	<<elseif $swarm4 is "chest">><<set $swarm4 to "active">>
	<<elseif $swarm5 is "chest">><<set $swarm5 to "active">>
	<<elseif $swarm6 is "chest">><<set $swarm6 to "active">>
	<<elseif $swarm7 is "chest">><<set $swarm7 to "active">>
	<<elseif $swarm8 is "chest">><<set $swarm8 to "active">>
	<<elseif $swarm9 is "chest">><<set $swarm9 to "active">>
	<<elseif $swarm10 is "chest">><<set $swarm10 to "active">>
	<</if>>
<</if>>

<<if $rightaction is "swim">><<set $rightaction to 0>><<set $swimdistance -= 1>>
You paddle towards safety with your right arm.
<</if>>

<<if $rightaction is "swarmrest">><<set $rightaction to 0>>
You rest your right arm.
<</if>>

<<if $feetaction is "feetswarm">><<set $feetaction to 0>>
<<set $swarmpending -= 1>>You $swarmsteady one of the $swarmname with your feet.
	<<if $swarm1 is "pending">><<set $swarm1 to "steadied">>
	<<elseif $swarm2 is "pending">><<set $swarm2 to "steadied">>
	<<elseif $swarm3 is "pending">><<set $swarm3 to "steadied">>
	<<elseif $swarm4 is "pending">><<set $swarm4 to "steadied">>
	<<elseif $swarm5 is "pending">><<set $swarm5 to "steadied">>
	<<elseif $swarm6 is "pending">><<set $swarm6 to "steadied">>
	<<elseif $swarm7 is "pending">><<set $swarm7 to "steadied">>
	<<elseif $swarm8 is "pending">><<set $swarm8 to "steadied">>
	<<elseif $swarm9 is "pending">><<set $swarm9 to "steadied">>
	<<elseif $swarm10 is "pending">><<set $swarm10 to "steadied">>
	<</if>>
<</if>>

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


code:
:: Widgets Swarm [widget]
<<widget "swarm">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm1 is "steadied">>
<<set $swarm1 to "contained">>
<<elseif $swarm1 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm1 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm1 is "pending">>
	<<set $swarm1 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm1 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm1 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm1 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 2>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 2>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm1 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm1 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm1 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 2>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm1 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm1 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm1 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 2>>
							<<else>>
							<<set $swarm1 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 2>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 2>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm1 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm1 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm1 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 2>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm1 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm1 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm1 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 2>>
							<<else>>
							<<set $swarm1 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 2>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 2>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm1 is "back">>
<<set $swarm1 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm1 is "front">>
<<set $swarm1 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

<<swarm2>>
<<swarm3>>
<<swarm4>>
<<swarm5>>
<<swarm6>>
<<swarm7>>
<<swarm8>>
<<swarm9>>
<<swarm10>>

<<if $swarmpending gte 1>>
There are <<print $swarmcount - $swarmactive>> $swarmname and $swarmpending of them <<if $swarmpending gte 2>>are<<else>>is<</if>> $swarmmove.
<</if>>

<<if $swarmactivate gte 1>><<set $swarmactivate to 0>>
The $swarmname $swarmspill, surrounding you with more $swarmcreature.
<</if>>

<<if $swarmactive lte 0>>
<<elseif $swarmactive lte 1>>
The $swarmcreature are squirming over you.
<<elseif $swarmactive lte 2>>
The $swarmcreature are swarming over you.
<<elseif $swarmactive lte 3>>
The $swarmcreature teem around you.
<<elseif $swarmactive lte 4>>
You're practically swimming in $swarmcreature.
<<elseif $swarmactive lte 9>>
The $swarmcreature completely surround you.
<<elseif $swarmactive gte 10>>
The $swarmcreature completely surround you, as if you are in a living pit.<<if $orgasmdown gte 1>> Not an inch of skin is spared the torment.<</if>>
<</if>>

<<set $rng to random(1, 100)>>
<<if $rng gte 91 and $leftarm is 0 and $rightarm is 0>>
	<<if $rng gte 96>>
	<<set $leftarm to "swarmgrappled">>
	The $swarmcreature swarm over your left arm, restraining it.
	<<else>>
	<<set $rightarm to "swarmgrappled">>
	The $swarmcreature swarm over your right arm, restraining it.
	<</if>>
<</if>>

<<if $swarmchestcover gte 1>>
<<set $swarmchestcover to 0>>
You manage to keep them away from your chest.
<</if>>

<<if $swarmchestmolest gte 1>>
<<set $swarmchestmolest to 0>>
They writhe over your <<print either("chest", "stomach", "back", "neck", "arms")>>.
<</if>>

<<if $swarmchestclothed gte 1>>
<<set $swarmchestclothed to 0>>
Some of them assault and damage your $worn.upper.name, trying to get to the skin beneath.
<</if>>

<<if $swarmchestgrabintro gte 1>>
<<set $swarmchestgrabintro to 0>>
A number of them take a liking to your <<breastsstop>>
<</if>>

<<if $swarmchestgrabclothed gte 1>>
<<set $swarmchestgrabclothed to 0>>
Some of them wriggle their way into your $worn.upper.name, where they take a liking to your <<breastsstop>>
<</if>>

<<if $swarmchestgrab gte 1>>
<<playWithBreasts $swarmchestgrab>>
They twist and tease your nipples, keeping them firm.
<<neutral 5>><<set $arousal += $swarmchestgrab * 20>>
<</if>>

<<if $swarmbackcover gte 1>>
<<set $swarmbackcover to 0>>
You manage to keep them away from your butt.
<</if>>

<<if $swarmbackmolest gte 1>>
<<set $swarmbackmolest to 0>>
They writhe over your <<print either("butt", "thighs", "legs")>>.
<</if>>

<<if $swarmbacklowerclothed gte 1>>
<<set $swarmbacklowerclothed to 0>>
Some of them burrow into your $worn.lower.name, damaging the fabric.
<</if>>

<<if $swarmbackunderclothed gte 1>>
<<set $swarmbackunderclothed to 0>>
Some of them assail your $worn.under_lower.name, tearing the fabric.
<</if>>

<<if $swarmbackgrablowerclothed gte 1>>
<<set $swarmbackgrablowerclothed to 0>>
Some of them wriggle their way into your $worn.lower.name, you feel them moving toward your anus.
<</if>>

<<if $swarmbackgrabunderclothed gte 1>>
<<set $swarmbackgrabunderclothed to 0>>
Some of them wriggle their way into your $worn.under_lower.name, you feel them moving toward your anus.
<</if>>

<<if $swarmbackgrablowerchastity gte 1>>
<<set $swarmbackgrablowerchastity to 0>>
Some of them wriggle their way into your $worn.under_lower.name, you feel them moving toward your <<genitalsstop>> With your chastity belt in the way, you won't be able to get them out!
<<if $parasitedisable is "f">>
	<<set $analchastityparasite to $swarmcreature>>
	<</if>>
<</if>>

<<if $swarmbackgrab gte 1>>
<<set $swarmbackgrab to 0>>
They swarm around your butt, you feel them move toward your anus.
<</if>>

<<if $swarmbackinsideintro gte 1>>
<<set $swarmbackinsideintro to 0>>
They start squirming their way into your <<bottomstop>>
<</if>>

<<if $swarmbackinside gte 1>>
<<neutral 10>><<impregnate $swarmcreature $swarmbackinside>>
They writhe inside your lower intestine<<if $penisexist is 1>>, blindly teasing your prostate<</if>><<if $impreg is true>>, and attempt to move further inside you<</if>>.
<<set $impreg to false>>
<<set $arousal += $swarmbackinside * 20>>
<</if>>

<<if $swarmfrontcover gte 1>>
<<set $swarmfrontcover to 0>>
You manage to keep them away from your <<genitalsstop>>
<</if>>

<<if $swarmfrontmolest gte 1>>
<<set $swarmfrontmolest to 0>>
You feel them writhing over your <<if !$worn.lower.type.includes("naked") and $worn.lower.skirt isnot 1>><<genitals>> through your $worn.lower.name.<<elseif !$worn.under_lower.type.includes("naked")>><<genitals>> through your $worn.under_lower.name.<<else>>unprotected <<genitalsstop>><</if>>
<</if>>

<<if $swarmfrontlowerclothed gte 1>>
<<set $swarmfrontlowerclothed to 0>>
Some of them start tearing into your $worn.lower.name.
<</if>>

<<if $swarmfrontunderclothed gte 1>>
<<set $swarmfrontunderclothed to 0>>
Some of them try to breach your $worn.under_lower.name, trying to get to the skin beneath.
<</if>>

<<if $swarmfrontgrablowerclothed gte 1>>
<<set $swarmfrontgrablowerclothed to 0>>
Some of them wriggle their way into your $worn.lower.name, you feel them moving toward your <<genitalsstop>>
<</if>>

<<if $swarmfrontgrabunderclothed gte 1>><<set $swarmfrontgrabunderclothed to 0>>
Some of them wriggle their way into your $worn.under_lower.name, you feel them moving toward your <<genitalsstop>>
<</if>>

<<if $swarmfrontgrablowerchastity gte 1>>
<<set $swarmfrontgrablowerchastity to 0>>
Some of them wriggle their way into your $worn.under_lower.name, you feel them moving toward your <<genitalsstop>> With your chastity belt in the way, you won't be able to get them out!
	<<if $parasitedisable is "f">>
		<<if $vaginaexist is 1>><<set $vaginalchastityparasite to $swarmcreature>>
		<<elseif $penisexist is 1>><<set $penilechastityparasite to $swarmcreature>>
		<</if>>
	<</if>>
<</if>>

<<if $swarmfrontgrab gte 1>>
<<set $swarmfrontgrab to 0>>
They swarm around your groin, you feel them move toward your <<genitalsstop>>
<</if>>

<<if $swarmfrontinsideintro gte 1>>
<<set $swarmfrontinsideintro to 0>>
	<<if $vaginaexist is 1>>
They start squirming their way into your pussy!
	<<elseif $penisexist is 1>>
They start enveloping your penis!
	<</if>>
<</if>>

<<if $swarmfrontinside gte 1>>
	<<if $vaginaexist is 1>>
They writhe and squirm inside your vagina, probing and teasing without mercy.
<<neutral 10>><<set $arousal += $swarmfrontinside * 20 * $genitalsensitivity>>
	<<elseif $penisexist is 1>>
They writhe and squirm over your penis, rubbing and teasing the entire length.
<<neutral 10>><<set $arousal += $swarmfrontinside * 20 * $genitalsensitivity>>
	<</if>>
<</if>>

<<if $enemytype isnot "tentacles">>
	<<if $panicattacks gte 1 and $panicviolence is 0 and $panicparalysis is 0 and $controlled is 0>>
		<<set $rng to random(1, 100)>>
		<<if $rng is 100>>
		<<set $panicparalysis to 10>>
		<</if>>
	<</if>>

	<<if $panicattacks gte 2 and $panicviolence is 0 and $panicparalysis is 0 and $controlled is 0>>
		<<set $rng to random(1, 100)>>
		<<if $rng is 100>>
		<<set $panicviolence to 3>>
		<</if>>
	<</if>>

	<<if $arousal gte 10000>>

	<<orgasmpassage>>

	<</if>>

	<<set $seconds += 10>>
	<<if $seconds gte 60>>
	<<set $seconds to 0>>
	<<pass 1>>
	<</if>>
<</if>>

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

:: Widgets Swarm2 [widget]
<<widget "swarm2">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm2 is "steadied">>
<<set $swarm2 to "contained">>
<<elseif $swarm2 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm2 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm2 is "pending">>
	<<set $swarm2 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm2 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm2 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm2 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm2 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm2 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm2 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm2 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm2 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm2 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm2 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm2 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm2 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm2 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm2 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm2 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm2 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm2 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm2 is "back">>
<<set $swarm2 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm2 is "front">>
<<set $swarm2 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm3 [widget]
<<widget "swarm3">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm3 is "steadied">>
<<set $swarm3 to "contained">>
<<elseif $swarm3 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm3 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm3 is "pending">>
	<<set $swarm3 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm3 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm3 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm3 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm3 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm3 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm3 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm3 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm3 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm3 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm3 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm3 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm3 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm3 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm3 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm3 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm3 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm3 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm3 is "back">>
<<set $swarm3 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm3 is "front">>
<<set $swarm3 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm4 [widget]
<<widget "swarm4">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm4 is "steadied">>
<<set $swarm4 to "contained">>
<<elseif $swarm4 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm4 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm4 is "pending">>
	<<set $swarm4 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm4 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm4 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm4 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm4 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm4 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm4 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm4 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm4 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm4 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm4 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm4 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm4 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm4 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm4 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm4 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm4 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm4 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm4 is "back">>
<<set $swarm4 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm4 is "front">>
<<set $swarm4 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm5 [widget]
<<widget "swarm5">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm5 is "steadied">>
<<set $swarm5 to "contained">>
<<elseif $swarm5 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm5 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm5 is "pending">>
	<<set $swarm5 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm5 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm5 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm5 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm5 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm5 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm5 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm5 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm5 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm5 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm5 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm5 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm5 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm5 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm5 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm5 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm5 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm5 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm5 is "back">>
<<set $swarm5 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm5 is "front">>
<<set $swarm5 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm6 [widget]
<<widget "swarm6">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm6 is "steadied">>
<<set $swarm6 to "contained">>
<<elseif $swarm6 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm6 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm6 is "pending">>
	<<set $swarm6 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm6 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm6 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm6 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm6 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm6 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm6 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm6 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm6 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm6 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm6 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm6 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm6 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm6 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm6 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm6 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
								<<set $swarmfrontgrabunderclothed += 1>><<set $swarm6 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm6 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
					<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
		<<set $arousal += 10>>
	<</if>>
<<elseif $swarm6 is "back">>
	<<set $swarm6 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm6 is "front">>
	<<set $swarm6 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm7 [widget]
<<widget "swarm7">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm7 is "steadied">>
	<<set $swarm7 to "contained">>
<<elseif $swarm7 is "contained">>
	<<if $rng gte 51>>
		<<set $swarm7 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm7 is "pending">>
	<<set $swarm7 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm7 is "active">>
	<<if $rng lte $swarmactive * 20>>
		<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm7 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm7 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm7 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm7 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm7 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm7 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm7 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
								<<set $swarmbackgrabunderclothed += 1>><<set $swarm7 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm7 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
				<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
				<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm7 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm7 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm7 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm7 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm7 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm7 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm7 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm7 is "back">>
<<set $swarm7 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm7 is "front">>
<<set $swarm7 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm8 [widget]
<<widget "swarm8">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm8 is "steadied">>
<<set $swarm8 to "contained">>
<<elseif $swarm8 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm8 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm8 is "pending">>
	<<set $swarm8 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm8 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm8 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm8 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm8 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm8 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm8 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm8 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm8 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm8 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm8 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm8 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm8 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm8 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm8 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm8 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm8 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm8 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm8 is "back">>
<<set $swarm8 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm8 is "front">>
<<set $swarm8 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm9 [widget]
<<widget "swarm9">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm9 is "steadied">>
<<set $swarm9 to "contained">>
<<elseif $swarm9 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm9 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm9 is "pending">>
	<<set $swarm9 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm9 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm9 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm9 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm9 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm9 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm9 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm9 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm9 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm9 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm9 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm9 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm9 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm9 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm9 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm9 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm9 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm9 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm9 is "back">>
<<set $swarm9 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm9 is "front">>
<<set $swarm9 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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

:: Widgets Swarm10 [widget]
<<widget "swarm10">><<nobr>>

<<set $rng to random(1, 100)>>

<<if $swarm10 is "steadied">>
<<set $swarm10 to "contained">>
<<elseif $swarm10 is "contained">>
	<<if $rng gte 51>>
	<<set $swarm10 to "pending">><<set $swarmpending += 1>>
	<</if>>
<<elseif $swarm10 is "pending">>
	<<set $swarm10 to "active">><<set $swarmpending -= 1>><<set $swarmactive += 1>><<set $swarmactivate += 1>>
<<elseif $swarm10 is "active">>
	<<if $rng lte $swarmactive * 20>>
	<<set $rng to random(1, 100)>>
		<<if $rng gte 70>>
			<<if $chest is "covered">>
			<<set $arousal += 10 * $breastsensitivity>><<set $swarmchestcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if $worn.upper.type.includes("naked")>>
					<<set $swarm10 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabintro += 1>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
						<<set $swarm10 to "chest">><<neutral 3>><<set $swarmchestgrab += 1>><<set $swarmchestgrabclothed += 1>>
						<<else>>
						<<neutral 1>><<set $swarmchestclothed += 1>><<set $worn.upper.integrity -= 10>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmchestmolest += 1>><<neutral 1>><<set $worn.upper.integrity -= 5>>
				<</if>>
			<</if>>
		<<elseif $rng gte 40 and $analdisable is "f">>
			<<if $back is "covered">>
			<<set $arousal += 10>><<set $swarmbackcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmbackgrablowerclothed += 1>><<set $swarm10 to "back">><<set $swarmback += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm10 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmbackgrabunderclothed += 1>><<set $swarm10 to "back">><<set $swarmback += 1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmbacklowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm10 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity") and $worn.under_lower.anal_shield is 1>>
							<<set $swarm10 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrablowerchastity += 1>>
							<<else>>
<<set $swarmbackgrabunderclothed += 1>><<set $swarm10 to "back">><<set $swarmback += 1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmbackunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm10 to "back">><<set $swarmback += 1>><<neutral 4>><<set $swarmbackgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmbackmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $front is "covered">>
			<<set $arousal += 10 * $genitalsensitivity>><<set $swarmfrontcover += 1>>
			<<else>>
			<<set $rng to random(1, 100)>>
				<<if $rng lte $swarmactive * 20>>
					<<if !$worn.lower.type.includes("naked") and $worn.lower.skirt is 0>><<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<neutral 4>><<set $swarmfrontgrablowerclothed += 1>><<set $swarm10 to "front">><<set $swarmfront +=1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm10 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
							<<neutral 4>><<set $swarmfrontgrabunderclothed += 1>><<set $swarm10 to "front">><<set $swarmfront +=1>>
							<</if>>
						<<else>>
						<<neutral 1>><<set $swarmfrontlowerclothed += 1>><<set $worn.lower.integrity -= 10>>
						<</if>>
					<<else>>
					<<set $rng to random(1, 100)>>
						<<if $rng gte 81>>
							<<if $worn.under_lower.type.includes("naked")>>
							<<set $swarm10 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<<elseif $worn.under_lower.type.includes("chastity")>>
							<<set $swarm10 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrablowerchastity += 1>>
							<<else>>
<<set $swarmfrontgrabunderclothed += 1>><<set $swarm10 to "front">><<set $swarmfront +=1>><<neutral 4>>
							<</if>>
						<<else>>
							<<if !$worn.under_lower.type.includes("naked")>>
							<<neutral 1>><<set $swarmfrontunderclothed += 1>><<set $worn.under_lower.integrity -= 10>>
							<<else>>
							<<set $swarm10 to "front">><<set $swarmfront +=1>><<neutral 4>><<set $swarmfrontgrab += 1>>
							<</if>>
						<</if>>
					<</if>>
				<<else>>
				<<set $swarmfrontmolest += 1>><<neutral 1>><<set $worn.lower.integrity -= 5>><<if $worn.lower.type.includes("naked")>><<set $worn.under_lower.integrity -= 5>><</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
	<<set $arousal += 10>>
	<</if>>
<<elseif $swarm10 is "back">>
<<set $swarm10 to "backinside">><<set $swarmbackinside += 1>><<set $swarmbackinsideintro += 1>><<set $swarmback -= 1>>
<<elseif $swarm10 is "front">>
<<set $swarm10 to "frontinside">><<set $swarmfrontinside += 1>><<set $swarmfrontinsideintro += 1>><<set $swarmfront -= 1>>
<<else>>
<</if>>

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