Skip to content
Snippets Groups Projects
RESS.tw 1.24 MiB
Newer Older
pregmodfan's avatar
pregmodfan committed

/* This is one of several files that contains and organizes many different events.	*/
klorpa's avatar
klorpa committed
/*	genericPlotEvents.tw															*/
/*	PESS.tw: Player Event, Single Slave												*/
/*	PETS.tw: Player Event, Two Slaves												*/
/*	RECI.tw: Random Event, Check In													*/
/*	REFI.tw: Random Event, Fetish Interest											*/
/*	REFS.tw: Random Event, Future Societies											*/
/*	RESS.tw: Random Event, Single Slave												*/
/*	RESSTR.tw: Random Event, Single Slave (Test Realm, for debugging events)		*/
/*	RETS.tw: Random Event, Two Slaves												*/
/*																					*/
/* Events can also be in a dedicated *.tw file, formatted as follows:				*/
klorpa's avatar
klorpa committed
/*	jeXXXXX.tw: Justice Event														*/
/*	pXXXXXX.tw: Player event														*/
/*	peXXXXX.tw: Player Event focused on a slave										*/
/*	reXXXXX.tw: Random Event														*/
/*	resXXXX.tw: Random Event, School												*/
/*	seXXXXX.tw: Slave Event, focuses on slaves coming or going						*/
/*	securityForceXXXXX.tw: Special (Security) Force event							*/
/*																					*/
/* Some scenes are also stored in useGuard.tw, walkPast.tw, and toychest.tw			*/

Pregmodder's avatar
Pregmodder committed
<<if Array.isArray($RESSevent)>>
klorpa's avatar
klorpa committed
	<<set $activeSlave = $eventSlave>>
	<<if $cheatMode == 1>>
		<<set $nextButton = "Back", $nextLink = "Nonrandom Event", $returnTo = "Nonrandom Event">> /* if user just clicks spacebar */
		''A random single slave event would have been selected from the following:''
klorpa's avatar
klorpa committed
		<<for _i = 0; _i < $RESSevent.length; _i++>>
			<<print "[[$RESSevent[_i]|RESS][$RESSevent = $RESSevent[" + _i + "]]]">>
			<br>
		<</for>>
		<br><br>[[Go Back to Random Individual Event|Random Individual Event][$activeSlave = 0]]
	<<else>>
		<<set $RESSevent = $RESSevent.random()>>
		<<goto "RESS">>
	<</if>>
Pregmodder's avatar
Pregmodder committed
<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Next Week", _didAnal = 0, _didVaginal = 0>>
lowercasedonkey's avatar
lowercasedonkey committed
<<set _clothesTemp = $activeSlave.clothes>>
<<switch $RESSevent>>
klorpa's avatar
klorpa committed
/*Some events start with the slave naked (any event that starts with the daily inspection, for example). Here we switch their clothing just for the image to load, then switch it back quickly so the player's choice is not messed up.*/
<<case "age implant" "ara ara" "back stretch" "bad dream" "bed snuggle" "bondage gear" "bonded love" "breast expansion blues" "confident tanning" "devoted exhibition" "devoted lotion" "desperate null" "devoted nympho" "extreme aphrodisiacs" "fearful balls" "fucktoy tribbing" "gaped asshole" "happy dance" "heavy piercing" "huge naturals" "huge tits" "hugely pregnant" "ignorant horny" "implant inspection" "language lesson" "mindbroken morning" "modest clothes" "mods please" "old PC age difference" "orchiectomy please" "PA flirting" "penitent" "permitted masturbation" "plimb help" "rebellious arrogant" "resistant gelding" "resistant shower" "resting amp" "restricted profession" "restricted smart" "sexy succubus" "shaped areolae" "shift masturbation" "shift sleep" "shower slip" "slave dick huge" "sleeping ambivalent" "sore shoulders" "spa boobs" "subjugation blues" "tendon fall" "terrified inspection" "tittymonster inspection" "torpedo squeeze" "transition anxiety" "trusting HG" "unhappy virgin" "used whore" "vocal disobedience" "young PC age difference">>
klorpa's avatar
klorpa committed
	<<set $activeSlave.clothes = "no clothing">>
