code:
:: Wolf Cave Fight
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>

	You shift your body to make things easier for the horny <<beasttype>>.
	<<deviancy1>><<set $enemytrust -= 20>>
		<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>

<<elseif $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<set $enemytrust -= 40>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<</if>>

<<effects>>
<<effectsman>>

<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	The pack is too busy thinking about themselves to help you.

<</if>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $rescue is 1 and $alarm is 1>>
	<<link [[Next|Wolf Cave Fight Finish]]>><</link>><<nexttext>>
<<elseif $finish is 1>>
	<<link [[Next|Wolf Cave Fight Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Fight Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Fight Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Fight]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Help
<<set $location to "wolf_cave">><<effects>>

You cry for help.

<<if $wolfpackharmony gte 1>>
	The other <<beastsplural>> growl at the aggressor, who slinks away in response.
	<<lharmony>>

	<<destinationwolfcave>>
<<else>>
	The other <<beastsplural>> don't care.

	<<link [[Next|Wolf Cave Fight]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Wolf Cave Fight Finish
<<set $location to "wolf_cave">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	The <<beasttype>> yawns and lies down.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	The <<beasttype>> limps away from you. <<if $monster is 1>>"Was just playing... too rough..."<</if>>

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<elseif $rescue is 1 and $alarm is 1>><<set $rescued += 1>>
	The other <<beastsplural>> growl at the <<beasttype>> assaulting you. <<bHe>> growls back at first, but then backs down and leaves you alone.
	<<lharmony>>

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<else>>
	The <<beasttype>> yawns and lies down.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<</if>>

<<destinationwolfcave>>

:: Wolf Cave Rank
<<set $location to "wolf_cave">><<effects>>

<<if $phase is 0>>
	You stroke the low ranking <<beasttype 0>>, and its ears perk up. The more dominant <<beasttype 1>> growls, but doesn't press it.
	<<gharmony>><<lferocity>><<deviancy1>>

	<<endevent>>
	<<loadNPC 0 wolf_rank_1>>
	<<clearNPC wolf_rank_1>>
	<<clearNPC wolf_rank_2>>

	<<link [[Next|Wolf Cave Fight]]>><<set $sexstart to 1>><</link>>

<<elseif $phase is 1>>
	You stroke the high ranking <<beasttype 1>>. The less dominant <<beasttype 0>> walks away with its tail down.
	<<lharmony>><<gferocity>><<deviancy1>>
	<<endevent>>
	<<loadNPC 0 wolf_rank_2>>
	<<clearNPC wolf_rank_1>>
	<<clearNPC wolf_rank_2>>

	<<link [[Next|Wolf Cave Fight]]>><<set $sexstart to 1>><</link>>

<<elseif $phase is 2>>
	You stroke both of them. The dominant <<beasttype 1>> seems less pleased, but doesn't cause a fuss. It insists it takes you first.
	<<gharmony>><<gferocity>><<deviancy2>>

	<<clearNPC wolf_rank_1>>
	<<clearNPC wolf_rank_2>>
	<<link [[Next|Wolf Cave Fight Duo]]>><<set $sexstart to 1>><</link>>

<<else>>
	You turn away from them both. The more dominant <<beasttype 1>> growls, but doesn't press it.

	<<endevent>>

	<<destinationwolfcave>>
<</if>>

:: Wolf Cave Intervene
<<set $location to "wolf_cave">><<effects>>

<<if $phase is 0>>
	You cover the wounded <<beasttype>> with your body. The other <<beasttype>> bares its teeth at you, but relents.
	<<gharmony>><<lferocity>>

<<elseif $phase is 1>>
	You stroke the <<beasttype>> who drew blood. <<bHe>> jumps at your touch, as if expecting attack, but continues once <<bhe>> realises what you're doing.
	<<lharmony>><<gferocity>>

<<else>>
	You ignore the <<beastsplural>>. The wounded <<beasttype>> whimpers, and the other stops.

<</if>>

<<destinationwolfcave>>

:: Wolf Cave Calm
<<set $location to "wolf_cave">><<effects>>

<<if $phase is 0>>
	You walk over to the Black Wolf and drop to your knees to stroke <<bhis>> head. <<bHe>> shakes you off, then presents <<bhis>> genitals to you.
	<<if $monster is 1>>
		"Angry. Help."
	<</if>>

<<link [[Take in hand|Wolf Cave Black Wolf]]>><<set $sexstart to 1>><</link>><<deviant1>>

<<if $deviancy gte 55>>
	<<link [[Take in mouth|Wolf Cave Black Wolf]]>><<set $phase to 1>><<set $sexstart to 1>><</link>><<deviant4>>

<</if>>
<<link [[Refuse|Wolf Cave Calm]]>><<set $phase to 1>><</link>>

<<elseif $phase is 1>>
	<<if $monster is 1>>
		"No challenge. Obey!"
	<</if>>
	The Black Wolf continues harassing the other <<wolf_cave_plural>>, who do their best to avoid <<bhim>>. <<bHe>> calms down, but leaves the rest of the pack anxious.
	<<lharmony>>

	<<destinationwolfcave>>

<<else>>
	You look the Black Wolf right in the eyes and bare your teeth. <<bHis>> anger is wiped from <<bhis>> face for a moment, but soon returns. <<bHe>> growls and lunges at you.
	<<if $monster is 1>>
		"I am alpha. I'll punish you."
	<</if>>

	<<link [[Next|Wolf Cave Challenge]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Wolf Cave Black Wolf
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>

	<<if $phase is 0>>
		You reach beneath the <<beasttype>> and take it in your hand.
		<<npchand>><<deviancy1>>
	<<else>>
		You lean beneath the <<beasttype>>.
		<<npcoral>><<deviancy4>>
	<</if>>
	<<blackwolfhealth>><<set $enemytrust -= 20>>

<<elseif $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<blackwolfhealth>><<set $enemytrust -= 40>>
<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $finish is 1>>
	<<link [[Next|Wolf Cave Black Wolf Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Black Wolf Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Black Wolf Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Black Wolf]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Black Wolf Finish
<<set $location to "wolf_cave">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	<<clotheson>>
	<<endcombat>>

	<<beastNEWinit 2 wolf>>
	The Black Wolf calms down. The other <<beastsplural>> look grateful and relieved.
	<<gharmony>>

	<<endevent>>

	<<tearful>> you climb to your feet.

	<<destinationwolfcave>>

<<elseif $enemyhealth lte 0>>

	<<if $wolfpackleader is 1>>
		The Black Wolf limps away from you. The pack looks relieved.
		<<gharmony>>

	<<else>>
		The whole pack watches as the Black Wolf rolls onto <<bhis>> back in submission.

		<<tearful>> you howl. The other <<wolf_cave_plural>> howl with you.
		<<if $monster is 1>>
			The Black Wolf speaks. "You're... strong. Stronger than Black Wolf. I knew taking you was right choice."
		<</if>>
		The Black Wolf hobbles away to nurse <<bhis>> injuries. You can now lead the pack on hunts.
		<<set $wolfpackleader to 1>><<earnFeat "Head of the Pack">>

	<</if>>

	<<clotheson>>
	<<endcombat>>

	<<destinationwolfcave>>
<<else>>
	The Black Wolf stops bothering you, but continues to bite and growl at the others.
	<<lharmony>>

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>

	<<destinationwolfcave>>
<</if>>

:: Wolf Cave Challenge
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<blackwolfhealth>><<set $enemyanger += 200>><<set $enemytrust -= 40>>
<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Challenge Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Challenge Finish]]>><</link>><<nexttext>>
<<elseif $pain gte 100 and $willpowerpain is 0>>
	<<link [[Next|Wolf Cave Challenge Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Challenge]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Challenge Finish
<<set $location to "wolf_cave">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	The Black Wolf calms down. The other <<beastsplural>> look grateful and relieved.
	<<gharmony>>

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>

	<<destinationwolfcave>>
<<elseif $enemyhealth lte 0>>
	The whole pack watches as the Black Wolf rolls onto <<bhis>> back in submission.

	<<tearful>> you howl. The other <<beastsplural>> howl with you.
	<<if $monster is 1>>
		The Black Wolf speaks. "You're... strong. Stronger than Black Wolf. I knew taking you was right choice."
	<</if>>
	The black wolf hobbles away to nurse its injuries. You can now lead the pack on hunts.
	<<set $wolfpackleader to 1>><<earnFeat "Head of the Pack">>

	<<clotheson>>
	<<endcombat>>

	<<destinationwolfcave>>
<<else>>
	You fall to the ground, unable to fight any longer. The Black Wolf grabs your neck<<if $monster isnot 1>> in its jaws<</if>> and holds you to the floor for a moment, then releases you.
	<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

	<<if $wolfpackpoisoned isnot 1>>
		The Black Wolf is very strong. There must be a way to even things.

	<</if>>

	<<clotheson>>
	<<endcombat>>

	<<destinationwolfcave>>
<</if>>

:: Wolf Cave Young
<<set $location to "wolf_cave">><<effects>>

<<if $phase is 0>>
	You rush over to the young <<beasttype>> and stroke <<bhis>> head. <<bHe>> rears up and licks your face. <<bHe>>'s fine, just upset by the fall.
	<<gharmony>><<lferocity>><<ltrauma>><<lstress>><<trauma -6>><<stress -12>>

	<<destinationwolfcave>>
<<else>>
	You ignore the young <<beasttype>>. <<bHe>> soon starts playing again. <<bHe>>'s fine.
	<<lharmony>><<gferocity>>

	<<destinationwolfcave>>
<</if>>

:: Wolf Cave Plant
<<set $outside to 1>><<set $location to "wolf_cave">><<effects>>

<<if $phase is 1>>
<<set $phase to 0>>
	You search for plants long and sturdy enough to build an improvised garment. You find some suitable specimens and tie them together around your chest. It's fragile and revealing, but it's better than nothing.
	<<plantupper>>

<<elseif $phase is 2>><<set $phase to 0>>
	You search for plants long and sturdy enough to build an improvised garment. You find some suitable specimens and tie them together around your waist. It's fragile and revealing, but it's better than nothing.
	<<plantlower>>

<</if>>

<<link [[Next|Wolf Cave Clearing]]>><</link>>

:: Wolf Cave Play Fight
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

You play fight with the young <<beasttype>>. <<bHe>> bites your arm and tries to drag you to the ground. When that fails, <<bhe>> bites your leg and tries there. <<bHe>>'s not very strong.

<<destinationwolfcave>>

:: Wolf Cave Lewd Play
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>

	You adopt a mating posture and present yourself to the <<beasttype>>.
	<<deviancy2>><<set $enemytrust -= 20>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<</if>>

<<effects>>
<<effectsman>>

<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	The <<beastsplural>> are too busy thinking about themselves to help you.

<</if>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $rescue is 1 and $alarm is 1>>
	<<link [[Next|Wolf Cave Lewd Play Finish]]>><</link>><<nexttext>>
<<elseif $finish is 1>>
	<<link [[Next|Wolf Cave Lewd Play Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Lewd Play Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Lewd Play Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Lewd Play]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Lewd Play Finish
<<set $location to "wolf_cave">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	The <<beasttype>> yawns and lies down.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	The <<beasttype>> limps away from you.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<elseif $rescue is 1 and $alarm is 1>><<set $rescued += 1>>
	The other <<beastsplural>> growl at the <<beasttype>> assaulting you. <<bHe>> growls back at first, but then backs down and leaves you alone.
	<<lharmony>>

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<else>>
	The <<beasttype>> yawns and lies down.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<</if>>

<<destinationwolfcave>>

:: Wolf Cave Fight Duo
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>

	<<beastTrainGenerate>>

	You shift your body to make things easier for the horny <<beasttype>>.
	<<deviancy1>><<set $enemytrust -= 20>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<<elseif $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<set $enemytrust -= 40>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<</if>>

<<effects>>
<<effectsman>>

<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	The <<wolf_cave_plural>> are too busy thinking about themselves to help you.

<</if>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $rescue is 1 and $alarm is 1>>
	<<link [[Next|Wolf Cave Fight Duo Finish]]>><</link>><<nexttext>>
<<elseif $finish is 1>>
	<<link [[Next|Wolf Cave Fight Duo Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Fight Duo Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Fight Duo Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Fight Duo]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Fight Duo Finish
<<effects>>

<<if $enemyhealth lte 0>>
	<<beastwound>>
		<<if $combatTrain.length gt 0>>
		The <<beasttype>> recoils in pain and fear, but the other is eager for a go.
		<<combatTrainAdvance>>

		[[Next|Wolf Cave Fight Duo]]
	<<else>>
		The <<beasttype>> recoils in pain and fear.
		<<combatTrainAdvance>>

		<<link [[Next|Wolf Cave Fight Duo Finish]]>><<set $finish to 1>><</link>>
	<</if>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>
	<<if $combatTrain.length gt 0>>
		Satisfied, the <<beasttype>> moves and another takes its turn.
		<<wolfpacktrust>>
		<<combatTrainAdvance>>

		[[Next|Wolf Cave Fight Duo]]
	<<else>>
		Satisfied, the <<beasttype>> moves away from you.
		<<combatTrainAdvance>>
		<<wolfpacktrust>>

		<<link [[Next|Wolf Cave Fight Duo Finish]]>><<set $finish to 1>><</link>>
	<</if>>
<<else>>
	<<if $consensual is 1>>
	The wolves groom each other.

	<<else>>
		<<if $enemywounded is 1 and $enemyejaculated is 0>>
			The <<beasttype>> whimpers and flees into the darkness between the trees.
		<<elseif $enemywounded is 0 and $enemyejaculated is 1>>
			The <<beasttype>> leaves you lying on the grass.
		<<elseif $enemywounded gte 2 and $enemyejaculated is 0>>
			Feeling that you're more trouble than you're worth, the wolves flee between the trees.
		<<elseif $enemywounded is 0 and $enemyejaculated gte 2>>
			The wolves leave you spent and shivering on the grass.
		<<elseif $enemywounded gte 1 and $enemyejaculated gte 1>>
			The wolves leave you spent and shivering on the grass.
		<</if>>

	<</if>>

	<<tearful>> you gather yourself.

	<<clotheson>>
	<<endcombat>>

	<<destinationwolfcave>>
<</if>>

:: Wolf Cave Howl
<<effects>>
<<if $phase is 0>>
	You sit on a nearby log and watch the <<wolf_cave_plural>> howling lively into the crisp air.
	<<if $sciencetrait gte 3>>
		You think back to your biology lessons. Wolves can howl for a multitude of reasons, such as bonding, communicating positions, or warding off trespassers.
	<<else>>
		You are unsure as to why wolves howl together, but you're content with knowing that it must be a sign of a healthy and sociable pack.
	<</if>>

	Seeing the pack united and willing to partake in such activities together brings you a feeling of content.
	<<stress -6>><<trauma -3>><<lstress>><<ltrauma>>
<<else>>
	You take a spot in the middle of the noisy crowd. You take a deep breath, before shutting your eyes and raising your head to howl into the crisp forest air.

	<<if $wolfgirl gte 6>>
		You let your wilder, primal senses take over. Your howling blends beautifully and naturally with that of your brethren. The other <<wolf_cave_plural>> seem to accept you among them, content with letting you howl along with them as just another wolf of the pack.
		<<stress -12>><<trauma -12>><<llstress>><<lltrauma>>
	<<elseif $harpy gte 6>>
		You join the rest of the <<wolf_cave_plural>>, or so you think. Your instincts take over, and your howling is instead more reminiscent of a cheerful singing. Your harmonic melodies clash with your brethren's howling, leaving them mildly exasperated.
		<<stress -3>><<lstress>>
	<<else>>
		Despite your best efforts, your <<if $cat gte 6>>yowling<<elseif $cow gte 6>>mooing<<else>>scratchy howling<</if>> doesn't seem to convince most of the <<wolf_cave_plural>>. Most don't seem to mind, but some of them are put off by your lackluster attempts.
		<<stress -3>><<lstress>>
	<</if>>
<</if>>

<<destinationwolfcave>>

:: Wolf Cave Spar
<<effects>><<beastNEWinit 1 wolf>><<person1>>

You approach the hunters who are resting in their usual spots in preparation for the upcoming hunt.

Feeling like you could do with a bit of exercise, you assume a belligerent position on all fours and bare your <<if $wolfgirl gte 2 or $cat gte 2>>fangs<<else>>teeth<</if>>.

One of the hunters, a <<beasttype>>,
<<if $wolfpackharmony gte 10 and $wolfpackferocity gte 10>>
	answers your call to spar and prepares to fight.
	<<if $monster is 1>>
		"<<pPackbrother>> should not hold back!"
	<</if>>
<<elseif $wolfpackharmony gte 10>>
	yawns and lazily walks over to answer your call to spar.
	<<if $monster is 1>>
		"Worse ways to kill time."
	<</if>>
<<elseif $wolfpackferocity gte 10>>
	eagerly jumps up and answers your call to spar.
	<<if $monster is 1>>
		"<<pPackbrother>>, you will fall!"
	<</if>>
<<elseif $wolfpackferocity gte 1>>
	huffs and walks over to you, answering your call to spar.
	<<if $monster is 1>>
		"This is fine."
	<</if>>
<<else>>
	glances your way, before laying down.
	<<if $monster is 1>>
		"Cannot waste energy. No point."
	<<else>>
		<<bHe>> doesn't have the energy to spare.
	<</if>>
	<<set _reject to 1>>
<</if>>

<<if _reject>>
	<<link [[Next|Wolf Cave Clearing]]>><</link>>
<<else>>
	<<pass 20>><<stress -6>>
	<<link [[Go for heavy hits|Wolf Cave Spar 2]]>><<set $phase to 0>><</link>><<physiquedifficulty 2000 $physiquemax>>

	<<link [[Win by stamina|Wolf Cave Spar 2]]>><<set $phase to 1>><</link>><<athleticsdifficulty 200 1000>>

	<<link [["Outmaneuver " + $NPCList[0].pronouns.him|Wolf Cave Spar 2]]>><<set $phase to 2>><</link>><<dancedifficulty 200 1000>>

<</if>>

:: Wolf Cave Spar 2
<<effects>>

<<switch $phase>>
	<<case 0>>
		You try to overpower the <<beasttype>> with a few powerful hits, to end the fight quickly and decisively. The <<beasttype>> ducks under your first two swings, but
		<<if $physiqueSuccess>>
			<<set _victory to 1>>
			the third staggers <<bhim>> and the fourth sends <<bhim>> to the ground.
		<<else>>
			you catch <<bhim>> with the third. <<bHe>> barely flinches. <<bHe>> <<if $monster is 1>>kicks<<else>>charges into<</if>> your knees with force, and you crumple.
		<</if>>
		<<physique 4>>
	<<case 1>>
		You try to waste the <<beasttypes>> energy, while expanding as little of your own as possible. The <<beasttype>> lunges forward to attack, and you backpedal. <<bHe>> follows up with a charge, and you step to the side.
		<<if $athleticsSuccess>>
			<<set _victory to 1>>
			<<bHe>> pants, and you strike. <<bHes>> not able to dodge in time.
		<<else>>
			Your foot catches a root. You collapse to the ground, and <<bhes>> on you in an instant. With <<bhis>> <<if $monster is 1>>hand<<else>>jaws<</if>> wrapped around your throat, it's clear who the victor is.
		<</if>>
		<<physique 2>><<athletics 2>>
	<<case 2>>
		You try to dance around <<bhim>>, getting in hits while avoiding all of <<bhis>>.
		<<if $danceSuccess>>
			<<set _victory to 1>>
			You find it easy to stave off your opponent's attacks. You evade the <<beasttype>>'s pounce and deliver a decisive blow to <<bhis>> <<if $monster is 1>>face<<else>>muzzle<</if>>.
		<<else>>
			You're agile. But not as agile as <<bhim>>. No matter how you try, you can't even land a single blow on <<bhim>>. It's clear <<bhes>> toying with you, and you drop to your knees in exhaustion and defeat.
		<</if>>
		<<physique 2>><<danceskill 2>>
<</switch>>
<<gtiredness>><<tiredness 12>>
<<if !_victory>>
	<<pain 6>><<gpain>>
<</if>>

<<if _victory>>
	<<if $wolfpackharmony gte 10>>
		Yelping from pain, the <<beasttype>> takes a few steps back before turning and presenting <<bhis>> backside to you.
		<<if $monster is 1>>
			"<<pPackbrother>> may take <<pher>> reward."
		<</if>>

		<<if $deviancy gte 35>>
			<<link [[Accept the invitation|Wolf Cave Spar Sex]]>><<set $sexstart to 1>><</link>><<deviant3>>
		<<else>>
			You are not deviant enough to accept such a thing.
		<</if>>

		<<link [[Refuse|Wolf Cave Clearing]]>><<endevent>><</link>>
	<<elseif $wolfpackferocity gte 10>>
		Yelping from pain, the <<beasttype>> takes a few steps back and growls. <<bHe>> bares <<bhis>> fangs when you try to approach to make sure <<bhe>> isn't hurt.
		<<if $monster is 1>>
			"What else <<ppackbrother>> want? You won."
		<</if>>

		<<link [[Next|Wolf Cave Clearing]]>><<endevent>><</link>>
	<<else>>
		Yelping from pain, the <<beasttype>> takes a few steps back before bowing <<bhis>> head and returning to <<bhis>> resting spot.

		<<link [[Next|Wolf Cave Clearing]]>><<endevent>><</link>>
	<</if>>
<<else>>
	<<if $wolfpackferocity gte 10>>
		The <<beasttype>> bares <<bhis>> fangs and pins you to the ground. <<bHes>> not satisfied with just beating you in a fight.

		<<if $deviancy gte 35>>
			<<link [[Submit|Wolf Cave Spar Sex]]>><<set $sexstart to 1>><<set $phase to 1>><><</link>><<deviant3>>

		<</if>>
		<<link [[Struggle|Wolf Cave Spar Sex]]>><<set $molestationstart to 1>><<def 1>><</link>>
	<<elseif $wolfpackharmony gte 10>>
		The <<beasttype>> lets out a satisfied chuff and nudges you with <<bhis>> <<if $monster is 1>>hand<<else>>nose<</if>>. <<bHis>> tail wags affectionately.

		<<if $deviancy gte 35>>
			<<link [[Reward|Wolf Cave Spar Sex]]>><<set $sexstart to 1>><<set $phase to 2>><><</link>><<deviant3>>

		<</if>>
		<<link [[Take a breather (0:05)|Wolf Cave Clearing]]>><<endevent>><<pass 5>><</link>>
	<<else>>
		The <<beasttype>> lets out a satisfied chuff and returns to <<bhis>> resting spot.

		<<link [[Take a breather (0:05)|Wolf Cave Clearing]]>><<endevent>><<pass 5>><</link>>
	<</if>>
<</if>>

:: Wolf Cave Spar Sex
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>

	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
	<<if $phase is 1>>
		You decide that struggling will only lead to you getting hurt, so you show the <<beasttype>> that you're willing to cooperate.
		<<set $enemytrust -= 20>><<set $enemyanger += 20>>
	<<elseif $phase is 2>>
		You adopt a mating posture and present yourself to the <<beasttype>>.
	<<else>>
		You accept the <<beasttype>>'s invitation.
	<</if>>
	<<deviancy3>>
<<elseif $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<set $enemytrust -= 40>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
	Not keen on letting the <<beasttype>> use you in this manner, you try to tackle <<bhim>> aside. <<bHe>> growls.
	<<if $monster is 1>>
		"<<pPackbrother>> lost! Now <<ppackbrother>> submits!"
	<</if>>
<</if>>

<<effects>>
<<effectsman>>

<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	The <<beastsplural>> are too busy thinking about themselves to help you.

<</if>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $alarm is 1 and $rescue is 1
or $finish is 1
or $enemyarousal gte $enemyarousalmax
or $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Spar Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Spar Sex]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Spar Sex Finish
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	The <<beasttype>> yawns and lies down.
<<elseif $enemyhealth lte 0>>
	The <<beasttype>> limps away from you. <<if $monster is 1>>"<<pPackbrother>> won... in the end..."<</if>>
<<elseif $rescue is 1 and $alarm is 1>><<set $rescued += 1>>
	The other <<beastsplural>> growl at the <<beasttype>> assaulting you. <<bHe>> growls back at first, but then backs down and leaves you alone.
	<<lharmony>>
<<else>>
	The <<beasttype>> yawns and returns to where <<bhe>> was resting.
<</if>>

<<tearful>> you climb to your feet.

<<clotheson>>
<<endcombat>>

<<link [[Next|Wolf Cave Clearing]]>><</link>>


code:
:: Wolf Cave Hunt
<<set $location to "wolf_cave">><<effects>>

<<if $wolfpacktrust gte 18 or $wolfpackleader gte 1>>
	<<set $dateCount.BlackWolfHunts++>>

	You follow the <<wolf_cave_plural>> as they depart between the trees. They don't stop you.

	<<set $outside to 1>>
	Not far from the cave they break into a run. They move fast. It's hard to keep up.
	<<gathletics>><<athletics 6>><<physique 6>>

	<<wolfhuntevents>>
<<else>>
	You try to follow the <<wolf_cave_plural>>, but the Black Wolf turns and growls at you.
	<<npc "Black Wolf">>
	<<if $monster is 1>>
		"Stay! Watch young. Build trust."
	<<else>>
		<<bHe>> wants you to stay with the younger <<wolf_cave_plural>>.
	<</if>>

	<<endevent>>

	You watch as they depart between the trees.

	If they trusted you more, they might be willing to let you come along.

	<<destinationwolfcave>>
<</if>>

:: Wolf Cave Hunt Leave

<<set $location to "wolf_cave">><<effects>>
The pack departs between the trees, leaving you with the younger <<wolf_cave_plural>>.

<<destinationwolfcave>>

:: Wolf River

<<location "forest">><<effects>>
You run with the pack alongside the river. You come to a soft patch of grass. Some of the <<wolf_cave_plural>> lie down for a rest.

<<if $wolfpackleader gte 1>>
	<<link [[Rest (1:00)|Wolf River Rest]]>><<tiredness -12>><<pass 1 hour>><</link>>

	<<link [[No time for rest|Wolf River Rouse]]>><</link>>

	<<if $rng gte 51>>
		<<link [[Let the Black Wolf decide|Wolf River Rest]]>><<tiredness -12>><<pass 1 hour>><</link>>

	<<else>>
		<<link [[Let the Black Wolf decide|Wolf River Rouse]]>><</link>>

	<</if>>
<<else>>
	<<npc "Black Wolf">>
	<<if $rng gte 51>>
		The Black Wolf lies down too, and you and the other <<wolf_cave_plural>> follow suit.
		<<if $monster is 1>>
			"Rest. Save strength."
		<</if>>

		<<link [[Next (1:00)|Wolf River Rest]]>><<tiredness -12>><<pass 1 hour>><</link>>

	<<else>>
		<<if $monster is 1>>
			The Black Wolf barks. "No time for rest! Scent on the wind. Be swift."
		<<else>>
			The Black Wolf growls at them, and they stand back up.
		<</if>>

		<<link [[Next|Wolf River Rouse]]>><</link>>

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

:: Wolf Cliff

<<location "forest">><<effects>>
You come to a decaying stump at the base of the cliff. There's a collection of mushrooms growing at its base, some red some pink.
<<if $science gte 400>>
	You recognise the red ones as wolfshrooms, thought to grant strength and prized by warriors in ancient times. You recognise the pink ones too. They're an aphrodisiac, and poisonous to many animals. Including <<wolf_cave_plural>>.
<<elseif $science gte 200>>
	You recognise the red ones as wolfshrooms, thought to grant strength and prized by warriors in ancient times. You don't recognise the pink ones.
<<else>>
	You don't recognise either of them.
<</if>>

<<link [[Take red mushroom|Wolf Cliff2]]>><<set $wolfpackshroom to "red">><</link>>

<<link [[Take pink mushroom|Wolf Cliff2]]>><<set $wolfpackshroom to "pink">><<arousal 600>><</link>><<garousal>>

<<link [[Leave them alone|Wolf Cliff2]]>><</link>>

:: Wolf River Rest

<<location "forest">><<effects>>
The pack rests for a while. You think you even fall asleep.
<<gharmony>><<lferocity>><<ltiredness>>

The hunting party soon becomes restless, and the hunt continues.
<<gathletics>><<athletics 6>><<physique 6>>

<<wolfhuntevents>>

:: Wolf River Rouse

<<location "forest">><<effects>>
The pack is roused and the hunt continues.
<<gathletics>><<athletics 6>><<physique 6>>

<<wolfhuntevents>>

:: Wolf Cliff2

<<location "forest">><<effects>>
The pack starts to move again, and you run to keep up with them.
<<gathletics>><<athletics 6>><<physique 6>>

<<wolfhuntevents>>

:: Wolf Deer
<<npc "Black Wolf">>
<<location "forest">><<effects>>
You follow the deer tracks. They lift their heads more frequently, as if they can smell something you can't. After some time they break into a sprint.

<<if $athleticsSuccess>>
	They don't hold back for you, but you're able to keep up. You soon arrive at a clearing. On the other side stands a lone deer. It stops grazing and breaks into a panicked run at the sight of the pack.

	<<if 20 + $wolfpackharmony + $wolfpackferocity gte $rng>>
		It bounds through the forest, weaving between the trees and out of sight. The Black Wolf breaks from the rest of the pack and races after it. You break into another clearing and find the Black Wolf stood triumphant over its prey.

		<<if random(1,5) is 1>>
			<<endevent>><<beastNEWinit 1 wolf>><<saveNPC 0 rival_wolf>>
			The pack gathers around their prey, but something stops them before they get the chance to feast. A different pack reveals itself in front of you. Teeth bared, they approach bearing a menacing posture.

			<<if $wolfpackleader is 1>>
				Their leader, a larger <<beasttype>>, has <<bhis>> eyes fixed on you.
				<<if $monster is 1>>
					"You leader?" <<bhe>> growls. "Pack stand down! Give quarry now!"
				<<else>>
					<<bHe>> growls aggressively, demanding that you surrender the prey to <<bhim>>.
				<</if>>

				A small group at first, you start to notice more of the rival pack members stepping out from behind the bushes, surrounding the rest of your brethren. They outnumber you.

				<<endevent>><<npc "Black Wolf">>
				The Black Wolf stands by your side.
				<<if $monster is 1>>
					"Give order," <<bhe>> whispers to you. "Pack will follow."
				<</if>>

				The <<wolf_cave_plural>> waits for your signal.

				<<endevent>><<loadNPC 0 rival_wolf>>
				<<link [[Fight the leader|Wolf Rival Challenge]]>><</link>>

				<<if $deviancy gte 15>>
					<<link [[Offer yourself to the pack|Wolf Rival Offer]]>><</link>><<deviant2>>

				<</if>>
				<<link [[Retreat|Wolf Rival Retreat]]>><</link>>
			<<else>>
				Their leader, a larger <<beasttype>>, has <<bhis>> eyes fixed on the Black Wolf.
				<<if $monster is 1>>
					"You leader?" <<bhe>> growls. "Pack stand down! Give quarry now!"
				<<else>>
					<<bHe>> gives the Black Wolf a chilling glare, demanding that the pack surrender the prey to <<bhim>>.
				<</if>>

				<<endevent>><<npc "Black Wolf">>
				The Black Wolf snarls back, but flattens <<bhis>> ears. You start to notice more of the rival pack members stepping out from behind the bushes, surrounding the rest of your brethren. They outnumber you.

				<<bHis>> confidence lost from the sudden approach, the Black Wolf seems unsure as to how to respond.

				<<if $deviancy gte 15>>
					<<link [[Offer yourself to the pack|Wolf Rival Offer]]>><</link>><<deviant2>>

				<</if>>
				<<link [[Flee|Wolf Rival Flee]]>><</link>><<athleticsdifficulty 1 1000>>
			<</if>>
		<<else>>
			The Black Wolf keeps the choice parts for itself. You find some berries growing nearby which serve you better. You sit by the deer.
			<<if $monster is 1>>
				<<bHe>> sits next to you and places a hand on your head. "Good hunt. Success thanks to <<ppackbrother>>."
			<</if>>
			<<stress -12>><<lstress>>

			The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

			<<endevent>>
			<<wolfpackhuntoptions>>
		<</if>>
	<<else>>
		It bounds through the forest, weaving between the trees. The pack races after it, but running at such speed they tire quickly. The deer escapes.

		Higher harmony and ferocity increases the chance of a successful hunt.

		Dejected but not broken, the <<wolf_cave_plural>> try to pick up the scent of easier prey. They catch something on the breeze and break into a run.
		<<gathletics>><<athletics 6>><<physique 6>>

		<<endevent>>
		<<set $bus to "wolfcaveclearing">>
		<<wolfhuntevents>>
	<</if>>
<<else>>
	They don't hold back for you, and you're unable to keep up. You lose them in the forest.

	<<link [[Next|Forest]]>><<endevent>><<set $forest to 60>><</link>>

<</if>>

:: Wolf Carrion

<<location "forest">><<effects>>
<<beastNEWinit 1 boar>>
You follow the trail and arrive at a grassy knoll. On its top lies a deer carcass, being chewed on by a wild <<beasttype>>. <<bHe>> spots the pack and glares down.

<<if $rng gte 51>>
	Before the rear <<wolf_cave_plural>> even arrive the <<beasttype>> leaps over the carcass and charges down the hill, straight at you!

	<<link [[Stand your ground|Wolf Carrion Stand]]>><</link>><<physiquedifficulty 2000 12000>>

	<<link [[Run|Wolf Carrion Run]]>><</link>>

<<else>>
	Before the last of the pack arrive, the <<beasttype>> leaps over the carcass and charges down the hill, straight at the Black Wolf.

	<<endevent>><<npc "Black Wolf">>

	<<if $wolfpackharmony + $wolfpackferocity + 20 gte $rng>>
		The Black Wolf stands <<bhis>> ground. The attacker veers away and runs into the forest.

		The Black Wolf keeps the choice parts for <<bhimself>>. You find some berries growing nearby which serve you better. You sit by the deer.
		<<if $monster is 1>>
			<<bHe>> sits next to you and places a hand on your head. "Good hunt. Always stand ground, <<ppackbrother>>."
		<</if>>
		<<stress -12>><<lstress>>

		The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

		<<endevent>>
		<<wolfpackhuntoptions>>

	<<else>>
		The Black Wolf stands <<bhis>> ground, and the attacker's charge knocks <<bhim>> aside. It runs amok among the pack, who panic and run for the safety of the trees.

		Higher harmony and ferocity increases the chance of a successful hunt.

		You run with the pack into the forest. There must be easier prey.
		<<gathletics>><<athletics 6>><<physique 6>>

		<<endevent>>
		<<set $bus to "wolfcaveclearing">>
		<<wolfhuntevents>>
	<</if>>
<</if>>

:: Wolf Bear
<<location "forest">><<effects>>
<<beastNEWinit 1 bear>>
You come to a small cave and see a large shape rise and fall in a steady rhythm. It's a <<beasttype>>, lying with its eyes shut beside a fresh kill. It looks like a deer. The pack creeps closer. They'll need the element of surprise.

<<set $skulduggerydifficulty to 300>>
<<link [[Distract it|Wolf Bear Distract]]>><</link>><<skulduggerydifficulty>>

<<link [[Attack|Wolf Bear Attack]]>><</link>>

:: Wolf Hunters
<<location "forest">><<effects>>

The pack seems uneasy. They wouldn't normally track a pack of humans unless the situation was dire. They follow you regardless. Their run slows to a prowl, and soon after you hear laughter ahead. You creep forward. Three hunters sit around a fire. A deer carcass lies on the ground beside them. They each have a rifle.

A frontal attack would be very risky.

<<if $exposed gte 2>>
	<<if $exhibitionism gte 75>>
		You feel more conscious of your <<lewdness>> now that you're faced with other people. It would be so embarrassing to stride into the middle of them like this. But it could work to your advantage.

		<<set $skulduggerydifficulty to 400>>
		<<link [[Distract them|Wolf Hunters Distract]]>><<set $phase to 0>><</link>><<skulduggerydifficulty>><<exhibitionist5>>

	<<else>>
		You feel more conscious of your <<lewdness>> now that you're faced with other people. There's no way you can let them see you.

	<</if>>
<<elseif $exposed gte 1>>
	<<if $exhibitionism gte 35>>
		You feel more conscious of your <<lewdness>> now that you're faced with other people. It would be so embarrassing to stride into the middle of them like this. But it could work to your advantage.

		<<set $skulduggerydifficulty to 600>>
		<<link [[Distract them|Wolf Hunters Distract]]>><<set $phase to 1>><</link>><<skulduggerydifficulty>><<exhibitionist3>>

	<<else>>
		You feel more conscious of your <<lewdness>> now that you're faced with other people. There's no way you can let them see you.

	<</if>>
<<else>>
	<<set $skulduggerydifficulty to 800>>
	<<link [[Distract them|Wolf Hunters Distract]]>><<set $phase to 2>><</link>><<skulduggerydifficulty>>

<</if>>

<<link [[Attack|Wolf Hunters Attack]]>><</link>>

<<link [[Leave|Wolf Hunter Leave]]>><</link>>

:: Wolf Deer2
<<location "forest">><<effects>>
<<npc "Black Wolf">>
<<if $phase is 0>><<set $wolfpackshroom to "none">>
	You crumble the red mushroom onto the Black Wolf's food. <<bHe>> spots you and growls, but relents when <<bhe>> sees you carry nothing away. <<bHe>> returns to <<bhis>> place and continues eating. Over the next few hours <<bhe>> becomes more territorial, glaring at other <<wolf_cave_plural>> who approach the deer.
	<<gferocity>>

<<elseif $phase is 1>><<set $wolfpackshroom to "none">>
	You crumble the pink mushroom onto the Black Wolf's food. <<bHe>> spots you and growls, but relents when <<bhe>> sees you carry nothing away. <<bHe>> returns to <<bhis>> place and continues eating. Over the next few hours <<bhe>> becomes lethargic. The other <<wolf_cave_plural>> notice and try their luck at parts of the deer they wouldn't normally be allowed.
	<<lferocity>><<set $wolfpackpoisoned to 1>>

<</if>>
<<endevent>><<beastNEWinit 1 wolf>>
You lie on the grass with your head resting on a <<beasttype>>. All that running is tiring. You close your eyes and sleep. You're awoken when the <<beasttype>> you were resting on stands up.

<<endevent>>

<<set $huntstate to "success">>
<<wolfhuntevents>>

:: Wolf Hunters Attack
<<location "forest">><<effects>>
<<generate1>><<generate2>><<generate3>>
The pack gets into position around the camp, then rush in from all directions!

<<if $wolfpackharmony + $wolfpackferocity - 20 gte $rng>>

	The hunters are quick to react, but not quick enough. A <<person1>><<person>> reaches for <<his>> gun, which <<he>> left where <<he>> sat, but it's too late. The Black Wolf lunges and grabs <<his>> arm.

	The other <<wolf_cave_plural>> follow the Black's lead. You back away as they drive the hunters into a tight circle with their backs against each other.

	"Th-this is m-mad," the <<person>> stammers.

	<<earnFeat "Top of the Food Chain">>
	<<link [[Demand valuables|Wolf Hunters Valuables]]>><</link>><<crime>>

	<<link [[Let them go|Wolf Hunters Go]]>><</link>>

<<else>>
	The hunters are quick to react. They grab their rifles and fire at the pack. The bullets whiz into the forest. Though unharmed, the <<wolf_cave_plural>> turn their tails and flee to safety. You go with them.
	<<lharmony>><<lferocity>>

	Higher harmony and ferocity increases the chance of a successful hunt.

	You run into the forest once more, the pack following close behind. There must be easier prey.
	<<gathletics>><<athletics 6>><<physique 6>>

	<<endevent>>
	<<set $bus to "wolfcaveclearing">>
	<<wolfhuntevents>>
<</if>>

:: Wolf Hunters Distract
<<location "forest">><<effects>>
<<generate1>><<generate2>><<generate3>>
<<if $phase is 0>>
	<<flaunting>> you emerge from the safety of the trees, naked. You hear one of your packmates whimper somewhere behind you but you don't stop. You see the hunters more clearly now, and march right into the middle of them.
	<<exhibitionism5>>

	They gape at you. The closest, a <<person1>><<person>>, is the first to speak. "Why, if it isn't a forest nymph, come to keep us warm." <<He>> stands up, and the others do too.

<<elseif $phase is 1>>
	<<flaunting>> you emerge from the safety of the trees, despite being exposed so. You hear one of your packmates whimper somewhere behind you but you don't stop. You see the hunters more clearly now, and march right into the middle of them.
	<<exhibitionism3>>

	They gape at you. The closest, a <<person1>><<person>>, is the first to speak. "Looks like you forgot to dress properly." <<He>> stands up, and the others do too.

<<else>>
	You emerge from the safety of the trees. You hear one of your packmates whimper somewhere behind you but you don't stop. You see the hunters more clearly now, and march right into the middle of them.

	They jump and reach for their guns when they see you, but soon calm down. The closest, a <<person1>><<person>>, is the first to speak. "You shouldn't sneak up on people like that," <<he>> says. "You're liable to get hurt." <<He>> leers at you as <<he>> stands up, and the others do too.

<</if>>

<<skulduggerycheck>>
<<if $skulduggerysuccess is 1>>
	<<if $skulduggery lte ($skulduggerydifficulty + 100)>>
		<<skulduggeryskilluse>>
	<<else>>
		That was too easy. You didn't learn anything.

	<</if>>

	A <<person2>><<person>> cocks <<his>> head as if listening, but doesn't hear anything. <<He>> grins at you. "Walking the woods all alone are we? Don't fret, we'll look after you."

	"That's right," a <<person3>><<person>> says next as <<he>> eyes you up and down. "Question is, what shall we do with you?"

	They're so taken by you they don't notice the many pairs of eyes glowing in the dark, drawing closer. The <<person1>><<person>> looks over <<his>> friend's shoulder and horror spreads on <<his>> face. <<He>> reaches for <<his>> gun, which <<he>> left where <<he>> sat, but it's too late. The Black Wolf lunges and grabs <<his>> arm.

	The other <<wolf_cave_plural>> follow the Black's lead. You back away as they drive the hunters into a tight circle with their backs against each other.

	"Th-this is m-mad," the <<person>> stammers.

	<<earnFeat "Top of the Food Chain">>
	<<link [[Demand valuables|Wolf Hunters Valuables]]>><</link>><<crime>>

	<<link [[Let them go|Wolf Hunters Go]]>><</link>>

<<else>>

	<<skulduggeryskilluse>>

	"I heard that," a <<person2>><<person>> announces, and in once swift movement <<he>> picks up a stone and hurls it into the shrubs around their camp. You hear rustling and pattering feet. It fades away. The pack was so on edge it was enough to spook them into fleeing.

	"Looks like your friends have done a runner," a <<person3>><<person>> says. "Pity. I bet they're as cute as you." <<He>> reaches towards you. "Now come 'ere."

	<<link [[Next|Wolf Hunter Rape]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Wolf Hunter Leave
<<location "forest">><<effects>>

It's not worth the risk. You turn and run, the relieved <<wolf_cave_plural>> following close behind.
<<gathletics>><<athletics 6>><<physique 6>>

<<set $bus to "wolfcaveclearing">>
<<wolfhuntevents>>

:: Wolf Hunters Valuables
<<location "forest">><<effects>>
<<set $wolfpackrob to 1>>

<<if $submissive gte 1150>>
	"Give me your money and valuables," you say. "Then leave us to eat in peace."
<<elseif $submissive lte 850>>
	"Your money and valuables," you say. "Before I feed you to my family."
<<else>>
	"Your money and valuables," you say. "Hurry, I can't hold them back forever."
<</if>>
The pack growls.

They pull money out of pockets and take off their jewellery. They drop it all in a pile at their feet before being marched from the camp by the <<wolf_cave_plural>> nipping at their heels. They rush to the deer carcass once they are out of earshot.

<<if $rng gte 96>>
	You find <<moneyGain 200 true true>> in cash, as well as assorted baubles you think are very valuable.
	<<set $blackmoney += 800>><<crimeup 800>>
<<elseif $rng gte 51>>
	You find <<moneyGain 50 true true>> in cash, as well as assorted baubles you think are quite valuable.
	<<set $blackmoney += 50>><<crimeup 50>>
<<else>>
	You find <<moneyGain 20 true true>> in cash, as well as assorted baubles you think are quite valuable.
	<<set $blackmoney += 30>><<crimeup 30>>
<</if>>

<<endevent>>
<<npc "Black Wolf">>
The Black Wolf keeps the choice parts of the deer for <<bhimself>>. You rummage in a bag left behind by the hunters and find some canned food that suits you better. You sit by the deer.
<<stress -12>><<lstress>>

<<if $wolfpackspray isnot 1>><<set $wolfpackspray to 1>>
	You find a strange cylinder among their things. It looks like a charge for your pepper spray, but with an exposed computer chip at the base. You put it in.
	<<gspraymax>><<set $spraymax += 1>><<spray 5>>

	You've gained an additional pepper spray charge.

<</if>>
<<if $monster is 1>>
	The Black Wolf sits next to you and places a hand on your head. "Good hunt. Humans apex predators. With you, we can do anything, <<ppackbrother>>."
<</if>>

The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

<<endevent>>

<<wolfpackhuntoptions>>

:: Wolf Hunters Go
<<location "forest">><<effects>>

<<if $submissive gte 1150>>
	"Leave us alone," you say. "We only want to eat in peace."
<<elseif $submissive lte 850>>
	"Leave," you say. "Before I change my mind and feed you to my family."
<<else>>
	"Leave," you say. "I can't hold them back forever."
<</if>>
The pack growls.

The hunters nod and march from the camp with <<wolf_cave_plural>> nipping at their heels. They rush to the deer carcass once they are out of earshot.

<<endevent>>
<<npc "Black Wolf">>
The Black Wolf keeps the choice parts for itself. You rummage in a bag left behind by the hunters and find some canned food that suits you better. You sit by the deer.
<<stress -12>><<lstress>>

<<if $wolfpackspray isnot 1>>
	<<set $wolfpackspray to 1>>
	You find a strange cylinder among their things. It looks like a charge for your pepper spray, but with an exposed computer chip at the base. You put it in.
	<<gspraymax>><<set $spraymax += 1>><<spray 5>>

	You've gained an additional pepper spray charge.

<</if>>
<<if $monster is 1>>
	The Black Wolf sits next to you and places a hand on your head. "Good hunt. Humans apex predators. With you, we can do anything, <<ppackbrother>>."
<</if>>

The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

<<endevent>>
<<wolfpackhuntoptions>>

:: Wolf Hunter Rape
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>

	<<maninit>><<set $enemyanger += 50>>
<</if>>

<<effects>>
<<effectsman>><<man>>
<<stateman>>

<<actionsman>>

<<if $enemyhealth lte 0>>
	<<link [[Next|Wolf Hunter Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Hunter Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Hunter Rape]]>><</link>><<nexttext>>
<</if>>

:: Wolf Hunter Rape Finish
<<location "forest">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<ejaculation>>

	"I said the trip would be worth it," the <<person1>><<person>> says. "What now?"

	<<person2>>"I know," the <<person>> says. <<He>> produces a rope from a bag beside the fire and ties your arms together. "There. Have fun being wolf food." <<tearful>> you leave the camp. You walk until their laughter fades behind you.

	<<set $leftarm to "bound">><<set $rightarm to "bound">>
	<<clotheson>>
	<<endcombat>>
<<else>>
	The <<person1>><<person>> stumbles backwards and steps in the fire. <<tearful>> you push past <<him>> and flee into the forest.

	<<clotheson>>
	<<endcombat>>
<</if>>

<<link [[Next|Forest]]>><<set $forest to 1>><</link>>

:: Wolf Bear Distract
<<location "forest">><<effects>>

<<skulduggerycheck>>
<<if $skulduggerysuccess is 1>>
	You sneak up to the cave. You think you hear the <<beasttype>> snore. You sneak behind <<bhim>>. The rest of the pack inches closer. One of them snaps a twig, and the <<beasttypes>> eyes shoot open. You throw a rock at <<bhim>>, and <<bhe>> turns to face you. <<bHe>> rears up and roars, unaware of the <<wolf_cave_plural>> right behind <<bhim>>. They attack <<bhim>> from behind, biting at <<bhis>> limbs and clawing at <<bhis>> back.

	<<if $skulduggery lte ($skulduggerydifficulty + 100)>>
		<<skulduggeryskilluse>>
	<<else>>
		That was too easy. You didn't learn anything.

	<</if>>

	Groggy and surrounded, the <<beasttype>> stumbles away from the cave and leaves the deer carcass unguarded. <<if $monster is 1>>"Thieving wolves... take the deer if you want it so badly!"<</if>> The Black Wolf keeps the choice parts for itself. You find some berries growing nearby which serve you better. You sit by the deer.
	<<stress -12>><<lstress>>

	<<endevent>>
	<<npc "Black Wolf">>
	<<if $monster is 1>>
		The Black Wolf calls you over. "Bear no match for pack strength. <<pPackbrother>> did well."
	<</if>>

	The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

	<<endevent>>
	<<wolfpackhuntoptions>>
<<else>>
	You sneak up to the cave. You think you hear the <<beasttype>> snore. You're right beside it when it opens <<bhis>> eyes and looks straight at you! The <<wolf_cave_plural>> flee into the night and the <<beasttype>> rears over you.

	<<link [[Next|Wolf Bear Rape]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Wolf Bear Attack
<<location "forest">><<effects>>
The pack creeps up to the cave. The <<beasttypes>> eyes open, and the pack lunges at it.

<<if $wolfpackharmony + $wolfpackferocity + 20 gte $rng>>

	The <<beasttype>> tries to stand, but it's too late. Several sets of jaws clamp down on it's body. It roars in pain and swipes at the attackers, but they jump back to safety.

	Groggy and hurt, the <<beasttype>> stumbles away from the cave and leaves the deer carcass unguarded. <<if $monster is 1>>"Thieving wolves... take the deer if you want it so badly!<</if>> The Black Wolf keeps the choice parts for itself. You find some berries growing nearby which serve you better.
	<<stress -12>><<lstress>>

	<<endevent>>
	<<npc "Black Wolf">>
	<<if $monster is 1>>
		The Black Wolf calls you over. "Bear no match for pack strength. <<pPackbrother>> did well."
	<</if>>

	The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

	<<endevent>>
	<<wolfpackhuntoptions>>

<<else>>
	The Black Wolf lunges, but the <<beasttype>> is too quick. <<bHe>> swipes the Black Wolf to the side, and the other <<wolf_cave_plural>> turn and flee. The Black Wolf follows, unhurt save for <<nnpc_his "Black Wolf">> pride.

	Higher harmony and ferocity increases the chance of a successful hunt.

	You run with the pack into the forest. There must be easier prey.
	<<gathletics>><<athletics 6>><<physique 6>>

	<<endevent>>

	<<set $bus to "wolfcaveclearing">>
	<<wolfhuntevents>>
<</if>>

:: Wolf Bear Rape
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<set $enemytrust -= 40>><<set $enemyanger += 40>><<set $enemyhealthmax to 400>><<set $enemyhealth to 400>><<set $enemyarousalmax to 1000>>
<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Bear Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Bear Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Bear Rape]]>><</link>><<nexttext>>
<</if>>

:: Wolf Bear Rape Finish

<<location "forest">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>
	Satisfied, the <<beasttype>> returns to sleep.

	<<tearful>> you stagger from the cave.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Forest]]>><<set $forest to 60>><</link>>

<<elseif $enemyhealth lte 0>>
	You scare the mighty <<beasttype>>. <<bHe>> flees deeper into <<bhis>> abode. It's a shame the pack ran, as there's nothing guarding the carcass.

	<<tearful>> you stagger from the cave.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Forest]]>><<set $forest to 60>><</link>>

