code:
<<if $activeSlave.preg > 30>>
	<<if $activeSlave.pregType == 100>>
		The only thing keeping $possessive from bursting are $possessive belly restraints,
	<<elseif $activeSlave.pregType >= 20>>
		$pronounCap is close to bursting,
 	<<elseif $activeSlave.pregType >= 10>>
		$pronounCap is dangerously pregnant,
	<<else>>
		$pronounCap is enormously pregnant,
	<</if>>
	<<if $activeSlave.pregType == 100>>
		<<if $activeSlave.amp == 1>>
		  with no arms and legs $pronoun is effectively a giant womb.
		<<else>>
		  and $possessive thinning arms and legs rest helpless atop $possessive supermassive belly.
		<</if>>
	<<elseif $activeSlave.physicalAge <= 3>>
		<<if $activeSlave.pregType >= 20>>
			and $pronoun is nearly spherical. $possessiveCap toddlerish form is utterly dwarfed by $possessive pregnancy, all $pronoun can do is lay on top of it. Despite being taut, $possessive belly visibly bulges and squirms from all the babies writhing within $object. $possessiveCap womb is so full you can see the babies forced up against $possessive uterus, even the slightest provocation could cause $possessive to burst.<<if $saleDescription == 0>> $pronounCap requires multiple slaves to move $possessive bulk when $pronoun must go somewhere.<</if>>
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive belly pins $possessive to the ground.  $possessiveCap toddlerish form is dwarfed by $possessive pregnancy, and try as $pronoun might $pronoun can not even drag the massive thing. $pronounCap is so pregnant you can barely see the babies within $possessive bulging $possessive stomach.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<else>>
			and $possessive toddlerish body is absolutely filled by $possessive womb. $pronounCap can barely move herself and resembles an over inflated blow-up doll.
		<</if>>
	<<elseif $activeSlave.physicalAge <= 12>>
		<<if $activeSlave.pregType >= 20>>
			and $pronoun is more belly than girl. $possessiveCap absolutely gigantic, overfilled womb keeps $possessive pinned to the ground. $possessiveCap belly visibly bulges and squirms from all the babies within $possessive. $pronounCap is so full you can see the babies forced up against the walls of $possessive uterus. $possessiveCap skin is so taut that even the slightest provocation could cause $possessive to burst.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<elseif $activeSlave.pregType >= 10>>
			and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can barely see the babies bulging out of $possessive stomach.
		<<else>>
			and $possessive massive, drum-taut belly dominates $possessive poor little frame.
		<</if>>
	<<elseif $activeSlave.weight > 190>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive massively fat belly is stretched considerably, so much so $possessive folds are pulled flat. $possessiveCap pregnancy is covered in a thick layer of fat, save for the grotesquely bulging upper portion where $possessive fat is thinnest. $possessiveCap womb is so full that every motion within it translates to $possessive soft body.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive massively fat belly is stretched considerably; $possessive folds are nearly pulled flat from the strain. $possessiveCap pregnancy is covered in a thick layer of fat, save for the bulging upper portion where $possessive fat is thinnest.
		<<else>>
			but $pronoun's so massively fat that it's not obvious. Only the firmness at its top gives away $possessive pregnancy.
		<</if>>
	<<elseif $activeSlave.height >= 185>>
		<<if $activeSlave.pregType >= 20>>
			but $possessive tall frame barely keeps $possessive grotesque, splitting belly off the ground. Despite being taut, $possessive belly visibly bulges and squirms from all the babies writhing within $object. $possessiveCap womb is so full you can see the babies forced up against $possessive uterus, even the slightest provocation could cause $object to burst.
		<<elseif $activeSlave.pregType >= 10>>
			but $possessive tall frame barely bears $possessive obscene, drum-taut belly. $pronounCap is so pregnant you can barely see the babies within $possessive bulging stomach.
		<<else>>
			but $possessive tall frame bears $possessive massive, drum-taut belly well.
		<</if>>
	<<elseif $activeSlave.height < 150>>
		<<if $activeSlave.pregType >= 20>>
			and $pronoun is more belly than girl. $possessiveCap absolutely gigantic, overfilled womb keeps $object pinned to the ground. $possessiveCap belly visibly bulges and squirms from all the babies within $object. $pronounCap is so full you can see the babies forced up against the walls of $possessive uterus. $possessiveCap skin is so taut that even the slightest provocation could cause $object to burst.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<elseif $activeSlave.pregType >= 10>>
			and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can barely see the babies bulging out of $possessive stomach.
		<<else>>
			and $possessive massive, drum-taut belly dominates $possessive poor little frame.
		<</if>>
	<<elseif $activeSlave.muscles > 30>>
		<<if $activeSlave.pregType >= 20>>
			and $pronoun can barely hold $possessive overfilled belly upright. $possessiveCap enormous brood greatly protrudes $possessive belly covering it in writhing bulges where they are forced up against $possessive uterus. While $possessive strong body spares $object from the fear of bursting, it does nothing to stop everyone from seeing how many children $pronoun's having.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive fit body allows $object to carry $possessive obscene belly without too much trouble. $possessiveCap large brood gently bulges $possessive belly.
		<<else>>
			and $possessive fit body bears $possessive massive, drum-taut belly well.
		<</if>>
	<<else>>
		<<if $activeSlave.pregType >= 20>>
			and $pronoun is more belly than girl. $possessiveCap gigantic, overfilled womb keeps $object pinned to the ground. $possessiveCap belly visibly bulges and squirms from all the babies within $object.  $pronounCap is so full you can see the babies forced up against the walls of $possessive womb through $possessive taut skin. $possessiveCap bulgy belly is at risk of rupturing.<<if $activeSlave.amp == 0>>  $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<elseif $activeSlave.pregType >= 10>>
			and $pronoun can barely function with $possessive enormous belly. $possessiveCap womb is so full you can see the babies gently bulging the walls of $possessive uterus.
		<<else>>
			and $possessive massive, drum-taut belly dominates $possessive frame.
		<</if>>
	<</if>>
