code:
:: RE legendary cow [nobr]

<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "RIE Eligibility Check", $activeSlave = ($legendaryFacility == 1) ? $slaves.find(function(s) { return s.ID == $legendaryCowID; }) : $eventSlave>>

<<if (ndef $activeSlave)>> /* not found - reset variable and stop event */
	<<set $legendaryCowID = 0>>
	<<goto "RIE Eligibility Check">>
<<else>>

<<set $activeSlave.devotion += 4>>

<<EventNameLink $activeSlave>> is an incredible producer of milk. She's lactating in volumes that would have been unthinkable in the days when drug treatments were limited by consent. A nascent slave dairy trade organization will be holding a public stock show tomorrow, and since they're aware you keep cows, they've sent you an invitation to enter stock to be judged.

This is a rare opportunity. The idea of human dairy is new and understandably fascinating to many, so the stock show is likely to draw some serious press. Were $activeSlave.slaveName to win, she would probably be remembered for a long time as a special cow.

<<link "Fairly enter her in the stock show">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 90>>
		<<replace "#result">>
		$activeSlave.slaveName is shown in public, closely inspected by the judging committee, and then publicly milked. It's likely there was some bribery behind the scenes, but her massive tits win the day. Against all odds she is named best in show, and will be @@.green;remembered@@ as dairy stock of the highest pedigree. As her owner, your reputation has @@.green;also increased.@@
		<<set $rep += 100>>
		<<set $activeSlave.prestige = 1>>
		<<set $activeSlave.prestigeDesc = "She is remembered for winning best in show as a dairy cow.">>
		<<set $desc = "a best in show ribbon awarded to " + $activeSlave.slaveName + " as a milk cow">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		$activeSlave.slaveName is shown in public, closely inspected by the judging committee, and then publicly milked. It's likely there was some bribery behind the scenes, and it is fatal to her chances of winning. Though her tits are easily the most impressive on display, another stock owner who was more open-handed with the judges took best in show. The public is impressed with $activeSlave.slaveName's tits anyway; as you are her owner, your reputation has @@.green;increased@@ a little.
		<<set $rep += 100>>
		<</replace>>
	<</if>>
<</link>>

<<link "Spend <<print cashFormat(5000)>> bribing the judges">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 50>>
		<<replace "#result">>
		$activeSlave.slaveName is shown in public, closely inspected by the judging committee, and then publicly milked. Several of the judges cannot resist giving you a wink as they look her over. $activeSlave.slaveName is unsurprisingly named best in show, and will be @@.green;remembered@@ as dairy stock of the highest pedigree. As her owner, your reputation has @@.green;also increased.@@
		<<set $cash -= 5000>>
		<<set $rep += 100>>
		<<set $activeSlave.prestige = 1>>
		<<set $activeSlave.prestigeDesc = "She is remembered for winning best in show as a dairy cow.">>
		<<set $desc = "a best in show ribbon awarded to " + $activeSlave.slaveName + " as a milk cow">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		$activeSlave.slaveName is shown in public, closely inspected by the judging committee, and then publicly milked. Several of the judges cannot resist giving you a wink as they look her over, but others look disapprovingly at them; it seems some of your competitors also forwarded money to the committee. After furious wrangling, $activeSlave.slaveName loses to another cow. The public is impressed with $activeSlave.slaveName's tits anyway; as you are her owner, your reputation has @@.green;increased@@ a little.
		<<set $cash -= 5000>>
		<<set $rep += 100>>
		<</replace>>
	<</if>>
<</link>>

<<link "Spend <<print cashFormat(10000)>> bribing the judges and sabotaging the competition">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 10>>
		<<replace "#result">>
		$activeSlave.slaveName is shown in public, closely inspected by the judging committee, and then publicly milked. After she's put through her paces, the most unfortunate series of accidents somehow befalls her fellow cows. One is taken ill, another seems drugged, and someone seems to have slipped a finger of raw ginger up another's ass, making her whine and squeal constantly. $activeSlave.slaveName is unsurprisingly named best in show, and will be @@.green;remembered@@ as dairy stock of the highest pedigree. As her owner, your reputation has @@.green;also increased.@@
		<<set $cash -= 10000>>
		<<set $rep += 100>>
		<<set $activeSlave.prestige = 1>>
		<<set $activeSlave.prestigeDesc = "She is remembered for winning best in show as a dairy cow.">>
		<<set $desc = "a best in show ribbon awarded to " + $activeSlave.slaveName + " as a milk cow">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		$activeSlave.slaveName is shown in public, closely inspected by the judging committee, and then publicly milked. You are surprised to see that the judging committee has been changed at the last minute. They choose another cow as best in show. There are persistent @@.red;rumors@@ after the show that there was an absolute massacre of firings at the dairy organization headquarters the night before the show after it was discovered that someone, widely thought to be you, had been corrupting the judges.
		<<set $cash -= 10000>>
		<<set $rep -= 100>>
		<</replace>>
	<</if>>