<</if>>

:: Wolf Carrion Stand

<<location "forest">><<effects>>
You plant your feet and stand your ground.
<<if $physiqueSuccess>>
	The <<beasttype>> veers away from you, and runs into the forest.

	The Black Wolf keeps the choice parts for itself. You find some berries growing nearby which serve you better. You sit by the deer.
	<<endevent>><<npc "Black Wolf">>
	<<if $monster is 1>>
		<<bHe>> sits next to you and places a hand on your head. "Good hunt. Always stand ground, <<ppackbrother>>."
	<</if>>
	<<stress -12>><<lstress>>

	The pack lazes around, eating at their leisure. A small dispute breaks out and the Black Wolf leaves <<bhis>> place by the deer to quell it.

	<<endevent>>
	<<wolfpackhuntoptions>>
<<else>>
	The <<beasttype>> doesn't stop. <<bHe>> knocks you aside and runs amok among the pack, who run for the safety of the forest. Before you can stagger to your feet the <<beasttype>> is on top of you.

	<<link [[Next|Wolf Carrion Rape]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Wolf Carrion Run

<<location "forest">><<effects>>
You run away from the <<beasttype>>. <<bHe>> runs amok among the pack, who panic and run for the safety of the trees.

You run with the pack into the forest. There must be easier prey.
<<gathletics>><<athletics 6>><<physique 6>>

<<endevent>>
<<set $bus to "wolfcaveclearing">>
<<wolfhuntevents>>

:: Wolf Carrion Rape

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<set $NPCList[0].stance to "top">>
<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Carrion Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Carrion Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Carrion Rape]]>><</link>><<nexttext>>
<</if>>