<<elseif $activeSlave.preg > 20>>
	<<if $activeSlave.pregType >= 20>>
		$pronounCap is dangerously pregnant,
 	<<elseif $activeSlave.pregType >= 10>>
		$pronounCap is obscenely pregnant,
	<<else>>
		$pronounCap is heavily pregnant,
	<</if>>
	<<if $activeSlave.physicalAge <= 3>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive hugely distended belly is bigger than $pronoun is.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive bulging belly is as big as $pronoun is.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<else>>
			and $possessive swollen belly is nearly as big as $possessive toddlerish body.
		<</if>>
	<<elseif $activeSlave.physicalAge <= 12>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive hugely distended belly is nearly as big as $pronoun is.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive bulging belly looks absolutely huge on $possessive poor little frame.
		<<else>>
			and $possessive swollen belly dominates $possessive poor little frame.
		<</if>>
	<<elseif $activeSlave.weight > 130>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive big fat belly is absolutely enormous when coupled with $possessive filled womb.
		<<elseif $activeSlave.pregType >= 10>>
			but $pronoun's so fat that $pronoun appears to merely be carrying a giant gut. Only the firmness at its top gives away $possessive pregnancy.
		<<else>>
			but $pronoun's so fat that it's not obvious. Only the firmness at its top gives away $possessive pregnancy.
		<</if>>
	<<elseif $activeSlave.height >= 185>>
		<<if $activeSlave.pregType >= 20>>
			but $possessive tall frame keeps $possessive huge belly off the ground.
		<<elseif $activeSlave.pregType >= 10>>
			but $possessive tall frame lets $possessive keep $possessive posture despite $possessive large belly.
		<<else>>
			but $possessive tall frame bears $possessive swollen belly well.
		<</if>>
	<<elseif $activeSlave.height < 150>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive hugely distended belly is nearly as big as $pronoun is.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive bulging belly looks absolutely huge on $possessive poor little frame.
		<<else>>
			and $possessive swollen belly dominates $possessive poor little frame.
		<</if>>
	<<elseif $activeSlave.muscles > 30>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive fit body allows $object to carry $possessive huge belly with only the occasional accident.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive fit body carries $possessive bulging belly without much trouble.
		<<else>>
			and $possessive fit body bears $possessive swollen belly well.
		<</if>>
	<<else>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive hugely distended belly juts far out from $possessive front and widely from $possessive sides.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive large bulging belly draws all attention away from the rest of $possessive.
		<<else>>
			and $possessive swollen belly dominates $possessive frame.
		<</if>>
	<</if>>
<<elseif $activeSlave.preg > 9>>
	$pronounCap is visibly pregnant,
	<<if $activeSlave.physicalAge <= 3>>
		<<if $activeSlave.pregType >= 20>>
			$possessiveCap huge belly resembles an over-inflated beach ball compared to $possessive toddlerish frame. It bulges out from $possessive sides considerably.
		<<elseif $activeSlave.pregType >= 10>>
			and it looks like $pronoun is ready to birth triplets due to $possessive toddlerish body.
		<<else>>
			and $possessive swelling belly looks obscene on $possessive toddlerish body.
		<</if>>
	<<elseif $activeSlave.physicalAge <= 10>>
		<<if $activeSlave.pregType >= 20>>
			$possessiveCap huge belly resembles an over-inflated beach ball compared to $possessive tiny frame.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive swelling belly appears full term on $possessive tiny frame.
		<<else>>
			and $possessive swelling belly already looks huge on $possessive tiny frame.
		<</if>>
	<<elseif $activeSlave.weight > 95>>
		<<if $activeSlave.pregType >= 20>>
			$possessive fat belly considerably juts out with $possessive rapid growth.
		<<elseif $activeSlave.pregType >= 10>>
			but $pronoun's sufficiently overweight that $pronoun appears to merely be carrying a large gut.
		<<else>>
			but $pronoun's sufficiently overweight that it's not obvious.
		<</if>>
	<<elseif $activeSlave.height < 150>>
		<<if $activeSlave.pregType >= 20>>
			$possessiveCap huge belly resembles an over-inflated beach ball compared to $possessive tiny frame.
		<<elseif $activeSlave.pregType >= 10>>
			and $possessive swelling belly appears full term on $possessive tiny frame.
		<<else>>
			and $possessive swelling belly already looks huge on $possessive tiny frame.
		<</if>>
	<<elseif $activeSlave.weight < -10>>
		<<if $activeSlave.pregType >= 20>>
			$possessive enormous stomach juts far forward and lewdly extends far past $possessive sides.
		<<elseif $activeSlave.pregType >= 10>>
			$possessive bulging stomach fills $possessive thin frame obscenely.
		<<else>>
			$possessive thin form making $possessive swelling belly very obvious.
		<</if>>
	<<else>>
		<<if $activeSlave.pregType >= 20>>
			and $possessive obvious pregnancy appears full-term.
		<<elseif $activeSlave.pregType >= 10>>
			$possessive distended stomach makes $possessive look to be in $possessive last trimester.
		<<else>>
			the life growing within $possessive beginning to swell $possessive belly.
			<<if $activeSlave.bellySag > 0>>
				$possessiveCap new pregnancy reduces the amount of sag to $possessive overstretched middle.
			<</if>>
		<</if>>
	<</if>>

