code:
:: Widgets Actions Pain [widget]
<<widget "actionspain">>
<<if $leftarm is 0>>
	Your left arm is free, but hurts to move.

	<<if $leftactiondefault is "leftstruggleweak">>
		| Struggle <<radiobutton "$leftaction" "leftstruggleweak" checked>>
	<<else>>
		| Struggle <<radiobutton "$leftaction" "leftstruggleweak">>
	<</if>>
	<<if $leftactiondefault is "leftprotect">>
		| Protect <<radiobutton "$leftaction" "leftprotect" checked>>
	<<else>>
		| Protect <<radiobutton "$leftaction" "leftprotect">>
	<</if>>

<<elseif $leftarm is "grappled">>
	Your left arm is held in a painful grip.

<<elseif $leftarm is "bound">>
	Your left arm is held in a painful bind.

<</if>>

<<if $rightarm is 0>>

	Your right arm is free, but hurts to move.

	<<if $rightactiondefault is "rightstruggleweak">>
		| Struggle <<radiobutton "$rightaction" "rightstruggleweak" checked>>
	<<else>>
		| Struggle <<radiobutton "$rightaction" "rightstruggleweak">>
	<</if>>
	<<if $rightactiondefault is "rightprotect">>
		| Protect <<radiobutton "$rightaction" "rightprotect" checked>>
	<<else>>
		| Protect <<radiobutton "$rightaction" "rightprotect">>
	<</if>>

<<elseif $rightarm is "grappled">>
	Your right arm is held in a painful grip.

<<elseif $rightarm is "bound">>
	Your right arm is held in a painful bind.

<</if>>

<<if $mouthuse is 0>>

	Your mouth is free, but involuntary sobs and cries prevent speaking.

	<<if $mouthactiondefault is "stifle">>
		| Stifle <<radiobutton "$mouthaction" "stifle" checked>>
	<<else>>
		| Stifle <<radiobutton "$mouthaction" "stifle">>
	<</if>>
	<<if $mouthactiondefault is "letout">>
		| Let it out <<radiobutton "$mouthaction" "letout" checked>>
	<<else>>
		| Let it out <<radiobutton "$mouthaction" "letout">>
	<</if>>

<</if>>

<</widget>>

:: Widgets Effects Pain [widget]

<<widget "effectspain">>

<<if $leftaction is "leftstruggleweak" and $rightaction is "rightstruggleweak">>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftstruggleweak">><<set $rightactiondefault to "rightstruggleweak">>
	<<if $position is "stalk">>
		You fight through the pain and try to push yourself to your feet, but have too little strength.
	<<else>>
		You fight through the pain and try to push them away, but have too little strength.
	<</if>>
	<<brat 2>><<set _br to true>>
<</if>>

<<if $leftaction is "leftstruggleweak">>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftstruggleweak">>
	<<if $position is "stalk">>
		You fight through the pain and try to push yourself to your feet with your left arm, but have too little strength.
	<<else>>
		You fight through the pain and push them with your left arm, but have too little strength.
	<</if>>
	<<brat 1>><<set _br to true>>
<</if>>

<<if $rightaction is "rightstruggleweak">>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightstruggleweak">>
	<<if $position is "stalk">>
		You fight through the pain and try to push yourself to your feet with your right arm, but have too little strength.
	<<else>>
		You fight through the pain and push them with your right arm, but have too little strength.
	<</if>>
	<<brat 1>><<set _br to true>>
<</if>>

<<if $leftaction is "leftprotect" and $rightaction is "rightprotect">>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftprotect">><<set $rightactiondefault to "rightprotect">>
	You shield the tender parts of your body, protecting them from further harm.  - Pain
	<<meek 2>><<set $pain -= 2>><<set _br to true>>
<</if>>

<<if $leftaction is "leftprotect">>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftprotect">>
	You clutch a tender spot on your body with your left hand, protecting it from harm.  - Pain
	<<meek 1>><<set $pain -= 1>><<set _br to true>>
<</if>>

<<if $rightaction is "rightprotect">>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightprotect">>
	You clutch a tender spot on your body with your right hand, protecting it from harm.  - Pain
	<<meek 1>><<set $pain -= 1>><<set _br to true>>
<</if>>

<<if _br is true>>

<</if>>

<<if $mouthaction is "stifle">>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "stifle">>
	You try to control your breath and stifle your sobs. You're mostly successful.  - Pain
	<<set $pain -= 1>>
