code:
:: P peacekeepers influence [nobr]

<<set $nextButton = "Continue", $nextLink = "Random Nonindividual Event">>

<<set $peacekeepers.influenceAnnounced = 1>>
<<setAssistantPronouns>>

General $peacekeepers.generalName has successfully declared his independence from his mother country. That nation recruited, trained, and commanded him and all his men and women, but then it sent him to keep the peace in a war-torn region, failed to give him the support he needed, and then tried to withdraw him when the costs of what support they were willing to send overtopped what weak political will the old world still has. In truth, it was only a half-step from peacekeeping force to government for General $peacekeepers.generalName and his troops. They were already the only source of public order in that area.

You provided money to General $peacekeepers.generalName to help him through this difficult time of transition, making him an investment of yours. That investment has already shown a small return; the first regular tribute of slaves arrived this week, free of charge. General $peacekeepers.generalName seems determined to pay his debts properly, and he sent you good stock, healthy menials ready for <<if $menials>>work<<if $Sweatshops>>. They're already toiling away in $arcologies[0].name's sweatshops<</if>><<else>>resale<</if>>. Even better, it seems you can expect to receive a similar shipment in perpetuity. The number of downtrodden people living in the ruins of a small country dwarfs even a Free City's appetite for slaves.

As you review intelligence from the area at your desk,
<<if $assistant>>
	$assistant.name's avatar pops up.
	<<switch $assistant.appearance>>
	<<case "monstergirl">>
		The little monster<<= _girlA>> toys with _hisA tentacle hair until you give _himA your attention. When _heA sees that _heA has it, _heA wiggles _hisA hips at you, and gives you a wink.
	<<case "shemale">>
		The slutty little shemale pops up, literally, bouncing upward buoyantly in a way that makes _hisA boobs jiggle ridiculously and _hisA cock slap wetly against _hisA stomach.
	<<case "schoolgirl">>
		The slutty little school<<= _girlA>> pops up, literally, bouncing upward so violently that _hisA skirt flies up and exposes everything. _HeA flips it back down with a giggle.
	<<case "goddess">>
		The beautiful, gravid goddess appears with _hisA usual wash of radiant golden light, and gently smoothens one of _hisA long tresses with a soft hand until _heA has your attention.
	<<case "businesswoman">>
		The stacked business<<= _womanA>> appears hugging a tablet to _hisA generous bosom, squashing _hisA cleavage upward and indicating that _heA has important information for you.
	<<case "amazon">>
		The ferocious little warrior _womanA stands up straight, cutely muscular and full of self-importance, as though _heA has something _heA'd like to share.
	<<case "fairy">>
		The little fairy appears on your table, flailing around while _hisA body lights up. _HeA bends over and starts slapping _hisA butt at you and giggling. _HisA slapping turns into groping, and _heA gets lost in molesting _hisA own ass. Clearing your throat, _heA looks upside down between _hisA legs and sees that _heA finally has your attention.
	<<case "pregnant fairy">>
		The little fairy appears on your table, leaning towards you and squishing _hisA breasts together to show off _hisA cleavage. You completely fail to notice _himA. _HeA tries again, turning around and bending over and shaking _hisA butt while looking back at you. Yet again _heA fails to draw your attention. Frustrated, _heA sits on the table, spreading _hisA legs and showing off _hisA pussy. Peeking over _hisA swollen belly, _heA sees that you're not even looking at _himA. _HisA tiny body is just too small to garner your attention. It's not for a few minutes until you notice _himA sitting up on the desk, looking away with _hisA arms crossed and pouting.
	<<case "hypergoddess">>
		The beautiful, massively gravid goddess appears with _hisA usual wash of radiant golden light, and gently calms _hisA squirming occupants until _heA has your attention.
	<<case "loli">>
		The cute little _loliA pops up, literally, bouncing upward again and again until _heA is absolutely certain _heA has your attention.
	<<case "preggololi">>
		The slutty little _loliA appears bent over flashing _hisA pregnant pussy at you. _HeA giggles and straightens up once _heA is absolutely certain you've given _hisA moist cleft enough attention.
	<<case "angel">>
		The beautiful angel appears in _hisA usual wash of radiant white light and gently folds _hisA wings behind _himA as _heA patiently awaits your attention.
	<<case "cherub">>
		The cute little cherub appears in _hisA usual wash of radiant white light and flutters around until _heA has your attention.
	<<case "incubus">>
		The hung sex demon pops up, bouncing upward buoyantly in a way that makes _hisA erect cock slide along _hisA stomach. Stimulation just enough, _heA blows a huge load across your desk while moaning lewdly; _heA knows how to get your attention.
	<<case "succubus">>
		The slutty little sex demoness pops up.
		<<switch $assistant.fsAppearance>>
		<<case "paternalist">>"<<print $PC.slaveName>>, would you help me with this zipper?"
		<<case "degradationist">>"<<print $PC.slaveName>>, what do you think of these piercings?"
		<<case "physical idealist">>"<<print $PC.slaveName>>, bet you I can lift this!"
		<<case "hedonistic decadence">>"<<print $PC.slaveName>>, is there food on my face?"
		<<case "repopulation focus">>"<<print $PC.slaveName>>, my water broke."
		<<case "gender radicalist">>"<<print $PC.slaveName>>, do you think <<if $arcologies[0].FSGenderRadicalistLawFuta == 3>>my ass could be bigger?"<<else>>this outfit makes me look too girly?"<</if>>
		<<case "gender fundamentalist">>"<<print $PC.slaveName>>, would I make a good mother?"
		<<case "asset expansionist">>"<<print $PC.slaveName>>, I feel like my breasts got smaller, what do you think?"
		<<case "transformation fetishist">>"<<print $PC.slaveName>>, how do you think these implants would look in me?"
		<<case "pastoralist">>"Oh <<print $PC.slaveName>>, I'm so backed up. Would you give me a hand?"
		<<case "slimness enthusiast">>"<<print $PC.slaveName>>, do <<if $arcologies[0].FSSlimnessEnthusiastLaw == 1>>these look bigger to you?"<<else>>you think they're getting bigger?"<</if>>
		<<case "slave professionalism">>"Hey <<print $PC.slaveName>>, what's most useful when it's long and hard? An education, of course!"
		<<case "petite admiration">>"<<print $PC.slaveName>>, I think I grew a little."
		<<case "statuesque glorification">>"<<print $PC.slaveName>>, are these heels long enough?"
		<<default>>_HeA spasms with a powerful orgasm and moans lewdly and loudly.
		<</switch>>
		_HeA knows just how to get your attention.
	<<case "imp">>
		The scandalous little imp swoops into view and eagerly stares at you, as if _heA has some juicy gossip to tell you.
	<<case "witch">>
		The cute little witch pops up, before blushing and undressing. An important message for you is scrawled across _hisA skin.
	<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
		Your shapeshifting assistant pops out of a crack on your desk, _hisA belly swollen with something. _HeA bends over and pushes out information for you, though you're not sure how.
	<<default>>
		The round symbol pulses brightly, _hisA way of indicating that _heA has important information for you.
	<</switch>>
	"General $peacekeepers.generalName's men and women are using sex slaves," _heA reports, and brings up a trove of surveillance data to back up _hisA assertion. "It was unofficial at first,
	<<switch $assistant.appearance>>
	<<case "monstergirl">>
		just people with weapons in their hands doing what people with power over others do," _heA explains approvingly, showing _hisA fangs.
	<<case "shemale">>
		just hot guys sticking their dicks in the local girls," _heA explains, masturbating openly.
	<<case "schoolgirl">>
		just boys blowing off a little steam with the local girls," _heA explains nastily.
	<<case "goddess">>
		just the sort of thing men with arms in their hands have been doing to the locals for thousands of years," _heA explains.
	<<case "businesswoman">>
		normal behavior for soldiers under severe stress in areas with civilians," _heA explains, sounding vaguely disapproving of something so uncivilized.
	<<case "amazon">>
		just warriors letting off steam with the local girls," _heA explains, making it sound like the most natural thing in the world.
	<<case "fairy">>
		just some boys and girls doing those bedroom sports for indoor types" _heA explains.
	<<case "pregnant fairy">>
		just some guys having fun with those bigger girls" _heA explains, sounding annoyed for some reason.
	<<case "hypergoddess">>
		just the boys trying to make sure they have someone to carry on their legacy, I'm sure," _heA states hopefully.
	<<case "loli">>
		just wrestling and dancing," _hisA innocence shining through _hisA explanation.
	<<case "preggololi">>
		just the guys enjoying some fresh young girls," _heA says with a hint of jealousy.
	<<case "angel">>
		just the strong taking what they want without consideration," _heA sighs, sounding disapproving of something so uncivilized.
	<<case "cherub">>
		simply the satisfaction of one's urges," _heA says with disappointment.
	<<case "incubus">>
		just men enjoying new holes," _heA explains, masturbating openly.
	<<case "succubus">>
		just seductresses doing what they do," _heA explains, masturbating openly.
	<<case "imp">>
		just the victors enjoying the spoils," _heA says, a hint of excitement in _hisA voice.
	<<case "witch">>
		just soldiers relaxing after a hard day," _heA explains.
	<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
		just the conquerors using what's theirs," _heA explains, making it sound like the most natural thing in the world.
	<<default>>
		just the common behavior of troops under severe stress in areas with civilians," _heA explains.
	<</switch>>
	"But it's spread, and with their independence, General $peacekeepers.generalName has decided to bring it under control by setting up official slave brothels for his troops. @@.yellow;The officer in charge of staffing these doesn't have enough money to pay Free Cities prices, but I've added him to the standard slave sale interface.@@ Selling sex slaves to him at a price General $peacekeepers.generalName's people can afford would bring them closer to $arcologies[0].name."
	<<switch $assistant.appearance>>
	<<case "monstergirl">>
		_HeA strokes _hisA cocks meaningfully. "Selling them a particularly distinctive, valuable girl might even influence their tastes. Imagine, manipulating an entire army by providing it with skilled whores." _HeA shudders.
	<<case "shemale">>
		_HeA strokes _hisA cock meaningfully. "Oh, and they could even develop into a regular market if they're sold distinctive, valuable girls. We should totally get them addicted to anal whores." To make _hisA meaning perfectly clear, _heA sticks out _hisA butt and winks _hisA lewd little anus.
	<<case "schoolgirl">>
		_HeA flashes _hisA breasts, as though to an appreciative crowd. "If we sell them hotties, it'll get them even more used to us," _heA says naughtily. "Get them used to Free Cities girls sucking their dicks all the time!"
	<<case "goddess">>
		_HeA caresses _hisA pregnancy. "If we sell them some of our best slaves, I'm sure their virtues will win General $peacekeepers.generalName's men and women over," _heA says confidently. "It'd be like sending some of my own out to love each and every one of them."
	<<case "businesswoman">>
		_HeA fans _himselfA, flushing at the possibilities. "Just think, they might develop into a regular, profitable market for sex slaves if they're sent top-quality product at first to build up the brand," _heA says huskily, and then climaxes.
	<<case "amazon">>
		_HeA flexes _hisA muscles, crossing _hisA arms under _hisA big breasts and feeling _hisA own biceps thoughtfully. "Selling them good stock would make them like us even more, I bet," _heA says. "Sharing a good slut around the campfire is a good way to make friends!"
	<<case "fairy">>
		_HeA reaches behind _himselfA and starts groping _hisA butt again. "If we sell them some super cuties, they'll really love us!" _heA giggles as _heA gives _himselfA a playful slap.
	<<case "pregnant fairy">>
		Since _heA has your attention now, _heA slowly spreads _hisA legs and flashes _hisA pussy once again. Seeing you watch with interest this time, a small smile creeps up on _hisA face. "If we sell them some of our prettier girls, they'll be sure to warm up to us."
	<<case "hypergoddess">>
		_HeA caresses _hisA pregnancy. "If we sell them some of our fertile slaves, I'm sure their burgeoning pregnancies will ease them into relying on us," _heA says confidently. "Or at least it will result in more slaves later on."
	<<case "loli">>
		_HeA claps excitedly. "If we sell them new friends, then they'll hear from them about how great the Free Cities are and want to become our friends too!" _heA says hopefully, eager to meet all the newcomers to the arcology.
	<<case "preggololi">>
		_HeA claps excitedly. "I don't know what they think of lolis, but selling them a few cute little slave girls will surely warm them up to us," _heA says, patting _hisA belly. "Plus, I'm sure they'll love how tight they are and how much energy they have once you break them in!"
	<<case "angel">>
		_HeA wrings a wing nervously. "If we send them nice girls, we'd be doing a disservice to them by sending them away. But if we don't, how can we be certain that the girls they have will be well cared for? We definitely need to teach them our ways," _heA concludes.
	<<case "cherub">>
		_HeA lands and ponders deeply. "We have to show them the right way before they get mislead. Some of our finest girls should help convert them to our ways!"
	<<case "incubus">>
		_HeA strokes _hisA cock meaningfully. "Oh, and they could even develop into a regular market if they're sold distinctive, sexy girls. We should totally get them addicted to rape." _HeA makes several thrusting motions.
	<<case "succubus">>
		_HeA fingers _hisA pussy meaningfully. "Oh, and they could even develop into a regular market if they're sold distinctive, sexy girls. Plus that means more money for you, and less competition for me." _HeA winks.
	<<case "imp">>
		_HeA punches _hisA fist into _hisA palm. "We should sell them sexy, but unbroken, girls. That way they can learn to love breaking slaves into proper sex toys!" _HeA shivers with orgasm at the thought.
	<<case "witch">>
		_HeA runs _hisA hat through _hisA hands. "If we sell them skilled girls, they'll grow closer to us. But we have to be careful not to send them klutzes like me; not everyone finds that adorable." _HeA takes the time to mend the rip _heA accidentally tore in _hisA hat's brim.
	<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
		_HeA ponders deeply. "We could sell them the most loyal girls we have. They'll naturally lead them back to us. And then they are ours to do as we please," _heA says smiling deviously.
	<<default>>
		_HisA symbol takes on a rapid succession of pulsating lewd shapes, signifying some of the arcology's better varieties of sex slaves. "If they're sold good product, they may become a reliable market," _heA asserts.
	<</switch>>
