:: Club Report [nobr]

<<set $clubBonuses = 0, $clubSlaves = 0, $DJRepBonus = 0, $implanted = 0, $legendaryEntertainerID = 0, $modded = 0, $old = 0, $pure = 0, $slim = 0, $stacked = 0, $unmodded = 0, $XX = 0, $XY = 0, $young = 0, _DJFetish = 0, _SL = $slaves.length, _DJ = -1>>
<<set $legendaryWombID to 0>>
<<set $pregYes to 0>>
<<set $pregNo to 0>>

<<for _i = 0; _i < _SL; _i++>>
<<if ($slaves[_i].assignment is "serve in the club")>>

/* 000-250-006 */
/* <<if $seeImages == 1>><<SlaveArt $slaves[_i] 0 0>><</if>> */
<<if $seeImages == 1>>
    <div class="imageRef tinyImg">
    <<SlaveArt $slaves[_i] 0 0>>
</div>
<</if>>
/* 000-250-006 */

	<<set $clubSlaves++>>
<</if>>
<<if $DJ != 0>>
<<if $slaves[_i].ID == $DJ.ID>>
	<<set _DJ = _i>>
<</if>>
<</if>>
<</for>>

<<if (_DJ > -1)>>
<<if $seeImages == 1>><<SlaveArt $slaves[_DJ] 0 0>><</if>>
<<if ($slaves[_DJ].health < -80)>>
<<set $slaves[_DJ].health += 20>>
<<elseif $slaves[_DJ].health < -40>>
<<set $slaves[_DJ].health += 15>>
<<elseif $slaves[_DJ].health < 0>>
<<set $slaves[_DJ].health += 10>>
<<elseif $slaves[_DJ].health < 90>>
<<set $slaves[_DJ].health += 7>>
<</if>>
<<if $slaves[_DJ].devotion <= 60>>
<<set $slaves[_DJ].devotion += 5>>
<</if>>
<<if $slaves[_DJ].trust < 60>>
<<set $slaves[_DJ].trust += 3>>
<</if>>
<<if $slaves[_DJ].fetishStrength <= 95>>
<<if $slaves[_DJ].fetish != "humiliation">>
	<<fetishChangeChance $slaves[_DJ]>>
	<<if $fetishChangeChance > random(0,100)>>
		<<set _DJFetish to 1, $slaves[_DJ].fetishKnown to 1, $slaves[_DJ].fetish to "humiliation">>
	<</if>>
<<elseif $slaves[_DJ].fetishKnown == 0>>
	<<set _DJFetish to 1, $slaves[_DJ].fetishKnown to 1>>
<<else>>
	<<set _DJFetish to 2, $slaves[_DJ].fetishStrength += 4>>
<</if>>
<</if>>
<<set $DJ = $slaves[_DJ], $i = _DJ>>
$DJ.slaveName is performing as the DJ.
<<if $DJ.relationship is -3>>
	She tries her best to be your energetic, cheerful wife.
	<<set $DJRepBonus += 0.1>>
<</if>>
<<if (_DJFetish == 1)>>
	She's expected to be the innovative, beautiful DJ spinning beats one minute, and come out of her booth to grind on the floor the next; she enjoys the interplay, and finds greater @@color:lightcoral;pleasure in exhibitionism.@@
<<elseif (_DJFetish == 2)>>
	Every day she gets to enjoy hundreds of stares on her skin, and @@color:lightsalmon;becomes more of an exhibitionist.@@
<</if>>
<<if ($DJ.eyes is -2)>>
	Her lack of eyesight doesn't slow her down; rather, it strengthens her other senses. Her tracks have a distinct sound, since she experiences noise as her sight.
	<<set $DJRepBonus += 0.15>>
<</if>>
<<if ($DJ.entertainSkill <= 10)>>
	Though $DJ.slaveName does her best to lead on the club, with her lack of skill she can do little.
<<elseif ($DJ.entertainSkill <= 30)>>
	$DJ.slaveName's basic skills marginally @@color:green;improve@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.05>>
<<elseif ($DJ.entertainSkill <= 60)>>
	$DJ.slaveName's skills @@color:green;improve@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.1>>