<<if ($activeSlave.preg == -2) && ($activeSlave.vagina < 0) && ($activeSlave.mpreg == 0)>>
<<elseif ($activeSlave.preg <= -2) && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>>
	$pronounCap is sterile.
<<elseif $activeSlave.preg == 0 && $activeSlave.vagina > -1>>
	<<if $activeSlave.pregType > 30>>
		$possessiveCap lower belly is noticeably bloated, $possessive breasts bigger and more sensitive, and $possessive pussy swollen and leaking fluids. $pronoun desperately needs a dick in $object and reminds you of a bitch in heat.
	<<elseif $activeSlave.pregType > 20>>
		$possessiveCap lower belly is noticeably bloated and $possessive pussy swollen and leaking fluids. $pronounCap is very ready to be seeded.
	<<elseif $activeSlave.pregType > 2>>
		$possessiveCap lower belly is slightly bloated and $possessive pussy swollen and leaking fluids. $pronounCap is ready to be seeded.
	<</if>>
<<elseif $activeSlave.preg > 30>>
  <<if $activeSlave.pregType >= 20>>
	$pronounCap is @@.red;on the brink of bursting!@@ $possessiveCap belly is painfully stretched, the slightest provocation could cause $object to rupture.
  <<elseif $activeSlave.pregType >= 10>>
  	$pronounCap is @@.pink;dangerously pregnant,@@ $possessive overburdened womb is filled with $activeSlave.pregType babies.
  <<elseif $activeSlave.pregType > 4>>
	$pronounCap is @@.pink;obscenely pregnant:@@ $pronoun's carrying quintuplets.
  <<elseif $activeSlave.pregType > 2>>
	$pronounCap is @@.pink;massively pregnant:@@ $pronoun's carrying
	<<if $activeSlave.pregType == 4>>
	  quadruplets.
	<<else>>
	  triplets.
	<</if>>
  <<else>>
	$pronounCap is @@.pink;hugely pregnant:@@
	<<if $activeSlave.pregType == 2>>
		$pronoun's carrying twins.
	<<else>>
	  $pronoun's almost ready to give birth.
	<</if>>
  <</if>>
<<elseif $activeSlave.preg > 20>>
  <<if $activeSlave.pregType >= 20>>
	$pronounCap is @@.pink;dangerously pregnant,@@ despite how early in $possessive pregnancy $pronoun is: $pronoun's carrying far too many children.
  <<elseif $activeSlave.pregType >= 10>>
  	$pronounCap is @@.pink;obscenely pregnant,@@ despite how early in $possessive pregnancy $pronoun is: $pronoun's carrying $activeSlave.pregType children.
  <<elseif $activeSlave.pregType > 4>>
	$pronounCap is @@.pink;massively pregnant,@@ despite how early in $possessive pregnancy $pronoun is: $pronoun's carrying quintuplets.
  <<elseif $activeSlave.pregType > 2>>
	$pronounCap is @@.pink;hugely pregnant,@@ despite how early in $possessive pregnancy $pronoun is: $pronoun's carrying
	<<if $activeSlave.pregType == 4>>
	  quadruplets.
	<<else>>
	  triplets.
	<</if>>
  <<else>>
	$pronounCap is @@.pink;very pregnant:@@
	<<if $activeSlave.pregType == 2>>
	  $pronoun's carrying twins.
	<<else>>
	  the baby inside $object is growing rapidly.
	<</if>>
  <</if>>

<<if $activeSlave.waist > 95>>
	a badly @@.red;masculine waist@@ that ruins her figure<<if $activeSlave.weight > 30>> and greatly exaggerates how fat $pronoun is<<elseif $activeSlave.weight < -30>> despite how thin $pronoun is<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive thick waist.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly barely distends her $possessive thick waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly is hidden by $possessive thick waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is hidden by $possessive thick waist.
	<</if>>
<<elseif $activeSlave.waist > 40>>
	a broad, @@.red;ugly waist@@ that makes her look mannish<<if $activeSlave.weight > 30>> and exaggerates how fat $pronoun is<<elseif $activeSlave.weight < -30>> despite how thin $pronoun is<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive chunky waist.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly barely distends her $possessive chunky waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly is barely hidden by $possessive chunky waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is hidden by $possessive chunky waist.
	<</if>>