<<else>>
	your personal assistant appears to offer a suggestion. "I have collated data on the use of unofficial sex slaves by General $peacekeepers.generalName's forces," _heA reports. "Despite the high state of readiness of his forces, the use of comfort women seems to have become widespread. Characteristically, the general has responded to this by accepting the new status quo, and is setting up recreation centers to ensure that the practice does not become disruptive. One of his officers has been tasked with obtaining appropriate sex slaves, but does not have sufficient resources to pay Free Cities prices. @@.yellow;The purchasing officer may appear as a slave buyer through the standard slave sale interface.@@ It may be possible to influence them by selling them high-quality slaves."
<</if>>


code:
:: P peacekeepers intro [nobr]

<<set $nextButton = "Continue", $nextLink = "Random Nonindividual Event">>

<<set $peacekeepers = {generalName: setup.whiteAmericanSlaveSurnames.random(), strength: 20, attitude: 0, independent: 0, undermining: 0, influenceAnnounced: 0, tastes: 0}>>
<<if $continent == "Africa" || $continent == "Western Europe">>
	<<set $peacekeepers.generalName = setup.frenchSlaveSurnames.random()>>
<<elseif $continent == "Asia" || $continent == "Australia">>
	<<set $peacekeepers.generalName = setup.chineseSlaveSurnames.random()>>