:: Wolf Carrion Rape Finish

<<location "forest">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>
	Satisfied, the <<beasttype>> climbs the hill and continues to eat.

	<<tearful>> you walk into the trees.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Forest]]>><<set $forest to 60>><</link>>

<<elseif $enemyhealth lte 0>>
	You scare the <<beasttype>> away from you. <<bHe>> squeals and flees. It's a shame the pack ran as there's nothing guarding the carcass.

	<<tearful>> you walk into the trees.

	<<clotheson>>
	<<endcombat>>
	<<link [[Next|Forest]]>><<set $forest to 60>><</link>>

<</if>>

:: Wolf Rival Challenge
<<effects>>
Your pack has no chance of winning this fight. You walk towards the larger <<beasttype>>, wanting to settle things one on one. Your opponent closes in and lunges at you without a second thought once you come into range.

<<link [[Next|Wolf Rival Fight]]>><<set $fightstart to 1>><</link>>

:: Wolf Rival Fight

<<if $fightstart is 1>>
	<<set $fightstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>
	<<set $enemyanger += 200>>
	<<set $enemyhealth to 300>><<set $enemyhealthmax to 300>>
<</if>>
<<set $enemyanger += 10>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Rival Fight Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Rival Fight Finish]]>><</link>><<nexttext>>
<<elseif $pain gte 100 and $willpowerpain is 0>>
	<<link [[Next|Wolf Rival Fight Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Rival Fight]]>><</link>><<nexttext>>