<</if>>

<<if $mouthaction is "letout">>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "letout">><<set _sound to 1>>
	You don't hold back your tears. Your sobs are punctuated by cries and whimpers.  - Stress
	<<meek 1>><<stress -2>>
<</if>>

<</widget>>

:: Widgets Actions Orgasm [widget]
<<widget "actionsorgasm">>

<<if $leftarm is 0>>
	Your left arm is free, but you can't stop the spasms.

	<<if $leftactiondefault is "leftfold">>
		| Fold <<radiobutton "$leftaction" "leftfold" checked>>
	<<else>>
		| Fold <<radiobutton "$leftaction" "leftfold">>
	<</if>>
	<<if $leftactiondefault is "leftgrip">>
		| Grip <<radiobutton "$leftaction" "leftgrip" checked>>
	<<else>>
		| Grip <<radiobutton "$leftaction" "leftgrip">>
	<</if>>

<<elseif $leftarm is "grappled">>
	Your left arm jerks against their grip.

<<elseif $leftarm is "bound">>
	Your left arm jerks against its bonds.

<</if>>

<<if $rightarm is 0>>

	Your right arm is free, but you can't stop the spasms.

	<<if $rightactiondefault is "rightfold">>
		| Fold <<radiobutton "$rightaction" "rightfold" checked>>
	<<else>>
		| Fold <<radiobutton "$rightaction" "rightfold">>
	<</if>>
	<<if $rightactiondefault is "rightgrip">>
		| Grip <<radiobutton "$rightaction" "rightgrip" checked>>
	<<else>>
		| Grip <<radiobutton "$rightaction" "rightgrip">>
	<</if>>

<<elseif $rightarm is "grappled">>
	Your right arm jerks against their grip.

<<elseif $rightarm is "bound">>
	Your right arm jerks against its bonds.

<</if>>

<<if $mouthuse is 0>>

	Your mouth is free, but involuntary moans and cries prevent speaking.

	<<if $mouthactiondefault is "stifleorgasm">>
		| Stifle <<radiobutton "$mouthaction" "stifleorgasm" checked>>
	<<else>>
		| Stifle <<radiobutton "$mouthaction" "stifleorgasm">>
	<</if>>
	<<if $mouthactiondefault is "letoutorgasm">>
		| Let it out <<radiobutton "$mouthaction" "letoutorgasm" checked>>
	<<else>>
		| Let it out <<radiobutton "$mouthaction" "letoutorgasm">>
	<</if>>

<</if>>

<</widget>>

:: Widgets Effects Orgasm [widget]
<<widget "effectsorgasm">>

<<if $leftaction is "leftfold" and $rightaction is "rightfold">>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftfold">><<set $rightactiondefault to "rightfold">>
	You try to conceal your orgasm by folding your arms in front of you, keeping them as still as possible.
	<<brat 2>>
	<<set _br to true>>
<</if>>

<<if $leftaction is "leftfold">>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftfold">>
	You fold your left arm in front of you to keep it as still as possible.
	<<brat 1>>
	<<set _br to true>>
<</if>>

<<if $rightaction is "rightfold">>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightfold">>
	You fold your right arm in front of you to keep it as still as possible.
	<<brat 1>>
	<<set _br to true>>
<</if>>

<<if $leftaction is "leftgrip" and $rightaction is "rightgrip">>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftgrip">><<set $rightactiondefault to "rightgrip">>
	<<if $position is "stalk">>
		You steady yourself against a brick wall as your body trembles.
	<<else>>
		You grip whatever you can for purchase as your body trembles.
	<</if>>
	 - Arousal<<meek 2>><<arousal -300>>
	<<set _br to true>>
<</if>>

<<if $leftaction is "leftgrip">>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftgrip">>
	<<if $position is "stalk">>
		You steady yourself against a brick wall with your left hand as your body trembles.
	<<else>>
		You grip whatever you can with your left hand as your body trembles.
	<</if>>
	 - Arousal<<meek 1>><<arousal -300>>
	<<set _br to true>>
<</if>>

<<if $rightaction is "rightgrip">>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightgrip">>
	<<if $position is "stalk">>
		You steady yourself against a brick wall with your right hand as your body trembles.
	<<else>>
		You grip whatever you can with your right hand as your body trembles.
	<</if>>
	 - Arousal<<meek 1>><<arousal -300>>
	<<set _br to true>>
<</if>>

<<if _br is true>>