<<elseif $continent == "Central Europe" || $continent == "Scandinavia">>
	<<set $peacekeepers.generalName = setup.germanSlaveSurnames.random()>>
<<elseif $continent == "Eastern Europe">>
	<<set $peacekeepers.generalName = setup.russianSlaveSurnames.random()>>
<<elseif $continent == "Southern Europe">>
	<<set $peacekeepers.generalName = setup.italianSlaveSurnames.random()>>
<<elseif $continent == "Brazil">>
	<<set $peacekeepers.generalName = setup.brazilianSlaveSurnames.random()>>
<<elseif $continent == "Japan">>
	<<set $peacekeepers.generalName = setup.japaneseSlaveSurnames.random()>>
<</if>>

The aftermath of the attack on the Free City by forces from the neighboring failed state grows grimmer by the day. Not that the situation isn't without its good points, from your perspective. For one thing, the supply of helpless refugees has never been better. The Free City's victory over the invaders was
<<if $invasionVictory > 2>>
	almost completely one-sided. The fighting bore some resemblance to Victorian soldiers of empire machine-gunning native warriors armed with spears. Everyone with any appetite for an attack on the Free City in that area is already quite dead.
	<<set $peacekeepers.attitude += 5>>
<<else>>
	hard-fought, but the attackers did most of the dying. Modern weapons are powerful, especially on the defensive, and there's no appetite in that area to repeat the experiment.