<<elseif ($DJ.entertainSkill < 100)>>
	$DJ.slaveName's skills greatly @@color:green;improve@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.15>>
<<elseif ($DJ.entertainSkill >= 100)>>
	$DJ.slaveName's mastery immensely @@color:green;improves@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.20>>
<</if>>
<<if ($DJ.muscles > 5) && ($DJ.muscles <= 95)>>
	Her toned body helps her lead her fellow club girls by letting her dance all night.
	<<set $DJRepBonus += 0.05>>
<</if>>
<<if ($DJ.intelligence > 0)>>
	She's smart enough to make an actual contribution to the music, greatly enhancing the entire experience.
	<<set $DJRepBonus += 0.05*$DJ.intelligence>>
<</if>>
<<if ($DJ.face > 2)>>
	Her great beauty is a further draw, even when she's in her DJ booth, but especially when she comes out to dance.
	<<set $DJRepBonus += 0.05>>
<</if>>
<<if $DJCareers.contains($DJ.career)>>
	She has musical experience from her life before she was a slave, a grounding that gives her tracks actual depth.
	<<set $DJRepBonus += 0.05>>
<</if>>
/% clubSlaves < 5 was here %/
<</if>>

<<if ($clubSlaves > 0)>>

	<<set _possibleBonuses to 0>>
	<<if $seeImages == 1>><br style="clear:both" /><</if>>
	<<if ($clubSlaves == 1)>>''The one slave pleasing citizens in $clubName''<<else>>''The $clubSlaves slaves pleasing citizens in $clubName''<</if>> worked hard to @@color:green;increase your reputation@@ this week.
 <<for _i = 0; _i < _SL; _i++>>
	<<if ($slaves[_i].assignment != "serve in the club")>><<continue>><</if>>
	<<if ($legendaryEntertainerID == 0) && ($slaves[_i].prestige == 0) && ($slaves[_i].entertainSkill >= 100) && ($slaves[_i].devotion > 50) && ($slaves[_i].prestige == 0)>>
	<<set $legendaryEntertainerID to $slaves[_i].ID>>
	<</if>>
	<<if ($legendaryWombID == 0) && ($slaves[_i].amp != 1) && ($slaves[_i].preg > 30) && ($slaves[_i].pregType < 50) && ($slaves[_i].eggType == "human") && ($slaves[_i].births > 10) && ($slaves[_i].devotion > 50) && ($slaves[_i].prestige == 0)>>
	<<set $legendaryWombID to $slaves[_i].ID>>
	<</if>>
	<<if ($slaves[_i].devotion <= 20) && ($slaves[_i].trust > -20)>>
	<<set $slaves[_i].devotion -= 5, $slaves[_i].trust -= 5>>
	<<elseif ($slaves[_i].devotion < 45)>>
	<<set $slaves[_i].devotion += 4>>
	<<elseif ($slaves[_i].devotion >= 50)>>
	<<set $slaves[_i].devotion -= 4>>
	<</if>>
	<<if ($slaves[_i].trust < 30)>>
	<<set $slaves[_i].trust += 5>>
	<</if>>
	<<if ($slaves[_i].health < -80)>>
	<<set $slaves[_i].health += 20>>
	<<elseif ($slaves[_i].health < -40)>>
	<<set $slaves[_i].health += 15>>
	<<elseif ($slaves[_i].health < 0)>>
	<<set $slaves[_i].health += 10>>
	<<elseif ($slaves[_i].health < 90)>>
	<<set $slaves[_i].health += 7>>
	<</if>>
	<<set $i = _i>> 
	<<Beauty $slaves[_i]>> /% Temporarily added it so vars like $slim, $XX, $XY get used right %/
	<<FResult $slaves[_i]>> /% Not sure if this has to be added as well or not at the moment. %/