<</link>>

<</if>> /* closes validity check */


code:
:: RE legendary entertainer [nobr]

<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "RIE Eligibility Check", $activeSlave = ($legendaryFacility == 1) ? $slaves.find(function(s) { return s.ID == $legendaryEntertainerID; }) : $eventSlave>>

<<if (ndef $activeSlave)>> /* not found - reset variable and stop event */
	<<set $legendaryEntertainerID = 0>>
	<<goto "RIE Eligibility Check">>
<<else>>

<<set $activeSlave.devotion += 4>>

The Free Cities fashion scene extends to slave bodies, of course; stopping at mere clothes and behaviors is an old world conceit. This week, <<EventNameLink $activeSlave>> is in vogue. Such a crowd of gawkers and hangers-on follows her around the club that the fine citizens who have a chance at an hour of her time must shoulder their way through the throng.

This is a rare opportunity. Such popularity and fame is here today, and gone tomorrow. It might be possible, with a serious investment of funds in publicity, to really fix her in the public mind as a courtesan of note. There's no guarantee of success, but if you are successful, her value will increase a great deal.

<<link "Just capitalize on her popularity as it is">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<replace "#result">>
	You decide to limit your advantage on her temporary popularity to a little publicity and some advertising. You've gained a little @@.green;notoriety.@@
	<<set $rep += 200>>
	<</replace>>
<</link>>

<<link "Invest <<print cashFormat(5000)>> in her image">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 50>>
		<<replace "#result">>
		You buy media coverage of her, invest in an ad campaign, and even arrange for persons of influence and taste to sample and review her gentle caresses. Your efforts are a success. Her current extreme popularity will fade in time, but you have managed to arrange for her a permanent place as a @@.green;respected and famous courtesan.@@ As her owner, your reputation has @@.green;also increased.@@
		<<set $cash -= 5000>>
		<<set $rep += 200>>
		<<if $activeSlave.prestige <= 1>>
			<<set $activeSlave.prestige = 1>>
			<<set $activeSlave.prestigeDesc = "She is a famed Free Cities slut, and can please anyone.">>
		<</if>>
		<<set $desc = "a framed article written about " + $activeSlave.slaveName + " when she debuted as a famous courtesan">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		You buy media coverage of her, invest in an ad campaign, and even arrange for persons of influence and taste to sample and review her gentle caresses. Unfortunately, popularity remains an art, not a science; though you do your best, the public mind's fancy eludes your grasp. As her owner, your reputation has @@.green;increased,@@ but in a week she'll be forgotten.
		<<set $cash -= 5000>>
		<<set $rep += 200>>
		<</replace>>
	<</if>>
<</link>>

<<link "Lavish <<print cashFormat(10000)>> on her fame">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 10>>
		<<replace "#result">>
		You buy prime media coverage of her, invest in a lavish ad campaign, and even arrange for persons of great influence and fine taste to sample and review her gentle caresses. Your efforts are a success. Her current extreme popularity will fade in time, but you have managed to arrange for her a permanent place as a @@.green;respected and famous courtesan.@@ As her owner, your reputation has @@.green;also increased.@@
		<<set $cash -= 10000>>
		<<set $rep += 400>>
		<<if $activeSlave.prestige <= 1>>
			<<set $activeSlave.prestige = 1>>
			<<set $activeSlave.prestigeDesc = "She is a famed Free Cities slut, and can please anyone.">>
		<</if>>
		<<set $desc = "a framed article written about " + $activeSlave.slaveName + " when she debuted as a famous courtesan">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		You buy prime media coverage of her, invest in a lavish ad campaign, and even arrange for persons of great influence and fine taste to sample and review her gentle caresses. Unfortunately, popularity remains an art, not a science; though you do your best, the public mind's fancy eludes your grasp. As her owner, your reputation has @@.green;increased,@@ but in a week she'll be forgotten.
		<<set $cash -= 10000>>
		<<set $rep += 400>>
		<</replace>>
	<</if>>