<</if>>
There are still enough weapons and desperate people there to keep banditry and warlordism going more or less indefinitely, though.

Having the area revert to a Hobbesian wilderness might not be too annoying for you and your peers in the Free City, but to an old world country, it's not a good thing to have next door. And there are still old world countries with the ability and the will to project power. After a spate of bad incidents, rumors have started that the strongest remaining old world nation in this part of the world will be sending a peacekeeping force to stabilize the area. This is a cynical time and the rumors stay just that, rumors, until one day $assistant.name announces that you're receiving an unscheduled call from a general officer. General $peacekeepers.generalName, in point of fact. One of the most dynamic military leaders the old world has.

"In a few hours," says the general, "my country is going to announce the deployment of a peacekeeping force to the lawless area next to your Free City." It should sound like a threat, but it doesn't. The general's body language is erect and military, but not intimidating. He continues, "I want to be clear. We intend to stabilize the region. We have no ill intentions toward your Free City, and I see no reason why our interests should ever come into conflict." Despite the direct delivery, he isn't reading from a script that you can see.
<<if $PC.skill.warfare >= 100 && $invasionVictory > 2>>
	"As one warrior to another, that was damn fine work you did defending your city. It's good to see tough people doing well in the Free Cities."
	<<set $peacekeepers.attitude += 5>>