<</for>>
	<<if ($clubSlaves < 5)>>
		<<set $slavesGettingHelp to 0>>
		<<if $universalRulesFacilityWork == 1>>
		<<for _i = 0; _i < _SL; _i++>>
			<<if ($slaves[_i].assignment is "serve the public")>>
			<<set $slavesGettingHelp++>>
			<</if>>
		<</for>>
		<</if>>
		<<if ($clubSlaves+$slavesGettingHelp < 5)>>
			<<Beauty $DJ>> /% Temporarily added it so vars like $slim, $XX, $XY get used right %/
			<<FResult $DJ>> /% Not sure if this has to be added as well or not at the moment. %/
		<</if>>
	<</if>>

	<<if $clubAdsSpending != 0>>
	An ad campaign is getting citizens into the club every night, and sluts that match it gratify patrons.
	<</if>>

	<<if ($arcologies[0].FSAssetExpansionist is "unset") && ($arcologies[0].FSSlimnessEnthusiast is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsStacked == 0)>>
		<<set _possibleBonuses += 1>>
		<<if ($slim > 0) && ($stacked > 0) && (Math.abs($slim-$stacked) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10), $clubBonuses += 1>>
		There is a @@color:green;wide@@ variety of slim and stacked slaves working the club.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSDegradationist is "unset") && ($arcologies[0].FSBodyPurist is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsModded == 0)>>
		<<set _possibleBonuses += 1>>
		<<if ($modded > 0) && ($unmodded > 0) && (Math.abs($modded-$unmodded) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10), $clubBonuses += 1>>
		There are @@color:green;both@@ heavily pierced and tattooed slaves and slaves with more natural bodies filling the club.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSTransformationFetishist is "unset") && ($arcologies[0].FSBodyPurist is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsImplanted == 0)>>
		<<set _possibleBonuses += 1>>
		<<if ($implanted > 0) && ($pure > 0) && (Math.abs($implanted-$pure) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10), $clubBonuses += 1>>
		Citizens in $clubName can easily find @@color:yellowgreen;both@@ all-natural girls, and slaves whose beauty has been improved by surgical means.
		<</if>>
	<</if>>
	<</if>>
	<<if ($seeDicks != 0)>>
	<<if ($clubAdsSpending == 0) || ($clubAdsXX == 0)>>
		<<set _possibleBonuses += 1>>
		<<if ($XX > 0) && ($XY > 0) && (Math.abs($XX-$XY) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10), $clubBonuses += 1>>
		The club offers a @@color:green;mix@@ of sluts that can appeal to varied tastes in genitalia.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSMaturityPreferentialist is "unset") && ($arcologies[0].FSYouthPreferentialist is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsOld == 0)>>
		<<set _possibleBonuses += 1>>
		<<if ($young > 0) && ($old > 0) && (Math.abs($young-$old) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10), $clubBonuses += 1>>
		There are girls @@color:green;both@@ young and mature in $clubName.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSRepopulationFocus is "unset") && ($arcologies[0].FSRestart is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsPreg == 0)>>
		<<set _possibleBonuses += 1>>
		<<if ($pregYes > 0) && ($pregNo > 0) && (Math.abs($pregYes-$pregNo) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10), $clubBonuses += 1>>
		There is a @@color:green;wide@@ variety of slaves with swollen, round bellies and flat bellies working the club.
		<</if>>
	<</if>>
	<</if>>

	<<if (_possibleBonuses > 0) && ($clubBonuses >= _possibleBonuses)>>
		<<set $repGain += $clubSlaves*random(10,15)>>
		There is a ''@@color:green;perfect variety@@'' of slaves serving the public from the club.
	<</if>>

	<<if ($club < $clubSlaves)>>
	<<set $clubSpots to 0>>
	<<else>>
	<<set $clubSpots to $club - $clubSlaves>>
	<</if>>

	<<if $clubDecoration != "standard">>
	$clubNameCaps's customers enjoy @@color:green;having sex in $clubDecoration surroundings.@@
	<</if>>

<<else>>
	<br>''Business in $clubName is normal.''
	<<set $clubSpots to $club>>
<</if>>