<</if>>

:: Wolf Rival Fight Finish
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<set _victory to 1>>
	<<beastejaculation>>
	The <<beasttype>>'s eyes unfocus, and <<bhe>> absently wanders off. The rival pack seems confused, but with their leader leaving, they reluctantly pull away from you and your pack. <<tearful>> you stand up.
<<elseif $enemyhealth lte 0>>
	<<set _victory to 1>>
	<<tearful>> you stand triumphant over your defeated foe. The <<beasttype>> scurries away from you and into the safety of its pack. They quickly begin taking their leave, leaving your pack to revel in its rightful quarry.
<<else>>
	<<set _victory to 0>>
	You can't fight any longer, and collapse to the ground. The <<beasttype>> holds your neck<<if $monster isnot 1>> with <<bhis>> teeth<</if>>, but lets go of you. <<trauma 6>><<gtrauma>>

	<<if $monster is 1>>
		"Weak alpha," <<bhe>> scoffs. "Pack must be ashamed. Scurry home with tail between legs, runt."

	<</if>>
	The rival pack drags the carcass away, leaving you to face the disappointed looks of your brethren. <<tearful>> you stand up, avoiding their eyes. <<lharmony>><<lferocity>>
<</if>>

<<endcombat>><<clearNPC rival_wolf>><<npc "Black Wolf">>
<<clotheson>>