<<else>>
	"I congratulate you on your part in the recent victory. I'm contacting you because you get results. You seem like someone I might be able to work with."
<</if>>
He spreads his hands. "I don't have anything to suggest, not yet. But if I see an opportunity for a mutually beneficial arrangement, I wouldn't want to be approaching you for the first time to discuss it."

As he spoke, you and $assistant.name surreptitiously checked out what he said. He seems to be telling the truth, and he's correct that your interests won't be immediately affected. Nevertheless, this is a concerning development. General $peacekeepers.generalName will have thousands of troops and a lot of military hardware under his able command, more or less right next door to the Free City. He might not intend to overstep the bounds of his peacekeeping mandate, but that's no guarantee that his civilian superiors back home won't decide to order him to. Worse, the politics of the Free Cities are almost unanimously hostile to old world power; there will be public resentment about this. On the other hand, General $peacekeepers.generalName has been successful in these difficult times in no small part due to his willingness to bend the rules. If he sees an opportunity to work with an ambitious arcology owner in furtherance of his goals, he'll probably take it.

<<link "Tell him you disapprove of old world meddling in the Free City's sphere of influence">>
	<<replace "#result">>
		You tell him that you consider that area within the Free City's area of influence now, and that you disapprove of old world meddling. "Interesting," he says, noncommittal. "It takes real power projection to maintain a real sphere of influence. It remains to be seen whether your Free City has it. In the meantime, we'll pursue our mission." He inclines his head respectfully, and ends the call. Word of your brusque defense of the Free City's growing influence gets around, @@.green;greatly improving your reputation.@@
		<<set $peacekeepers.attitude -= 10>>
		<<run repX(5000, "event")>>
	<</replace>>
<</link>>

<<link "Respond politely, but avoid committing yourself">>
	<<replace "#result">>
		You respond politely, stating that you're always willing to listen to business proposals, and that you approach each situation without preconceptions. General $peacekeepers.generalName understands the unspoken subtext, and that you're not willing to commit yourself to anything definite as yet. He understands, and matches your show of respect before ending the call.
	<</replace>>
<</link>>

<<link "Share intelligence on that area as a basis for further cooperation">>
	<<replace "#result">>
		You immediately forward him your intelligence dossier on that area, all but the most sensitive items. His eyes widen fractionally as he sees the data coming over the link. Before he can thank you, you offer him good wishes for the success of his mission, and communicate a willingness to work together in the future to advance the stability and prosperity of the whole region. He recovers his equipoise and expresses gratitude, though without committing himself too thoroughly.
		<<set $peacekeepers.attitude += 5>>
	<</replace>>
<</link>>

repo_name: Welptard/fc

license: mit


code:
:: P raid invitation [nobr]

<<set $nextButton = "Continue", $nextLink = "Random Nonindividual Event">>

<<set $eventResults.raid = 0, $eventResults.raidTarget = 0>>

The former country whose citizens launched the ultimately futile attack on the arcology has continued to degenerate. After a series of civil disturbances and minor natural disasters, the nearest major city is being abandoned by its few remaining residents. A regional warlord is threatening the area, so they are streaming in small parties towards another city that is not yet under his shadow.

The citizens of $arcologies[0].name view their discomfiture without much pity. These people almost certainly would have abused them just as much as they are now in danger of being abused themselves, had the attack on the Free City been a success. There would be little to no criticism if you and your mercenary contingent were to take this unique opportunity to corral one of the refugee groups. They are refugees, after all; no one will miss them.

Fund a quick raid on the refugees with <<print cashFormat(5000)>>, targeting:

    <<link "Ex-soldiers">>
	<<replace "#result">>
	Your mercenaries probably would have been enthusiastic even before the recent combat, but now they're positively eager. The split agreed upon is that they keep the proceeds from the sale of anything that isn't sex slave material, while you keep anything that is.
	<<run cashX(-5000, "war")>>
	<<set $eventResults.raid = 1>>
	<<set $eventResults.raidTarget = 1>>
	<</replace>>