<</if>>

<<if $mouthaction is "stifleorgasm">>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "stifleorgasm">>
	You scowl, hoping your gasps are taken as exasperation.
	<<brat 1>>
<</if>>

<<if $mouthaction is "letoutorgasm">>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "letoutorgasm">><<set _sound to 1>>
	You don't hold back, letting gasps and moans escape as they will.
	<<meek 1>> - Arousal<<arousal -300>>
<</if>>

<</widget>>

:: Widgets Actions Dissociation [widget]
<<widget "actionsdissociation">>

<<if $leftarm is 0>>
	Your left arm is free, but doesn't feel real.

	<<if $leftactiondefault is "leftpoke">>
		| Poke yourself <<radiobutton "$leftaction" "leftpoke" checked>>
	<<else>>
		| Poke yourself <<radiobutton "$leftaction" "leftpoke">>
	<</if>>
	<<if $leftactiondefault is "leftcurl">>
		| Keep your arms out of the way <<radiobutton "$leftaction" "leftcurl" checked>>
	<<else>>
		| Keep your arms out of the way <<radiobutton "$leftaction" "leftcurl">>
	<</if>>

<<elseif $leftarm is "grappled">>
	Your left arm lies limp in their grip.

<<elseif $leftarm is "bound">>
	Your left arm lies limp in its bonds.

<</if>>

<<if $rightarm is 0>>

	Your right arm is free, but doesn't feel real.

	<<if $rightactiondefault is "rightpoke">>
		| Poke yourself <<radiobutton "$rightaction" "rightpoke" checked>>
	<<else>>
		| Poke yourself <<radiobutton "$rightaction" "rightpoke">>
	<</if>>
	<<if $rightactiondefault is "rightcurl">>
		| Keep your arms out of the way <<radiobutton "$rightaction" "rightcurl" checked>>
	<<else>>
		| Keep your arms out of the way <<radiobutton "$rightaction" "rightcurl">>
	<</if>>

<<elseif $rightarm is "grappled">>
	Your right arm lies limp in their grip.

<<elseif $rightarm is "bound">>
	Your right arm lies limp in its bonds.

<</if>>

<<if $mouthuse is 0>>

	Your mouth is free, but you don't know why.

	<<if $mouthactiondefault is "speak">>
		| Try to speak <<radiobutton "$mouthaction" "speak" checked>>
	<<else>>
		| Try to speak <<radiobutton "$mouthaction" "speak">>
	<</if>>
	<<if $mouthactiondefault is "noises">>
		| Make soft noises <<radiobutton "$mouthaction" "noises" checked>>
	<<else>>
		| Make soft noises <<radiobutton "$mouthaction" "noises">>
	<</if>>
<</if>>

<</widget>>

:: Widgets Effects Dissociation [widget]
<<widget "effectsdissociation">>

<<if $leftaction == "leftpoke" && $rightaction == "rightpoke">>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftpoke">><<set $rightactiondefault to "rightpoke">>
	You poke yourself.
	Is this real?  + Focus
	<<set $traumafocus += 2>>
	<<set _br to true>>
<</if>>

<<if $leftaction == "leftpoke">>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftpoke">>
	You poke yourself with your left hand.  + Focus
	<<set $traumafocus += 1>>
	<<set _br to true>>
<</if>>

<<if $rightaction == "rightpoke">>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightpoke">>
	You poke yourself with your right hand.  + Focus
	<<set $traumafocus += 1>>
	<<set _br to true>>
<</if>>

<<if $leftaction == "leftcurl" && $rightaction == "rightcurl">>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftcurl">><<set $rightactiondefault to "rightcurl">>
	You hold your arms to the side and curl your fingers.
	<<meek 2>>
	<<set _br to true>>
<</if>>

<<if $leftaction == "leftcurl">>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftcurl">>
	You hold your left arm to the side and curl your fingers.
	<<meek 1>>
	<<set _br to true>>
<</if>>

<<if $rightaction == "rightcurl">>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightcurl">>
	You hold your right arm to the side and curl your fingers.
	<<meek 1>>
	<<set _br to true>>
<</if>>

<<if _br is true>>

<</if>>

<<if $mouthaction == "speak">>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "speak">>
	You make some noises that resemble words.  + Focus
<</if>>

<<if $mouthaction == "noises">>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "noises">>
	You make some soft noises. They sound nice.
<<meek 1>>
<</if>>

<</widget>>