<<case "whore rebellious">>
	/* this scene states they are wearing "thick, durable latex with temperature regulation and anchor points for restraint" no matter what they are assigned to wear. */
	<<set $activeSlave.clothes = "restrictive latex">>
<<case "inconvenient labia">>
	/* "pulling down the compression shorts $he was wearing" */
	<<if isItemAccessible.entry("sport shorts", "clothing")>>
klorpa's avatar
klorpa committed
		<<if $activeSlave.boobs >= 650>>
			<<set $activeSlave.clothes = "sport shorts and a sports bra">>
lowercasedonkey's avatar
lowercasedonkey committed
		<<else>>
klorpa's avatar
klorpa committed
			<<set $activeSlave.clothes = "sport shorts">>
lowercasedonkey's avatar
lowercasedonkey committed
		<</if>>
klorpa's avatar
klorpa committed
	<<else>>
klorpa's avatar
klorpa committed
		<<set $activeSlave.clothes = "spats and a tank top">>
klorpa's avatar
klorpa committed
	<</if>>
lowercasedonkey's avatar
lowercasedonkey committed
<</switch>>
klorpa's avatar
klorpa committed
<<if $RESSevent == "mean girls">>
	<<set _newSlaves = []>>
	<<for _ress = 0; _ress < 3; _ress++>>
		<<if $arcologies[0].FSSupremacistLawME == 1>>
lowercasedonkey's avatar
lowercasedonkey committed
			<<set _race = $arcologies[0].FSSupremacistRace>>
		<<elseif $arcologies[0].FSSubjugationistLawME == 1>>
			<<set _races = setup.filterRacesLowercase.filter(race => race !== $arcologies[0].FSSubjugationistRace)>>
lowercasedonkey's avatar
lowercasedonkey committed
			<<set _race = _races.random()>>
		<</if>>
lowercasedonkey's avatar
lowercasedonkey committed
		<<set _meanGirl = GenerateNewSlave("XX", {minAge: 16, maxAge: 19, ageOverridesPedoMode: 1, nationality: "American", race: _race, disableDisability: 1})>>
Pregmodder's avatar
Pregmodder committed
		<<set _meanGirl.origin = "You enslaved $him for abusing " + $eventSlave.slaveName + " while " + getPronouns($eventSlave).pronoun + " was serving the public.">>
klorpa's avatar
klorpa committed
		<<set _meanGirl.career = "a student">>
		<<set _meanGirl.markings = "none", _meanGirl.weight = -20>>
		<<set _meanGirl.devotion = random(-80,-60)>>
		<<set _meanGirl.trust = random(-20,-10)>>
		<<set _meanGirl.muscles = random(0,15)>>
		<<set _meanGirl.boobsImplant = 200*random(0,3)>>
		<<set _meanGirl.boobs += _meanGirl.boobsImplant>>
Pregmodder's avatar
Pregmodder committed
		<<set _meanGirl.boobsImplantType = "normal">>
klorpa's avatar
klorpa committed
		<<set _meanGirl.buttImplant = random(0,2)>>
		<<set _meanGirl.butt += _meanGirl.buttImplant>>
Pregmodder's avatar
Pregmodder committed
		<<set _meanGirl.buttImplantType = "normal">>
klorpa's avatar
klorpa committed
		<<set _meanGirl.butt += 1>>
		<<set _meanGirl.vagina = random(1,2)>>
		<<set _meanGirl.anus = 1>>
		<<set _meanGirl.face = random(20,60)>>
Pregmodder's avatar
Pregmodder committed
		<<run setHealth(_meanGirl, jsRandom(30, 50), 0, 0, 0, 0)>>