<</link>>

    <<link "Healthy civilians">>
	<<replace "#result">>
	Your mercenaries probably would have been enthusiastic even before the recent combat, but now they're positively eager. The split agreed upon is that they keep the proceeds from the sale of anything that isn't sex slave material, while you keep anything that is.
	<<run cashX(-5000, "war")>>
	<<set $eventResults.raid = 1>>
	<<set $eventResults.raidTarget = 2>>
	<</replace>>
<</link>>

    <<link "The largest possible group of slaves">>
	<<replace "#result">>
	Your mercenaries probably would have been enthusiastic even before the recent combat, but now they're positively eager. The split agreed upon is that they keep the proceeds from the sale of anything that isn't sex slave material, while you keep anything that is.
	<<run cashX(-5000, "war")>>
	<<set $eventResults.raid = 1>>
	<<set $eventResults.raidTarget = 3>>
	<</replace>>
<</link>>

Or, simply:

    <<link "Let them go">>
	<<replace "#result">>
	Some of the refugees make it to safety. Some do not.
	<</replace>>
<</link>>


code:
:: P raid result [nobr]

<<set $nextButton = "Continue", $nextLink = "Random Nonindividual Event">>

<<set $eventResults.raid = 0>>

As your VTOL craft carries you and your mercenaries out towards an area ideal for a quick raid on the refugee bands, the sensors begin to reveal that there are actually many more bands than you originally suspected. The single aircraft does not carry enough mercenaries to target more than one group, or have the cargo capacity to haul more than one back to the arcology before they disperse. Your mercenary commander makes a selection based on your instructions.

Out ahead of the main body of refugees there is a small knot moving quickly and in good order, carrying weapons. Farther back, there is a larger group separated from the main body who could be easily isolated. And finally, it seems a group of sick and injured refugees have clustered around a tent where there must be medical assistance of some kind.

<<set _newSlaves = []>>
<<if $eventResults.raidTarget == 1>>
	Under orders to target resistance, your mercenaries target the leading group. They even manage to direct a little small arms fire at the VTOL craft as it circles them, dropping mercenaries and plying its nonlethal weapons, but they are of course rapidly defeated. Your share is two slaves in good physical condition, who prove to have been survivors of the defeated attack on the arcology. The mercenaries find after a data search that one of the prisoners whose part of their share was a minor leader in the anti-Free Cities movement. After a quick consultation over their radios, the mercenaries decide that a summary execution out here would be too quick for the wretch, and bring their prize back to the arcology for more thorough punishment. Between the successful raid and the capture of this public enemy, @@.green;the citizens are quite impressed by you.@@
	<<run repX(2500, "event")>>
	<<for _prr = 0; _prr < 3; _prr++>>
		<<if ($seeDicks > 0)>>
			<<set _slave = GenerateNewSlave("XY")>>
			<<set _slave.origin = "$He is an enslaved refugee who participated in the defeated attack on your arcology.">>
			<<set _newSlaves.push(_slave)>>
		<<else>>
			<<set _slave = GenerateNewSlave("XX")>>
			<<set _slave.origin = "$He is an enslaved refugee who participated in the defeated attack on your arcology.">>
			<<set _newSlaves.push(_slave)>>
		<</if>>
	<</for>>
<<elseif $eventResults.raidTarget == 2>>
	Under orders to target civilians, your mercenaries head for the isolated group. When the VTOL descends to circle around the large group of refugees, it becomes obvious that it won't even be necessary to expend nonlethal ammunition. A few of the refugees throw themselves down in bitterness, but most just subside into the catatonia of helplessness. They stand quiescent as they are searched, tagged, and loaded onto the VTOL like the wretched human refuse they are. The successful raid @@.green;is the talk of the Free City.@@
	<<run repX(1000, "event")>>
	<<for _prr = 0; _prr < 4; _prr++>>
		<<set _slave = GenerateNewSlave()>>
		<<set _slave.origin = "$He is an enslaved refugee.">>
		<<set _newSlaves.push(_slave)>>
	<</for>>