<<if _victory is 1>>
	The Black Wolf howls, and you and the pack join in. The forest echoes with the song of your victory. <<stress -12>><<trauma -6>><<llstress>><<ltrauma>><<gharmony>><<gferocity>>

	<<if $wolfpackharmony gte $wolfpackferocity>>
		The Black Wolf nudges your side.
		<<if $monster is 1>>
			"Good leader act strong," <<bhe>> says. "Great leader proves strength. Pack is lucky to have <<ppackbrother>>."
		<<else>>
			<<bHe>> licks your hand.
		<</if>>
	<<else>>
		The Black Wolf lets out a feral bark in the direction the other pack left.
		<<if $monster is 1>>
			"Should finish fight," <<bhe>> growls. "Never worry about rivals again. Strong leader shows no mercy!"
		<</if>>
	<</if>>
<<else>>
	<<if $wolfpackharmony gte $wolfpackferocity>>
		The Black Wolf nuzzles you tenderly.
		<<if $monster is 1>>
			"Leader fought bravely," <<bhe>> says. "But pack respect strength. Leader must be strong if want pack to follow."
		<<else>>
			<<bHe>> doesn't scorn you for your loss, at least.
		<</if>>
	<<else>>
		The Black Wolf steps in front of you, and gives you a low growl.
		<<if $monster is 1>>
			"If pack must rely on weak leader to hunt, pack will starve!" <<he>> snarls. "Alpha win next time, or alpha lose pack!"
		<</if>>
	<</if>>
<</if>>

<<endevent>>
<<wolfpackhuntoptions>>

:: Wolf Rival Offer
<<effects>>

You begin to walk towards the rival pack. The alpha <<beasttype>> growls as you approach. You drop to your hands and knees and adopt a mating posture in front of the <<beastsplural>>.

<<if $monster is 1>>
	The <<beasttype>> marches up to you, pushing your head down onto the ground and holding you tightly. "Take food," <<bhe>> says to the Black Wolf. "We found tastier prey..." The rest of the <<beasttype>>'s pack draws closer, allowing your own party to take back its original hunt.
<<else>>
	Their leader approaches to sniff you, before holding your hair in its teeth and mounting you from behind. The rest of the pack draws closer, leaving their previous quarry unattended and free for your friends to take.
<</if>>

<<link [[Next|Wolf Rival Molestation]]>><<beastNEWinit 3 wolf>><<set $molestationstart to 1>><<set $phase to 1>><</link>>

:: Wolf Rival Molestation

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<beastTrainGenerate>>
<</if>>
<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Rival Molestation Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Rival Molestation Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Rival Molestation]]>><</link>><<nexttext>>
<</if>>

:: Wolf Rival Molestation Finish
<<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>
	<<if $combatTrain.length gt 0>>
		Satisfied, the <<beasttype>> leaves you be. Another takes <<bhis>> place.
		<<combatTrainAdvance>>
		<<wolfpacktrust>>

		[[Next|Wolf Rival Molestation]]
	<<else>>
		Satisfied, the <<beasttype>> leaves you be.
		<<combatTrainAdvance>>
		<<wolfpacktrust>>

		[[Next|Wolf Rival Molestation End]]
	<</if>>
<<elseif $enemyhealth lte 0>>
	<<beastwound>>
	<<if $combatTrain.length gt 0>>
		The <<beasttype>> recoils in pain and fear, but another takes <<bhis>> place.
		<<combatTrainAdvance>>

		[[Next|Wolf Rival Molestation]]
	<<else>>
		The <<beasttype>> recoils in pain and fear.
		<<combatTrainAdvance>>

		[[Next|Wolf Rival Molestation End]]
	<</if>>
<</if>>

:: Wolf Rival Molestation End
<<effects>>

<<if $enemyejaculated is 0>>
	<<if $phase is 1>>
		Despite their tremendous advantage in numbers, you manage to fight off the ravenous pack, leaving them to run off beyond the bushes with their tails between their legs.
	<<else>>
		Feeling you're more trouble than you're worth, the <<beasttype>> retreats.
	<</if>>
<<else>>
	Satisfied, they leave you on the ground to recover, before darting away and disappearing into the night.
<</if>>
<<tearful>> you stand up.

<<endcombat>><<clotheson>><<clearNPC rival_wolf>>

You climb to your feet and take a couple of minutes to recuperate. Luckily, you manage to spot a trail of paw prints left by your pack, which you manage to successfully follow back to the safety of your cave.

<<link [[Next|Wolf Cave Clearing]]>><</link>>

:: Wolf Rival Flee
<<effects>>

<<endevent>><<beastNEWinit 1 wolf>>
Not wanting to take part in the ensuing fight, you pay close attention to the beasts, looking for your chance to run away. Once the fighting breaks out, you turn around and break into a run. A <<beasttype>> takes notice of your attempted retreat and begins to chase after you.

<<if $athleticsSuccess>>
	<<clearNPC rival_wolf>>
	You run as fast as your legs will allow, and the <<beasttype>> soon loses sight of you. Having thrown your pursuer off your trail, you take a few minutes to catch your breath.

	<<link [[Next|Forest]]>><<endevent>><<set $forest to 60>><</link>>
<<else>>
	You run as fast as your legs will allow, but you're overtaken by the <<beasttype>>. <<bHe>> tackles you down onto the floor.

	<<if $monster is 1>>
		"Coward try to run?" <<bHe>> growls. "Will teach lesson!"

		<<link [[Next|Wolf Rival Molestation]]>><<set $molestationstart to 1>><</link>>
	<</if>>
<</if>>

:: Wolf Rival Retreat
<<effects>>

You measure your options and come to realise that this fight would be best avoided. You look at the rest of your <<wolf_cave_plural>> and wave at them to leave.

A <<beasttype>> from the opposing pack approaches to attack but is stopped by its leader.
<<if $monster is 1>>
	"Let cowards go," <<bhe>> says dismissively. "Not worth fighting. Cut losses."
<</if>>

<<endevent>><<clearNPC rival_wolf>>

The rival pack drags the carcass away, leaving the <<wolf_cave_plural>> of your own pack to leave empty-handed. They look at you with contempt as they go along.

<<npc "Black Wolf">>
The Black Wolf stops by your side, looking at you with sadness.
<<if $monster is 1>>
	"Leader used to be strong and feral," <<bhe>> says. "Pack won't follow weak leader."