<<elseif $activeSlave.waist > 10>>
	an @@.red;unattractive waist@@ that conceals $possessive <<if $activeSlave.visualAge > 25>>girlish<<else>>womanly<</if>> figure<<if $activeSlave.weight > 30>> and accentuates how fat $pronoun is<<elseif $activeSlave.weight < -30>> despite how thin $pronoun is<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive waist.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly barely distends her $possessive waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly is barely visible to either side of $possessive waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is barely hidden by $possessive waist.
	<</if>>
<<elseif $activeSlave.waist >= -10>>
	an average waist for a <<if $activeSlave.visualAge > 25>>girl<<else>>woman<</if>><<if $activeSlave.weight > 30>>, though it looks broader since $pronoun's fat<<elseif $activeSlave.weight < -30>>, though it looks narrower since $pronoun's thin<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive waist.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly barely distends her $possessive waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly is barely visible to either side of $possessive waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is barely hidden by $possessive waist.
	<</if>>
<<elseif $activeSlave.waist >= -40>>
	a nice @@.pink;feminine waist@@ that gives $object a <<if $activeSlave.visualAge > 25>>girlish<<else>>womanly<</if>> figure<<if $activeSlave.weight > 30>> despite $possessive extra weight<<elseif $activeSlave.weight < -30>> and accentuates how thin $pronoun is<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive feminine waist.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly lewdly distends her $possessive feminine waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly juts out slightly to either side of $possessive feminine waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is barely visible around $possessive feminine waist.
	<</if>>
<<elseif $activeSlave.waist >= -95>>
	a hot @@.pink;wasp waist@@ that gives $possessive an hourglass figure<<if $activeSlave.weight > 30>> despite $possessive extra weight<<elseif $activeSlave.weight < -30>> further accentuated by how thin $pronoun is<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive narrow waist and continues nearly half a meter farther to either side.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly lewdly distends massively to either side of $possessive narrow waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly bulges to either side of $possessive narrow waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is visible around $possessive narrow waist.
	<</if>>
<<else>>
	an @@.pink;absurdly narrow waist@@ that gives $possessive a cartoonishly hourglass figure<<if $activeSlave.weight > 30>> made even more ludicrous by $possessive extra weight<<elseif $activeSlave.weight < -30>> made even more ludicrous by how thin $pronoun is<</if>>.
	<<if hyperBellyTwo($activeSlave)>>
		$possessiveCap titanic belly lewdly bulges out the sides of $possessive very narrow waist and continues nearly half a meter farther to either side.<<if $activeSlave.preg > 3>> The sides of $possessive waist are filled by $possessive overfilled womb in its desperate search for more room.<</if>>
	<<elseif hyperBellyOne($activeSlave)>>
		$possessiveCap gigantic belly lewdly distends massively to either side of $possessive very narrow waist.
	<<elseif hugeBelly($activeSlave)>>
		$possessiveCap huge belly bulges lewdly to either side of $possessive very narrow waist.
	<<elseif bigBelly($activeSlave)>>
		$possessiveCap belly is visible to either side of $possessive very narrow waist.
	<</if>>
<</if>>

path: devNotes/oldPregDesc


code:
:: SA hormone effects [nobr]

<<set $hormones = $slaves[$i].hormones>>
<<if ($hormones > -2)>>
<<if ($slaves[$i].balls != 0)>>
<<if ($hormones != 0) || ($hormoneUpgradePower < 2)>>
	<<set $hormones -= 1>>
<</if>>
<</if>>
<</if>>
<<if ($hormones < 2)>>
<<if ($slaves[$i].ovaries != 0)>>
<<if ($hormones != 0) || ($hormoneUpgradePower < 2)>>
	<<set $hormones += 1>>
<</if>>
<</if>>
<</if>>

<<if ($hormones > 1)>>
  $possessiveCap hormonal balance is heavily feminine.
<<elseif ($hormones < -1)>>
  $possessiveCap hormonal balance is heavily masculine.
<<elseif ($hormones > 0)>>
  $possessiveCap hormonal balance is feminine.
<<elseif ($hormones < 0)>>
  $possessiveCap hormonal balance is masculine.
<<else>>
  $pronounCap has a neutral hormonal balance.
<</if>>

<<if $hormoneUpgradeMood == 0>>
<<if $slaves[$i].hormones > 0>>
<<if $slaves[$i].balls != 0>>
	$possessiveCap <<if $hormoneUpgradeMood == 0>>feminine treatments have to fight<<else>>advanced treatments brutally overpower<</if>> $possessive natural hormones,
	<<if $slaves[$i].devotion > 50>>
		but $pronoun's a good enough slave to suppress the occasional moodiness.
	<<else>>
		causing @@.mediumorchid;occasional moodiness.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>
<</if>>
<</if>>
<<if $slaves[$i].hormones < 0>>
<<if $slaves[$i].ovaries != 0>>
	$possessiveCap <<if $hormoneUpgradeMood == 0>>masculine treatments have to fight<<else>>advanced treatments brutally overpower<</if>> $possessive natural hormones,
	<<if $slaves[$i].devotion > 50>>
		but $pronoun's a good enough slave to suppress the occasional moodiness.
	<<else>>
		causing @@.mediumorchid;occasional moodiness.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>
<</if>>
<</if>>
<</if>>

<<set _Effects = []>>