<<else>>
	<<set _nurseGender = $seeDicks == 100 ? 100 : 0>> /* nurse gender is female unless seeDicks is 100 */
	<<setNonlocalPronouns $seeDicks>>
	Under orders to target the largest possible group of people, your mercenaries head for the sick and injured. As the VTOL settles, it becomes apparent that most of the injuries are from combat, almost certainly in the defeat at $arcologies[0].name. The tent proves to contain a harassed nurse, almost without medical supplies and at the end of _hisU rope. When _heU sees the mercenaries push through the tent flap, _heU heaves a sigh of mixed defeat and relief and wordlessly offers _hisU wrists. The mercenaries give you a larger share of the other slaves in return for _himU: they tell you in confidence that _heU'll be a medical asset to them as well as the usual amusement. The successful raid @@.green;is the talk of the Free City.@@
	<<set $eventResults.slaveMedic = 1>>
	<<run repX(1000, "event")>>
	<<for _prr = 0; _prr < 5; _prr++>>
		<<set _slave = GenerateNewSlave()>>
		<<set _slave.origin = "$He is an enslaved refugee who was wounded in the defeated attack on your arcology.">>
		<<run setHealth(_slave, jsRandom(-50, 40), normalRandInt(20, 3), normalRandInt(15, 3), Math.max(normalRandInt(0, 1), 0), jsRandom(40, 80))>>
		<<set _newSlaves.push(_slave)>>
	<</for>>
<</if>>

<<link "Sell your prisoners immediately">>
	<<replace "#result">>
	<<for _prr = 0; _prr < _newSlaves.length; _prr++>>
		<<set _slaveCost = slaveCost(_newSlaves[_prr])>>
		<<run cashX(_slaveCost, "slaveTransfer")>>
	<</for>>
	Prisoners sold.
	<</replace>>
<</link>>

<<link "Give your prisoners to citizens injured in the recent invasion">>
	<<replace "#result">>
	<<for _prr = 0; _prr < _newSlaves.length; _prr++>>
		<<set _slaveCost = slaveCost(_newSlaves[_prr])>>
		<<run repX(Math.trunc(_slaveCost/10), "event")>>
	<</for>>
	Prisoners @@.green;given away.@@
	<</replace>>
<</link>>

<<link "Enslave all of the refugees">>
	<<replace "#result">>
	<<for _prr = 0; _prr < _newSlaves.length; _prr++>>
		<<run newSlave(_newSlaves[_prr])>> /* skip New Slave Intro */
	<</for>>
	You simply enslave all of the refugees yourself. They would have been worse off had you not intervened.
	<</replace>>
<</link>>


code:
:: P rival initiation [nobr]

<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Scheduled Event", $rivalOwner = 0, $rivalOwnerEnslaved = 1>>
<<if $hostageRescued == 1>><<set $nextButton = "See to the hostage", $returnTo = "P hostage acquisition">><</if>>

<<set $activeSlave = getSlave($rivalID)>>

<<if ndef $activeSlave>> /* rival slave is gone */

	<<goto $returnTo>>

<<else>>

<<run App.Utils.setLocalPronouns($activeSlave)>>

This is a special week, the week of your victory. <<= App.UI.slaveDescriptionDialog($activeSlave)>> awaits your pleasure. You could certainly do to $him anything and everything you usually do to your chattel. You could also do something special to mark the occasion.

<<link "Force $him to do a public relations tour with you">>
	<<replace "#result">>
	Though $he hates you with all $his heart, $he knows better than most what happens to slaves who disobey. So, when you describe your public relations plans to $him, $he promises to obey before you even get to the threats. $He finds $himself accompanying you to the arcology's finest establishment in a lovely evening dress. The two of you share an understandably quiet meal, with a growing crowd coming to leer at the defeated slaveowner-cum-slave. At a prearranged signal from you, $he stands, quickly strips naked, gets down on <<if hasBothLegs($activeSlave)>>$his knees<<else>>the ground<</if>>, and <<if $PC.dick != 0>>sucks you off<<if $PC.vagina != -1>> and <</if>><</if>><<if $PC.vagina != -1>>eats you out<</if>>. Such public humiliation starts $him down the path of @@.hotpink;obedience,@@ and is the @@.green;talk of the Free Cities.@@
	<<set $activeSlave.devotion += 4, $activeSlave.counter.oral += 1, $oralTotal += 1>>
	<<run repX(2500, "event", $activeSlave)>>
	<<set $rivalID = 0>>
	<</replace>>
<</link>>