<</if>>

<<endevent>>
<<wolfpackhuntoptions>>

repo_name: Area/degrees

license: mit


code:
:: Forest Wolf Cave Rape

<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

	<<if $phase is 1>>
		<<beastTrainGenerate>>
		<<set $enemyanger += 30>>
	<<else>>
		<<beastTrainGenerate>>
	<</if>>
<</if>>
<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Forest Wolf Cave Rape Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Forest Wolf Cave Rape Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Forest Wolf Cave Rape]]>><</link>><<nexttext>>
<</if>>

:: Forest Wolf Cave Rape Finish

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>
	<<if $combatTrain.length gt 0>>
		Satisfied, the <<beasttype>> leaves you be. Another takes its place.
		<<combatTrainAdvance>>
		<<wolfpacktrust>><<gstockholm>>

		[[Next|Forest Wolf Cave Rape]]
	<<else>>
		Satisfied, the beast leaves you be.
		<<combatTrainAdvance>>
		<<wolfpacktrust>><<gstockholm>>

		[[Next|Forest Wolf Cave Rape End]]
	<</if>>
<<elseif $enemyhealth lte 0>>
	<<beastwound>>
	<<if $combatTrain.length gt 0>>
		The <<beasttype>> recoils in pain and fear, but another takes its place.
		<<combatTrainAdvance>>

		[[Next|Forest Wolf Cave Rape]]
	<<else>>
		The beast recoils in pain and fear.
		<<combatTrainAdvance>>

		[[Next|Forest Wolf Cave Rape End]]
	<</if>>
<</if>>

:: Forest Wolf Cave Rape End

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

<<if $enemywounded gte 2 and $enemyejaculated is 0>>
	In a display of power, you defeat the pack. <<tearful>> you escape from the cave.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Forest]]>><<set $stress -= 1000>><<set $eventskip to 1>><<set $eventskip to 1>><</link>>

<<elseif $enemywounded is 0 and $enemyejaculated gte 2>>
	Finished with you, the <<beastsplural>> leave you be. However, they rest between you and the cave entrance, and could easily block your escape. <<tearful>> you settle down.

	<<if $phase is 1>>
	The other <<wolf_cave_plural>> soon return from their hunt.
	<</if>>

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Forest Wolf Cave]]>><<set $eventskip to 1>><</link>>

<<elseif $enemywounded gte 1 and $enemyejaculated gte 1>>
	Finished with you, the <<beasttypes>> leave you be. However, they rest between you and the cave entrance, and could easily block your escape. <<tearful>> you settle down.

	<<if $phase is 1>>
	The other <<wolf_cave_plural>> soon return from their hunt.
	<</if>>

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Forest Wolf Cave]]>><<set $eventskip to 1>><</link>>
<</if>>

:: Forest Wolf Cave
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

<<if $eventskip is 0>>
	<<eventwolfcave>>
<<else>>
	The <<wolf_cave_plural>> are blocking your way out of the cave. A draft blows from the back.

	<<link [[Rest (2:00)|Forest Wolf Cave Wait]]>><<set $tiredness -= 480>><<pass 2 hours>><</link>>

	<<link [[Try to escape|Forest Wolf Cave Escape]]>><</link>>

	<<if $wolfcavedig gte 13>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>>

	<<elseif $wolfcavedig gte 12 and $physiquesize lte 12000>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>><<small_text>>

	<<elseif $wolfcavedig gte 11 and $physiquesize lte 10000>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>><<small_text>>

	<<elseif $wolfcavedig gte 10 and $physiquesize lte 6000>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>><<small_text>>

	<<elseif $wolfcavedig gte 1>>
		<<link [[Dig at the back of the cave (1:00)|Forest Wolf Cave Dig]]>><<pass 1 hour>><<set $wolfcavedig += 1>><</link>>

		<<else>>
	<<link [[Examine the back of the cave|Forest Wolf Cave Examine]]>><<set $wolfcavedig to 1>><</link>>

	<</if>>
<</if>>
<<set $eventskip to 0>>

:: Forest Wolf Cave Wait
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

You huddle at the back of the cave, and the pack pays you little heed for a time.

<<link [[Next|Forest Wolf Cave]]>><</link>>

:: Forest Wolf Cave Escape
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

<<if $wolfpacktrust gte 12>>
	The pack looks at you as you try to leave, but make no move to stop you. It seems they trust you enough to let you go.
	<<lstress>>

	<<link [[Next|Forest]]>><<set $stress -= 1000>><<set $eventskip to 1>><<set $forest to 80>><<set $eventskip to 1>><</link>>

<<elseif $wolfpackfear gte 12>>
	The pack growls at you as you try to leave, but make no move to stop you. It seems they fear you too much to try and stop you.
	<<lstress>>

	<<link [[Next|Forest]]>><<set $stress -= 1000>><<set $eventskip to 1>><<set $forest to 80>><<set $eventskip to 1>><</link>>

<<else>>
	The pack immediately stirs as you try to leave, and they block your path. The pack stares at you, growling a warning.
	<<stress 6>><<gstress>>

	<<link [[Try to escape anyway|Forest Wolf Cave Rape]]>><<beastNEWinit 6 wolf>><<set $molestationstart to 1>><</link>>

	<<link [[Back down|Forest Wolf Cave]]>><</link>>

<</if>>

:: Forest Wolf Cave Pair
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

The pack immediately stirs as you try to leave, and they block your path. The pair stare at you, growling a warning.
<<stress 3>><<gstress>>

<<link [[Try to escape anyway|Forest Wolf Cave Rape]]>><<beastNEWinit 2 wolf>><<set $molestationstart to 1>><<set $phase to 1>><</link>>

<<link [[Back down (0:30)|Forest Wolf Cave Hunt]]>><<pass 30>><</link>>

:: Forest Wolf Cave Hunt
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

You decide not to risk it. You wait at the back of the cave. The pack soon returns from their hunt. <<wolfpacktrust>>

<<link [[Next|Forest Wolf Cave]]>><<set $eventskip to 1>><</link>>

:: Forest Wolf Cave Molestation
<<if $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>

<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Forest Wolf Cave Molestation Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Forest Wolf Cave Molestation Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Forest Wolf Cave Molestation]]>><</link>><<nexttext>>
<</if>>

:: Forest Wolf Cave Molestation Finish
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>

	The <<beasttype>> grunts in satisfaction, and heads back to the rest of the pack.
	<<wolfpacktrust>>

	<<tearful>> you settle down.
	<<gstockholm>>

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Forest Wolf Cave]]>><<set $eventskip to 1>><</link>>

<<elseif $enemyhealth lte 0>>
	The <<beasttype>> whines in pain and returns to the rest of the pack.
	<<wolfpackfear>>

	<<tearful>> you settle down.

	<<clotheson>>
	<<endcombat>>

	<<link [[Next|Forest Wolf Cave]]>><<set $eventskip to 1>><</link>>

<</if>>

:: Forest Wolf Cave Dig
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

<<if $wolfcavedig gte 13>>
	You move the rocks out of the way, until the remainder collapse and reveal a hole in the ground. You hear rushing water.
<<elseif $wolfcavedig gte 12 and $physiquesize lte 12000>>
	You move the rocks out of the way, until the remainder collapse and reveal a hole in the ground. You hear rushing water.
<<elseif $wolfcavedig gte 11 and $physiquesize lte 10000>>
	You move the rocks out of the way, until the remainder collapse and reveal a hole in the ground. You hear rushing water.
<<elseif $wolfcavedig gte 10 and $physiquesize lte 6000>>
	You move the rocks out of the way, until the remainder collapse and reveal a hole in the ground. You hear rushing water.
<<elseif $wolfcavedig gte 9>>
	You think you hear rushing water as you move the rocks out of the way. Not far to go now.
<<elseif $wolfcavedig gte 6>>
	You move some of the rocks out of the way. The draft becomes stronger.
<<elseif $wolfcavedig gte 4>>
	You move some of the rocks out of the way. You think you feel the draft become stronger.
<<else>>
	You move some of the rocks in the way, but there's still much to do.
<</if>>

<<if $wolfcavedig gte 13>>
	<<link [[Go down|Forest Wolf Cave Hole]]>><</link>>

	<<if $syndromewolves gte 1>>
		<<link [[Leave it for now|Wolf Cave]]>><</link>>

	<<else>>
		<<link [[Leave it for now|Forest Wolf Cave]]>><</link>>

	<</if>>
<<elseif $wolfcavedig gte 12 and $physiquesize lte 12000>>
	<<link [[Go down|Forest Wolf Cave Hole]]>><</link>><<small_text>>

	<<if $syndromewolves gte 1>>
		<<link [[Leave it for now|Wolf Cave]]>><</link>>

	<<else>>
		<<link [[Leave it for now|Forest Wolf Cave]]>><</link>>

	<</if>>
<<elseif $wolfcavedig gte 11 and $physiquesize lte 10000>>
	<<link [[Go down|Forest Wolf Cave Hole]]>><</link>><<small_text>>

	<<if $syndromewolves gte 1>>
		<<link [[Leave it for now|Wolf Cave]]>><</link>>

	<<else>>
		<<link [[Leave it for now|Forest Wolf Cave]]>><</link>>

	<</if>>
<<elseif $wolfcavedig gte 10 and $physiquesize lte 6000>>
	<<link [[Go down|Forest Wolf Cave Hole]]>><</link>><<small_text>>

	<<if $syndromewolves gte 1>>
		<<link [[Leave it for now|Wolf Cave]]>><</link>>

	<<else>>
		<<link [[Leave it for now|Forest Wolf Cave]]>><</link>>

	<</if>>
<<elseif $syndromewolves gte 1>>
	<<link [[Next|Wolf Cave]]>><</link>>

<<else>>
	<<link [[Next|Forest Wolf Cave]]>><</link>>

<</if>>

:: Forest Wolf Cave Examine
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

The feel around the darkness at the back of the cave, looking for the source of the draft. The air feels like its coming from behind a pile of loose rocks.

<<if $syndromewolves gte 1>>
	<<link [[Next|Wolf Cave]]>><</link>>

<<else>>
	<<link [[Next|Forest Wolf Cave]]>><<set $eventskip to 1>><</link>>

<</if>>

:: Forest Wolf Cave Hole
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

You peer down the hole at the back of the cave, but can't make anything out. You hear rushing water. You don't think you'll be able to come back the way you came.

<<link [[Descend|Wolf Cave Descent]]>><</link>>

<<if $syndromewolves gte 1>>
	<<link [[Leave|Wolf Cave]]>><</link>>

<<else>>
	<<link [[Leave|Forest Wolf Cave]]>><</link>>

<</if>>

:: Wolf Cave Hand
<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>

	<<blackwolfhand>>
	<<deviancy1>>
<</if>>

<<effects>>
<<effectsman>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>