<<if ($hormones >= 2)>>
	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if ($slaves[$i].dick > 1)>>
			<<set _Effects.push("DickShrink")>>
		<</if>>
		<<if ($slaves[$i].balls > 1)>>
			<<set _Effects.push("BallsShrink")>>
		<</if>>
		<<if ($slaves[$i].clit > 0)>>
			<<set _Effects.push("ClitSmaller")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].voice < 3) && ($slaves[$i].voice > 0)>>
		<<set _Effects.push("VoiceHigher")>>
	<</if>>
	<<if ($slaves[$i].vagina > -1) && ($slaves[$i].ovaries != 0) && ($slaves[$i].vaginaLube < 2)>>
		<<set _Effects.push("VaginaWetter")>>
	<</if>>
	<<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2)>>
		<<set _Effects.push("ButtBigger")>>
	<</if>>
	<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) < 500)>>
		<<set _Effects.push("BoobsBigger")>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face <= 95)>>
		<<set _Effects.push("FaceSofter")>>
	<</if>>
	<<if ($slaves[$i].faceShape == "masculine")>>
		<<set _Effects.push("FaceSofterAndrogynous")>>
	<<elseif ($slaves[$i].faceShape == "androgynous")>>
		<<set _Effects.push("FaceNormal")>>
	<</if>>
	<<if ($slaves[$i].physicalAge < 25)>>
		<<if ($slaves[$i].shoulders > -1)>>
			<<set _Effects.push("ShouldersNarrower")>>
		<</if>>
		<<if (($slaves[$i].hips-$slaves[$i].hipsImplant) < 1)>>
			<<set _Effects.push("HipsBroader")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].muscles > 30) && ($slaves[$i].diet != "muscle building")>>
		<<set _Effects.push("MusclesSofter")>>
	<</if>>
	<<if ($slaves[$i].nipples == "tiny")>>
		<<set _Effects.push("NipplesBigger")>>
	<</if>>
	<<if ($slaves[$i].height > 180)>>
		<<set _Effects.push("Shorter")>>
	<</if>>
	<<if ($slaves[$i].devotion <= 20)>>
		<<set _Effects.push("Devoted")>>
	<</if>>
	<<if ($slaves[$i].trust <= 20)>>
		<<set _Effects.push("Trusting")>>
	<</if>>
	<<if ($slaves[$i].attrXY < 95)>>
		<<set _Effects.push("MaleAttracted")>>
	<</if>>
	<<if ($slaves[$i].waist > 10)>>
		<<set _Effects.push("WaistNarrower")>>
	<</if>>

<<elseif ($hormones > 0) && ($slaves[$i].ovaries == 0)>>
	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if ($slaves[$i].dick > 2)>>
			<<set _Effects.push("DickShrink")>>
		<</if>>
		<<if ($slaves[$i].balls > 2)>>
			<<set _Effects.push("BallsShrink")>>
		<</if>>
		<<if ($slaves[$i].clit > 1)>>
			<<set _Effects.push("ClitSmaller")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].voice < 2) && ($slaves[$i].voice > 0)>>
		<<set _Effects.push("VoiceHigher")>>
	<</if>>
	<<if ($slaves[$i].vagina > -1) && ($slaves[$i].ovaries != 0) && ($slaves[$i].vaginaLube < 1)>>
		<<set _Effects.push("VaginaWetter")>>
	<</if>>
	<<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2)>>
		<<set _Effects.push("ButtBigger")>>
	<</if>>
	<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) < 300)>>
		<<set _Effects.push("BoobsBigger")>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face < 40)>>
		<<set _Effects.push("FaceSofter")>>
	<</if>>
	<<if ($slaves[$i].faceShape == "masculine")>>
		<<set _Effects.push("FaceSofterAndrogynous")>>
	<</if>>
	<<if ($slaves[$i].physicalAge < 22)>>
		<<if ($slaves[$i].shoulders > 0)>>
			<<set _Effects.push("ShouldersNarrower")>>
		<</if>>
		<<if (($slaves[$i].hips - $slaves[$i].hipsImplant) < 0)>>
			<<set _Effects.push("HipsBroader")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].muscles > 30) && ($slaves[$i].diet != "muscle building")>>
		<<set _Effects.push("MusclesSofter")>>
	<</if>>
	<<if ($slaves[$i].attrXY < 80)>>
		<<set _Effects.push("MaleAttracted")>>
	<</if>>
	<<if ($slaves[$i].waist > 40)>>
		<<set _Effects.push("WaistNarrower")>>
	<</if>>