:: Widgets Actions Possessed [widget]
<<widget "actionspossessed">>
	<<if !$leftactiondefault>>
		<<set $leftactiondefault to "leftaccept">>
	<</if>>
	<<if !$rightactiondefault>>
		<<set $rightactiondefault to "rightaccept">>
	<</if>>
	<<if !$feetactiondefault>>
		<<set $feetactiondefault to "accept">>
	<</if>>
	<<if !$mouthactiondefault>>
		<<set $mouthactiondefault to "accept">>
	<</if>>
<<if $leftarm is 0>>
	Your left arm is free, but not under your control.

	<<if $leftactiondefault is "leftaccept">>
		| Accept it <<radiobutton "$leftaction" "leftaccept" checked>>
	<<else>>
		| Accept it <<radiobutton "$leftaction" "leftaccept">>
	<</if>>
	<<if $leftactiondefault is "leftresist">>
		| Hold it still <<radiobutton "$leftaction" "leftresist" checked>>
	<<else>>
		| Hold it still <<radiobutton "$leftaction" "leftresist">>
	<</if>>

<<elseif $leftarm is "grappled">>
	Your left arm writhes in their grip, unbidden.

	<<set $leftactiondefault to $leftactiondefault is "leftaccept" ? "leftstruggle" : "leftstill">>
	<<if $leftactiondefault is "leftstruggle">>
		| Struggle <<radiobutton "$leftaction" "leftstruggle" checked>>
	<<else>>
		| Struggle <<radiobutton "$leftaction" "leftstruggle">>
	<</if>>
	<<if $leftactiondefault is "leftstill">>
		| Hold it still <<radiobutton "$leftaction" "leftstill" checked>>
	<<else>>
		| Hold it still <<radiobutton "$leftaction" "leftstill">>
	<</if>>

<<elseif $leftarm is "bound">>
	Your left arm writhes in its bounds, unbidden.

<</if>>

<<if $rightarm is 0>>

	Your right arm is free, but not under your control.

	<<if $rightactiondefault is "rightaccept">>
		| Accept it <<radiobutton "$rightaction" "rightaccept" checked>>
	<<else>>
		| Accept it <<radiobutton "$rightaction" "rightaccept">>
	<</if>>
	<<if $rightactiondefault is "rightresist">>
		| Hold it still <<radiobutton "$rightaction" "rightresist" checked>>
	<<else>>
		| Hold it still <<radiobutton "$rightaction" "rightresist">>
	<</if>>

<<elseif $rightarm is "grappled">>

	Your right arm writhes in their grip, unbidden.

	<<set $rightactiondefault to $rightactiondefault is "rightaccept" ? "rightstruggle" : "rightstill">>
	<<if $rightactiondefault is "rightstruggle">>
		| Struggle <<radiobutton "$rightaction" "rightstruggle" checked>>
	<<else>>
		| Struggle <<radiobutton "$rightaction" "rightstruggle">>
	<</if>>
	<<if $rightactiondefault is "rightstill">>
		| Hold it still <<radiobutton "$rightaction" "rightstill" checked>>
	<<else>>
		| Hold it still <<radiobutton "$rightaction" "rightstill">>
	<</if>>

<<elseif $rightarm is "bound">>

	Your right arm writhes in its bounds, unbidden.

<</if>>

<<if $feetuse is 0>>

	Your legs are free, but you can't feel them beneath you.

	<<if $feetactiondefault is "accept">>
		| Accept it <<radiobutton "$feetaction" "accept" checked>>
	<<else>>
		| Accept it <<radiobutton "$feetaction" "accept">>
	<</if>>
	<<if $feetactiondefault is "resist">>
		| Hold them still <<radiobutton "$feetaction" "resist" checked>>
	<<else>>
		| Hold them still <<radiobutton "$feetaction" "resist">>
	<</if>>

<<elseif $feetuse is "bound">>

	Your legs thrash in their shackles, unbidden.

<</if>>

<<if $mouthuse is 0>>

	Your mouth is free, but unfamiliar words spill from your tongue.

	<<if $mouthactiondefault is "accept">>
		| Accept it <<radiobutton "$mouthaction" "accept" checked>>
	<<else>>
		| Accept it <<radiobutton "$mouthaction" "accept">>
	<</if>>
	<<if $mouthactiondefault is "resist">>
		| Clamp your mouth shut <<radiobutton "$mouthaction" "resist" checked>>
	<<else>>
		| Clamp your mouth shut <<radiobutton "$mouthaction" "resist">>
	<</if>>