<<if $finish is 1>>
	<<link [[Next|Wolf Cave Hand Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Hand Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Hand Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Hand]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Hand Refuse

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
You shuffle away from the Black Wolf, preparing for another assault. But none comes. <<bHe>> turns and walks away. <<if $monster is 1>>"No matter. You will learn.<</if>>

<<set $syndromewolves to 1>>
<<set $wolfevent to 0>>
<<set $wolfstate to "cave">>
<<set $wolfpackferocity to 10>>
<<set $wolfpackharmony to 10>>
<<if $bestialitydisable is "f">>
	It's not their fault. They're just cute animals. You've gained the "Stockholm Syndrome: Wolves" trait.
<<else>>
	It's not their fault. They're just cute monsters. You've gained the "Stockholm Syndrome: Wolf People" trait.
<</if>>

<<npc "Black Wolf">>/*<<beastNNPCinit>>*/
<<if $loveInterest.primary is "None" and $deviancy gte 35>>
	<<set $loveInterest.primary to "Black Wolf">>
	The Black Wolf is now your love interest! <<bHe>> seems happy to have found a mate.
<<elseif $deviancy gte 35>>
	The Black Wolf can now be claimed as your love interest! <<bHe>> seems happy to have found a mate.

	You can change your love interest in the "Attitudes" menu.
<<else>>
	You aren't sure if a <<beasttype>> would make a good love interest...
<</if>>

<<link [[Next|Wolf Cave]]>><<endevent>><</link>>

:: Wolf Cave Hand Finish

<<set $outside to 1>><<set $location to "wolf_cave">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>>
	<<tearful>> you watch the Black Wolf yawn and lie down.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	<<tearful>> you watch the Black Wolf yawn and lie down.

	<<clotheson>>
	<<endcombat>>
<<else>>
	<<tearful>> you watch the Black Wolf yawn and lie down.

	<<clotheson>>
	<<endcombat>>
<</if>>
<<if $monster is 1>>
	"Sleepy. Did well... <<ppackbrother>>."
<</if>>
<<set $syndromewolves to 1>>
<<set $wolfevent to 0>>
<<set $wolfstate to "cave">>
<<set $wolfpackferocity to 10>>
<<set $wolfpackharmony to 10>>
<<if $bestialitydisable is "f">>
	It's not their fault. They're just cute animals. You've gained the "Stockholm Syndrome: Wolves" trait.
<<else>>
	It's not their fault. They're just cute monsters. You've gained the "Stockholm Syndrome: Wolf People" trait.
<</if>>

<<npc "Black Wolf">>/*<<beastNNPCinit>>*/
<<if $loveInterest.primary is "None" and $deviancy gte 35>>
	<<set $loveInterest.primary to "Black Wolf">>
	The Black Wolf is now your love interest! <<bHe>> seems happy to have found a mate.
<<elseif $deviancy gte 35>>
	The Black Wolf can now be claimed as your love interest! <<bHe>> seems happy to have found a mate.

	You can change your love interest in the "Attitudes" menu.
<<else>>
	You aren't sure if a <<beasttype>> would make a good love interest...
<</if>>

<<link [[Next|Wolf Cave]]>><<endevent>><</link>>


code:
:: Wolf Cave
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>><<getTarget true>>

<<set $wolfpackharmony = Math.clamp($wolfpackharmony, 0, 20)>>
<<set $wolfpackferocity = Math.clamp($wolfpackferocity, 0, 20)>><<set $bus to "wolfcave">>
You are in the wolf cave. The ceiling hangs low. There's a breeze blowing from the back.
<<if $exposed gte 1>>
	The <<wolf_cave_plural>> don't care, but being exposed is embarrassing regardless.
<</if>>
<<storeon "wolfcave" "check">>
<<if _store_check is 1>>
	Your clothes are tucked away behind a rock.
<</if>>
<<if $wolfstate is "hunt">>
	Most of the pack is out hunting.
<<else>>
	<<if $weather is "rain">>
		The pack shelters from the rain.
	<<elseif $weather is "snow">>
		The pack shelters from the snow.
	<<else>>
		The pack rests.
	<</if>>
	<<wolfcavestate>>
<</if>>

<<if $wolfevent gte 1 and !$possessed>>
	<<set $wolfevent to 0>>
	<<wolfcaveselect>>
<<else>>
	<<if !$possessed>>
		<<storeactions "wolfcave">>
	<<else>>
		<<if $leftarm is "bound" or $rightarm is "bound" or $feetuse is "bound">>
			You stare down at your bindings. You pull, and they fall apart, unable to hold against you.

			<<unbind>>
		<</if>>
	<</if>>
	<<if $wolfcavedig gte 13>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>>
	<<elseif $wolfcavedig gte 12 and $physiquesize lte 12000>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>><<small_text>>
	<<elseif $wolfcavedig gte 11 and $physiquesize lte 10000>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>><<small_text>>
	<<elseif $wolfcavedig gte 10 and $physiquesize lte 6000>>
		<<link [[Go down the hole|Forest Wolf Cave Hole]]>><</link>><<small_text>>
	<<elseif $wolfcavedig gte 1>>
		<<link [[Dig at the back of the cave (1:00)|Forest Wolf Cave Dig]]>><<pass 1 hour>><<set $wolfcavedig += 1>><</link>>
	<<else>>
		<<link [[Examine the back of the cave|Forest Wolf Cave Examine]]>><<set $wolfcavedig to 1>><</link>>
	<</if>>

	<<if $leftarm is "bound" or $rightarm is "bound" or $feetuse is "bound">>
		<<link [[Cut your binds|Wolf Cave Unbind]]>><</link>>

	<</if>>

	<<if $bestialitydisable is "f" and $breastfeedingdisable is "f" and $lactating is 1 and $deviancy gte 35 and ($monsterchance lt 100 or ($monsterhallucinations is "t" and $hallucinations is 0))>>
		<<if $wolfcavebreast is 3>>
			The pups are full of milk.
		<<else>>
			<<link [[Breastfeed the pups (0:05)|Wolf Cave Breastfeed]]>><<set $phase to 0>><</link>><<deviant3>>
		<</if>>

	<</if>>
	<<getChildrenIds $location>>
	<<if _childrenIds.length gt 0>>
		<<link [[Check on your children|Childrens Home]]>><<set $exitPassage to $passage>><</link>>

	<</if>>
	<<link [[Sleep|Wolf Cave Bed]]>><</link>>

	<<if $nextPassageCheck is "Wolf Cave Clearing">>
		<<link [[Go outside|Wolf Cave Clearing]]>><</link>>
	<<else>>
		<<link [[Go outside|Wolf Cave Clearing]]>><</link>>
	<</if>>

	<<link [[Settings|Wolf Cave Settings]]>><</link>>

	<<attitudesControlCheck>>
	<<if $attitudesControl.showGoldLink is true>>
		<<link [[Attitudes]]>><<set $attitudesExitPassage to $passage>><</link>> !!
	<<else>>
		<<link [[Attitudes]]>><<set $attitudesExitPassage to $passage>><</link>>
	<</if>>

<</if>>
<<storecleanup>>

:: Wolf Cave Clearing
<<set $outside to 1>><<set $location to "wolf_cave">><<effects>><<getTarget true>>

<<set $wolfpackharmony = Math.clamp($wolfpackharmony, 0, 20)>>
<<set $wolfpackferocity = Math.clamp($wolfpackferocity, 0, 20)>><<set $bus to "wolfcaveclearing">>
You are in the clearing outside the wolf cave. A stream runs by.
<<if $exposed gte 1>>
	The <<wolf_cave_plural>> don't care, but being exposed is embarrassing regardless.
<</if>>

<<if $nextPassageCheck is "Wolf Cave Wash">>
	A <<beastNEWinit 1 wolf>><<beasttype>><<endevent>> walks up to you curiously. A few others keep their distance.
<<elseif $nextPassageCheck is "Forest">>
	The <<wolf_cave_plural>> bark at you, attempting to circle you.
<<elseif $wolfstate is "hunt">>
	Most of the pack is out hunting.
<<else>>
	<<if $weather is "rain">>
		The pack shelters from the rain.
	<<elseif $weather is "snow">>
		The pack shelters from the snow.
	<<else>>
		The pack rests.
	<</if>>
	<<wolfcavestate>>
<</if>>

<<if $foresthunt gte 1>>
	You're safe at the cave. Whatever was hunting you will have given up.

	<<set $foresthunt to 0>>
<</if>>
<<if $wolfpatrolsent gte 3>>
	<<unset $wolfpatrolsent>><<npc "Black Wolf">>
	The Black Wolf approaches you. There are no wounds on <<bhis>> body, and nothing in <<bhis>> jaws.
	<<if $monster is 1>>
		"It was nothing," <<bhe>> grunts out. "No intruder."
	<<else>>
		There must have been nothing, when you <<if $wolfpackleader is 1>>sent <<bhim>><<else>>watched <<bhim>> leave<</if>> to investigate.
	<</if>>
	<<bHe>> seems almost disappointed.
	<<endevent>>
<</if>>
<<if $wolfevent gte 1 and !$possessed>><<set $wolfevent to 0>>
	<<wolfcaveselect>>
<<else>>
	<<link [[Play (1:00)|Wolf Cave Play]]>><<stress -12>><<pass 1 hour>><</link>><<lstress>>

	<<if $nextPassageCheck is "Wolf Cave Wash">>
		<<link [[Water.|Wolf Cave Wash]]>><</link>>
	<<else>>
		<<link [[Wash in the stream (0:20)|Wolf Cave Wash]]>><<pass 20>><</link>>
	<</if>>

	<<if $worn.upper.exposed gte 2 and $worn.under_upper.exposed gte 1
	or $worn.upper.exposed gte 2 and $underupperwetstage gte 3
	or $upperwetstage gte 3 and $worn.under_upper.exposed gte 1
	or $upperwetstage gte 3 and $underupperwetstage gte 3>>
		<<link [[Make a top out of plants and twigs (0:20)|Wolf Cave Plant]]>><<set $phase to 1>><<pass 20>><</link>>

	<</if>>
	<<if $worn.lower.exposed gte 2 and $worn.under_lower.exposed gte 1
	or $worn.lower.exposed gte 2 and $underlowerwetstage gte 3
	or $lowerwetstage gte 3 and $worn.under_lower.exposed gte 1
	or $lowerwetstage gte 3 and $underlowerwetstage gte 3>>
		<<link [[Make a skirt out of plants and twigs (0:20)|Wolf Cave Plant]]>><<set $phase to 2>><<pass 20>><</link>>

	<</if>>

	The soil near the stream looks good, yet is almost free of wild plants.

	<<link [[Examine|Wolf Cave Plots]]>><</link>>

	<<pregnancyTest "Wolf Cave Clearing">>

	<<if $wolfstate is "cave" and $daystate isnot "night">>
		You see the Black Wolf resting by a rock, overlooking the cave and its surroundings.

		<<link [[Approach|Wolf Relax]]>><<npc "Black Wolf">><<set $phase to 1>><</link>>

	<<elseif $wolfstate is "cave" and $wolfcavepatrol is 1 and $wolfcavepatrolchance is 1 and $daystate is "night">>
		The Black Wolf rests away from the pack, occasionally surveying passing members before <<nnpc_his "Black Wolf">> attention returns to the treeline. <<nnpc_He "Black Wolf">> looks agitated.

		<<link [[Approach|Wolf Patrol Intro]]>><<npc "Black Wolf">><</link>>

	<</if>>
	<<if $wolfstate is "cave" and $daystate isnot "night" and !["rain","snow"].includes($weather)>>
		Some of the stronger <<wolf_cave_plural>> lay around the clearing, waiting for a hunt. They look bored.

		<<link [[Challenge the hunters (0:20)|Wolf Cave Spar]]>><</link>><<gtiredness>><<gphysique>><<lstress>>

	<</if>>
	<<link [[Go inside|Wolf Cave]]>><</link>>

	<<if $nextPassageCheck is "Forest">>
		<<foresticon>><<link [[Leave.|Forest]]>><<pass 10>><<set $eventskip to 1>><<set $forest to 60>><</link>>
	<<else>>
		<<foresticon>><<link [[Walk into the forest (0:10)|Forest]]>><<pass 10>><<set $eventskip to 1>><<set $forest to 60>><</link>>
	<</if>>

<</if>>

:: Wolf Cave Plots
<<effects>>

<<plot_effects>>

<<if $wolf_plot_intro is 1>><<unset $wolf_plot_intro>>
	<<plots_init wolf 3 earth 2 medium>>
<</if>>

<<display_plot wolf>>

<<link [[Leave|Wolf Cave Clearing]]>><</link>>

<<unset $event_trigger>>

:: Wolf Cave Returned

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
<<pass 30>>
<<npc "Black Wolf">>
The Black Wolf runs through the forest, all the way back to the cave. <<bHe>> dumps you at the back and gives a warning growl before turning away.
<<if $monster is 1>>
	"Stay. You belong to pack."
<</if>>

<<link [[Next|Wolf Cave]]>><<clotheson>><<endevent>><</link>>

:: Wolf Cave Unbind

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
You rub your binds against a sharp rock and they soon come loose.

<<unbind>>
<<link [[Next|Wolf Cave]]>><</link>>

:: Wolf Cave Bed

<<effects>>
<<if $wolfpackharmony gte 10>>
	<<beastNEWinit 1 wolf>>
	<<if $rng gte 51>>
		<<if $wolfstate is "hunt">>
			You find an empty spot to lie on and close your eyes. As you lay there, you feel warm and fuzzy little bodies moving all around you. It looks like the puppies saw you going to bed and felt safer staying with you as long as the adults of the pack are gone. One of them licks your face before resting <<bhis>> head inside your hair.

			You won't be cold tonight, and they won't be alone. <<lstress>><<ltrauma>><<stress -10>><<trauma -10>>
		<<else>>
			You find an empty spot to lie on and close your eyes. As you lay there, you feel a wall of fur moving all around you. It looks like the <<wolf_cave_plural>> saw you going to bed and got sleepy themselves. One of them nuzzles <<bhis>> head under your arm.

			You won't be cold tonight. <<lstress>><<ltrauma>><<stress -6>><<trauma -6>>
		<</if>>
		<<set $wolfbed to 1>>
	<<else>>
		You snuggle beside a <<beasttype>> for warmth and close your eyes.
	<</if>>
	<<endevent>>
<<else>>
	You find an empty spot to lie on and close your eyes.
<</if>>

<<if $sleeptrouble is 1 and $controlled is 0>>
	<<link [[Sleep for 10 hours|Wolf Cave Sleep]]>><<set $sleephour to 10>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 10>>)<<ltiredness>>

	<<link [[Sleep for 9 hours|Wolf Cave Sleep]]>><<set $sleephour to 9>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 9>>)<<ltiredness>>