<<elseif ($hormones <= -2)>>
	<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 4)>>
		<<set _Effects.push("DickGrow")>>
	<</if>>
	<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 4)>>
		<<set _Effects.push("BallsGrow")>>
	<</if>>
	<<if ($slaves[$i].clit < 2) && ($slaves[$i].dick == 0)>>
		<<set _Effects.push("ClitBigger")>>
	<</if>>
	<<if ($slaves[$i].voice > 1)>>
		<<set _Effects.push("VoiceLower")>>
	<</if>>
	<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 0)>>
		<<set _Effects.push("VaginaDrier")>>
	<</if>>
	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 2)>>
			<<set _Effects.push("ButtSmaller")>>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 500)>>
			<<set _Effects.push("BoobsSmaller")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face > 10)>>
		<<set _Effects.push("FaceHarder")>>
	<</if>>
	<<if ($slaves[$i].faceShape == "androgynous")>>
		<<set _Effects.push("FaceMasculine")>>
	<<elseif ($slaves[$i].faceShape != "masculine")>>
		<<set _Effects.push("FaceHarderAndrogynous")>>
	<</if>>
	<<if ($slaves[$i].physicalAge < 25)>>
		<<if ($slaves[$i].shoulders < 1)>>
			<<set _Effects.push("ShouldersBroader")>>
		<</if>>
		<<if ($slaves[$i].hips > -1)>>
			<<set _Effects.push("HipsNarrower")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].muscles <= 95) && ($slaves[$i].diet != "slimming")>>
		<<set _Effects.push("MusclesHarder")>>
	<</if>>
	<<if ($slaves[$i].nipples == "huge")>>
		<<set _Effects.push("NipplesSmaller")>>
	<</if>>
	<<if ($slaves[$i].height < 155)>>
		<<set _Effects.push("Taller")>>
	<</if>>
	<<if ($slaves[$i].devotion > 20)>>
		<<set _Effects.push("Rebellious")>>
	<</if>>
	<<if ($slaves[$i].attrXY < 95)>>
		<<set _Effects.push("FemaleAttracted")>>
	<</if>>
	<<if ($slaves[$i].waist <= 40)>>
		<<set _Effects.push("WaistBroader")>>
	<</if>>

<<elseif ($hormones < 0) && ($slaves[$i].balls == 0)>>
	<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 2)>>
		<<set _Effects.push("DickGrow")>>
	<</if>>
	<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 2)>>
		<<set _Effects.push("BallsGrow")>>
	<</if>>
	<<if ($slaves[$i].clit < 1) && ($slaves[$i].dick == 0)>>
		<<set _Effects.push("ClitBigger")>>
	<</if>>
	<<if ($slaves[$i].voice > 2)>>
		<<set _Effects.push("VoiceLower")>>
	<</if>>
	<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 1)>>
		<<set _Effects.push("VaginaDrier")>>
	<</if>>
	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 2)>>
			<<set _Effects.push("ButtSmaller")>>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 800)>>
			<<set _Effects.push("BoobsSmaller")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face > 40)>>
		<<set _Effects.push("FaceHarder")>>
	<</if>>
	<<if ($slaves[$i].faceShape == "androgynous")>>
		<<set _Effects.push("FaceMasculine")>>
	<</if>>
	<<if ($slaves[$i].physicalAge < 22)>>
		<<if ($slaves[$i].shoulders < 0)>>
			<<set _Effects.push("ShouldersBroader")>>
		<</if>>
		<<if ($slaves[$i].hips > 0)>>
			<<set _Effects.push("HipsNarrower")>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].muscles <= 5) && ($slaves[$i].diet != "slimming")>>
		<<set _Effects.push("MusclesHarder")>>
	<</if>>
	<<if ($slaves[$i].height < 155)>>
		<<set _Effects.push("Taller")>>
	<</if>>
	<<if ($slaves[$i].attrXY < 80)>>
		<<set _Effects.push("FemaleAttracted")>>
	<</if>>
	<<if ($slaves[$i].waist <= 10)>>
		<<set _Effects.push("WaistBroader")>>
	<</if>>

<</if>>

<<if _Effects.length < 1>>
	$possessiveCap body has fully adapted to its hormones.
	<<if $slaves[$i].drugs == "hormone enhancers">>
		<<set $slaves[$i].drugs = "none">>
	<</if>>
<<elseif (_Effects.length < random(-10,10)) && ($hormoneUpgradePower == 0)>>
	$pronounCap does not experience significant hormone effects this week.
<<else>>

<<set _Effects = _Effects.random()>>
<<switch _Effects>>
<<case "DickShrink">>
	Hormonal effects cause @@.orange;$possessive dick to atrophy.@@
	<<set $slaves[$i].dick -= 1>>
<<case "DickGrow">>
	Hormonal effects cause @@.lime;$possessive micropenis to return to a more normal size.@@
	<<set $slaves[$i].dick += 1>>
<<case "BallsShrink">>
	Hormonal effects cause @@.orange;$possessive testicles to atrophy.@@
	<<set $slaves[$i].balls -= 1>>
<<case "BallsGrow">>
	Hormonal effects cause @@.lime;$possessive balls to drop.@@
	<<set $slaves[$i].balls += 1>>
<<case "VoiceHigher">>
	Hormonal effects cause @@.lime;$possessive voice to become higher and more feminine.@@
	<<set $slaves[$i].voice += 1>>
<<case "VoiceLower">>
	Hormonal effects cause @@.orange;$possessive voice to become deeper and less feminine.@@
	<<set $slaves[$i].voice -= 1>>
<<case "VaginaWetter">>
	Hormonal effects cause @@.lime;$possessive vagina to produce more copious natural lubricant.@@
	<<set $slaves[$i].vaginaLube += 1>>
<<case "VaginaDrier">>
	Hormonal effects cause @@.orange;$possessive vagina to produce less natural lubricant.@@
	<<set $slaves[$i].vaginaLube -= 1>>