<<elseif $mouthuse is "lefthand" or $mouthuse is "righthand">>

	Your mouth is blocked, muffling the foreign words that well up within you.

	<<set $mouthactiondefault to $mouthactiondefault is "accept" ? "handbite" : "handclose">>
	<<if $mouthactiondefault is "handbite">>
		| Bite <<radiobutton "$mouthaction" "handbite" checked>>
	<<else>>
		| Bite <<radiobutton "$mouthaction" "handbite">>
	<</if>>
	<<if $mouthactiondefault is "handclose">>
		| Clamp your mouth shut <<radiobutton "$mouthaction" "handclose" checked>>
	<<else>>
		| Clamp your mouth shut <<radiobutton "$mouthaction" "handclose">>
	<</if>>
<</if>>
<</widget>>

:: Widgets Effects Possessed [widget]
<<widget "effectspossessed">>
<<set $enemyanger to 200>><<set $willpowerSuccess to 0>>
<<dynamicblock id=control-caption>>
	<<controlcaption>>
<</dynamicblock>>

<<if $combatBegun is 1>>
	<<set _resist to 0>>
	<<if $leftaction isnot "leftresist" and $rightaction isnot "rightresist" and $feetaction isnot "resist" and $mouthaction isnot "resist">>
		You let it take you.
		<<pain -2>><<stress -12>><<set $submissive += 2>><<lpain>><<llstress>><<set $wraith.will += 30>>
	<<else>>
		<<if $leftaction is "leftresist" and $rightaction is "rightresist" and $feetaction is "resist">>
			<<set _resist to 3>>
		<<elseif $leftaction is "leftresist" and $rightaction is "rightresist"
		or $leftaction is "leftresist" and $feetaction is "resist"
		or $rightaction is "rightresist" and $feetaction is "resist">>
			<<set _resist to 2>>
		<<else>>
			<<set _resist to 1>>
		<</if>>
		<<set _wraithWill to Math.floor(1 + $wraith.will)>>
		<<willpowerdifficulty 1 _wraithWill true>>
		<<if $willpowerSuccess>>
			<<set _resistSuccess to 1>>

				You fight for control.
				<<if ($leftaction is "leftresist" or $leftaction is "leftstill") and ($rightaction is "rightresist" or $rightaction is "rightstill") and $feetaction is "resist">>
					Your body locks up.
				<<elseif $feetaction is "resist" and ($leftaction is "leftresist" or $leftaction is "leftstill" or $rightaction is "rightresist" or $rightaction is "rightstill")>>
					Your arm and legs lock up.
				<<elseif ($leftaction is "leftresist" or $leftaction is "leftstill") and ($rightaction is "rightresist" or $rightaction is "rightstill")>>
					Your arms lock up.
				<<elseif $feetaction is "resist">>
					Your legs lock up.
				<<elseif $leftaction is "leftresist" or $leftaction is "leftstill" or $rightaction is "rightresist" or $rightaction is "rightstill">>
					Your arm locks up.
				<</if>>
				<<if $mouthaction is "handclose">>
					You clamp your mouth shut.
				<</if>>

			<<if $mouthaction is "resist">>
				<<set $willpowerSuccess to 0>>
				<<silently>><<willpowerdifficulty _wraithWill/3 _wraithWill*1.2>><</silently>>
				<<if $willpowerSuccess>>
					<<set _mouthSuccess to 1>><<set _resist++>>
					You clamp your mouth shut.
				<<else>>
					You can't stop the stream of words coming from your mouth, though.
				<</if>>
			<</if>>
			<<pain _resist>><<stress _resist>><<trauma _resist>><<set $submissive -= 2>><<gpain>><<gtrauma>><<gstress>><<gcontrol>><<set $wraith.will -= Math.floor($willpower / 24)*_resist>>
			<<set $control += Math.floor($willpower / 24)*_resist>>
		<<else>>
			Your body does not obey.
			<<stress 6>><<trauma 6>><<willpower 1>><<set $submissive -= 1>><<gtrauma>><<gstress>><<gwillpower>><<set $wraith.will -= Math.floor($willpower / 40)*_resist>>
		<</if>>
	<</if>>

<<else>>
	<<set $combatBegun to 1>>
<</if>>