klorpa's avatar
klorpa committed
		<<set _meanGirl.attrXY = random(60,90)>>
		<<set _meanGirl.attrXX = random(10,20)>>
		<<set _meanGirl.behavioralFlaw = either("arrogant", "bitchy")>>
klorpa's avatar
klorpa committed
		<<set _meanGirl.clothes = either("a mini dress", "a t-shirt and jeans", "conservative clothing", "sport shorts and a t-shirt")>>
klorpa's avatar
klorpa committed
		<<set _newSlaves.push(_meanGirl)>>
	<</for>>
	<span id="art-frame">
klorpa's avatar
klorpa committed
		/* 000-250-006 */
		<<if $seeImages == 1>>
			<div class="imageColumn">
				<div class="imageRef medImg">
Skriv's avatar
Skriv committed
					<<= SlaveArt($activeSlave, 2, 0)>>
klorpa's avatar
klorpa committed
				</div>
				<div class="imageRef medImg">
Skriv's avatar
Skriv committed
					<<= SlaveArt(_newSlaves[0], 2, 0)>>
klorpa's avatar
klorpa committed
				</div>
				<div class="imageRef medImg">
Skriv's avatar
Skriv committed
					<<= SlaveArt(_newSlaves[1], 2, 0)>>
klorpa's avatar
klorpa committed
				</div>
				<div class="imageRef medImg">
Skriv's avatar
Skriv committed
					<<= SlaveArt(_newSlaves[2], 2, 0)>>
klorpa's avatar
klorpa committed
				</div>
			</div>
		<</if>>
		/* 000-250-006 */
<<elseif $RESSevent == "PA flirting">>
	<span id="art-frame">
klorpa's avatar
klorpa committed
		/* 000-250-006 */
		<<if $seeImages == 1>>
			<div class="imageColumn">
				<div class="imageRef medImg">
Skriv's avatar
Skriv committed
					<<= SlaveArt($activeSlave, 2, 0)>>
klorpa's avatar
klorpa committed
				</div>
lowercasedonkey's avatar
lowercasedonkey committed
				<<= assistantArt(2)>>
			</div>
klorpa's avatar
klorpa committed
		<</if>>
		/* 000-250-006 */
	</span>
<<else>>
	<span id="art-frame">
klorpa's avatar
klorpa committed
		/* 000-250-006 */
		<<if $seeImages == 1>>
			<<if $imageChoice == 1>>
Skriv's avatar
Skriv committed
				<div class="imageRef lrgVector"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 2, 0)>></div>
klorpa's avatar
klorpa committed
			<<else>>
Skriv's avatar
Skriv committed
				<div class="imageRef lrgRender"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 2, 0)>></div>
klorpa's avatar
klorpa committed
			<</if>>
klorpa's avatar
klorpa committed
		/* 000-250-006 */
Pregmodder's avatar
Pregmodder committed
<</if>>
lowercasedonkey's avatar
lowercasedonkey committed
<<set $activeSlave.clothes = _clothesTemp>>
<<set $desc = SlaveTitle($activeSlave)>>
<<run Enunciate($activeSlave)>>
Pregmodder's avatar
Pregmodder committed
<<set _belly = bellyAdjective($activeSlave)>>
klorpa's avatar
klorpa committed
<<setLocalPronouns $activeSlave>>
klorpa's avatar
klorpa committed
<<setPlayerPronouns>>
<<setAssistantPronouns>>

<<switch $RESSevent>>

<<case "first period">>

<<= App.UI.slaveDescriptionDialog($activeSlave)>> appears in the door of your office, uncertain if $he should disturb you. $He stumbles through the doorway, hands on $his <<if $activeSlave.weight >= 95>>fat belly<<elseif $activeSlave.belly >= 2000>>bloated belly<<elseif $activeSlave.weight >= 30>>chubby belly<<else>>flat belly<</if>>, before stepping forward to stand in front of your desk. $His chest is rising and falling with panicked hyperventilation. The poor $girl is terrified for some reason.
klorpa's avatar
klorpa committed
You press $him on why $he is acting this way.
Pregmodder's avatar
Pregmodder committed
<<if !canTalk($activeSlave)>>
klorpa's avatar
klorpa committed
	$He uses gestures to point to $his stomach, and explains that $he is feeling an unusual pain.