<<case "ButtBigger">>
	Hormonal effects cause @@.lime;the natural size of $possessive butt to increase.@@
	<<set $slaves[$i].butt += 1>>
	<<if $slaves[$i].weight >= -80>>
		<<set $slaves[$i].weight -= 10>>
	<</if>>
<<case "ButtSmaller">>
	Hormonal effects cause @@.orange;the natural size of $possessive butt to decrease.@@
	<<set $slaves[$i].butt -= 1>>
	<<if $slaves[$i].weight < 190>>
		<<set $slaves[$i].weight += 10>>
	<</if>>
<<case "BoobsBigger">>
	Hormonal effects cause @@.lime;the natural size of $possessive tits to increase.@@
	<<set $slaves[$i].boobs += 100>>
	<<if $slaves[$i].weight >= -90>>
		<<set $slaves[$i].weight -= 1>>
	<</if>>
<<case "BoobsSmaller">>
	Hormonal effects cause @@.orange;the natural size of $possessive tits to shrink.@@
	<<set $slaves[$i].boobs -= 100>>
	<<if $slaves[$i].weight < 200>>
		<<set $slaves[$i].weight += 1>>
	<</if>>
<<case "FaceSofter">>
	Hormonal effects cause @@.lime;$possessive facial structure to soften and become less unattractive.@@
	<<FaceIncrease $slaves[$i] 20>>
<<case "FaceHarder">>
	Hormonal effects cause @@.orange;$possessive facial structure to harden and become less attractive.@@
	<<set $slaves[$i].face = Math.trunc($slaves[$i].face-20,-100,100)>>
<<case "FaceSofterAndrogynous">>
	Hormonal effects cause @@.lime;$possessive face to soften into androgyny.@@
	<<set $slaves[$i].faceShape = "androgynous">>
<<case "FaceHarderAndrogynous">>
	Hormonal effects cause @@.orange;$possessive face to harden into androgyny.@@
	<<set $slaves[$i].faceShape = "androgynous">>
<<case "FaceNormal">>
	Hormonal effects cause @@.lime;$possessive face to soften into femininity.@@
	<<set $slaves[$i].faceShape = "normal">>
<<case "FaceMasculine">>
	Hormonal effects cause @@.orange;$possessive face to harden into masculinity.@@
	<<set $slaves[$i].faceShape = "masculine">>
<<case "ClitSmaller">>
	Hormonal effects cause @@.orange;$possessive clit to shrink significantly.@@
	<<set $slaves[$i].clit -= 1>>
<<case "ClitBigger">>
	Hormonal effects cause @@.lime;$possessive clit to grow significantly.@@
	<<set $slaves[$i].clit += 1>>
<<case "ShouldersNarrower">>
	$possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.lime;$possessive shoulders to develop into a more feminine narrowness@@ than they would have done naturally.
	<<set $slaves[$i].shoulders -= 1>>
<<case "ShouldersBroader">>
	$possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.orange;$possessive shoulders to develop more broadly@@ than they would have done naturally.
	<<set $slaves[$i].shoulders += 1>>
<<case "HipsBroader">>
	$possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.lime;$possessive hips to develop more broadly@@ than they would have done naturally.
	<<set $slaves[$i].hips += 1>>
<<case "HipsNarrower">>
	$possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.orange;$possessive hips to develop more narrowly@@ than they would have done naturally.
	<<set $slaves[$i].hips -= 1>>
<<case "MusclesSofter">>
	Hormonal effects @@.orange;reduce $possessive musculature.@@
	<<set $slaves[$i].muscles -= 2>>
<<case "MusclesHarder">>
	Hormonal effects @@.lime;build up $possessive musculature.@@
	<<set $slaves[$i].muscles += 2>>
<<case "NipplesBigger">>
	Hormonal effects cause $possessive tiny @@.lime;nipples to grow to a more normal size.@@
	<<set $slaves[$i].nipples = "cute">>
<<case "NipplesSmaller">>
	Hormonal effects cause $possessive huge @@.orange;nipples to shrink to a more reasonable size.@@
	<<set $slaves[$i].nipples = "cute">>
<<case "Shorter">>
	$pronounCap has not yet reached the age at which height becomes fixed. Hormonal effects cause @@.orange;$object to lose a bit of height@@ that $pronoun would  naturally have maintained.
	<<set $slaves[$i].height -= 1>>
<<case "Taller">>
	$pronounCap has not yet reached the age at which height becomes fixed. Hormonal effects cause @@.lime;$object to gain a slight height advantage@@ that $pronoun would not naturally have reached.
	<<set $slaves[$i].height += 1>>
<<case "Devoted">>
	Hormonal effects make $object a bit more @@.hotpink;docile.@@
	<<set $slaves[$i].devotion += 1>>
<<case "Rebellious">>
	Hormonal effects @@.mediumorchid;make $object a bit less docile.@@
	<<set $slaves[$i].devotion -= 1>>
<<case "Trusting">>
	Hormonal effects make $object a bit more @@.mediumaquamarine;trusting.@@
	<<set $slaves[$i].trust += 1>>
<<case "MaleAttracted">>
	Hormonal effects cause $object to become @@.green;more attracted to men.@@
	<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
<<case "FemaleAttracted">>
	Hormonal effects cause $object to become @@.green;more attracted to women.@@
	<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