<<link "Make $him orally service your other slaves in public">>
	<<replace "#result">>
	<<setLocalPronouns $slaves[1] 2>>
	$slaves[0].slaveName leads $him out into the arcology's largest atrium, forces $him to <<if hasBothLegs($activeSlave)>>$his knees<<else>>the ground<</if>>, and, in full view of the whole arcology, orally rapes someone who was until this week a slaveowner $himself. Behind them, $slaves[1].slaveName is standing ready for _his2 turn, and all your other slaves stand behind _him2. Public opinion is divided; the precedent is universally agreed to be bad, but the punishment is generally thought to be terrible and deserved. Your slaves, however, are almost insufferably @@.hotpink;pleased with you@@ for forcing $activeSlave.slaveName, whom they still view as a slaveowner, to pleasure them.
	<<set $activeSlave.counter.oral += $slaves.length*2, $oralTotal += $slaves.length*2>>
	<<run $slaves.forEach(function(s) { s.devotion += 10; })>>
	<<set $rivalID = 0>>
	<</replace>>
<</link>>
<<if $activeSlave.anus == 0>>

<<link "Break in $his asshole and then let the public use it">>
		<<replace "#result">>
			$activeSlave.slaveName, who has been fairly dignified up to this point, breaks down when $he's placed in stocks with $his ass in the air. $His sobs become screams when, for the first time in $his life, $he feels the burning sensation of a well-lubricated <<if $PC.dick != 0>>cockhead<<else>>strap-on<</if>> forcing its way past $his virgin sphincter. Raping a virgin anus is not a new pleasure for you, but the usual shrieking, struggling and spasming is all the sweeter this time. @@.green;Half the arcology@@ has used $his @@.red;poor injured butthole@@ by the end of the day; $he @@.gold;is learning to fear you,@@ and hates you @@.mediumorchid;even more@@ if possible.
			<<set $activeSlave.devotion -= 4, $activeSlave.trust -= 5, $activeSlave.anus = 3>>
			<<run seX($activeSlave, "anal", "public", "penetrative", 47)>>
			<<run repX(2500, "event", $activeSlave), healthDamage($activeSlave, 10)>>
			<<set $rivalID = 0>>
		<</replace>>
	<</link>>
<</if>>
<<if ($activeSlave.balls > 0) && ($activeSlave.boobs > 300) && ($seeExtreme == 1)>>

<<link "Publicly geld $him">>
		<<replace "#result">>
		You announce that since $activeSlave.slaveName has spent so much money and effort turning $himself into a girl with expensive hormones, you'll take a lower-tech step to bring $him further in that regard. An autosurgery is set up in public and the populace is treated to the edifying spectacle of a very large pair of testicles being efficiently removed by the modern surgical art. Unusually, $he was not given general anesthesia, but instead given local painkillers and made to watch on a monitor, to $his @@.gold;rage@@ and @@.mediumorchid;horror.@@ There is @@.green;applause@@ as the cauterizer seals the surgical site where $his massive scrotum used to hang. $His cock looks softer already.
		<<set $activeSlave.devotion -= 50, $activeSlave.trust -= 50, $activeSlave.balls = 0>>
		<<run repX(2500, "event", $activeSlave), healthDamage($activeSlave, 10)>>
		<<set $rivalID = 0>>
		<</replace>>
	<</link>>
<</if>>
<<if (isFertile($activeSlave)) && ($seePreg == 1)>>

<<link "Let the public impregnate $him">>
		<<replace "#result">>
			You announce that since $activeSlave.slaveName damaged the arcology, $he will be taking a leading role in the reconstruction. $He will be doing this by replacing one of the residents killed in the violence — by bearing a new slave, to be conceived collectively. The shame and @@.mediumorchid;horror@@ of $his future as breeding stock comes home to $him as $he's restrained in a chair with $his legs spread. Soon, the stream of fluids is running down $his @@.lime;thoroughly-fucked pussy@@ and over $his anus to pool on the floor beneath $him. Modern medical imaging reveals $his fertile ovum's last, losing battle against a legion of sperm in real time, and the images are projected on large screens.
			<<run seX($activeSlave, "vaginal", "public", "penetrative", 47)>>
			<<set $activeSlave.preg = 1, $activeSlave.pregSource = -2, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.devotion -= 15>>
			<<set $activeSlave.pregType = setPregType($activeSlave)>>
			<<set WombImpregnate($activeSlave, $activeSlave.pregType, -2, 1)>>
			<<set $activeSlave.vagina = 3>>
			<<run repX(2500, "event", $activeSlave)>>
			<<set $rivalID = 0>>
		<</replace>>
	<</link>>
<</if>>

<</if>> /* def $activeSlave */