klorpa's avatar
klorpa committed
	"My belly, <<Master>>," $he <<say>>s apologetically. "It hurt<<s>> and I don't know why. It ju<<s>>t <<s>>tarted re<<c>>ently."
klorpa's avatar
klorpa committed
You check $his records and discover $he has very likely just become a woman.
<<set $activeSlave.pubertyXX = 1>>
<<= App.UI.slaveDescriptionDialog($activeSlave)>> appears in the door of your office early in the morning, hesitating before stepping in. You question why $he has come to see you and $he gingerly approaches your desk.
Pregmodder's avatar
Pregmodder committed
<<if !canTalk($activeSlave)>>
klorpa's avatar
klorpa committed
	$He uses gestures to point to $his crotch, and explains that $he has accidentally started wetting $his bed.
klorpa's avatar
klorpa committed
	"I'm <<s>>orry, <<Master>>," $he <<say>>s apologetically. "I keep wetting my bed at night, and it feel<<s>> <<s>>o good too."
klorpa's avatar
klorpa committed
You check $his records for any potential health issues that could be causing this annoyance when it dawns on you. $activeSlave.slaveName is likely becoming potent, and now is the perfect time to cement $his sexuality.
<<set $activeSlave.pubertyXY = 1>>
Pregmodder's avatar
Pregmodder committed
<<case "surprising wakeup">>

You are awakened from a sound sleep by someone eagerly <<if $PC.dick != 0>>sucking your dick<<else>>eating you out<</if>>. Your slaves know better than to disturb you, let alone take the initiative, but you are shocked when you pull back the sheets and reveal the smiling <<= App.UI.slaveDescriptionDialog($activeSlave)>>.
Pregmodder's avatar
Pregmodder committed
<<if !canTalk($activeSlave)>>
klorpa's avatar
klorpa committed
	$He promptly stops, flashes you an appreciative smile and goes right back to pleasing you.
Pregmodder's avatar
Pregmodder committed
<<else>>
klorpa's avatar
klorpa committed
	$He pulls off you with a frown. "I'm <<s>>orry, <<Master>>," $he <<say>>s apologetically. "It'<<s>> ju<<s>>t, you've been <<s>>o nice to me. Thi<<s>> felt like the right thing to do." $He lowers $his head back to your crotch.
Pregmodder's avatar
Pregmodder committed
<</if>>
<br><br>
Pregmodder's avatar
Pregmodder committed
$He was mindbroken, but seems to have snapped out of it due to a deep love of you.
Pregmodder's avatar
Pregmodder committed

Pregmodder's avatar
Pregmodder committed
<<case "mutinery attempt">>

<<set $mutinery = 1>>
Finishing your work, you lean back for a well-deserved break. Your peace is quickly disturbed by several loud smashes from down the penthouse hall. As you get up from your desk, you hear somebody running down the hallway, and before you know it, <<= App.UI.slaveDescriptionDialog($activeSlave)>> is inside. $He is looking quite treacherous and <<if $activeSlave.skill.combat > 0>>relatively confident<<else>>somewhat unsure<</if>>. $He quickly reaches in to grab you,
klorpa's avatar
klorpa committed
<<if ($PC.career == "gang")>>
	<<if ($personalArms != 0)>>
Arkerthan's avatar
Arkerthan committed
		but when you point your handgun towards $him, $he stutters back with $his hand<<if hasBothArms($activeSlave)>>s<</if>> pointing upwards.
klorpa's avatar
klorpa committed
	<<else>>
klorpa's avatar
klorpa committed
		but you just have to reach for your trusty handgun to make the slave step back in fear.
Pregmodder's avatar
Pregmodder committed
	<</if>>
Loading
Loading full blame...