<<set $implanted = 0, $modded = 0, $old = 0, $pure = 0, $slim = 0, $stacked = 0, $unmodded = 0, $XX = 0, $XY = 0, $young = 0, $pregYes = 0, $pregNo = 0>>
<br><br>
<<if ($DJ != 0)>>
	<<set $i = _DJ>>
	<<if ($legendaryEntertainerID == 0) && ($slaves[_DJ].prestige == 0) && ($slaves[_DJ].entertainSkill >= 100) && ($slaves[_DJ].devotion > 50)>>
		<<set $legendaryEntertainerID to $slaves[_DJ].ID>>
	<</if>>
	<<if ($legendaryWombID == 0) && ($slaves[_DJ].amp != 1) && ($slaves[_DJ].preg > 30) && ($slaves[_DJ].pregType < 50) && ($slaves[_DJ].eggType == "human") && ($slaves[_DJ].births > 10) && ($slaves[_DJ].devotion > 50) && ($slaves[_DJ].prestige == 0)>>
		<<set $legendaryWombID to $slaves[_DJ].ID>>
	<</if>>
	''__@@color:pink;$slaves[_DJ].slaveName@@__'' is performing as the DJ in the club.<br>
	<<if ($clubSlaves+$slavesGettingHelp < 5)>>
	<<if $showEWD == 0>>
		<<silently>><<include "SA serve the public">><</silently>>
	<<else>>
		&nbsp;&nbsp;&nbsp;&nbsp;She<<include "SA serve the public">>
	<</if>>
	<<set $repGain += Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1*0.5)>>
	Since she doesn't have enough sluts in $clubName to make it worthwhile for her to be on stage 24/7, she spends her extra time time slutting it up herself. She has sex with $beauty citizens, @@color:green;pleasing them immensely,@@ since it's more appealing to fuck the DJ than some club slut.
	<</if>>
	<<if $showEWD == 0>>
		<<silently>>
		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion += 1>>
		<</if>>
		<</if>>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<br><<include "SA devotion">>
		<</silently>>
	<<else>>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion += 1>>
		<</if>>
		<</if>>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<<include "SA devotion">>
		<br><br>
	<</if>>
	<<set $DJ = $slaves[_DJ]>>
<</if>>

<<if ($clubSlaves > 0)>>
	<<if $showEWD == 0>>
		<<silently>>
		<<for $i = 0; $i < _SL; $i++>>
		<<if ($slaves[$i].assignment != "serve in the club")>><<continue>><</if>>
		<<if ($legendaryEntertainerID == 0)>>
			<<if ($slaves[$i].prestige == 0) && ($slaves[$i].entertainSkill >= 100) && ($slaves[$i].devotion > 50)>>
			<<set $legendaryEntertainerID to $slaves[$i].ID>>
			<</if>>
			<<if ($legendaryWombID == 0) && ($slaves[$i].amp != 1) && ($slaves[$i].preg > 30) && ($slaves[$i].pregType < 50) && ($slaves[$i].eggType == "human") && ($slaves[$i].births > 10) && ($slaves[$i].devotion > 50) && ($slaves[$i].prestige == 0)>>
				<<set $legendaryWombID to $slaves[$i].ID>>
			<</if>>
		<</if>>
		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion += 1>>
		<</if>>
		<</if>>
		<<include "SA serve the public">>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<<include "SA devotion">>
		<</for>>
		<</silently>>
	<<else>>
		<<for $i = 0; $i < _SL; $i++>>
		<<if ($slaves[$i].assignment != "serve in the club")>><<continue>><</if>>
		<<if ($legendaryEntertainerID == 0)>>
			<<if ($slaves[$i].prestige == 0) && ($slaves[$i].entertainSkill >= 100) && ($slaves[$i].devotion > 50)>>
			<<set $legendaryEntertainerID to $slaves[$i].ID>>
			<</if>>
			<<if ($legendaryWombID == 0) && ($slaves[$i].amp != 1) && ($slaves[$i].preg > 30) && ($slaves[$i].pregType < 50) && ($slaves[$i].eggType == "human") && ($slaves[$i].births > 10) && ($slaves[$i].devotion > 50) && ($slaves[$i].prestige == 0)>>
				<<set $legendaryWombID to $slaves[$i].ID>>
			<</if>>
		<</if>>
		''__@@color:pink;$slaves[$i].slaveName@@__'' is serving in the club.
		<br>&nbsp;&nbsp;&nbsp;&nbsp;
		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion += 1>>
		<</if>>
		<</if>>
		She<<include "SA serve the public">>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<br><<include "SA devotion">>
		<br><br>
		<</for>>
	<</if>>
<</if>>
<br>

src/uncategorized/clubReport.tw