<</if>>
<<link [[Sleep for 8 hours|Wolf Cave Sleep]]>><<set $sleephour to 8>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 8>>)<<ltiredness>>

<<link [[Sleep for 7 hours|Wolf Cave Sleep]]>><<set $sleephour to 7>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 7>>)<<ltiredness>>

<<link [[Sleep for 6 hours|Wolf Cave Sleep]]>><<set $sleephour to 6>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 6>>)<<ltiredness>>

<<link [[Sleep for 5 hours|Wolf Cave Sleep]]>><<set $sleephour to 5>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 5>>)<<ltiredness>>

<<link [[Sleep for 4 hours|Wolf Cave Sleep]]>><<set $sleephour to 4>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 4>>)<<ltiredness>>

<<link [[Sleep for 3 hours|Wolf Cave Sleep]]>><<set $sleephour to 3>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 3>>)<<ltiredness>>

<<link [[Sleep for 2 hours|Wolf Cave Sleep]]>><<set $sleephour to 2>><<set $saveDetails.auto.count++>><</link>> (<<timeAfterXHours 2>>)<<ltiredness>>

<<link [[Sleep for 1 hour|Wolf Cave Sleep]]>><<set $sleephour to 1>><<set $saveDetails.auto.count++>><</link>>  (<<timeAfterXHours 1>>)<<ltiredness>>

<<link [[Just sleep|Wolf Cave Sleep]]>><<set $sleephour to -1>><<set $saveDetails.auto.count++>><</link>> (??:??)<<ltiredness>>

<<link [[Climb out of bed|Wolf Cave]]>><<set $wolfbed to 0>><</link>>

:: Wolf Cave Settings
<<set $settingsExitPassage to "Wolf Cave">>
<<settings>>

:: Wolf Cave Descent

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
You sit on the edge and try to lower yourself down, but the rock gives way and you fall into dark water.

<<link [[Next|Underground Lake]]>><</link>>

:: Wolf Cave Sleep
<<if !_preventUpdate and !$autosavedisabled>>
	<<run Save.autosave.save(null, {"saveId":$saveId, "saveName":$saveName})>>
	<<run setSaveDetail("autosave",{"saveId":$saveId,"saveName":$saveName})>>
<</if>>
<<sleep>><<effects>>
<<if $wraith and $wraith.nightmare is 2 and ($moonstate is "evening" and $hour gte 21 or $moonstate is "morning" and $hour lt 6)>>
	<<set $schoolwake to 0>>
	<<sleepeffects>>
	You dream of a beautiful figure, cloaked in white, standing under the red moon. It has its arms spread out to you in a welcoming gesture. You can feel its gaze boring into your mind as you step closer.

	It's surrounded by trees, all bending inwards, and floating above a lake. Everything moves around you, and you find yourself hanging above a large ruin. You can't breathe.

	You slowly open your eyes, and sluggishly stand<<if $wolfbed is 1>>, extracting yourself from the <<wolf_cave_plural>> surrounding you<</if>>. Your ears are ringing.

	<<set $possessed to true>><<set $wraith.exit to "wolf_cave">><<set $controlSaved to $control>><<set $control to 0>>
	<<link [[Walk.|Wolf Cave]]>><</link>>

<<else>>
	<<wakingEffects $sleepHoursTotal>>
	<<if ["dryheaving","nausea"].includes(_wakingEffect)>>
		You slept soundly, but now feel a little rough. <<stress 5>><<gstress>>

	<<elseif $nightmares gte 1 and $controlled is 0>>
		You dream you are being hunted by something <<if $wraith and $wraith.state is "haunt" and $rng lte 25>>pale<<else>>dark<</if>> and terrible.
	<<else>>
		<<if $specialClothesEffects.bimboTotal gte random(100,1000) or $arousal gte ($arousalmax / 10) * 9>>
			Your sleep is plagued by dirty dreams.
			<<arousal `$specialClothesEffects.bimboTotal / 10 * $sleepHoursTotal`>>
			<<arousal `100 * $sleepHoursTotal`>>
			<<if $arousal gte $arousalmax>>
				They push you over the edge.
				<<orgasm>>
			<<else>>

			<</if>>
		<<else>>
			You sleep soundly.
		<</if>>
	<</if>>
	<<sleepeffects>>
	<<if $schoolwake is 1>>
		<<set $schoolwake to 0>>
		<<beastNEWinit 1 wolf>>
		You wake up to something mounting you.

		<<link [[Let it happen|Wolf Cave Sleep Sex]]>><<set $sexstart to 1>><</link>><<deviant1>>

		<<link [[Push away|Wolf Cave Sleep Push]]>><</link>>
	<<elseif $wolfbed is 1>>
		Your sleeping companions get up before you do and go on with the day. You don't feel them moving, and they do not wake you.

		<<link [[Get up|Wolf Cave]]>><</link>>
	<<else>>

		<<link [[Get up|Wolf Cave]]>><</link>>
	<</if>>
<</if>>
<<set $wolfbed to 0>>

:: Wolf Cave Sleep Sex

<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>
	You shift your body to make things easier for the horny <<beasttype>>.
	<<deviancy1>><<set $enemytrust -= 20>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<<elseif $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>
	<<set $enemytrust -= 40>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<</if>>
<<effects>>
<<effectsman>>
<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	The <<beastsplural>> are too busy thinking about themselves to help you.

<</if>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>
<<if $rescue is 1 and $alarm is 1>>
	<<link [[Next|Wolf Cave Sleep Sex Finish]]>><</link>><<nexttext>>
<<elseif $finish is 1>>
	<<link [[Next|Wolf Cave Sleep Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Sleep Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Sleep Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Sleep Sex]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Sleep Push

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
You shove the <<beasttype>> away from you.
<<lharmony>>

<<if $wolfpackferocity lte 19>>
	<<bHe>> leaves you in peace. <<endevent>>

	<<link [[Back to sleep|Wolf Cave Bed]]>><</link>>

	<<link [[Get up|Wolf Cave]]>><</link>>

<<else>>
	<<bHe>> growls and tries to force <<bhimself>> on you!

	<<link [[Next|Wolf Cave Sleep Sex]]>><<set $molestationstart to 1>><</link>>

<</if>>

:: Wolf Cave Sleep Sex Finish

<<set $outside to 1>><<set $location to "wolf_cave">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	The <<beasttype>> yawns and lies down.

	<<tearful>> you try to find a comfy position again.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	The <<beasttype>> limps away from you.

	<<tearful>> you try to find a comfy position again.

	<<clotheson>>
	<<endcombat>>
<<elseif $rescue is 1 and $alarm is 1>>
	<<set $rescued += 1>>
	The other <<beastsplural>> growl at the <<beasttype>> assaulting you. <<bHe>> growls back at first, but then backs down and leaves you alone.
	<<lharmony>>

	<<tearful>> you try to find a comfy position again.

	<<clotheson>>
	<<endcombat>>
<<else>>
	The <<beasttype>> yawns and lies down.

	<<tearful>> you try to find a comfy position again.

	<<clotheson>>
	<<endcombat>>
<</if>>
<<link [[Next|Wolf Cave Bed]]>><</link>>

:: Wolf Cave Play
<<beastNEWinit 1 wolf>>
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
<<if $rng gte 51>>
	You play fight with one of the younger <<beastsplural>>. <<bHe>> jumps and grabs your arm in <<bhis>> mouth, but doesn't bite down hard, until <<bhe>> manages to pull you to the ground. <<bHe>> sniffs your groin.

	<<link [[Let it continue|Wolf Cave Play Sex]]>><<set $sexstart to 1>><</link>><<deviant1>>

	<<link [[Push it away|Wolf Cave Clearing]]>><<endevent>><</link>>

<<else>>
	You play something similar to hide-and-seek with the younger <<beastsplural>>. They're hesitant to stray too far from the cave, but there are many hiding places nearby. Their sense of smell gives them an advantage and they're quick to find you every time, but it's fun.

	<<link [[Next|Wolf Cave Clearing]]>><<endevent>><</link>>

<</if>>

:: Wolf Cave Wash

<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>
You wash in the stream. The water is cold but clean.

<<wash>>
<<link [[Next|Wolf Cave Clearing]]>><</link>>

:: Wolf Cave Play Sex

<<if $sexstart is 1>>
	<<set $sexstart to 0>>
	<<consensual>>
	<<set $consensual to 1>>
	<<neutral 1>>
	<<beastCombatInit>>
	The <<beasttype>> becomes more bold.
	<<deviancy1>><<set $enemytrust -= 20>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<<elseif $molestationstart is 1>>
	<<set $molestationstart to 0>>
	<<controlloss>>
	<<violence 1>>
	<<neutral 1>>
	<<molested>>
	<<beastCombatInit>>
	<<set $enemytrust -= 40>>
	<<if $wolfpackharmony gte 1>>
		<<enable_rescue>>
	<</if>>
<</if>>
<<effects>>
<<effectsman>>
<<if $alarm is 1 and $rescue is 0>>
	<<set $alarm to 0>>
	The <<beastsplural>> are too busy thinking about themselves to help you.

<</if>>

<<beast $enemyno>>

<<stateman>>

<<actionsman>>
<<if $rescue is 1 and $alarm is 1>>
	<<link [[Next|Wolf Cave Play Sex Finish]]>><</link>><<nexttext>>
<<elseif $finish is 1>>
	<<link [[Next|Wolf Cave Play Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyarousal gte $enemyarousalmax>>
	<<link [[Next|Wolf Cave Play Sex Finish]]>><</link>><<nexttext>>
<<elseif $enemyhealth lte 0>>
	<<link [[Next|Wolf Cave Play Sex Finish]]>><</link>><<nexttext>>
<<else>>
	<<link [[Next|Wolf Cave Play Sex]]>><</link>><<nexttext>>
<</if>>

:: Wolf Cave Play Sex Finish

<<set $outside to 1>><<set $location to "wolf_cave">><<effects>>
<<if $enemyarousal gte $enemyarousalmax>>
	<<beastejaculation>><<wolfpacktrust>>

	The <<beasttype>> yawns and lies down.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<elseif $enemyhealth lte 0>>
	The <<beasttype>> limps away from you.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<elseif $rescue is 1 and $alarm is 1>>
	<<set $rescued += 1>>
	The other <<beastsplural>> growl at the wolf assaulting you. <<bhe>> growls back at first, but then backs down and leaves you alone.
	<<lharmony>>

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<<else>>
	The <<beasttype>> yawns and lies down.

	<<tearful>> you climb to your feet.

	<<clotheson>>
	<<endcombat>>
<</if>>
<<link [[Next|Wolf Cave Clearing]]>><</link>>

:: Wolf Cave Breastfeed
<<set $outside to 0>><<set $location to "wolf_cave">><<effects>>

<<if $phase is 1>>
	You enourage the less assertive wolves to suckle too.
<<else>>
	<<if $worn.upper.exposed lte 0 or $worn.under_upper.exposed lte 0>>
		<<upperstrip>><<underupperstrip>>You bare your <<breasts>> and encourage the wolf pups to suckle.
	<<else>>
		You encourage the wolf pups to suckle.
	<</if>>
<</if>>
<<pass 5>>
<<if $milk_amount gte 1>>
	<<if $wolfcavebreast is undefined>>
		<<set $wolfcavebreast to 1>>
	<<else>>
		<<set $wolfcavebreast += 1>>
	<</if>>

	The wolves sniff at your milk. One takes over each nipple, teasing more from you with clumsy licks. <<deviancy3>>

	<<if $wolfcavebreast is 3>>
		The last of the pups are satisfied. They curl up to nap.
		<<gharmony>>
	<<else>>
		Other wolves jostle for a turn.
	<</if>>

	<<transform wolf 1>>
	<<breastfeed>><<breastfeed>>
	<<if $wolfcavebreast isnot 3>>
		<<link [[Continue feeding (0:05)|Wolf Cave Breastfeed]]>><<set $phase to 1>><</link>><<deviant3>>

	<</if>>
	<<link [[Stop|Wolf Cave]]>><<clotheson>><<set $phase to 0>><</link>>

<<else>>

	No milk will leak from your nipples. You've run out. The wolves get bitey in frustration.
	<<gpain>><<pain 6>><<milkvolume 1>>

	<<link [[Next|Wolf Cave]]>><<clotheson>><<set $phase to 0>><</link>>

<</if>>