<<case "WaistNarrower">>
	Hormonal effects cause $possessive @@.green;waist to narrow.@@
	<<set $slaves[$i].waist -= 2+$hormoneUpgradePower>>
<<case "WaistBroader">>
	Hormonal effects cause $possessive @@.orange;waist to broaden.@@
	<<set $slaves[$i].waist += 2+$hormoneUpgradePower>>
<<default>>
	ERROR: bad hormone effect: _Effects
<</switch>>

<</if>>

<<if ($hormones < 0)>>
<<if ($slaves[$i].dick > 0)>>
<<if ($slaves[$i].devotion > 0)>>
<<if ($slaves[$i].career == "a Futanari Sister")>>
	$pronounCap wishes $pronoun were more feminine, but isn't unhappy to be off hormones, since $pronoun likes being a stiff dicked futa.
<<elseif ($slaves[$i].fetish == "buttslut") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>>
	$pronounCap wishes $pronoun were more feminine, but $pronoun loves getting fucked in the butt so much that it doesn't much bother $object.
<<elseif ($slaves[$i].fetish == "sadist") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>>
	Life is easier for effeminate slaves, but $pronoun loves abusing other slaves so much that $pronoun likes being able to get hard.
<<elseif ($slaves[$i].fetish == "dom") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>>
	Life is easier for effeminate slaves, but $pronoun loves dominating other girls so much that $pronoun likes being able to get hard.
<<elseif ($slaves[$i].energy > 95)>>
	$pronounCap wishes $pronoun were more feminine, but $pronoun loves getting fucked like a good little sex slave so much that $pronoun doesn't think about it much.
<<elseif ($slaves[$i].devotion <= 20)>>
	Life is easier for effeminate slaves, so @@.mediumorchid;$pronoun's a little unhappy@@ that $pronoun isn't getting hormones to make $object more feminine.
	<<set $slaves[$i].devotion -= 2>>
<<elseif ($slaves[$i].devotion <= 50)>>
	$pronounCap wants to be a good slave girl, so @@.mediumorchid;$pronoun's a little unhappy@@ that $pronoun isn't getting hormones to make $object look more feminine.
	<<set $slaves[$i].devotion -= 2>>
<<else>>
	$pronounCap wishes $pronoun were more feminine, but $pronoun accepts your judgment in not giving $object hormones to make that happen.
<</if>>
<</if>>
<</if>>
<</if>>

<<if Math.abs($slaves[$i].hormones) > 1>>
	<<set $slaves[$i].chem += 0.5>>
<</if>>

repo_name: Drosil/fc

path: devNotes/saHormoneEffects (old).txt

license: mit


code:
#!/usr/bin/env python3
import fileinput
import re
import sys

WARNING = '\033[93m'
ENDC = '\033[0m'

def myprint(*args):
    print(WARNING, filename + ":", ENDC,*args)

def yield_line_and_islastline(f):
    global filename
    global linenumber
    try:
        prevline = next(f)
        filename = fileinput.filename()
        linenumber = fileinput.filelineno()
    except StopIteration:
        return
    for line in f:
        yield (prevline, f.isfirstline())
        filename = fileinput.filename()
        linenumber = fileinput.filelineno()
        prevline = line
    yield prevline, True

pattern = re.compile(r'(<<(\/?) *(if|for|else|switch|case|replace|link)[^<>]*)')

tagfound = []
try:
    for line, isLastLine in yield_line_and_islastline(fileinput.input()):
        for (whole,end,tag) in re.findall(pattern,line):
            if tag == "else" or tag == 'case':
                if len(tagfound) == 0:
                    myprint("Found", tag, "but with no opening tag:")
                    myprint("  ", linenumber,":", whole)
                    fileinput.nextfile()
                lasttag = tagfound[-1]
                if (tag == "else" and lasttag["tag"] != "if") or (tag == "case" and lasttag["tag"] != "switch"):
                    myprint("Mismatched else: Opening tag was:")
                    myprint("  ",lasttag["linenumber"],":", lasttag["whole"])
                    myprint("But this tag was:")
                    myprint("  ",linenumber,":", whole)
                    fileinput.nextfile()
                    break
            elif end != '/':
                tagfound.append({"whole": whole, "linenumber":linenumber,"tag":tag})
            else:
                if len(tagfound) == 0:
                    myprint("Found closing tag but with no opening tag:")
                    myprint("  ", linenumber,":", whole)
                    fileinput.nextfile()
                    break
                lasttag = tagfound.pop()
                if lasttag["tag"] != tag:
                    myprint("Mismatched tag: Opening tag was:")
                    myprint("  ",lasttag["linenumber"],":", lasttag["whole"])
                    myprint("Closing tag was:")
                    myprint("  ",linenumber,":", whole)
                    fileinput.nextfile()
                    break

        if isLastLine:
            if len(tagfound) != 0:
                myprint("End of file found but", len(tagfound), ("tag hasn't" if len(tagfound)==1 else "tags haven't"), "been closed:")
            for tag in tagfound:
                myprint("  ", tag["linenumber"],":", tag["whole"])
            tagfound = []
except UnicodeDecodeError as e:
    myprint(e)
    print("   Hint: In linux, you can get more details about unicode errors by running:")
    print("     isutf8", filename)