<<if $leftaction is "leftresist" and $rightaction is "rightresist" and _resistSuccess>>
	<<set $leftaction to 0>><<set $rightaction to 0>><<set $leftactiondefault to "leftresist">><<set $rightactiondefault to "rightresist">>
	You hold your arms firm to your side.
<</if>>

<<if $leftaction is "leftaccept" or $leftaction is "leftresist" and !_resistSuccess>>
	<<set $leftactiondefault to $leftaction>><<set $leftaction to 0>><<set _target to random(1,$enemyno)-1>>
	You <<print either("punch","slap","scratch","claw","chop","strike")>> with your left hand.
	<<defiance 1 _target>>
<</if>>

<<if $leftaction is "leftresist" and _resistSuccess>>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftresist">>
	You hold your left arm firm to your side.
<</if>>

<<if $leftaction is "leftstruggle" or $rightaction is "rightstruggle" or (($leftaction is "leftresist" or $rightaction is "rightresist") and !_resistSuccess)>>
	<<set $leftaction to 0>><<set $leftactiondefault to "leftstruggle">><<set $rightaction to 0>><<set $leftactiondefault to "leftstruggle">>
	You struggle to free your arms.
	<<set $speechstruggle to 1>>
	<<if $physique gte random(1, 64000)>>
		You manage to wrench your arms free.
		<<set $leftarm to 0>><<set $rightarm to 0>>
		<<for _s = 0; _s lt $NPCList.length; _s++>>
			<<if $NPCList[_s].lefthand is "arms">>
				<<set $NPCList[_s].lefthand to 0>>
			<</if>>
			<<if $NPCList[_s].righthand is "arms">>
				<<set $NPCList[_s].righthand to 0>>
			<</if>>
		<</for>>
	<<else>>
		Your arms remain grasped.
	<</if>>
<</if>>

<<if $leftaction is "leftstill" and $rightaction is "rightstill" and _resistSuccess>>
	You hold your arms as still as you can in their grasp.
<</if>>

<<if $rightaction is "rightaccept" or $rightaction is "rightresist" and !_resistSuccess>>
	<<set $rightactiondefault to $rightaction>><<set $rightaction to 0>><<set _target to random(1,$enemyno)-1>>
	You <<print either("punch","slap","scratch","claw","chop","strike")>> with your right hand.
	<<defiance 1 _target>>
<</if>>

<<if $rightaction is "rightresist" and _resistSuccess>>
	<<set $rightaction to 0>><<set $rightactiondefault to "rightresist">>
	You hold your right arm firm to your side.
<</if>>

<<if $feetaction is "accept" or $feetaction is "resist" and !_resistSuccess>>
	<<set $feetactiondefault to $feetaction>><<set $feetaction to 0>><<set _target to random(1,$enemyno)-1>>
	You <<print either("awkwardly","viciously","rapidly","jerkily","cruelly","<<feettext>>")>> lash out with your feet.
	<<defiance 1 _target>>
<</if>>

<<if $feetaction is "resist" and _resistSuccess>>
	<<set $feetaction to 0>><<set $feetactiondefault to "resist">>
	You plant your legs into the ground.
<</if>>

<<if $mouthaction is "accept" or $mouthaction is "resist" and !_mouthSuccess>>
	<<set $mouthactiondefault to $mouthaction>><<set $mouthaction to 0>>
	<<speechWraith>>
	<<defiance 1>>
<</if>>

<<if $mouthaction is "resist" and _mouthSuccess>>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "resist">>
	Words well up in your mouth, but you swallow them down.
<</if>>

<<if $mouthaction is "handbite" or $mouthaction is "handclose" and !_resistSuccess>>
	<<set $mouthactiondefault to $mouthaction>><<set $mouthaction to 0>>
	<<actionshandbite>>
	<<for _s = 0; _s lt $NPCList.length; _s++>>
		<<if $NPCList[_s].lefthand is "mouth">>
			<<set $NPCList[_s].lefthand to 0>>
		<</if>>
		<<if $NPCList[_s].righthand is "mouth">>
			<<set $NPCList[_s].righthand to 0>>
		<</if>>
		<<He _s>> flinches away in pain, freeing your mouth.
		<<defiance 1 _s>>
		<<break>>
	<</for>>
	<<set $mouthuse to 0>>
<</if>>

<<if $mouthaction is "handclose" and _resistSuccess>>
	<<set $mouthaction to 0>><<set $mouthactiondefault to "handclose">>
	You keep your mouth closed against the hand pressing against it.
<</if>>
<</widget>>