<</link>>

<</if>> /* closes validity check */

repo_name: Drosil/fc

license: mit


code:
:: RE legendary whore [nobr]

<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "RIE Eligibility Check", $activeSlave = ($legendaryFacility == 1) ? $slaves.find(function(s) { return s.ID == $legendaryWhoreID; }) : $eventSlave>>

<<if (ndef $activeSlave)>> /* not found - reset variable and stop event */
	<<set $legendaryWhoreID = 0>>
	<<goto "RIE Eligibility Check">>
<<else>>

<<set $activeSlave.devotion += 4>>

The Free Cities red light areas are so overcharged with cheap and easy sex that the fashion in whores is comically unstable. This week, <<EventNameLink $activeSlave>> is in vogue. So many customers are interested in renting her body that it's necessary to assign other girls to take some of the load off her by diverting less important customers away from her.

This is a rare opportunity. Such popularity and fame is here today, and gone tomorrow. It might be possible, with a serious investment of funds in publicity, to really fix her in the public mind as a whore of note. There's no guarantee of success, but if you are successful, her value will increase a great deal.

<<link "Just capitalize on her popularity as it is">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<replace "#result">>
	You decide to limit your advantage on her temporary popularity to a little marketing and some minor price increases. You've made some unexpected @@.yellowgreen;profits,@@ and gained a little @@.green;notoriety.@@
	<<set $cash += 1000>>
	<<set $rep += 100>>
	<</replace>>
<</link>>

<<link "Invest <<print cashFormat(5000)>> in her notoriety">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 50>>
		<<replace "#result">>
		You buy media coverage of her, invest in an ad campaign, and even arrange for persons of influence and taste to sample and review her many delights. Your efforts are a success. Her current extreme popularity will fade in time, but you have managed to arrange for her a permanent place as a @@.green;notorious and very popular prostitute.@@ As her owner, your reputation has @@.green;also increased.@@
		<<set $cash -= 5000>>
		<<set $rep += 100>>
		<<set $activeSlave.prestige = 1>>
		<<set $activeSlave.prestigeDesc = "She is a famed Free Cities whore, and commands top prices.">>
		<<set $desc = "a framed pornographic advertisement for " + $activeSlave.slaveName + " from the week she became a famous whore">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		You buy media coverage of her, invest in an ad campaign, and even arrange for persons of influence and taste to sample and review her many delights. Unfortunately, popularity remains an art, not a science; though you do your best, the public mind's fancy eludes your grasp. As her owner, your reputation has @@.green;increased,@@ but in a week she'll be forgotten.
		<<set $cash -= 5000>>
		<<set $rep += 100>>
		<</replace>>
	<</if>>
<</link>>

<<link "Lavish <<print cashFormat(10000)>> on her fame">>
	<<replace "#name">>
	$activeSlave.slaveName
	<</replace>>
	<<if random(1,100) > 10>>
		<<replace "#result">>
		You buy prime media coverage of her, invest in a lavish ad campaign, and even arrange for persons of great influence and fine taste to sample and review her many delights. Your efforts are a success. Her current extreme popularity will fade in time, but you have managed to arrange for her a permanent place as a @@.green;notorious and very popular prostitute.@@ As her owner, your reputation has @@.green;also increased.@@
		<<set $cash -= 10000>>
		<<set $rep += 200>>
		<<set $activeSlave.prestige = 1>>
		<<set $activeSlave.prestigeDesc = "She is a famed Free Cities whore, and commands top prices.">>
		<<set $desc = "a framed pornographic advertisement for " + $activeSlave.slaveName + " from the week she became a famous whore">>
		<<set $trinkets.push($desc)>>
		<</replace>>
	<<else>>
		<<replace "#result">>
		You buy prime media coverage of her, invest in a lavish ad campaign, and even arrange for persons of great influence and fine taste to sample and review her many delights. Unfortunately, popularity remains an art, not a science; though you do your best, the public mind's fancy eludes your grasp. As her owner, your reputation has @@.green;increased,@@ but in a week she'll be forgotten.
		<<set $cash -= 10000>>
		<<set $rep += 200>>
		<</replace>>
	<</if>>
<</link>>

<</if>> /* closes validity check */