code
stringlengths
0
56.1M
repo_name
stringclasses
515 values
path
stringlengths
2
147
language
stringclasses
447 values
license
stringclasses
7 values
size
int64
0
56.8M
/** base class for class-based events */ App.Events.BaseEvent = class BaseEvent { /** build a new event * parameters are necessary for serialization (so that saving with the event active will work correctly) and should not normally be used directly * child classes will inherit this implementation automatically, and should not normally need their own constructor implementation * @param {Array<number>} [actors] * @param {object} [params] */ constructor(actors, params) { /** @member {Array<number>} actors - a list of IDs for the actors participating in this event. */ this.actors = actors || []; /** @member {object} params - a set of parameters to pass to the event. */ this.params = params || {}; } /** Event predicates determine whether the event will occur or not. * @callback eventPredicate * @returns {boolean} */ /** generate an array of zero or more predicates which must all return true in order for the event to be valid. * lambda predicates may add properties to {@link App.Events.BaseEvent#params the params member} in order to pass information on to the event. * child classes should implement this. * @returns {Array<eventPredicate>} */ eventPrerequisites() { return []; } /** Actor predicates determine whether an actor is qualified for an event or not. * @callback actorPredicate * @param {App.Entity.SlaveState} slave * @returns {boolean} */ /** generate an array of zero or more arrays, each corresponding to an actor in the event, which contain zero or more predicates which must be satisfied by the actor. * child classes should implement this. * @returns {Array<Array<actorPredicate>>} */ actorPrerequisites() { return []; } /** get the choice weight for the event. Weights should be integral; higher weight means higher probability of selection. * @returns {number} */ get weight() { return 1; } /** run the event and attach DOM output to the event passage. * child classes must implement this. * @param {DocumentFragment} node - Document fragment which event output should be attached to */ execute(node) { } /** clone the event (needed for serialization). * default implementation should suffice for child classes */ clone() { let c = {}; Reflect.setPrototypeOf(c, Reflect.getPrototypeOf(this)); deepAssign(c, this); return c; } /** serialize the event instance so it persists through saves. * default implementation should suffice for child classes assigned to App.Events */ toJSON() { return JSON.reviveWrapper(`new App.Events.${this.constructor.name}(${JSON.stringify(this.actors)},${JSON.stringify(this.params)})`); } /** get the event's (human-readable) name. must not include ":". * default implementation should generally suffice (though we might want to de-camelcase here or something). * @returns {string} */ get eventName() { return this.constructor.name; } /** build the actual list of actors that will be involved in this event. * default implementation should suffice for child classes with a fixed number of actors; may be overridden for events with variable actor count. * @param {App.Entity.SlaveState} firstActor - if non-null, the first actor should be this slave (fail if she is not qualified) * @returns {boolean} - return false if sufficient qualified actors could not be found (cancel the event) */ castActors(firstActor) { const prereqs = this.actorPrerequisites(); let i = 0; if (firstActor && prereqs.length > 0) { if (prereqs[0].every(p => p(firstActor))) { this.actors.push(firstActor.ID); } else { return false; // preselected first actor was not qualified } i = 1; // first actor is cast } for (; i < prereqs.length; ++i) { const qualified = V.slaves.filter(s => !this.actors.includes(s.ID) && prereqs[i].every(p => p(s))); if (qualified.length === 0) { return false; // a required actor was not found } this.actors.push(qualified.pluck().ID); } return true; // all actors cast } }; /** This is a trivial event for use as an example. */ App.Events.TestEvent = class TestEvent extends App.Events.BaseEvent { constructor(actors, params) { super(actors, params); } eventPrerequisites() { return []; } actorPrerequisites() { return [ [] // one actor, no requirements ]; } execute(node) { let [eventSlave] = this.actors.map(a => getSlave(a)); // mapped deconstruction of actors into local slave variables App.Events.drawEventArt(node, eventSlave); node.appendChild(document.createTextNode(`This test event for ${eventSlave.slaveName} was successful.`)); } };
MonsterMate/fc
src/events/001-base/baseEvent.js
JavaScript
mit
4,631
/* Events are organized into several files and folders */ /* 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: */ /* 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 */
MonsterMate/fc
src/events/About Events.txt
Text
mit
1,035
App.Events.RECIButthole = class RECIButthole extends App.Events.BaseEvent { eventPrerequisites() { return []; // always valid if sufficient actors can be cast successfully } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => V.REButtholeCheckinIDs.includes(s.ID), s => s.assignment !== Job.QUARTER, s => s.devotion > 50, s => s.trust > 50, canTalk, canWalk, canSee, canHear, s => s.anus > 1 && s.anus < 4, s => s.analArea > 1, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { // eslint-disable-next-line no-unused-vars He, he, His, his, hers, him, himself, girl, woman, loli } = getPronouns(eventSlave); const {title: Master, say: say} = getEnunciation(eventSlave); const belly = bellyAdjective(eventSlave); const hands = hasBothArms(eventSlave) ? "hands" : "hand"; const skinDesc = (skinToneLevel(eventSlave.skin) < 10) ? "pink" : (skinToneLevel(eventSlave.skin) < 10) ? "dark brown" : "brown"; V.nextLink = "Next Week"; V.REButtholeCheckinIDs.deleteWith((s) => s === eventSlave.ID); let artDiv = document.createElement("div"); // named container so we can replace it later App.Events.drawEventArt(artDiv, eventSlave, "no clothing"); node.appendChild(artDiv); let t = []; t.push(`The slave bathrooms are designed to completely eliminate privacy. There are few partitions, and those are glass. Your better-behaved slaves have all long since lost any hesitation about performing their ablutions nude. As you pass through the area, you notice`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`checking out ${his} own anus in the bathroom mirror`); App.Events.addParagraph(node, t); t = []; t.push(`There's no other way to describe what ${he}'s doing: the ${SlaveTitle(eventSlave)}`); if (eventSlave.belly >= 300000) { t.push(`is leaning over ${his} ${belly} belly with ${his} feet planted on the counter,`); } else if (eventSlave.height < 140) { t.push(`is on a step stool with ${his} back to the mirror,`); } else if (eventSlave.height < 160) { t.push(`has ${his} back to the mirror and is up on tiptoe to bring ${his} butthole into view,`); } else { t.push(`has ${his} back to the mirror,`); } t.push(`and ${he}'s`); if (eventSlave.butt > 6) { if (hasBothArms(eventSlave)) { t.push(`using both hands to`); } else if (hasAnyArms(eventSlave)) { t.push(`using ${his} hand to`); } else if (eventSlave.belly >= 300000) { t.push(`letting gravity`); } else { t.push(`using the edge of the sink to`); } t.push(`pull ${his} massive buttcheeks apart to`); } else if (eventSlave.butt > 3) { if (hasAnyArms(eventSlave)) { t.push(`using ${his} ${hands} to`); } else if (eventSlave.belly >= 300000) { t.push(`letting gravity`); } else { t.push(`using the edge of the sink to`); } t.push(`spread ${his} healthy buttcheeks to`); } else { t.push(`got ${his} hips cocked to spread ${his} sleek butt and`); } t.push(`reveal ${his} backdoor. Your slaves are trained to check themselves daily,`); if (eventSlave.chastityAnus) { t.push(`including those assigned to wear anal chastity,`); } t.push(`but ${he} seems fascinated. As you pause to watch, ${he} begins to clench and relax ${his}`); if (eventSlave.anus > 2) { t.push(`loose`); } else { t.push(`cute`); } t.push(`hole,`); if ((eventSlave.analArea - eventSlave.anus) > 1) { t.push(`lewdly flexing`); } else { t.push(`alternately puckering and relaxing`); } t.push(`the ${skinDesc} skin around it. ${He} giggles self-consciously at the sight, and then relaxes all the way, causing ${his} asspussy to open into a`); if (eventSlave.anus > 2) { if (V.PC.dick !== 0) { t.push(`cock-hungry`); } else { t.push(`dildo-hungry`); } } else { t.push(`slight`); } t.push(`gape. ${He} notices you out of the corner of ${his} eye and`); if (eventSlave.butt > 6) { if (eventSlave.belly >= 300000) { t.push(`slides back onto ${his} feet`); } else if (hasAnyArms(eventSlave)) { t.push(`releases ${his} grip on ${his} heavy buttocks`); } else { t.push(`slides ${his} heavy buttocks off the counter`); } t.push(`to turn and greet you, letting`); if (eventSlave.belly >= 300000) { t.push(`${his} heavy buttocks`); } else { t.push(`them`); } t.push(`clap gently together and conceal ${his} asshole again.`); } else if (eventSlave.butt > 3) { if (eventSlave.belly >= 300000) { t.push(`slides back onto ${his} feet`); } else if (hasAnyArms(eventSlave)) { t.push(`lets ${his} butt go`); } else { t.push(`slides ${his} butt off the counter`); } t.push(`to turn and greet you, mostly hiding ${his} asshole from the mirror.`); } else { if (eventSlave.belly >= 300000) { t.push(`slides back onto ${his} feet and`); } t.push(`turns to greet you, ${his} pretty rear only partially concealing ${his} asshole in the mirror.`); } App.Events.addParagraph(node, t); t = []; t.push(Spoken(eventSlave, `"Hi ${Master},"`)); t.push(`${he} ${say}s cheerfully.`); t.push(Spoken(eventSlave, `"I was just noticing how much my butt has changed. I check it every day, but I hadn't really looked at it in a while, you know? It used to be so tight, and now`)); if (eventSlave.anus > 2) { t.push(Spoken(eventSlave, `I've got a rear pussy."`)); } else { t.push(Spoken(eventSlave, `it's obviously a fuckhole."`)); } if (eventSlave.belly >= 300000) { t.push(`${He} struggles to hike ${his} knee over ${his} extreme gravidity without losing balance.`); } else { t.push(`${He} turns to face the mirror,`); if (eventSlave.belly >= 10000) { t.push(`slowly hiking one knee up onto the bathroom counter in front of it while giving ${his}`); if (eventSlave.belly >= 10000) { if (eventSlave.bellyPreg >= 3000) { t.push(`pregnancy`); } else { t.push(`greatly bloated middle`); } t.push(`room to hang.`); } } else { t.push(`hiking one knee up onto the bathroom counter in front of it.`); } } t.push(`${He}`); if (eventSlave.butt > 6) { t.push(`reaches around to pull a buttock aside and starts blatantly winking ${his} anus for`); if (hasAnyArms(eventSlave)) { t.push(`you, using ${his}`); if (hasBothArms(eventSlave)) { t.push(`other`); } t.push(`hand to`); if (eventSlave.nipples !== "fuckable") { t.push(`tweak`); } else { t.push(`finger`); } t.push(`a nipple.`); } else { t.push(`you.`); } } else if (eventSlave.butt > 3) { t.push(`spreads ${himself} and starts blatantly winking ${his} anus for`); if (hasAnyArms(eventSlave)) { t.push(`you, using ${his} ${hands} to`); if (eventSlave.nipples !== "fuckable") { t.push(`tweak`); } else { t.push(`finger`); } t.push(`${his} nipples.`); } else { t.push(`you.`); } } else { t.push(`cocks ${his} hips again and starts blatantly winking ${his} anus for you`); if (hasAnyArms(eventSlave)) { t.push(`you, using ${his} ${hands} to`); if (eventSlave.nipples !== "fuckable") { t.push(`tweak`); } else { t.push(`finger`); } t.push(`${his} nipples.`); } else { t.push(`you.`); } } if (eventSlave.analArea > 3) { t.push(`The huge area of ${skinDesc} anus around ${his} actual hole certainly draws the eye towards its center, though the way ${he}'s using ${his} sphincter as a come-on does enhance the effect.`); } t.push(Spoken(eventSlave, `"Please, ${Master},"`)); if (eventSlave.fetish === "buttslut") { t.push(`${he} begins to beg.`); t.push(Spoken(eventSlave, `"I can't wait to feel ${V.PC.dick !== 0 ? 'your cock' : 'you'} inside me."`)); } else { t.push(`${he} ${say}s.`); t.push(Spoken(eventSlave, `"Use me."`)); } App.Events.addParagraph(node, t); App.Events.addResponses(node, [ (eventSlave.chastityAnus) ? new App.Events.Result(`Remind ${him} of ${his} chastity`, chaste) : new App.Events.Result(), (S.HeadGirl && eventSlave.ID !== V.HeadGirlID) ? new App.Events.Result(`Double anal with the Head Girl`, () => DoubleTeam(S.HeadGirl)) : new App.Events.Result(), (S.Concubine && eventSlave.ID !== V.ConcubineID && hasAnyLegs(S.Concubine) && hasAnyArms(S.Concubine) && S.Concubine.fetish !== "mindbroken") ? new App.Events.Result(`Double anal with your Concubine`, () => DoubleTeam(S.Concubine)) : new App.Events.Result(), (S.Bodyguard && eventSlave.ID !== V.BodyguardID) ? new App.Events.Result(`Double anal with your Body Guard`, () => DoubleTeam(S.Bodyguard)) : new App.Events.Result(), new App.Events.Result(`Chat about ${his} ass`, talk), (eventSlave.anus < 3) ? new App.Events.Result(`Change it some more`, assFuck) : new App.Events.Result(), new App.Events.Result(`Don't like anal`, wrongHole), ]); function chaste() { const totalIntel = eventSlave.intelligence + eventSlave.intelligenceImplant; t = []; t.push(`You ask if ${he} is forgetting anything.`); if (totalIntel > 95) { t.push(Spoken(eventSlave, `"Ah! Forgive me ${Master}! I'll put it on right away!"`)); t.push(`${he} ${say}s, hurrying to fasten ${his} anal chastity, a hint of fear on ${his} face. You tell ${him} it is fine, ${he} was only performing ${his} daily ablutions after all.`); } else if (totalIntel > 15) { t.push(Spoken(eventSlave, `"Um? No...? I don't think I'm forgetting anything?"`)); t.push(`${he} states with a look of confusion. You press ${him}, asking if ${he} forgot the rules.`); t.push(Spoken(eventSlave, `"Ah! I'm not supposed to be offering my asshole so freely! ${Master}, please forgive me! I'll put it on right away!"`)); t.push(`${he} shouts, hurrying to fasten ${his} anal chastity, <span class="trust dec">a hint of fear on ${his} face.</span> You tell ${him} it is fine, if you want ${his} ass, you will have it, chastity be damned. ${He} lets out a sigh of relief.`); eventSlave.trust -= 2; } else if (totalIntel >= -15) { t.push(Spoken(eventSlave, `"Um? No...? I don't think I'm forgetting anything?"`)); t.push(`${he} states with a look of confusion. You press ${him}, asking if ${he} forgot the rules.`); t.push(Spoken(eventSlave, `"I need to inspect my anus for damage, elasticity and cleanliness each and every morning."`)); t.push(`You stare ${him} down, making it clear that was not the right answer.`); t.push(Spoken(eventSlave, `"Um, ${Master}, I shouldn't be offering my ass to you, I'm sorry..."`)); t.push(`${he} limply ${say}s, <span class="trust dec">fear spreading across ${his} face.</span> You tell ${him} it is fine, ${he} did not violate the rules, after all. Though ${he}'d best pay more attention in the future.`); eventSlave.trust -= 2; } else if (totalIntel >= -95) { t.push(Spoken(eventSlave, `"Um? No...? I pretty sure I'm not forgetting anything..."`)); t.push(`${he} states with a look of confusion. You press ${him}, asking if ${he} forgot the rules.`); t.push(Spoken(eventSlave, `"Make sure your asspussy is nice and pretty each and every day!"`)); t.push(`You stare ${him} down, making it clear that was not the right answer. ${He} wracks ${his} brain, desperately trying to figure out what ${he} could be missing.`); t.push(Spoken(eventSlave, `"I offered my ass to you, so that couldn't be it..."`)); t.push(`${His} cluelessness is starting to get on your nerves. You clear your throat and gesture at the anal chastity left forgotten in the sink.`); t.push(Spoken(eventSlave, `"Huh? Is that mine? Wait... Oh, no... I'm sorry ${Master}... Please forgive me..."`)); t.push(`${he} ${say}s, <span class="trust dec">tears beginning to well up in ${his} eyes.</span> You tell ${him} it is fine, ${he} did not violate the rules, after all. Though ${he}'d best pay more attention in the future. Also not to leave ${his} chastity in the sink, you don't need to be replacing them all the time.`); eventSlave.trust -= 2; } else { t.push(Spoken(eventSlave, `"Um? No?"`)); t.push(`${he} states with a look of confusion. You press ${him}, asking if ${he} forgot the rules.`); t.push(Spoken(eventSlave, `"Look at your butt!"`)); t.push(`You stare ${him} down, making it clear that was not the right answer. ${He} wracks ${his} brain, desperately trying to figure out what ${he} could be missing.`); t.push(Spoken(eventSlave, `"You don't like this position...?"`)); t.push(`${His} cluelessness is starting to get on your nerves. You clear your throat and gesture at the anal chastity left forgotten on the counter.`); t.push(Spoken(eventSlave, `"Huh? You want me to put that away?"`)); t.push(`You struggle to calmly explain that ${he} is supposed to be wearing anal chastity, not begging for a dick up ${his} ass.`); t.push(Spoken(eventSlave, `"So a toy is better?"`)); t.push(`You fasten the belt around ${his} rear and silently leave the room before you lose it.`); t.push(Spoken(eventSlave, `"So you'll fuck my butt later?"`)); t.push(`${he} shouts after you, still completely oblivious.`); } return t; } function DoubleTeam(partner) { let container = document.createDocumentFragment(); const partnerSlave = partner; const { // eslint-disable-next-line no-unused-vars He2, he2, His2, his2, hers2, him2, himself2, girl2 } = getPronouns(partnerSlave).appendSuffix('2'); const {title: Master2} = getEnunciation(partnerSlave); // replace slave art $(artDiv).empty(); App.Events.drawEventArt(artDiv, [eventSlave, partnerSlave], "no clothing"); t = []; t.push(`You tell ${him} ${he}'s got a nice asspussy, and grope ${him} thoroughly, cupping ${his} buttocks with one hand and squeezing a breast with the other. ${eventSlave.slaveName} looks`); if (eventSlave.fetish === "buttslut") { t.push(`desperately eager,`); } else { t.push(`ready and willing,`); } t.push(`and angles ${himself} just right, but you administer a light slap to ${his} ${eventSlave.skin} ass and continue, telling ${him} that it's so nice you feel like sharing it. ${He}'s`); if (eventSlave.fetish === "buttslut" || eventSlave.energy > 95) { t.push(`so ready to fuck ${he} can't quite think of what to say,`); } else { t.push(`not quite sure how to respond,`); } t.push(`and before ${he} can figure it out, ${partnerSlave.slaveName} hurries in, responding to your summons. Of course, ${eventSlave.slaveName} is no stranger to ${partnerSlave.slaveName}, who takes in the situation at a glance and`); if (canAchieveErection(partnerSlave)) { t.push(`instantly achieves a painfully hard erection.`); } else { t.push(`immediately flushes with arousal.`); } if (partnerSlave.weight > 160 || partnerSlave.belly >= 10000 || partnerSlave.boobs >= 50000 || partnerSlave.balls >= 50) { if (!canPenetrate(partnerSlave)) { t.push(`${partnerSlave.slaveName} dons a strap-on before you help ${him2}`); } else { t.push(`You help support ${partnerSlave.slaveName} as ${he2} struggles`); } } else { t.push(`${partnerSlave.slaveName}`); if (!canPenetrate(partnerSlave)) { t.push(`dons a strap-on and`); } t.push(`clambers`); } t.push(`up onto the (strongly built) bathroom counter. Since saliva is plenty of lube for ${eventSlave.slaveName}'s experienced ass, ${he2} points a meaningful finger at`); if (!canPenetrate(partnerSlave)) { t.push(`the phallus,`); } else { t.push(`${his2} cock,`); } t.push(`and ${eventSlave.slaveName} begins to suck it enthusiastically, trying to get it as wet as possible for the sake of ${his} butt.`); seX(eventSlave, "oral", partnerSlave, "penetrative"); App.Events.addParagraph(container, t); t = []; t.push(`Since ${eventSlave.slaveName} is being so good, you decide to help get ${him} ready, and push`); if (eventSlave.belly < 100000) { t.push(`${him} sideways so`); if (eventSlave.belly >= 3000) { t.push(`${he}'s forced to heft ${his}`); if (eventSlave.bellyPreg >= 3000) { t.push(`pregnancy`); } else { t.push(`greatly bloated middle`); } t.push(`onto the counter.`); } else { t.push(`${he} straddles the counter's edge.`); } t.push(`${He} whimpers into the`); if (!canPenetrate(partnerSlave)) { t.push(`dildo`); } else { t.push(`dick`); } t.push(`in ${his} mouth as ${he} feels ${his}`); if (eventSlave.dick > 0) { if (eventSlave.chastityPenis === 1) { t.push(`chastity cage`); } else if (eventSlave.hormoneBalance >= 100 || eventSlave.balls === 0 || eventSlave.ballType === "sterile") { t.push(`soft dickclit`); } else if (!canAchieveErection(eventSlave)) { t.push(`oversized cock`); } else { t.push(`hard cock`); } } else { t.push(`mons`); } t.push(`graze the hard counter, and then stiffens as you penetrate ${his} bottom.`); } else { if (eventSlave.bellyPreg >= 3000) { t.push(`the obscenely pregnant`); } else { t.push(`the obscenely swollen`); } t.push(`${girl} to properly spitroast ${him}. ${He} whimpers into the`); if (!canPenetrate(partnerSlave)) { t.push(`dildo`); } else { t.push(`dick`); } t.push(`in ${his} mouth as ${his} body stiffens from your invading`); if (V.PC.dick !== 0) { t.push(`cock`); } else { t.push(`strap-on`); } t.push(`stretching ${his} anus.`); } seX(eventSlave, "anal", V.PC, "penetrative"); t.push(`When you judge that ${partner.slaveName} is wet enough, you nod to ${him2}, and ${he2} takes ${eventSlave.slaveName} by the hand, pulling ${him} up onto ${his2} lap.`); if (partnerSlave.belly + eventSlave.belly > 5000 || partnerSlave.weight > 95 || eventSlave.weight > 95) { t.push(`There is no chance that the pair of them will manage to stay on that counter without hurting themselves or breaking something, so you quickly help them down onto a bathroom bench before the moment is ruined.`); } else if (partnerSlave.boobs > 4000 && eventSlave.boobs > 4000) { t.push(`Their tits are so huge that they can't reach each other to kiss, chest-to-chest like that. ${partnerSlave.slaveName} settles for blowing the other slave an exaggerated kiss, which makes ${him} laugh.`); } else { t.push(`The slaves start making out, showing no signs of breaking their lip lock as they arrange themselves for penetration.`); } t.push(`${partnerSlave.slaveName} guides ${his2}`); if (!canPenetrate(partnerSlave)) { t.push(`strap-on`); } else { t.push(`cock`); } t.push(`inside the`); if (eventSlave.fetish === "buttslut") { t.push(`enthusiastic`); } else { t.push(`compliant`); } t.push(`${eventSlave.slaveName}, who begins to ride it, enjoying both the`); if (eventSlave.prostate > 0) { t.push(`prostate`); } else { t.push(`anal`); } t.push(`stimulation and the feeling of ${his}`); if (eventSlave.dick > 0) { if (eventSlave.chastityPenis === 1) { t.push(`midsection`); } else if (eventSlave.hormoneBalance >= 100 || eventSlave.balls === 0 || eventSlave.ballType === "sterile") { t.push(`soft dick`); } else if (!canAchieveErection(eventSlave)) { t.push(`oversized cock`); } else { t.push(`erection`); } t.push(`trapped between ${him} and`); } else { t.push(`pussy pressed against`); } t.push(`${partnerSlave.slaveName}.`); seX(eventSlave, "anal", partnerSlave, "penetrative"); t.push(`${partnerSlave.slaveName} smacks the humping`); if (eventSlave.physicalAge > 30) { t.push(`${woman}'s`); } else if (eventSlave.physicalAge > 17) { t.push(`${girl}'s`); } else if (eventSlave.physicalAge > 12) { t.push(`teen's`); } else { t.push(`${loli}'s`); } t.push(`butt to get ${him} to stop, and slides an index finger up ${his} ass alongside the`); if (!canPenetrate(partnerSlave)) { t.push(`phallus.`); } else { t.push(`cock.`); } t.push(`${eventSlave.slaveName} shudders, and then begins to whine as ${partnerSlave.slaveName} pulls ${his} sphincter wider.`); App.Events.addParagraph(container, t); t = []; t.push(Spoken(eventSlave, `"Please,"`)); t.push(`the slave begs incoherently as you press your`); if (V.PC.dick !== 0) { t.push(`dick`); } else { t.push(`strap-on`); } t.push(`against ${partnerSlave.slaveName}'s finger. It's not clear whether ${he}'s begging you to DP ${his} anus, or begging you not to, but whichever it is, ${partnerSlave.slaveName} withdraws ${his2} finger and you shove yourself inside. ${eventSlave.slaveName} jerks with discomfort and gives a gasping "Oh f-fuck-k" that`); if (eventSlave.anus > 2) { t.push(`${he} repeats over and over`); } else { t.push(`is followed by some minor struggling`); } t.push(`as you begin to fuck ${him}.`); seX(eventSlave, "anal", V.PC, "penetrative"); seX(eventSlave, "anal", partnerSlave, "penetrative"); if (V.PC.belly + eventSlave.belly + partnerSlave.belly >= 7500) { t.push(`The only position you can all manage to squeeze in together doesn't quite allow either of you to pound ${eventSlave.slaveName} as hard as you'd like, but you and ${partnerSlave.slaveName} do your best.`); } else { t.push(`From ${his2} angle, ${partnerSlave.slaveName} can't pound ${eventSlave.slaveName} quite as hard as you can, but ${he2} does ${his2} best.`); } t.push(`When you've both had your fun, extracted yourselves, and let the exhausted, gaped bitch collapse onto the floor, ${partnerSlave.slaveName} gives you a naughty wink.`); t.push(`<span class="devotion inc">`); if (canTalk(partnerSlave)) { t.push(Spoken(partnerSlave, `"That was fun, ${Master2}!"`)); } else { t.push(`${He2} quite enjoyed ${himself2}`); } t.push(`</span>`); if (canTalk(partnerSlave)) { t.push(`${he2} ${say}s.`); t.push(Spoken(partnerSlave, `"Shall we flip ${him} over and go again?"`)); } else { t.push(`and would be happy to go for round two.`); } t.push(`<span class="devotion inc">`); t.push(Spoken(eventSlave, `"Please nooo,"`)); t.push(`</span>`); t.push(`comes a quiet wail from the floor.`); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 1, -1); } if (canImpreg(eventSlave, partnerSlave)) { knockMeUp(eventSlave, 10, 1, partnerSlave.ID); } App.Events.addParagraph(container, t); eventSlave.devotion += 2; partnerSlave.devotion += 2; return container; } function talk() { let container = document.createDocumentFragment(); const {heP} = getSpokenPronouns(V.PC, eventSlave).appendSuffix('P'); t = []; t.push(`You head into the bathroom, shedding clothing as you go. ${He} stares at you as you advance, ${his} eyes fixing on your`); if (V.PC.boobs >= 1400) { t.push(`enormous tits as you reveal them,`); } else if (V.PC.boobs >= 1200) { t.push(`huge tits as you reveal them,`); } else if (V.PC.boobs >= 1000) { t.push(`big tits as you reveal them,`); } else if (V.PC.boobs >= 300) { t.push(`tits as you reveal them,`); } else if (V.PC.belly >= 100000) { t.push(`massive pregnancy as it becomes visible,`); } else if (V.PC.belly >= 60000) { t.push(`giant pregnancy as it becomes visible,`); } else if (V.PC.belly >= 15000) { t.push(`advanced pregnancy as it becomes visible,`); } else if (V.PC.belly >= 10000) { t.push(`big baby bump as it becomes visible,`); } else if (V.PC.belly >= 5000) { t.push(`baby bump as it becomes visible,`); } else if (V.PC.belly >= 1500) { t.push(`rounded middle as it becomes visible,`); } else { if (V.PC.title === 0) { t.push(`flat chest as you reveal it,`); } else { t.push(`ripped abs as they become visible,`); } } t.push(`and ${his} lips part slightly. ${His} gaze only shifts when you disrobe completely, revealing your`); if (V.PC.dick !== 0) { t.push(`hardening`); if (V.PC.vagina !== -1) { t.push(`dick and`); } else { t.push(`dick;`); } } else if (V.PC.vagina !== -1) { t.push(`flushed womanhood;`); } t.push(`${he} licks ${his} lips unconsciously. You grab a towel off the counter, spread it on a bathroom bench, and recline on`); if (V.PC.belly < 5000) { t.push(`it with your back against the wall.`); } else { t.push(`it.`); } t.push(`You pat your`); // consider muscles and weight here if (V.PC.title === 1) { t.push(`hard`); } else { t.push(`pretty`); } t.push(`thighs, and ${he} hurries over,`); if (eventSlave.fetish === "buttslut" || (eventSlave.fetish === "pregnancy" && V.PC.belly >= 5000)) { t.push(`eagerly`); } else { t.push(`carefully`); } t.push(`swinging ${his} leg over the bench and seating ${himself} in your`); if (V.PC.belly >= 60000) { t.push(`lap, getting comfortable against your underbelly.`); } else { t.push(`lap.`); } if (V.PC.dick !== 0) { t.push(`Your cock slides easily up ${his} whorish butt. One of your arms`); } else { t.push(`You decided not to bother with a strap-on, so you slide a couple of fingers inside ${him}, and ${he} reciprocates by working a hand under ${himself} to attend to your pussy. Your free arm`); } if (V.PC.belly < 5000) { t.push(`wraps around`); if (eventSlave.boobs > 4000) { t.push(`${him} and under ${his} heavy tits, resting in a cocoon of soft breastflesh.`); } else if (eventSlave.boobs > 800) { t.push(`${his} heavy breasts, hefting their weight and eliciting a sigh from the slave.`); } else if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg > 3000) { t.push(`${his} waist to support ${his} pregnancy.`); } else if (eventSlave.bellyImplant > 3000) { t.push(`${his} waist to support the weight of ${his} belly.`); } else { t.push(`${his} waist to stabilize ${his} bloated middle.`); } } else if (eventSlave.weight > 95) { t.push(`${his} stomach to better support ${his} weight.`); } else if (eventSlave.boobs > 400) { t.push(`${him} to support ${his} chest.`); } else { t.push(`${him} to support ${his} weight.`); } } else { t.push(`grabs as good a hold as you can get in your state on`); if (eventSlave.weight > 95) { t.push(`${his} love handle.`); } else if (eventSlave.hips > 2) { t.push(`${his} massive hip.`); } else if (eventSlave.hips >= 2) { t.push(`${his} wide hip.`); } else if (eventSlave.hips >= 1) { t.push(`${his} womanly hip.`); } else if (eventSlave.hips >= 0) { t.push(`${his} hip.`); } else if (eventSlave.hips >= -1) { t.push(`${his} narrow hip.`); } else { t.push(`what should be a hip.`); } } t.push(`Being held this way, ${he} can't really`); if (V.PC.dick !== 0) { t.push(`bounce on your dick, so ${he} just wiggles ${his} butt into you to seat it a bit deeper`); } else { t.push(`grind against your fingers`); } t.push(`and sighs contentedly. You instruct ${him} to elaborate on what ${he} said earlier.`); App.Events.addParagraph(container, t); t = []; t.push(Spoken(eventSlave, `"Yes ${Master},"`)); t.push(`${he} ${say}s automatically, and then pauses.`); t.push(Spoken(eventSlave, `"Hmm. I try not to think about back, you know, before."`)); t.push(`${He} squeezes ${his} buttocks against your`); if (V.PC.dick !== 0) { t.push(`crotch.`); } else { t.push(`hand.`); } t.push(Spoken(eventSlave, `"But I guess back then I didn't really think about my butthole, much? Like, I went to the bathroom, and washed it in the shower, and that was it. But with the liquid slave food, I don't — sorry, ${Master}, I'm being silly. You know all about that."`)); t.push(`You tell ${him} to explain it anyway. ${He} looks puzzled for a moment, but <span class="trust inc">remembers ${he} can trust you,</span> and twists around to plant an awkward kiss on your`); if (V.PC.belly >= 5000) { t.push(`navel`); } else { t.push(`chin`); } t.push(`before continuing.`); t.push(Spoken(eventSlave, `"Well,"`)); t.push(`${he} ${say}s, with mock seriousness.`); t.push(Spoken(eventSlave, `"Here in the arcology, we slaves eat a very special liquid diet that keeps us healthy and fit and ready to fuck. And, it's absorbed completely, so our butts are always nice and clean. That way, ${Master} can -"`)); t.push(`${he} clenches ${his} sphincter`); if (V.PC.dick !== 0) { t.push(`around the base of your cock — "fuck`); } else { t.push(`against your invading fingers — "play with`); } t.push(Spoken(eventSlave, `our asses"`)); t.push(`— clench —`); t.push(Spoken(eventSlave, `"whenever"`)); t.push(`— clench —`); t.push(Spoken(eventSlave, `"${heP}"`)); t.push(`— clench —`); t.push(Spoken(eventSlave, `"wants!"`)); t.push(`${He} squeals as you use your encircling arm to hoist ${his} torso up a bit higher, and mercilessly`); if (V.PC.dick !== 0) { t.push(`fuck`); } else { t.push(`fingerfuck`); } t.push(`${his} ass. Many of your other slaves came and went during this, and none of them saw anything unusual about you molesting ${eventSlave.slaveName}'s bottom in a corner of the restroom.`); t.push(VCheck.Anal(eventSlave, 1)); eventSlave.trust += 4; App.Events.addParagraph(container, t); return container; } function assFuck() { let container = document.createDocumentFragment(); t = []; t.push(`You tell ${him} that since ${he} appreciates how ${his} ass has changed, ${he} won't be surprised if you treat it like the fuckhole it is. Something in your tone makes ${him} cautious, but ${he}'s a good ${girl} and ${say}s`); t.push(Spoken(eventSlave, `"Yes, ${Master},"`)); t.push(`automatically. You pass ${V.assistant.name} wardrobe orders for the poor`); if (eventSlave.physicalAge > 30) { t.push(`${woman},`); } else if (eventSlave.physicalAge > 17) { t.push(`${girl},`); } else if (eventSlave.physicalAge > 12) { t.push(`teen,`); } else { t.push(`${loli},`); } t.push(`and instructions to have ${him} report to your office once ${he}'s dressed. A few minutes later, ${eventSlave.slaveName} walks up to your desk, stark naked except for a buttplug that comfortably fills ${his} rectum and a sturdy leather collar attached to a leash. You snap your fingers, pointing at the ground, and ${he}`); if (eventSlave.belly >= 30000) { t.push(`struggles`); } else { t.push(`scrambles`); } if (hasAllLimbs(eventSlave)) { t.push(`to ${his} hands and knees`); } else { t.push(`downwards`); } t.push(`and`); if (hasAnyArms(eventSlave)) { t.push(`removes ${his} plug.`); } else { t.push(`presents ${his} plug for removal.`); } t.push(`After ${he}'s taken a harsh buttfuck, you`); if (V.PC.dick !== 0) { t.push(`push the plug back in without letting any of your cum escape`); } else { t.push(`plug ${him} up again`); } t.push(`and attach the leash to your belt. You ignore your anal toy completely, letting ${him} kneel next to you as you work — ${he} doesn't seem to want to sit, for some reason. For the rest of the day, ${his} anus takes the full force of your libido. You fuck nothing else, confining your efforts to ${his} backdoor, keeping ${him} plugged when you aren't penetrating ${him}. When you're bored, you hand ${him} a dildo and tell ${him} to take care of it ${himself}.`); App.Events.addParagraph(container, t); t = []; t.push(`${He}'s quite exhausted by the end of the day,`); if (eventSlave.belly >= 10000) { t.push(`waddling`); } else { t.push(`walking`); } t.push(`dumbly along behind you, leashed to your belt and wondering tiredly when ${his} next reaming is coming. ${He} doesn't notice that you're bringing ${him} back to stand in front of the mirror until ${he}'s there. You push ${his} compliant body into an approximation of ${his} position from the`); if (hasAnyArms(eventSlave)) { t.push(`morning and tell ${him} to remove ${his} plug and`); } else { t.push(`morning, pull out ${his} plug, and tell ${him} to`); } t.push(`look at ${his} asshole.`); t.push(Spoken(eventSlave, `"Yes, ${Master},"`)); t.push(`${he} ${say}s, and obeys.`); if (V.PC.dick !== 0 && V.PC.balls > 0) { t.push(`This releases`); if (V.PC.balls >= 30) { t.push(`an obscene amount of ejaculate as ${his} stomach deflates slowly.`); } else if (V.PC.balls >= 14) { t.push(`a flood of ejaculate.`); } else if (V.PC.balls >= 9) { t.push(`a torrent of ejaculate.`); } else { t.push(`quite a rush of ejaculate.`); } } t.push(`${His} anus is <span class="change positive">very loose,</span> a lewd, gaping fuckhole hungry for toys, fingers, and dick. You tell ${him} that, and ask whether ${he} agrees. <span class="devotion inc">`); t.push(Spoken(eventSlave, `"Yes, ${Master},"`)); t.push(`${he} ${say}s.</span>`); eventSlave.devotion += 4; eventSlave.anus = 3; t.push(VCheck.Anal(eventSlave, 2)); App.Events.addParagraph(container, t); return [container]; } function wrongHole() { t = []; t.push(`You make it abundantly clear that you and you alone choose what hole you fuck and when, and it will not be ${his} loose asshole.`); t.push(Spoken(eventSlave, `"Ah! I-I'm sorry ${Master}, I went too far."`)); t.push(`<span class="devotion dec">${He} looks crestfallen</span> as you take your leave.`); eventSlave.devotion -= 2; return t; } } };
MonsterMate/fc
src/events/RECI/butthole.js
JavaScript
mit
34,110
App.Events.RECIFeminization = class RECIFeminization extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => V.REFeminizationCheckinIDs.includes(s.ID), s => s.assignment !== Job.QUARTER, s => s.devotion >= 10, s => s.dick > 0, s => s.vagina < 0, s => s.attrXY > 65, s => s.energy > 60, s => s.faceShape !== "masculine", s => s.belly <= 0, s => s.bodySwap === 0, s => s.anus > 0, s => s.sexualFlaw !== "hates anal", s => s.butt > 0, canStand, canDoAnal, canTalk, canHear, hasAnyArms, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { // eslint-disable-next-line no-unused-vars He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); const {title: Master, say: say} = getEnunciation(eventSlave); const desc = SlaveTitle(eventSlave); const legs = hasBothLegs(eventSlave) ? "legs" : "leg"; V.nextLink = "Next Week"; V.REFeminizationCheckinIDs.deleteWith((s) => s === eventSlave.ID); let artDiv = document.createElement("div"); // named container so we can replace it later App.Events.drawEventArt(artDiv, eventSlave, "no clothing"); node.appendChild(artDiv); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is standing before your desk for an inspection. The ${desc} is naked, of course, and is devoted enough to find the situation arousing: ${he}'s being inspected by ${his} ${getWrittenTitle(eventSlave)} in the nude, which is sexual enough, and past inspections have often led to a quick fuck. The horny bitch obviously wants it;`); if (eventSlave.chastityPenis === 1) { t.push(`${his} chastity cage is dribbling precum, and ${he}'s clearly uncomfortable with simultaneous arousal and unwillingness to suffer a hard-on inside it.`); } else if (canAchieveErection(eventSlave)) { t.push(`${his} cock is painfully erect.`); } else if (eventSlave.dick > 6) { t.push(`${his} inhuman cock is swollen and leaking precum.`); } else if (eventSlave.dick > 0) { t.push(`${his} pathetically limp dick is practically dripping precum.`); } t.push(`Your inspections require the slave to offer each of ${his} body parts to your view, and when the routine reaches ${his} anus, the slut obediently turns ${his} back to you, bends at the waist, and`); if (eventSlave.butt > 10) { t.push(`struggles to spread ${his} immense asscheeks far enough apart to even give you a view of`); } else if (eventSlave.butt > 5) { t.push(`prises ${his} massive buttocks apart to reveal`); } else if (eventSlave.butt > 2) { t.push(`pulls ${his} buttocks apart to show off`); } else { t.push(`spreads ${his} cute buttocks to show off`); } t.push(`${his}`); if (eventSlave.anus > 2) { t.push(`asshole, which is so relaxed it's begging for cock.`); } else if (eventSlave.anus > 1) { t.push(`butthole, which ${he} winks invitingly at you.`); } else { t.push(`tight anus, which ${he} winks invitingly at you.`); } App.Events.addParagraph(node, t); t = []; t.push(`You often pepper slaves with questions during this inspection; it helps you gauge their mental state, and it's just as important to verbally inspect slaves' minds as it is to visually inspect their backdoors. You remember with sudden clarity what ${eventSlave.slaveName} was like when you acquired ${him}. ${He} wasn't as enthusiastic then. The first time you inspected ${him}, ${he} certainly wasn't so excited about getting buttfucked. You ask ${him} if ${he} remembers that too. ${He} hesitates, wondering how to answer, but decides that honesty is the best policy and ${say}s,`); t.push(Spoken(eventSlave, `"I remember, ${Master}. It was hard for me, becoming a girl.`)); if ((eventSlave.fetish === "buttslut" || eventSlave.energy > 95)) { t.push(Spoken(eventSlave, `But, ${Master}, girls get fucked. And I love getting fucked in the butt so much. If that makes me a girl then I'm happy being a girl.`)); } else if (eventSlave.fetish === "cumslut" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `But, ${Master}, girls suck cock. And I love sucking cock so much. If that makes me a girl then I'm happy being a girl.`)); } else if (eventSlave.fetish === "pregnancy" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `But, ${Master}, girls get bred. And I love being held down and bred. If that makes me a girl then I'm happy being a girl.`)); } else if ((eventSlave.fetish === "submissive" || eventSlave.fetish === "masochist") && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `But, ${Master}, girls get held down and fucked. And I love being used so much. If that makes me a girl then I'm happy being a girl.`)); } else if (eventSlave.boobs > 400) { t.push(Spoken(eventSlave, `Getting a girl's body made it easier for me, though. When I`)); if (canSee(eventSlave)) { t.push(Spoken(eventSlave, `see myself in the mirror, I see`)); } else { t.push(Spoken(eventSlave, `feel myself up, I feel`)); } t.push(Spoken(eventSlave, `a girl with a body made for getting fucked.`)); } else if (eventSlave.balls === 0) { t.push(Spoken(eventSlave, `Not having balls makes it easier for me, though. The only way my soft girldick will come is when I take cock.`)); } else { t.push(Spoken(eventSlave, `But the training and the rules pushed me through it.`)); } t.push(Spoken(eventSlave, `I try to be a good slave girl for you, ${Master}. Can I — can I be a good slave girl for you? Right now? Please?"`)); t.push(`${He} twists ${his} ${eventSlave.skin} body suggestively,`); if (eventSlave.chastityPenis === 1) { t.push(`offering you ${his} rear hole, the only hope the chastity caged ${girl} has of release.`); } else if (canAchieveErection(eventSlave)) { t.push(`hard dick wagging with the motion, offering you ${his} rear.`); } else if (eventSlave.dick > 6) { t.push(`engorged dick wobbling with the motion, offering you ${his} rear.`); } else if (eventSlave.dick > 0) { t.push(`soft dick flopping with the motion, offering you ${his} rear.`); } App.Events.addResponses(node, [ new App.Events.Result(`Yes ${he} can`, gentleSex), new App.Events.Result(`${He}'s a good slave girl all the time, not just right now`, poundingSex), (canImpreg(eventSlave, V.PC)) ? new App.Events.Result(`Girls should be naked, barefoot and pregnant`, breedingSex) : new App.Events.Result(), new App.Events.Result(`Good slave girls earn money`, partyGirl), ]); function gentleSex() { t = []; t.push(`When ${he}`); if (canSee(eventSlave)) { t.push(`sees`); } else { t.push(`hears`); } t.push(`you stand up from behind your`); if (V.PC.dick === 0) { t.push(`desk and pull on a strap-on,`); } else { t.push(`desk,`); } t.push(`${he} turns fully away from you, cocking ${his}`); if (eventSlave.hips > 0) { t.push(`womanly`); } t.push(`hips at just the right angle to offer you ${his} anus, without any preamble or foreplay. But you come up behind ${him} and encircle ${his}`); if (eventSlave.weight > 95) { t.push(`bountiful belly`); } else if (eventSlave.weight > 30) { t.push(`soft stomach`); } else if (eventSlave.muscles > 95) { t.push(`ripped abs`); } else if (eventSlave.weight > 10) { t.push(`plush belly`); } else if (eventSlave.muscles > 30) { t.push(`muscular waist`); } else if (eventSlave.muscles > 5) { t.push(`firm stomach`); } else { t.push(`trim waist`); } t.push(`with your capable hands, your lips nibbling along the line of ${his}`); if (eventSlave.weight > 95) { t.push(`soft`); } else if (eventSlave.muscles > 30) { t.push(`strong`); } else if (eventSlave.muscles > 5) { t.push(`toned`); } else { t.push(`soft`); } t.push(`shoulders and neck. ${He} shudders as the embrace brings your`); if (V.PC.dick === 0) { t.push(`strap-on`); } else { t.push(`dick`); } if (eventSlave.height >= V.PC.height + 15) { if (hasBothLegs(eventSlave)) { t.push(`slipping between ${his} thighs,`); } else { t.push(`slapping against ${his} thigh,`); } t.push(`since ${he}'s taller than you.`); } else if (eventSlave.height >= V.PC.height) { t.push(`up between ${his} buttocks, since ${he}'s as tall as you.`); } else if (eventSlave.height >= V.PC.height - 15) { t.push(`pressing into ${his} asscrack, since ${he}'s shorter than you.`); } else if (eventSlave.height >= V.PC.height - 30) { t.push(`nestling down into ${his} asscrack, since ${he}'s so much shorter than you.`); } else { t.push(`sliding down ${his} back, since there is a considerable size difference between you.`); } t.push(`You whisper that a good slave girl doesn't have to touch ${himself} to come when ${his} ${getWrittenTitle(eventSlave)} fucks ${his} butt, and ask whether ${he}'s a good slave girl. ${He} shivers and promises that ${he} is, rubbing ${his} asshole against your`); if (V.PC.dick === 0) { t.push(`phallus.`); } else { t.push(`cockhead.`); } t.push(`${He} gives a`); if (eventSlave.voice > 1) { t.push(`feminine`); } else { t.push(`unbecomingly deep`); } t.push(`sigh as it slides into ${him}, and moves softly within your embrace, doing ${his} best to pleasure you with ${his} girly ass. ${He} was already very close, and your loving touch so aroused ${him} that ${he} gasps and stiffens after only a few thrusts,`); if (eventSlave.chastityPenis === 1) { t.push(`shuddering`); } else if (canAchieveErection(eventSlave)) { t.push(`${his} dick twitching`); } else if (eventSlave.dick > 6) { t.push(`${his} fat dick twitching slightly.`); } else if (eventSlave.dick > 0) { t.push(`${his} soft dick twitching softly`); } t.push(`with a weak orgasm. ${He} giggles self-consciously and keeps humping back into you. ${He} is a <span class="devotion inc">good slave girl</span> once more before going to rinse ${himself} off in the shower, so much so that you follow ${him} so ${he} can be a good slave girl in the shower, too.`); eventSlave.devotion += 4; seX(eventSlave, "anal", V.PC, "penetrative", 3); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 15, 1, -1); } return t; } function poundingSex() { t = []; t.push(`You tell ${him} that ${he} doesn't have to prove anything to you right now; ${he}'s shown that ${he}'s a good slave girl already. ${He} looks shocked for a moment before <span class="trust inc">blushing and turning ${his} gaze down at ${his} feet.</span>`); t.push(Spoken(eventSlave, `"T-thanks ${Master},"`)); t.push(`${he} stammers. Since ${he} asked so nicely, though, you continue; you will fuck ${his} butt. ${He} giggles and`); if (canWalk(eventSlave)) { t.push(`hurries`); } else { t.push(`crawls`); } t.push(`over to you in response to a crooked finger, curling up in your lap for a nice makeout session. When the next slave scheduled for an examination comes through the door, it's to the sight of ${eventSlave.slaveName} holding ${his} body sideways in the air over the`); if (hasBothLegs(eventSlave)) { t.push(`couch: ${he} has one knee down on the cushions, and is doing the splits with the other leg running up`); if (V.PC.boobs >= 300) { t.push(`between your breasts.`); } else if (V.PC.title === 0) { t.push(`your flat chest.`); } else { t.push(`your muscular chest.`); } } else { t.push(`couch.`); } t.push(`Your`); if (V.PC.dick === 0) { t.push(`strap-on`); } else { t.push(`dick`); } t.push(`is up ${his} ass, and you're giving it to ${him} hard.`); if (eventSlave.boobs > 25000) { t.push(`${His} immense breasts wobble beside ${him}, absorbing the impact of each thrust.`); } else if (eventSlave.boobs > 1000) { t.push(`${His} huge breasts are bouncing back and forth with the motion, almost hitting ${himself} in the face.`); } else if (eventSlave.weight > 10) { t.push(`${His} generous curves lend the motion weight, and each thrust reams ${his} ass hard.`); } else if (eventSlave.hLength >= 60) { t.push(`${His} long hair flies around ${his} face in a maelstrom of sexual energy.`); } else { t.push(`The leather couch creaks with an obscurely sexual rhythm.`); } t.push(`${He}'s being fucked so hard that ${his}`); if (eventSlave.chastityPenis === 1) { t.push(`cock is being forced to half-hardness inside its chastity cage, making ${him} writhe with mixed anal pleasure and dick pain.`); } else if (canAchieveErection(eventSlave)) { if (eventSlave.dick > 3) { t.push(`massive erection is slapping wetly against ${his} stomach, spattering ejaculate from a previous orgasm everywhere,`); } else if (eventSlave.dick > 1) { t.push(`hard-on is helicoptering around wildly, spattering ejaculate from a previous orgasm everywhere`); } else { t.push(`tiny erection is scattering ejaculate from a previous orgasm everywhere.`); } } else if (eventSlave.dick > 6) { t.push(`${his} swollen cock is swaying along to the pounding, slapping heavily against anything it hits.`); } else if (eventSlave.dick > 3) { t.push(`huge soft cock is flopping at random, slapping against ${his} stomach and ${his} ${legs}.`); } else if (eventSlave.dick > 1) { t.push(`${his} impotent dick has been forced to a state of half-hardness.`); } else { t.push(`${his} pathetic little dick has been forced into a state of half-hardness.`); } t.push(`${He}'s so far gone into a state of`); if (eventSlave.prostate > 0) { t.push(`prostate stimulation induced bliss`); } else { t.push(`bliss from having ${his} insides stirred up`); } t.push(`that ${he}'s drooling a little.`); eventSlave.trust += 4; seX(eventSlave, "anal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 1, -1); } return t; } function breedingSex() { t = []; t.push(`You tell ${him} that a proper girl should be naked, barefoot, and pregnant. ${He} thinks for a moment and ${say}s,`); t.push(Spoken(eventSlave, `"Well I'm already naked... And I'm not wearing any shoes... So that just leaves getting knocked up..."`)); t.push(`${He} giggles, lowers ${himself} to the ground and`); if (eventSlave.butt > 10) { t.push(`bounces ${his} ridiculous ass at you,`); } else if (eventSlave.butt > 3) { t.push(`jiggles ${his} huge butt at you,`); } else { t.push(`wiggles ${his} butt at you,`); } t.push(`inviting you to mount ${him}.`); t.push(Spoken(eventSlave, `"Which won't be a problem at a—!"`)); t.push(`${He} is cut short as you hilt your dick in ${his} ass, push ${his} face to the floor, and being pounding ${his}`); if (eventSlave.anus > 2) { t.push(`slutty asspussy.`); } else if (eventSlave.anus > 1) { t.push(`loose hole.`); } else { t.push(`tight hole.`); } t.push(`${He} bucks against you like a bitch in heat,`); if (eventSlave.chastityPenis === 1) { t.push(`despite the pain caused by ${his} chastity bound hardness,`); } else if (canAchieveErection(eventSlave)) { t.push(`${his} throbbing erection smearing precum across ${his} belly,`); } else if (eventSlave.dick > 6) { t.push(`${his} swollen cock wobbling with your thrusts,`); } else if (eventSlave.dick > 1) { t.push(`${his} soft cock flopping against ${his} belly to your thrusts,`); } else { t.push(`${his} pathetic little dick flopping around forgotten beneath ${him},`); } t.push(`until ${he} feels the warmth of your fresh load deposited in the depths of ${his} rear. You help ${him} onto the couch, where ${he} gently massages ${his} lower belly, <span class="devotion inc">marveling at what it means to be your girl.</span>`); t.push(Spoken(eventSlave, `"I'm going to have ${Master}'s babies... It's like a dream,"`)); t.push(`${he} babbles incoherently. This is just the first of many breedings ${he}'ll undergo this week as you finish ${his} transformation into the perfect slave girl; it will be a surprise if ${he} doesn't come out of this pregnant.`); eventSlave.devotion += 2; seX(eventSlave, "anal", V.PC, "penetrative", 10); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 95, 1, -1); } return t; } function partyGirl() { // replace slave art $(artDiv).empty(); App.Events.drawEventArt(artDiv, eventSlave, "a mini dress"); t = []; t.push(`You tell ${him} that you've hired ${him} out for a party a prominent citizen is throwing, and that ${he} should be a good slave girl by saving ${himself} for that. ${He} trips all over ${himself} promising that ${he} will. You check in on ${him} later, using the video feeds, and are treated to the sight of ${him} wearing a slinky cocktail dress, although wearing is perhaps the wrong term. ${He}'s bent over a barstool with the top of the dress pulled down`); if (eventSlave.boobs > 10000) { t.push(`to let ${his} massive chest wobble freely`); } else if (eventSlave.boobs > 1000) { t.push(`over ${his} huge tits`); } else if (eventSlave.boobs > 300) { t.push(`to bare ${his} boobs`); } else { t.push(`to reveal ${his} sissy chest`); } t.push(`and the bottom of ${his} dress hiked up so a guest can fuck ${his} ass. ${He}'s obviously enjoying ${himself}, happy to be getting some at last. ${His} fee for the night is <span class="cash inc">substantial,</span> and the host attaches a note to the payment, complimenting ${his} eagerness to get assfucked and ${his} willingness to suck cock, and asking when ${he}'ll be available next.`); cashX(500, "event", eventSlave); seX(eventSlave, "anal", "publicUse", "penetrative", 5); seX(eventSlave, "oral", "publicUse", "penetrative", 5); if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { knockMeUp(eventSlave, 10, 1, -2); } return t; } } };
MonsterMate/fc
src/events/RECI/feminization.js
JavaScript
mit
18,307
App.Events.RECIFuta = class RECIFuta extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => V.REFutaSisterCheckinIDs.includes(s.ID), s => s.assignment !== Job.QUARTER, s => s.trust >= 10, s => s.dick > 0, s => s.balls > 0, s => s.vagina >= 0, canStand, canAchieveErection, canTalk, canHear, hasAllNaturalLimbs, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); const {title: Master, say: say} = getEnunciation(eventSlave); const belly = bellyAdjective(eventSlave); V.nextLink = "Next Week"; V.REFutaSisterCheckinIDs.deleteWith((s) => s === eventSlave.ID); App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`You're just finishing up`); let possessiveName = new DocumentFragment; possessiveName.append(App.UI.DOM.slaveDescriptionDialog(eventSlave)); possessiveName.append("'s"); t.push(possessiveName); t.push(`weekly inspection. The`); if (eventSlave.face >= -10) { t.push(`pretty`); } else { t.push(`perky`); } t.push(`futa is standing obediently before you, answering the usual questions with enthusiasm. ${He} gestures animatedly as ${he} talks, making ${his}`); if (eventSlave.boobs > 8000) { t.push(`mind-blowing`); } else if (eventSlave.boobs > 4000) { t.push(`monstrous`); } else if (eventSlave.boobs > 2000) { t.push(`enormous`); } else if (eventSlave.boobs > 800) { t.push(`big`); } if (eventSlave.boobs >= 300) { t.push(`boobs jiggle slightly, and ${his}`); } if (eventSlave.dick > 5) { t.push(`incredible, erect penis wave from side to side.`); } else if (eventSlave.dick > 3) { t.push(`big cock wave from side to side.`); } else if (eventSlave.dick > 1) { t.push(`dick stick out stiffly.`); } else { t.push(`tiny hard-on wiggle lewdly.`); } t.push(`${He} doesn't seem to notice, probably because this state of obvious arousal is more or less permanent for ${him}. After all, this is what the ex-Futanari Sister wanted.`); App.Events.addParagraph(node, t); t = []; t.push(`Apparently, ${he} has something to say. When you've asked ${him} your last question and are considering whether to dismiss ${him} or fuck ${him} and then dismiss ${him}, ${he} speaks up confidently.`); t.push(Spoken(eventSlave, `"${Master},"`)); t.push(`${he} ${say}s.`); t.push(Spoken(eventSlave, `"I want to thank you. When our group of Futa Sisters here failed, I was so scared. We all were! We didn't know what was going to happen, whether we were going to be raped or cut up or worse. But you saved us ${Master}, and you saved me. I'm just as happy with you as I was with the Sisters. I thought I'd have to wake up from the dream I was in, but I'm still dreaming. Thank you."`)); t.push(`${He} gives you a pretty half-curtsy, half-bow that manages to be both graceful and appealingly sexual.`); App.Events.addParagraph(node, t); t = []; t.push(`${His} ${eventSlave.skin} face displays nothing but honest gratitude and devotion. ${He} does not know that the reason ${his} community of Futanari Sisters failed is that you cleverly undermined its finances, forcing it into ruin and its members into slavery. ${He} does not know that the reason ${he} lost years of idyllic transformation and sexual freedom within a group of like-minded women is that you stole them from ${him}. And ${he} does not know that the person ${he} just thanked for saving ${him} from the consequences of the worst thing that ever happened to ${him} was its author.`); t.push(Spoken(eventSlave, `"I love you, ${Master},"`)); t.push(`${he} concludes, smiling expectantly at you.`); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`Love ${him} back`, love, virginityWarningSingle()), new App.Events.Result(`Break ${him} with the truth`, hate, virginityWarningDouble()), ]); function love() { t = []; t.push(`You swing your legs up onto your desk and`); if (V.PC.belly < 5000) { t.push(`jump`); } else { t.push(`heft yourself`); } t.push(`up onto its smooth surface, ${his} eyes tracking the`); if (V.PC.belly >= 5000) { t.push(`delicate, yet determined, motions you take to accommodate your pregnancy.`); } else if (V.PC.boobs >= 300) { t.push(`way it makes your breasts move.`); } else { t.push(`powerful way your muscles move your body.`); } t.push(`When you pat the tops of your`); if (V.PC.title === 1) { t.push(`hard`); } else { t.push(`soft`); } t.push(`thighs meaningfully, ${he} giggles happily and skips forward to clamber up and sit on your lap. The bouncing and climbing creates quite a nice spectacle of`); if (eventSlave.boobs >= 300) { t.push(`jiggling tits and`); } t.push(`waving cock, and ${he} manages to get up on the desk in such a way that you get a solid eyeful of first ${his} wet pussy and then ${his} ready anus.`); if (V.PC.belly + eventSlave.belly >= 10000) { t.push(`${He} positions ${himself} so that`); if (eventSlave.belly >= 8000) { t.push(`${his}`); if (eventSlave.bellyPreg >= 3000) { t.push(`pregnancy`); } else { t.push(`swollen middle`); } t.push(`will allow ${his} hermaphroditic genitalia to meet the`); if (V.PC.dick !== 0) { t.push(`hardness of your`); if (V.PC.vagina !== -1) { t.push(`erection and the warmth further down.`); } else { t.push(`erection.`); } } else { t.push(`warmth of your arousal.`); } } else if (V.PC.belly >= 8000) { t.push(`${He} slides ${himself} beneath your bump with a coo, feeling the`); if (V.PC.dick !== 0) { t.push(`hardness of your erection`); if (V.PC.vagina !== -1) { t.push(`and the warmth further down`); } } else { t.push(`warmth of your arousal`); } t.push(`against ${his} hermaphroditic genitalia.`); } else { t.push(`It takes a moment for both of you to find a position where ${his} hermaphroditic genitalia are able to cross paths with the`); if (V.PC.dick !== 0) { t.push(`hardness of your`); if (V.PC.vagina !== -1) { t.push(`erection and the warmth further down`); } else { t.push(`erection`); } } else { t.push(`warmth of your arousal`); } t.push(`without both of your bellies getting in the way.`); } } else { t.push(`${He} settles ${himself} onto your lap with a coo, feeling the`); if (V.PC.dick !== 0) { t.push(`hardness of your erection`); if (V.PC.vagina !== -1) { t.push(`and the warmth further down`); } } else { t.push(`warmth of your arousal`); } t.push(`against ${his} hermaphroditic genitalia.`); } t.push(`${He} starts to grind ${himself} lasciviously against you, but stops when you seize ${his} face and kiss ${him} deeply. ${He} moans back into you, returning the kiss with intensity.`); if (eventSlave.boobs > 25000) { t.push(`${His} udders are so huge the two of you have to press your torsos hard together to make out, a delightful struggle that stimulates ${his} nipples quite a lot, to go by the way ${he} squeaks and giggles into your mouth.`); } else if (eventSlave.boobs > 4000) { t.push(`${His} bosom is so big that making out face to face presses it quite hard between your torsos, which stimulates ${his} nipples quite a lot, to go by the way ${he} squeaks and giggles into your mouth.`); } else if (eventSlave.boobs + V.PC.boobs > 4000 && V.PC.boobs >= 1000) { t.push(`The amount of breast flesh between you forces you and ${him} to press your torsos hard together to make out, a delightful struggle that stimulates both party's nipples quite a lot, to go by the way ${he} squeaks and giggles into your mouth, and you into ${hers}.`); } else if (V.PC.boobs >= 300 || V.PC.title === 0) { t.push(`You undress without breaking your lip lock, bringing your bare breasts against ${hers} in a warm, loving embrace.`); } else { t.push(`You strip without breaking your lip lock, bringing your heavily muscled chest against ${his} soft breasts in a tender, loving embrace.`); } t.push(`${His} arousal builds rapidly and ${he} goes back to grinding,`); if (V.PC.dick !== 0) { t.push(`eventually getting ${himself} so hot that your dick slides into ${him} almost without either of you meaning to make it happen. ${He} climaxes with you shortly, cumming all over ${his} own breasts.`); } else { t.push(`bringing you both to a shaking climax. ${He} cums all over ${his} own breasts, coating them in glistening ejaculate.`); } t.push(`As ${he} relaxes back against the desk, ${his} panting making ${his} cum-glazed tits rise and fall, you reflect that you just lied by omission, letting`); if (eventSlave.face >= -10) { t.push(`a pretty`); } else { t.push(`a trusting`); } t.push(`${girl} maintain ${his} delusions and <span class="devotion inc">${his} love for you.</span> Of all your sins, this is perhaps the smallest.`); eventSlave.devotion += 4; t.push(VCheck.Vaginal(eventSlave, 1)); return t; } function hate() { t = []; t.push(`You point at`); if (eventSlave.belly >= 300000) { t.push(`${his} stomach, and ${he} leans forward onto ${his} ${belly} belly, giggling with ${his} butt stuck out invitingly.`); } else { t.push(`the couch, and ${he}`); if (canWalk(eventSlave)) { t.push(`skips over to it with a giggle,`); if (eventSlave.boobs >= 300) { t.push(`boobs bouncing.`); } else if (eventSlave.weight > 95) { t.push(`belly bouncing.`); } } else { t.push(`crawls over to it with a giggle.`); } t.push(`${He} hops up onto the cushions, kneeling with ${his} butt stuck out invitingly and ${his} torso bent over its back.`); } t.push(`${He} reaches around to pull one`); if (eventSlave.butt > 12) { t.push(`massive`); } else if (eventSlave.butt > 8) { t.push(`giant`); } else if (eventSlave.butt > 5) { t.push(`huge`); } else if (eventSlave.butt > 2) { t.push(`heavy`); } else { t.push(`cute`); } t.push(`buttock to one side,`); if (eventSlave.anus > 2) { t.push(`stretching ${his} lewd backdoor into a gape`); } else if (eventSlave.anus > 1) { t.push(`stretching ${his} backdoor lewdly`); } else { t.push(`highlighting ${his} tight anus`); } t.push(`and showing off ${his}`); if (eventSlave.labia > 1) { t.push(`dangling`); } else if (eventSlave.labia > 0) { t.push(`generous`); } else if (eventSlave.vaginaLube > 0) { t.push(`wet`); } t.push(`pussylips. You enter ${him} from behind, your`); if (V.PC.dick !== 0) { t.push(`turgid dick`); } else { t.push(`strap-on`); } t.push(`sliding easily into ${his} cunt. Your hands slide around ${him} to hold ${his} shoulders in a gentle lock, and you whisper secrets into ${his} ear. You tell ${him} that the Futanari Sisters here failed because you undermined them. You tell ${him} that ${he} is a slave because you planned and executed ${his} enslavement. And you tell ${him} that no slave will `); if (V.enduringDevotion > 20) { t.push(`believe ${him} if ${he} tells them the truth, since they love you just like ${he} did.`); } else { t.push(`listen to ${him} if ${he} tells them the truth, since they aren't as naive as ${he} was.`); } t.push(`As you pour this poison into ${him}, ${he} remains perfectly still, processing the revelation; the only clue to ${his} feelings is ${his} rapidly softening cock. When it has become completely, pathetically limp, a huge sob tears its way out of ${him}. You switch to ${his} anus and assrape ${him} without mercy, forcing ${his} limp torso halfway around so you can press a kiss on ${his} bawling mouth. ${He} does not resist, even when you begin to taste the salty tears that stream down ${his}`); if (eventSlave.face >= -10) { t.push(`pretty`); } else { t.push(`broken`); } t.push(`face. ${He} will remain devoted to you, mostly from a lack of alternatives, but ${his} trust in you has <span class="trust dec">suffered immensely.</span>`); eventSlave.trust = jsRandom(-90, -75); t.push(VCheck.Both(eventSlave, 1, 1)); return t; } function virginityWarningSingle() { if (V.PC.dick >= 0 && eventSlave.vagina === 0) { return `This option will take ${his} virginity`; } return null; } function virginityWarningDouble() { if (eventSlave.vagina === 0 && eventSlave.anus === 0) { return `This option will take both ${his} virginities`; } else if (eventSlave.vagina === 0) { return `This option will take ${his} virginity`; } else if (eventSlave.anus === 0) { return `This option will take ${his} anal virginity`; } return null; } } };
MonsterMate/fc
src/events/RECI/futa.js
JavaScript
mit
13,199
App.Events.RECIMilf = class RECIMilf extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => V.REMILFCheckinIDs.includes(s.ID), s => s.assignment !== Job.QUARTER, s => s.devotion >= 10, s => s.energy > 60, s => s.bodySwap === 0, s => (canDoAnal(s) || canDoVaginal(s)), canStand, canTalk, canHear, hasAnyArms, hasAnyLegs, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { // eslint-disable-next-line no-unused-vars He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); const {title: Master, say: say} = getEnunciation(eventSlave); const {womenP} = getSpokenPronouns(V.PC, eventSlave).appendSuffix('P'); const belly = bellyAdjective(eventSlave); const desc = SlaveTitle(eventSlave); const hands = hasBothArms(eventSlave) ? "hands" : "hand"; const legs = hasBothLegs(eventSlave) ? "legs" : "leg"; const ankles = hasBothLegs(eventSlave) ? "ankles" : "ankle"; V.nextLink = "Next Week"; V.REMILFCheckinIDs.deleteWith((s) => s === eventSlave.ID); let artDiv = document.createElement("div"); // named container so we can replace it later App.Events.drawEventArt(artDiv, eventSlave, "no clothing"); node.appendChild(artDiv); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is standing before your desk for an inspection. The ${desc} is naked, of course, and is devoted enough to find the situation arousing: ${he}'s being inspected by ${his} ${getWrittenTitle(eventSlave)} in the nude, which is sexual enough, and past inspections have often led to a quick fuck. The horny bitch obviously wants it;`); if (eventSlave.chastityPenis === 1) { t.push(`${his} chastity cage is dribbling precum, and ${he}'s clearly uncomfortable with simultaneous arousal and unwillingness to suffer a hard-on inside it.`); } else if (canAchieveErection(eventSlave)) { t.push(`${his} cock is painfully erect.`); } else if (eventSlave.dick > 6) { t.push(`${his} inhuman cock is swollen and leaking precum.`); } else if (eventSlave.dick > 0) { t.push(`${his} pathetically limp dick is practically dripping precum.`); } else if (eventSlave.clit > 0) { t.push(`${his} clit is big enough to be visibly erect when ${he}'s willing and ready.`); } else if (canDoVaginal(eventSlave)) { t.push(`a sheen is visible on ${his} pussylips, and ${he}'s smiling hopefully at you.`); } else { t.push(`the scent of arousal fills the air, and ${he}'s smiling hopefully at you.`); } t.push(`Your inspections require the slave to offer each of ${his} body parts to your view, and when the routine reaches ${his} crotch,`); if (eventSlave.belly >= 600000) { t.push(`${he} obediently turns around, gingerly leans forward onto ${his} ${belly} middle, hikes`); if (hasBothLegs(eventSlave)) { t.push(`a`); } else { t.push(`${his}`); } t.push(`leg onto ${his} bulk, and displays ${his}`); if (eventSlave.chastityPenis === 1) { t.push(`chastity caged dick.`); } else if (canAchieveErection(eventSlave)) { t.push(`erect cock pressing hard against ${his} underbelly.`); } else if (eventSlave.dick > 6) { t.push(`fat member against ${his} underbelly.`); } else if (eventSlave.dick > 0) { t.push(`poor flaccid member dangling pitifully against ${his} underbelly.`); } else if (eventSlave.labia > 0 && canDoVaginal(eventSlave)) { t.push(`pussy, whose lips are so generous that ${he}`); if (hasBothArms(eventSlave)) { t.push(`uses both hands`); } else { t.push(`uses ${his} hand`); } t.push(`to peel them apart.`); } else if (canDoVaginal(eventSlave)) { if (eventSlave.vagina > 1) { t.push(`nice big cunt, which ${he} spreads shamelessly for you.`); } else if (eventSlave.vagina > 0) { t.push(`tight pussy.`); } else { t.push(`virgin pussy.`); } } else { if (eventSlave.anus > 1) { t.push(`experienced anus, which ${he} winks shamelessly for you.`); } else if (eventSlave.vagina > 0) { t.push(`tight anus.`); } else { t.push(`virgin anus.`); } } } else if (eventSlave.belly >= 100000) { t.push(`${he} obediently turns around, steadies ${himself}, and leans forward to display ${his}`); if (eventSlave.chastityPenis === 1) { t.push(`chastity caged dick`); } else if (canAchieveErection(eventSlave)) { t.push(`erect cock`); } else if (eventSlave.dick > 6) { t.push(`fat member`); } else if (eventSlave.dick > 0) { t.push(`poor flaccid member`); } else if (canDoVaginal(eventSlave)) { if (eventSlave.vagina > 1) { t.push(`nice big cunt, which ${he} spreads shamelessly for you,`); } else if (eventSlave.vagina > 0) { t.push(`tight pussy`); } else { t.push(`virgin pussy`); } } else { if (eventSlave.anus > 1) { t.push(`experienced anus, which ${he} winks shamelessly for you,`); } else if (eventSlave.vagina > 0) { t.push(`tight anus`); } else { t.push(`virgin anus`); } } t.push(`without ${his} ${belly} belly in the way.`); } else { t.push(`${he} obediently backs up to sit down on the couch, spread ${his} ${legs},`); if (eventSlave.belly >= 5000 || eventSlave.weight > 95) { t.push(`lift ${his} belly,`); } t.push(`and display ${his}`); if (eventSlave.chastityPenis === 1) { t.push(`chastity caged dick.`); } else if (canAchieveErection(eventSlave)) { t.push(`erect cock, which ${he} doesn't have to touch to keep upright.`); } else if (eventSlave.dick > 6) { t.push(`fat member, which takes ${his} entire hand to shove upright.`); } else if (eventSlave.dick > 0) { t.push(`poor flaccid member, which ${he} uses a thumb and forefinger to pull upright.`); } else if (eventSlave.labia > 0 && canDoVaginal(eventSlave)) { t.push(`pussy, whose lips are so generous that ${he}`); if (hasBothArms(eventSlave)) { t.push(`uses both hands`); } else { t.push(`uses ${his} hand`); } t.push(`to peel them apart.`); } else if (canDoVaginal(eventSlave)) { if (eventSlave.vagina > 1) { t.push(`nice big cunt, which ${he} spreads shamelessly for you.`); } else if (eventSlave.vagina > 0) { t.push(`tight pussy.`); } else { t.push(`virgin pussy.`); } } else { if (eventSlave.anus > 1) { t.push(`experienced anus, which ${he} winks shamelessly for you.`); } else if (eventSlave.vagina > 0) { t.push(`tight anus.`); } else { t.push(`virgin anus.`); } } } App.Events.addParagraph(node, t); t = []; t.push(`You often pepper slaves with questions during this inspection; it helps you gauge their mental state, and it's just as important to verbally inspect slaves' minds as it is to visually inspect their parts. You remember with sudden clarity what ${eventSlave.slaveName} was like when you acquired ${him}. ${He} seemed older then.`); if (eventSlave.faceImplant > 0) { t.push(`${His} face has been improved since then, of course, making ${him} a good deal prettier.`); } if (eventSlave.ageImplant > 0) { t.push(`The age lift ${he} received has certainly hidden some of the most evident signs of ${his} years.`); } else if (eventSlave.geneMods.NCS === 1) { t.push(`The artificially induced NCS is peeling back the years, as expected.`); } else if (eventSlave.visualAge < eventSlave.physicalAge) { t.push(`The age reducing creams ${he} uses have certainly hidden some of the most evident signs of ${his} years.`); } t.push(`Decent care, diet, and exercise have done wonders. But more than all of that trivial physical stuff, the sexual hunger visible in ${his} ${App.Desc.eyesColor(eventSlave)} makes ${him} look like a teenager. You ask ${him} if ${he} remembers what ${he} was like when you enslaved ${him}. ${He} hesitates, wondering how to answer, but decides that honesty is the best policy and ${say}s,`); t.push(Spoken(eventSlave, `"I remember it every day, ${Master}. I'm grateful. I didn't think of myself as too pretty, then."`)); t.push(`${He} giggles.`); t.push(Spoken(eventSlave, `"Becoming a fuckslave really improved my self esteem.`)); if (eventSlave.energy > 95) { t.push(Spoken(eventSlave, `I can't imagine going back to having as little sex as I used to have. It would be awful.`)); } else if (eventSlave.fetish === "cumslut" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `I can't imagine going back to not sucking dicks all the time. It would be awful.`)); } else if (eventSlave.fetish === "buttslut" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `I can't imagine going back to a life of so little assplay. It would be awful.`)); } else { t.push(Spoken(eventSlave, `I didn't have much of a sex life back then either, not compared to now.`)); } t.push(Spoken(eventSlave, `And, ${Master}."`)); if (eventSlave.belly >= 600000) { t.push(`${He} shifts ${his} weight fully onto ${his} ${eventSlave.bellyPreg >= 2000 ? `pregnant` : `gravid`} swell, angling ${his} crotch upwards and showing off everything ${he} has.`); } else if (eventSlave.belly >= 100000) { t.push(`${He} arches ${his} back prettily and leans even further forward, ${his} ${eventSlave.bellyPreg >= 2000 ? `pregnant` : `gravid`} swell forcing ${his} ${legs} wide, showing off everything ${he} has.`); } else { t.push(`${He} arches ${his} back prettily and then scoots ${himself} down the couch cushions, taking ${his} ${hands} away from ${his} crotch to spread ${his} ${legs} even wider, showing off everything ${he} has.`); } t.push(Spoken(eventSlave, `"I didn't really appreciate being fucked by ${V.PC.title !== 0 ? `gorgeous` : `hot`} ${womenP} then, either. Not like I do now..."`)); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`Then ${he} can appreciate a nice struggle fuck`, roughSex, virginityWarning()), new App.Events.Result(`Appreciate ${his} body`, gentleSex, virginityWarning()), new App.Events.Result(`Put the horny old ${girl} to work`, partyGirl, virginityWarningDouble()), ]); function roughSex() { let virginityLoss = 0; let inHole = ""; t = []; t.push(`When ${he}`); if (canSee(eventSlave)) { t.push(`sees`); } else { t.push(`hears`); } t.push(`you stand up from behind your desk`); if (V.PC.dick === 0) { t.push(`desk and pull on a strap-on,`); } else { t.push(`desk,`); } t.push(`${he} smiles invitingly at you and relaxes. But as you approach, ${he}`); if (canSee(eventSlave)) { t.push(`sees a dangerous glint in your eyes.`); } else { t.push(`hears a menacing cadence to your footstep.`); } t.push(`One corner of ${his} mouth flaws upward with anticipation, and ${he} plays along.`); if (eventSlave.belly < 600000) { if (eventSlave.belly >= 100000) { t.push(`${He} stumbles face first into the couch, managing to somehow end up with ${his}`); } else { t.push(`${He} immediately curls up into a ball on the couch, managing to end up with ${his}`); } if (eventSlave.weight > 30) { t.push(`fat ass squashed enticingly against the seat back.`); } else if (eventSlave.butt > 5) { t.push(`absurd ass squashed enticingly against the seat back.`); } else if (eventSlave.butt > 2) { t.push(`healthy ass pushed against the seat back.`); } else { t.push(`trim ass against the seat back.`); } } t.push(`${He} looks up at you with feigned terror and begs,`); t.push(Spoken(eventSlave, `"Please, ${Master}, I'm just an innocent little ${girl}. Please don't rape my poor little butt!"`)); t.push(`You grab ${his} ${ankles} and`); if (eventSlave.belly >= 100000 || eventSlave.weight > 160) { // muscles check here! t.push(`pull yourself onto ${his}`); } else { t.push(`haul ${his}`); } if (eventSlave.weight > 160) { t.push(`rippling`); } else if (eventSlave.weight > 95) { t.push(`thick`); } else if (eventSlave.weight > 30) { t.push(`chubby`); } else if (eventSlave.muscles > 95) { t.push(`ripped`); } else if (eventSlave.muscles > 30) { t.push(`muscled`); } else if (eventSlave.weight > 10) { t.push(`plush`); } else if (eventSlave.muscles > 5) { t.push(`toned`); } else { t.push(`slender`); } if (eventSlave.belly >= 750000) { if (eventSlave.bellyPreg > 0) { t.push(`grotesquely pregnant`); } else { t.push(`grotesquely inflated`); } } else if (eventSlave.belly >= 600000) { if (eventSlave.bellyPreg > 0) { t.push(`dangerously pregnant`); } else { t.push(`dangerously distended`); } } else if (eventSlave.belly >= 450000) { if (eventSlave.bellyPreg > 0) { t.push(`immensely pregnant`); } else { t.push(`immensely distended`); } } else if (eventSlave.belly >= 150000) { if (eventSlave.bellyPreg > 0) { t.push(`massively pregnant`); } else { t.push(`massively distended`); } } else if (eventSlave.belly >= 120000) { if (eventSlave.bellyPreg > 0) { t.push(`enormously pregnant`); } else { t.push(`greatly gravid`); } } else if (eventSlave.belly >= 10000) { if (eventSlave.bellyPreg > 3000) { t.push(`heavily pregnant`); } else if (eventSlave.bellyImplant > 3000) { t.push(`very gravid`); } else { t.push(`taut`); } } else if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg > 3000) { t.push(`very pregnant`); } else if (eventSlave.bellyImplant > 3000) { t.push(`gravid`); } else { t.push(`distended`); } } else if (eventSlave.belly >= 1500) { if (eventSlave.bellyPreg > 0) { t.push(`slightly pregnant`); } else if (eventSlave.bellyImplant > 0) { t.push(`slightly distended`); } else { t.push(`bloated`); } } t.push(`${eventSlave.skin}`); if (eventSlave.belly >= 100000 || eventSlave.weight > 160) { t.push(`body,`); } else { t.push(`body toward you, dragging ${him} across the couch,`); if (eventSlave.belly >= 5000) { t.push(`and then pin ${him},`); } else { t.push(`and then half-fall atop ${him},`); } } t.push(`pushing`); if (V.PC.dick === 0) { t.push(`the strap-on`); } else { t.push(`your hard cock`); } if (canDoVaginal(eventSlave) && (!canDoAnal(eventSlave) || eventSlave.anus === 0 || eventSlave.vagina > 0)) { t.push(`into the wriggling ${girl}'s`); if (eventSlave.vagina === 0) { t.push(`virgin`); virginityLoss = 1; } t.push(`pussy.`); inHole = "pussy"; } else { t.push(`up the wriggling ${girl}'s`); if (eventSlave.anus === 0) { t.push(`virgin`); virginityLoss = 2; } t.push(`butt.`); inHole = "ass"; } t.push(`${He} keeps begging and whining, but`); if (hasBothArms(eventSlave)) { t.push(`${he}'s managed to bring a hand under ${himself} and is`); if (eventSlave.belly >= 100000 || eventSlave.fetish === "boobs") { if (eventSlave.nipples === "fuckable") { t.push(`frantically fingering ${his} nipple.`); } else if (eventSlave.boobs >= 400) { t.push(`enthusiastically kneading ${his} breasts.`); } else { t.push(`frantically tweaking ${his} nipples.`); } } else if (canDoVaginal(eventSlave) && inHole === "ass" && eventSlave.dick === 0) { t.push(`schlicking away.`); } else if (eventSlave.chastityPenis && !canDoVaginal(eventSlave)) { t.push(`frantically rubbing ${his} taint.`); } else if (canAchieveErection(eventSlave)) { t.push(`jacking off to your rhythm.`); } else if (eventSlave.dick > 6) { t.push(`rubbing as much of ${his} engorged cock as ${he} can reach.`); } else if (eventSlave.dick > 0) { t.push(`rubbing ${his} submissive little bitch dick.`); } else { t.push(`massaging ${his} pubic mound, and what's beneath it, to your thrusts.`); } } else { t.push(`there's no stopping ${him} from grinding against you.`); } if ((inHole === "ass" && eventSlave.skill.anal > 30) || (inHole === "pussy" && eventSlave.skill.vaginal > 30)) { t.push(`${He} periodically manages to get`); } else { t.push(`${He} sometimes accidentally pulls`); } t.push(`${his}`); if (inHole === "ass") { if (eventSlave.anus > 2) { t.push(`loose`); } else if (eventSlave.anus > 1) { t.push(`practiced`); } else { t.push(`tight`); } t.push(`anus`); } else { if (eventSlave.vagina > 2) { t.push(`loose`); } else if (eventSlave.vagina > 1) { t.push(`practiced`); } else { t.push(`tight`); } t.push(`vagina`); } t.push(`off your thrusting`); if (V.PC.dick === 0) { t.push(`phallus,`); } else { t.push(`penis,`); } t.push(`but that just gives you the pleasure of forcing it`); if (inHole === "ass") { t.push(`up ${his} ass`); } else { t.push(`into ${his} cunt`); } t.push(`again to the accompaniment of pretended girlish protests. ${He} does ${his} best to maintain the pretense, but soon the best ${he} can come up with is a ridiculous`); if (inHole === "ass") { t.push(Spoken(eventSlave, `"${Master}, please don't make me come! Not from anal!"`)); } else { t.push(Spoken(eventSlave, `"${Master}, don't cum in me! It's a dangerous day! I'll get pregnant!"`)); } t.push(`${He}'s`); if (virginityLoss > 0) { t.push(`quite sore from`); if (virginityLoss === 2) { t.push(`<span class="virginity loss">losing ${his} anal cherry in such a rough way</span>`); eventSlave.anus = 1; } else { t.push(`<span class="virginity loss">${his} first time being so rough</span>`); eventSlave.vagina = 1; } } else { t.push(`a little sore,`); } t.push(`and winces stiffly when ${he}`); if (eventSlave.belly < 600000) { t.push(`gets up off the couch,`); } else { t.push(`shoves ${himself} back upright`); } t.push(`but shakes it off and <span class="devotion inc">gives you a kiss</span> with surprising shyness for a mature slave whose`); if (inHole === "ass") { t.push(`anus you just fucked.`); seX(eventSlave, "anal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 1, -1); } } else { t.push(`pussy you just dominated.`); seX(eventSlave, "vaginal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 0, -1); } } eventSlave.devotion += 4; return t; } function gentleSex() { let inHole = ""; t = []; t.push(`You stand up from behind your`); if (V.PC.dick === 0) { t.push(`desk, pull on a strap-on,`); } else { t.push(`desk`); } t.push(`and approach ${him}, appreciating ${his} gorgeous body,`); if (eventSlave.belly >= 600000) { t.push(`perfectly laid out across ${his} own bulk`); } else if (eventSlave.belly >= 100000) { t.push(`glowing with maternity and all stretched out`); } else { t.push(`all laid out across the couch`); } t.push(`for your perusal. When you reach ${him}, you hold out a hand for`); if (hasBothArms(eventSlave)) { t.push(`one of`); } t.push(`${hers}; ${he} takes it <span class="trust inc">trustingly,</span> ${his} grip`); if (eventSlave.muscles > 50) { t.push(`powerful and decisive.`); } else if (eventSlave.muscles > 30) { t.push(`strong and sure.`); } else if (eventSlave.weight > 160) { t.push(`excessively soft.`); } else if (eventSlave.muscles > 5) { t.push(`firm and warm.`); } else if (eventSlave.muscles < -95) { t.push(`almost nonexistent.`); } else if (eventSlave.muscles < -30) { t.push(`weak and submissive.`); } else { t.push(`soft and feminine.`); } t.push(`You pull ${him} up to kneel on the couch cushions, facing a mirrored wall of the room.`); if (canSee(eventSlave)) { t.push(`${He}'s treated to a view of ${his} own face`); } else { t.push(`Your treated to the sight of ${his} blind face`); } t.push(`as you`); if (V.PC.belly >= 100000) { t.push(`awkwardly`); } else { t.push(`gently`); } t.push(`penetrate ${him} from behind,`); if (V.PC.belly >= 100000) { t.push(`your massive baby bump rubbing erotically`); } else if (V.PC.belly >= 30000) { t.push(`your baby bump uncomfortably squished`); } else if (V.PC.belly >= 1500) { t.push(`holding the curve of your pregnancy`); } else if (V.PC.boobs >= 300) { t.push(`holding your`); if (V.PC.boobsImplant / V.PC.boobs >= .60) { t.push(`firm`); } else { t.push(`soft`); } t.push(`breasts hard`); } else if (V.PC.title === 1) { t.push(`holding your strong chest hard`); } else { t.push(`holding your flat chest hard`); } t.push(`against ${his}`); if (eventSlave.weight > 160) { t.push(`rippling backfat.`); } else if (eventSlave.weight > 130) { t.push(`soft backfat.`); } else if (eventSlave.weight > 95) { t.push(`soft back.`); } else if (eventSlave.muscles > 95) { t.push(`ripped back.`); } else if (eventSlave.muscles > 30) { t.push(`strong back.`); } else if (eventSlave.muscles > 5) { t.push(`toned back.`); } else { t.push(`warm back.`); } t.push(`Once you're seated in ${his}`); if (canDoVaginal(eventSlave) && (!canDoAnal(eventSlave) || eventSlave.anus === 0 || eventSlave.vagina > 0)) { if (eventSlave.vagina === 0) { t.push(`virgin`); } t.push(`womanhood,`); inHole = "pussy"; } else { if (eventSlave.anus === 0) { t.push(`virgin`); } t.push(`anus,`); inHole = "ass"; } t.push(`you let your hands rove across ${his}`); if (eventSlave.weight > 95) { t.push(`luscious`); } t.push(`body, resting your chin on one of ${his} shoulders to`); if (canSee(eventSlave)) { // height concerns! t.push(`watch the view with ${him}.`); } else { t.push(`get a better view of ${him}.`); } t.push(`You run your fingers`); if (eventSlave.hLength < 10) { t.push(`across ${his} scalp, eliciting a sigh.`); } else if (eventSlave.hLength < 50) { t.push(`through ${his} short hair and across ${his} scalp, eliciting a sigh.`); } else if (eventSlave.hLength < 100) { t.push(`all through ${his} long, luxurious hair.`); } else { t.push(`down the immense length of ${his} hair, bringing it around to cascade down`); if (eventSlave.boobs > 300) { t.push(`between ${his}`); if (eventSlave.belly >= 5000 || eventSlave.weight > 95) { t.push(`breasts and around ${his} stomach.`); } else { t.push(`breasts.`); } } else if (eventSlave.belly >= 5000 || eventSlave.weight > 95) { t.push(`${his} front and around ${his} stomach.`); } else { t.push(`${his} chest.`); } } t.push(`Your fingers`); if (eventSlave.faceShape === "cute" || eventSlave.weight > 97) { t.push(`caress ${his} soft cheeks,`); } else { t.push(`trace ${his} cheekbones,`); } if (eventSlave.weight > 130) { t.push(`the roll of ${his} extra chin,`); } else if (eventSlave.faceShape === "masculine") { t.push(`the chiseled cut of ${his} jaw,`); } else { t.push(`the line of ${his} jaw,`); } t.push(`and the`); if (eventSlave.lips > 95) { t.push(`dominant feature of ${his} face; ${his} immensely inflated lips.`); } else if (eventSlave.lips > 70) { t.push(`pouting prominence of ${his} huge lips.`); } else if (eventSlave.lips > 40) { t.push(`plush softness of ${his} plump lips.`); } else if (eventSlave.lips > 20) { t.push(`soft outline of ${his} pretty mouth.`); } else if (eventSlave.lips > 10) { t.push(`soft outline of ${his} cute lips.`); } else { t.push(`outline of ${his} mouth.`); } t.push(`Your hands`); if (eventSlave.boobs >= 25000) { t.push(`grope as much of ${his} unbelievable breasts as you can reach, before diving into the warm depths beneath ${his} immense udders.`); } else if (eventSlave.boobs >= 10000) { t.push(`struggle to heft ${his} bountiful breasts, and then allow themselves to be enveloped by the copious amount of flesh that makes up ${his} udders.`); } else if (eventSlave.boobs >= 2000) { t.push(`heft ${his} enormous breasts, and then bury themselves in the warm surroundings of the spaces between ${his} udders and ${his} ribcage.`); } else if (eventSlave.boobs >= 1000) { t.push(`heft ${his} big breasts measuringly.`); } else if (eventSlave.boobs >= 300) { t.push(`cup ${his} healthy breasts, feeling their weight.`); } else { t.push(`massage ${his} flat chest.`); } if (eventSlave.boobs >= 25000 || V.PC.belly >= 30000) { t.push(`It takes some effort but you manage to`); } else { t.push(`You`); } if (eventSlave.nipplesPiercing > 0) { t.push(`gently tug on ${his} nipple piercings, earning a gentle intake of breath.`); } else if (eventSlave.nipples === "huge") { t.push(`run a feather-light touch along ${his} long nipples, earning a gasp as they stiffen.`); } else { t.push(`run a feather-light touch over ${his} nipples, earning a gasp as they`); if (eventSlave.nipples !== "fuckable") { t.push(`stiffen.`); } else { t.push(`tighten.`); } } t.push(`You slide further down,`); if (eventSlave.bellyPreg >= 750000) { t.push(`running your hands across the countless infants that stretch ${his} uterus to its very limit.`); } else if (eventSlave.bellyPreg >= 600000) { t.push(`running your hands across the sides of ${his} belly, enjoying the bulging infants beneath your palms reacting to your touch.`); } else if (eventSlave.bellyPreg >= 450000) { t.push(`running your hands across the sides of ${his} belly, marveling at the feelings of life just beneath your palms.`); } else if (eventSlave.belly >= 60000) { t.push(`massaging the sides of ${his} sensitive midriff as you try to meet your hands around the imposing bump.`); } else if (eventSlave.belly >= 10000) { if (eventSlave.bellyPreg >= 2000) { t.push(`massaging the stretched skin of ${his} pregnancy before teasing ${his} popped navel.`); } else if (eventSlave.bellyImplant >= 2000) { t.push(`massaging the taut skin of ${his} belly before teasing ${his} popped navel.`); } else { t.push(`cupping the hugely bloated expanse of ${his} fluid filled middle.`); } } else if (eventSlave.weight > 130) { t.push(`fondling and groping the soft mass of ${his} hugely fat belly.`); } else if (eventSlave.weight > 95) { t.push(`fondling ${his} fat belly and exploring its soft folds.`); } else if (eventSlave.belly >= 1500) { if (eventSlave.bellyPreg >= 2000) { t.push(`running your hands over the life growing inside ${him}.`); } else if (eventSlave.bellyImplant >= 2000) { t.push(`running your hands across the curve of ${his} stomach.`); } else { t.push(`enjoying the way ${his} fluid-filled belly jiggles in your hands.`); } } else if (eventSlave.muscles > 30) { t.push(`fondling ${his} tight abs and flanks.`); } else if (eventSlave.weight > 30) { t.push(`fondling ${his} plush belly and deep navel.`); } else if (eventSlave.bellySag > 0) { t.push(`rubbing and teasing ${his} loose stomach.`); } else { t.push(`rubbing ${his} flat stomach and trim sides.`); } t.push(`${He}'s so mesmerized by your manual tour of ${his} mature body that it's almost a surprise to ${him} when ${he} tips over into a strong orgasm that obliges you to grip ${him} and hold on while ${he} shakes.`); eventSlave.trust += 4; if (inHole === "ass") { if (eventSlave.anus === 0) { t.push(`${He}'ll remember <span class="virginity loss">losing ${his} anal virginity</span> in <span class="devotion inc">such an intimate way.</span>`); eventSlave.devotion += 4; eventSlave.anus++; } seX(eventSlave, "anal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 1, -1); } } else { if (eventSlave.vagina === 0) { t.push(`${He}'ll remember <span class="virginity loss">losing ${his} virginity</span> in <span class="devotion inc">such an intimate way.</span>`); eventSlave.devotion += 4; eventSlave.vagina++; } seX(eventSlave, "vaginal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 0, -1); } } return t; } function partyGirl() { // replace slave art $(artDiv).empty(); App.Events.drawEventArt(artDiv, eventSlave, "a t-shirt"); t = []; t.push(`You tell ${him} that you've hired ${him} out for a party hosted by a prominent citizen's son, home from college, and that ${he} should be saving it for that. ${He} promises that ${he} will,`); if (eventSlave.belly >= 600000) { t.push(`wiggling atop ${his} mass`); } else if (eventSlave.belly >= 100000) { t.push(`straightening up`); } else if (hasBothLegs(eventSlave)) { t.push(`relaxing ${his} leg`); } else { t.push(`bringing ${his} legs together again`); } t.push(`and clearly already imagining it. You check in on ${him} later, using the video feeds, and are treated to the sight of ${him} wearing a recently-acquired, too-tight t-shirt with an old world college's mascot on it as ${he}`); if ((canDoAnal(eventSlave) && eventSlave.anus === 0) || (canDoVaginal(eventSlave) && eventSlave.vagina === 0)) { t.push(`<span class="virginity loss">is deflowered</span> by`); } else { t.push(`rides`); } t.push(`a dick young enough to be ${his} son's. There's some drunken yelling, which ${he} responds to by blowing kisses and licking ${his}`); if (eventSlave.lips > 95) { t.push(`absurd`); } else if (eventSlave.lips > 70) { t.push(`huge`); } else if (eventSlave.lips > 40) { t.push(`plump`); } else if (eventSlave.lips > 20) { t.push(`pretty`); } else if (eventSlave.lips <= 10) { t.push(`thin`); } t.push(`lips until another cock finds its way into ${his} mouth. ${His} fee for the night is <span class="cash inc">substantial,</span> and the student's father attaches a note to the payment. Apparently ${he} got him too, and he's interested in hiring ${him} for a business meeting next month.`); cashX(500, "event", eventSlave); if (canDoVaginal(eventSlave)) { seX(eventSlave, "vaginal", "publicUse", "penetrative", 5); if (eventSlave.vagina === 0) { eventSlave.vagina++; } if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { knockMeUp(eventSlave, 10, 0, -2); } } if (canDoAnal(eventSlave)) { seX(eventSlave, "anal", "publicUse", "penetrative", 5); if (eventSlave.anus === 0) { eventSlave.anus++; } if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { knockMeUp(eventSlave, 10, 1, -2); } } seX(eventSlave, "oral", "publicUse", "penetrative", 5); return t; } function virginityWarning() { if (canDoVaginal(eventSlave) && (eventSlave.vagina === 0)) { if (!canDoAnal(eventSlave) || eventSlave.anus === 0) { return `This option will take ${his} virginity`; } } else if (!canDoVaginal(eventSlave) && canDoAnal(eventSlave) && (eventSlave.anus === 0)) { return `This option will take ${his} anal virginity`; } return null; } function virginityWarningDouble() { if (eventSlave.vagina === 0 && canDoVaginal(eventSlave) && eventSlave.anus === 0 && canDoAnal(eventSlave)) { return `This option will take both ${his} virginities`; } else if (eventSlave.vagina === 0 && canDoVaginal(eventSlave)) { return `This option will take ${his} virginity`; } else if (eventSlave.anus === 0 && canDoAnal(eventSlave)) { return `This option will take ${his} anal virginity`; } return null; } } };
MonsterMate/fc
src/events/RECI/milf.js
JavaScript
mit
32,312
App.Events.RECIOrientation = class RECIOrientation extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => V.REOrientationCheckinIDs.includes(s.ID), s => s.assignment !== Job.QUARTER, s => s.attrXY > 50, s => s.anus !== 0, s => s.vagina !== 0, s => (canDoAnal(s) || canDoVaginal(s)), s => s.devotion >= 10, canStand, canTalk, canHear, hasBothLegs, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { // eslint-disable-next-line no-unused-vars He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); const belly = bellyAdjective(eventSlave); const desc = SlaveTitle(eventSlave); V.nextLink = "Next Week"; V.REOrientationCheckinIDs.deleteWith((s) => s === eventSlave.ID); App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is the second slave on the inspection schedule for today. ${He} comes into your office naked, to find that the first inspection is going a little long. The slave before ${him} is obediently riding`); if (V.PC.dick === 0) { t.push(`one of your larger strap-ons.`); } else { t.push(`your cock.`); } t.push(`${He} waits patiently, but does not bother to hide ${his} arousal at the`); if (canSee(eventSlave)) { t.push(`lewd sight.`); } else { t.push(`sound of flesh slapping flesh.`); } t.push(`${He} obviously wants to be next;`); if (eventSlave.chastityPenis === 1) { t.push(`${his} chastity cage is dribbling precum, and ${he}'s clearly uncomfortable with simultaneous arousal and unwillingness to suffer a hard-on inside it,`); } else if (canAchieveErection(eventSlave)) { t.push(`${his} cock is painfully erect,`); } else if (eventSlave.dick > 6) { t.push(`precum is starting to bead at the tip of ${his} inhuman cock,`); } else if (eventSlave.dick > 0) { t.push(`${his} pathetically limp dick is practically dripping precum,`); } else if (eventSlave.clit > 0) { t.push(`${his} big clit is visibly erect,`); } else { t.push(`a sheen is visible on ${his} pussylips,`); } t.push(`${his} nipples are`); if (eventSlave.nipples !== "fuckable") { t.push(`stiff,`); } else { t.push(`swollen tight,`); } t.push(`and ${he}'s starting to breathe a little hard.`); App.Events.addParagraph(node, t); t = []; t.push(`When you finish and send the slave you were boning on their way with a light slap on the rump, you seat yourself to inspect ${eventSlave.slaveName}. As you do,`); if (V.PC.dick === 0) { t.push(`your rather realistically modeled phallus dangles`); } else { t.push(`your half-hard but still quite imposing cock hangs`); } t.push(`between your legs, still slick from fucking the previous inspectee.`); if (canSee(eventSlave)) { t.push(`${eventSlave.slaveName}'s`); t.push(App.Desc.eyesColor(eventSlave)); t.push(`focus`); } else { t.push(`${eventSlave.slaveName} focuses`); } t.push(`on it with painful intensity,`); if (eventSlave.chastityPenis === 1) { t.push(`and the ${desc}'s chastity cage begins to bother ${him} even more.`); } else if (canAchieveErection(eventSlave)) { t.push(`and the ${desc}'s hard dick releases a string of precum.`); } else if (eventSlave.dick > 6) { t.push(`and the ${desc}'s oversized dick engorges as much as it possibly can.`); } else if (eventSlave.dick > 0) { t.push(`and the ${desc}'s soft dick twitches weakly.`); } else if (eventSlave.clit > 0) { t.push(`and the ${desc}'s clit gets, if possible, even more flushed and erect.`); } else { t.push(`the distinct smell of female arousal in the office intensifying.`); } App.Events.addParagraph(node, t); t = []; t.push(`You remember the way ${he} was when ${he} became your slave with sudden clarity. ${He} was not a fan of the dick then, but ${he}'s certainly come around.`); if (V.PC.dick === 0) { t.push(`Even a realistic strap-on is enough to get ${him} all hot and bothered.`); } t.push(`On impulse, you ask ${him} if ${he} remembers how ${he} used to feel about cock. ${He} hesitates, wondering how to answer, but decides that honesty is the best policy and giggles,`); t.push(Spoken(eventSlave, `"Yes, ${Master}. I do. I mean, not all the time. It's easy to forget that I wasn't always such a cock-hungry slut."`)); t.push(`${He} laughs, a rueful sound.`); if (eventSlave.energy > 95) { t.push(Spoken(eventSlave, `"I need it so bad now, I'll let anybody fuck me. I mean, I'd let anybody fuck me, if it wasn't already my job as a slave.`)); } else if (eventSlave.fetish === "cumslut" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `"Cocks are so hot. Just thinking about them gets me all horny. How they're all throbbing and warm and then they cum..."`)); t.push(`${He} trails off.`); t.push(Spoken(eventSlave, `"Sorry, got distracted.`)); } else if (eventSlave.fetish === "buttslut" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `"I didn't know how much fun getting fucked in the butt was back then.`)); } else if (eventSlave.fetish === "pregnancy" && eventSlave.fetishStrength > 60) { t.push(Spoken(eventSlave, `"I didn't know how good it felt to receive a load of fresh cum back then.`)); } else { t.push(Spoken(eventSlave, `"Guys are just so hot — all big and strong and muscly.`)); } if (V.PC.title === 1) { t.push(Spoken(eventSlave, `And being owned by such a handsome man has helped."`)); } else { t.push(Spoken(eventSlave, `Not that I don't love ladies too."`)); } t.push(`${He} arches ${his} back and bats ${his} eyes at you.`); t.push(Spoken(eventSlave, `"A lot."`)); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`${He} wants dick. Give ${him} the dick`, dicking), new App.Events.Result(`Send ${him} down to a gym to share that attraction around`, gymService), ]); function dicking() { const arms = hasBothArms(eventSlave) ? "arms" : "arm"; t = []; t.push(`You`); if (V.PC.belly >= 10000) { t.push(`push yourself`); } else { t.push(`rise fluidly`); } t.push(`out of your chair,`); if (canSee(eventSlave)) { t.push(`pointing at the floor`); if (eventSlave.belly >= 100000 || eventSlave.boobs > 50000) { t.push(`at ${his} feet.`); } else { t.push(`in front of ${him}.`); } } else { t.push(`ordering ${him} to prepare ${himself}.`); } t.push(`${He} needs no further direction, and hurriedly gets down to place ${his} mouth at dick height. ${He}`); if (V.PC.dick === 0) { t.push(`gives your strap-on a blowjob`); } else { t.push(`sucks you off`); if (V.PC.vagina !== -1) { t.push(`and eats you out`); } } t.push(`with relish,`); if (V.PC.belly >= 10000) { t.push(`hair tickling the underside of your belly,`); } else { t.push(`looking adoringly up at you`); } t.push(`as ${he} rhythmically works ${his} lips up and down`); if (V.PC.dick === 0) { t.push(`the`); } else { t.push(`your`); } t.push(`thick shaft. After a bit of this, you pull`); if (V.PC.dick === 0) { t.push(`the phallus`); } else { t.push(`yourself`); } t.push(`free with a delicious popping noise, and haul the slave`); if (canWalk(eventSlave)) { t.push(`to ${his} feet`); } else { t.push(`upright`); } t.push(`with ${his} back to you. You grab ${his}`); if (hasAnyArms(eventSlave)) { t.push(`${arms}`); } else { t.push(`shoulders`); } t.push(`in a firm hold and`); // TODO fucking height if (V.PC.belly >= 1000) { t.push(`guide ${him} forward`); if (eventSlave.belly >= 300000) { t.push(`onto ${his} ${belly} belly`); } } else { t.push(`pull ${him} up on tiptoe`); } t.push(`(at which the horny ${girl} giggles with anticipation), and then thrust into the`); if (eventSlave.weight > 10) { t.push(`soft crevice between ${his} plush thighs.`); } else { t.push(`gap between ${his} thighs.`); } t.push(`This motion slides`); if (V.PC.dick === 0) { t.push(`the strap-on`); } else { t.push(`your hard dick`); } if (eventSlave.vagina > -1) { t.push(`against ${his} moist pussylips,`); } else if (eventSlave.scrotum > 0) { t.push(`against ${his} anus and then past ${his} ballsack,`); } else { t.push(`along ${his} sensitive perineum,`); } t.push(`eliciting a shocked gasp and then a prolonged whine of pleasure. ${He} humps ${himself} along`); if (V.PC.dick === 0) { t.push(`the phallus`); } else { t.push(`your shaft`); if (V.PC.vagina !== -1) { t.push(`and mons`); } } t.push(`shamelessly, craning around to rain kisses on your`); if (V.PC.belly >= 10000) { t.push(`baby bump.`); } else { t.push(`jawline and neck.`); } t.push(`When you gently push ${his} face away from you by`); if (V.PC.belly >= 10000) { t.push(`leaning into ${him},`); } else { t.push(`tipping ${his} torso forward,`); } t.push(`${he} moans a little from the loss of closeness, but soon forgets it when you press your`); if (V.PC.dick === 0) { t.push(`strap-on`); } else { t.push(`dick`); } if (canDoVaginal(eventSlave)) { t.push(`inside ${him}. ${He} begins to gasp your name, moan adoration, and beg nonsensically, and ${he} orgasms promptly. ${He} groans with`); if (canDoAnal(eventSlave)) { t.push(`overstimulation as you pull out, and then whines when you redouble it by immediately switching to ${his}`); if (eventSlave.anus > 2) { t.push(`loose`); } else if (eventSlave.anus > 1) { t.push(`practiced`); } else { t.push(`tight`); } t.push(`ass.`); } else { t.push(`overstimulation, but you're just getting started; you grab ${his} hips and hoist ${him} up to fuck ${his}`); if (eventSlave.vagina > 9) { t.push(`abyssal`); } else if (eventSlave.vagina > 3) { t.push(`gaping`); } else if (eventSlave.vagina > 2) { t.push(`loose`); } else if (eventSlave.vagina > 1) { t.push(`practiced`); } else { t.push(`tight`); } t.push(`pussy some more.`); } } else { t.push(`against ${his}`); if (eventSlave.anus > 2) { t.push(`loose`); } else if (eventSlave.anus > 1) { t.push(`practiced`); } else { t.push(`tight`); } t.push(`anus. As you push inside ${him}, ${he} begins to gasp your name, moan adoration, and beg nonsensically, and ${he} orgasms promptly. ${He} groans with overstimulation, but you're just getting started; you grab ${his} hips and hoist ${him} up to fuck ${his} ass some more.`); } t.push(`You climax there, your tour of ${his} holes completed; ${he} drops down to clean you off again before <span class="trust inc">thanking you earnestly</span> and taking ${his} leave, though not without a final turn in the doorway to`); if (canSee(eventSlave)) { t.push(`steal a final loving glance at`); if (V.PC.dick === 0) { t.push(`your strap-on.`); } else { t.push(`your junk.`); } } else { t.push(`fantasize a little about the next time ${he}'ll be intimate with`); if (V.PC.dick === 0) { t.push(`your strap-on.`); } else { t.push(`your junk.`); } } eventSlave.trust += 4; seX(eventSlave, "oral", V.PC, "penetrative"); if (canDoVaginal(eventSlave)) { seX(eventSlave, "vaginal", V.PC, "penetrative"); if (canDoAnal(eventSlave)) { seX(eventSlave, "anal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 2, -1); } } else { seX(eventSlave, "vaginal", V.PC, "penetrative"); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 0, -1); } } } else if (canDoAnal(eventSlave)) { seX(eventSlave, "anal", V.PC, "penetrative", 2); if (canImpreg(eventSlave, V.PC)) { knockMeUp(eventSlave, 10, 1, -1); } } return t; } function gymService() { t = []; t.push(`You bring up a schematic of the arcology and`); if (canSee(eventSlave)) { t.push(`point out a`); } else { t.push(`detail the path to a nearby`); } t.push(`public gym to ${him}; you`); if (canHold(eventSlave)) { t.push(`hand ${him} a day pass,`); } else { t.push(`fasten a day pass around ${his} neck,`); } t.push(`tell ${him} to go down there, and let ${him} know ${he}'ll spend the rest of the day there. ${He} looks mystified, and when you do not elaborate further, ${he} asks,`); t.push(Spoken(eventSlave, `"What should I do there, ${Master}?"`)); t.push(`Anything ${he} wants, you tell ${him}. ${He} still looks somewhat puzzled, but ${he}`); if (canWalk(eventSlave)) { t.push(`heads down`); } else { t.push(`accepts help down`); } t.push(`to the gym anyway. When ${he} gets there, ${he}`); if (canSee(eventSlave)) { t.push(`sees a steady stream of well-muscled male citizens entering the showers,`); } else { t.push(`hears the well-muscled male citizens working up a sweat before heading to the showers,`); } t.push(`and gets it. ${He} waves cheerfully to the nearest camera, and blows you a kiss before heading into the locker room. This is the Free Cities, and there isn't much reaction to a naked ${girl} entering a male-dominated gym. That is, until ${he} selects from among the sweaty gentlemen coming in from the weight room, sidles up to one, and says cheerfully,`); t.push(Spoken(eventSlave, `"Hi! Do you wanna fuck me?"`)); t.push(`He does, and <span class="reputation inc">so do many of his friends.</span> So many, in fact, that having the showers right there becomes convenient for ${him} as the day goes on.`); repX(1250, "event", eventSlave); seX(eventSlave, "oral", "public", "penetrative", 5); if (canDoVaginal(eventSlave)) { seX(eventSlave, "vaginal", "public", "penetrative", 5); if (canDoAnal(eventSlave)) { seX(eventSlave, "anal", "public", "penetrative", 5); if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { knockMeUp(eventSlave, 10, 2, -2); } } else { seX(eventSlave, "vaginal", "public", "penetrative", 5); if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { knockMeUp(eventSlave, 10, 0, -2); } } } else { seX(eventSlave, "anal", "public", "penetrative", 10); if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { knockMeUp(eventSlave, 10, 1, -2); } } return t; } } };
MonsterMate/fc
src/events/RECI/orientation.js
JavaScript
mit
14,971
App.Events.RECIUgly = class RECIUgly extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => V.REUglyCheckinIDs.includes(s.ID), s => s.face >= -10, s => (s.assignment === Job.PUBLIC || s.assignment === Job.WHORE), s => s.devotion >= 10, s => (Beauty(s) >= 50), s => s.bodySwap === 0, s => s.porn.prestige === 0, canSee, canStand, canTalk, canHear, hasAnyArms, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { // eslint-disable-next-line no-unused-vars He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); const {title: Master, say: say} = getEnunciation(eventSlave); const freeMovement = (canWalk(eventSlave) || (canMove(eventSlave) && eventSlave.rules.mobility === "permissive")); V.nextLink = "Next Week"; V.REUglyCheckinIDs.deleteWith((s) => s === eventSlave.ID); let artDiv = document.createElement("div"); // named container so we can replace it later App.Events.drawEventArt(artDiv, eventSlave, "no clothing"); node.appendChild(artDiv); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); if (freeMovement) { t.push(`comes`); } else { t.push(`is walked`); } t.push(`in for an inspection. You have a relaxed day scheduled, so you take the time to do an unusually thorough job. On a whim, you pull up ${his} complete file, flipping the virtual pages out across your desk. The induction pictures are particularly striking. ${He} doesn't look much like that, anymore, and that's a good thing. ${He} was not a pretty ${girl} when you got ${him}, though ${he}'s pretty enough now. With a desk control gesture you flip a full frontal shot of ${him} on the day of ${his} enslavement up onto a wallscreen.`); App.Events.addParagraph(node, t); t = []; t.push(`${His} ${App.Desc.eyesColor(eventSlave)} track your sudden motion, of course, and ${he} follows it to the screen. Suddenly, the ${SlaveTitle(eventSlave)} is eye to eye with a life-size picture of who ${he} used to be, just a few`); if (V.showInches === 2) { t.push(`feet`); } else { t.push(`meters`); } t.push(`away. ${He} gasps with recognition, and then ${his} face clouds inscrutably. ${He}`); if (freeMovement) { t.push(`takes a couple of hesitant steps`); } else { t.push(`hesitates for a moment before struggling`); } t.push(`forward, and then reaches out to touch the cheek of the ${girl} in the picture.`); if (hasBothArms(eventSlave)) { t.push(`As ${his} fingertips brush the smooth surface of the wallscreen, ${his} other hand ghosts along ${his} own face.`); } else { t.push(`${His} fingertips brush the smooth surface of the wallscreen, before ghosting along ${his} own face.`); } t.push(`${His} expression is not sad, so it's surprising when a single tear rolls down ${his} cheek. You order ${him} to tell you how the picture makes ${him} feel.`); App.Events.addParagraph(node, t); t = []; t.push(`${He} looks pensive, and goes through two false starts before ${he} clears ${his} throat, wrenches ${his} gaze away from ${his} picture, and ${say}s introspectively,`); t.push(Spoken(eventSlave, `"${Master}, it's strange. We — we don't have pictures of ourselves, from before we were enslaved. I didn't really realize how much I'd changed. Some days being a slave is hard. But seeing that picture, it makes me feel better about it. You — you're really ${V.PC.title === 1 ? "handsome" : "pretty"}, ${Master}. I bet you always were."`)); t.push(`${He} inclines ${his} head towards the homely ${girl} on the screen.`); t.push(Spoken(eventSlave, `"It's hard to be ugly, ${Master}. Really hard. I feel sorry for that ${girl}, and I'm glad I don't look like ${him} anymore."`)); t.push(`${He} laughs suddenly, a little self-consciously.`); t.push(Spoken(eventSlave, `"The crazy thing is if you'd told that ${girl} that`)); if (eventSlave.assignment === Job.WHORE) { t.push(Spoken(eventSlave, `lots and lots of people would pay to fuck ${him}`)); } else { t.push(Spoken(eventSlave, `all kinds of people would happily fuck ${him}`)); } t.push(Spoken(eventSlave, `someday, ${he} wouldn't have believed you. It's kind of reassuring, actually. Is that weird? That came out weird. Sorry."`)); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`${He}'s pretty enough to decorate your arm for a night out`, nightOut), new App.Events.Result(`Show ${him} off online`, livestreaming) ]); function nightOut() { // replace slave art $(artDiv).empty(); App.Events.drawEventArt(artDiv, eventSlave, "a mini dress"); let frag = document.createDocumentFragment(); t = []; t.push(`You tell ${him} to head down to the wardrobe and put on the outfit that'll be laid out for ${him} there. ${He} obeys promptly, but does not return for some time, having gotten instructions from ${assistant.name} along the way to put extra effort into ${his} grooming. When ${he} finally returns, the effect is striking.`); if (eventSlave.face > 10) { t.push(`${He}'s a gorgeous ${girl} with or without makeup, dressed up or naked, but ${he}'s especially luscious tonight.`); } else { t.push(`${His} face is not flawless, but ${he}'s conscious of ${his} transformation, and the new confidence in ${his} beauty adds a special glow that cannot be faked.`); } t.push(`${His} evening dress is elegant; it's quite slutty by old world standards, but according to Free Cities fashion, it's just about the most conservative gown a slave can be expected to wear, and quite daring in that it isn't immediately obvious whether ${he}'s a slave or not.`); if (eventSlave.areolae < 3) { t.push(`The tops of ${his} areolae are hardly even visible.`); } App.Events.addParagraph(frag, t); t = []; t.push(`You take ${him} out to a nice lounge, with blue-toned light and soft music. ${He} clings to your arm, pressing ${himself} against you just the right amount: not enough to demand sex right now, but enough to raise the anticipation of it later. ${He}'s a slave, so ${he} does not eat or drink the usual fare on offer, but the establishment is used to slaves and offers flavorful variation on liquid slave food. ${He} drinks the translucent fluid out of a tall glass, carefully maintaining ${his} poise. You circulate, leaving ${him} at the bar when acquaintances appear. ${He} perches on a stool, conscious of and pleased by the discreet admiration of ${his} body, delectably outlined by the tight dress. Once a new arrival who did not see you with ${him} introduces himself to ${him}. He's tall and fit and silver-haired, but he picked ${him} out of the room to approach, and it's with polite disappointment that he reacts to ${his} indication of you, across the room:`); t.push(Spoken(eventSlave, `"I'm sorry, Sir, that's my ${Master} there."`)); t.push(`He offers a nonverbal apology without coming over, which you accept with a wave: it's such a common mistake in Free Cities high society that it's universally brushed off without offense. It happens again later in the night, when a slightly tipsy free woman occupies the barstool next to ${eventSlave.slaveName}'s and keeps trying to relax against ${him} until the flattered slave explains ${himself} again. When you bring ${him} home at the end of the night, ${his}`); if (hasBothEyes(eventSlave)) { t.push(`eyes are`); } else { t.push(`eye is`); } t.push(`shining with <span class="trust inc">private assurance,</span> and ${he} presses ${himself} against you more closely than ever.`); App.Events.addParagraph(frag, t); eventSlave.trust += 4; return frag; } function livestreaming() { t = []; t.push(`You tell ${him} that ${he}'s become a very pretty sex slave, and to prove it, you`); if (eventSlave.porn.feed > 0) { t.push(`let ${him} believe you've`); } t.push(`set up a live feed for ${him} that's available for free in the old world.`); if (eventSlave.porn.feed === 0) { t.push(`The Free Cities produce an utter torrent of hardcore video, so much that there's never any profit to be made off it anymore, but viewers begin to join the channel anyway and by the end of the week`); } else { t.push(`${He} already has a growing fanbase, and with the promise of a week of special content, even more join the channel to observe. Before long,`); } t.push(`${he} has thousands of eyes watching ${him} as ${he}`); if (eventSlave.assignment === Job.WHORE) { t.push(`sells ${his} body`); } else { t.push(`has sex with random citizens`); } t.push(`in the hallways of ${V.arcologies[0].name}. ${capFirstChar(V.assistant.name)} keeps ${him} constantly informed of how many people are watching ${him} get fucked, how many of them are likely masturbating to ${his} body, and how many inquiries about ${him} ${V.assistant.name} is culling out of your inbox. ${He} slowly gets used to ${his} starring role in an impromptu free hardcore stream, but never quite stops stealing wondering glances at the nearest camera, as though ${he} cannot believe that so many people would sexualize ${him}. This lends ${him} a naughtiness that cannot be faked, garnering ${him} <span class="reputation inc">much attention</span> by the end of the week.`); if (eventSlave.fetish === "humiliation" && eventSlave.fetishStrength > 60) { if (eventSlave.fetishKnown === 1) { t.push(`Of course, since ${he}'s a humiliation fetishist, this experience is like sexual candy for ${him}. ${He} <span class="devotion inc">can't get enough.</span>`); } else { t.push(`Oddly enough, <span class="devotion inc">${he} seems to enjoy it far more than anticipated.</span>`); } eventSlave.devotion += 4; } if (eventSlave.porn.feed === 0) { repX(1250, "event", eventSlave); } else { repX(500, "event", eventSlave); eventSlave.porn.viewerCount += 7000; } return t; } } };
MonsterMate/fc
src/events/RECI/ugly.js
JavaScript
mit
10,185
App.Events.RESSComfortableSeat = class RESSComfortableSeat extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.PC.belly < 5000, () => V.PC.balls < 10 ]; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canStand, hasAnyArms, canSee, s => s.trust > 20, s => s.devotion > 20, s => s.energy > 40, s => s.belly < 300000 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself, girl } = getPronouns(eventSlave); const {s, say, title: Master} = getEnunciation(eventSlave); const desc = SlaveTitle(eventSlave); const belly = bellyAdjective(eventSlave); const dickSize = eventSlave.dick > 4 ? "big" : (eventSlave.dick > 2 ? "" : "tiny"); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push("There are sturdy leather seats placed strategically throughout your penthouse. They offer something convenient to bend your slaves over, wherever you happen to encounter them, and they're comfortable, too. At the moment, you're sitting on one, using a tablet to take care of some business that caught you away from your office, but isn't worth heading back to your desk for. Slaves move by your impromptu throne as you work, mostly"); if (V.averageTrust > 50) { t.push("greeting you cheerfully"); } else if (V.averageTrust > 20) { t.push("greeting you properly"); } else if (V.averageTrust > -20) { t.push("doing their best to greet you properly"); } else if (V.averageTrust > -50) { t.push("greeting you fearfully"); } else { t.push("struggling to greet you through their terror"); } t.push("as they pass. Busy, you spare few of them more than a glance."); App.Events.addParagraph(node, t); t = []; t.push(`One of them slows as ${he} goes by, however. Looking up, you see that it's`); t.push(App.UI.DOM.combineNodes(App.UI.DOM.slaveDescriptionDialog(eventSlave), ".")); if (canTalk(eventSlave)) { if (eventSlave.belly >= 1500) { t.push(`"Hi ${Master}," ${he} ${say}s flirtatiously rubbing a hand across ${his} ${belly} ${eventSlave.bellyPreg > 0 ? "pregnancy" : "belly"}.`); } else { t.push(`"Hi ${Master}," ${he} ${say}s flirtatiously.`); } t.push(Spoken(eventSlave, `"That looks like a really comfortable seat. Can I sit down and rest ${eventSlave.belly >= 10000 ? "my tired legs" : ""} for a little while?"`)); } else { t.push(`${He} greets you properly, but adds a flirtiness to ${his} gestures, and asks if ${he} can sit down and rest`); if (eventSlave.belly >= 10000) { t.push(`${his} ${eventSlave.bellyPreg > 0 ? "gravid" : belly} bulk`); } t.push("on the comfortable seat for a little while."); } t.push(`${He} is not pointing at the soft leather cushion next to you: ${he}'s pointing at your crotch.`); App.Events.addParagraph(node, t); t = []; t.push(`You're nude, a consequence of ${V.ConcubineID !== 0 && V.ConcubineID !== eventSlave.ID ? `recent activities involving ${S.Concubine.slaveName}` : "recent unrelated activities"}. ${PC.dick !== 0 ? "Your formidable dick is three quarters hard," : "Nude, that is, all except for the strap-on you were just using and haven't taken off yet,"} and ${eventSlave.slaveName} is pointing right at it. ${He} knows exactly what ${he}'s asking for and gives ${his}`); if (eventSlave.hips > 0) { t.push("broad"); } else if (eventSlave.hips > -1) { t.push("trim"); } else { t.push("narrow"); } t.push("hips a little wiggle to make it even more abundantly clear."); if (eventSlave.chastityPenis === 1) { t.push(`${His} poor dick is visibly straining against the restrictive chastity belt ${he}'s wearing.`); } else if (canAchieveErection(eventSlave)) { t.push(`${His} ${dickSize} dick is jutting out stiffly and there's a bead of precum ${eventSlave.foreskin === 0 ? "forming at its smooth tip" : `escaping from ${his} foreskin`}.`); } else if (eventSlave.dick > 0) { t.push(`${His} ${dickSize} dick is as soft as ever, but there's a string of precum running between ${eventSlave.foreskin === 0 ? "its smooth tip" : "the soft foreskin that completely covers its tip"} and ${his} inner thigh.`); } else if (eventSlave.clit > 0) { t.push(`${His} ${eventSlave.clit > 1 ? "formidable" : "big"} clit is visibly erect. ${eventSlave.clitPiercing > 1 ? `${His} sizable clit piercing never lets its hood completely cover hide ${his} bitch button, but it's completely retracted now,` : `${His} delicate clitoral hood has been pushed back by ${his} female erection,`} leaving ${him} proudly aroused.`); } else if (eventSlave.labia > 0) { t.push(`${His} ${eventSlave.labia > 1 ? "dangling" : "thick"} labia are visibly swollen, flushing and growing prouder as the blood rushes to ${his} womanhood.`); } else if (eventSlave.vagina === -1) { t.push(`Since ${he}'s featureless in front, ${he} makes a little half turn to the side, making it very clear that ${his} asspussy needs fucking.`); } else { t.push(`${He} has a shapely womanhood, with trim labia and a demure clit, but it's a little flushed.`); } t.push(`${eventSlave.vaginaLube > 0 ? `${His} wet cunt is already lubricating itself generously for you, slicking ${his} labia with female arousal.` : ""} The slutty ${desc} wants it badly.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Let ${him} do what ${he} wants`, permit), new App.Events.Result(`Have ${him} service you while you work`, service), new App.Events.Result(`Drive ${him} off for breaking in on your work`, spank) ]); function permit() { t = []; t.push(`You tell ${him} to sit down if ${he}'d like to. ${He} looks at you quizzically, ${eventSlave.intelligence + eventSlave.intelligenceImplant < -15 ? `${his} dim mind slowly` : ""} realizing that you're letting ${him} choose what to do. ${canTalk(eventSlave) ? `"Oh, thank you, ${Master}," ${he} ${say}s,` : `${He} gestures ${his} thanks,`} and then makes a show of deciding. ${He} ${eventSlave.intelligence + eventSlave.intelligenceImplant < -15 ? "doesn't have to pretend" : "cheekily pretends"} to be an airheaded bimbo puzzling over how ${he} wants to approach a fuck, bouncing`); if ((eventSlave.boobsImplant / eventSlave.boobs) >= 0.60) { t.push(`${his} fake tits a little,`); } else if (eventSlave.boobs > 4000) { t.push(`${his} monstrous udders heavily,`); } else if (eventSlave.boobs > 1000) { t.push(`${his} heavy breasts a little,`); } else if (eventSlave.boobs > 300) { t.push(`${his} boobs a little,`); } else { t.push(`on ${his} heels,`); } if (eventSlave.belly >= 5000) { t.push(`rocking ${his}`); if (eventSlave.bellyPreg >= 3000) { t.push("baby bump"); } else if (eventSlave.bellyImplant >= 3000) { t.push("implant-filled belly"); } else { t.push(`${eventSlave.inflationType}-filled belly`); } t.push("side to side seductively"); } else { t.push(`wiggling ${his} rear side to side alluringly`); } t.push(`and putting a finger to ${his} slightly parted lips as ${he} stares down at your ${PC.dick !== 0 ? "stiff prick" : "strap-on"}.`); App.Events.addParagraph(node, t); t = []; if (eventSlave.fetishKnown === 1 && eventSlave.fetish !== "none") { t.push(`Finally making ${his} decision, ${he}`); switch (eventSlave.fetish) { case "submissive": t.push(`turns around and carefully perches ${himself} on ${PC.dick !== 0 ? "your cock" : "the phallus"},`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`letting ${his} weight slide it inside ${his} wet pussy.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`letting ${his} weight push it up ${his} asshole.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`putting it between ${his} thighs.`); } t.push(`${He}'s not used to being on top, but ${he} uses ${himself} to service you as submissively as ${he} can. ${He} pays ${his} own pleasure no attention at all,`); break; case "cumslut": t.push(`squats down, coming face to face with ${PC.dick !== 0 ? "your cock" : "the phallus"}. ${canTalk(eventSlave) ? `"${Master}, I changed my mind about ${s}itting," ${he} ${say}s` : `${He} gestures that ${he} changed ${his} mind about sitting`}, and licks ${his} lips sluttily. Then ${he} gives ${PC.dick !== 0 ? "you" : "the phallus"} a lusty blowjob, humming and licking happily. ${He} ${PC.dick !== 0 ? "swallows your load hungrily" : "helps you out of the harness with your permission and eats you out too"},`); seX(eventSlave, "oral", PC, "penetrative"); break; case "humiliation": t.push(`turns around and sits on ${PC.dick !== 0 ? "your cock" : "the phallus"}, leaning back against you and making sure all the other slaves who pass by can see`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`where it penetrates ${his} cunt.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`where it's lodged up ${his} butt.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`where it's rubbing ${him} intimately between ${his} thighs.`); } t.push(`${He} gets off on their looks,`); break; case "buttslut": if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`turns around and shivers with pleasure as ${he} hilts ${his} anal sphincter around the base of ${PC.dick !== 0 ? "your cock" : "the phallus"}. ${He} bounces on it happily, reaming ${his} own ass,`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`turns around and shivers with pleasure as ${he} feels ${PC.dick !== 0 ? "your cock" : "the phallus"} slip between ${his} buttcheeks. ${He} rubs against it, happy to share ${his} butt with you,`); } break; case "boobs": t.push(`squats down, placing ${PC.dick !== 0 ? "your cock" : "the phallus"}`); if (eventSlave.boobs > 4000) { t.push(`in the virtual hole formed in the place between ${his} breasts, which are so massive they rest together.`); } else if (eventSlave.boobs > 1000) { t.push(`in the valley between ${his} tits.`); } else if (eventSlave.boobs > 300) { t.push(`between ${his} breasts.`); } else { t.push(`against one of ${his} nipples.`); } t.push(`${canTalk(eventSlave) ? `"${Master}, I changed my mind about ${s}itting," ${he} ${say}s` : `${He} gestures that ${he} changed ${his} mind about sitting`}, and starts giving you a boob job. ${He} enjoys the breast play,`); seX(eventSlave, "mammary", PC, "penetrative"); break; case "pregnancy": if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`turns around and lovingly lowers ${his} pussy onto you.`); if (PC.dick !== 0) { if (eventSlave.pregKnown === 1) { t.push(`${He}'s already pregnant, so this isn't a direct satisfaction of ${his} impregnation fetish, but being fucked while pregnant is almost as good as far as ${he}'s concerned.`); } else if (canGetPregnant(eventSlave)) { t.push(`This might be the moment ${he} gets pregnant, and ${he}'s quivering with anticipations.`); } else { t.push(`${He} knows ${he} isn't fertile, but ${he}'s good at fantasizing.`); } } else { t.push(`Your strap-on might not be able to impregnate anyone, but ${he}'s good at fantasizing.`); } t.push(`${He} rides you hungrily,`); t.push(VCheck.Vaginal(eventSlave, 1)); if (canImpreg(eventSlave, PC)) { knockMeUp(eventSlave, 40, 0, -1); } } else { t.push(`turns around and carefully perches ${himself} on ${PC.dick !== 0 ? "your cock" : "the phallus"}, putting it between ${his} thighs. ${He} rides you caringly,`); } break; case "dom": t.push(`turns around and sits right down on ${PC.dick !== 0 ? "your cock" : "the phallus"}, eagerly`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`taking it into ${his} cunt.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`getting it shoved up ${his} butt.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`squeezing it between ${his} thighs.`); } t.push(`${He} loves being on top, even if ${he}'s the one who's getting fucked. ${He} rides you happily,`); break; case "sadist": t.push(`turns around and hesitantly sits on ${PC.dick !== 0 ? "your cock" : "the phallus"}, letting`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`it slide into ${his} cunt.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`it slide up ${his} butt.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`it slide between ${his} thighs.`); } t.push(`${He} prefers to be rough, but settles for just directing how ${he} gets used. ${He} rides you cautiously,`); break; case "masochist": t.push(`turns around and carefully perches ${himself} on ${PC.dick !== 0 ? "your cock" : "the phallus"},`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`letting ${his} weight slide it inside ${his} wet pussy at an uncomfortable angle.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`letting ${his} weight push it up ${his} asshole at an uncomfortable angle.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`putting it between ${his} thighs at an uncomfortable angle.`); } t.push(`${He} does ${his} best to please you while making sex as unpleasant as ${he} can for ${himself}. ${He} pays close attention to your comfort versus ${his} own,`); break; } t.push(`and after you've ${PC.dick !== 0 ? "cum" : "climaxed"}, ${he} <span class="mediumaquamarine">thanks you trustingly,</span> happy ${he}'s still allowed a sexy choice with you now and then.`); } else { t.push(`${eventSlave.fetishKnown === 1 ? `${He} can't really think of how to accommodate the situation to ${his} own preferred approach to sex` : `${He} isn't well versed in how ${his} own sexual needs might fit into the situation`}, so ${he} just services you like a good ${girl}. ${He} turns around and sits on ${PC.dick !== 0 ? "your cock" : "the phallus"},`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`squatting to bounce ${his} cunt up and down on it.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`squatting to bounce ${his} butthole up and down on it.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`putting it between ${his} thighs for some intercrural sex, since ${his} ${eventSlave.vagina > -1 ? "holes aren't" : "hole isn't"} appropriate.`); } t.push(`When ${he}'s gotten you off, ${he} <span class="mediumaquamarine">thanks you trustingly.</span> Even though ${he} wasn't able to figure out how to seat ${himself} in a really satisfactorily sexy way, ${he}'s glad you gave ${him} some agency.`); } App.Events.addParagraph(node, t); eventSlave.trust += 5; t = []; /* need to clear the array before returning in this case because otherwise weird things happen */ return t; } function service() { t = []; t.push(`You order ${him} to sit on your ${PC.dick !== 0 ? "dick" : "strap-on"} and get you off like a good ${girl}, but not to disturb you while you're working. ${He}`); if (canTalk(eventSlave)) { t.push(`shuts up immediately,`); } else { t.push(`obediently drops ${his} ${hasBothArms(eventSlave) ? `hands to ${his} sides and stops communicating with them` : `hand to ${his} side and stops communicating with it`},`); } t.push(`and approaches you carefully. Meanwhile, you go back to your tablet, ignoring ${him} completely. ${He} gingerly straddles your legs, positioning ${his} intimate areas directly over the pointing head of`); if (eventSlave.belly >= 5000) { t.push(`${PC.dick !== 0 ? "your erection" : "the phallus"}, all while delicately trying to not bump into you with ${his} ${eventSlave.bellyPreg >= 3000 ? "pregnancy" : "belly"}.`); } else { t.push(`${PC.dick !== 0 ? "your erection" : "the phallus"}.`); } t.push(`Deciding that ${he} shouldn't use ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} to guide it, ${he} lowers ${himself} slowly,`); if (canDoVaginal(eventSlave) && eventSlave.vagina > 0) { t.push(`breathing a little harder as ${he} feels its head spread ${his} pussylips and then slide inside ${him}.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else if (canDoAnal(eventSlave) && eventSlave.anus > 0) { t.push(`letting out a breath and relaxing as ${he} feels its head press past ${his} sphincter and then all the way up ${his} butt.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`getting it situated between ${his} thighs, since that's the best option ${he} has available.`); } t.push(`${eventSlave.belly >= 5000 ? `Before starting to pleasure you, ${he} notices there is no way ${he} can move with ${his} rounded middle sticking out as far as it does. ${He} carefully turns around, feeling your glare on ${his} back at ${his} mistake.` : ""} Still crouched over you, ${he} begins to move up and down, milking ${PC.dick !== 0 ? "your penis" : "the strap-on"}. As ${he} works into it, ${he} lets ${his} butt touch you, just once, but you make a nonverbal sound of disapproval, letting ${him} know not to disturb your work like that. Realizing that ${he} needs to play the human sex toy, ${he}`); if (eventSlave.butt > 12) { t.push(`grabs ${his} massive buttocks and finds that there is no way ${he} can keep the expanses of flesh from enveloping your lap.`); } else if (eventSlave.butt > 5) { t.push(`grabs ${his} huge buttocks and holds them apart, doing ${his} best to keep them out of the way.`); } else if (eventSlave.butt > 2) { t.push(`takes hold of ${his} healthy asscheeks and spreads them as far as they'll go, doing ${his} best to keep them out of the way.`); } else { t.push(`uses ${his} arms for balance, since ${his} cute butt can stay out of the way on its own and doesn't need to be spread by hand.`); } if (eventSlave.belly >= 10000) { t.push(`You spread your legs as you shift into a more comfortable position, stealthily showing mercy since ${he} can't possibly keep ${his} ${eventSlave.bellyPreg >= 3000 ? "full-term" : belly} belly off you otherwise.`); } t.push(`${He} bobs up and down, getting you off without ever touching you${PC.dick !== 0 ? `, other than the contact between your penis and the inside of ${his} body, of course` : ""}.`); if (eventSlave.energy > 80) { t.push(`${He} has such a powerful sex drive that even this sterile intercourse brings ${him} to orgasm.`); } else if (!App.Utils.hasNonassignmentSex(eventSlave)) { t.push(`${He} obeys the rules about orgasm and hasn't gotten off as part of ${his} assignment recently, so ${he} orgasms despite the sterility of the intercourse.`); } else { t.push(`${He} does not orgasm, serving you properly and showing appropriate disregard for ${his} own pleasure.`); } t.push(`When ${he}'s done, ${he} makes the perfect exit, <span class="hotpink">silently padding away like the passive sex object ${he} is.</span>`); eventSlave.devotion += 5; return t; } function spank() { t = []; t.push(`You command ${him} to turn around and show you ${his} ass. ${He} obeys eagerly, spinning and bringing you face to face with ${his}`); if (eventSlave.butt > 12) { t.push("view filling rear."); } else if (eventSlave.butt > 5) { t.push("monstrous bottom."); } else if (eventSlave.butt > 2) { t.push("womanly butt."); } else { t.push("cute little rear end."); } t.push(`${He}'s expecting something sexy, and ${he}'s wrong. You give ${his} right asscheek a stinging, open-handed slap. It's so unexpected that ${he} jumps with surprise, takes a step forward, and instantly bursts into tears. Knowing that ${he} has to accept whatever you think ${he} deserves, ${he} takes a step back towards you to come back within range. ${canTalk(eventSlave) ? `${Master}, I'm ${s}-${s}orry," ${he} sobs. "I d-don't under${s}tand. What did I d-do?"` : `${He} shakily gestures a question, begging to know what ${he} did.`} You tell ${him} not to disturb you when you're working, tanning ${his} ass viciously, first one buttock and then the other. ${He} stands there and takes ${his} beating, weeping, more from the <span class="gold">bitter disappointment that ${he}'s not allowed to approach you</span> like that.`); eventSlave.trust -= 5; return t; } } };
MonsterMate/fc
src/events/RESS/comfortableSeat.js
JavaScript
mit
21,472
App.Events.RESSDevotedEducated = class RESSDevotedEducated extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => (canWalk(s) || (canMove(s) && s.rules.mobility === "permissive")), hasAnyArms, canTalk, s => s.devotion > 50, s => s.intelligence + s.intelligenceImplant > 50, s => s.intelligenceImplant >= 15, s => s.accent < 4 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, his, him, himself } = getPronouns(eventSlave); const {say, title: Master} = getEnunciation(eventSlave); const desc = SlaveTitle(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`comes before you for a routine inspection. The ${desc} is a well-educated and obedient slave. Though ${he} performs ${his} duties devotedly and to the best of ${his} abilities, slave life is not particularly conducive to straining an individual's brainpower. You happen to run into ${eventSlave.slaveName} in the hallways of the penthouse, where ${he} takes the opportunity to wordlessly signal ${he} wishes to gain your attention.`); if (canTalk(eventSlave)) { t.push(`"${Master}," ${he} ${say}s. "${Spoken(eventSlave, `I really enjoy my role as your slave, but I just don't feel like my new life stimulates me.`)}" ${He} blushes prettily at ${his} choice of words before continuing, "${Spoken(eventSlave, `Stimulate my mind, I mean.`)}"`); } else { t.push(`${He} uses gestures to beg your pardon and explains that while ${he} enjoys life as your slave, ${he} doesn't feel like ${his} new role in your arcology allows ${him} to stimulate ${his} mind as often as it does ${his} body.`); } App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Have a conversation with ${him}`, conversation), canDoAnal(eventSlave) || canDoVaginal(eventSlave) ? new App.Events.Result(`Stimulate ${his} mind and body`, stimulate, virginityCheck()) : new App.Events.Result(), V.arcologies[0].FSDegradationist !== "unset" ? new App.Events.Result(`A public blowbang will show ${him} what a Degradationist arcology thinks about 'educated' slaves`, blowbang) : new App.Events.Result(), V.arcologies[0].FSPaternalist !== "unset" ? new App.Events.Result(`Allow ${him} to audit some advanced classes at Paternalist slave schools`, schooling) : new App.Events.Result() ]); function conversation() { t = []; t.push(`You linger in the hallway a while with ${eventSlave.slaveName} and enjoy a brief but verbose discussion. It's clear ${he} hasn't had the chance to engage in any meaningful conversations in a while, so ${he} relishes the opportunity energetically.`); App.Events.addParagraph(node, t); t = []; t.push(`Though the two of you only touch upon a handful of sophisticated topics, by the time you leave ${him} to tend to other matters, ${eventSlave.slaveName} is beaming happily as ${he} continues on to ${his} duties for the day. ${He} <span class="mediumaquamarine">trusts you more</span> for taking the time to engage with ${him} intellectually.`); App.Events.addParagraph(node, t); t = []; eventSlave.trust += 4; return t; } function stimulate() { t = []; t.push(`You find a comfortable seat to sit on ${PC.dick === 0 ? "and don a strap-on" : ""} as ${he} seats ${his}`); if (eventSlave.butt < 2) { t.push(`narrow`); } else if (eventSlave.butt < 5) { t.push(`average`); } else if (eventSlave.butt < 8) { t.push(`plump`); } else if (eventSlave.butt < 12) { t.push(`impressive`); } else { t.push(`mind-blowing`); } t.push(`ass on your ${PC.dick === 0 ? "strap-on" : "dick"} and rides you. While your cock plumbs the depths of ${his} ${canDoVaginal(eventSlave) ? "pussy" : "butt"}, the two of you engage in a casual debate over a number of topics of sophistry.`); App.Events.addParagraph(node, t); t = []; t.push(`At the crux of one of ${his} concluding arguments, the intense pleasure from the prolonged ${canDoVaginal(eventSlave) ? "fucking" : "buttfucking"} pushes ${him} over the edge into orgasm, robbing the thrust of ${his} defense of any gravitas it once had. ${He} doesn't seem to mind however, choosing to instead wrap up ${his} remarks by <span class="hotpink">blowing you a kiss.</span>`); if (canDoVaginal(eventSlave)) { t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(VCheck.Anal(eventSlave, 1)); } App.Events.addParagraph(node, t); t = []; eventSlave.devotion += 4; return t; } function blowbang() { t = []; t.push(`You tell ${him} ${he}'ll get fucked in the mouth until ${he} either gets over the idea of being special for ${his} education or until all ${his} learning is fucked out of ${his} head. You drag the protesting ${eventSlave.slaveName} out into a public plaza, restrain ${him} in stocks so that ${his} mouth is available, and inform the gathering crowd of citizens that this particular slave thinks ${himself} more than a fuckhole because of some fancy 'education'.`); App.Events.addParagraph(node, t); t = []; t.push(`When you return later in the evening, it becomes abundantly clear that your citizenry taught ${eventSlave.slaveName} a harsh lesson about a slave's place in ${V.arcologies[0].name}. ${eventSlave.slaveName} has certainly <span class="green">learned to keep any pretentious thoughts about ${his} education in ${his} head.</span> ${He} did, however, <span class="red">have quite a rough time</span> sucking all those dicks${eventSlave.skill.oral <= 30 ? `, though ${he} did learn about sucking dick, so ${he} can't claim enslavement isn't educational. ${slaveSkillIncrease('oral', eventSlave, 10)}` : "."} And last of all, you and ${eventSlave.slaveName} did make <span class="green">quite a good impression</span> today, though for widely differing reasons.`); App.Events.addParagraph(node, t); t = []; seX(eventSlave, "oral", "public", "penetrative", jsRandom(65, 80)); repX(500, "event", eventSlave); healthDamage(eventSlave, 10); return t; } function schooling() { t = []; t.push(`You tell ${him} to take the day off for a trip to audit classes at ${V.arcologies[0].name}'s most renowned Paternalist slave schools. ${eventSlave.slaveName} is shocked into a reverie by your words before running to wrap ${his} ${hasBothArms(eventSlave) ? "arms" : "arm"} around you in a tight hug. When ${he} eventually untangles ${himself} from you, ${he} races off to get ready for ${his} day of intellectualism while you direct ${V.assistant.name} to make the necessary arrangements.`); App.Events.addParagraph(node, t); t = []; t.push(`When ${eventSlave.slaveName} returns, ${he} looks exhausted but happier than you've ever seen ${him}. It seems ${he} benefited greatly from ${V.arcologies[0].name}'s Paternalist institutions, and has grown to <span class="mediumaquamarine">trust you more</span> while also <span class="hotpink">deepening ${his} acceptance of slavery.</span>`); App.Events.addParagraph(node, t); t = []; eventSlave.trust += 4; eventSlave.devotion += 4; return t; } function virginityCheck() { if (canDoVaginal(eventSlave) && eventSlave.vagina === 0) { return `This option will take ${his} virginity`; } else if (canDoAnal(eventSlave) && eventSlave.anus === 0) { return `This option will take ${his} anal virginity`; } } } };
MonsterMate/fc
src/events/RESS/devotedEducated.js
JavaScript
mit
7,800
App.Events.RESSDevotedWaist = class RESSDevotedWaist extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", hasAnyArms, canStand, s => s.waist < -95, s => s.weight <= 95, s => s.trust >= -20, s => s.devotion > 20, s => s.belly < 30000 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself, woman } = getPronouns(eventSlave); const belly = bellyAdjective(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is a real work of surgical art. As ${he} showers, carefully soaping and then moisturizing every ${V.showInches === 2 ? "inch" : "centimeter"} of ${his} ${eventSlave.skin} skin, you notice the undeniable eroticism created by the unnatural narrowness of`); if (eventSlave.belly >= 5000) { t.push(`${his} middle, especially given how much ${his} ${belly} ${eventSlave.bellyPreg >= 3000 ? "pregnancy" : "belly"} extends past ${his} sides.`); } else { t.push(`${his} middle.`); } t.push(`Though ${his} hands are by no means large, when ${he} washes ${his} sides, ${his} hands span almost the entire circumference of ${his} waist.`); if (eventSlave.dick > 0) { t.push(`Though ${he}'s not sexually aroused, ${his} cock is visible as ${he} bathes ${himself}; ${his} member and ${his} narrow waist work together to create a real mélange of gender traits.`); } else if (eventSlave.boobs > 800 && eventSlave.butt > 4) { t.push(`${His} massive bust and hips work together to create a spectacular hourglass effect; ${he}'s a fantasy ${woman} made flesh.`); } else { t.push(`The narrowness of ${his} waist accentuates ${his} feminine features.`); } App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Join ${him} and see if your hands can span ${his} waist`, grab, virginityWarning()), new App.Events.Result("Such a lovely work of art must be displayed", display, virginityWarning()), ]); function grab() { t = []; t.push(`By the time you reach the shower, ${eventSlave.slaveName} is toweling ${himself}. ${He} notices your approach and folds the towel neatly before performing a little naked pirouette that shows off ${his} artificial`); if (canDoVaginal(eventSlave) && canDoAnal(eventSlave)) { t.push(`curviness while displaying each of ${his} delectable holes.`); } else if (canDoVaginal(eventSlave)) { t.push(`curviness while displaying ${his}`); if (eventSlave.vagina > 3) { t.push("gaping cunt."); } else if (eventSlave.vagina > 2) { t.push("loose cunt."); } else if (eventSlave.vagina > 1) { t.push("slutty pussy."); } else if (eventSlave.vagina > 0) { t.push("tight pussy."); } else { t.push("virgin pussy."); } } else if (canDoAnal(eventSlave)) { t.push(`curviness while displaying ${his}`); if (eventSlave.anus > 2) { t.push("gaping asshole."); } else if (eventSlave.anus > 1) { t.push("slutty asshole."); } else if (eventSlave.anus > 0) { t.push("tight asshole."); } else { t.push("virgin asshole."); } } else { t.push("curviness."); } if (eventSlave.belly >= 500 || eventSlave.weight > 30) { t.push(`You take ${him} about the middle and, with a little imagination, find that, indeed, you could make your thumbs and fingertips meet around it if you were to press.`); } else { t.push(`You take ${him} about the waist and find that, indeed, you can make your thumbs and fingertips meet around it if you press, which elicits a squeak.`); } if (!canDoVaginal(eventSlave) && !canDoAnal(eventSlave)) { t.push(`There are many ways you could apply this during sex, but since ${he} is fully locked in chastity, you can only explain, in detail, the ways you would fuck ${him} if you could. By the end ${he}'s blushing vibrantly, but <span class="mediumaquamarine">more confident in ${his} sexual uniqueness.</span>`); } else { t.push(`This can be applied during sex many ways. First, ${he} sits on the bathroom counter and bends ${himself} almost double for`); if (canDoAnal(eventSlave)) { t.push(`anal. Your control over the pace is perfected by your grip around ${his} tiny middle.`); t.push(VCheck.Anal(eventSlave, 1)); } else { t.push(`vaginal. Your control over the pace is perfected by your grip around ${his} tiny middle.`); t.push(VCheck.Vaginal(eventSlave, 1)); } t.push(`Finally, ${he} goes down on ${hasAllLimbs(eventSlave) ? "all fours" : "the floor"} for a hard`); if (canDoVaginal(eventSlave)) { t.push(`pounding, doggy style, losing ${himself} in the intense penetration as you use your hold around ${him} to give it to ${him} even harder.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(`buttfuck, doggy style, losing ${himself} in the intense anal as you use your hold around ${him} to give it to ${him} even harder.`); t.push(VCheck.Anal(eventSlave, 1)); } t.push(`By the end ${he}'s tired but <span class="mediumaquamarine">confident in ${his} sexual uniqueness.</span>`); } eventSlave.trust += 4; return t; } function display() { t = []; t.push(`There is a polite soirée tonight at one of ${V.arcologies[0].name}'s more upscale eating establishments. Many couples are there to enjoy themselves and preen, but even so, you make a stir as you enter wearing`); if (PC.title === 1) { t.push(`the latest in men's eveningwear${PC.boobs >= 300 || PC.belly >= 1500 || PC.butt >= 3 || PC.balls >= 9 ? ", tastefully tailored to accommodate your unusual build" : ""}.`); } else { t.push(`the latest dress from one of your arcology's leading tailors${PC.boobs >= 300 || PC.belly >= 1500 || PC.butt >= 3 || PC.balls >= 9 ? ", carefully tailored to accentuate your splendid curves" : ""}.`); } t.push(`${eventSlave.slaveName} is a confection on your arm, displayed in a silk gown of strips and cuts that accentuates ${his} artificial figure while leaving ${his} breasts,`); if (eventSlave.dick > 0) { t.push(`${eventSlave.chastityPenis === 1 ? "caged" : ""} cock,`); } else if (eventSlave.vagina > -1) { t.push(`${eventSlave.chastityPenis === 1 ? "chaste" : ""} pussy,`); } else if (eventSlave.balls > 1 && eventSlave.scrotum > 0) { t.push("dangling balls,"); } else { t.push("featureless groin,"); } t.push(`and ${eventSlave.chastityAnus ? "off-limits rear" : "butt"} lusciously bare. Your appearance together with your living accessory <span class="green">increases your reputation.</span> After a refined meal and some sedate dancing, the maître d' announces that the establishment has become (the Free Cities definition of) a salon for the evening. After the more prudish couples file out, those who remain engage in public sexual congress;`); if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { t.push(`${eventSlave.slaveName}'s gown allows you to take ${him} in a ${eventSlave.belly >= 5000 ? "tight" : "close"} lotus position on the cleared table, face to face.`); if (canDoVaginal(eventSlave)) { t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(VCheck.Anal(eventSlave, 1)); } } else { t.push(`you and ${eventSlave.slaveName} enjoy the ${canSee(eventSlave) ? "sights" : "atmosphere"} while fooling around. While you'd love to use ${him}, ${his} chastity keeps you at bay.`); } t.push(`<span class="hotpink">${He} has become more devoted to you.</span>`); eventSlave.devotion += 4; repX(500, "event", eventSlave); return t; } function virginityWarning() { if (eventSlave.anus === 0 && canDoAnal(eventSlave)) { if (eventSlave.vagina === 0 && canDoVaginal(eventSlave)) { return `This option will take ${his} anal and vaginal virginity`; } else { return `This option will take ${his} anal virginity`; } } else if (eventSlave.vagina === 0 && canDoVaginal(eventSlave)) { return `This option will take ${his} vaginal virginity`; } } } };
MonsterMate/fc
src/events/RESS/devotedWaist.js
JavaScript
mit
8,418
App.Events.RESSEscapee = class RESSEscapee extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canWalk, s => s.devotion < -50, s => s.trust >= -50, s => s.assignment !== Job.CONFINEMENT ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, his, him } = getPronouns(eventSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push("An escape attempt occurs and is stopped almost before you are informed of it."); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`made a rash attempt to leave the penthouse, but ${V.assistant.name} monitors everyone constantly and was able to enclose ${him} before ${he} got very far.`); if (V.assistant.personality === 0) { t.push("It reports impersonally that the would-be escapee is locked in the entryway awaiting your judgment."); } else { t.push(`${He} reports suggestively that the would-be escapee is locked in the entryway awaiting your pleasure.`); } App.Events.addParagraph(node, t); t = []; if (V.arcologyUpgrade.drones === 1) { t.push(`Your advanced security systems are able to stop ${him} promptly, and there is no indication to the public that any escape attempt was made.`); } else { t.push(`Your basic security systems are only able to stop ${him} by briefly locking down your penthouse, exciting <span class="red">some adverse public comment.</span>`); repX(-100, "event", eventSlave); } App.Events.addParagraph(node, t); t = []; if (eventSlave.indentureRestrictions > 0) { t.push(`This behavior has violated ${his} indenture contract, allowing you to apply more severe punishments that might otherwise breach it.`); App.Events.addParagraph(node, t); t = []; } App.Events.addResponses(node, [ new App.Events.Result("Do nothing", nothing), new App.Events.Result("Just confine the would-be escapee to prevent future attempts", confine), new App.Events.Result("Flog the would-be escapee", flog), ...(V.seeExtreme === 1 ? [ (hasAnyNaturalLegs(eventSlave) && eventSlave.heels === 0 ? new App.Events.Result("Clip the would-be escapee's tendons", clip) : new App.Events.Result() ), (hasAnyNaturalLimbs(eventSlave) ? new App.Events.Result("Amputate the would-be escapee's limbs", amputate) : new App.Events.Result() ), (canSee(eventSlave) ? new App.Events.Result("Blind the would-be escapee", blind) : new App.Events.Result() ), (canTalk(eventSlave) ? new App.Events.Result("Mute the would-be escapee", mute) : new App.Events.Result() ) ] : [] ) ]); function nothing() { t = []; t.push(`Considering how easily this attempt was thwarted, you don't see much of a point in wasting your valuable time on punishing ${eventSlave.slaveName} in the hopes that ${he}'ll learn ${his} lesson. You send ${him} back to ${his} assigned duties, warning ${him} that you may not be so lenient in the future. ${eventSlave.slaveName} proclaims ${his} obedience, but, privately, it's clear that ${he} views your decision as <span class="mediumorchid">an act of weakness</span> rather than kindness. In addition, every single one of your other slaves not already obedient to you is <span class="orangered">encouraged in their trust that you won't hurt them</span> by this minuscule punishment of an escape attempt.`); eventSlave.devotion -= 10; eventSlave.trust += 2; V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust += 8; } }); return t; } function confine() { t = []; t.push(`You order ${eventSlave.slaveName} confined until further notice. ${eventSlave.slaveName} is <span class="hotpink">a little crushed</span> by ${his} failure to escape. However, every single one of your other slaves not already obedient to you is slightly <span class="orangered">encouraged in their trust that you won't hurt them</span> by this moderate punishment of an escape attempt.`); eventSlave.devotion += 4; assignJob(eventSlave, "stay confined"); V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust += 4; } }); return t; } function flog() { t = []; t.push(`Lesser whippings are usually performed by binding a slave's hands and then securing them to the ceiling so that ${he} will dance titillatingly when struck. This is not such a beating. You tie ${eventSlave.slaveName} to a wall by ${his} wrists and ankles and flog ${him} with workmanlike thoroughness${eventSlave.pregKnown === 1 ? `, making sure to avoid accidentally ending ${his} pregnancy` : ""}. ${He} passes from angry struggles to agonized sobbing and finally to bloody, exhausted weeping before you untie ${his} now-limp form and apply first aid. ${eventSlave.slaveName}'s rebelliousness is <span class="gold">dulled by the experience,</span> and ${his} <span class="red">health is damaged.</span> Furthermore, every single one of your other slaves not already obedient to you is <span class="gold">frightened</span> by the example set.`); eventSlave.trust -= 5; healthDamage(eventSlave, 40); V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust -= 5; } }); return t; } function clip() { t = []; t.push(`The simple thing to do would be to sedate ${eventSlave.slaveName} and haul ${him} to the remote surgery for ${his} punishment. That would deny ${him} the added weight of terror, however, and would stop your other slaves from learning by the sight of it. So, you restrain ${him}, pronounce judgment, and drag ${his} struggling, weeping form through the penthouse to the surgery. ${eventSlave.slaveName} is <span class="mediumorchid">saddened</span> and <span class="gold">frightened</span> by this punishment, and ${his} <span class="red">health is damaged</span> by the surgery. Every single one of your other slaves with any resistance left in them is <span class="gold">sensibly restrained</span> from trying such rash acts.`); eventSlave.devotion -= 5; eventSlave.trust -= 5; eventSlave.heels = 1; surgeryDamage(eventSlave, 10); V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust -= 5; } }); return t; } function amputate() { t = []; t.push(`The simple thing to do would be to sedate ${eventSlave.slaveName} and haul ${him} to the remote surgery for ${his} punishment. That would deny ${him} the added weight of terror, however, and would stop your other slaves from learning by the sight of it. So, you restrain ${him}, pronounce judgment, and drag ${his} struggling, weeping form through the penthouse to the surgery. ${eventSlave.slaveName} is <span class="mediumorchid">filled with implacable hatred</span> by this terrible punishment, and ${his} <span class="red">health is damaged</span> by the major surgery. However, every single one of your other slaves not already obedient to you is <span class="gold">utterly terrified</span> by the example set.`); eventSlave.devotion -= 50; eventSlave.trust -= 50; eventSlave.diet = "healthy"; removeLimbs(eventSlave, "all"); surgeryDamage(eventSlave, 40); V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust -= 10; } }); return t; } function blind() { t = []; t.push(`The simple thing to do would be to sedate ${eventSlave.slaveName} and haul ${him} to the remote surgery for ${his} punishment. That would deny ${him} the added weight of terror, however, and would stop your other slaves from learning by the sight of it. So, you restrain ${him}, pronounce judgment, and drag ${his} struggling, weeping form through the penthouse to the surgery. You make sure to point out all the things ${he}'ll never get to see again. ${eventSlave.slaveName} is <span class="mediumorchid">filled with implacable hatred</span> by this terrible punishment, and ${his} <span class="red">health is slightly damaged</span> by the surgery. However, every single one of your other slaves not already obedient to you is <span class="gold">utterly terrified</span> by the example set.`); eventSlave.devotion -= 50; eventSlave.trust -= 50; eyeSurgery(eventSlave, "both", "blind"); surgeryDamage(eventSlave, 20); V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust -= 10; } }); return t; } function mute() { t = []; t.push(`The simple thing to do would be to sedate ${eventSlave.slaveName} and haul ${him} to the remote surgery for ${his} punishment. That would deny ${him} the added weight of terror, however, and would stop your other slaves from learning by the sight of it. So, you restrain ${him}, pronounce judgment, and drag ${his} struggling, protesting form through the penthouse to the surgery. ${He} is allowed one last chance to verbally resist you, plead with you, and finally to beg with you, all in vain. ${eventSlave.slaveName} is <span class="mediumorchid">filled with hatred</span> and <span class="gold">terror</span> by this harsh punishment, and ${his} <span class="red">health is slightly damaged</span> by the surgery. However, every single one of your other slaves not already obedient to you is <span class="hotpink">terrified</span> by the example set.`); eventSlave.devotion -= 5; eventSlave.trust -= 25; eventSlave.voice = 0; surgeryDamage(eventSlave, 10); V.slaves.forEach(function(s) { if (s.devotion <= 20) { s.trust -= 5; } }); return t; } } };
MonsterMate/fc
src/events/RESS/escapee.js
JavaScript
mit
9,603
App.Events.RESSHotPC = class RESSHotPC extends App.Events.BaseEvent { eventPrerequisites() { return []; // always valid if sufficient actors can be cast successfully } actorPrerequisites() { return [ [ // single event slave s => s.energy > 40, s => s.devotion > 0 && s.devotion <= 50, s => s.trust >= -50, canMove, canSee, hasAnyArms, s => (s.attrXX >= 50 && V.PC.belly < 5000 && (V.PC.boobs >= 300 || V.PC.title === 0)) || (s.attrXY >= 50 && V.PC.dick > 0 && V.PC.boobs < 300 && V.PC.belly < 1500) || (s.fetish === "pregnancy" && V.PC.belly >= 5000) || (s.fetish === "boobs" && V.PC.belly < 5000 && V.PC.boobs >= 1000), ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; if (V.arcologies[0].FSPhysicalIdealist !== "unset") { t.push(`You maintain a tremendous workout routine: the leader of a society that worships physical perfection can afford nothing less. Working out maintains your appearance, keeps you sharp, and makes you the exemplar of the physical ideal that you have to be for your vision for the future to be realized. So, you pay the iron price for your ${PC.title === 1 ? "muscles" : "toned body"}. Like most of the arcology's prominent citizens, you often lift publicly and take part in other amateur sports, but you also have your own private weight room in your penthouse, and you spend a lot of time there.`); } else if (PC.physicalAge >= 50) { t.push(`You take care of yourself. You're no longer as young as you once were, making it almost a requirement that you work out, hard and regularly. The fact is, the overwhelming majority of arcology owners who maintain their positions for more than a short time are physically fit. The Free Cities have a reputation for destroying old world wastrels who inherit wealth and think that makes them able to survive in an anarcho-capitalist world. Sloth and an inability to self-govern are not qualities common among your successful peers. Not to mention, it's useful to look good, and it may well prove essential to be physically capable in the near future.`); } else { t.push(`You take care of yourself. It would be absurd to think that there's any explicit requirement that you work out, hard and regularly, but the fact remains that the overwhelming majority of arcology owners who maintain their positions for more than a short time are physically fit. The Free Cities have a reputation for destroying old world wastrels who inherit wealth and think that makes them able to survive in an anarcho-capitalist world. Sloth and an inability to self-govern are not qualities common among your successful peers. Not to mention, it's useful to look good, and it may well prove essential to be physically capable in the near future.`); } App.Events.addParagraph(node, t); t = []; t.push(`You complete the final rep of your first workout of the day, rack the bar, and jump to your feet to shower, change, and see to your empire. The motion brings your field of view up, and you notice for the first time that`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is frozen in the open doorway, having seen something in the workout room that caught ${his} attention as ${he} passed by. ${His} eyes are fixed on your`); if (PC.belly >= 120000) { t.push(`massive pregnancy with almost painful intensity. You can't really blame ${him}; you're the perfect image of a fertile goddess and your overfilled belly is coated in sweat. Even though you can't work your core any longer, you still take your workouts seriously, something most pregnant women would shy away from. You flush a little at what must ${he} must have thought; with all the grunting and effort, ${he} likely thought you were giving birth.`); } else if (PC.belly >= 100000) { t.push(`massive pregnancy with almost painful intensity. You can't really blame ${him}; you're eye-catchingly gravid and your full belly is coated in a thin sheen of sweat. Even though you can't work your core any longer, you still take your workouts seriously, something most pregnant women would shy away from.`); } else if (PC.belly >= 60000) { t.push(`giant pregnancy with almost painful intensity. You can't really blame ${him}; you're eye-catchingly massive and your heavy belly is coated in a thin sheen of sweat.`); } else if (PC.belly >= 15000) { t.push(`advanced pregnancy with almost painful intensity. You can't really blame ${him}; you're the perfect image of a mother-to-be and your heavy belly is coated in a thin sheen of sweat.`); } else if (PC.belly >= 10000) { t.push(`heavily pregnant middle and the last remnants of your abs with almost painful intensity. You can't really blame ${him}; you're the perfect image of a mother-to-be and your heavy belly is coated in a thin sheen of sweat.`); } else if (PC.belly >= 5000) { t.push(`greatly swollen middle and its stretched abdominal muscles with almost painful intensity. You can't really blame ${him}; despite how big you've gotten, you still have some abs left.`); } else if (PC.boobs >= 1400) { t.push(`sports bra clad boobs with almost painful intensity. You can't really blame ${him}; the bra is three sizes too small, forcing your enormous ${PC.boobsImplant > 0 ? "fake breasts to balloon around the strained material" : "breasts to lewdly bulge around the strained material"}, soaked in your sweat${PC.lactation > 0 ? " and breast milk" : ""}, and your nipples are clearly defined through the stretched thin fabric.`); } else if (PC.boobs >= 1200) { t.push(`sports bra clad boobs with almost painful intensity. You can't really blame ${him}; the bra is two sizes too small, allowing your huge ${PC.boobsImplant > 0 ? "fake" : ""} breasts to lewdly bulge out of them, soaked in your sweat${PC.lactation > 0 ? " and breast milk" : ""}, and your nipples are clearly visible as bumps in the strained material.`); } else if (PC.boobs >= 1000) { t.push(`sports bra clad boobs with almost painful intensity. You can't really blame ${him}; the bra is one size too small, allowing your big ${PC.boobsImplant > 0 ? "fake" : ""} breasts to bulge out of them, soaked in your sweat${PC.lactation > 0 ? " and breast milk" : ""}, and your nipples are clearly visible as bumps in the taut material.`); } else if (PC.boobs >= 300) { t.push(`sports bra clad boobs with almost painful intensity. You can't really blame ${him}; the bra is soaked in your sweat ${PC.lactation > 0 ? "and breast milk" : ""} and your nipples are clearly visible as bumps in the tight material.`); } else if (PC.belly >= 1500) { t.push(`swollen middle and its abdominal muscles with almost painful intensity. You can't really blame ${him}; despite your growing child${PC.pregType > 1 ? "ren" : ""}, they're still pretty cut.`); } else if (PC.belly >= 100) { if (PC.title === 0) { t.push(`slightly distended abdominal muscles and flat chest with almost painful intensity. You can't really blame ${him}; they're pretty cut, and your sports bra's soaked in your sweat ${PC.lactation > 0 ? "and breast milk" : ""} and your nipples are clearly visible as bumps in the tight material.`); } else { t.push(`slightly distended abdominal muscles with almost painful intensity. You can't really blame ${him}; they're pretty cut, and your bare chest is coated in a light sheen of glistening sweat.`); } if (PC.pregKnown === 1) { t.push(`You doubt ${he} realizes that the slight swell to your middle is a child.`); } } else { if (PC.title === 0) { t.push(`abdominal muscles and flat chest with almost painful intensity. You can't really blame ${him}; they're pretty cut, and your sports bra's soaked in your sweat${PC.lactation > 0 ? "and breast milk" : ""} and your nipples are clearly visible as bumps in the tight material.`); } else { t.push(`abdominal muscles with almost painful intensity. You can't really blame ${him}; they're pretty cut, and your bare chest is coated in a light sheen of glistening sweat.`); } } App.Events.addParagraph(node, t); t = []; t.push(`${His} ${App.Desc.eyesColor(eventSlave)} track up your torso comically until ${he}'s looking into your eyes. ${He} stares dumbly at you for a moment before realizing what ${he}'s doing and blushes with embarrassment. ${He}'s reasonably well broken, but is still coming to terms with ${his} sexual place as a ${SlaveTitle(eventSlave)}.`); t.push(`In particular, ${he} hasn't gotten used to the effects of ${his} training, the slave food, and the atmosphere in the penthouse, all of which are serving to fuel an acceleration of ${his} sex drive.`); if (!canTalk(eventSlave)) { t.push(`${He} uses shaky ${hasBothArms(eventSlave) ? "hands" : "gestures"} to ask you to fuck ${him},`); } else { t.push(Spoken(eventSlave, `"Sorry, ${Master}, I was just, um, passing by and I thought, um, I saw, um, sorry ${Master}, I'm going now,"`)); t.push("he babbles,"); } t.push("and turns to flee."); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result("Not so fast", caught), new App.Events.Result(`Let ${him} go`, released), ]); function caught() { const belly = bellyAdjective(eventSlave); t = []; t.push(`As ${he} goes, ${he} follows the natural human impulse when embarrassed, and turns ${his} head resolutely away from you, trying very hard to forget making such a fool of ${himself}. This means that ${he} does not see your rapid, predatory pursuit of ${him}, nor does ${he} ${canHear(eventSlave) ? "hear" : "notice"} your careful stride across the flooring. ${His} first indication that ${he}'s prey is when your hands grab ${him} around ${his}`); if (eventSlave.bellyPreg >= 5000) { t.push(`pregnant belly`); } else if (eventSlave.belly >= 5000) { t.push(`${belly} belly`); } else if (eventSlave.weight > 130) { t.push("gut"); } else if (eventSlave.weight > 95) { t.push("fat belly"); } else if (eventSlave.muscles > 30) { t.push("own well-muscled middle"); } else if (eventSlave.weight > 10) { t.push("plush belly"); } else { t.push("middle"); } t.push(`and hug ${him} hard against your`); if (PC.belly >= 100000) { t.push("massive sweaty pregnancy."); } else if (PC.belly >= 60000) { t.push("giant sweaty pregnancy."); } else if (PC.belly >= 15000) { t.push("huge sweaty pregnancy."); } else if (PC.belly >= 5000) { t.push("sweaty pregnancy."); } else if (PC.boobs >= 1400) { t.push("enormous sweaty boobs."); } else if (PC.boobs >= 1200) { t.push("huge sweaty boobs."); } else if (PC.boobs >= 1000) { t.push("big sweaty boobs."); } else if (PC.boobs >= 300) { t.push("sweaty boobs."); } else { t.push(PC.title === 0 ? "sweaty, flat chest." : "sweaty, bare chest."); } t.push(`${He} stiffens ${eventSlave.voice !== 0 ? "and shrieks" : ""} with surprise, but relaxes obediently within your embrace. Your warm, animal presence has an immediate effect. You hear ${him} suck in ${his} breath and then feel ${him} begin to breathe increasingly hard as your ${canSmell(eventSlave) ? "scent" : "body heat"} sinks into ${him} and ${his} embarrassment fades.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ ((canDoVaginal(eventSlave) || canDoAnal(eventSlave))) ? new App.Events.Result(`Fuck ${him} right here`, fuck, virginityWarning()) : new App.Events.Result(virginityWarning()), new App.Events.Result(`Have ${him} lick you clean`, lick), ], "result2"); function fuck() { t = []; if (PC.title === 0 || PC.boobs >= 300 || PC.belly >= 1500) { t.push("Despite your feminine appearance, you have capable hands."); } else { t.push("You have strong hands to go with your masculine appeal."); } t.push(`They rove across ${his} front, hugging ${him} hard against you as you massage and grope.`); if (eventSlave.boobs > 4000) { t.push(`${His} tits are so big that hefting them creates a bit of a burn in your biceps, in addition to making ${him} writhe against you.`); } else if (eventSlave.belly >= 10000) { t.push(`The skin that covers ${his} swollen belly is erotically taught, and you run your fingers across it possessively.`); } else if (eventSlave.nipples === "inverted") { t.push(`You wrap your hands around the bases of ${his} inverted nipples, and use your strong grip to stimulate and squeeze them until they protrude, much to the writhing slave's anguish.`); } else if (eventSlave.nipples === "fuckable") { t.push(`You slip your fingers into ${his} nipples and spread them wide, making the slave writhe and buck against you.`); } else { t.push(`You pinch ${his} nipples and tug them hard, making the slave writhe and buck against you.`); } if (PC.dick === 0) { if (hasBothArms(eventSlave)) { t.push(`You grab one of ${his} hands and guide it down to ${his}`); } else if (hasAnyArms(eventSlave)) { t.push(`You grab ${his} hand and guide it down to ${his}`); } else { t.push(`You `); } if (eventSlave.dick > 0 && !(eventSlave.chastityPenis)) { t.push("cock,"); } else if (canDoVaginal(eventSlave)) { t.push("pussy,"); } else if (eventSlave.scrotum > 0 && eventSlave.balls > 1) { t.push("testicles,"); } else if (eventSlave.chastityPenis === 1) { t.push("caged dick,"); } else if (eventSlave.chastityVagina) { t.push("chastity belt,"); } else if (eventSlave.vagina === -1) { t.push("perineum,"); } t.push(`making ${him} play with ${himself}. Meanwhile, you look after your womanhood with your other hand, schlicking expertly while holding ${him} close, ensuring that ${he} feels every motion of what you're doing. When your fingers are thoroughly coated with pussyjuice, you drop ${his} hand, letting ${him} continue masturbating on ${his} own, and then use the freed hand to replace the one you're using to touch yourself. Then, you take the wet fingers and push them into ${his} mouth; ${he} willingly sucks them clean, using ${his} tongue to gather every trace of your secretions. You gather sweat from between your breasts, and make ${him} suck that off ${his} fingers too. When ${he} orgasms, you shove ${him} against the wall and hump against ${him} and your hand both, climaxing yourself.`); } else { t.push(`You pull ${him} up ${hasAnyLegs(eventSlave) ? `onto ${his} toes` : "to face you"} and slide yourself inside ${him}, the slave gasping when ${he} feels your hot dick enter ${his}`); t.push(canDoVaginal(eventSlave) ? "cunt." : "anus."); if (PC.belly >= 5000 && eventSlave.belly >= 10000) { t.push(`You'd like to lift ${him} up into a standing fuck, but there is so much distended stomach between the both of you that it's impossible so you opt for a position where you can both penetrate ${him} and continue your work out.`); if (canDoVaginal(eventSlave) && canDoAnal(eventSlave)) { t.push(`After a while, you shift positions, freeing your member, and force yourself up ${his} butt despite the slave's anxious begging.`); t.push(VCheck.Both(eventSlave, 1, 1)); t.push(`It doesn't take long before you fill ${his} ass with cum.`); } else { t.push((canDoVaginal(eventSlave)) ? fuckVagina() : fuckAss()); } } else if (PC.belly >= 5000) { t.push(`You'd like to lift ${him} up into a standing fuck, but you are far too pregnant to manage. Instead, you lie on your back and have ${him} work your legs as you fuck ${him}.`); if (canDoVaginal(eventSlave) && canDoAnal(eventSlave)) { t.push(`After a while, you lift ${him} up as high as you can, freeing your member, and then lower ${him} back down again, forcing yourself up ${his} butt instead despite the slave's anxious begging.`); t.push(VCheck.Both(eventSlave, 1, 1)); t.push(`It doesn't take long before you fill ${his} ass with cum.`); } else { t.push((canDoVaginal(eventSlave)) ? fuckVagina() : fuckAss()); } } else if (eventSlave.belly >= 300000) { t.push(`You'd like to lift ${him} up into a standing fuck, but even you aren't strong enough to lift ${his} extreme weight. Instead, you choose to have ${him} ride you; supporting ${his} ${belly} middle is a workout in its own right.`); if (canDoVaginal(eventSlave) && canDoAnal(eventSlave)) { t.push(`After a while, you push ${him} up as high as you can, freeing your member, and then lower ${him} back down again, forcing yourself up ${his} butt instead despite the slave's anxious begging.`); t.push(VCheck.Both(eventSlave, 1, 1)); t.push(`It doesn't take long before you fill ${his} ass with cum.`); } else { t.push((canDoVaginal(eventSlave)) ? fuckVagina() : fuckAss()); } } else if (eventSlave.belly >= 100000) { t.push(`Once you're hilted, you hoist ${him} up by the underarms, shifting your stance to handle ${his} ${belly} stomach's weight, and hold ${him} in midair, impaled on your dick. You can't pound ${him} all that hard in this challenging position, but the effort of holding ${him} this way forces you to work out hard, producing an excellent sensation. ${PC.vagina !== -1 ? `The position angles your dick upward, producing a lovely massaging sensation in your pussy as you slide in and out of ${him}.` : ""}`); if (canDoVaginal(eventSlave) && canDoAnal(eventSlave)) { t.push(`After a while, you lift ${him} up as high as you can, freeing your member, and then lower ${him} back down again, forcing yourself up ${his} butt instead despite the slave's anxious begging.`); VCheck.Both(eventSlave, 1, 1); t.push(`It doesn't take long before you fill ${his} ass with cum.`); } else { t.push((canDoVaginal(eventSlave)) ? fuckVagina() : fuckAss()); } t.push("You're going to be feeling this tomorrow."); } else { t.push(`Once you're hilted, you bring ${his} hands up on either side of ${his} head to grasp your shoulders behind ${him}, and then scoop ${his} legs up and hoist ${him} to rest against your chest, held in midair and impaled on your dick. You can't pound ${him} all that hard in this challenging position, but the effort of holding ${himself} this way forces ${him} to tighten ${his} muscles down hard, producing an excellent sensation. ${PC.vagina !== -1 ? `The position angles your dick upward, producing a lovely massaging sensation in your pussy as you slide in and out of ${him}` : ""}.`); if (canDoVaginal(eventSlave) && canDoAnal(eventSlave)) { t.push(`After a while, you lift ${him} up as high as you can, freeing your member, and then lower ${him} back down again, forcing yourself up ${his} butt instead despite the slave's anxious begging.`); t.push(VCheck.Both(eventSlave, 1, 1)); t.push(`It doesn't take long before you fill ${his} ass with cum.`); } else { t.push((canDoVaginal(eventSlave)) ? fuckVagina() : fuckAss()); } } } function fuckVagina() { return `${VCheck.Vaginal(eventSlave, 1)} It doesn't take long before you fill ${his} pussy with cum.`; } function fuckAss() { return `${VCheck.Anal(eventSlave, 1)} It doesn't take long before you fill ${his} ass with cum.`; } t.push(`You tell your quivering sex toy that ${he} doesn't have to be embarrassed about ${his} needs. <span class="mediumaquamarine">${He} seems relieved</span> that the sexual being ${he}'s becoming is acceptable, at least to you.`); eventSlave.trust += 4; return t; } function lick() { t = []; t.push(`You take ${him} by the hand and ${PC.belly >= 10000 ? "waddle" : "walk"} towards the shower. The sudden loss of your closeness jerks ${him} rudely out of ${his} sexual reverie, but ${he} follows willingly, perhaps distracted by the view as you shed your workout clothes on the way. When you get there, you pull ${him} in with you, but you do not turn on the water. Instead, you tell ${him} to wash you. Not understanding, ${he} turns to switch on the shower, but you catch ${him}, and insert two sweaty fingers into the slave's compliant mouth. ${He} sucks on them, taking refuge in the simple task, and then understands what you mean. ${He} runs ${his} tongue up your arm, sucking the salty sweat off you as best ${he} can. Soon, ${he} bends down and heads for your`); if (PC.dick !== 0 && PC.vagina !== -1) { t.push("cock and cunt"); } else if (PC.dick !== 0) { t.push("cock"); } else if (PC.vagina !== -1) { t.push("cunt"); } t.push(`but you pull ${him} up again and tell ${him} to do that last.`); if (PC.belly >= 60000) { t.push(`${He} quickly finds something almost as good by licking and sucking ${his} way up your linea nigra. When ${he} reaches your ${PC.preg >= 22 ? "popped" : "flattened"} navel, you hold ${his} head there for a while, savoring the erotic sensation before pushing ${him} along to the rest of your expansive midriff.`); } else if (PC.belly >= 5000) { t.push(`${He} quickly finds something almost as good by licking and sucking ${his} way up your linea nigra. When ${he} reaches your ${PC.preg >= 22 ? "popped" : "flattened"} navel, you hold ${his} head there for a while, savoring the erotic sensation.`); } else if (PC.boobs >= 1400) { t.push(`${He} quickly finds something almost as good by licking and sucking ${his} way up the sweaty crevice between your enormous breasts. When ${he} reaches your nipples, you hold ${his} head there for a while, enjoying ${his} tongue.`); } else if (PC.boobs >= 1200) { t.push(`${He} quickly finds something almost as good by licking and sucking ${his} way up the sweaty crevice between your huge breasts. When ${he} reaches your nipples, you hold ${his} head there for a while, enjoying ${his} tongue.`); } else if (PC.boobs >= 1000) { t.push(`${He} quickly finds something almost as good by licking and sucking ${his} way up the sweaty crevice between your big breasts. When ${he} reaches your nipples, you hold ${his} head there for a while, enjoying ${his} tongue.`); } else if (PC.boobs >= 300) { t.push(`${He} quickly finds something almost as good by licking and sucking ${his} way up the sweaty crevice between your breasts. When ${he} reaches your nipples, you hold ${his} head there for a while, enjoying ${his} tongue.`); } else { t.push(`${He} settles for kissing and licking ${his} way up your abs, pecs, and`); if (PC.title === 0) { t.push(`non-existent tits. When ${he} reaches your nipples, you hold ${his} head there for a while, enjoying ${his} tongue.`); } else { t.push(`collarbone, before shyly sucking the line of sweat that runs down each of your temples when you perspire heavily off of you.`); } } t.push(`When you've enjoyed the tongue bath enough, you reach over and activate the shower, the warm water producing a hum from the slave. You coach ${him} towards your`); if (PC.dick === 0) { t.push(`cunt, and ${he} eats you out with enthusiasm`); } else { t.push(`stiff prick, and ${he} gives you an enthusiastic blowjob ${PC.vagina !== -1 ? `before turning ${his} oral attentions to your pussy` : ""}`); } t.push(`as the water plays over you both. After looking up and letting the water cascade down your face for a long moment, you quietly tell ${him} to masturbate before opening your mouth to drink from the downpour. With your eyes closed against the stream, your only indications that ${he}'s obeying the command is a slight increase in the force with which ${he} sucks, and a faint`); if (canDoVaginal(eventSlave)) { t.push("schlicking"); } else if (eventSlave.dick > 0 && canAchieveErection(eventSlave) && !(eventSlave.chastityPenis)) { t.push("wanking"); } else { t.push("rubbing"); } t.push(`noise as ${he} jerks off. ${He} must <span class="devotion inc">find you quite attractive,</span> since giving you oral in the shower while playing with ${himself} brings ${him} to orgasm with almost indecent speed.`); eventSlave.devotion += 4; seX(eventSlave, "oral", PC, "penetrative"); return t; } return t; } function released() { t = []; t.push(`You let ${him} go, and ${he} hurries off to go on with ${his} day. But ${his} attraction to you does not go away, and neither does the embarrassment of having made a fool of ${himself} in front of you. The experience leaves ${him} <span class="trust dec">a bit worried</span> about how life as your slave is affecting ${him}, but <span class="devotion inc">increasingly infatuated</span> with you. Before long, love will conquer doubt.`); eventSlave.devotion += 4; eventSlave.trust -= 2; return t; } function virginityWarning() { if (V.PC.dick > 0) { if (canDoVaginal(eventSlave) && (eventSlave.vagina === 0)) { return `This option will take ${his} virginity`; } else if (!canDoVaginal(eventSlave) && canDoAnal(eventSlave) && (eventSlave.anus === 0)) { return `This option will take ${his} anal virginity`; } } return null; } } };
MonsterMate/fc
src/events/RESS/hotPC.js
JavaScript
mit
25,661
App.Events.RESSImScared = class RESSImScared extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", hasAnyArms, canMove, canTalk, s => s.assignment !== Job.QUARTER, s => s.trust < -50, s => s.devotion <= 50, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, his, him, himself } = getPronouns(eventSlave); const {say, title: Master} = getEnunciation(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`During ${his} weekly inspection,`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`has trouble following the routine orders that position ${him} so you can examine ${his} body. The cause is not difficult to determine: ${he}'s so cripplingly terrified that ${he}'s having difficulty functioning. ${He} seems to be trying to obey you, but ${he}'s so scared that ${his} mind is having trouble translating your simple verbal commands into physical obedience. You ask ${him} what ${he}'s so frightened of. The question stuns ${him}, and ${he} ${canSee(eventSlave) ? "stares at" : "faces"} you in mute horror, looking even more terrified than ${he} has up to this point and completely devoid of any idea how to respond. You order ${him} to respond, and this starts ${him} out of ${his} fugue. ${He} begins to cry, makes two false starts, sobs, and then begins forcing out words.`); App.Events.addParagraph(node, t); t = []; t.push(`"E-e-everything," ${he} cries. "${Spoken(eventSlave, "I'm s-so s-sorry b-but I c-can't help")}," ${he} chokes on a sob and hiccups, "${Spoken(eventSlave, "help it. This, this place, being a sex slave")},`); switch (eventSlave.rules.punishment) { case "confinement": t.push(Spoken(eventSlave, "b-being sh-shut up in the d-dark")); break; case "whipping": t.push(Spoken(eventSlave, "b-being wh-wh-whip-ped")); break; case "chastity": t.push(Spoken(eventSlave, "h-having my p-parts locked up in ch-chastity")); break; default: t.push(Spoken(eventSlave, "n-never knowing what th-the p-punishment will be")); } t.push(`${Spoken(eventSlave, `wh-when I'm bad, e-everything, ${eventSlave.rudeTitle === 1 ? PoliteRudeTitle(eventSlave) : Master}. Oh, oh, I'm sorry, p-please, I'm sorry I, I'm like this, I'm crying, p-please ${eventSlave.rudeTitle === 1 ? PoliteRudeTitle(eventSlave) : Master}, please don't...`)}" ${He} trails off, giving you a look of supplication.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Punish ${him}`, punish), new App.Events.Result(`Comfort ${him}`, comfort), (V.dairyRestraintsSetting === 2 ? new App.Events.Result(`Threaten ${him} with the industrial Dairy`, industrial) : new App.Events.Result()), (V.seeExtreme === 1 ? new App.Events.Result(`Threaten to convert ${him} into a Fuckdoll`, fuckdoll) : new App.Events.Result()) ]); function punish() { t = []; t.push(`${He} obviously knows that breaking down like this would displease you, but you patiently explain that it's against the rules anyway. ${He} cries harder, nodding through ${his} tears. ${He} knows that interrupting you to beg would be profoundly stupid, so ${he} clasps ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} in wordless submission. You tell ${him} that ${he}'s to keep ${himself} under control; if ${he} fails, ${he} will be punished. Since ${he} failed, ${he} will now suffer ${his} standard punishment, and be`); switch (eventSlave.rules.punishment) { case "confinement": t.push(`shut up in a box. <span class="gold">${He} breaks down,</span> falling to ${his} knees, begging abjectly for mercy.`); if (eventSlave.belly >= 100000 || eventSlave.boobs > 25000 || eventSlave.weight > 190) { t.push(Spoken(eventSlave, `"It's too cramped in there,"`)); } else { t.push(Spoken(eventSlave, `"It's dark in there,"`)); } t.push(`${he} screams as you open the box for ${him}. ${He} knows that if ${he} doesn't climb in, it'll be longer before ${he}'s let out, so ${he} does, scrabbling inside and sobbing desperately as you close the lid.`); break; case "whipping": t.push(`whipped. <span class="gold">${He} breaks down,</span> falling to ${his} knees, begging abjectly for mercy. "It'll h-hu-hurt," ${he} blubbers weakly as you attach ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} to shackles high on the office wall. The first stroke across ${his} buttocks draws a long shriek out of ${him}.`); break; case "chastity": t.push(`locked up in chastity. <span class="gold">${He} breaks down,</span> falling to ${his} knees, begging abjectly for mercy. "I c-can't," ${he} moans. "I can't take it. I can't stand it." As you lock the chastity onto ${him}, ${he} sobs inconsolably, knowing that any arousal will be torturous until ${he}'s released.`); break; default: t.push(`gagged, since that's the appropriate castigation for failure to control ${his} mouth and deportment. ${He} tries to behave, but <span class="gold">breaks down</span> as you slide a dildo gag into ${his} throat, choking and struggling to breathe as ${he} tries to cry past it.`); } t.push(`The thing ${he}'s most frightened of is that ${he} won't be able to control ${his} fear in the future, and will continue to suffer.`); eventSlave.trust -= 5; return t; } function comfort() { t = []; t.push(`You rise from behind your desk, and ${eventSlave.slaveName} collapses to the floor, sure that ${he}'s about to be severely punished. ${He}'s shocked to feel your arms encircle ${him} as you kneel down beside ${him} and embrace ${his} huddled form. You pull ${his} head`); if (V.PC.boobs >= 1400) { t.push(`against your enormous, ${PC.boobsImplant !== 0 ? "hard" : "soft"} breasts,`); } else if (V.PC.boobs >= 1200) { t.push(`against your huge ${PC.boobsImplant !== 0 ? "firm" : "soft"} breasts,`); } else if (V.PC.boobs >= 1000) { t.push(`against your big ${PC.boobsImplant !== 0 ? "firm" : "soft"} breasts,`); } else if (V.PC.boobs >= 300) { t.push(`against your soft breasts,`); } else if (V.PC.title === 0) { t.push(`against your flat chest,`); } else { t.push(`into your shoulder,`); } t.push(`stroking it reassuringly and murmuring kindness. ${He} clings to you, mostly for lack of any other comfort in the whole world, and sobs convulsively, <span class="mediumaquamarine">${his} terror flowing out of ${him}</span> in a torrent as you gently rub ${his} back. When ${he}'s mostly cried ${himself} out, you tell ${him} that ${he}'ll be all right. You're sure ${he}'ll be a good slave one day. You understand that ${his} life is hard. ${He}'ll make mistakes, and you'll punish ${him} for them, but that's part of slave training, and that's all right. If ${he} does ${his} best, ${he}'ll be all right. ${He} sniffles, cuffing tears away. "${Spoken(eventSlave, `Th-thank you, ${eventSlave.rudeTitle === 1 ? PoliteRudeTitle(eventSlave) : Master}, I'll d-do my b-best`)}," ${he} manages to ${say}.`); eventSlave.trust += 5; return t; } function industrial() { t = []; const watchListenFreezes = canSee(eventSlave) ? "watches" : (canHear(eventSlave) ? "listens" : "freezes"); t.push(`You grab ${him} by the scruff of ${his} neck and drag ${him} down to ${V.dairyName}. ${He} tries to control ${himself}, but breaks down in tears when you haul ${him} to a stop, forcing ${him} to get a good`); if (canSee(eventSlave)) { t.push(`look at the`); } else if (canHear(eventSlave)) { t.push(`listen of the sound of`); } else { t.push(`feel for the omnipresent aura of`); } t.push(`rows of bodies being mercilessly milked. You explain that if ${he} continues to fail to control ${himself}, your patience with ${his} will eventually expire, and you'll be forced to immure ${him} here. ${canSee(eventSlave) ? "Indicating" : `Facing ${him} towards`} a slave who's being`); if (eventSlave.balls > 0 && V.dairyStimulatorsSetting === 2) { t.push(`cockmilked by the machines, you tell ${eventSlave.slaveName} to pay close attention. ${He} ${watchListenFreezes} in horror as a dildo the size of ${his} forearm slides in and out of the slave's rectum, pounding it harder and harder until the slave stiffens and the transparent tubing coming off its cockhead whitens with cum. As the slave relaxes slightly in the restrains, the powerful milkers continue their relentless tugging at ${his} gigantic udders.`); if (!canSee(eventSlave)) { t.push(`As the dildo begins its efforts to loose a second cumming, you grab the horrified slave's hands and push them to the cow's throbbing dick just in time for ${him} to feel the ejaculate forced out by its unwilling orgasm.`); } t.push(`You run a hand down to ${eventSlave.slaveName}'s own balls and, squeezing them slightly, tell ${him} that unless ${he} wants ${his} ass ruined by constant machine rape, ${his} tits turned into immobilizing milk factories and ${his} balls drained of every last drop of seed,`); } else if ((eventSlave.ovaries === 1 || eventSlave.mpreg === 1) && V.dairyPregSetting === 2) { t.push(`used for reproduction by the machines, you tell ${eventSlave.slaveName} to pay close attention. ${He} ${watchListenFreezes} in horror as a dildo the size of ${his} forearm fucks the slave's enormous cunt, keeping it as gaped as possible to ease birth and constantly ejaculating preparatory drugs against ${his} cervix. The slave is gigantically pregnant. You tell ${eventSlave.slaveName} that this is the vaginal treatment ${he} can expect when pregnant; when impregnation is required, the dildos ejaculate more than a liter of cum a minute.`); if (!canSee(eventSlave)) { t.push(`As the dildo retracts from the cow's gaping cunt, you grab the horrified slave's hands and push them to its gravid middle just in time for ${him} to feel a massive contraction.`); } t.push(`You run a hand down to ${eventSlave.slaveName}'s own middle and, patting it gently, tell ${him} that unless ${he} wants ${his} womb converted into an industrial component,`); } else if ((eventSlave.ovaries === 1 || eventSlave.mpreg === 1) && V.dairyPregSetting === 3) { t.push(`used for mass reproduction by the machines, you tell ${eventSlave.slaveName} to pay close attention. ${He} ${watchListenFreezes} in horror as a dildo the size of ${his} forearm fucks the slave's cavernous cunt, keeping it as gaped as possible to ease birth and constantly ejaculating preparatory drugs against ${his} tortured cervix. The slave is absolutely enormous, more a taut sphere of a belly than a person; so pregnant that the children within ${his} are visibly forced to bulge the skin covering ${his} straining womb by their sisters. You tell ${eventSlave.slaveName} that this is the treatment ${he} can expect when pregnant here; when impregnation is required, the dildos ejaculate more than a liter of cum a minute.`); if (!canSee(eventSlave)) { t.push(`As the cow takes the huge dildo absentmindedly, you grab the horrified slave's ${hasBothArms(eventSlave) ? "hands" : "hand"} and push ${hasBothArms(eventSlave) ? "them" : "it"} to its gravid middle, forcing ${him} to feel the children squirming within its packed womb. ${He} squeals in terror at the feeling of so many babies moving under ${his} fingers.`); } t.push(`You run a hand down to ${eventSlave.slaveName}'s own middle and, patting it gently, tell ${him} that unless ${he} wants to become an industrial breeder,`); } else { t.push(`drained of ${his} milk, you tell ${eventSlave.slaveName} to pay close attention. ${He} ${watchListenFreezes} in horror as the slave's gigantic breasts are massaged and squeezed, while the milkers attached to ${his} absurd nipples tug and pull with industrial power. ${He} can't ${canSee(eventSlave) ? "look away; the orbs of jiggling flesh being manipulated are each as big as the slave's torso" : "shut out the sound of those enormous jiggling orbs of flesh being so roughly manipulated"}. It's good for milk production to drain slaves completely on occasion, and the machine doesn't stop until every drop is wrung from both udders.`); if (!canSee(eventSlave)) { t.push(`You force the horrified slave's ${hasBothArms(eventSlave) ? "hands" : "hand"} onto its breasts so that ${he} may get a good sense of just how big and swollen they are and how hard the milker is pulling at them.`); } t.push(`You run a hand over to ${eventSlave.slaveName}'s own breast and, teasing ${his} nipple, tell ${him} that unless ${he} wants to experience that twice a day,`); } t.push(`${he} had better behave ${himself}. ${He} nods furiously, <span class="gold">terrified beyond the ability to speak.</span>`); eventSlave.trust -= 8; return t; } function fuckdoll() { t = []; t.push(`You order a Fuckdoll brought to your office. ${eventSlave.slaveName} `); if (canSee(eventSlave)) { t.push(`watches it totter in,`); } else if (canHear(eventSlave)) { t.push(`listens to the clicks of its approaching heels and the ominous squeaking of its latex shell,`); } else { t.push(`feels the uncomfortable latex skin of its suit when it brushes up against ${him},`); } t.push(`automatically following the tugs on its leash and the tonal commands passed by its suit. ${He} already understands the implicit threat, and ${he} shivers uncontrollably, <span class="gold">almost falling to ${his} knees in fear.</span> Not content with that, you tell ${him} that ${he}'s trying your patience with ${his} behavior. If ${he} doesn't control ${himself} better in the future, you'll give up on ${him} and convert ${him} into a Fuckdoll. At the spoken threat ${eventSlave.slaveName} does collapse, but you order ${him} to get back to ${his} feet and ${canSee(eventSlave) ? "watch" : "pay attention"}. ${He} does, shakily, tears streaming down ${his} face as you put the Fuckdoll on all fours, as though it were about to take dick. Its`); if (eventSlave.vagina > -1) { t.push(`holes are pointed straight at ${eventSlave.slaveName}'s face,`); if (canSee(eventSlave)) { t.push(`and ${he} can't avoid seeing how loose and used they look.`); } else { t.push(`so you grab both ${his} hands and force one into each of its blown out holes. ${eventSlave.slaveName} shrieks in horror at the recognizable sensation.`); } } else { t.push(`rear hole is pointed straight at ${eventSlave.slaveName}'s face,`); if (canSee(eventSlave)) { t.push(`and ${he} can't avoid seeing how loose and used it looks.`); } else { t.push(`so you grab both ${his} hands and force them into its blown out ass. ${eventSlave.slaveName} shrieks in horror at the recognizable sensation.`); } } t.push(`Suddenly, you activate the Fuckdoll's suit's punishment systems. It does not and cannot scream, but `); if (canSee(eventSlave)) { t.push(`a slight stiffening of its posture communicates extreme anguish, and its sphincter spasms tightly closed with obviously involuntary force.`); } else { t.push(`the sudden, pitiful attempt to clamp down on ${his} arms makes it perfectly clear that you just forced it to undergo extreme anguish.`); } t.push(`${eventSlave.slaveName} is almost incapacitated by terror.`); eventSlave.trust -= 8; return t; } } };
MonsterMate/fc
src/events/RESS/imScared.js
JavaScript
mit
15,760
App.Events.RESSLazyEvening = class RESSLazyEvening extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canStand, hasAnyArms, s => (s.assignment === Job.FUCKTOY || s.assignment === Job.MASTERSUITE || s.assignment === Job.CONCUBINE), s => s.devotion > 20, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, hers, him, himself, girl, woman } = getPronouns(eventSlave); const {s, title} = getEnunciation(eventSlave); V.nextLink = "Next Week"; /** @param {App.Entity.SlaveState} slave */ function getSceneClothes(slave) { if (getLimbCount(slave, 102) > 2) { return "an oversized t-shirt"; } else if (slave.boobs > 4000) { return "an oversized t-shirt"; /* loose pajama top */ } else if (slave.intelligence+slave.intelligenceImplant > 50) { return "a halter top dress"; } else if (slave.muscles > 30) { if (isItemAccessible.entry("sport shorts", "clothing")) { if (slave.boobs >= 650) { return "sport shorts and a sports bra"; } else { return "sport shorts"; } } else { return "spats and a tank top"; } } else if (slave.energy > 95) { return null; // no change of clothes } else { return "conservative clothing"; } } App.Events.drawEventArt(node, eventSlave, getSceneClothes(eventSlave)); let t = []; t.push(`Although your life as an arcology owner comes with many associated privileges, extended idleness to bask in your luxury is not often among them. Thankfully, ${V.assistant.name} knows better than to let you run yourself ragged from the weight of your assorted responsibilities and often allots time in the evenings of your active schedule to simply relax.`); App.Events.addParagraph(node, t); t = []; t.push(`Of course, no self respecting arcology owner could be expected to enjoy a lazy night of idle relaxation on their own. As you resolve the last of your most pressing responsibilities for the evening, ${V.assistant.name} directs one of your attentive slaves to gently guide you away from the unending burdens of running your arcology. Leaning against the doorway and wearing a facsimile of what an old world ${woman} might wear on a casual night in,`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); if (!canTalk(eventSlave)) { t.push(`asks with a gesture that carries just the right mixture of submission and exaggerated casualness if you'd like to 'hang out.'`); } else if (SlaveStatsChecker.checkForLisp(eventSlave)) { t.push(`lisps with exaggerated casualness, "Let'${s} hang out, ${title}?"`); } else { t.push(`asks with exaggerated casualness, "Want to hang out, ${title}?"`); } App.Events.addParagraph(node, t); t = []; t.push(`${He} saunters over and`); if (eventSlave.belly >= 100000) { t.push(`struggles to lower ${his} ${bellyAdjective(eventSlave)} form to an obedient kneel`); } else if (eventSlave.belly >= 10000) { t.push(`gingerly lowers ${his} heavily ${eventSlave.bellyPreg > 3000 ? "gravid" : "swollen"} form to an obedient kneel`); } else if (eventSlave.belly >= 5000) { t.push(`gently lowers ${his} ${eventSlave.bellyPreg > 3000 ? "gravid" : "swollen"} form to an obedient kneel`); } else { t.push(`kneels obediently`); } t.push(`in front of you, awaiting further direction.`); /* If you are updating below, please consider updating the vector art swaps at the top to match. */ if (getLimbCount(eventSlave, 102) > 2) { t.push(`Clad in an antique T-Shirt referencing some defunct old world website, ${his} P-Limbs stand in stark contrast — gyros and servomotors against simple thread and cloth. With such tangible examples of the technological prowess of the Free Cities serving as ${his} limbs, ${his} ${eventSlave.belly >= 5000 ? "taut " : ""} shirt is an amusing testimonial to how far behind the old world stands in contrast to the new.`); } else if (eventSlave.boobs > 4000) { t.push(`${His} breasts are so massive that the front of ${his} loose pajama top must be unbuttoned. Even so, the protrusion of ${his} immense breasts`); if (eventSlave.belly >= 5000) { t.push(`and ${bellyAdjective(eventSlave)} rounded belly from ${his} body`); } else { t.push(`from ${his} chest`); } t.push(`strains the soft pajama top to it's breaking point.`); } else if (eventSlave.intelligence+eventSlave.intelligenceImplant > 50) { t.push(`As a clever ${girl}, ${his} simple${eventSlave.belly >= 5000 ? `, yet tight around the middle,` : ""} summer dress evokes memories of bygone warm weather days at elite old world colleges — and the sexual conquest of their youthful residents.`); } else if (eventSlave.muscles > 30) { t.push(`${His} simple sports bra and compression shorts ensemble does little to conceal ${his} incredible musculature,`); if (eventSlave.belly >= 1500) { t.push(`straining to hold up against ${his} swelling middle and`); } t.push(`glistening with sweat from a recent workout. Despite ${his} recent exertions, ${he}'s able to maintain utter stillness in the perfect posture of an obedient slave.`); } else if (eventSlave.energy > 95) { t.push(`${He}'s controlling ${his} absurd sex drive for the moment in deference to the notion of your relaxation time, but ${he} clearly wouldn't mind some sex as part of the evening.`); if (eventSlave.dick > 0) { if (canAchieveErection(eventSlave)) { t.push(`${His} cock is painfully erect`); if (eventSlave.belly >= 10000) { t.push(`and pressed against the underside of ${his} belly,`); } } else { t.push(`${His} soft dick is dribbling precum,`); } } else { t.push(`${His} pussy is visibly soaked,`); } t.push(`showing unmistakably how badly ${he} needs release.`); } else { t.push(`${He} keeps ${his}`); if (canSee(eventSlave)) { t.push(App.Desc.eyesColor(eventSlave)); } else { t.push("face"); } t.push(`slightly downcast, ${his} hands lightly smoothing the folds from ${his} tight skirt while ${his} breasts visibly rise and fall under ${his} even tighter blouse.`); if (eventSlave.belly >= 5000) { t.push(`Between the two, there is little ${he} can do to cover ${his} exposed ${eventSlave.bellyPreg >= 3000 ? "pregnancy" : "middle"}.`); } t.push(`${He}'s the perfect picture of an attentive little old world ${girl}friend ${eventSlave.height > 185 ? ` (though, of course, ${he}'s anything but physically small)` : ""}.`); } App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result("Enjoy some oral with an evening of wallscreen television", flixAndChill), new App.Events.Result("Spend the night idly cuddling", cuddle), new App.Events.Result(`Unwind by tormenting ${him}`, torture) ]); function flixAndChill() { let t = []; t.push(`There are some things that never change, even after ascension to the high position of an arcology owner. One of these fixtures of life is the ability to enjoy a relaxing evening of wallscreen television and`); if (V.PC.dick !== 0) { t.push("a blowjob"); if (V.PC.vagina !== -1) { t.push("and"); } } if (V.PC.vagina !== -1) { t.push("some cunnilingus"); } t.push(t.pop() + "."); t.push(`With ${eventSlave.slaveName} sequestered between your legs, you tune into your favorite Free Cities serial drama and widen your legs slightly as you sink back into the chair with a sigh of contentment. ${He}`); if (eventSlave.belly >= 300000) { t.push(`gently leans onto ${his} ${bellyAdjective(eventSlave)} belly`); if (hasAnyArms(eventSlave)) { t.push(`with ${his} arm${hasBothArms(eventSlave) ? "s" : ""} steadying the mass`); } } else if (eventSlave.belly >= 5000) { if (hasAnyLegs(eventSlave)) { t.push(`kneels carefully`); } else { t.push(`lowers ${himself}`); } if (hasAnyArms(eventSlave)) { t.push(`with ${hasBothArms(eventSlave) ? `an` : `${his}`} arm`); if (eventSlave.bellyPreg >= 3000) { t.push(`wrapped protectively around ${his} bump`); } else { t.push(`cradling ${his} ${bellyAdjective(eventSlave)} belly`); } } } else { t.push(`sinks to`); if (hasAnyLegs(eventSlave)) { t.push(`${his} knee${hasBothLegs(eventSlave) ? "s" : ""} obediently`); if (hasAnyArms(eventSlave)) { t.push(`with ${his} hand${hasBothArms(eventSlave) ? "s" : ""} placed placidly on ${his} thigh${hasBothLegs(eventSlave) ? "s" : ""}`); } } else { t.push("the ground"); } } t.push(`before putting ${his} mouth to work,`); if (eventSlave.skill.oral >= 100) { t.push(`${his} mastery at giving oral providing a wealth of pleasure.`); } else if (eventSlave.skill.oral > 60) { t.push(`${his} skills in oral providing ample pleasure.`); } else { t.push(`${his} mediocre oral skills providing some relief.`); } if (eventSlave.teeth === "pointy") { t.push(`Although most of your attention is focused on the intriguing drama unfolding on your wallscreen, you still feel the extreme care ${he} has to take to keep ${his} shark-like teeth clear of you.`); } else if (eventSlave.teeth === "fangs") { t.push(`Although most of your attention is focused on the intriguing drama unfolding on your wallscreen, you can feel the slight hesitations as ${he} takes care to not scratch you with ${his} fangs.`); } else if (eventSlave.lips > 40) { t.push(`${His} huge lips are soft and pillowy against you.`); } else if (eventSlave.teeth === "fang") { t.push(`Although most of your attention is focused on the intriguing drama unfolding on your wallscreen, you can feel the care ${he} is taking to keep ${his} fang from clipping you.`); } else if (eventSlave.teeth === "gapped") { t.push(`Although most of your attention is focused on the intriguing drama unfolding on your wallscreen, you can feel the slight hesitations as ${he} takes care to not pinch you between ${his} front teeth.`); } else if ((eventSlave.teeth === "straightening braces") || (eventSlave.teeth === "cosmetic braces")) { t.push(`Although most of your attention is focused on the intriguing drama unfolding on your wallscreen, you can feel the slight hesitations as ${he} takes care to keep ${his} braces off you.`); } t.push(`You have an enjoyable evening glued to your wallscreen, punctuated by the playful ruffling ${eventSlave.hLength > 1 ? `of ${eventSlave.slaveName}'s ${eventSlave.hColor} hair` : `across ${eventSlave.slaveName}'s scalp`} and the occasional orgasm into ${his} waiting mouth.`); if (eventSlave.sexualFlaw !== "hates oral") { t.push(`Though your experience was more stimulating than ${hers}, ${eventSlave.slaveName} <span class="devotion inc">enjoyed being used while you enjoyed yourself.</span>`); eventSlave.devotion += 4; } else { t.push(`Although you enjoyed ${his} ministrations, ${eventSlave.slaveName} had a bad time because of ${his} <span class="devotion dec">hate of oral.</span>`); eventSlave.devotion -= 2; } seX(eventSlave, "oral", V.PC, "penetrative"); return t; } function cuddle() { let t = []; t.push(`Though your evening could hardly be called eventful, there is something eminently comforting about having a warm`); if (eventSlave.physicalAge > 30) { t.push(woman); } else if (eventSlave.physicalAge > 18) { t.push("young lady"); } else if (eventSlave.physicalAge > 12) { t.push("teen"); } else { t.push(`little ${girl}`); } t.push(`cuddled up beside you to idly while away the hours`); if (eventSlave.bellyPreg >= 1500 && eventSlave.pregSource === -1) { t.push(t.pop() + ","); t.push(`especially when ${he} is ${eventSlave.belly >= 300000 ? `so massively swollen with your children` : `heavy with your child${eventSlave.pregType > 1 ? "ren" : ""}`}`); } t.push(t.pop() + "."); t.push(`${He} <span class="trust inc">trusts you more</span> for these few intimate hours amidst ${his} life of sexual servitude.`); eventSlave.trust += 4; return t; } function torture() { let t = []; t.push(`Though there is no shortage of torments you inflict during the course of your day to day life as an arcology owner, there is something refreshing about torturing a slave out of idle boredom rather than corrective disciple or sexual domination. Your night is filled with ${eventSlave.voice === 0 ? "the horrible rasping that a mute throat substitutes for cries of agony" : "echoing shrieks of anguish"}, though every vocal outburst is idly punished with electro shock or strike of the whip. Come the morning, ${eventSlave.slaveName}`); if (eventSlave.fetish === "masochist") { t.push(`is mortified by the intensity of ${his} orgasms that night,<span class="devotion inc">and more convinced than ever that ${he}'s a pain slut,</span> and yet`); eventSlave.devotion += 4; } t.push(`<span class="trust dec">scuttles away to tend to the bruises and marks that litter ${his} battered body.</span>`); eventSlave.trust -= 5; return t; } } };
MonsterMate/fc
src/events/RESS/lazyEvening.js
JavaScript
mit
13,315
App.Events.RESSMoistPussy = class RESSMoistPussy extends App.Events.BaseEvent { eventPrerequisites() { return []; // always valid if sufficient actors can be cast successfully } actorPrerequisites() { return [ [ // single event slave s => s.assignment !== Job.QUARTER, s => s.devotion > 20, s => s.vaginaLube > 1, hasAnyArms, canDoVaginal, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, hers } = getPronouns(eventSlave); const belly = bellyAdjective(eventSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push("Just as you're about to give"); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`${his} weekly inspection, a minor business matter comes up and diverts your attention.`); t.push(`So, for about ten minutes, ${he} has nothing at all to do other than ${canStand(eventSlave) ? "stand" : hasAnyLegs(eventSlave) ? "kneel" : "sit"} in front of your desk in your office, ${canSee(eventSlave) ? "watching" : canHear(eventSlave) ? "listening to" : "feeling the subtle vibrations from"} you, ${(V.assistant.personality > 0) ? `${V.assistant.name}'s avatar,` : ""} the other slaves who come and go, and the general lewdness of the arcology, much of which is ${(canSee(eventSlave)) ? "visible" : canHear(eventSlave) ? "audible" : "apparent"} from right here.`); if ((eventSlave.attrXY > 50) && (V.PC.boobs < 300)) { t.push(`${He} finds your strong body attractive, and ${his} gaze rests most frequently ${canSee(eventSlave) ? "on" : "towards"} you.`); } else if ((eventSlave.attrXX > 50) && (V.PC.boobs >= 650)) { t.push(`${He} finds your prominent breasts attractive, and ${his} gaze rests most frequently ${canSee(eventSlave) ? "on" : "towards"} them.`); } else if (eventSlave.fetish === "pregnancy") { if (eventSlave.preg > eventSlave.pregData.normalBirth / 1.33) { t.push(`The combination of being hugely pregnant and a pregnancy fetishist keeps ${his} libido raging.`); } else if (V.PC.belly >= 10000) { t.push(`${He} finds your protruding pregnancy attractive, and ${his} gaze rests most frequently ${canSee(eventSlave) ? "on" : "towards"} it.`); } } else if (eventSlave.aphrodisiacs > 0 || eventSlave.inflationType === "aphrodisiac") { t.push(`The aphrodisiacs ${he}'s on never let ${his} libido rest for long.`); } else if (eventSlave.energy > 95) { t.push(`${His} nymphomania keeps ${him} perpetually ${canSee(eventSlave) ? "watchful for any sexual sights" : canHear(eventSlave) ? "listening for sexual acts" : "eager for sexual acts"}, especially any which promise ${his} participation.`); } else if (eventSlave.energy > 40) { t.push(`${His} healthy sex drive does its work, and with the constant coming and going ${he}'s not starved for things ${he} finds attractive.`); } else { t.push(`Despite ${his} weak libido, ${he}'s been a sex slave long enough that ${his} body knows that it may be called upon to render sexual service soon.`); } t.push(`The consequences of the special qualities of ${his} womanhood soon become apparent.`); App.Events.addParagraph(node, t); t = []; t.push(`Your slaves are all in the very best of vaginal health, so the scent of ${his} female arousal is not strong. But ${his} cunt produces such copious natural lubricant that with nothing to do but ${canStand(eventSlave) ? "stand" : "rest"} there, ${his} ${eventSlave.counter.births > 0 ? "motherly" : eventSlave.weight > 30 ? "thick" : eventSlave.muscles > 30 ? "strong" : "feminine"} inner thighs are soon slick with a sheen of healthy pussyjuice. You notice a droplet of the stuff running down ${his} warm ${eventSlave.skin} skin.`); if (canAchieveErection(eventSlave) && eventSlave.chastityPenis !== 1) { t.push(`${His} ${eventSlave.dick > 3 ? "stiff prick" : "hard little dick"} is sticking up from atop ${his} pussy, leaving it nice and visible.`); } else if (eventSlave.dick > 0) { t.push(`${His} pussy is ${eventSlave.dick > 3 ? "entirely" : "partially"} concealed by ${his} limp dick, which is getting a good coating, since it's resting against the source.`); } if (eventSlave.labia > 0) { t.push(`${His} prominent labia is flushed and moist, and frame ${his} womanhood invitingly.`); } if (eventSlave.clit > 0) { t.push(`${His} clit is rapidly becoming visible as the blood rushes there from every other part of ${his} body.`); } if (eventSlave.bellyPreg >= 10000) { t.push(`${His} huge pregnancy heaves a little as ${he} starts to breathe a bit harder, and the visual connection between ${his} gravid belly and ${his} needy womanhood is inescapable.`); } t.push(`${He}'s a good ${SlaveTitle(eventSlave)}, and remains obediently before your desk, filling your office with ${his} subtle perfume as ${he} waits for you.`); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`Make love to ${his} ready cunt`, love, virginityWarningLove()), new App.Events.Result(`Pound ${his} wet pussy`, pound, virginityWarningPound()), new App.Events.Result(`Feed ${him} ${his} own pussyjuice`, feed), ]); function love() { let container = document.createDocumentFragment(); t = []; t.push(`${His} body is so perfectly made to be fucked that it's getting itself ready for you, without your even having to give the order.`); t.push(`Deciding not to bother with verbal commands, you approach ${him} and reach for one of ${his} hands; ${he} obediently extends it towards your grasp, and follows`); if ((eventSlave.energy > 40) || (eventSlave.aphrodisiacs > 0) || eventSlave.inflationType === "aphrodisiac") { t.push("eagerly"); } else { t.push("willingly"); } t.push(`as you pull ${him} in for a`); if (eventSlave.boobs > 5000) { t.push(`hug (cushioned by ${his} enormous udders),`); } else if (eventSlave.belly >= 10000) { t.push(`hug (quite a stretch thanks to ${his} ${belly} belly),`); } else if (eventSlave.dick > 5) { t.push(`hug (made rather lewd by ${his} enormous penis),`); } else { t.push(`hug,`); } t.push(`kiss ${him} deeply, and slide your arms down ${his}`); if (eventSlave.weight > 160) { t.push(`rippling`); } else if (eventSlave.weight > 95) { t.push(`soft`); } else if (eventSlave.muscles > 95) { t.push(`ripped`); } else if (eventSlave.muscles > 30) { t.push(`muscular`); } else if (eventSlave.muscles > 5) { t.push(`toned`); } else { t.push(`soft`); } t.push(`back to`); if (eventSlave.butt > 12) { t.push(`sink your arms into ${his} expansive`); } else if (eventSlave.butt > 6) { t.push(`heft ${his} monstrous`); } else if (eventSlave.butt > 3) { t.push(`squeeze ${his} healthy`); } else { t.push(`cup ${his} cute little`); } t.push(`buttocks. ${He} ${eventSlave.voice > 0 ? "coos" : "hums mutely"} at the feeling of your ${V.PC.title === 1 ? "strong" : "feminine"} hands on ${his} bottom, and presses ${him}self against you as you rotate the two of you until you can set ${his} butt on the edge of your desk and ${V.PC.dick !== 0 ? `slide your big dick into ${his} well-lubricated cunt.` : `assertively press your own pussy against ${his} wet cunt.`}`); App.Events.addParagraph(container, t); t = []; t.push(`${He} makes as if to lie back and take it, but you keep an arm around ${his} back and hug ${his}`); if (eventSlave.boobs > 2000 || eventSlave.belly >= 5000) { if (eventSlave.boobs > eventSlave.belly) { t.push(`as closely as ${his} big breasts will permit.`); } else { t.push(`as closely as ${his} ${belly} ${eventSlave.bellyPreg >= 3000 ? "pregnant belly" : "belly"} will permit.`); } } else if (V.PC.belly >= 5000) { t.push(`as closely as your pregnant belly will permit.`); } else { t.push(`closer than ever.`); } t.push(`You take your other hand and place a firm but loving grip under ${his} chin, lifting ${his} ${App.Desc.eyeColor(eventSlave)}-eyed gaze to meet yours before kissing ${him} again. All the while, you`); if (V.PC.dick !== 0) { t.push(`fuck ${him} powerfully, withdrawing your dick almost all the way and then hilting yourself in ${his} soaked slit.`); t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(`trib ${him} with assurance, grinding your hips against ${hers} and making ${him} feel your heat.`); seX(eventSlave, "vaginal", V.PC, "penetrative"); } t.push(`${He} clings to you, accepting the closeness to ${his} ${getWrittenTitle(eventSlave)} and enjoying the loving attention, even as the extreme wetness of ${his} cunt and your ${V.PC.dick !== 0 ? "powerful thrusting" : "hungry grinding"} begin to produce lewd noises from between you.`); t.push(`${His} generous natural lubrication lessens the friction and sensation a little, and you go for a long time before you both climax.`); t.push(`You lead ${him} into your office shower, since you're both coated in ${his} pussyjuice${V.PC.dick !== 0 ? ` and ${he}'s carrying a big load of your cum` : ", and your own"}.`); t.push(`Under the hot water, you don't even have to pull ${him} close; <span class="hotpink">${he} presses ${him}self into your arms on ${his} own.</span>`); if (eventSlave.sexualQuirk === "romantic") { t.push(`For an incorrigible romantic like ${him}, this encounter was perfect, and ${he} <span class="hotpink">loves you all the more for it.</span>`); eventSlave.devotion += 3; } eventSlave.devotion += 5; App.Events.addParagraph(container, t); return container; } function pound() { t = []; t.push(`${He}'s so generously lubricated that ${he}'s ready to take a good hard fuck, so you decide to give ${him} one.`); t.push(`You point at the ground, and you don't even have to tell ${him} to get down on all fours and get ready to take it.`); if (canSee(eventSlave)) { t.push(`Your gesture says it for you, and ${he} obediently gets down and gets in position to be bred like a bitch.`); } else { t.push(`The atmosphere of the room says it for you, and ${he} obediently gets down and gets in position to be bred like a bitch.`); } t.push(`${He} angles ${his} hips just right to offer ${his} cunt to you,`); if (eventSlave.belly >= 300000) { t.push(`an endeavor given the size of ${his} middle,`); } else if (eventSlave.belly >= 5000) { t.push(`while giving ${his} rounded middle room to hang,`); } t.push(`and even reaches down to spread ${his} ${eventSlave.labia > 1 ? "dangling labia" : "labia"} to invite you into ${his} pink channel.`); if (V.PC.dick !== 0) { if (eventSlave.vagina > 1) { t.push(`${He} can take your big dick without a twinge,`); } else { t.push(`Your big dick will fill ${his} tight cunt to its limits,`); } t.push(`but you grab ${his} hips and`); } else { t.push(`You select a strap-on that's right at the limits of ${his}`); if (eventSlave.vagina > 3) { t.push(`cavernous`); } else if (eventSlave.vagina > 2) { t.push(`big`); } else if (eventSlave.vagina > 1) { t.push(`open`); } else { t.push(`tight little`); } t.push(`cunt's capacity, don it, and`); } t.push(`mount ${him} with such force that your first stroke brings ${his} butt against your hips with an audible smack. There's also a deliciously lewd noise as ${V.PC.dick !== 0 ? "your invading penis" : "the invading phallus"} forces a little gush of pussyjuice out of ${him}.`); t.push(`${He} ${eventSlave.voice > 0 ? "shrieks, but it's a shriek" : "gasps, but it's a gasp"} of pleasure, and your rutting is so well-lubricated that ${he} has no trouble getting off on it. Wanting ${his} climax, you reach around ${him} and grab hold of ${his} pussy, feeling the slippery fluid between your fingers and the lewd thrusting motion as ${V.PC.dick !== 0 ? "your cock" : "the phallus"} pistons in and out of ${him}.`); t.push(`That bit of stimulation is enough to tip ${him} over, and you feel a gush of femcum against your hand as ${V.PC.dick !== 0 ? "your dickhead" : "the head of the strap-on"} forces an orgasm out of ${his} g-spot. ${He}'s so discombobulated that ${he} collapses into the puddle of pussyjuice ${he} left on the floor when you stand up and head off for a shower, but ${he} <span class="hotpink">crawls after you</span> as best ${he} can${hasBothLegs(eventSlave) ? " on rubbery legs." : "."}`); if (eventSlave.fetish === "submissive") { if (eventSlave.fetishKnown === 1) { t.push(`The ${SlaveTitle(eventSlave)} sub loves getting fucked like that, and`); if (eventSlave.fetishStrength > 95) { t.push(`<span class="lightsalmon">seems even more submissive</span>`); eventSlave.fetishStrength += 10; } else { t.push(`since ${he}'s fully confirmed in ${his} status as a sub, ${he} <span class="hotpink">glows with devotion</span>`); eventSlave.devotion += 3; } t.push(`as ${he} washes ${him}self in the shower with you.`); } else { t.push(`${He} seems utterly dissipated by the fucking ${he} just got, and may have just had the best sex of ${his} life. <span class="lightsalmon">${He}'s a submissive!</span>`); eventSlave.fetishKnown = 1; } } t.push(VCheck.Vaginal(eventSlave, 1)); eventSlave.devotion += 5; return t; } function feed() { t = []; t.push(`You approach ${him} and`); if (eventSlave.dick > 0) { t.push(`reach under ${his} girldick for ${his}`); } else if (eventSlave.balls > 3) { t.push(`reach under ${his} dangling balls`); } else { t.push(`cup ${his}`); } t.push(`sopping pussy. ${He} gasps as ${he} feels your cool grasp.`); t.push(`Your possessive hand encompasses ${his} vulva, with your index and ring fingers sliding around either side of ${his} pubic mound to grip ${his} entire womanhood.`); if (eventSlave.vagina > 0) { if (eventSlave.vagina > 1) { t.push(`${His} relaxed pussy almost draws your middle finger inward and upward,`); } else { t.push(`${His} pussy welcomes your middle finger,`); } t.push(`and you hook it inside ${his} body, gathering a healthy amount of pussyjuice and brushing ${his} g-spot.`); } else { t.push(`You're careful not to penetrate ${his} virgin slit with your middle finger, but you draw it up the exterior of ${his} channel, gathering a healthy amount of pussyjuice.`); } t.push(`Then you remove your hand, though the horny ${SlaveTitle(eventSlave)} unconsciously tries to follow the withdrawing digits.`); if (canSee(eventSlave)) { t.push(`${He} stares at you, waiting to see what you're going to do, and a blush begins to rise on ${his} ${eventSlave.skin} cheeks as ${he} sees you reaching for ${his} mouth. ${His}`); } else if (canHear(eventSlave)) { t.push(`${He} listens carefully to your movements, waiting to see what you're going to do, and a blush begins to rise on ${his} ${eventSlave.skin} cheeks as ${he} feels you reaching for ${his} mouth. ${His}`); } else { t.push(`${He} stays as still as ${he} can, until ${his} ${eventSlave.skin} cheeks blush as ${he} feels you reaching for ${his} mouth. ${His}`); } if (eventSlave.lips > 95) { t.push(`facepussy`); } else if (eventSlave.lips > 40) { t.push(`pillow-like`); } else if (eventSlave.lips > 10) { t.push(`soft`); } else { t.push(`thin`); } t.push(`lips part and you insert all three of your fingers into ${his} hot mouth. ${He} quivers at the intimacy of the gesture, and the ${canTaste(eventSlave) ? "taste" : "feel"} of ${his} own juices. The tremor sends a delicious motion through ${his}`); if ((eventSlave.boobsImplant === 0) && (eventSlave.boobs > 300)) { t.push(`natural ${eventSlave.boobs > 2000 ? "udders." : "breasts."}`); } else if ((eventSlave.boobsImplant / eventSlave.boobs) >= 0.60) { t.push(`fake tits.`); } else if (eventSlave.weight > 160) { t.push(`fat folds.`); } else if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { t.push(`gravidness.`); } else if (eventSlave.bellyImplant >= 3000) { t.push(`distended belly.`); } else { t.push(`${eventSlave.inflationType}-filled belly.`); } } else if (eventSlave.weight > 95) { t.push(`soft body.`); } else if (canAchieveErection(eventSlave) && !(eventSlave.chastityPenis)) { t.push(`stiff prick.`); } else if (eventSlave.scrotum > 4) { t.push(`dangling balls.`); } else if (eventSlave.dick > 0) { t.push(`limp bitchclit.`); } else if (eventSlave.weight > 30) { t.push(`chubbiness.`); } else { t.push(`body.`); } t.push(`You keep your fingers where they are until ${he}'s licked them really clean. ${His} hot tongue runs repeatedly between each of your fingers`); if (eventSlave.tonguePiercing > 0) { t.push(`and the smooth hardness of ${his} tongue piercing brushes against them`); } t.push(t.pop() + "."); t.push(`${He} ${eventSlave.voice > 0 ? "moans whorishly" : "begins to pant"} when you go back for more, and the third time you harvest ${his} own pussyjuice to feed it to ${him}, ${he} orgasms, adding some femcum to ${his} next little meal licked off your fingers.`); t.push(`${His} ${canSee(eventSlave) ? "eyes shine" : "face is alight"} with <span class="mediumaquamarine">gratitude and trust.</span>`); eventSlave.trust += 5; return t; } function virginityWarningLove() { return (eventSlave.vagina === 0 && V.PC.dick !== 0) ? `This option will take ${his} virginity` : null; } function virginityWarningPound() { return eventSlave.vagina === 0 ? `This option will take ${his} virginity` : null; } } };
MonsterMate/fc
src/events/RESS/moistPussy.js
JavaScript
mit
17,889
App.Events.RESSMuscles = class RESSMuscles extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canMove, hasAnyArms, s => s.muscles > 30, s => s.weight <= 10 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`Early one morning,`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); if (!canWalk(eventSlave)) { t.push(`crawls`); } else if ((eventSlave.shoes === "heels") || (eventSlave.shoes === "pumps") || (eventSlave.shoes === "boots") || (eventSlave.shoes === "extreme heels")) { t.push(`totters`); } else if (eventSlave.belly >= 10000) { t.push(`waddles`); } else { t.push(`walks`); } t.push(`past your door stark naked, with a towel thrown over ${his} shoulder. ${He}'s clearly moving from the gym to the showers after a hard workout; ${he}'s quite the iron pumper and gets up before anyone to protect ${his} gains. ${He} notices your gaze, so ${he} subtly flexes for your benefit. Cords of muscle ripple along ${his} massive thighs,`); if (eventSlave.bellyPreg >= 15000) { // no abs } else if (eventSlave.bellyPreg >= 10000) { t.push(`pregnancy ruined abs,`); } else if (eventSlave.belly >= 10000) { t.push(`hints of what were once abs across ${his} ${bellyAdjective(eventSlave)} taut middle,`); } else if (eventSlave.belly >= 1500) { t.push(`broadening abs,`); } else { t.push(`washboard abs,`); } t.push(`ripped biceps, and strapping lats.`); if (eventSlave.dick > 2) { t.push(`${His} massive cock completes the picture.`); } App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`Reward ${him} for ${his} gains`, reward, fuckNote()), new App.Events.Result(`Take advantage of ${his} gains with a powerfuck`, powerfuck, fuckNote()), ((eventSlave.toyHole === "dick" || V.policies.sexualOpenness === 1) && canPenetrate(eventSlave) && eventSlave.belly < 100000) ? new App.Events.Result(`See if ${he} can put those gains to good use`, penetration, "This option will penetrate you") : new App.Events.Result(), new App.Events.Result(`Compliment ${his} gains and send ${him} on ${his} way`, compliment), ]); function fuckNote() { if (V.PC.dick > 0) { if (canDoVaginal(eventSlave) && (eventSlave.vagina === 0)) { return `This option will take ${his} virginity`; } else if (!canDoVaginal(eventSlave) && canDoAnal(eventSlave) && (eventSlave.anus === 0)) { return `This option will take ${his} anal virginity`; } } return null; } function reward() { let t = []; t.push(`You tell ${him} to spread ${his} towel on the floor and lie`); if (eventSlave.belly >= 5000) { t.push(`on ${his} side on it. You lie next to ${him} and`); } else { t.push(`face-down on it. You`); } t.push(`run your hands across ${his} sweaty ${V.seeRace === 1 ? eventSlave.race : ""} muscles before giving ${him} a thorough, skillful and very intense massage. ${He} moans and grunts as you work the lactic acid out of ${his} muscles, slowly reducing ${him} to a puddle of ripped sex slave. As you're rubbing ${him} down to finish the massage, ${he} meekly begs you to fuck ${him}.`); if (!canDoVaginal(eventSlave) && !canDoAnal(eventSlave)) { t.push(`You tell ${him} that's not an option and pull ${him} into a kiss instead. It's a strange sensation, this mass of muscle lying quietly still in your arms you, whimpering with delight as you gently make out with ${him}. Your wandering hands eventually tip ${him} over the edge; ${he} hugs you tight as ${he} shakes with orgasm. Once ${he} stops crushing you, you return to enjoying ${his} sweaty body.`); } else { t.push(`As ${he} lies still,`); if (V.PC.dick === 0) { t.push(`you lift one of ${his} legs and straddle yourself in to bring your groin against ${hers}. It's a strange sensation, this mass of muscle lying quietly still beneath you, whimpering with delight as you gently scissor yourself against ${him}. ${He} comes in no time at all. When ${he} does ${he} squeezes you between vice-like thighs, ${V.PC.vagina !== -1 ? "pressing your pussy deliciously and" : ""} bringing you to climax, too.`); } else { t.push(`you slowly push your cock into ${his}`); if (canDoVaginal(eventSlave)) { t.push(`pussy; ${he}'s so relaxed from the massage that it slides in easily.`); t.push(VCheck.Vaginal(eventSlave, 1)); t.push(`It's a strange sensation, this mass of muscle lying quietly still beneath you, whimpering with delight as you gently penetrate ${him}. ${He} comes in no time at all. When ${he} does you happen to be halfway inside ${him}; ${he} wraps ${his} legs around you and pulls you into ${his} depths. You explode into ${him} as ${he} holds you in place with ${his} vice-like thighs.`); } else { t.push(`ass; ${he}'s so relaxed from the massage that it slides in easily.`); t.push(VCheck.Anal(eventSlave, 1)); t.push(`It's a strange sensation, this mass of muscle lying quietly still beneath you, whimpering with delight as you gently take ${his} ass. ${He} comes in no time at all. When ${he} does you happen to be halfway inside ${him}; ${his} sphincter mercilessly squeezes your head while ${his} muscular buttocks clench your shaft between them. You explode into ${him}.`); } } if (eventSlave.dick > 0) { t.push(`As ${he} stands, ${his} now-softening penis drips cum.`); } } t.push(`<span class="devotion inc">${His} love for you has increased.</span>`); eventSlave.devotion += 4; return t; } function powerfuck() { let t = []; t.push(`It's time to see if ${he}'s got anything left in those sore ${V.seeRace === 1 ? eventSlave.race : ""} muscles. You push the towel off ${his} shoulder, take a lick of the delicious salty sweat along ${his} collarbone, and get to work. For the next hour, you put ${him} through a series of sexual positions that require ${him} to balance and support ${himself} in difficult positions. ${He} hangs from the ceiling, goes up on one tiptoe, and fucks in a handstand. ${He}'s as muscular inside as ${he} is outside.`); if (V.PC.dick === 0) { t.push(`You climax repeatedly, mixing your pussy juice with ${his} sweat all across ${his} body.`); } else { if (canDoVaginal(eventSlave)) { t.push(VCheck.Vaginal(eventSlave, 1)); t.push(`You come repeatedly, and before long cum is dripping out of ${his} pussy as you continue.`); } else if (canDoAnal(eventSlave)) { t.push(VCheck.Anal(eventSlave, 1)); t.push(`You come repeatedly, and before long cum is dripping out of ${his} ass as you continue.`); } else { t.push(`You come repeatedly, leaving ropes of your cum all across ${his} sweaty body.`); } } if (eventSlave.dick > 0) { t.push(`From position to position, ${his} erection adds its own fluids to the mess on the floor.`); } t.push(`By the end, ${he}'s shaking from muscle fatigue and panting ${his} gratitude. <span class="trust inc">${His} confidence in ${his} place has increased.</span>`); eventSlave.trust += 4; return t; } function penetration() { let t = []; t.push(`It's time to see if ${he}'s got anything left in those sore ${V.seeRace === 1 ? eventSlave.race : ""} muscles. You order ${him} to take you in a standing fuck${V.PC.belly >= 10000 ? ", a tall order given how pregnant you are" : ""}. Despite how exhausted ${he} is, ${he} manages to lift you and hilt ${himself} in your`); if (V.PC.vagina !== -1) { t.push("pussy."); } else { t.push("ass."); } t.push(`You feel ${his} quivering trying to hold you up, so you permit ${him} to take you against the wall; a welcome respite for the`); if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { if (eventSlave.belly >= 100000) { t.push("massively"); } else if (eventSlave.belly >= 10000) { t.push("hugely"); } t.push("pregnant"); } else if (eventSlave.bellyFluid >= 5000) { t.push(`${eventSlave.inflationType} filled`); } else { t.push(`${bellyAdjective(eventSlave)} bellied`); } } t.push("sweaty"); if (eventSlave.physicalAge > 30) { t.push(`MILF.`); } else if (eventSlave.physicalAge > 17) { t.push(`slave${girl}.`); } else if (eventSlave.physicalAge > 12) { t.push(`teenager.`); } else { t.push(`kid.`); } t.push(`${He} dominantly fucks you, ${his} muscles flexing powerfully with every thrust. You're no slouch when it comes to muscles yourself, so when you feel ${him} tense with orgasm you wrap your legs around ${him} and hilt ${him} deep inside you. This only encourages ${him} to fuck you harder, quickly bring you to climax as well. ${He} gently carries you to your couch, where ${he} slides in behind you for a little post-coitus spooning. You definitely appreciate ${his} gains after such a good fuck. <span class="trust inc">${His} confidence in ${his} place has increased,</span> as has ${his} <span class="devotion inc">love for you.</span>`); eventSlave.trust += 4; eventSlave.devotion += 4; if (V.PC.vagina === -1) { seX(eventSlave, "penetrative", V.PC, "anal"); } else { seX(eventSlave, "penetrative", V.PC, "vaginal"); } if (canImpreg(V.PC, eventSlave)) { knockMeUp(V.PC, 50, 0, eventSlave.ID); } return t; } function compliment() { return `${He} finishes posing with an impressive display of ${his} obliques. ${He} walks powerfully to the shower, ${his} ripped buttocks delineating each step. The shower is glass-walled. As ${he} washes, several of your other slaves are waking up and starting their days. They can't help but stare as ${eventSlave.slaveName} soaps ${himself}. ${eventSlave.slaveName} enjoys the attention.`; } } };
MonsterMate/fc
src/events/RESS/muscles.js
JavaScript
mit
10,176
App.Events.RESSObedientAddict = class RESSObedientAddict extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.suppository === 0 ]; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", hasAnyArms, hasAnyLegs, s => s.aphrodisiacs > 0 || s.inflationType === "aphrodisiac", s => s.addict > 20, s => s.devotion > 20 || s.trust < -20 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, girl } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`takes ${his} aphrodisiacs in pill form, with ${his} food. They're dispensed alongside ${his} nutrition in the kitchen. You happen to be passing by when ${he}'s being issued ${his} drugs, and you see ${him} ${canSee(eventSlave) ? "staring" : "gazing"} thoughtfully at the insignificant-looking little pill, just holding it in ${his} hand and considering it for a long time. When ${he} realizes you're watching, ${he} turns to you and you realize ${his} eyes are moist.`); if (canTalk(eventSlave)) { t.push(`${He} ${SlaveStatsChecker.checkForLisp(eventSlave) ? "lisps through huge, quivering lips" : "mutters"}, "${Master}, ${Spoken(eventSlave, "I hate this shit. I come and come and come but it's just physical. I haven't felt close to anyone ever since I've been on these fucking aphrodisiacs.")}" ${He} shrugs bitterly. ${Spoken(eventSlave, `"Still crave them though."`)}`); } else { t.push(`${He} uses trembling gestures to pour out dissatisfaction with life as an aphrodisiac addict. ${He} is emotionally unsatisfied with the mechanical orgasms ${he} gets on the drugs, but craves them intensely.`); } App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Make an example by forcing ${him} to take a massive dose`, forceful), canDoVaginal(eventSlave) || canDoAnal(eventSlave) ? new App.Events.Result(`Have caring sex with ${him} before ${he} takes the aphrodisiacs`, caring, virginityCheck()) : new App.Events.Result() ]); function forceful() { t = []; if (hasAnyEyes(eventSlave)) { t.push(`You take ${him} by the shoulders, look into ${his} ${hasBothEyes(eventSlave) ? "eyes" : "eye"},`); } else { t.push(`You take ${him} by the shoulders`); } t.push(`and tell ${him} you'll fix things so ${he} doesn't mind so much. ${He} looks hopeful, even when you tell ${him} to take ${his} pill. ${He} does, and you hand ${him} another. And another. ${He}'s crying with dread by the fourth pill, knowing that this is ${his} punishment for complaining. ${His} pupils dilate, ${he} begins to breathe hard, and ${his} ${eventSlave.skin} skin flushes badly. ${He} tries to beg you to fuck ${him} but can't seem to find the words. ${He} begins to masturbate compulsively, so hard that ${he} collapses to the kitchen floor with ${his} first spastic orgasm.`); if (eventSlave.chastityPenis === 1) { t.push(`${His} cock is painfully compressed by ${his} chastity cage, but it does nothing to stop ${his} frantic efforts to come.`); } else if (canAchieveErection(eventSlave)) { if (eventSlave.dick > 9) { t.push(`${His} inhuman cock is as engorged as physically possible given its size, threatens to knock ${him} unconscious from the sheer amount of blood diverted into it, and doesn't shrink at all when cum weakly splurts from its tip.`); } else if (eventSlave.dick > 6) { t.push(`${His} monstrous cock is agonizingly erect, threatens to knock ${him} unconscious from the sheer amount of blood is takes ${him} to get hard, and doesn't soften at all when ${he} spatters ${his} own chest with cum.`); } else if (eventSlave.dick > 4) { t.push(`${His} huge cock is agonizingly erect and doesn't soften at all when ${he} spatters ${his} own chest with cum.`); } else if (eventSlave.dick > 3) { t.push(`${His} big cock is agonizingly erect and doesn't soften at all when ${he} spatters ${his} own chest with cum.`); } else if (eventSlave.dick > 1) { t.push(`${His} cock is agonizingly erect and doesn't soften at all when ${he} spatters ${his} own chest with cum.`); } else if (eventSlave.dick > 0) { t.push(`${His} pathetic dick is agonizingly erect and doesn't soften at all when ${he} weakly dribbles cum.`); } } else if (canDoVaginal(eventSlave)) { t.push(`${His} pussy is dripping with moisture and ${his} ragingly stiff clit doesn't soften at all when ${he} comes.`); } else if (canDoAnal(eventSlave)) { t.push(`${His} hungry asshole spasms with orgasm, but ${he} doesn't even pause ${his} anal masturbation.`); } else { t.push(`${His} whole body spasms with orgasm, but ${he} doesn't even pause ${his} efforts to draw out an orgasm by any means possible.`); } t.push(`For the hour or so it takes ${him} to pass out, slaves using the kitchen have to step over ${his} prostrate, orgasming body, lying in a pool of ${his} own drool, tears, sweat, and fluids. The next time you see ${him} in the kitchen, ${he} takes ${his} medicine like a <span class="gold">good ${girl}.</span> All your aphrodisiac addicts recognize the symptoms and the punishment, and <span class="gold">avoid even thinking</span> about resisting the system.`); V.slaves.forEach(function(s) { if (s.aphrodisiacs > 0 || s.inflationType === "aphrodisiac") { s.trust -= 5; } }); return t; } function caring() { t = []; t.push(`You back ${him} up against the wall of the kitchen, kissing ${him}, touching ${his} body with care, and quietly shushing ${his} attempts to ask questions. You deftly extract the pill form ${his} hand and put it on the counter for later. With time and skill you bring ${him} to a fine state of arousal, not to mention <span class="hotpink">emotional need;</span> ${he} begins to kiss you back with almost frantic enthusiasm. When ${he}'s clearly ready, you lay ${him} across the kitchen table and ${PC.dick === 0 ? `work your groin up between ${his} legs` : `enter ${him}`}, drawing out a lusty moan. As the sex continues, however, ${he} begins to look doubtful, then distracted, and then to twitch occasionally. Finally ${he} bursts into tears.`); if (canTalk(eventSlave)) { t.push(`"I — I — fucking need my fix to come, ${Master}," ${he} sobs.`); } else { t.push(`${He} indicates through ${his} weeping that ${he} can't climax without the drugs.`); } t.push(`You pass ${him} the pill, and ${he} continues to weep inconsolably, apologizing all the while, until the drug takes away ${his} ability to care about anything but getting fucked. When you finish and extract ${PC.dick === 0 ? `yourself from between ${his} legs` : `your cock from ${his} well-used hole`}, though, you think you can detect a deep sadness in ${his} eyes that it cannot reach.`); if (canDoVaginal(eventSlave)) { t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(VCheck.Anal(eventSlave, 1)); } eventSlave.devotion += 4; return t; } function virginityCheck() { if (canDoVaginal(eventSlave) && eventSlave.vagina === 0) { return `This option will take ${his} virginity`; } else if (!canDoVaginal(eventSlave) && eventSlave.anus === 0) { return `This option will take ${his} anal virginity`; } } } };
MonsterMate/fc
src/events/RESS/obedientAddict.js
JavaScript
mit
7,640
App.Events.RESSObedientBitchy = class RESSObedientBitchy extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canTalk, canSee, s => s.behavioralFlaw === "bitchy", s => s.devotion > 20, s => s.trust >= -20 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him } = getPronouns(eventSlave); const belly = bellyAdjective(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is a decent slave, pretty well broken to your will and generally obedient. However, ${he} retains a cutting tongue. Though ${he}'s learned to ${his} considerable cost not to direct ${his} cheek at you, ${he} still insults your other slaves, and worse, will be sarcastic to members of the public ${he} encounters. You've worked on it, but it remains unsolved. Today, however, ${he} crossed the line. You were doing business in your office with a respected female slave drug wholesaler. The woman is in her late forties, and though she's something of a plastic surgery addict she has permitted her hair to go a becoming steel grey. Passing your office, ${eventSlave.slaveName} audibly commented on how old she looked to`); if (canStand(eventSlave)) { t.push(`another slave.`); } else { t.push(`${his} aide.`); } t.push(`Anger flashes in the businesswoman's eyes.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result("Beg her pardon and offer to loan the bitch to her", loan), new App.Events.Result("Offer to spitroast the bitch between the two of you", spitroast, analVirginWarning()), V.arcade > 0 ? new App.Events.Result(`Sentence ${him} to a month in the arcade`, arcade) : new App.Events.Result() ]); function loan() { t = []; t.push(`The businesswoman's anger turns to malicious anticipation as you call ${eventSlave.slaveName} over and inform ${him} that you and the businesswoman have decided ${eventSlave.slaveName} will be spending the night with her. Now that you look at your business partner, she has certain signs of a sadist. ${eventSlave.slaveName} notices too, and begins to cry ${eventSlave.bellyPreg >= 1500 ? `and shield ${his} pregnancy` : ""} as the businesswoman promises that there will be "no permanent damage." ${eventSlave.slaveName} is unceremoniously returned in the early hours of the morning. ${His} back and buttocks have been meticulously flogged right up to the very edge of damage, leaving angry marks across ${his} ${eventSlave.skin} skin. ${His} mouth lolls open, as though ${he}'s been doing little but give cunnilingus.`); if (eventSlave.vagina !== -1) { t.push(`${His} pussy,`); } else if (eventSlave.dick === 0) { t.push(`${His} shamefully featureless groin with its tiny little hole,`); } else { t.push(`${His} dick,`); } t.push(`anus, ${eventSlave.belly >= 10000 ? "popped navel," : ""} and even ${his} nipples show signs of torture. Whenever ${he} thinks of a sharp remark in the future, <span class="hotpink">${he}'ll remember the pain and keep ${his} mouth shut.</span>`); eventSlave.behavioralFlaw = "none"; seX(eventSlave, "oral", "public", "penetrative", 5); return t; } function spitroast() { t = []; t.push(`The businesswoman grins slowly and reaches into ${his} purse as you inform ${eventSlave.slaveName} that you and the businesswoman will punish ${him} together. ${eventSlave.slaveName}'s eyes widen as the businesswoman fishes a massive strap-on out of ${his} bag. The surprise turns to fear as the businesswoman begins to slap it against ${eventSlave.slaveName}'s buttocks as you`); if (!isAmputee(eventSlave)) { if (eventSlave.belly >= 300000) { t.push(`push ${him} onto ${his} ${belly} belly.`); } else { t.push(`pull ${him} down on ${hasAllLimbs(eventSlave) ? "all fours." : "the ground."}`); } } else { t.push("arrange your bitchy little sex toy between you and your guest."); } t.push(`The businesswoman clearly wants ${his} ass, so you ${!canDoAnal(eventSlave) ? `quickly unfasten ${his} anal chastity. You` : ""} ${PC.vagina !== -1 ? `ride ${eventSlave.slaveName}'s face` : `facefuck ${eventSlave.slaveName}`} roughly as ${eventSlave.slaveName} takes a painful anal raping from the huge dildo. The businesswoman winks at you companionably and extracts squeals from ${eventSlave.slaveName} that feel especially delicious ${PC.vagina !== -1 ? "against your cunt" : "along your dick"}.`); if (canMove(eventSlave)) { t.push(`${eventSlave.slaveName} collapses ${eventSlave.belly >= 5000 ? `and rolls onto ${his} side` : ""} after a long punishment fuck;`); } else { t.push(`${eventSlave.slaveName} ends the day a sore toy;`); } t.push(`${his} <span class="hotpink">submission</span> to you and <span class="gold">fear of you</span> have both increased.`); if (eventSlave.anus === 0) { t.push(`The businesswoman considered ${his} <span class="lime">anal cherry</span> a <span class="green">respectable offer.</span>`); eventSlave.anus++; repX(500, "event", eventSlave); } eventSlave.devotion += 3; eventSlave.trust -= 3; seX(eventSlave, "anal", "public", "penetrative"); seX(eventSlave, "oral", PC, "penetrative"); return t; } function arcade() { t = []; t.push(`${eventSlave.slaveName} screams and begs when ${he} realizes what ${his} punishment for being stupid is to be, but you are obdurate.`); if (eventSlave.muscles > 30) { t.push(`${His} powerful form has to be sedated for immurement in the arcade.`); } else if (eventSlave.weight >= 190) { t.push(`${He} is so massively fat that immuring ${him} in the arcade is a struggle, even when ${he} isn't trying to.`); } else if (eventSlave.belly >= 120000) { t.push(`${He} is so enormously gravid that immuring ${him} in the arcade is a hassle, even though ${his} ${belly} middle limits ${his} ability to struggle.`); } else if (eventSlave.weight >= -10) { t.push(`${His} desperate struggles make immuring ${him} in the arcade difficult.`); } else if (eventSlave.belly >= 1500) { t.push(`${His} ${eventSlave.bellyPreg >= 3000 ? "pregnant" : `${belly}`} body makes it slightly difficult to fit ${him} properly into the restraints for immurement in the arcade.`); } else if (eventSlave.muscles < -15) { t.push(`${His} weak body makes immuring ${him} in the arcade pathetically easy.`); } else { t.push(`${His} thin form makes immuring ${him} in the arcade pathetically easy.`); } t.push(`After ${he}'s properly confined, the only sign of ${his} discomfiture is a slight movement of ${his} ${eventSlave.skin} butt as ${he} wriggles desperately against ${his} restraints.`); assignJob(eventSlave, "be confined in the arcade"); eventSlave.sentence = 4; return t; } function analVirginWarning() { if (eventSlave.anus === 0) { return "This option will take anal virginity and ignore anal chastity"; } } } };
MonsterMate/fc
src/events/RESS/obedientBitchy.js
JavaScript
mit
7,343
App.Events.RESSObedientGirlish = class RESSObedientGirlish extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => s.assignment !== "work as a servant", s => canDoAnal(s) || canDoVaginal(s), s => s.butt < 3, s => s.boobs < 500, s => s.weight <= 10, s => s.muscles <= 30, s => s.trust >= -20, s => s.devotion > 20, s => s.devotion <= 50 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); const belly = bellyAdjective(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); if (eventSlave.bellyPreg >= 1500) { t.push(`is nice and slim as ${he} can be given ${his} pregnancy,`); } else if (eventSlave.bellyImplant >= 1500) { t.push(`is nice and slim as ${he} can be given the implant rounding out ${his} middle,`); } else if (eventSlave.bellyFluid >= 1500) { t.push(`is nice and slim as ${he} can be given the amount of ${eventSlave.inflationType} distending ${his} middle,`); } else { t.push("is nice and slim,"); } t.push(`with a trim chest, narrow hips and not much of an ass to speak of. Despite the myriad ways a Free Cities slaveowner can give his property tits and asses, you've held off for now, keeping ${him} lithe.`); if (canMove(eventSlave)) { if (hasAnyArms(eventSlave)) { t.push(`${He} comes before you for a routine nude inspection, obediently ${canStand(eventSlave) ? "standing" : "kneeling"} before your desk with ${his} ${hasBothArms(eventSlave) ? "hands crossed" : "hand placed"}`); if (eventSlave.belly >= 30000) { t.push(`atop ${his} ${belly} stomach.`); } else if (eventSlave.belly >= 1500) { t.push(`over ${his} rounded stomach.`); } else { t.push(`over ${his} flat stomach.`); } } else { t.push(`${He} comes before you for a routine nude inspection, obediently ${canStand(eventSlave) ? "standing" : "kneeling"} before your desk.`); } } else if (!hasAnyLegs(eventSlave)) { t.push(`Another slave strips ${him} and leaves ${his} naked torso on your desk for a routine inspection.`); } else { t.push(`Another slave helps ${him} in, aids in undressing ${him}, and leaves ${him} for your routine inspection.`); } t.push(`A perfectly devoted slave might display ${himself}, and a rebellious one might try to cover ${himself}: ${he}'s neither. `); if (eventSlave.dick > 0) { t.push(`Though ${he}'s not sexually aroused, ${his} cock is visible and contributes greatly to ${his} androgyny.`); } else if (eventSlave.vagina === -1) { t.push(`The smooth featureless skin between ${his} legs makes ${him} look like a doll, not a girl.`); } else { t.push(`${His} bare pussy completes the picture of simultaneous innocence and availability.`); } App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Let ${him} get dressed and spend some quality time with ${him}`, dress, virginityWarning(1)), canDoAnal(eventSlave) ? new App.Events.Result(`Dominate ${his} narrow ass`, dominate, virginityWarning(0)) : new App.Events.Result() ]); function dress() { t = []; t.push(`You let ${eventSlave.slaveName} don a nice dress and take ${him} out ${!canWalk(eventSlave) ? "in a wheelchair" : ""}. ${He}'s a little suspicious at first but when you reach the first balcony on your lazy route around the huge building the sun on ${his} face and the gentle breeze around ${his} ears convince ${him} there's no trick. ${He} watches you shyly as you lead ${him} around, soaking in the sights and relaxing. Though you still speak as ${his} ${getWrittenTitle(eventSlave)}, you chat about goings on around the arcology, and you buy ${him} a fresh fruit from a vendor. The unexpected show of care and compassion has ${him} quite agog. By the time you take ${him} out onto another park-like balcony and fuck ${him} on a bench,`); if (eventSlave.dick > 0 && eventSlave.chastityPenis === 1 && eventSlave.chastityAnus === 1) { t.push(`${his} combined chastity cage and anal chastity belt makes ${him} move awkwardly.`); } else if (eventSlave.dick > 0 && eventSlave.chastityPenis === 1) { t.push(`${his} chastity cage is dribbling precum, a sign ${he} wouldn't mind having to take it up the ass.`); } else if (eventSlave.dick > 0 && eventSlave.chastityAnus === 1) { t.push(`${his} dick is tenting the front of ${his} dress, through ${his} anal chastity belt.`); } else if (eventSlave.dick > 0 && canAchieveErection(eventSlave)) { t.push(`${his} dick is tenting the front of ${his} dress and ${he}'s happy to take it up the ass.`); } else if (eventSlave.dick > 6) { t.push(`${he}'s happy to take it up the ass; there's even a steady stream of pre dripping from ${his} monstrous cock.`); } else if (eventSlave.dick > 0) { t.push(`${he}'s happy to take it up the ass, though there's no sign of an erection from ${his} useless sissy dick.`); } else if (!canDoVaginal(eventSlave)) { t.push(`${he}'s obviously ready and willing to get buttfucked, even if ${his} body has no physically obvious way to show it off.`); } else { t.push(`${he}'s wet and ready and moans happily as you enter ${him}.`); } if (canDoVaginal(eventSlave)) { t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(VCheck.Anal(eventSlave, 1)); } t.push(`There's no hesitation or fear at all on ${his} face when ${he} ${canSee(eventSlave) ? "sees" : "notices"} you're returning ${him} to your penthouse; <span class="mediumaquamarine">${his} trust in you has increased.</span>`); eventSlave.trust += 4; return t; } function dominate() { t = []; t.push(`You make a show of examining ${him} with a critical air that makes ${him} aware of ${his} modest endowments. Finished, you announce in a serious tone that you're concerned that you can't tell if ${he}'s a girl, since girls have breasts and butts. ${eventSlave.belly >= 1500 ? `${He} should do something about that bulbous gut too, you mock.` : ""}`); if (!canTalk(eventSlave)) { t.push(`${He} protests wordlessly, gesturing desperately at ${himself}.`); } else { if (eventSlave.lips > 70) { t.push(`${He} protests through ${his} huge lips,`); } else if (eventSlave.lipsPiercing + eventSlave.tonguePiercing > 2) { t.push(`${He} protests through ${his} piercings,`); } else { t.push(`${He} protests,`); } t.push(Spoken(eventSlave, `"${Master}, I'm a slave girl! Please, just look at me, ${Master}!"`)); } t.push(`${canSee(eventSlave) ? "Shaking your head" : "Tutting"} with pretended doubt, you say that since you're not sure you'll have to make do. Your order ${him} to`); if (eventSlave.belly >= 300000) { t.push(`lean over ${his} ${belly} belly${PC.dick === 0 ? " while you don a strap-on" : ""}.`); } else if (eventSlave.belly >= 5000) { t.push(`lean face-down into the couch cushions${PC.dick === 0 ? " while you don a strap-on" : ""}.`); } else { t.push(`lie face-down on the couch${PC.dick === 0 ? " while you don a strap-on" : ""}.`); } t.push(`${He} does doubtfully, only realizing what you intend when ${he} feels ${PC.dick === 0 ? "the strap-on" : "your dickhead"} forcing its way between ${his} narrow buttcheeks. ${He} whimpers and moans ${eventSlave.belly < 300000 ? "into the couch" : ""} as you roughly sodomize ${him}. It's true, ${he}'s pretty androgynous from this angle, especially while ${he} takes it up the butthole. <span class="hotpink">${He} has become more submissive to you,</span> but there's <span class="gold">some fear there, too.</span>`); t.push(VCheck.Anal(eventSlave, 1)); eventSlave.trust -= 2; eventSlave.devotion += 4; return t; } function virginityWarning(type) { if (type === 1 && canDoVaginal(eventSlave)) { if (eventSlave.vagina === 0) { return `This option will take ${his} vaginal virginity`; } } else if (eventSlave.anus === 0 && canDoVaginal(eventSlave)) { return `This option will take ${his} anal virginity`; } } } };
MonsterMate/fc
src/events/RESS/obedientGirlish.js
JavaScript
mit
8,510
App.Events.RESSObedientIdiot = class RESSObedientIdiot extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.cockFeeder === 0 ]; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canMove, hasAnyArms, s => s.intelligence + s.intelligenceImplant < -50, s => s.devotion <= 50, s => s.devotion > -20 || s.trust < -20 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself, girl } = getPronouns(eventSlave); const {HeA, heA} = getPronouns(assistant.pronouns().main).appendSuffix('A'); const {say, title: Master} = getEnunciation(eventSlave); const belly = bellyAdjective(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`${capFirstChar(V.assistant.name)} breaks in on your work at your desk.`); t.push(App.UI.DOM.combineNodes(`"${assistant.personality === 0 ? properTitle() : "Sweetheart"}," ${heA} says, "`, App.UI.DOM.slaveDescriptionDialog(eventSlave))); t.push("is having trouble figuring out the meal dispenser again."); if (V.assistant.personality === 0) { t.push(`The report is deadpan, but ${heA} brings up a visual feed.`); } else { t.push(`${HeA} brings up a visual feed. "Poor baby!" ${heA} exclaims.`); } App.Events.addParagraph(node, t); t = []; t.push(`Slaves are supposed to place a cup under a spigot, which detects the cup's presence and dispenses the appropriate nutrition for the ${girl}. Unfortunately this concept seems a little tough for ${eventSlave.slaveName}. With no one around to ask for help, ${he} has resorted to trying to suck food out of the spigot with ${his} mouth. With no cup to be detected, ${he}'s not getting very far, and is getting bitterly frustrated.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Give ${him} something more appropriate to suck on`, suck), new App.Events.Result(`Reassure ${him} and get ${him} to slow down`, reassure), new App.Events.Result(`Spank the stupid out of ${him}`, spank), V.arcade > 0 ? new App.Events.Result(`Sentence ${him} to a month in the arcade`, arcade) : new App.Events.Result() ]); function suck() { t = []; t.push(`${capFirstChar(V.assistant.name)}, as usual, has to give the stupid slut considerable coaching to get ${him} to your office without getting lost. This is a near-miraculous imbecility, as the penthouse is expressly designed to make it nearly impossible to get anywhere from anywhere else without passing by the office door. ${He} understands orders to`); if (PC.dick === 0) { t.push(`perform cunnilingus, though, and gets down to it eagerly enough. When ${he} finishes the job, ${he} wipes ${his} mouth and then looks up at you doubtfully.`); } else { t.push(`suck a dick, though, and gets down to it eagerly enough. When ${he} finishes the job, ${he} busily swallows every drop of your ejaculate and then looks up at you doubtfully.`); } if (!canTalk(eventSlave)) { t.push(`${He} slowly spells out a question with ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"}, asking if ${he}'s a good slave.`); } else { t.push(`${He} mumbles a hesitant question:`); t.push(Spoken(eventSlave, `"${eventSlave.rudeTitle === 1 ? PoliteRudeTitle(eventSlave) : Master}, am I a good slave?"`)); } t.push(`You tell ${him} that ${he} is, running a hand ${eventSlave.hStyle === "shaved bald" ? `across ${his} bald scalp` : `through ${his} hair`}. ${He} seems <span class="hotpink">reassured,</span> and thankful when you give ${him} a cup of ${his} proper rations from your own hand.`); eventSlave.devotion += 4; seX(eventSlave, "oral", PC, "penetrative"); return t; } function reassure() { t = []; t.push(`${He}'s so intent on trying to suck off the food dispenser that ${he} doesn't ${canHear(eventSlave) ? "hear" : "notice"} you enter the room. ${He} starts with surprise when you encircle ${his}`); if (eventSlave.belly >= 1500) { t.push(`${belly} ${eventSlave.bellyPreg >= 1500 ? "pregnant" : ""} belly`); } else { t.push("waist"); } t.push(`with your arms and ${canHear(eventSlave) ? `murmur reassuringly in ${his} ear` : `give ${him} a reassuring squeeze`}.`); if (canTalk(eventSlave)) { t.push(`${He} ${say}s sadly,`); t.push(Spoken(eventSlave, `"Sorry ${eventSlave.rudeTitle === 1 ? PoliteRudeTitle(eventSlave) : Master}. I'm trying to be a good slave but it's hard."`)); } else { t.push(`${He} sadly gestures at the spigot and then flicks ${his} own head.`); } t.push(`You kindly tell ${him} that you know ${he}'s trying, and that that's what really matters.`); if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"Really, ${eventSlave.rudeTitle === 1 ? PoliteRudeTitle(eventSlave) : Master}?"`)); t.push(`${he} asks hopefully.`); } else { if (hasBothArms(eventSlave)) { t.push(`${His} hands awkwardly ask, "Really?"`); } else { t.push(`${His} hand awkwardly asks, "Really?"`); } } t.push(`You whisper into ${his} ear that yes, ${he} will be all right as long as ${he} does ${his} best. ${He} wiggles ${his} butt against you a little and giggles`); if (PC.dick !== 0) { t.push(`at the responding stiffness ${he} feels between ${his} buttocks. ${He} shimmies down and takes you into ${his} mouth${PC.vagina !== 1 ? ` and does ${his} best to reach the top of your pussy with the tip of ${his} tongue` : ""},`); } else { t.push(`as you shove ${him} to ${his} knees. ${He} shimmies down and eats you out,`); } t.push(`${canSee(eventSlave) ? "looking you in the eyes the whole time and" : ""} <span class="hotpink">smiling</span> as much as ${he} can manage with ${PC.dick !== 0 ? `a dick in ${his} mouth` : `${his} tongue working your clit`}.`); eventSlave.devotion += 4; seX(eventSlave, "oral", PC, "penetrative"); return t; } function spank() { t = []; t.push(`${He}'s so intent on trying to suck off the food dispenser that ${he} doesn't ${canHear(eventSlave) ? "hear" : "notice"} you enter the room. ${He} starts with surprise when you seize ${him} and push ${him}`); if (eventSlave.belly >= 300000) { t.push(`over ${his} ${belly} belly, face-down into the counter.`); } else { t.push(`face-down across the counter.`); } t.push(`After making ${him} confirm that ${canHear(eventSlave) ? `${he} can hear you` : `${he}'s paying attention`}, you patiently repeat the very simple instructions for getting meals from the kitchen. Then, you tell ${him} to repeat them. ${He} manages the first step fine and has completely forgotten the second. The moment ${he} hesitates, ${he} has an instant to ${canHear(eventSlave) ? "hear" : "feel"} the rush of air trying to get out of the way of your speeding palm before it contacts the ${eventSlave.skin} skin of ${his} buttocks. ${He} writhes and cries and promises to try harder, but ${his} poor rear end is almost raw before ${he} gets it all right. ${He} leaves the kitchen snuffling sadly to ${himself}, but in the coming days ${he} really does seem to <span class="gold">do ${his} best</span> to avoid another beating.`); eventSlave.trust -= 5; return t; } function arcade() { t = []; t.push(`${eventSlave.slaveName} screams and begs when ${he} realizes what ${his} punishment for being stupid is to be, but you are obdurate.`); if (eventSlave.muscles > 30) { t.push(`${His} powerful form has to be sedated for immurement in the arcade.`); } else if (eventSlave.weight >= 190) { t.push(`${He} is so massively fat that immuring ${him} in the arcade is a struggle, even when ${he} isn't trying to.`); } else if (eventSlave.belly >= 120000) { t.push(`${He} is so enormously gravid that immuring ${him} in the arcade is a hassle, even though ${his} ${belly} middle limits ${his} ability to struggle.`); } else if (eventSlave.weight >= -10) { t.push(`${His} desperate struggles make immuring ${him} in the arcade difficult.`); } else if (eventSlave.belly >= 1500) { t.push(`${His} ${eventSlave.bellyPreg >= 3000 ? "pregnant" : `${belly}`} body makes it slightly difficult to fit ${him} properly into the restraints for immurement in the arcade.`); } else if (eventSlave.muscles < -15) { t.push(`${His} weak body makes immuring ${him} in the arcade pathetically easy.`); } else { t.push(`${His} thin form makes immuring ${him} in the arcade pathetically easy.`); } t.push(`After ${he}'s properly confined, the only sign of ${his} discomfiture is a slight movement of ${his} ${eventSlave.skin} butt as ${he} wriggles desperately against ${his} restraints.`); assignJob(eventSlave, "be confined in the arcade"); eventSlave.sentence = 4; return t; } } };
MonsterMate/fc
src/events/RESS/obedientIdiot.js
JavaScript
mit
9,049
App.Events.RESSObedientShemale = class RESSObedientShemale extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => s.rules.release.masturbation !== 0, hasAnyArms, hasAnyLegs, canTalk, canDoAnal, s => s.devotion <= 50, s => s.devotion > 20 || s.trust < -20, s => s.vagina < 0, s => s.dick > 0, s => s.anus > 0, s => s.skill.anal <= 30 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself, girl } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); const anusDesc = eventSlave.anus > 2 ? "gaping" : (eventSlave.anus > 1 ? "loose" : "tight"); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`has been doing ${his} best to be a good slave ${girl} recently. Since ${he} doesn't have a pussy, that means ${he}'s been doing ${his} best to take it up the ass like a good slave. ${He} isn't all that used to it yet, but ${he} tries. ${He}'s trying right now, bent over the arm of the couch in your office with your ${PC.dick === 0 ? "vibrating strap-on" : "cock"} pumping in and out of ${him}. ${He} looks like ${he} wants to ask something, so you tell ${him} to spit it out.`); if (canTalk(eventSlave)) { if (eventSlave.lips > 70) { t.push(`${He} begs meekly through ${his} massive dick-sucking lips,`); } else if (eventSlave.lipsPiercing + eventSlave.tonguePiercing > 2) { t.push(`${He} begs meekly through ${his} mouthful of piercings,`); } else { t.push(`${He} begs meekly,`); } t.push(`"${Spoken(eventSlave, `${Master}, may I please, please touch myself?`)}"`); } else { t.push(`${He} uses gestures to ask if ${he} can masturbate while you sodomize ${him}.`); } App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Let ${him}`, permit), new App.Events.Result(`Train ${him} to be a skilled anal bottom`, bottom), (eventSlave.fetish !== "buttslut" || eventSlave.fetishKnown !== 1) && eventSlave.prostate > 0 ? new App.Events.Result(`Train ${him} to orgasm anally`, orgasm) : new App.Events.Result() ]); function permit() { t = []; t.push(`${He} moans with gratitude and relief. ${He} masturbates furiously as you continue to use ${his} butt. ${He} was clearly near the edge anyway, and`); if (eventSlave.balls > 0) { t.push("spatters the couch with cum"); } else if (eventSlave.prostate > 0) { t.push("spatters the couch with ejaculate"); } else { t.push("shakes with release"); } t.push(`after just a few strokes of your ${PC.dick === 0 ? "strap-on" : "cock"} up ${his} butt. ${His} ${anusDesc} ass spasms and tightens with ${his} climax${PC.dick !== 0 ? ", a wonderful sensation" : ""}. You aren't finished with ${him}, but ${he} rubs ${himself} languidly and enjoys the hard anal reaming more than ${he} ever has previously. ${His} devotion to you <span class="hotpink">has increased.</span>`); t.push(VCheck.Anal(eventSlave, 1)); eventSlave.devotion += 4; return t; } function bottom() { t = []; t.push(`${He} obeys your orders to keep ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} off ${his} dick, but can't hide ${his} disappointment and frustration. You keep a close watch on ${him}, and buttfuck ${him} every chance you get, teaching ${him} the finer points of taking a ${PC.dick === 0 ? "strap-on" : "dick"} up the butt. You focus entirely on your pleasure, teaching ${him} how to use ${his} ${anusDesc} anal ring to extract orgasms from cocks. This experience was hard for ${him} but has increased ${his} anal skill.`); t.push(VCheck.Anal(eventSlave, 9)); slaveSkillIncrease('anal', eventSlave, 10); return t; } function orgasm() { t = []; t.push(`${He} obeys your orders to keep ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} off ${his} dick, but can't hide ${his} disappointment and frustration. You keep a close watch on ${him}, and fuck ${his} ${anusDesc} anus every chance you get, keeping ${him} desperately aroused and desperately sodomized. After some days of this, ${he} finally reaches a point of desperate arousal that permits ${him} to orgasm to prostate stimulation alone.`); if (fetishChangeChance(eventSlave) > jsRandom(1, 100)) { t.push(`Before ${he} realizes what's happening, <span class="lightcoral">${he}'s getting aroused at the thought of anal sex.</span>`); eventSlave.fetishStrength = 10; eventSlave.fetish = "buttslut"; eventSlave.fetishKnown = 1; } else { t.push(`Despite being used as an anal slut for a whole week, ${he} was not significantly affected.`); } t.push(VCheck.Anal(eventSlave, 9)); return t; } } };
MonsterMate/fc
src/events/RESS/obedientShemale.js
JavaScript
mit
5,070
App.Events.RESSPassingDeclaration = class RESSPassingDeclaration extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", hasAnyArms, canWalk, canTalk, s => s.devotion > 50, s => s.trust > 50, s => s.health.condition > 90, s => s.muscles > 5, s => s.weight >= -30, s => s.weight <= 30, s => s.health.tired <= 30 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself, girl } = getPronouns(eventSlave); const {say, title: Master} = getEnunciation(eventSlave); const desc = SlaveTitle(eventSlave); const belly = bellyAdjective(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push("As you manage your empire from your office, a constant traffic of slaves passes by its door. The glass walls allow a good view of them, and since you naturally own what you find appealing, the passing chattel often draws your eye. For example, this morning you notice"); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`almost bounce into view. ${He}'s physically fit, at a healthy weight,`); if (eventSlave.belly >= 10000) { if (eventSlave.bellyPreg >= 3000) { t.push(`heavily pregnant,`); } else if (eventSlave.bellyImplant >= 3000) { t.push(`despite ${his} ${belly} fake belly,`); } else { t.push(`completely full of ${eventSlave.inflationType},`); } } if (eventSlave.physicalAge > 35) { t.push(`and is getting such excellent modern medical care that despite ${his} age, ${he} has the energy of a teenager.`); } else if (eventSlave.physicalAge > 19) { t.push(`is full of youth and vigor, and is in truly perfect health due to the miracles of modern medicine.`); } else if (eventSlave.physicalAge > 12) { t.push(`and is a teenager, not to mention the perfect health ${he} owes to the miracles of modern medicine.`); } else { t.push(`and is a little ${girl}, not to mention the perfect health ${he} owes to the miracles of modern medicine.`); } if (eventSlave.energy > 95) { t.push(`Apart from ${his} absurd sex drive,`); } else if (eventSlave.energy > 40) { t.push(`In addition to ${his} very healthy libido,`); } else { t.push(`Despite ${his} mediocre libido,`); } t.push(`${he}'s overflowing with energy. ${He} half-runs, half-skips down the hallway, slowing in the doorway as ${he} feels your gaze. Without stopping, ${he} turns to meet your eyes, winks trustingly, and bursts out, "${Spoken(eventSlave, `Hi ${Master}! Love you!`)}" Then ${he} continues on ${his} merry way.`); App.Events.addParagraph(node, t); t = []; t.push(`Someone's a happy ${desc} today.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Follow ${him}`, follow), new App.Events.Result(`Play with ${him}`, play), new App.Events.Result(`Punish ${him}`, punish) ]); function follow() { t = []; t.push(`${His} sheer 'joie de vivre' is irresistible, and it certainly draws you out of your office. You're not slow, and of course you know where ${he}'s going, so you catch up quickly. ${He} gives you the careful measuring glance of a devoted sex slave who's checking whether ${his} owner wants to fuck ${him} right now, and correctly decides that that isn't your intent, at least right this minute. Instead, you continue the direction ${he} was going, and ${he} follows. "${Master}," ${he} ${say}s hesitantly, "I hope that was an okay thing for me to do." You assure ${him} it was. "Thanks, ${Master}," ${he} beams, grinning like an idiot. Smiling at ${his} infectious enthusiasm for life, you ask ${him} why ${he}'s so happy this morning. ${He} looks momentarily ${eventSlave.intelligence + eventSlave.intelligenceImplant > 50 ? `perplexed, not a common look for a slave as smart as ${him}` : "perplexed"}.`); t.push(`"${Spoken(eventSlave, `I don't know! I just woke up this morning feeling really, really good. ${eventSlave.intelligence + eventSlave.intelligenceImplant > 50 ? `I'm sure the fact that I'm benefiting from incredibly advanced medicine has something to do with it; thank you very much for that, ${Master}. Other than that,` : ""} I just feel happy.`)}" This has to be some sort of milestone for ${him}, and for you, and maybe for slavery in general: if ${he} can be this pleased with life, something must be going right. You walk ${him} to where ${he}'s going`); switch (eventSlave.assignment) { case "whore": t.push(`(one of the arcology's nicer streets, where ${he}'ll spend the day selling ${his} body),`); break; case "serve the public": t.push(`(one of the arcology's nicer streets, where ${he}'ll spend the day flirting with citizens and having sex with anyone that's willing),`); break; case "work a glory hole": t.push(`(a wall mounting that will render ${him} a helpless target for dicks all day),`); break; case "get milked": t.push(`(${his} favorite milker in the penthouse),`); break; case "take classes": t.push(`(a quiet area with a touchscreen where ${he} can review material from the slave etiquette class ${he}'s working on),`); break; case "please you": t.push(`(the wardrobe, where ${he}'ll get dressed before attending to you for the rest of the day),`); break; case "be a subordinate slave": t.push(`(the living area of the slave ${he}'s been assigned to serve),`); break; case "work as a servant": case "be a servant": t.push(`(the closet that contains the cleaning items ${he}'ll use to dust and polish the penthouse today),`); break; case "work as a nanny": t.push(`(${V.nurseryName}, where ${he} is tending to the children),`); break; case "stay confined": t.push(`(${his} cell),`); break; case "guard you": t.push(`(the armory where ${his} weapons are kept),`); break; case "be your Head Girl": t.push(`(the assignment location of a slave who needs some hands-on guidance from your Head Girl),`); break; case "recruit girls": t.push(`(the camera station ${he} uses to convince people from the old world that becoming your slave is a good idea),`); break; case "serve in the master suite": t.push(`(your bedroom, where ${he}'ll ready ${himself} for later),`); break; case "be the DJ": t.push(`(the back of ${V.clubName} where ${he} decides the playlist for the day),`); break; case "be the Attendant": t.push(`(the back of ${V.spaName}, where ${he}'ll decide the perfect mixture for today's baths),`); break; case "be the Madam": t.push(`(${his} office in ${V.brothelName}, where ${he}'ll decide the slaves on display),`); break; case "be the Schoolteacher": t.push(`(${his} office in ${V.schoolroomName}, where ${he}'ll decide today's lesson),`); break; case "be the Stewardess": t.push(`(${his} office in ${V.servantsQuartersName}, where ${he}'ll divvy out today's tasks),`); break; case "be the Milkmaid": t.push(`(${V.dairyName}, to check on the cattle),`); break; case "be the Farmer": t.push(`(${V.farmyardName}, to tend to the crops),`); break; case "be the Wardeness": t.push(`(${V.cellblockName}, to oversee the inmates),`); break; case "be your Concubine": t.push(`(your bed),`); break; case "be the Nurse": t.push(`(${V.clinicName}, to check on the patients),`); break; case "be the Matron": t.push(`(${V.nurseryName}, where ${he} is managing children and nannies),`); break; case "live with your Head Girl": break; default: t.push(`(a waiting area for further assignment),`); } t.push(`and when you get there, ${he} gives you a peck on the cheek. ${eventSlave.height < 170 ? `The short ${desc} has to go up on tiptoe to reach.` : ""} "<span class="hotpink">${Spoken(eventSlave, "I really do love you")},</span> ${Master}," ${he} ${say}s, ${canSee(eventSlave) ? `${App.Desc.eyesColor(eventSlave)} shining` : "face filled with joy"}.`); eventSlave.devotion += 5; return t; } function play() { t = []; t.push(`You're not a slave, so you can't understand ${his} inner workings through direct empathy. But in your experience, a quick orgasm never fails to make a good day better. You're not slow, and of course you know where ${he}'s going, so you catch up to ${him} on quiet feet and`); if (eventSlave.butt > 12) { t.push(`sink both hands into ${his} immense rear.`); } else if (eventSlave.butt > 6) { t.push(`set ${his} enormous ass jiggling with a smack.`); } else if (eventSlave.butt > 3) { t.push(`give ${his} womanly bottom a squeeze.`); } else { t.push(`pinch ${his} cute rear.`); } t.push(`${He} squeals and whirls around, ${eventSlave.energy > 60 ? `eagerly flinging ${himself} into your arms, ready for some action` : `trustingly throwing ${himself} into your arms`}. Feeling spontaneous, you decide to get everyone off quickly and cleanly, right here.`); switch (eventSlave.fetish) { case "submissive": t.push(`You place a dominant hand around ${his} throat, firmly but not harshly, almost sending the submissive to ${his} knees. Your other hand`); break; case "cumslut": t.push(`You kiss ${him}, sliding your tongue all the way into ${his} mouth. ${He} melts into you, rhapsodically entranced by the intense oral stimulation, and ${his} tongue presses against yours with frankly sexual significance. Your hand`); break; case "humiliation": t.push(`Slaves are constantly passing the two of you, and you constantly turn ${him} to show ${his} body to each of them, spreading ${him} to display ${his} most intimate parts. ${His} cheeks flush with arousal and delicious shame. Your hand`); break; case "buttslut": t.push(`You slide a hand all the way under ${him}, pulling the flesh of ${his} buttock to one side and then nestling possessive fingers over ${his} anus, teasing and stimulating, but not penetrating. Your other hand`); break; case "boobs": t.push(`${He} gasps as your hot mouth finds one of ${his} ${eventSlave.nipples} nipples, and then moans openly as one of your hands mauls ${his} other breast. Your other hand`); break; case "pregnancy": t.push(`One of your hands begins to caress ${his} ${belly} ${eventSlave.pregKnown === 1 ? "pregnant" : ""} belly, worshipping its curve. Your other hand`); break; case "dom": case "sadist": t.push(`You press yourself aggressively against ${him}, and ${he} presses back; you grind harder still, letting ${him} know that ${he} can let ${himself} be a little aggressive, too. Groaning with pleasure and satisfaction, ${he} kisses you furiously. One of your hands`); break; case "masochist": t.push(`You caress one of ${his} nipples, ${eventSlave.nipples !== "fuckable" ? "bringing it completely erect before gripping it firmly. You twist it, pull it, pinch it" : "letting it swell completely shut before driving your entire fist into it"}; ${he} moans with masochistic pleasure. Your other hand`); break; default: t.push(`Your hand`); } if (canDoVaginal(eventSlave)) { t.push(`finds ${his} pussy`); } else if (canDoAnal(eventSlave)) { t.push(`reaches around behind ${him} to tease ${his} ass and play with ${his} sensitive perineum`); } else { t.push(`traces ${his} chastity`); } t.push(`and you press your groin towards ${him}. Getting the idea, ${he} begins to ${PC.dick !== 0 ? "jack you off" : "finger your clit"} energetically, taking the pace from your lusty demeanor and ${his} own feeling of energy and well-being. The two of you orgasm almost together. ${PC.dick !== 0 ? "You angle your hips to shoot your seed onto the floor" : "You climax so violently that some of your femcum makes it onto the floor"}.`); if (eventSlave.chastityPenis === 1) { t.push(`${His} ejaculate steadily drips from ${his} chastity cage,`); } else if (canAchieveErection(eventSlave)) { t.push(`${He} blows ${his} own load right after,`); } else if (eventSlave.balls > 0) { t.push(`${His} limp dick pours cum,`); } else if (eventSlave.dick > 0) { t.push(`${His} bitchclit produces a little watery fluid,`); } else if (eventSlave.vaginaLube > 1) { t.push(`${He} squirts copiously,`); } else { t.push(`Unusually for ${him}, ${he} manages to squirt a little,`); } t.push(`adding to the mess. You tell ${him} another slave will clean up, and order ${him} to go about ${his} business. ${He} turns to go, <span class="mediumaquamarine">smiling with sexual satisfaction.</span>`); eventSlave.trust += 5; return t; } function punish() { t = []; t.push(`That was not quite the prescribed way of greeting you, there was no need to greet you as ${he} passed, and most importantly, ${he}'s simply too cheery. Resolving to crush ${his} happiness, you call ${him} back to the office in a thunderous voice you know will reach ${him}. ${He} knows ${he}'s made a mistake, but comes promptly, lower lip quivering. ${His} feelings are plain to see on ${his} face: surprise, <span class="mediumorchid">betrayal,</span> <span class="gold">fear.</span> ${He} thought ${he} could be friendly, and now ${he} knows ${he} was wrong. What's more, ${he} thought ${he} could be happy, and now ${he}'s realizing that that was also wrong. As you`); switch (eventSlave.rules.punishment) { case "confinement": t.push(`close ${him} into a confinement cell,`); break; case "whipping": t.push(`tie ${him} up for a brief whipping,`); break; case "chastity": t.push(`lock ${him} into harsh chastity,`); break; default: t.push(`gag ${him} for speaking out of turn,`); } t.push(`a wail of despair tears its way out of ${his} throat, far out of proportion to the standard punishment you're applying. It's perhaps the saddest sound you've ever heard a slave make. Slaves cry all the time, but usually they already understand that happiness is out of their reach. This one just woke up thinking that ${he} could be happy and was happy, and now ${he}'s realizing it isn't allowed.`); eventSlave.devotion -= 10; eventSlave.trust -= 10; return t; } } };
MonsterMate/fc
src/events/RESS/passingDeclaration.js
JavaScript
mit
14,660
App.Events.RESSRetchingCum = class RESSRetchingCum extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ s => s.fetish !== "mindbroken", s => s.assignment !== "work as a servant", canStand, hasAnyArms, s => s.dietCum > 0, s => s.devotion <= 20, s => (s.fetish !== "cumslut" && s.fetish !== "masochist" && s.fetishStrength < 60) || s.fetishKnown === 0, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, girl } = getPronouns(eventSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`You are inspecting the slave feeding area early in the week, watching your slaves as they come and go to get their required nourishment for the morning.`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); if (V.cockFeeder === 1) { t.push(`You see as ${he} kneels in front of the feeder`); t.push(canSee(eventSlave) ? `phallus, staring at it with disgust plainly written on ${his} face.` : `phallus with a look of disgust on ${his} face.`); } else if (canSee(eventSlave)) { t.push(`You see ${him} staring into ${his} cup of nutritional fluid with a look of disgust on ${his} face.`); } else { t.push(`You see ${him} grimacing at ${his} cup of nutritional fluid.`); } t.push(`You quickly check your records and ${V.assistant.name} confirms that ${eventSlave.slaveName} is required to ingest`); t.push(eventSlave.dietCum === 2 ? `an extreme diet based almost entirely on human ejaculate.` : `a large amount of human ejaculate as part of ${his} diet.`); App.Events.addParagraph(node, t); t = []; t.push(`You watch ${eventSlave.slaveName} as ${he} retches unpleasantly,`); t.push(V.cockFeeder === 1 ? `stimulating the feeder phallus with ${his} mouth` : `tentatively drinking from ${his} cup`); t.push(`and choking ${his} food down. ${He} knows that if ${he} doesn't eat it willingly, ${he}'ll will be forced to, and you can almost see ${his}`); t.push(eventSlave.intelligence + eventSlave.intelligenceImplant > 15 ? `intelligent mind` : `stupid mind`); t.push(`working through the reality of what ${his} life has become. ${He} is now a receptacle for`); if (eventSlave.dietCum === 2) { t.push(`concentrated`); } t.push(`human ejaculate, and for no other reason than the perverse amusement of ${his} owner. Almost as soon as ${he} swallows ${his} food, ${he} whimpers, burps, and then`); t.push(eventSlave.belly >= 10000 ? `hastily waddles` : `quickly runs`); t.push(`to a nearby bathroom to vomit it back up. This is a common reaction for unbroken slaves on cum diets,`); t.push(eventSlave.weight > 0 ? `and can also be an effective, if unhealthy, way of forcing them to lose weight.` : `but it can also prevent slaves that are already too thin from gaining weight.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result(`Have mercy on the poor ${girl} and take ${him} off ${his} cum diet for now`, mercy), (eventSlave.dietCum === 1) ? new App.Events.Result(`Force ${him} onto a heavy cum diet, and double up on ${his} ejaculate intake`, heavy) : new App.Events.Result(), (eventSlave.dietCum === 2) ? new App.Events.Result(`Give the poor ${girl} a break and reduce ${his} cum intake to a more modest level`, reduce) : new App.Events.Result(), new App.Events.Result(`Suppress ${his} gag reflex and double ${his} cum intake for a week`, double), (V.arcade > 0) ? new App.Events.Result(`Sentence ${him} to a day in ${V.arcadeName} for cum injection therapy`, arcade) : new App.Events.Result(), ]); function mercy() { eventSlave.devotion -= 5; eventSlave.trust += 5; eventSlave.dietCum = 0; return `You see how ${eventSlave.slaveName} is suffering and you decide to reconsider ${his} dietary prescription. You instruct ${V.assistant.name} to change ${eventSlave.slaveName}'s diet to exclude cum for now. Slaves who can't eat are unhealthy, and unhealthy slaves are unprofitable slaves. ${He} is now <span class="mediumorchid">more confident that ${he} can resist you and get ${his} way,</span> ${he} also <span class="mediumaquamarine">trusts you a little more</span> to look after ${his} well being.`; } function heavy() { eventSlave.devotion -= 3; eventSlave.trust -= 3; eventSlave.dietCum = 2; return `You instruct ${V.assistant.name} to double down on ${eventSlave.slaveName}'s cum diet. Ungrateful little sluts who retch up their expensive food sometimes need tough love. Making ${his} cum-food thicker and more concentrated might help ${him} to learn that no matter how bad things seem, you can always make them worse. Initially ${his} new heavy cum diet makes no difference in ${his} ability to keep it down, but you tell ${him} to give it some time. Eventually ${he} will learn to appreciate cum as the primary ingredient in everything ${he} ingests. All of your future cumsluts do, sooner or later. ${His} pathetic tears reveal how <span class="gold">helpless ${he} feels,</span> but they don't hide the <span class="mediumorchid">streak of rebelliousness</span> that remains burning inside ${him}.`; } function reduce() { eventSlave.devotion += 2; eventSlave.trust += 2; eventSlave.dietCum = 1; return `${eventSlave.slaveName} is on a very heavy cum diet, and it's possible you're forcing ${him} to take too much, too soon. You decide to give ${him} a break and instruct ${V.assistant.name} to reduce, but not eliminate the amount of cum in ${his} diet. Although it doesn't immediately make ${him} hate cum any less, <span class="hotpink">${he} appreciates your willingness</span> to make things a little less unpleasant for ${him}. <span class="mediumaquamarine">${He} is a little less afraid of you too,</span> although not as much as if you'd taken ${him} off ${his} cum diet altogether.`; } function double() { t = []; t.push(`${He} is already on a very heavy cum-based diet, and there's only so much ejaculate you can force a slut to ingest before it negatively affects ${his} health. However, as a temporary measure, you still have options. You instruct ${V.assistant.name} to re-double the amount of ejaculate in ${eventSlave.slaveName}'s diet for the week. You also have ${him} closely monitored and injected with anti-nausea drugs to help ${his} hold down ${his} food. Although the idea of being forced to eat large amounts of human reproductive fluid still disgusts ${him}, the week of having a super-concentrated cum-diet, along with the suppressed reflex to purge it has its effect. Knowing that you monitor and control every aspect of ${his} life <span class="hotpink">breaks down ${his} resistance to your will,</span> and by the end of the week, ${he} is grateful that you return ${him} to a more nutritionally viable regimen — even if its cum content is still overwhelmingly high.`); if (eventSlave.fetishKnown === 1) { t.push(`<span class="lightcoral">${His} brain has now begun to accept the sexual perversity of ${his} food as a turn on.</span>`); } else { t.push(`${He} is now able to eat and digest ${his} prescribed diet without pharmacological assistance.`); } eventSlave.devotion += 5; eventSlave.fetish = "cumslut"; if (eventSlave.fetishKnown === 1) { eventSlave.fetishStrength = 10; } return t; } function arcade() { t = []; t.push(`You have ${V.assistant.name} inform ${eventSlave.slaveName} of ${his} unacceptable behavior and sentence ${him} to a day in ${V.arcadeName}. ${He} cries and pleads for mercy, and even begs to be allowed to suck a cock, any cock, so ${he} can prove ${his} newfound enthusiasm for cum, but you are unmerciful as two other slaves drag ${him} off to serve ${his} sentence. ${He} is forced to wear`); t.push(eventSlave.vagina !== -1 ? `a combined vaginal and` : `an`); t.push(`anal chastity belt so that the only hole available is ${his} mouth, and is then confined in ${V.arcadeName} with ${his} mouth spread open by a ring gag and ${his} head sticking through the hole in the wall. A sign below ${his} mouth proclaims ${him} to be a "cum extraction tube" and ${he} is used that way for the duration of ${his} stay — a grueling, 18-hour marathon of relentless throat fucking.`); if (eventSlave.sexualFlaw !== "hates oral") { t.push(`${His} ordeal is so extreme that ${he} now <span class="red">hates oral sex</span>,`); } else { t.push(`${His} hatred of oral sex makes ${his} ordeal that much more horrific,`); } t.push(`but it <span class="hotpink">breaks down ${his} resistance.</span> ${He} now <span class="gold">better understands the terrifying power you have over ${him},</span> and the sheer amount of cum ${he} is forced to ingest <span class="red">negatively effects ${his} health.</span> Your other cum-fed slaves take note of what you do to those who can't hold down their assigned diet.`); eventSlave.devotion += 5; eventSlave.trust -= 5; eventSlave.sexualFlaw = "hates oral"; eventSlave.fetish = "masochist"; seX(eventSlave, "oral", "public", "penetrative", 55); healthDamage(eventSlave, 5); return t; } } };
MonsterMate/fc
src/events/RESS/retchingCum.js
JavaScript
mit
9,352
App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.assignment === Job.PUBLIC, s => canDoAnal(s) || canDoVaginal(s), s => s.devotion > 50, s => s.fetish !== "mindbroken", hasAnyArms, canTalk, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself } = getPronouns(eventSlave); const belly = bellyAdjective(eventSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is a real public servant. This morning, ${he} rose early, did ${his} chores, and looked after ${himself}.`); if (canWalk(eventSlave) || (canMove(eventSlave) && eventSlave.rules.mobility === "permissive")) { t.push(`${He} heads out`); } else { t.push(`${He}'s being escorted`); } t.push(`past your desk toward the arcology's lower floors to offer ${himself} freely to everyone ${he} meets.`); App.Events.addParagraph(node, t); t = []; t.push(`As ${he} goes, you notice that`); if (eventSlave.chastityPenis === 1) { t.push(`precum is starting to dribble out of ${his} chastity cage.`); } else if ((eventSlave.dick > 0) && canAchieveErection(eventSlave)) { t.push(`${his} cock is so hard it's standing out, perfectly straight.`); } else if ((eventSlave.dick > 0) && (eventSlave.balls > 0) && !canAchieveErection(eventSlave)) { t.push(`${his} semi-hard cock is dribbling precum, a sure sign of a bitch who wants to be buttfucked.`); } else if ((eventSlave.dick > 0) && !canAchieveErection(eventSlave)) { t.push(`${his} pathetically soft cock is streaming precum, a sure sign of a bitch who wants to be buttfucked.`); } else if ((eventSlave.clit > 0)) { t.push(`${his} big clit is obviously engorged.`); } else if ((eventSlave.vaginaLube > 0)) { t.push(`${his} pussy is already soaking wet.`); } else { t.push(`${his} cheeks are flushed and ${he}'s panting a little.`); } t.push(`Apparently, ${he} can't wait to`); if (eventSlave.fetish === "submissive") { t.push(`play the submissive.`); } else if ((eventSlave.fetish === "humiliation")) { t.push(`be publicly degraded.`); } else if ((eventSlave.fetish === "masochist")) { t.push(`be roughly handled.`); } else if ((eventSlave.fetish === "dom")) { t.push(`play the dom.`); } else if ((eventSlave.fetish === "sadist")) { t.push(`find a willing masochist.`); } else if ((eventSlave.fetish === "pregnancy") && (eventSlave.preg > eventSlave.pregData.normalBirth / 4)) { t.push(`have ${his} pregnancy fondled.`); } else if ((eventSlave.fetish === "pregnancy")) { t.push(`pretend to get knocked up.`); } else if ((eventSlave.fetish === "boobs")) { t.push(`have ${his} tits fondled.`); } else if ((eventSlave.fetish === "cumslut")) { t.push(`gorge ${himself} on cum.`); } else if ((eventSlave.fetish === "buttslut")) { t.push(`spend all day getting pounded in the ass.`); } else if ((eventSlave.attrXX > 65)) { t.push(`enjoy all the women.`); } else if ((eventSlave.attrXY > 65)) { t.push(`enjoy all the men.`); } else { t.push(`be a complete slut.`); } t.push(`If you went with ${him}, you could certainly show off a little.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ (canDoAnal(eventSlave)) ? new App.Events.Result(`Share ${his} body with the public`, share, virginityWarning()) : new App.Events.Result(), new App.Events.Result(`Give ${him} some aftercare`, aftercare, virginityWarning()), new App.Events.Result(`Chat about ${his} day`, chat), ]); function virginityWarning() { if (canDoVaginal(eventSlave) && (eventSlave.vagina === 0)) { return `This option will take ${his} virginity`; } else if (canDoAnal(eventSlave) && (eventSlave.anus === 0)) { return `This option will take ${his} anal virginity`; } else { return null; } } function share() { let frag = document.createDocumentFragment(); t = []; if (canWalk(eventSlave) || (canMove(eventSlave) && eventSlave.rules.mobility === "permissive")) { t.push(`${eventSlave.slaveName} is surprised to find you walking beside ${him}, but obediently falls in behind you as a proper slave should.`); } else if (canMove(eventSlave)) { t.push(`${eventSlave.slaveName} is surprised to find you swapping places with ${his} assistant to support ${his} weight.`); } else { // strength/height check here! t.push(`You scoop ${eventSlave.slaveName}'s ${isAmputee(eventSlave) ? "limbless" : "immobile"} form up and carry ${him} out.`); } t.push(`You take ${him} to a lovely open balcony and seat yourself on a bench surrounded by the lush greenery and flowing water of ${V.arcologies[0].name}'s food systems. You pull ${his} ass down onto your`); if (V.PC.dick === 0) { t.push(`strap-on`); } else { t.push(`rigid cock`); } t.push(`so ${he} can offer everything else to the public.`); if (V.PC.vagina !== -1 && V.PC.dick !== 0) { t.push(`They know not to presume to use the pussy located beneath your thrusting cock.`); } t.push(VCheck.Anal(eventSlave, 5)); App.Events.addParagraph(frag, t); t = []; if (canDoVaginal(eventSlave)) { t.push(`For several hours, citizens come and go, most choosing to fuck ${his} wet and available pussy. You climax repeatedly from the`); if (V.PC.dick === 0) { t.push(`titillating nature of`); } else { t.push(`extra fullness of ${his} butt during`); } t.push(`double penetration, and by the time you're finished ${he}'s dripping ejaculate from both ${his} holes.`); } else if (eventSlave.belly >= 120000) { t.push(`Since`); if (eventSlave.bellyPreg >= 3000) { t.push(`${he}'s so enormously pregnant that ${his} ${belly} stomach blocks ${his} crotch`); } else { t.push(`${his} ${belly} stomach is so massive that is blocks ${his} crotch`); } t.push(`and you're wearing ${his} backdoor around your`); t.push(V.PC.dick === 0 ? "strap-on," : "cock,"); t.push(`${his} mouth is all that's left. ${He} gives so many blowjobs by the time you're finished that ${his} face, hair, chest and belly are liberally spattered with cum.`); } else if ((eventSlave.chastityVagina)) { t.push(`Since ${he}'s wearing a chastity belt and you're wearing ${his} backdoor around your`); t.push(V.PC.dick === 0 ? "strap-on," : "cock,"); t.push(`${his} mouth is all that's left. ${He} gives so many blowjobs by the time you're finished that ${his} face, hair, chest and`); if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { t.push(`pregnant`); } else { t.push(belly); } t.push(`belly`); } else { t.push(`even stomach`); } t.push(`are liberally spattered with cum.`); } else { t.push(`With your cock pumping ${his} butt as much as you can manage with ${him} seated in your lap, ${his}`); if (eventSlave.dick !== 0 && eventSlave.belly >= 5000) { t.push(`dick flops up and down against the bottom of ${his} rounded stomach,`); } else if (eventSlave.dick !== 0) { t.push(`dick flops up and down,`); } else { t.push(`tiny front hole begins to glisten with the promise of a messy little orgasm,`); } t.push(`lewdly advertising ${his} sexual availability. ${He} gives so many blowjobs by the time you're finished that ${his} face, hair, chest and`); if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { t.push(`pregnant`); } else { t.push(belly); } t.push(`belly`); } else { t.push(`even stomach`); } t.push(`are liberally spattered with cum.`); } t.push(`The public is sure to remember this spectacle; <span class="green">your reputation has increased.</span>`); repX(500, "event", eventSlave); if (canDoVaginal(eventSlave)) { seX(eventSlave, "vaginal", "public", "penetrative", 5); if (eventSlave.vagina === 0) { t.push(`They have also <span class="lime">broken in ${eventSlave.slaveName}'s virgin pussy.</span>`); eventSlave.vagina = 1; } if (canGetPregnant(eventSlave) && eventSlave.eggType === "human") { t.push(knockMeUp(eventSlave, 10, 0, -2)); } } else { seX(eventSlave, "oral", "public", "penetrative", 5); } App.Events.addParagraph(frag, t); t = []; return [frag]; } function aftercare() { t = []; t.push(`${eventSlave.slaveName} returns many hours later. ${He} carefully took breaks for ${his} own safety,`); if (eventSlave.preg > eventSlave.pregData.normalBirth / 1.33) { t.push(`especially so given ${his} advanced pregnancy,`); } t.push(`and cleaned ${himself} periodically, so there isn't much evidence, but ${he}'s obviously bone tired. When you meet ${him} at the entrance to your penthouse ${he}'s surprised to`); t.push(canSee(eventSlave) ? "see" : "find"); t.push(`you, but ${he} gives you a little smile anyway. You give ${him} a strong massage and put ${him} to bed. Afterward you turn to be about your business, but ${he} wordlessly offers ${himself} to you as you do.`); if (canDoVaginal(eventSlave)) { if (eventSlave.vagina === 0) { t.push(`${His} virgin pussy is certainly tempting.`); } else if ((eventSlave.vagina === 1)) { t.push(`${His} tight pussy is certainly tempting.`); } else if ((eventSlave.vagina === 2)) { t.push(`${His} soft pussy is certainly tempting.`); } else if ((eventSlave.labia > 0)) { t.push(`${His} generous petals are certainly tempting.`); } else if ((eventSlave.clit > 0)) { t.push(`${His} prominent clit is certainly eye-catching.`); } else if ((eventSlave.vagina === -1)) { t.push(`${His} relaxed anus is certainly inviting.`); } else { t.push(`${His} capacious pussy is certainly inviting.`); } } else { if (eventSlave.anus === 0) { t.push(`${His} virgin asshole is certainly tempting.`); } else if ((eventSlave.anus === 1)) { t.push(`${His} tight asshole is certainly tempting.`); } else if ((eventSlave.anus === 2)) { t.push(`${His} experienced asshole is certainly tempting.`); } else { t.push(`${His} capacious asshole is certainly inviting.`); } } t.push(`${He}'s sore, so you spoon`); if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} gravid`); } else { t.push(`${his} rounded`); } t.push(`body`); } else { t.push(him); } t.push(`gently in bed, fucking ${him} slowly to sleep.`); if (canDoVaginal(eventSlave)) { t.push(VCheck.Vaginal(eventSlave, 1)); } else { t.push(VCheck.Anal(eventSlave, 1)); } t.push(`${He} falls asleep with a serene expression on ${his} face. <span class="mediumaquamarine">${His} trust in you has increased.</span>`); eventSlave.trust += 4; return t; } function chat() { t = []; t.push(`${eventSlave.slaveName} returns many hours later. ${He}'s obviously bone tired. When you meet ${him} at the entrance to your penthouse ${he}'s surprised to`); t.push(canSee(eventSlave) ? "see" : "find"); t.push(`you, but ${he} gives you a little smile anyway. You bring ${him} back to your office, and ${he}'s clearly expecting to get fucked, so ${he}'s surprised when you hand ${him} a hot beverage and sit down on the couch with ${him}. ${He} relaxes quickly and chats with you about ${his} day, gossiping about all the private doings of all the prominent citizens who fucked ${his}`); if ((eventSlave.vagina > 0) && canDoVaginal(eventSlave)) { t.push(`cunt`); } else if ((eventSlave.anus > 0) && canDoAnal(eventSlave)) { t.push(`asshole`); } else { t.push(`mouth`); } t.push(`today.`); if (eventSlave.intelligence + eventSlave.intelligenceImplant > 50) { t.push(`${He}'s witty and holds up ${his} end of the conversation without straying from ${his} role as a slave.`); } else if ((eventSlave.intelligence + eventSlave.intelligenceImplant >= -15)) { t.push(`${He} has a few juicy items to share, and even while gossiping, ${he}'s mindful of ${his} role as a slave.`); } else { t.push(`${He} may be an idiot, but ${his} babble is amusing enough.`); } t.push(`Time flies, and when you finally stand up to continue with your evening, ${he} thanks you prettily for listening to ${him}`); if (eventSlave.belly >= 10000) { t.push(`as you help ${his}`); if (eventSlave.bellyPreg >= 3000) { t.push(`pregnant`); } else { t.push(`heavy`); } t.push(`body off the couch`); } t.push(t.pop() + "."); t.push(`<span class="hotpink">${His} devotion to you has increased.</span>`); eventSlave.devotion += 4; return t; } } };
MonsterMate/fc
src/events/RESS/serveThePublicDevoted.js
JavaScript
mit
13,047
App.Events.RESSSlaveOnSlaveClit = class RESSSlaveOnSlaveClit extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", s => App.Utils.hasFamilySex(s) || s.rules.release.slaves === 1, s => s.clit > 2 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him } = getPronouns(eventSlave); const { heU, hisU, himU, himselfU } = getNonlocalPronouns(0).appendSuffix('U'); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`Through the glass walls of your office, you see `); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`fucking another slave. Odd, since ${he} doesn't have a penis: it seems the other slave likes ${him} enough to try to make clitoral penetration work. ${eventSlave.slaveName}'s ${V.seeRace === 1 ? eventSlave.race : ""} clit is certainly big enough to make it possible. Since you gave ${him} orders that permit ${him} to fuck your other slaves, ${he}'s been having as much sex with them as ${he} can. The other slave is enjoying ${himselfU} even though the clit in ${hisU} pussy is a little disappointing compared to a real cock.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result("The slave taking it has a free anus, so use that", bottom), canDoAnal(eventSlave) ? new App.Events.Result("The slave giving it has a free anus, so use that", topAnal, virginWarning("anal")) : new App.Events.Result(), canDoVaginal(eventSlave) ? new App.Events.Result("The slave giving it has a free pussy, so use that", topVaginal, virginWarning("vaginal")) : new App.Events.Result() ]); function bottom() { t = []; t.push(`Since the other slave is riding ${eventSlave.slaveName}'s huge clit, it's a trivial matter to ${PC.dick === 0 ? "don a strap-on," : ""} come up behind the fucking slaves, stop the other slave's riding for a moment, and insert yourself into ${hisU} anus. The other slave gasps as your ${PC.dick === 0 ? "strap-on" : "big dick"} complements the clit in ${hisU} pussy. The poor slave rides out the sexual storm as you and ${eventSlave.slaveName} fuck ${himU}. ${eventSlave.slaveName} flirts outrageously with you over the other slave's shoulder whenever ${he} can. <span class="mediumaquamarine">${He} has become more trusting of you.</span>`); eventSlave.trust += 4; seX(eventSlave, "penetrative", "slaves", "anal"); return t; } function topAnal() { t = []; t.push(`Since ${eventSlave.slaveName} is on top, it's a trivial matter to ${PC.dick === 0 ? "don a strap-on," : ""} come up behind the fucking slaves, stop ${his} thrusting for a moment, and insert yourself into ${his} anus.`); if (eventSlave.fetish === "buttslut" && eventSlave.fetishKnown === 1) { t.push(`${He} shivers with delight as ${he} feels ${his} anal ring stretch to accommodate your ${PC.dick === 0 ? "strap-on" : "dick"}.`); eventSlave.devotion += 1; } t.push(VCheck.Anal(eventSlave, 1)); t.push(`Fucking a slave with ${eventSlave.prostate > 0 ? "prostate" : ""} stimulation from your ${PC.dick === 0 ? "phallus" : "cock"} in ${his} ass makes ${him} cum with indecent speed. You let ${him} slide down so ${he} can finish the other slave with ${his} mouth while you continue using ${his} anus. The other slave definitely enjoys ${eventSlave.slaveName}'s moaning into ${hisU} pussy as you use ${eventSlave.slaveName}'s ass. The hard buttfucking ${eventSlave.slaveName} is getting keeps ${his} clit hard all the way through. <span class="hotpink">${His} submission to you has increased.</span>`); eventSlave.devotion += 4; seX(eventSlave, "penetrative", "slaves", "anal"); return t; } function topVaginal() { t = []; t.push(`Since ${eventSlave.slaveName} is on top, it's a trivial matter to< ${PC.dick === 0 ? "don a strap-on," : ""} come up behind the fucking slaves, stop ${his} thrusting for a moment, and insert yourself into ${his} pussy. ${He} obediently stops fucking so you can maneuver into ${him}.`); t.push(VCheck.Vaginal(eventSlave, 1)); t.push(`Having a ${PC.dick === 0 ? "strap-on" : "dick"} in ${his} pussy reduces ${his} ability to use ${his} engorged clit like a penis a little, so the slave beneath ${him} helps ${his} penetration as much as ${heU} can. It's not the most convenient of fucks, but that's to be expected when a ${properMaster()} and two slaves successfully have two separate instances of vaginal intercourse running at once. ${His} orgasm is general and intense. <span class="hotpink">${His} devotion to you has increased.</span>`); eventSlave.devotion += 4; seX(eventSlave, "penetrative", "slaves", "vaginal"); return t; } function virginWarning(type) { if (type === "anal" && eventSlave.anus === 0) { return `This option will take ${his} anal virginity`; } else if (type === "vaginal" && eventSlave.vagina === 0) { return `This option will take ${his} vaginal virginity`; } } } };
MonsterMate/fc
src/events/RESS/slaveOnSlaveClit.js
JavaScript
mit
5,279
App.Events.RESSSlaveOnSlaveDick = class RESSSlaveOnSlaveDick extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", hasAnyArms, hasAnyLegs, canPenetrate, s => App.Utils.hasFamilySex(s) || s.rules.release.slaves === 1 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him } = getPronouns(eventSlave); const { heU, hisU, himU, himselfU } = getNonlocalPronouns(0).appendSuffix('U'); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`Through the glass walls of your office, you see`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`fucking another slave with ${his}`); if (eventSlave.dick <= 2) { t.push(`small penis.`); } else if (eventSlave.dick <= 4) { t.push(`long cock.`); } else if (eventSlave.dick > 4) { t.push(`huge, horse-like phallus.`); } t.push(`Since you gave ${him} orders that permit ${him} to fuck your other slaves, ${he}'s been fucking them whenever ${he} can. The other slave is`); if (eventSlave.dick <= 2) { t.push(`enjoying ${himselfU} even though the ${V.seeRace === 1 ? eventSlave.race : ""} dick in ${hisU} pussy is a little disappointing.`); } else if (eventSlave.dick <= 4) { t.push(`enjoying the sex.`); } else { t.push(`enjoying the big ${V.seeRace === 1 ? eventSlave.race : ""} dick, even if ${heU} does wince from time to time.`); } if (eventSlave.scrotum > 0) { if (eventSlave.balls > 3) { t.push(`As ${eventSlave.slaveName} pounds, ${his} big balls slap against ${his} partner.`); } else if (eventSlave.balls > 1) { t.push(`As ${eventSlave.slaveName} pounds, ${his} balls tighten, preparing to empty themselves.`); } } App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ new App.Events.Result("Fuck the bottom", bottom), canDoAnal(eventSlave) ? new App.Events.Result("Fuck the top", topAnal, virginWarning("anal")) : new App.Events.Result(), canDoVaginal(eventSlave) ? new App.Events.Result("The slave giving it has a free pussy, so use that", topVaginal, virginWarning("vaginal")) : new App.Events.Result() ]); function bottom() { t = []; t.push(`Since the other slave is riding ${eventSlave.slaveName}'s ${V.seeRace === 1 ? eventSlave.race : ""} dick, it's a trivial matter to ${PC.dick === 0 ? "don a strap-on," : ""} come up behind the fucking slaves, stop the other slave's riding for a moment, and insert yourself into ${hisU} anus. The other slave`); if (eventSlave.dick <= 2) { t.push(`gasps as your ${PC.dick === 0 ? "strap-on complements the small dick" : "big dick complements the small one"} in ${his} pussy.`); } else if (eventSlave.dick < 4) { t.push(`shrieks as ${heU} feels ${hisU} holes stretched by ${PC.dick === 0 ? "a strap-on and a cock" : "two cocks"}.`); } else { t.push(`struggles and begs for mercy as ${hisU} holes are brutally stretched.`); } t.push(`The poor slave rides out the sexual storm as you and ${eventSlave.slaveName} fuck ${PC.vagina !== -1 ? `${himU}, your pussy sliding against the base of ${eventSlave.slaveName}'s thrusting shaft` : `${himU}`}. ${eventSlave.slaveName} flirts outrageously with you over the other slave's shoulder whenever ${he} can. <span class="mediumaquamarine">${He} has become more trusting of you.</span>`); eventSlave.trust += 4; seX(eventSlave, "penetrative", "slaves", "anal"); seX(PC, "penetrative", "slaves", "anal"); return t; } function topAnal() { t = []; t.push(`Since ${eventSlave.slaveName} is on top, it's a trivial matter to ${PC.dick === 0 ? "don a strap-on," : ""} come up behind the fucking slaves, stop ${his} thrusting for a moment, and penetrate ${his} butthole.`); if (eventSlave.fetish === "buttslut" && eventSlave.fetishKnown === 1) { t.push(`${He} shivers with delight as ${he} feels ${his} anal ring stretch to accommodate your ${PC.dick === 0 ? "strap-on" : "dick"}.`); eventSlave.devotion += 1; } t.push(VCheck.Anal(eventSlave, 1)); t.push(`Fucking a slave with ${eventSlave.prostate > 0 ? "prostate" : ""} stimulation from your ${PC.dick === 0 ? "phallus" : "dick"} in ${his} ${V.seeRace === 1 ? eventSlave.race : ""} ass makes ${him} cum with indecent speed. You let ${him} slide down so ${he} can finish the other slave with ${his} mouth while you continue using ${his} anus. The other slave definitely enjoys ${eventSlave.slaveName}'s moaning into ${hisU} pussy as you use ${eventSlave.slaveName}'s ass. The hard buttfucking ${eventSlave.slaveName} is getting keeps ${his} dick stiff all the way through. <span class="hotpink">${His} submission to you has increased.</span>`); eventSlave.devotion += 4; seX(eventSlave, "penetrative", "slaves", "anal"); seX(eventSlave, "anal", PC, "penetrative"); return t; } function topVaginal() { t = []; t.push(`${eventSlave.slaveName}'s hermaphroditic genitalia is a little crammed together; it's busy down there. ${He} obediently stops fucking so you can maneuver into ${him}.`); t.push(VCheck.Vaginal(eventSlave, 1)); t.push(`Having a ${PC.dick === 0 ? "strap-on" : "dick"} in ${his} pussy reduces ${his} erection a little, so the slave beneath ${him} helps ${his} penetration as much as ${heU} can. It's not the most convenient of fucks, but that's to be expected when a ${properMaster()} and two slaves successfully have two separate instances of vaginal intercourse running at once. ${PC.vagina !== -1 && PC.dick !== 0 ? "You add a third by grabbing a free hand and guiding it to your own pussy; its owner gets the idea and strokes it as best they can." : ""} ${eventSlave.slaveName}'s orgasm is general and intense. <span class="hotpink">${His} devotion to you has increased.</span>`); eventSlave.devotion += 4; seX(eventSlave, "penetrative", "slaves", "vaginal"); return t; } function virginWarning(type) { if (type === "anal" && eventSlave.anus === 0) { return `This option will take ${his} anal virginity`; } else if (type === "vaginal" && eventSlave.vagina === 0) { return `This option will take ${his} vaginal virginity`; } } } };
MonsterMate/fc
src/events/RESS/slaveOnSlaveDick.js
JavaScript
mit
6,463
App.Events.RESSSuppositoryResistance = class RESSSuppositoryResistance extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.suppository !== 0 ]; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canStand, hasAnyArms, s => s.drugs !== "none", s => s.devotion <= 20 && s.devotion >= -50, s => s.trust >= -20, s => s.fetish !== "buttslut" ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, himself } = getPronouns(eventSlave); const {hisA} = getPronouns(assistant.pronouns().main).appendSuffix('A'); const {s, sh, ss, title: Master} = getEnunciation(eventSlave); const desc = SlaveTitle(eventSlave); const belly = bellyAdjective(eventSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave, "no clothing"); let t = []; t.push(`As you're starting your day, ${V.assistant.name} pauses ${hisA} review of business matters to report that`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`is not accepting ${his} drugs from the phallic feeders in the kitchen. With nothing else urgent, you head down to address the situation. ${eventSlave.slaveName} is standing in front of the place where ${he}'s supposed to take ${his} drugs. It's a little pad on the ground on which ${he}'s supposed to kneel, with a fuckmachine positioned to penetrate ${his} anus once ${he} does so. ${He}'s not completely awake yet, and is just standing there, ${canSee(eventSlave) ? "viewing" : "feeling"} the setup with a vague look of distaste. ${He}'s facing it, and has ${his}`); if (eventSlave.butt > 6) { t.push("massive behind"); } else if (eventSlave.butt > 3) { t.push("beautiful bottom"); } else { t.push("cute butt"); } t.push("pointed very much away from the machine that's supposed to be fucking it."); App.Events.addParagraph(node, t); t = []; t.push(`${He} turns to you as you enter, and ${canSee(eventSlave) ? "seeing" : "realizing"} that it's you, ${he}`); if (canTalk(eventSlave)) { t.push(`mumbles unhappily, "Plea${s}e, ${Master}, can I ju${s}t take a ${sh}ot? A${ss}rape from, you know, people, i${s}, um, bad enough."`); } else { t.push(`uses hesitant gestures to beg you to let ${him} take ${his} drugs normally. ${He} tries to use gestures to explain that ${he} thinks ${he} gets enough anal from humans, without being buttfucked by a machine every morning.`); } App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`Talk ${him} through it`, talk), new App.Events.Result(`Punish ${him} with a bigger phallus`, bigPhallus), new App.Events.Result(`Double penetrate ${his} ass for insolence`, penetrate) ]); function talk() { t = []; t.push(`You put as much quiet authority into your ${canHear(eventSlave) ? "voice" : "words"} as you can, and explain to ${him} that ${he} is required to take ${his} drugs up ${his} ass. You do not explain any of the actual reasons why you require slaves to submit to daily machine anal, but couch your quiet explanation in terms of ${his} life as a slave. You tell ${him} that taking a solid buttfuck from a machine first thing in the morning is something you've ordered ${him} to do. ${He} needs to do it. If ${he} does, ${he}'ll be treated well; if ${he} does not, that will oblige you to punish ${him}. You tell ${him} that you would like ${him} to be a good slave, and that it would be disappointing if you had to punish ${him}. You put just a hint of steel into the last sentence, and ${he} stiffens a little at it. Hesitantly, ${he}`); if (eventSlave.belly >= 300000) { t.push(`shifts onto ${his} ${belly} belly, uses ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} to brace ${himself} against the impending pounding, and scoots towards the phallus.`); } else { t.push(`gets to ${his} ${hasBothLegs(eventSlave) ? "knees" : "knee"}, using ${his} ${hasBothArms(eventSlave) ? "hands" : "hand"} to spread ${his} cheeks for the phallus.`); } t.push(`Sensing that it's being offered an anus, it gently pushes inside ${his} rectum. Its strokes get longer and faster,`); if (eventSlave.anus > 2) { t.push(`until ${he}'s groaning under the sodomy despite ${his} loose ass.`); } else if (eventSlave.anus > 1) { t.push(`quickly gaping ${his} big butthole and making ${him} groan.`); } else { t.push(`making ${him} gasp as it stretches ${his} poor little asshole.`); } if (V.cockFeeder !== 0) { t.push(`${He} doesn't manage to groan for long, though, since the kitchen extends another phallus to feed ${him} ${his} breakfast. Before long, ${he}'s being spitroasted by machines.`); } t.push(`Once ${he}'s fully awake, ${he}'s mostly <span class="mediumaquamarine">relieved</span> that you let ${him} get away with hesitation about obedience and took the time to talk ${him} through it.`); eventSlave.trust += 4; return t; } function bigPhallus() { t = []; t.push(`You give the kitchen an order by voice command. ${canHear(eventSlave) ? "It's technical" : `${He} can't hear it`}, so ${he} doesn't understand it, but the meaning becomes clear soon enough. The phallus aiming meaningfully at the place where ${he}'s supposed to kneel and offer up ${his} butthole is withdrawn, and ${he}'s halfway through a shocked thank you when it's replaced by another, noticeably larger. You tell ${him} in deceptively mild tones that you'll keep increasing the size of ${his} phallus until ${he} decides to get down and take it like a good little ${desc}, or you run out of size options and are forced to strap ${him} down and apply two at once. At that point, ${his} ass might be able to take it; then again, it might not. ${He} begins to cry, but is so <span class="gold">frightened</span> by the threat that ${he} doesn't let ${his} tears distract ${him} from a delectable scramble to`); if (eventSlave.belly >= 300000) { t.push(`throw ${himself} onto ${his} ${belly} belly and`); } else { t.push(`get down on ${his} ${hasBothLegs(eventSlave) ? "knees" : "knee"} and`); } if (eventSlave.butt > 6) { t.push(`heave ${his} huge buttocks apart.`); } else if (eventSlave.butt > 3) { t.push(`spread ${his} broad buttocks.`); } else { t.push(`spread ${his} cute ass wide.`); } if (V.cockFeeder !== 0) { t.push(`Once it's got its phallus sliding in and out of ${his} asshole, the kitchen gives ${him} another, to suck off for ${his} breakfast. Fortunately for ${him}, ${he} doesn't object, and only gets facefucked by the normal dildo.`); } t.push(`${He} keeps the threat in mind, and has a slightly sore ass to <span class="hotpink">help ${him} remember to obey without question.</span>`); eventSlave.trust -= 2; eventSlave.devotion += 2; return t; } function penetrate() { t = []; t.push(`You step forward and take gentle hold of the slave's throat, telling ${him} to get down on ${his} knees like a good little ${desc}. You make no threat, but give ${him} the order in a voice of brass. ${He} knows what you can do to ${him}, and hurries to obey, <span class="gold">terribly frightened.</span> ${His} fear is justified. You announce that ${he}'s avoided serious punishment, but ${he} still needs correction for ${his} hesitation and insolence. ${He}'s concerned when ${he}`); if (canSee(eventSlave)) { t.push("sees you"); } else if (canHear(eventSlave)) { t.push("hears you"); } else { t.push("feels you"); } if (PC.dick !== 0) { t.push(`get your dick ${PC.vagina !== -1 ? "and pussy" : ""} out,`); } else { t.push("don a strap-on,"); } t.push(`though ${he}'s distracted by the rapidly accelerating buttfuck ${he}'s getting from the machine. ${He} tries to offer you ${his} throat, but ${his} hopes are dashed when you walk around behind ${him}, swing a leg over the machine pistoning in and out of ${his} asshole, and command it to stop for a moment. Then you work ${PC.dick !== 0 ? "yourself" : "your own dildo"} up ${his} ass alongside the phallus that already fills it. The drugs are delivered with lubricant, and you do fit, but only after a nice long session of sobbing, spasming, and finally crying resignation. Then you order the machine to go back to what it was doing, and the resignation vanishes, replaced with anal pain as ${eventSlave.slaveName} takes double penetration up ${his}`); if (eventSlave.anus > 2) { t.push("gaping anus."); } else if (eventSlave.anus === 2) { t.push("big butthole."); } else { t.push("poor, abused little butt."); } if (V.cockFeeder !== 0) { t.push(`When you grow tired of the whining, you order the kitchen to give the bitch breakfast. It extends a feeding phallus and fills ${his} throat, muffling the noise somewhat.`); } t.push(VCheck.Anal(eventSlave, 1)); eventSlave.trust -= 4; return t; } } };
MonsterMate/fc
src/events/RESS/suppositoryResistance.js
JavaScript
mit
9,132
App.Events.RESSTooThinForCumDiet = class RESSTooThinForCumDiet extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ /** @param {App.Entity.SlaveState} s */ [ s => s.fetish !== "mindbroken", hasAnyArms, canWalk, canTalk, s => s.dietCum > 0, s => s.diet === "fattening", s => s.trust >= -50, s => s.fetish !== "cumslut", s => s.weight < -30, s => s.health.condition > -80, s => s.behavioralFlaw !== "anorexic", s => s.sexualFlaw !== "self hating", s => (s.fetishStrength <= 60 || s.fetishKnown !== 1), ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, him, girl } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); V.nextLink = "Next Week"; const belly = bellyAdjective(eventSlave); App.Events.drawEventArt(node, eventSlave); let t = []; t.push(`You are in your office, tending to the tedious business of requisition orders for your penthouse when you see`); t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`appear outside your door. ${He} hovers outside in the hall, peeking ${his} head around the entry-way, looking very unsure about disturbing you. You stop what you're doing and call ${him} in. ${He}'s reticent at first, but then ${he} obediently steps into your office. ${He} is`); if (eventSlave.clothes === "no clothing") { t.push(`forced to remain naked at all times, and the most striking thing about ${his} body is how`); if (eventSlave.belly >= 100000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} ${belly} pregnancy utterly dwarfs ${his} skinny body.`); } else { t.push(`${his} ${belly} distended belly utterly dwarfs ${his} skinny body.`); } } else if (eventSlave.belly >= 15000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} full pregnancy completely dominates ${his} skinny body.`); } else { t.push(`${his} hugely distended belly completely dominates ${his} skinny body.`); } } else if (eventSlave.belly >= 10000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} advanced pregnancy dominates ${his} skinny body.`); } else { t.push(`${his} hugely distended belly dominates ${his} skinny body.`); } } else if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { t.push(`massive ${his} pregnant belly is compared to ${his} skinny body.`); } else { t.push(`massive ${his} distended belly is compared to ${his} skinny body.`); } } else if (eventSlave.belly >= 1500) { if (eventSlave.bellyPreg > 0) { t.push(`noticeable ${his} growing pregnancy is against ${his} skinny body.`); } else { t.push(`noticeable the curve of ${his} belly is against ${his} skinny body.`); } } else if (eventSlave.belly >= 150) { if (eventSlave.bellyPreg > 0) { t.push(`noticeable ${his} early pregnancy is against ${his} skinny body.`); } else { t.push(`noticeable the curve of ${his} implant is against ${his} skinny body.`); } } else { t.push(`skinny ${he} is.`); } } else { t.push(`forced to wear ${eventSlave.clothes} all day, but even through ${his} outfit, it's easy to see how`); if (eventSlave.belly >= 100000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} ${belly} pregnancy utterly dwarfs ${his} skinny body.`); } else { t.push(`${his} ${belly} distended belly utterly dwarfs ${his} skinny body.`); } } else if (eventSlave.belly >= 15000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} heavy pregnancy completely dominates ${his} skinny body.`); } else { t.push(`${his} hugely distended belly completely dominates ${his} skinny body.`); } } else if (eventSlave.belly >= 10000) { if (eventSlave.bellyPreg >= 3000) { t.push(`${his} advanced pregnancy dominates ${his} skinny body.`); } else { t.push(`${his} hugely distended belly dominates ${his} skinny body.`); } } else if (eventSlave.belly >= 5000) { if (eventSlave.bellyPreg >= 3000) { t.push(`massive ${his} pregnant belly is compared to ${his} skinny body.`); } else { t.push(`massive ${his} distended belly is compared to ${his} skinny body.`); } } else if (eventSlave.belly >= 1500) { if (eventSlave.bellyPreg > 0) { t.push(`noticeable ${his} growing pregnancy is against ${his} skinny body.`); } else { t.push(`noticeable the curve of ${his} belly is against ${his} skinny body.`); } } else if (eventSlave.belly >= 150) { if (eventSlave.bellyPreg > 0) { t.push(`noticeable ${his} early pregnancy is against ${his} skinny body.`); } else { t.push(`noticeable the curve of ${his} implant is against ${his} skinny body.`); } } else { t.push(`impossibly skinny ${he} is.`); } } if (eventSlave.weight > -80) { t.push(`${He}'s not exclusively skin and bones, but ${he}'s close. ${His}`); } else { t.push(`${He}'s so thin that ${he} doesn't look entirely healthy. ${His}`); } if (eventSlave.boobs < 600) { if (eventSlave.boobs < 300) { t.push(`tiny`); } else if (eventSlave.boobs < 600) { t.push(`small`); } t.push("boobs are barely noticeable"); t.push(eventSlave.belly >= 5000 ? `above ${his} bloated` : `against ${his} concave`); if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") { t.push(`tummy, and that can be a very appealing look given the predilection your arcology has for slim ${girl}s.`); } else { t.push(`tummy, and to most clients, this makes ${him} a less appealing whore.`); } } else { t.push(eventSlave.boobs < 900 ? "large" : "massive"); t.push(`tits are a sharp contrast to ${his}`); t.push(eventSlave.belly >= 150 ? "thin, bloated frame," : "concave belly"); t.push(`and although impressive, they seem to especially stick out on a ${girl} who, in all other ways, seems`); t.push(eventSlave.weight > -80 ? "slightly" : "alarmingly"); t.push(`malnourished. ${His} ${eventSlave.faceShape} face is clearly conflicted, and`); } t.push(canSee(eventSlave) ? `${his} ${App.Desc.eyesColor(eventSlave)} shift` : `${he} glances about`); t.push(`with nervous energy. ${He} is clearly unsure whether ${he} should say what ${he} came here to say.`); App.Events.addParagraph(node, t); t = []; t.push(`When you finally ask ${him} what ${he} wants, ${he} hesitates for a moment and then suddenly seems to gain ${his}`); if (eventSlave.accent > 1) { t.push(`courage, speaking in an atrociously thick accent.`); } else if (eventSlave.accent > 0) { t.push(`courage, speaking in a cute little accent.`); } else { t.push("courage."); } t.push(Spoken(eventSlave, `"Please ${Master}, I'm so hungry! It's seems like all I get to eat is cum. It's disgusting! Please! I have to eat so much of it. Can I be allowed to eat regular food again? Please ${Master}, I'm so hungry. I need real food!"`)); App.Events.addParagraph(node, t); t = []; t.push(`It's true, cum`); t.push(eventSlave.dietCum === 1 ? "supplemented" : "based"); t.push(`food can be hard on ${girl}s`); t.push(`who are not fully habituated to being toys for sexual amusement — particularly when you've ordered them to gain weight on it. You look at the`); if (eventSlave.belly >= 1500) { t.push(`gravid,`); } t.push(`skinny whore and consider your options.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ (eventSlave.chastityAnus === 1) ? new App.Events.Result(`Give the poor ${girl} a break and take ${him} off ${his} cum diet so ${he} can safely get to a healthier weight`, safely) : new App.Events.Result(), (canDoAnal(eventSlave)) ? new App.Events.Result(`Give the emaciated slut your answer in the form of a rough butt-fuck`, buttfuck, virginityWarning()) : new App.Events.Result(), new App.Events.Result(`Use aphrodisiacs and positive reinforcement to make ${his} cum diet more palatable`, aphrodisiac), ]); function virginityWarning() { if ((eventSlave.anus === 0) && (eventSlave.dietMilk === 1)) { return `This option will take ${his} anal virginity and remove milk from ${his} diet.`; } else if (eventSlave.anus === 0) { return `This option will take ${his} anal virginity`; } else if (eventSlave.dietMilk === 1) { return `This option will remove milk from ${his} diet.`; } return null; } function safely() { t = []; t.push(`You silently appraise ${eventSlave.slaveName}'s desperate face and lean forward in your chair to check your terminal. You confirm that`); if (eventSlave.dietCum === 1) { t.push(`${his} food is supplemented with cum for flavor.`); } else { t.push(`${he} is being fed significant amounts of ejaculate.`); } t.push(`While ${his}`); if (eventSlave.dietCum === 2) { t.push(`extreme`); } t.push(`diet is still engineered to`); if (eventSlave.dietCum === 2) { t.push(`barely`); } t.push(`provide the nutrition ${he} needs, if ${he} can't hold the stuff down, ${he} can't gain`); if (eventSlave.pregKnown === 1 && eventSlave.preg > eventSlave.pregData.normalBirth / 4) { t.push(`weight, especially with ${his} growing`); if (eventSlave.pregType > 1) { t.push(`children taking whatever nutrients they can.`); } else { t.push(`child taking whatever nutrients it can.`); } } else { t.push("weight."); } t.push(`With a few taps on the keyboard you change ${his} orders so that ${he} will be fed a much more nutritionally rich diet that is free of ejaculate. However, you make sure to warn ${him} that ${V.assistant.name} will be monitoring ${him}, and you may change your mind once ${he} reaches a more attractive weight. ${He} thanks you profusely,`); if (eventSlave.vagina !== 0) { t.push(`even attempting to offer ${his} body for use in gratitude,`); } t.push(`but you simply send ${him} away. You find yourself concerned that you are becoming soft by allowing slaves to dictate what they will and won't eat, but your benevolent decision has already had a <span class="hotpink">positive effect on ${his} attitude.</span> ${He} <span class="mediumaquamarine">trusts you a little more</span> too.`); eventSlave.trust += 2; eventSlave.devotion += 2; eventSlave.dietCum = 0; return t; } function buttfuck() { t = []; let frag = document.createDocumentFragment(); t.push(`You stand up behind your desk. ${He} flinches, but holds ${his} ground, ${his} lip quivering slightly. You slowly walk toward ${him}, appraising ${his}`); t.push(eventSlave.belly >= 100 ? `bloated,` : `smooth,`); t.push(`skinny body, touching ${his} shoulder as you disappear behind ${him}. ${He} starts to cry as you`); if (V.PC.dick === 0) { t.push(`pull a massive rubber dong attachment off the wall and hook it to your strap-on.`); } else { t.push(`unbuckle your pants and ${him} feel your warm dick harden against ${his} tight, bony thigh.`); } t.push(`Without word or ceremony, you shove ${him} forward so that ${he} is bent over and crushed against your desk. The tears start to flow out of ${him} as ${he} feels your`); t.push(V.PC.dick === 0 ? `massive rubber dong` : `hard, thick cock`); t.push(`pressing against ${his} unprotected anus.`); App.Events.addParagraph(frag, t); t = []; t.push(`When you offer ${him} the opportunity to revise ${his} request, ${he} does.`); t.push(Spoken(eventSlave, `"Please, ${Master} I'm sorry! Please don't fuck my ass! I'll eat all the cum you want! Please!"`)); t.push(`${He} screams`); if (eventSlave.accent > 1) { t.push(`in ${his} thick accent`); } t.push(`as you force your`); if (V.PC.dick === 0) { t.push(`strap-on`); } else { t.push(`self`); } t.push(`inside ${his} butt-hole and subdue ${his} weak, struggling body against your unforgiving desk. <span class="gold">Horrified tears</span> stream down ${his} face with each brutal thrust as you speak into ${his} ear and remind ${him} that slaves are not allowed to dictate their needs to their owners. You know what's best for ${him}, and right now, ${his} proper role is as an eager little depository for the products of the free-cities ejaculate market. It's ${his} job to suck down cum at the whim of ${his} owner, plain and simple, until ${he}'s told otherwise. You butt-fuck the cum-fed slag until ${he} simply lays there and accepts ${his} corrective assrape.`); if (eventSlave.anus === 0) { t.push(`<span class="lime">${His}</span>`); if (eventSlave.butt < 5) { t.push(`<span class="lime">skinny little</span>`); } else { t.push(`<span class="lime">plump little</span>`); } t.push(`<span class="lime">ass is now broken in.</span>`); } t.push(`${He} sobs quietly with each thrust of your hips, and when you finally`); if (V.PC.dick !== 0) { t.push(`make yet another cum deposit into ${his}`); t.push(eventSlave.weight < -80 ? `emaciated body and` : `bony body and`); } t.push(`pull out, you instruct`); if (eventSlave.dietCum === 1) { t.push(`${V.assistant.name} to dramatically increase the amount of cum in ${his} diet from now on. You won't have a slave telling you what ${he} eats. ${eventSlave.slaveName}`); if (canHear(eventSlave)) { t.push(`hears your instructions`); } else { t.push(`correctly guesses the meaning behind your body language`); } t.push(`and whimpers before rubbing ${his} sore bottom while heading`); } else { t.push(`another slave to drag the broken slut to the kitchen, where ${he}'s to receive an additional feeding of thick, creamy ejaculate-based nutrients before proceeding`); } t.push(`to ${his} next assignment.`); App.Events.addParagraph(frag, t); t = []; t.push(`${He}'s learned a valuable lesson about what it truly means to be a slave today, and it's one ${he} <span class="orchid">won't soon forget.</span>`); eventSlave.devotion -= 5; eventSlave.trust -= 5; if (eventSlave.anus === 0) { eventSlave.anus += 1; } VCheck.Anal(eventSlave, 1); if (eventSlave.dietCum === 1) { eventSlave.dietCum = 2; eventSlave.dietMilk = 0; } App.Events.addParagraph(frag, t); return [frag]; } function aphrodisiac() { t = []; let frag = document.createDocumentFragment(); t.push(`You do a quick check at your terminal. ${He} is indeed being fed`); if (eventSlave.dietCum === 1) { t.push(`food that is supplemented with cum for flavor.`); } else { t.push(`large amounts of human ejaculate.`); } t.push(`You tell ${him} that it can't be helped. When you assign a slave ${his} diet, it's for a reason, and in ${eventSlave.slaveName}'s case, you are using ${his} diet to make ${him} into a better whore. By the look on ${his} distressed face, you can tell ${he} doesn't understand or appreciate your perspective, but you tell ${him} you have just the thing to help change ${his} outlook.`); App.Events.addParagraph(frag, t); t = []; t.push(`You pull out a heavy dose of aphrodisiacs from the drawer in your desk. They are expensive, but powerful drugs that can be used in a brute force way to manipulate the sexual urges and tastes of even the most frigid sluts. The mild dose included in every slave's food is usually enough to affect a slow, inevitable change in attitude for resistant slaves, but sometimes a more acute dose can be an amusing way to turn disgust into dependence.`); App.Events.addParagraph(frag, t); t = []; t.push(`${eventSlave.slaveName} shivers as you reassure ${him} and inject ${his}`); t.push(eventSlave.weight < -80 ? `bony` : `tiny`); t.push(`body with the powerful drugs. You know they are working when ${he} begins to perspire a little, and`); if (eventSlave.vagina > -1) { t.push(`${he} starts to leak fresh girl-juice down ${his} shivering thighs.`); } else if (eventSlave.dick === 0) { t.push(`starts to turn instinctively to offer you ${his} only hole.`); } else { t.push(`${his} dick starts to come to attention.`); } t.push(`You then book ${him} to be the main attraction at a corporate office party that afternoon, where ${he} will be the target of a blow-bang and bukkake. You see that ${he}'s dosed heavily with the drugs every day this week, and then book the rest of ${his} afternoons for similar duties, making sure ${he} still tends to ${his} regular assignments as well. In the meantime, you also instruct the kitchen that ${he} is to eat as much cum-based food from the dispensers as ${he} can suck down in order to fuel up for these exhausting escapades.`); App.Events.addParagraph(frag, t); t = []; t.push(`By the end of the week, the aphrodisiacs and ${his} slide into an inescapable routine of cum immersion have done their job, and ${he} has begun to <span class="lightcoral">view cum as an inevitable component of ${his} daily life.</span> ${He} also manages to <span class="green">gain a little weight.</span> Thanks to your manipulation of ${his} Pavlovian responses through extreme drug therapy, ${his} <span class="red">health has suffered a bit,</span> but ${he} is also <span class="hotpink">more dependent on you</span> thanks to ${his}`); if (eventSlave.addict === 0) { t.push(`<span class="cyan">new</span>`); } else { t.push(`<span class="cyan">developing</span>`); } t.push(`<span class="cyan">addiction to aphrodisiacs.</span>`); eventSlave.devotion += 5; eventSlave.weight += 10; eventSlave.fetish = "cumslut"; eventSlave.fetishKnown = 1; eventSlave.fetishStrength = 10; eventSlave.addict += 1; seX((eventSlave), "oral", "public", "penetrative", 50); healthDamage((eventSlave), 10); App.Events.addParagraph(frag, t); return [frag]; } } };
MonsterMate/fc
src/events/RESS/tooThinForCumDiet.js
JavaScript
mit
18,033
App.Events.RESSWaistlineWoes = class RESSWaistlineWoes extends App.Events.BaseEvent { eventPrerequisites() { return []; } actorPrerequisites() { return [ [ // single event slave s => s.fetish !== "mindbroken", canHear, canWalk, hasAnyArms, hasAnyLegs, s => s.devotion > 20 && s.devotion <= 50, s => s.trust > 20 && s.trust <= 50, s => s.weight > 20 && s.weight <= 30, ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [eventSlave] = this.actors.map(a => getSlave(a)); const { He, he, His, his, hers, him, himself, girl } = getPronouns(eventSlave); const {title: Master} = getEnunciation(eventSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, eventSlave); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`has spent the last half-hour pacing up and down the hall before your office, clearly lost in thought. While ${he} has nowhere to be at the moment, it is beginning to become a detriment to your work, so you call ${him} in to get to the bottom of the matter.`); App.Events.addParagraph(node, t); t = []; if (canTalk(eventSlave)) { t.push(`"${Master}," ${he} mumbles,`); t.push(Spoken(eventSlave, `"am I looking a little heavier?"`)); } else { t.push(`${He} gestures at ${his} middle and`); } /* WIP specific clothing stuff, right now clothed slaves are not final so don't worry about how little sense it makes */ switch (eventSlave.clothes) { case "clothes": if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"This ${eventSlave.clothes} feels tight around my middle, I feel like it fit last week..."`)); t.push(He); } t.push(`adjusts ${his} clothing, clearly uncomfortable.`); break; default: if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"I feel like I wasn't this soft last week..."`)); t.push(He); } t.push(`pinches ${his} belly, clearly grabbing hold of more of ${himself} than ${he} wants to.`); } t.push(`The ${SlaveTitle(eventSlave)} is`); if (eventSlave.diet === "fattening") { t.push(`purposefully being fattened up, so it really shouldn't come as a surprise to ${him}.`); } else if (eventSlave.behavioralFlaw === "gluttonous") { t.push(`a known stress eater, so perhaps somebody has been sneaking food again.`); } else if (eventSlave.behavioralFlaw === "anorexic") { t.push(`a known anorexic, so ${he}'s likely overreacting.`); } else { t.push(`certainly a little chubby, so perhaps this is a good time to get a handle on things.`); } App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result(`Yes`, uFatGirl), new App.Events.Result(`No`, uThinGirl), new App.Events.Result(`Encourage ${him} to get bigger`, encourage), new App.Events.Result(`Send ${him} to the gym`, gym), (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) ? new App.Events.Result(`Help ${him} burn some calories`, sex, virginityWarning()) : new App.Events.Result(), /* ((eventSlave.toyHole === "dick" || V.policies.sexualOpenness === 1) && canPenetrate(eventSlave) && (eventSlave.belly + V.PC.belly < 5000) && ((eventSlave.height >= V.PC.height * 1.5) || eventSlave.muscles > 70)) ? new App.Events.Result(`Take ${him} for a jog`, jogging, "This option will penetrate you") : new App.Events.Result(),*/ new App.Events.Result(`Send ${him} on ${his} way`, shoo), ]); function virginityWarning() { if (V.PC.dick > 0) { if (canDoVaginal(eventSlave) && (eventSlave.vagina === 0)) { return `This option will take ${his} virginity`; } else if (!canDoVaginal(eventSlave) && canDoAnal(eventSlave) && (eventSlave.anus === 0)) { return `This option will take ${his} anal virginity`; } } return null; } function uFatGirl() { let t = []; if ((eventSlave.diet === "fattening" || eventSlave.dietMilk > 0) && eventSlave.intelligence + eventSlave.intelligenceImplant > 15) { if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"So the diet is working well, ${Master}? That's good, I suppose. I'm just a bit shocked at how honest you were; people usually try to dodge that question or outright lie."`)); } else { t.push(`${He} smiles before explaining ${he} knows you want ${him} plumper and that ${he} accepts it, but is surprised by your honesty to such a question.`); } t.push(`${He} leaves your office <span class="trust inc">slightly more trusting</span> for someone whose life is now entirely out of their hands.`); eventSlave.trust++; } else if (eventSlave.behavioralFlaw === "gluttonous") { if (canTalk(eventSlave)) { t.push(`${His} eyes begin to water as ${he} struggles not to sob.`); t.push(Spoken(eventSlave, `"But... I can't help it, why would you say that?"`)); t.push(`${He} breaks done completely and hastily flees your sight, likely to the cafeteria, jiggling in all the wrong places.`); } else { t.push(`${His} eyes begin to water as ${he} struggles not to sob, but ${he} quickly loses composure and hastily flees your gaze, likely to the cafeteria.`); } t.push(`${He} may have run out of your office <span class="trust dec">in tears,</span> but ${he}'ll quickly come to terms with all that matters is <span class="devotion inc">your judgment, not ${hers}.</span> Even more so when ${he} realizes the resulting stress eating only <span class="lime">filled ${him} out more.</span>`); eventSlave.devotion += 7; eventSlave.trust -= 5; eventSlave.weight += 5; } else if (eventSlave.behavioralFlaw === "anorexic") { if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"I'm so disgusting, ${Master}, I'm glad you see it too. I was so certain you'd lie to me... Sorry to have wasted your time."`)); t.push(He); } else { t.push(`${His} face lightens at your ${canHear(eventSlave) ? "words" : "affirmation"}. It seems you told ${him} just what ${he} wanted to hear${!canHear(eventSlave) ? ", so to speak" : ""}. ${He} gives ${his} thanks and`); } t.push(`leaves your office with <span class="devotion inc">slightly more faith</span> in ${his} ${getWrittenTitle(eventSlave)}.`); eventSlave.devotion += 5; } else { if (canTalk(eventSlave)) { t.push(`${His} eyes begin to water as ${he} struggles not to sob.`); t.push(Spoken(eventSlave, `"But... But... I'm not... Why would you say that?"`)); t.push(`${He} breaks done completely and hastily flees your sight, jiggling in all the wrong places.`); } else { t.push(`${His} eyes begin to water as ${he} struggles not to sob, but ${he} quickly loses composure and hastily flees your gaze.`); } t.push(`${He} may have run out of your office <span class="trust dec">in tears,</span> but ${he}'ll quickly come to terms with all that matters is <span class="devotion inc">your judgment, not ${hers}.</span>`); eventSlave.devotion += 5; eventSlave.trust -= 5; } return t; } function uThinGirl() { let t = []; if ((eventSlave.diet === "fattening" || eventSlave.dietMilk > 0) && eventSlave.intelligence + eventSlave.intelligenceImplant > 15) { if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"I know you want me to gain weight, ${Master}, so you don't need to spare my feelings. It's a nice gesture, though."`)); } else { t.push(`${He} frowns before explaining ${he} knows you want ${him} plumper and that ${he} accepts it, but does appreciate the thought.`); } t.push(`${He} leaves your office in <span class="devotion inc">a good mood</span> for someone being forced to gain weight.`); eventSlave.devotion++; } else if (eventSlave.behavioralFlaw === "gluttonous") { if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"It's okay ${Master}, you don't have to lie to me. I know this is my fault, but thank you for trying to cheer me up."`)); } else { t.push(`${He} frowns before explaining ${he} has only ${himself} to blame for ${his} weight, but does appreciate the thought.`); } t.push(`${He} leaves your office in <span class="devotion inc">good spirits</span> for nearly no effort.`); eventSlave.devotion++; } else if (eventSlave.behavioralFlaw === "anorexic") { if (canTalk(eventSlave)) { t.push(Spoken(eventSlave, `"Don't lie to me, ${Master}! You really think I don't know I'm a bloated hog!?"`)); } else { t.push(`${His} face contorts into a vicious glare; it seems you choose the wrong thing to say.`); } t.push(`${He} runs out of your office <span class="devotion dec">in tears.</span> It's likely that ${he}'ll <span class="trust dec">dwell on your response</span> for some time.`); eventSlave.devotion -= 10; eventSlave.trust -= 10; } else { t.push(`Of course ${he} hasn't gained any weight. ${He} ponders your response for a moment before replying`); if (canTalk(eventSlave)) { t.push(`"Thank you, ${Master}"`); } else { t.push(`with a smile`); } t.push(`and leaving your office with a <span class="devotion inc">happy spring in ${his} step.</span> Crisis averted.`); eventSlave.devotion++; } return t; } function encourage() { let t = []; t.push(`${He}'s left standing there blankly, uncertain on just how to respond to such a bold statement. ${He}'s even less certain when you invite ${him} to join you for lunch in the cafeteria for the rest of the week. You want chubby and what ${he} is barely comes close.`); if (eventSlave.behavioralQuirk === "insecure") { t.push(`${He} <span class="devotion inc">enjoys</span> you watching ${him} stuff ${himself} and quivers with delight as you measure the progress of ${his} waistline. By week's end, you're treated to the lovely sight of ${his} <span class="lime">new belly jiggling</span> as ${he} passes by your office.`); eventSlave.weight += 10; } else if (eventSlave.behavioralFlaw === "gluttonous") { t.push(`${He} <span class="devotion inc">thoroughly enjoys</span> being permitted to stuff ${his} face for your amusement, even if your lunch is in jeopardy for the duration of the week. There is no denying the results, however, as you savor the sight of the <span class="lime">chubby ${girl}</span> jiggling past your office when it's over.`); eventSlave.weight += 20; } else if (eventSlave.behavioralFlaw === "anorexic") { t.push(`${He} <span class="devotion inc">appreciates having someone to eat lunch with,</span> but that's not really why you are eating with ${him}. While ${he} doesn't make any real gains, you can't help but notice ${he} kept ${his} food down all week. <span class="lime">You broke ${him} of ${his} eating disorder!</span>`); eventSlave.behavioralFlaw = "none"; } else { t.push(`${He} spends the week <span class="devotion inc">obediently</span> eating for you. You are not disappointed when you see the results, however, nor when you get a good grip on ${his} <span class="lime">soft belly.</span> ${He} may still have other hidden problems, but this is not longer one of them, at least for the time being.`); eventSlave.weight += 10; } if (eventSlave.behavioralQuirk === "insecure" || eventSlave.behavioralFlaw === "gluttonous") { eventSlave.devotion += 5; } else { eventSlave.devotion += 3; } return t; } function gym() { let t = []; t.push(`${His} face ${eventSlave.behavioralQuirk === "fitness" ? "brightens" : "sours"} as you instruct ${him} to spend ${his} free time on the treadmill if ${he} is so bothered by it,`); if (eventSlave.behavioralQuirk === "fitness") { t.push(`and by week's end, ${he}'s <span class="devotion inc">in a fantastic mood.</span>`); } else { t.push(`but by week's end, ${he}'s singing a different tune.`); } t.push(`Not only is ${he} <span class="lime">several sizes smaller</span> than ${his} expectations, but ${he} <span class="trust inc">looks and feels great,</span> something ${he} just can't help but <span class="devotion inc">show off</span> as ${he} struts past your office.`); if (eventSlave.behavioralQuirk === "fitness") { eventSlave.devotion += 10; eventSlave.trust += 10; } else { eventSlave.devotion += 5; eventSlave.trust += 5; } eventSlave.weight -= 10; return t; } function sex() { let frag = document.createDocumentFragment(); let t = []; t.push(`${He}'s dismayed when you agree, but that fades quickly into hope when you continue, suggesting there's a way to start fixing the problem. ${He} just needs some exercise; to shed off those pounds with some hard physical work. The couch, you think aloud, will do perfectly, as you move around your desk to stretch out on the inviting surface, hands linked behind your head in a powerful display of your body. It's enough to make ${him} press ${his} thighs together, but you make no move for ${him}${V.PC.dick === 0 ? ", a strap-on," : ""} or even your clothing. You let ${him} puzzle and suffer for a few moments more before you make your intentions clear; if ${he} wants to burn calories, then it should be ${him} that does all the work.`); App.Events.addParagraph(frag, t); t = []; if (eventSlave.behavioralQuirk === "fitness") { t.push(`${He} brightens, catching on immediately and nodding ${his} head with understanding`); if (V.PC.dick === 0) { t.push(`before quickly ${eventSlave.clothes !== "no clothing" && eventSlave.clothes !== "body oil" ? `shedding ${his} clothes and` : ""} retrieving an appropriate dildo, eager for the workout.`); } else { t.push(`${eventSlave.clothes !== "no clothing" && eventSlave.clothes !== "body oil" ? "before" : ""} quickly ${eventSlave.clothes !== "no clothing" && eventSlave.clothes !== "body oil" ? `shedding ${his} clothes` : ""}, eager for the workout.`); } } else { t.push(`${He} catches on quickly, nodding ${his} head with understanding`); if (V.PC.dick === 0) { t.push(`before ${eventSlave.clothes !== "no clothing" && eventSlave.clothes !== "body oil" ? `shedding ${his} clothes and` : ""} retrieving an appropriate dildo, glad for the opportunity.`); } else { t.push(`${eventSlave.clothes !== "no clothing" && eventSlave.clothes !== "body oil" ? `before shedding ${his} clothes` : ""}, glad for the opportunity.`); } } t.push(`${His} hips settle close to yours, moving seductively while ${he} makes a show of undressing you. ${His} fingers smooth`); if (V.PC.dick === 0) { t.push(`around your hips, fastening the straps under and around your raised ass`); if (V.PC.butt <= 3) { t.push(`ass,`); } else if (V.PC.butt <= 4) { t.push(`with some effort,`); } else { t.push(`with a struggle,`); } t.push(`adjusting the attached toy`); } else { t.push(`over your half hard cock before drawing it out, pumping it`); } t.push(`until it's standing tall, ready for ${him} to spread ${his} legs over.`); if (eventSlave.behavioralQuirk === "fitness") { t.push(`${He} barely hesitates`); } else { t.push(`${He} spends a moment hovering`); } t.push(`before ${he} sinks ${his}`); if (canDoVaginal(eventSlave)) { t.push(`pussy`); } else { t.push(`asshole`); } t.push(`down onto the stiff rod with a moan, drawing back up almost immediately and starting an intense`); if (canDoVaginal(eventSlave)) { if (eventSlave.vagina === 0) { t.push(`pace, despite having been a <span class="lime">virgin</span> moments before.`); } else { t.push(`pace.`); } t.push(VCheck.Vaginal(eventSlave, 1)); } else { if (eventSlave.anus === 0) { t.push(`pace, despite having been a <span class="lime">virgin</span> moments before.`); } else { t.push(`pace.`); } t.push(VCheck.Anal(eventSlave, 1)); } App.Events.addParagraph(frag, t); t = []; t.push(`Riding certainly is exhausting, especially if you don't offer any assistance. With no hands on ${his} hips to keep ${him} steady, ${his} hand${hasBothArms(eventSlave) ? "s" : ""} find themselves on your`); if (V.PC.belly < 5000) { if (V.PC.boobs < 300) { t.push(`chest,`); } else if (V.PC.boobs >= 300) { t.push(`tits,`); } else { t.push(`stomach,`); } } else { if (V.PC.bellyPreg > 2000 || V.PC.bellyImplant > 2000) { t.push(`gravid swell,`); } else { t.push(`${V.PC.inflationType}-stuffed belly,`); } } t.push(`fingers curling as ${his} orgasm approaches and a delighted ${canTalk(eventSlave) ? "shout" : "shudder"}`); if (eventSlave.balls !== 0) { t.push(`and a`); if (eventSlave.prostate === 3) { t.push(`flood of cum`); } else if (eventSlave.prostate === 2) { t.push(`splatter of cum`); } else if (eventSlave.prostate === 1) { t.push(`splurt of cum`); } else { t.push(`dribble of fluid`); } } t.push(`announcing it. ${He}'s`); if (eventSlave.behavioralQuirk === "fitness") { t.push(`a little loopy from the rush, but a buck of your hips informs ${him} ${he}'s not finished yet. Delighted,`); } else { t.push(`panting from the exertion, but a buck of your hips informs ${him} ${he}'s not finished yet. It's not as hard and fast this time, but`); } t.push(`${he} pounds ${himself} diligently, only breaking momentarily for increasingly worn out gasps and moans, coating your couch ${eventSlave.balls !== 0 && eventSlave.prostate !== 0 ? "and clothing" : ""} with a mix of fluids each time. Only when ${his} legs refuse to support ${him} anymore and ${his} hips can barely shift do you let ${him} stop, admiring the sweat drenched spent slave draped over your`); if (V.PC.belly < 5000) { t.push(`chest.`); } else { t.push(`belly.`); } App.Events.addParagraph(frag, t); t = []; t.push(`You stretch before gathering ${him} up,`); if (V.PC.belly < 10000) { t.push(`carrying`); } else { t.push(`coaxing`); } t.push(`${him} to the shower to clean ${him} off, teasing another orgasm out of ${him} before you're finished as a reward. ${His} smile is tired but <span class="devotion inc">delighted</span> when you lay ${him} down on clean cushions, <span class="trust inc">pleased</span> that ${he}`); if (eventSlave.behavioralQuirk === "fitness") { t.push(`got such a great workout,`); } else { t.push(`did such a good job,`); } t.push(`before drifting off. ${He}'s earned a nap before ${he} returns to`); switch (eventSlave.assignment) { case Job.REST: t.push(`the dorm,`); break; case Job.HOUSE: t.push(`${his} chores,`); break; case Job.MILKED: t.push(`getting milked,`); break; case Job.PUBLIC: t.push(`${his} slutting,`); break; case Job.FUCKTOY: t.push(`servicing you,`); break; case Job.WHORE: t.push(`selling ${himself},`); break; case Job.CLASSES: t.push(`studying,`); break; case Job.CONFINEMENT: t.push(`${his} solitude,`); break; case Job.GLORYHOLE: t.push(`being used,`); break; case Job.SUBORDINATE: t.push(`serving ${his} superior,`); break; case Job.QUARTER: t.push(`${his} work as a servant,`); break; case Job.CONCUBINE: t.push(`your bed to await another set,`); break; case Job.MASTERSUITE: t.push(`the other fucktoys,`); break; default: t.push(`${his} post,`); } t.push(`especially if ${he} hopes to walk there after <span class="lime">burning so many calories.</span>`); if (eventSlave.behavioralQuirk === "fitness") { eventSlave.devotion += 7; eventSlave.trust += 7; } else { eventSlave.devotion += 3; eventSlave.trust += 3; } eventSlave.weight -= 5; App.Events.addParagraph(frag, t); return frag; } function shoo() { let t = []; t.push(`All that ${he} should be worried about is serving you, not inconsequential changes to ${his} body.`); if (eventSlave.behavioralQuirk === "insecure") { t.push(`That's all ${he} needed to ${canHear(eventSlave) ? "hear" : "know"}. <span class="devotion inc">All's well and good</span> if ${getWrittenTitle(eventSlave)} says so.`); eventSlave.devotion += 3; } else { t.push(`${He} nods in acceptance and silently heads on ${his} way; ${his} thoughts on your indifference is <span class="trust dec">written across ${his} face.</span>`); eventSlave.trust -= 5; } return t; } } };
MonsterMate/fc
src/events/RESS/waistlineWoes.js
JavaScript
mit
20,572
App.Events.RETSSiblingTussle = class RETSSiblingTussle extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.minimumSlaveAge < 18 ]; } actorPrerequisites() { return [ [ // event slave s => s.fetish !== "mindbroken", canStand, hasAnyArms, hasBothLegs, s => s.actualAge < 18, s => s.sisters > 0 ], [ // and her sibling s => s.fetish !== "mindbroken", canStand, hasAnyArms, hasBothLegs, isSlaveAvailable, s => s.actualAge < 18, s => areSisters(getSlave(this.actors[0]), s) > 0, // sibling check s => App.Utils.jobForAssignment(getSlave(this.actors[0]).assignment).facility.employeesIDs().has(s.ID), // lives in the same facility ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [sib1, sib2] = this.actors.map(a => getSlave(a)); const { he, his, him } = getPronouns(sib1); const { He2, he2, his2, him2 } = getPronouns(sib2).appendSuffix("2"); const hostFacility = App.Utils.jobForAssignment(getSlave(this.actors[0]).assignment).facility; V.nextLink = "Next Week"; App.Events.drawEventArt(node, [sib1, sib2], "no clothing"); let t = []; t.push(`As you're conducting your morning rounds, you hear a commotion coming from the shower and dressing area of ${hostFacility.name}.`); App.Events.addParagraph(node, t); t = []; t.push(`Like most siblings who haven't yet developed mature conflict-resolution skills,`); t.push(App.UI.DOM.slaveDescriptionDialog(sib1)); t.push(`and`); t.push(contextualIntro(sib1, sib2, "DOM")); t.push(`sometimes get physical when they annoy one another. Today a tussle has broken out over some minor slight.`); App.Events.addParagraph(node, t); t = []; t.push(`The other slaves around them are mostly ignoring them in their haste to prepare for their workday, but the still wet and naked ${sib1.slaveName} and ${sib2.slaveName} sure manage to get your attention as they hit, kick, and wrestle with each other. You doubt they'll do any lasting damage, and maybe getting some of that hostile energy out will make them more compliant as the day goes on, but you also consider whether imposing some discipline might be a good idea.`); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result("Make them kiss and make up", kissAndMakeUp), // don't think there's a need for an incest guard here, they'll break off early if necessary new App.Events.Result("Punish them together", punish), new App.Events.Result("Just watch and see what happens", watch) ]); function kissAndMakeUp() { const frag = document.createDocumentFragment(); t = []; t.push(`You walk into the dressing area and clear your throat loudly. The other slaves pause what they're doing and turn to look at you, either from devotion or fear.`); t.push(`After a few seconds, ${sib2.slaveName} ${canHear(sib2) ? "realizes" : "manages to realize"} that things have gone strangely quiet and scrambles to stand and pay attention to you, and ${sib1.slaveName} follows suit when ${he} realizes that the nature of their fight has changed.`); App.Events.addParagraph(frag, t); t = []; t.push(`You tell the rest of the slaves to go back to what they were doing while you talk to ${sib1.slaveName} and ${sib2.slaveName}. You explain to the two of them that they have responsibilities to attend to, and that doesn't include fighting with each other, and order them to apologize to one another and kiss. When ${sib2.slaveName} tries to pin the blame for the fight on ${sib1.slaveName}, you cut ${him2} off and tell ${him2} that you're not interested in who started it, just how they're going to resolve it, and that ${he2} won't like what happens if you think ${he2}'s backtalking you.`); App.Events.addParagraph(frag, t); t = []; t.push(`${He2} gets the idea, and apologizes (with somewhat questionable sincerity) to ${sib1.slaveName} for ${his2} part in things. You turn to ${sib1.slaveName} expectantly, and ${he} also apologizes to ${his} ${relativeTerm(sib1, sib2)}, and then leans in for a ${V.seeIncest === 0 ? "chaste" : ""} kiss, as directed.`); App.Events.addParagraph(frag, t); if (V.seeIncest > 0 && (sib1.energy > 60 || sib2.energy > 60)) { if (App.Utils.sexAllowed(sib1, sib2)) { t = []; t.push(`The kiss begins to get a little more heated and they glance at you for permission to continue instead of getting back to work immediately. While you know you should really tell them to get back to work, the rules you've set allow them to go further, and they're at least getting along. And it's pretty hot, so you're keen to watch.`); App.Events.addParagraph(frag, t); t = []; t.push(`As soon as they realize you aren't going to stop them, the kiss gets deeper and the groping starts in earnest.`); if (sib1.dick > 0) { t.push(`${sib2.slaveName} immediately reaches for ${his2} ${relativeTerm(sib2, sib1)}'s dick, fondling and tugging on it to make sure it's hard for what they're about to do.`); } else if (sib1.vagina >= 0) { t.push(`${sib2.slaveName} immediately reaches for ${his2} ${relativeTerm(sib2, sib1)}'s soft slit, rubbing and massaging it to make sure ${he}'s good and wet.`); } else if (sib1.boobs >= 300) { t.push(`${sib2.slaveName} moves ${his2}'s hands to ${his2} ${relativeTerm(sib2, sib1)}'s tits, pawing at them and playing with ${his} ${sib1.nipples} nipples.`); } else { // null with no tits? c'mon... t.push(`${sib2.slaveName} slides ${his2} hand between ${his2} ${relativeTerm(sib2, sib1)}'s thighs, massaging the soft sensitive skin of ${his} crotch.`); } // reverse order and add a couple extra options to try to avoid similar text t.push(`${sib1.slaveName}, meanwhile,`); if (sib2.boobs >= 300) { t.push(`moves ${his}'s hands to ${his} ${relativeTerm(sib1, sib2)}'s tits, pawing at them and playing with ${his2} ${sib1.nipples} nipples.`); } else if (sib2.balls > 0 && sib1.dick > 0) { // avoid double dick groping by going for the balls t.push(`grabs ${his} ${relativeTerm(sib1, sib2)}'s balls, fondling them to make sure ${he2}'s going to make plenty of cum.`); } else if (sib2.dick > 0) { t.push(`grabs ${his} ${relativeTerm(sib1, sib2)}'s dick, fondling and tugging on it to make sure it's hard for what they're about to do.`); } else if (sib2.clit > 0 && sib1.vagina >= 0) { // avoid double vagina groping by going for the clit t.push(`reaches for ${his} ${relativeTerm(sib1, sib2)}'s clit, rubbing and flicking it to make sure ${he2}'s ready for action.`); } else if (sib2.vagina >= 0) { t.push(`reaches for ${his} ${relativeTerm(sib1, sib2)}'s soft slit, rubbing and massaging it to make sure ${he2}'s good and wet.`); } else { t.push(`slides ${his} hand between ${his} ${relativeTerm(sib1, sib2)}'s thighs, massaging the soft sensitive skin of ${his2} crotch.`); } t.push(`Once they're both good and ready, they get on a dressing bench in a classic 69 position, eagerly bringing each other to orgasm orally while you watch.`); seX(sib1, "oral", sib2, "oral"); App.Events.addParagraph(frag, t); } else { t = []; t.push(`The kiss begins to get a little more heated and you clearly see the lust growing in ${sib1.energy > sib2.energy ? sib1.slaveName : sib2.slaveName}'s eyes, but they know the rules and pull apart before they go too far.`); App.Events.addParagraph(frag, t); } } t = []; t.push(`They feel better, and they've both learned to <span class="trust inc">trust</span> and <span class="devotion inc">rely on</span> your judgement.`); App.Events.addParagraph(frag, t); sib1.trust += 2; sib1.devotion += 2; sib2.trust += 2; sib2.devotion += 2; return frag; } function punish() { const frag = document.createDocumentFragment(); t = []; t.push(`You step between the two siblings and take a few weak blows before they realize you're there; you see the fear grow on their faces immediately when they realize how much trouble they're in.`); t.push(`You grab ${sib2.slaveName} by the throat and throw ${him2} to the ground, ordering ${him2} to stay there until you're ready for ${him2}.`); t.push(`Then you push ${sib1.slaveName} into a kneeling position and force your ${V.PC.dick > 0 ? "dick" : "strap-on"} down ${his} throat, facefucking ${him} brutally as you explain that both of them are your property and that every time they fight, they are risking damage to your property.`); App.Events.addParagraph(frag, t); t = []; t.push(`Once you think your message has gotten through, you pull ${sib1.slaveName} off your ${V.PC.dick > 0 ? "dick" : "strap-on"} with a pop, pull ${sib2.slaveName} to ${his2} knees and repeat your chosen punishment on ${him2}.`); t.push(`${sib1.slaveName} kneels obediently, crying quietly as you abuse ${his} ${relativeTerm(sib1, sib2)}.`); t.push(`When you've finished, you're sure both siblings are more likely to <span class="trust dec">respect the rules,</span> out of fear if nothing else.`); App.Events.addParagraph(frag, t); sib1.trust -= 5; sib2.trust -= 5; return frag; } function watch() { const dead1 = deadliness(sib1); const dead2 = deadliness(sib2); if (Math.abs(dead1 - dead2) <= 1) { // fight between equals t = []; t.push(`The two siblings are fairly closely matched in size and skill, and the nude brawl carries on for a few minutes as the other slaves finish preparing for their day. Eventually, ${sib1.slaveName} notices that they're going to be late to work, and they agree to a truce.`); t.push(`As they dress quickly, they see you standing at the door, and a quick flash of <span class="trust dec">fear</span> passes over their faces as they realize you've probably just seen the whole thing.`); t.push(`The fear is replaced with relief when they realize that if you'd wanted to punish them, you probably would have done so already, but they'll leave with the lasting impression that you're always watching.`); sib1.trust -= 2; sib2.trust -= 2; return t; } else { // there's a clear winner const winner = dead1 > dead2 ? sib1 : sib2; const loser = dead1 > dead2 ? sib2 : sib1; const { HeW, HisW, heW, himW, hisW, himselfW } = getPronouns(winner).appendSuffix("W"); const { heL, himL, hisL } = getPronouns(loser).appendSuffix("L"); t = []; t.push(`${winner.slaveName} has a clear advantage over ${hisW} ${relativeTerm(winner, loser)} and quickly subdues ${himL}.`); if (V.seeIncest && App.Utils.sexAllowed(winner, loser) && (winner.energy > 40 || winner.fetish === "dom")) { t.push(`Excited by ${hisW} dominance of ${hisW} weaker ${relativeTerm(winner, loser)}, ${heW} quickly begins to take advantage of ${himL}.`); let sexType = "oral"; if (canPenetrate(winner)) { // no taking of virginities here if (canDoVaginal(loser) && loser.vagina > 0) { t.push(`${HeW} flips ${himL} onto ${hisL} back, spreads ${hisL} legs and positions ${himselfW} to penetrate ${himL}.`); sexType = "vaginal"; } else if (canDoAnal(loser) && loser.anus > 0) { t.push(`${HeW} flips ${himL} onto ${hisL} belly, spreads ${hisL} buttocks and positions ${himselfW} to penetrate ${hisL} ass.`); sexType = "anal"; } } if (sexType === "oral") { t.push(`${HeW} moves over ${loser.slaveName}'s prone body until ${heW}'s above ${hisL} mouth, and orders ${hisW} ${relativeTerm(winner, loser)} to orally service ${himW}.`); } if (loser.fetish === "submissive") { t.push(`${loser.slaveName} enjoys being dominated anyway, so this situation is good for ${himL} too.`); } else if (V.universalRulesConsent === 1) { t.push(`${loser.slaveName} knows he's lost; technically ${heL} could reject ${winner.slaveName}'s advances, but ${heL} isn't exactly opposed to this anyway.`); } else { t.push(`Whether ${loser.slaveName} is OK with this or just accepts that it's happening to ${himL} is unclear, but it doesn't really matter.`); } seX(winner, "penetrative", loser, sexType); if (sexType === "vaginal") { t.push(`${winner.slaveName} slides ${hisW} ${winner.dick > 3 ? "stiff prick" : "hard little dick"} into ${hisW} ${relativeTerm(winner, loser)}'s ${loser.vagina < 2 ? "tight slit" : "cunt"} and starts pounding away.`); if (canImpreg(loser, winner)) { knockMeUp(loser, 10, 0, winner.ID); } } else if (sexType === "anal") { t.push(`${winner.slaveName} slides ${hisW} ${winner.dick > 3 ? "stiff prick" : "hard little dick"} into ${hisW} ${relativeTerm(winner, loser)}'s ${loser.anus < 2 ? "tight ass" : "well-used ass"} and starts pounding away.`); if (canImpreg(loser, winner)) { knockMeUp(loser, 10, 1, winner.ID); } } else { t.push(`${winner.slaveName} encourages ${loser.slaveName} to ${winner.dick > 0 ? `suck ${himW} off` : `eat ${himW} out`} quickly, knowing that they both still have to get to work.`); } if (loser.fetish !== "submissive") { t.push(`It's not long before ${heW} comes, and the two slaves separate to finish getting ready for work. ${winner.slaveName} had fun this morning, but is still clearly <span class="improvement">up for more</span>.`); if (fetishChangeChance(loser) > jsRandom(0, 100)) { loser.fetishKnown = 1; loser.fetish = "submissive"; loser.fetishStrength = 20; t.push(`${loser.slaveName}, meanwhile, really enjoyed the feeling of being dominated by ${hisL} ${relativeTerm(loser, winner)}, and has become <span class="fetish gain">submissive</span>.`); } winner.energy += 4; } else { t.push(`${HisW} ${relativeTerm(winner, loser)} really gets off on ${hisL} submissive position and comes before ${heW} does, and when they're finished they both leave satisfied, <span class="improvement">heightening their sex drives</span>.`); sib1.energy += 4; sib2.energy += 4; } } else { t.push(`${HeW} quickly extracts a promise from ${loser.slaveName} to help ${himW} with ${hisW} work before letting him up, and they resume dressing for work without further incident.`); // no stat changes } return t; } } } };
MonsterMate/fc
src/events/RETS/reSiblingTussle.js
JavaScript
mit
14,425
App.Events.RETSSimpleAssault = class RETSSimpleAssault extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.universalRulesConsent === 0 ]; } actorPrerequisites() { return [ [ // event slave s => s.fetish !== "mindbroken", s => s.rules.release.slaves !== 0, hasAnyArms, canStand, canTalk, canPenetrate, s => s.devotion > 50 ], [ // and her sub s => s.fetish !== "mindbroken", canStand, canTalk, isSlaveAvailable, s => s.relationship <= 2 || s.relationshipTarget !== this.actors[0], s => (canDoAnal(s) && s.anus !== 0) || (canDoVaginal(s) && s.vagina !== 0), s => s.devotion < 20, s => s.belly < 2000, s => s.skill.combat === 0, s => s.muscles <= 30 ] ]; } execute(node) { /** @type {Array<App.Entity.SlaveState>} */ let [domSlave, subSlave] = this.actors.map(a => getSlave(a)); const { He, he, his, him, himself } = getPronouns(domSlave); const { He2, he2, His2, his2, him2 } = getPronouns(subSlave).appendSuffix("2"); const {say, title: Master} = getEnunciation(domSlave); const {title: Master2} = getEnunciation(subSlave); const desc = SlaveTitle(domSlave); /** @type {App.Entity.PlayerState} */ let PC = V.PC; const vaginal = subSlave.vagina !== 0 && canDoVaginal(subSlave); V.nextLink = "Next Week"; App.Events.drawEventArt(node, [domSlave, subSlave], ["no clothing", subSlave.clothes]); let t = []; t.push(`You round a corner and almost trip over`); t.push(App.UI.DOM.combineNodes(App.UI.DOM.slaveDescriptionDialog(domSlave), ".")); t.push(`${He}'s on top of another slave, humping away; ${his}`); if (domSlave.butt > 8) { t.push(`monstrous, naked ass jiggles lewdly`); } else if (domSlave.anus > 2) { t.push(`loose asspussy winks lewdly`); } else if (domSlave.muscles > 30) { t.push(`heavily muscled butt flexes powerfully`); } else if (domSlave.butt > 3) { t.push(`big butt pumps energetically`); } else { t.push(`nice little butt flexes cutely`); } t.push(`as ${he} thrusts. You can't see much of the slave ${vaginal ? `lying on ${his2} back` : "face-down"} underneath ${domSlave.slaveName}, but you recognize ${him2} as `); t.push(contextualIntro(domSlave, subSlave, "DOM")); t.push(`by ${his2} sobbing. ${He2}'s struggling a little, but ${domSlave.slaveName} has ${him2} pinned to the floor by ${his2} ${hasBothArms(subSlave) ? "wrists" : "wrist"}, and ${domSlave.slaveName} is quickly raping the resistance out of the ${SlaveTitle(subSlave)}.`); App.Events.addParagraph(node, t); t = []; t.push(`${domSlave.slaveName} senses your presence above and behind ${him}, and twists ${his} ${domSlave.hColor} head around to ${canSee(domSlave) ? `see who it is. ${He} sees that it's you` : `discern who it is. ${He} realizes that it's you`}, and greets you cheerfully. "${Spoken(domSlave, `Hi, ${Master}`)}," ${he} trills.`); if (domSlave.fetishKnown && domSlave.fetish === "sadist") { t.push(`"${Spoken(domSlave, `This is so awesome`)}," the sadistic ${desc} gushes. "${Spoken(domSlave, `The crying, the struggling. Thank you for letting us do this`)}."`); } else if (domSlave.fetishKnown && domSlave.fetish === "dom") { t.push(`"${Spoken(domSlave, `The crying almost makes me feel bad, but fucking a bitch feels so, so good`)}," the dominant ${desc} admits conversationally.`); } else if (domSlave.fetishKnown && domSlave.fetish === "pregnancy" && vaginal && canImpreg(subSlave, domSlave)) { t.push(`"${Spoken(domSlave, `I couldn't help myself`)}," the ${desc} admits. "${Spoken(domSlave, `${He2}'d look so pretty with a pregnant belly and I just couldn't resist giving ${him2} one. ${He2} tried to say ${he2} didn't want to be a mother, so...`)}"`); } else if (domSlave.energy > 95) { t.push(`"${Spoken(domSlave, `I can't help myself`)}," the nymphomaniac ${desc} admits breathlessly. "${Spoken(domSlave, `Thank you for letting me take what I need from the other girls`)}."`); } else if (domSlave.energy > 60) { t.push(`"${Spoken(domSlave, `I couldn't help myself`)}," the ${desc} admits. "${Spoken(domSlave, `I was really, really horny and ${he2} was just, um, there. And ${he2} tried to say no`)}."`); } else { t.push(`"${Spoken(domSlave, `I know it's not like me`)}," the ${desc} admits. "${Spoken(domSlave, `But I asked ${him2}, like, mostly joking, and ${he2} tried to say no`)}."`); } App.Events.addParagraph(node, t); t = []; t.push(`${subSlave.slaveName} ${vaginal ? `looks out from under ${domSlave.slaveName}` : `turns ${his2} head`} and ${canSee(subSlave) ? "looks at" : "faces"} you too. "${Spoken(subSlave, `${Master2}, please`)}," ${he2} begs. "${Spoken(subSlave, `P-please, make ${him} s-stop — mhhh —`)}" ${domSlave.slaveName} shuts ${him2} up by ${vaginal ? `kissing ${his2} unwilling mouth` : `shoving ${his2} face back against the floor`}. Once ${he} has ${subSlave.slaveName} back under control, ${domSlave.slaveName} slows ${his} thrusting, reaches around behind ${himself}, and ${domSlave.vagina !== 0 && canDoVaginal(domSlave) ? `spreads ${his} futa pussy for you` : `pulls one asscheek aside to offer you ${his} anus. To make the offer extra clear, ${he} starts winking it lewdly`}.`); App.Events.addParagraph(node, t); t = []; t.push(`"${Spoken(domSlave, `Please fuck me while I rape ${him2}, ${Master}`)}," ${domSlave.slaveName} ${say}s in a mockery of ${subSlave.slaveName}'s `); if (subSlave.voice > 2) { t.push(`high-pitched whining.`); } else if (subSlave.voice > 1) { t.push(`begging.`); } else { t.push(`deep-voiced begging.`); } t.push(`"${Spoken(domSlave, `Ooh, or, please, ${Master}, may I flip ${him2} over? I'd love to feel ${PC.dick ? `your cock inside ${him2} alongside mine` : `that strap-on you use inside ${him2} alongside my cock`}`)}!"`); App.Events.addParagraph(node, t); t = []; t.push(`"${Spoken(subSlave, `Please, no`)}," sobs ${subSlave.slaveName}.`); App.Events.addParagraph(node, t); t = []; App.Events.addResponses(node, [ ((canDoAnal(domSlave) && domSlave.anus !== 0) || (canDoVaginal(domSlave) && domSlave.vagina !== 0) ? new App.Events.Result("Slide in behind", behind) : new App.Events.Result() ), new App.Events.Result("Slide in alongside", alongside), new App.Events.Result("Put a stop to it", stop) ]); function behind() { t = []; t.push(`You order ${domSlave.slaveName} to go back to what ${he} was doing. ${He}'s a little disappointed you're not joining in, but ${he} obeys, pounding the crying ${subSlave.slaveName} without mercy. Then ${domSlave.slaveName} feels the head of ${PC.dick ? "your dick" : "a strap-on"} brush ${his} butt. "Ooh!" ${he} squeals, <span class="hotpink">pleased ${he} was wrong after all.</span> "${Spoken(domSlave, `Yes, thank you, ${Master}! Fuck me! Fuck me while I rape ${him2}!`)}" Underneath ${him}, ${subSlave.slaveName} cries harder, even though ${domSlave.slaveName} has to stop ${his} thrusting for a moment to let you inside. In fact, you reflect as you hammer ${domSlave.slaveName}'s`); if (domSlave.vagina !== 0 && canDoVaginal(domSlave)) { if (domSlave.vagina > 2) { t.push(`roomy`); } else if (domSlave.vagina > 1) { t.push(`delectable`); } else { t.push(`tight little`); } t.push(`cunt,`); } else { if (domSlave.anus > 2) { t.push(`gaping`); } else if (domSlave.anus > 1) { t.push(`relaxed`); } else { t.push(`poor little`); } t.push(`asspussy,`); } t.push(`it's a little strange that ${subSlave.slaveName} <span class="gold">seems to think this is worse</span> than just being raped by ${domSlave.slaveName}. After all, having your ${PC.dick ? "turgid cock" : "formidable strap-on"} sliding energetically in and out of ${his} ${domSlave.vagina !== 0 && canDoVaginal(domSlave) ? "womanhood" : "rectum"} is cramping ${domSlave.slaveName}'s style a bit. Maybe it's that ${subSlave.slaveName} is a little squashed under there.`); domSlave.devotion += 4; subSlave.trust -= 4; if (domSlave.vagina !== 0 && canDoVaginal(domSlave)) { seX(domSlave, "vaginal", PC, "penetrative"); if (canImpreg(domSlave, PC)) { t.push(knockMeUp(domSlave, 5, 0, -1, true)); } } else { seX(domSlave, "anal", PC, "penetrative"); if (canImpreg(domSlave, PC)) { t.push(knockMeUp(domSlave, 5, 1, -1, true)); } } if (vaginal) { seX(subSlave, "vaginal", domSlave, "penetrative"); if (canPenetrate(domSlave) && canImpreg(subSlave, domSlave)) { t.push(knockMeUp(subSlave, 5, 0, domSlave.ID, true)); } } else { seX(subSlave, "anal", domSlave, "penetrative"); if (canPenetrate(domSlave) && canImpreg(subSlave, domSlave)) { t.push(knockMeUp(subSlave, 5, 1, domSlave.ID, true)); } } return t; } function alongside() { const fit = vaginal ? subSlave.vagina > 2 : subSlave.anus > 2; t = []; t.push(`You order ${domSlave.slaveName} to flip ${subSlave.slaveName} over and let you in too. Just as you expected, ${domSlave.slaveName} responds with a vicious giggle, and ${subSlave.slaveName} cries even harder. "${Spoken(subSlave, `Please!`)}" ${he2} screams. "${Spoken(subSlave, `${Master2}, it'll hurt! Please don't!`)}"`); if (fit) { t.push(`It's not clear what ${he2}'s so worked up about. ${His2} cavernous ${vaginal ? "cunt" : "asshole"} should be able to take two dicks without trouble.`); } else { if (domSlave.dick < 5) { t.push(`It's not clear what ${he2}'s so worked up about. ${PC.dick ? "You're quite large" : "You use a big strap-on"}, but ${domSlave.slaveName}'s penis is reasonably sized. It's not like ${subSlave.slaveName}'s ${vaginal ? "cunt" : "asshole"} is going to be permanently damaged or anything.`); } else { t.push(`${He2}'s right to be concerned. ${PC.dick ? "You're quite large" : "You use a big strap-on"}, and ${domSlave.slaveName}'s penis is huge too. ${subSlave.slaveName}'s ${vaginal ? "cunt" : "asshole"} is in serious peril.`); } } t.push(`${domSlave.slaveName} pulls out, sits ${his} bare butt down on the floor, and hauls a struggling ${subSlave.slaveName} onto ${his} lap, shoving ${his} stiff prick back where it belongs. Then ${domSlave.slaveName} hauls ${subSlave.slaveName}'s legs back, offering you ${his2} already-occupied hole. ${subSlave.vagina !== 0 && vaginal ? `${subSlave.slaveName} has another hole, and ${he2} tearfully begs you to use it, but in vain.` : ""}`); t.push(`You jam yourself inside, enjoying ${subSlave.slaveName}'s ${!fit ? `wriggling and the extreme tightness of ${his2} overfilled insides. ${He2} spasms with pain as you force your way inside ${him2}` : "wriggling"}. ${domSlave.slaveName} can't thrust much from where ${he} is, and serves mostly to tighten ${subSlave.slaveName} for you, but ${he} ${canSee(domSlave) ? "stares into your eyes lovingly" : "lovingly smiles at you"}. Playing such an equal sexual role with you definitely <span class="mediumaquamarine">builds ${his} trust</span> in ${his} role. For ${his2} part, ${subSlave.slaveName} is <span class="gold">thoroughly degraded,</span> ${fit ? "but physically unhurt." : `and <span class="orange">stretched out.</span>`}`); domSlave.trust += 4; subSlave.trust -= 4; if (vaginal) { seX(subSlave, "vaginal", domSlave, "penetrative"); if (canImpreg(domSlave, PC)) { t.push(knockMeUp(domSlave, 5, 0, -1, true)); } if (canPenetrate(domSlave) && canImpreg(subSlave, domSlave)) { t.push(knockMeUp(subSlave, 5, 0, domSlave.ID, true)); } } else { seX(subSlave, "anal", domSlave, "penetrative"); if (canImpreg(domSlave, PC)) { t.push(knockMeUp(domSlave, 5, 1, -1, true)); } if (canPenetrate(domSlave) && canImpreg(subSlave, domSlave)) { t.push(knockMeUp(subSlave, 5, 1, domSlave.ID, true)); } } if (!fit) { if (vaginal) { subSlave.vagina++; } else { subSlave.anus++; } } return t; } function stop() { t = []; t.push(`You order ${domSlave.slaveName} to stop raping ${subSlave.slaveName}. "${Spoken(domSlave, `Yes, ${Master}`)}," ${he} ${say}s automatically, and gets up, pulling ${his} dick out of ${subSlave.slaveName}'s poor ${vaginal ? "pussy" : "asshole"}. ${domSlave.slaveName} doesn't understand, and ${his} prick softens quickly with ${his} confusion. ${He} thought ${he} didn't need consent to fuck other slaves, and ${he} <span class="gold">doubts ${himself}.</span>`); App.Events.addParagraph(node, t); t = []; t.push(`${subSlave.slaveName} gets to ${his2} feet too, using a hand to massage ${his2} outraged hole. "${Spoken(subSlave, `Thank you, ${Master2}, thank you`)}," ${he2} repeats over and over, <span class="mediumaquamarine">weeping with relief.</span>`); App.Events.addParagraph(node, t); t = []; domSlave.trust -= 4; subSlave.trust += 4; if (vaginal) { seX(subSlave, "vaginal", domSlave, "penetrative"); } else { seX(subSlave, "anal", domSlave, "penetrative"); } return t; } } };
MonsterMate/fc
src/events/RETS/reSimpleAssault.js
JavaScript
mit
13,106
/** @param {string} eventName * @returns {DocumentFragment} */ App.Events.debugEvent = function(eventName) { const frag = document.createDocumentFragment(); /** @type {App.Events.BaseEvent} */ const event = eval(`new ${eventName}`); function makeCastList() { const cast = document.createDocumentFragment(); const actorReqs = event.actorPrerequisites(); let missingCast = false; for (let i = 0; i < actorReqs.length; ++i) { if (!event.actors[i]) { missingCast = true; } App.UI.DOM.appendNewElement("div", cast, `Actor ${i}: ${event.actors[i] ? SlaveFullName(getSlave(event.actors[i])) : 'not yet cast'}`); } if (!missingCast) { App.UI.DOM.appendNewElement("div", cast, App.UI.DOM.link('Run event now', (evt) => { V.event = evt; }, [event], "JS Random Event")); } else { App.UI.DOM.appendNewElement("div", cast, "All actors must be cast to run event.", "note"); } return cast; } function makeActorList() { const actors = document.createDocumentFragment(); const actorReqs = event.actorPrerequisites(); for (let i = 0; i < actorReqs.length; ++i) { let tab = App.UI.DOM.appendNewElement("div", actors); // TODO: put these in tabs? for (const slave of V.slaves) { let slaveDiv = App.UI.DOM.appendNewElement("div", tab, App.UI.DOM.makeElement("span", SlaveFullName(slave), "slave-name")); let slaveFails = false; for (const p of actorReqs[i]) { let passed = testPredicate(slaveDiv, p, slave); slaveFails = slaveFails || !passed; App.UI.DOM.appendNewElement("div", slaveDiv, p.name || p.toString(), [passed ? "green" : "red", "indent"]); } if (!slaveFails) { App.UI.DOM.appendNewElement("div", slaveDiv, App.UI.DOM.link("Choose this slave", castSlave, [slave, i]), "indent"); } App.UI.DOM.appendNewElement("hr", tab); } } return actors; } function castSlave(slave, index) { event.actors[index] = slave.ID; $('#castList').empty().append(makeCastList()); $('#actorList').empty().append(makeActorList()); } function testPredicate(outDiv, p, ...args) { let passed = false; try { passed = p(...args); } catch (ex) { App.UI.DOM.appendNewElement("div", outDiv, p.name || p.toString() + ": Exception: " + ex.toString(), "major-warning"); } return passed; } const prereqs = App.UI.DOM.appendNewElement("div", frag); App.UI.DOM.appendNewElement("span", prereqs, `${eventName} - Global Prerequisites:`, "note"); if (event instanceof App.Events.BaseEvent) { let anyFailed = false; for (const p of event.eventPrerequisites()) { let passed = testPredicate(prereqs, p); anyFailed = anyFailed || !passed; App.UI.DOM.appendNewElement("div", prereqs, p.name || p.toString(), passed ? "green" : "red"); } if (!anyFailed) { // actor casting App.UI.DOM.appendNewElement("div", frag, "All global prerequisites passed, proceeding to casting...", "green"); App.UI.DOM.appendNewElement("hr", frag); const castList = App.UI.DOM.appendNewElement("div", frag, makeCastList()); castList.id = "castList"; App.UI.DOM.appendNewElement("hr", frag); const actorList = App.UI.DOM.appendNewElement("div", frag, makeActorList()); actorList.id = "actorList"; } } else { App.UI.DOM.appendNewElement("div", prereqs, "Specified name does not resolve to an event.", "major-warning"); } return frag; };
MonsterMate/fc
src/events/debugEvent.js
JavaScript
mit
3,345
App.Events.drawEventArt = (function() { const validSingleOutfits = App.Data.slaveWear.niceClothes.map(c => c.value).concat(App.Data.slaveWear.harshClothes.map(c => c.value)); /** draw event art, with the option to dress the slave in a particular way * @param {Node} node - DOM node to attach art to * @param {App.Entity.SlaveState|App.Entity.SlaveState[]} slaves - one or several slaves to draw art for * @param {string|string[]} [clothesMode] - if the slaves' clothing should be overridden, what should they be wearing? * @param {object|object[]} [extraClothes] - if other parts of the slaves' clothing should be overridden, what should they be wearing? For slave.vaginalAccessory, use [{"vaginalAccessory": "dildo"}] */ function draw(node, slaves, clothesMode, extraClothes) { // do nothing if the player doesn't want images if (!V.seeImages) { return; } // ensure that slaves is an array if (!Array.isArray(slaves)) { slaves = [slaves]; } // if we were asked to change the slave's clothing, do it now let originalClothes = []; if (clothesMode || extraClothes) { // if clothesMode is just a single string (or null/undefined), apply the same clothes to all the slaves if (!Array.isArray(clothesMode)) { clothesMode = new Array(slaves.length).fill(clothesMode); } extraClothes = extraClothes || {}; // must be defined if (!Array.isArray(extraClothes)) { extraClothes = new Array(slaves.length).fill(extraClothes); } // if the arrays are not the right length now, throw. it's all or nothing. if (clothesMode.length !== slaves.length || extraClothes.length !== slaves.length) { throw "Incorrect number of outfits specified for slaves in event art"; } // clothes have been specified - copy the slaves and change their clothing (a bit slow, but means we don't need housekeeping to change them back) slaves.forEach((s, i) => { // if there are "themes" of clothes that multiple events want to use ("swimwear", "athletic", "casual", etc), they can be added as special cases here instead of duplicating the logic in every event if (validSingleOutfits.includes(clothesMode[i])) { extraClothes[i].clothes = clothesMode[i]; } else if (!clothesMode[i]) { // no change of outfit, leave them dressed as they were } else { // unrecognized outfit - leave them dressed as they were, but error console.error(`Unrecognized clothes mode for event art: ${clothesMode[i]}`); } originalClothes[i] = equipClothing(s, extraClothes[i]); }); } // actually draw the art - large if single slave, medium column if multiple slaves let artSpan = document.createElement("span"); artSpan.id = "art-frame"; if (slaves.length === 1) { let refDiv = document.createElement("div"); refDiv.classList.add("imageRef", V.imageChoice === 1 ? "lrgVector" : "lrgRender"); let maskDiv = document.createElement("div"); maskDiv.classList.add("mask"); maskDiv.appendChild(document.createTextNode("\u00a0")); refDiv.appendChild(maskDiv); refDiv.appendChild(App.Art.SlaveArtElement(slaves[0], 2, 0)); artSpan.appendChild(refDiv); } else { let colDiv = document.createElement("div"); colDiv.classList.add("imageColumn"); for (const slave of slaves) { let refDiv = document.createElement("div"); refDiv.classList.add("imageRef", "medImg"); refDiv.appendChild(App.Art.SlaveArtElement(slave, 2, 0)); colDiv.appendChild(refDiv); } artSpan.appendChild(colDiv); } node.appendChild(artSpan); // change clothing back, if necessary if (originalClothes.length > 0) { slaves.forEach((s, i) => { Object.assign(s, originalClothes[i]); }); } } return draw; /** * @param {App.Entity.SlaveState} s - one or several slaves to draw art for * @param {object} newClothes */ function equipClothing(s, newClothes) { let oldClothes = {}; if (typeof newClothes === "object") { for (const extra in newClothes) { oldClothes[extra] = s[extra]; s[extra] = newClothes[extra]; } } else { throw "Extra clothes must be in the form of an object."; } return oldClothes; } })(); /** intelligently adds spaces to an array of mixed strings and DOM nodes, merging consecutive strings in the process * @param {Array<string|HTMLElement|DocumentFragment>} sentences * @returns {Array<string|HTMLElement|DocumentFragment>} */ App.Events.spaceSentences = function(sentences) { if (sentences.length <= 1) { return sentences; } return sentences.reduce((res, cur) => { if (res.length === 0) { res.push(cur); } else if (typeof (res[res.length - 1]) === "string") { if (typeof (cur) === "string") { res[res.length - 1] += " " + cur; } else { res[res.length - 1] += " "; res.push(cur); } } else { if (typeof (cur) === "string") { res.push(" " + cur); } else { res.push(" "); res.push(cur); } } return res; }, []); }; /** assemble a DOM paragraph from an array of DOM nodes, sentences or sentence fragments (which may contain HTML) * @param {Node} node * @param {Array<string|HTMLElement|DocumentFragment>} sentences */ App.Events.addParagraph = function(node, sentences) { let para = document.createElement("p"); $(para).append(...App.Events.spaceSentences(sentences)); node.appendChild(para); }; /** assemble an element from an array of DOM nodes, sentences or sentence fragments (which may contain HTML) * @param {Node} node * @param {Array<string|HTMLElement|DocumentFragment>} sentences * @param {string} [element] */ App.Events.addNode = function(node, sentences, element) { const el = (element) ? document.createElement(element) : new DocumentFragment(); $(el).append(...App.Events.spaceSentences(sentences)); node.appendChild(el); }; /** result handler callback - process the result and return an array of mixed strings and DOM nodes, or a single string or DOM node * @callback resultHandler * @returns {Array<string|HTMLElement|DocumentFragment>|string|HTMLElement|DocumentFragment} */ /** a response to an event, and its result */ App.Events.Result = class { /** @param {string} [text] - the link text for the response * @param {resultHandler} [handler] - the function to call to generate the result when the link is clicked * @param {string} [note] - a note to provide alongside the link (for example, a cost or virginity loss warning) * To mark an option as disabled, construct the result with only the note. */ constructor(text, handler, note) { this.text = text; this.handler = handler; this.note = note; } /** call the result handler, replacing the contents of the given span ID * @param {string} resultSpanID */ handle(resultSpanID) { let frag = document.createDocumentFragment(); let contents = this.handler(); if (Array.isArray(contents)) { $(frag).append(...App.Events.spaceSentences(contents)); } else { $(frag).append(contents); } App.UI.DOM.replace(`#${resultSpanID}`, frag); } /** build the response DOM (for use by addResponses) * @param {HTMLElement} node * @returns {boolean} - true if something was written, false if not */ makeResponse(node) { let wrote = false; if (this.text && this.handler) { node.appendChild(App.UI.DOM.link(this.text, () => this.handle(node.id))); wrote = true; } if (wrote && this.note) { $(node).append(" "); } if (this.note) { node.appendChild(App.UI.DOM.makeElement("span", this.note, "detail")); wrote = true; } return wrote; } }; /** add a list of results for an event * @param {Node} node * @param {Array<App.Events.Result>} results * @param {string} [elementID="result"] */ App.Events.addResponses = function(node, results, elementID = "result") { let resultSpan = document.createElement("span"); resultSpan.id = elementID; for (const result of results) { if (result.makeResponse(resultSpan)) { resultSpan.appendChild(document.createElement("br")); } } node.appendChild(resultSpan); }; /** * * @param {App.Entity.SlaveState} slave * @param {string} fetish * @returns {Node} */ App.Events.eventFetish = function(slave, fetish) { const el = new DocumentFragment(); const {his, him, he} = getPronouns(slave); let text = ""; if (slave.fetish === fetish) { el.append(`This experience `); if (slave.fetishKnown === 1) { if (slave.fetishStrength <= 95) { switch (slave.fetish) { case "submissive": text = `deepens ${his} sexual need to submit.`; break; case "cumslut": text = `increases ${his} appetite for oral sex.`; break; case "humiliation": text = `makes ${him} even more eager to be humiliated.`; break; case "buttslut": text = `encourages ${him} to focus on anal sex.`; break; case "boobs": text = `focuses ${his} sexuality on ${his} breasts and nipples.`; break; case "sadist": text = `titillates the sadistic part of ${him}.`; break; case "masochist": text = `helps conflate pain and sexual pleasure for ${him}.`; break; case "dom": text = `strengthens ${his} desire to top other slaves.`; break; case "pregnancy": text = `further confuses lust and pregnancy in ${his} mind.`; break; default: throw `ERROR: bad fetish "${slave.fetish}"`; } App.UI.DOM.appendNewElement("span", el, text, "lightsalmon"); slave.fetishStrength += 10; } else { el.append(`is `); App.UI.DOM.appendNewElement("span", el, `especially enjoyable for ${him},`, "hotpink"); el.append(` since `); switch (slave.fetish) { case "submissive": el.append(`${he}'s an utterly submissive little slut.`); break; case "cumslut": el.append(`${his} `); if (slave.vagina > -1) { el.append(`clit`); } else { el.append(`frenulum`); } el.append(` might as well be located in ${his} throat.`); break; case "humiliation": el.append(`${he} has a hopeless need to be humiliated and degraded.`); break; case "buttslut": el.append(`${he}'s completely in love with having ${his} ass fucked.`); break; case "boobs": el.append(`${he} loves breast play more than any other kind of sex.`); break; case "sadist": el.append(`nothing is as titillating to ${him} as another slave's pain can be.`); break; case "masochist": el.append(`${he} loves pain more than ${he} likes pleasure.`); break; case "dom": el.append(`${he} lives for the times ${he}'s allowed to fuck someone.`); break; case "pregnancy": el.append(`all ${his} deepest sexual desires involve `); if (slave.vagina > -1 || slave.mpreg === 1) { el.append(`pregnancy.`); } else { el.append(`impregnation.`); } break; default: throw `ERROR: bad fetish "${slave.fetish}"`; } slave.devotion += 3; } } else { el.append(`was surprisingly appealing for ${him}, revealing that ${he}'s a `); switch (slave.fetish) { case "submissive": text = `sexual submissive!`; break; case "humiliation": text = `humiliation slut!`; break; case "boobs": text = `slut for breast play!`; break; case "pregnancy": text = `pregslut!`; break; default: text = `slave!`; } App.UI.DOM.appendNewElement("span", el, text, "lightsalmon"); slave.fetishKnown = 1; } } return el; };
MonsterMate/fc
src/events/eventUtils.js
JavaScript
mit
11,503
App.Intro.generateEstablishedArcologies = function() { /* setup */ let allowedFS = ["ArabianRevivalist", "AssetExpansionist", "AztecRevivalist", "BodyPurist", "ChattelReligionist", "ChineseRevivalist", "EdoRevivalist", "EgyptianRevivalist", "Eugenics", "HedonisticDecadence", "IntellectualDependency", "MaturityPreferentialist", "Multiculturalist", "Pastoralist", "Paternalist", "PetiteAdmiration", "PhysicalIdealist", "Repopulationist", "RomanRevivalist", "SlaveProfessionalism", "SlimnessEnthusiast", "StatuesqueGlorification", "Subjugationist", "Supremacist", "TransformationFetishist", "YouthPreferentialist", "NeoImperialist"]; if (V.seeDicks !== 0) { allowedFS.push("GenderRadicalist"); } if (V.seeDicks !== 100) { allowedFS.push("GenderFundamentalist"); } if (V.seeExtreme !== 0) { allowedFS.push("Degradationist"); } const terrainTypes = ["marine", "marine", "oceanic", "ravine", "rural", "rural", "rural", "urban", "urban"]; const continents = ["Africa", "Asia", "Asia", "Australia", "Western Europe", "Southern Europe", "Central Europe", "Eastern Europe", "Scandinavia", "Japan", "North America", "North America", "South America", "the Middle East"]; const races = ["amerindian", "asian", "black", "indo-aryan", "latina", "malay", "middle eastern", "mixed race", "pacific islander", "semitic", "southern european", "white"]; let targets = 4; if (V.PC.career === "arcology owner") { targets += 2; } /* generation */ const fragment = document.createDocumentFragment(); for (let i = 0; i < targets; i++) { fragment.append(arcologyCard()); } return fragment; function arcologyCard() { const arcology = generateArcology(); const div = document.createElement("div"); div.classList.add("card"); div.append(App.UI.DOM.passageLink(arcology.name, "Intro Summary", () => { V.targetArcology = arcology; V.terrain = arcology.terrain; V.continent = arcology.continent; V.language = arcology.language; arcology.apply(); })); div.append(" is an established arcology located in a Free City "); if (arcology.terrain === "urban") { div.append(`carved out of an urban area of ${arcology.continent}.`); } else if (arcology.terrain === "rural") { div.append(`built in a rural area of ${arcology.continent}.`); } else if (arcology.terrain === "marine") { div.append(`constructed just offshore of ${arcology.continent}.`); } else if (arcology.terrain === "ravine") { div.append(`constructed in a large canyon of ${arcology.continent}.`); } else { div.append(`in the middle of the ocean.`); } function newLine(...content) { const line = document.createElement("div"); line.classList.add("indent"); line.append(...content); div.append(line); } if (arcology.prosperity >= 60) { newLine("It is unusually prosperous for a vulnerable arcology."); } else if (arcology.prosperity <= 40) { newLine("It has little economic prosperity and is vulnerable."); } if (arcology.citizens > 0) { newLine("It has an unusually high ratio of citizens to sex slaves, increasing demand for sexual services."); } else if (arcology.citizens < 0) { newLine("It has an unusually low ratio of citizens to sex slaves, reducing demand for sexual services."); } let innerDiv = document.createElement("div"); innerDiv.classList.add("indent"); div.append(innerDiv); innerDiv.append("Its society "); if (arcology.FSProgress >= 50) { innerDiv.append("has advanced towards"); } else if (arcology.FSProgress >= 30) { innerDiv.append("has devoted resources to"); } else { innerDiv.append("has just begun to adopt"); } innerDiv.append(" "); switch (arcology.fs) { case "Supremacist": innerDiv.append(App.UI.DOM.makeElement("span", `Supremacy of the ${arcology.race} ${arcology.race !== "mixed race" ? "race" : ""}.`, ["intro", "question"])); break; case "Subjugationist": innerDiv.append(App.UI.DOM.makeElement("span", `Subjugation of the ${arcology.race} ${arcology.race !== "mixed race" ? "race" : ""}.`, ["intro", "question"])); break; case "GenderRadicalist": innerDiv.append(App.UI.DOM.makeElement("span", `Gender Radicalism,`, ["intro", "question"]), " a movement that supports feminization of slavegirls with dicks."); break; case "GenderFundamentalist": innerDiv.append(App.UI.DOM.makeElement("span", `Gender Fundamentalism,`, ["intro", "question"]), " a reaction to modern libertinism that seeks to reinforce gender roles."); break; case "Paternalist": innerDiv.append(App.UI.DOM.makeElement("span", `Paternalism,`, ["intro", "question"]), " an optimistic strain of slavery that protects and improves slaves."); break; case "Degradationist": innerDiv.append(App.UI.DOM.makeElement("span", `Degradationism,`, ["intro", "question"]), " an extreme branch of modern slavery that treats slaves as subhuman."); break; case "AssetExpansionist": innerDiv.append(App.UI.DOM.makeElement("span", `Asset Expansionism,`, ["intro", "question"]), " a societal preoccupation with expansion of body parts, especially breasts."); break; case "SlimnessEnthusiast": innerDiv.append(App.UI.DOM.makeElement("span", `Slimness Enthusiasm,`, ["intro", "question"]), " an aesthetic movement that fetishizes the lithe female form."); break; case "TransformationFetishist": innerDiv.append(App.UI.DOM.makeElement("span", `Transformation Fetishism,`, ["intro", "question"]), " a focus on implants and other kinds of surgical alteration."); break; case "BodyPurist": innerDiv.append(App.UI.DOM.makeElement("span", `Body Purism,`, ["intro", "question"]), " a reaction to extreme surgical fetishism that prefers bodies grown biologically."); break; case "MaturityPreferentialist": innerDiv.append(App.UI.DOM.makeElement("span", `Maturity Preferentialism,`, ["intro", "question"]), " an appetite for mature slaves based on MILF fetishism."); break; case "YouthPreferentialist": innerDiv.append(App.UI.DOM.makeElement("span", `Youth Preferentialism,`, ["intro", "question"]), " which focuses on youth and virginity in slaves."); break; case "Pastoralist": innerDiv.append(App.UI.DOM.makeElement("span", `Pastoralism,`, ["intro", "question"]), " an appetite for products of the human body, especially milk."); break; case "PhysicalIdealist": innerDiv.append(App.UI.DOM.makeElement("span", `Physical Idealism,`, ["intro", "question"]), " an aspirational movement which fetishizes muscle and physical fitness."); break; case "ChattelReligionist": innerDiv.append(App.UI.DOM.makeElement("span", `Chattel Religionism,`, ["intro", "question"]), " a religious revival in the context of modern slavery."); break; case "RomanRevivalist": innerDiv.append(App.UI.DOM.makeElement("span", `Roman Revivalism,`, ["intro", "question"]), " which seeks to recreate the glory that was ancient Rome."); innerDiv.append(App.UI.DOM.makeElement("div", "It has an established lingua franca: Latin.")); break; case "NeoImperialist": innerDiv.append(App.UI.DOM.makeElement("span", `Neo-Imperialism,`, ["intro", "question"]), "adopting old world customs and remodeling them under an absolutist Imperial fist."); break; case "AztecRevivalist": innerDiv.append(App.UI.DOM.makeElement("span", `Aztec Revivalism,`, ["intro", "question"]), " which aspires to reach the heights of the Aztec Empire at it's peak."); innerDiv.append(App.UI.DOM.makeElement("div", "It has an established lingua franca: Nahuatl.")); break; case "EgyptianRevivalist": innerDiv.append(App.UI.DOM.makeElement("span", `Egyptian Revivalism,`, ["intro", "question"]), " a movement to rebuild the monuments and greatness of ancient Egypt."); innerDiv.append(App.UI.DOM.makeElement("div", "It has an established lingua franca: Ancient Egyptian.")); break; case "EdoRevivalist": innerDiv.append(App.UI.DOM.makeElement("span", `Edo Revivalism,`, ["intro", "question"]), " an insular movement with a focus on the cultural superiority of old Japan."); innerDiv.append(App.UI.DOM.makeElement("div", "It has an established lingua franca: Japanese.")); break; case "ArabianRevivalist": innerDiv.append(App.UI.DOM.makeElement("span", `Arabian Revivalism,`, ["intro", "question"]), " a melding of Arabian history and recent mythology of the Near East."); innerDiv.append(App.UI.DOM.makeElement("div", "It has an established lingua franca: Arabic.")); break; case "ChineseRevivalist": innerDiv.append(App.UI.DOM.makeElement("span", `Chinese Revivalism,`, ["intro", "question"]), " which modernizes the assumed superiority of the Middle Kingdom."); innerDiv.append(App.UI.DOM.makeElement("div", "It has an established lingua franca: Chinese.")); break; case "Repopulationist": innerDiv.append(App.UI.DOM.makeElement("span", `Repopulationism,`, ["intro", "question"]), " the belief that the key to humanity's survival is a child in every fertile womb."); break; case "Eugenics": innerDiv.append(App.UI.DOM.makeElement("span", `Eugenics,`, ["intro", "question"]), " the belief that the world's failings were caused by rampant breeding of the inferior, and as such, only society's best should reproduce."); break; case "HedonisticDecadence": innerDiv.append(App.UI.DOM.makeElement("span", `Decadent Hedonism,`, ["intro", "question"]), " a movement to embody life's pleasures, particularly eating and sex."); break; case "IntellectualDependency": innerDiv.append(App.UI.DOM.makeElement("span", `Intellectual Dependency,`, ["intro", "question"]), " an appetite for horny, stupid slaves based on bimbo fetishism."); break; case "SlaveProfessionalism": innerDiv.append(App.UI.DOM.makeElement("span", `Slave Professionalism,`, ["intro", "question"]), " a strain of slavery that seeks smart, skilled, elegant slaves to hone to perfection."); break; case "PetiteAdmiration": innerDiv.append(App.UI.DOM.makeElement("span", `Petite Admiration,`, ["intro", "question"]), " which prefers its slaves to stand heads and shoulders shorter than their masters."); break; case "StatuesqueGlorification": innerDiv.append(App.UI.DOM.makeElement("span", `Statuesque Glorification,`, ["intro", "question"]), " an obsession, both sexual and otherwise, over height."); break; default: innerDiv.append(App.UI.DOM.makeElement("span", `Multiculturalism,`, ["intro", "question"]), " a celebration of the total liberty that was the original purpose of the Free Cities."); } div.append(innerDiv); div.append(App.UI.DOM.makeElement("span", arcology.building.render(), "intro")); return div; } function generateArcology() { const arcology = {}; arcology.fs = getFS(); arcology.name = getName(); arcology.FSProgress = either(10, 30, 50); arcology.prosperity = either(40, 50, 60); arcology.citizens = random(-1, 1); arcology.terrain = terrainTypes.random(); arcology.continent = continents.random(); arcology.language = getLanguage(); const env = {terrain: arcology.terrain, established: true, fs: arcology.fs}; const preset = App.Arcology.randomPreset(env).construct(env); arcology.building = preset.building; arcology.apply = preset.apply; return arcology; function getFS() { const type = allowedFS.pluck(); if (type === "Supremacist" || type === "Subjugationist") { arcology.race = races.random(); } return type; } function getName() { switch (arcology.fs) { case "Supremacist": switch (arcology.race) { case "white": return setup.ArcologyNamesSupremacistWhite.random(); case "asian": return setup.ArcologyNamesSupremacistAsian.random(); case "latina": return setup.ArcologyNamesSupremacistLatina.random(); case "middle eastern": return setup.ArcologyNamesSupremacistMiddleEastern.random(); case "black": return setup.ArcologyNamesSupremacistBlack.random(); case "indo-aryan": return setup.ArcologyNamesSupremacistIndoAryan.random(); case "pacific islander": return setup.ArcologyNamesSupremacistPacificIslander.random(); case "malay": return setup.ArcologyNamesSupremacistMalay.random(); case "amerindian": return setup.ArcologyNamesSupremacistAmerindian.random(); case "southern european": return setup.ArcologyNamesSupremacistSouthernEuropean.random(); case "semitic": return setup.ArcologyNamesSupremacistSemitic.random(); default: return setup.ArcologyNamesSupremacistMixedRace.random(); } case "Subjugationist": switch (arcology.race) { case "white": return setup.ArcologyNamesSubjugationistWhite.random(); case "asian": return setup.ArcologyNamesSubjugationistAsian.random(); case "latina": return setup.ArcologyNamesSubjugationistLatina.random(); case "middle eastern": return setup.ArcologyNamesSubjugationistMiddleEastern.random(); case "black": return setup.ArcologyNamesSubjugationistBlack.random(); case "indo-aryan": return setup.ArcologyNamesSubjugationistIndoAryan.random(); case "pacific islander": return setup.ArcologyNamesSubjugationistPacificIslander.random(); case "malay": return setup.ArcologyNamesSubjugationistMalay.random(); case "amerindian": return setup.ArcologyNamesSubjugationistAmerindian.random(); case "southern european": return setup.ArcologyNamesSubjugationistSouthernEuropean.random(); case "semitic": return setup.ArcologyNamesSubjugationistSemitic.random(); default: return setup.ArcologyNamesSubjugationistMixedRace.random(); } case "GenderRadicalist": return setup.ArcologyNamesGenderRadicalist.random(); case "GenderFundamentalist": return setup.ArcologyNamesGenderFundamentalist.random(); case "Paternalist": return setup.ArcologyNamesPaternalist.random(); case "Degradationist": return setup.ArcologyNamesDegradationist.random(); case "AssetExpansionist": return setup.ArcologyNamesAssetExpansionist.random(); case "SlimnessEnthusiast": return setup.ArcologyNamesSlimnessEnthusiast.random(); case "TransformationFetishist": return setup.ArcologyNamesTransformationFetishist.random(); case "BodyPurist": return setup.ArcologyNamesBodyPurist.random(); case "MaturityPreferentialist": return setup.ArcologyNamesMaturityPreferentialist.random(); case "YouthPreferentialist": if (V.pedo_mode === 1 || V.minimumSlaveAge < 6) { return setup.ArcologyNamesYouthPreferentialistLow.random(); } else if (V.minimumSlaveAge < 14) { return setup.ArcologyNamesYouthPreferentialist.concat(setup.ArcologyNamesYouthPreferentialistLow).random(); } else { return setup.ArcologyNamesYouthPreferentialist.random(); } case "Pastoralist": return setup.ArcologyNamesPastoralist.random(); case "PhysicalIdealist": return setup.ArcologyNamesPhysicalIdealist.random(); case "ChattelReligionist": return setup.ArcologyNamesChattelReligionist.random(); case "RomanRevivalist": return setup.ArcologyNamesRomanRevivalist.random(); case "NeoImperialist": return setup.ArcologyNamesNeoImperialist.random(); case "AztecRevivalist": return setup.ArcologyNamesAztecRevivalist.random(); case "EgyptianRevivalist": return setup.ArcologyNamesEgyptianRevivalist.random(); case "EdoRevivalist": return setup.ArcologyNamesEdoRevivalist.random(); case "ArabianRevivalist": return setup.ArcologyNamesArabianRevivalist.random(); case "ChineseRevivalist": return setup.ArcologyNamesChineseRevivalist.random(); case "Repopulationist": return setup.ArcologyNamesRepopulationist.random(); case "Eugenics": return setup.ArcologyNamesEugenics.random(); case "HedonisticDecadence": return setup.ArcologyNamesHedonisticDecadence.random(); case "IntellectualDependency": return setup.ArcologyNamesIntellectualDependency.random(); case "SlaveProfessionalism": return setup.ArcologyNamesSlaveProfessionalism.random(); case "PetiteAdmiration": return setup.ArcologyNamesPetiteAdmiration.random(); case "StatuesqueGlorification": return setup.ArcologyNamesStatuesqueGlorification.random(); default: return "Arcology X-4"; } } function getLanguage() { switch (arcology.fs) { case "RomanRevivalist": return "Latin"; case "AztecRevivalist": return "Nahuatl"; case "EgyptianRevivalist": return "Ancient Egyptian"; case "EdoRevivalist": return "Japanese"; case "ArabianRevivalist": return "Arabic"; case "ChineseRevivalist": return "Chinese"; default: switch (arcology.terrain) { case "South America": return "Spanish"; case "Brazil": return "Portuguese"; case "the Middle East": case "Africa": /* shouldn't that be portuguese, spanish or something? */ return "Arabic"; case "Asia": return "Chinese"; case "Central Europe": return "German"; case "Eastern Europe": return "Russian"; case "Western Europe": return "English"; case "Southern Europe": return "Italian"; case "Scandinavia": return "Norwegian"; case "Japan": return "Japanese"; case "oceanic": case "North America": case "Australia": default: return "English"; } } } } };
MonsterMate/fc
src/events/intro/arcologySelection.js
JavaScript
mit
17,686
.customize-slave-trade-ul { list-style-type: none; content: ''; width: 100%; display: inline-block; } .customize-slave-trade-li-container { float: right; width: 5em; text-align: left; } .customize-slave-trade-li { text-align: center; display: inline-block; padding: 2px; width: 15em; } span.plusButton { display: inline-block; line-height: 25px; width: 20px; text-align: center; border: 1px solid rgba(0, 139, 0, 0.3); background: rgba(0, 139, 0, 0.2); margin: 2px; } span.minusButton { display: inline-block; line-height: 25px; width: 20px; text-align: center; border: 1px solid rgba(184, 0, 0, 0.3); background: rgba(184, 0, 0, 0.2); margin: 2px; } span.zeroButton { display: inline-block; line-height: 25px; width: 20px; text-align: center; border: 1px solid rgba(0, 0, 255, 0.3); background: rgba(0, 0, 255, 0.2); margin: 2px; } span.plusButton:hover { background: rgba(0, 139, 0, 0.4); } span.minusButton:hover { background: rgba(184, 0, 0, 0.4); } span.zeroButton:hover { background: rgba(0, 0, 255, 0.4); } span.plusButton > a { display: block; } span.minusButton > a { display: block; } span.zeroButton > a { display: block; } span.plusButton > a:hover { text-decoration: none; } span.minusButton > a:hover { text-decoration: none; } span.zeroButton > a:hover { text-decoration: none; }
MonsterMate/fc
src/events/intro/customizeSlaveTrade/customizeSlaveTrade.css
CSS
mit
1,358
App.UI.CustomSlaveTrade = function() { const frag = new DocumentFragment(); let span = document.createElement("span"); let baseControlsFilter = "all"; App.UI.DOM.appendNewElement("p", frag, `When civilization turned upon itself, some countries readily took to enslaving their own. Others were raided by their neighbors for their desirable, and profitable, citizens. Which nationalities were most affected by the booming slave trade, and thus, likely to appear in your local slave markets?`); App.UI.DOM.appendNewElement("p", frag, `+ to increase pop. – to reduce pop. 0 to remove entirely`, "bold"); span.id = "pop-control"; span.append(baseNationalitiesControls()); frag.append(span); return frag; function baseNationalitiesControls() { const frag = new DocumentFragment(); let p = document.createElement("p"); let destination; let div; let array; let list; let span; const nationalitiesCheck = App.UI.nationalitiesCheck(); if (hashSum(V.nationalities) < 1) { App.UI.DOM.appendNewElement("div", p, `You cannot be a slaveowner without a slave trade. Please add nationalities to continue.`, "note"); } else { destination = (V.customWA === 0) ? "Intro Summary" : "Extreme Intro"; App.UI.DOM.appendNewElement( "div", p, App.UI.DOM.passageLink( "Confirm customization", destination, () => baseControlsFilter = undefined ) ); } frag.append(p); App.UI.DOM.appendNewElement("p", frag, App.UI.nationalitiesDisplay()); p = document.createElement("p"); /* Fine control tweaking of populations */ App.UI.DOM.appendNewElement("div", p, `Adjust slave populations:`); p.append(sectionBreak()); /* Filter controls */ div = document.createElement("div"); App.UI.DOM.appendNewElement("span", div, `Filter by Race: `); array = []; for (let i = 0; i < setup.filterRaces.length; i++) { const race = setup.filterRaces[i]; if (baseControlsFilter === uncapFirstChar(race).replace(/[ -]/g, '')) { array.push( App.UI.DOM.disabledLink( race, ["currently selected race"] ) ); } else { array.push( App.UI.DOM.link( race, () => { baseControlsFilter = uncapFirstChar(setup.filterRaces[i]).replace(/[ -]/g, ''); refresh(); } ) ); } } div.append(App.UI.DOM.generateLinksStrip(array)); p.append(div); div = document.createElement("div"); App.UI.DOM.appendNewElement("span", div, `Filter by Region: `); array = []; for (let i = 0; i < setup.filterRegions.length; i++) { const region = setup.filterRegions[i]; if (baseControlsFilter === uncapFirstChar(region).replace(/[ -]/g, '')) { array.push( App.UI.DOM.disabledLink( region, ["currently selected region"] ) ); } else { array.push( App.UI.DOM.link( region, () => { baseControlsFilter = uncapFirstChar(setup.filterRegions[i]).replace(/[ -]/g, ''); refresh(); } ) ); } } div.append(App.UI.DOM.generateLinksStrip(array)); p.append(div); p.append(sectionBreak()); div = document.createElement("div"); div.style.whiteSpace = "nowrap"; div.style.float = "left"; /* Unfiltered pop controls */ list = document.createElement("UL"); list.classList.add("customize-slave-trade-ul"); if (baseControlsFilter === "all") { for (let i = 0; i < setup.baseNationalities.length; i++) { const nation = setup.baseNationalities[i]; const li = document.createElement("LI"); li.classList.add("customize-slave-trade-li"); li.append(nation); span = document.createElement("span"); span.classList.add("customize-slave-trade-li-container"); App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `+`, () => { hashPush(V.nationalities, setup.baseNationalities[i]); refresh(); } ), "plusButton" ); if (nationalitiesCheck[nation]) { App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `-`, () => { V.nationalities[setup.baseNationalities[i]] -= 1; if (V.nationalities[setup.baseNationalities[i]] <= 0) { delete V.nationalities[setup.baseNationalities[i]]; } refresh(); } ), "minusButton" ); } if (V.nationalities[nation] > 1) { App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `0`, () => { delete V.nationalities[setup.baseNationalities[i]]; refresh(); } ), "zeroButton" ); } li.append(span); list.append(li); } p.append(list); App.UI.DOM.appendNewElement("div", p, `By dominant race/ethnicity (hover over the name to see the nationalities affected):`); list = document.createElement("UL"); list.classList.add("customize-slave-trade-ul"); for (const race of setup.filterRaces) { const racialNationalities = setup.baseNationalities.filter(function(n) { let races = setup.raceSelector[n] || setup.raceSelector['']; return races[uncapFirstChar(race)] * 3.5 > hashSum(races); }); if (racialNationalities.length > 0) { const li = document.createElement("LI"); li.classList.add("customize-slave-trade-li"); li.title = racialNationalities.length > 0 ? racialNationalities.join(", ") : "(none)"; li.append(race); span = document.createElement("span"); span.classList.add("customize-slave-trade-li-container"); App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `+`, () => { setup.baseNationalities.filter(function(n) { let races = setup.raceSelector[n] || setup.raceSelector['']; return races[uncapFirstChar(race)] * 3.5 > hashSum(races); }).forEach(function(n) { hashPush(V.nationalities, n); }); refresh(); } ), "plusButton" ); App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `0`, () => { setup.baseNationalities.filter(function(n) { let races = setup.raceSelector[n] || setup.raceSelector['']; return races[uncapFirstChar(race)] * 3.5 > hashSum(races); }).forEach(function(n) { delete V.nationalities[n]; }); refresh(); } ), "zeroButton" ); li.append(span); list.append(li); } } } else { /* Filtered pop controls */ const controlsNationality = setup[baseControlsFilter + 'Nationalities']; const keys = Object.keys(controlsNationality); for (let i = 0; i < keys.length; i++) { const li = document.createElement("LI"); li.classList.add("customize-slave-trade-li"); const nation = keys[i]; li.append(nation); span = document.createElement("span"); span.classList.add("customize-slave-trade-li-container"); App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `+`, () => { hashPush(V.nationalities, keys[i]); refresh(); } ), "plusButton" ); if (nationalitiesCheck[nation]) { App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `-`, () => { V.nationalities[keys[i]] -= 1; if (V.nationalities[keys[i]] <= 0) { delete V.nationalities[keys[i]]; } refresh(); } ), "minusButton" ); } if (V.nationalities[nation] > 1) { App.UI.DOM.appendNewElement( "span", span, App.UI.DOM.link( `0`, () => { delete V.nationalities[keys[i]]; refresh(); } ), "zeroButton" ); } li.append(span); list.append(li); } } p.append(list); frag.append(p); div = document.createElement("div"); div.append( App.UI.DOM.link( "Reset filters", () => { baseControlsFilter = "all"; refresh(); } ) ); div.append(" | "); div.append( App.UI.DOM.link( "Clear all nationalities", () => { V.nationalities = {}; refresh(); } ) ); frag.append(div); frag.append(sectionBreak()); div = document.createElement("div"); div.append(`Vanilla presets: `); div.append(generatePresetLinks("Vanilla")); frag.append(div); div = document.createElement("div"); div.append(`Mod presets: `); div.append(generatePresetLinks("Mod")); frag.append(div); p = document.createElement("p"); App.UI.DOM.appendNewElement( "span", p, App.UI.DOM.link( "Export Settings", () => { settingsExport(); } ) ); p.append(" | "); App.UI.DOM.appendNewElement( "span", p, App.UI.DOM.link( "Import Settings", () => { settingsImport(); } ) ); frag.append(p); div = document.createElement("div"); div.id = "importExportArea"; frag.append(div); return frag; } function sectionBreak() { const hr = document.createElement("hr"); hr.style.margin = "0"; return hr; } function refresh() { return jQuery('#pop-control').empty().append(baseNationalitiesControls()); } function settingsExport() { let textArea = document.createElement("textarea"); textArea.value = JSON.stringify(V.nationalities); $("#importExportArea").html(textArea); } function settingsImport() { let textArea = document.createElement("textarea"); let button = document.createElement("button"); button.name = "Load"; button.innerHTML = "Load"; button.onclick = () => { V.nationalities = JSON.parse(textArea.value); State.display(State.passage); }; $("#importExportArea").html("").append(textArea).append(button); } function generatePresetLinks(group) { let links = []; for (const [name, nationalities] of App.Data.NationalityPresets[group]) { links.push( App.UI.DOM.link( name, () => { V.nationalities = nationalities; refresh(); } ) ); } return App.UI.DOM.generateLinksStrip(links); } }; App.UI.nationalitiesDisplay = function() { const p = document.createElement("p"); /* Generates cloned array of V.nationalities, removing duplicates and then sorting */ const nationalitiesCheck = App.UI.nationalitiesCheck(); /* Prints distribution of V.nationalities, using nationalitiesCheck to render array */ let percentPerPoint = 100.0 / hashSum(V.nationalities); let len = Object.keys(nationalitiesCheck).length; let j = 0; for (const nation in nationalitiesCheck) { const span = document.createElement("span"); span.append(`${nation} `); App.UI.DOM.appendNewElement("span", span, (V.nationalities[nation] * percentPerPoint).toFixed(2), "orange"); j++; if (j < len) { span.append(` | `); } p.append(span); } return p; }; App.UI.nationalitiesCheck = function() { return Object.assign( { // Player can add custom nations here. }, V.nationalities); };
MonsterMate/fc
src/events/intro/customizeSlaveTrade/customizeSlaveTrade.js
JavaScript
mit
10,908
:: Customize Slave Trade [nobr] <<if ndef $nationalities>> <<set $nationalities = {}>> <</if>> <<if ndef $customWA>> <<set $customWA = 0>> <</if>> <<includeDOM App.UI.CustomSlaveTrade()>>
MonsterMate/fc
src/events/intro/customizeSlaveTrade/customizeSlaveTrade.tw
tw
mit
192
:: Economy Intro [nobr] <<if $PC.career == "arcology owner" || $saveImported == 1>> <<goto "Takeover Target">> <<else>> <p> It is the year 2037, and the past 21 years have not been kind. The world is starting to fall apart. The climate is deteriorating, resources are being exhausted, and there are more people to feed every year. Technology is advancing, but not fast enough to save everyone. <span class="intro question">Exactly how bad is the situation?</span> </p> <p> <<if $baseDifficulty == 1>> <div> <span style="font-weight:Bold"> Not truly dire. Not yet. </span> <span class="note"> Very Easy </span> </div> <div> [[Harder|Economy Intro][$economy = 125, $baseDifficulty = 2]] </div> <<elseif $baseDifficulty == 2>> <div> <span style="font-weight:Bold"> Getting a touch dire. </span> <span class="note"> Easy </span> </div> <div> [[Harder|Economy Intro][$economy = 100, $baseDifficulty = 3]] | [[Easier|Economy Intro][$economy = 200, $baseDifficulty = 1]] </div> <<elseif $baseDifficulty == 3>> <div> <span style="font-weight:Bold"> Very serious. </span> <span class="note"> Default Difficulty </span> </div> <div> [[Harder|Economy Intro][$economy = 80, $baseDifficulty = 4]] | [[Easier|Economy Intro][$economy = 125, $baseDifficulty = 2]] </div> <<elseif $baseDifficulty == 4>> <div> <span style="font-weight:Bold"> It won't be pretty. </span> <span class="note"> Hard </span> </div> <div> [[Harder|Economy Intro][$economy = 67, $baseDifficulty = 5]] | [[Easier|Economy Intro][$economy = 100, $baseDifficulty = 3]] </div> <<else>> <div> <span style="font-weight:Bold"> This is the last dance. </span> </div> <div> <span class="note"> Very Hard </span> </div> <div> [[Easier|Economy Intro][$economy = 80, $baseDifficulty = 4]] </div> <</if>> </p> /*Economy settings*/ <p> <span class="intro question"> How fast is it crumbling? </span> <span class="note"> Some economic content requires this to be set to harder than vanilla </span> <<if $difficultySwitch == 0>> <div> <span style="font-weight:Bold"> Barely noticeable, for now. </span> <span class="note"> Vanilla </span> </div> <div> [[Harder|Economy Intro][$econRate = 1, $difficultySwitch = 1]] </div> <<elseif $econRate == 1>> <div> <span style="font-weight:Bold"> A slow decline. </span> <span class="note"> Easy </span> </div> <div> [[Harder|Economy Intro][$econRate = 2]] | [[Easier|Economy Intro][$difficultySwitch = 0]] </div> <<elseif $econRate == 2>> <div> <span style="font-weight:Bold"> It's visibly deteriorating before your eyes. </span> <span class="note"> Default Difficulty </span> </div> <div> [[Harder|Economy Intro][$econRate = 4]] | [[Easier|Economy Intro][$econRate = 1]] </div> <<else>> <div> <span style="font-weight:Bold"> It's going to hell in a handbasket. </span> <span class="note"> Hard </span> </div> <div> [[Easier|Economy Intro][$econRate = 2]] </div> <</if>> /* Not functional yet, place $incomeRate = 1 in storyInit when ready for use <div> All the things you need to run your arcology are getting more expensive <<if $incomeMod == 0>> while all forms of income <span style="font-weight:Bold">remain static</span>. [[Easier|Economy Intro][$incomeRate = 1]] <<elseif $incomeMod == 1>> while all forms of income <span style="font-weight:Bold">rise but cannot keep pace</span>. [[Easier|Economy Intro][$incomeRate = 2]] | [[Harder|Economy Intro][$incomeRate = 0]] <<else>> but luckily all forms of income <span style="font-weight:Bold">rise in lockstep</span>. [[Harder|Economy Intro][$incomeRate = 1]] <</if>> </div> <div> [[Play with static economy|Economy Intro][$difficultySwitch = 0]] </div> */ </p> <p> [[Next|Trade Intro]] </p> <p> [[Skip Intro|Intro Summary]] <span class="note"> This will preclude you from taking over an established arcology. </span> </p> <</if>>
MonsterMate/fc
src/events/intro/economyIntro.tw
tw
mit
4,190
:: Extreme Intro [nobr] <p> The early Free Cities were wild places where the writ of law did not run. In some of the most depraved, slaves' bodies, minds and even lives were playthings of the wealthy and powerful. Though modern Free Cities are tremendously varied, a majority of the new communities made a choice about whether extreme practices were a flaw in a lawless society or one of its benefits. <span class="intro question"> How did most Free Cities react to the excesses of the early days? </span> </p> <div> [[They drew back from them.|Gender Intro][$seeExtreme = 0]] <span class="note"> Extreme content such as amputation and castration will not appear. </span> </div> <div> [[They reveled in them.|Gender Intro][$seeExtreme = 1]] <span class="note"> Extreme content will appear. </span> </div> <div> [[They drew back from them, but remained creative.|Gender Intro][$seeExtreme = 0,$seeHyperPreg = 1]] <span class="note"> Extreme content will not appear, but hyper-pregnancy related content might appear. </span> </div> <div> [[They reveled in them and were particularly inventive.|Gender Intro][$seeExtreme = 1,$seeHyperPreg = 1]] <span class="note"> Extreme content will appear, including hyper-pregnancy related content </span> </div>
MonsterMate/fc
src/events/intro/extremeIntro.tw
tw
mit
1,275
:: Gender Intro [nobr] <p> The Free Cities are sexually libertine places, and sexual slavery is ubiquitous. Some of the early Free Cities upheld or even strengthened traditional gender roles, expecting men to be men and women to be women. Others subscribed to an interesting refinement of those gender roles, considering any sex slave female, regardless of her biology. A small minority even went so far as to strongly favor societal feminization of slaves born male; in these, biologically female slaves were a rare sight. <span class="intro question"> Which kind of Free City came to predominate? </span> </p> <div> [[Free Cities that were open-minded about who could be a slave girl.|Slave Age Intro][$seeDicks = 25]] <span class="note"> Default setting. The majority of slaves will be biologically female, and all content will be available. </span> </div> <div> [[Free Cities that understood that girls are girls.|Slave Age Intro][$seeDicks = 0]] <span class="note"> Almost all slaves will be biologically female, restricting some content. </span> </div> <div> [[Free Cities that understood that girls are girls with some exceptions.|Slave Age Intro][$makeDicks = 1, $seeDicks = 0]] <span class="note"> This option will make almost all generated slaves female, but will allow for the attachment of a certain organ through surgery. </span> </div> <div> [[Free Cities that preferred girls with dicks.|Slave Age Intro][$seeDicks = 100]] <span class="note"> Almost all slaves will be biologically male, restricting some content. </span> </div>
MonsterMate/fc
src/events/intro/genderIntro.tw
tw
mit
1,571
App.Intro.initNationalities = function() { function initSecExp() { /* base vars */ App.SecExp.generalInit(); V.fort = { reactor: 0, waterway: 0, assistant:0 }; V.garrison = { penthouse: 0, reactor: 0, assistant: 0, waterway: 0, reactorTime: 0, assistantTime: 0, waterwayTime: 0 }; if (V.wasToggledBefore === 0) { if (V.mercenaries === 1) { V.mercFreeManpower = jsRandom(5, 20); } else if (V.mercenaries > 1) { V.mercFreeManpower = jsRandom(10, 30); } } } function applyPCQualities() { resetEyeColor(V.PC); generatePlayerPronouns(V.PC); if (V.PC.career === "wealth") { V.trinkets.push("a collection of diplomas from expensive schools"); cashX(10000, "personalBusiness"); } else if (V.PC.career === "capitalist") { V.trinkets.push("a framed low denomination piece of paper money from your native country"); } else if (V.PC.career === "mercenary") { V.trinkets.push("a battered old assault rifle"); } else if (V.PC.career === "slaver") { V.trinkets.push("a framed picture of a slave with her sale price scrawled across the bottom"); } else if (V.PC.career === "engineer") { V.trinkets.push("an artist's impression of an early arcology design"); V.arcologyUpgrade.drones = 1; V.arcologyUpgrade.hydro = 1; if (V.secExpEnabled > 0) { V.secBots = App.SecExp.generateUnit("bots"); } } else if (V.PC.career === "medicine") { V.trinkets.push("a framed postsurgical x-ray"); V.surgeryCost = Math.trunc(V.surgeryCost/2); } else if (V.PC.career === "celebrity") { V.trinkets.push("a framed copy of the first news story featuring yourself"); repX(4000, "event"); } else if (V.PC.career === "arcology owner") { V.trinkets.push("a miniature model of your first arcology"); repX(2000, "event"); } else if (V.PC.career === "escort") { V.trinkets.push("a copy of the first porno you starred in"); } else if (V.PC.career === "servant") { V.trinkets.push("a framed picture of your late Master"); } else if (V.PC.career === "gang") { V.trinkets.push("your favorite handgun, whose sight has instilled fear in many"); } else if (V.PC.career === "BlackHat") { V.trinkets.push("a news clipping of your first successful live hack"); } if (V.PC.rumor === "wealth") { cashX(10000, "personalBusiness"); } else if (V.PC.rumor === "social engineering") { V.FSAnnounced = 1; V.FSGotRepCredits = 1; } else if (V.PC.rumor === "luck") { repX(4000, "event"); } if (V.PC.visualAge >= 50) { repX(2000, "event"); } else if (V.PC.visualAge < 35) { if (V.rep >= 2000) { repX(-2000, "event"); } else { /* set rep to zero */ repX(forceNeg(Math.abs(V.rep)), "event"); } } } function initArcologies() { const seed = ["east", "north", "northeast", "northwest", "south", "southeast", "southwest", "west"]; const govtypes = ["a committee", "a corporation", "an individual", "an oligarchy", "direct democracy", "elected officials"]; V.neighboringArcologies = variableAsNumber(V.neighboringArcologies, 0, 8, 3); for (let i = 0; i <= V.neighboringArcologies; i++) { /** @type {FC.ArcologyState} */ const newArcology = { name: "", direction: "north", government: "an individual", leaderID: 0, honeymoon: 0, prosperity: 50, ownership: 50, minority: 20, PCminority: 0, demandFactor: 0, FSSupremacist: "unset", FSSupremacistRace: 0, FSSubjugationist: "unset", FSSubjugationistRace: 0, FSGenderRadicalist: "unset", FSGenderFundamentalist: "unset", FSPaternalist: "unset", FSDegradationist: "unset", FSBodyPurist: "unset", FSTransformationFetishist: "unset", FSYouthPreferentialist: "unset", FSMaturityPreferentialist: "unset", FSSlimnessEnthusiast: "unset", FSAssetExpansionist: "unset", FSPastoralist: "unset", FSPhysicalIdealist: "unset", FSChattelReligionist: "unset", FSRomanRevivalist: "unset", FSAztecRevivalist: "unset", FSEgyptianRevivalist: "unset", FSEdoRevivalist: "unset", FSNeoImperialist: "unset", FSArabianRevivalist: "unset", FSChineseRevivalist: "unset", FSNull: "unset", embargo: 1, embargoTarget: -1, influenceTarget: -1, influenceBonus: 0, CyberEconomic: 1, CyberEconomicTarget: -1, CyberReputation: 1, CyberReputationTarget: -1, rival: 0, FSRestart: "unset", FSRepopulationFocus: "unset", FSHedonisticDecadence: "unset", FSIntellectualDependency: "unset", FSSlaveProfessionalism: "unset", FSPetiteAdmiration: "unset", FSStatuesqueGlorification: "unset", FSCummunism: "unset", FSIncestFetishist: "unset", FSGenderRadicalistResearch: 0, FSGenderFundamentalistResearch: 0, FSPaternalistResearch: 0, FSDegradationistResearch: 0, FSBodyPuristResearch: 0, FSTransformationFetishistResearch: 0, FSYouthPreferentialistResearch: 0, FSMaturityPreferentialistResearch: 0, FSSlimnessEnthusiastResearch: 0, FSAssetExpansionistResearch: 0, FSPastoralistResearch: 0, FSPhysicalIdealistResearch: 0, FSRepopulationFocusResearch: 0, FSRestartResearch: 0, FSHedonisticDecadenceResearch: 0, FSHedonisticDecadenceDietResearch: 0, FSIntellectualDependencyResearch: 0, FSSlaveProfessionalismResearch: 0, FSPetiteAdmirationResearch: 0, FSStatuesqueGlorificationResearch: 0, FSCummunismResearch: 0, FSIncestFetishistResearch: 0 }; if (i === 0) { newArcology.direction = 0; newArcology.name = "Arcology X-4"; newArcology.FSSupremacistDecoration = 20; newArcology.FSSubjugationistDecoration = 20; newArcology.FSGenderRadicalistDecoration = 20; newArcology.FSGenderFundamentalistDecoration = 20; newArcology.FSPaternalistDecoration = 20; newArcology.FSDegradationistDecoration = 20; newArcology.FSBodyPuristDecoration = 20; newArcology.FSTransformationFetishistDecoration = 20; newArcology.FSYouthPreferentialistDecoration = 20; newArcology.FSMaturityPreferentialistDecoration = 20; newArcology.FSSlimnessEnthusiastDecoration = 20; newArcology.FSAssetExpansionistDecoration = 20; newArcology.FSPastoralistDecoration = 20; newArcology.FSPhysicalIdealistDecoration = 20; newArcology.FSChattelReligionistDecoration = 20; newArcology.FSRomanRevivalistDecoration = 20; newArcology.FSNeoImperialistDecoration = 20; newArcology.FSAztecRevivalistDecoration = 20; newArcology.FSEgyptianRevivalistDecoration = 20; newArcology.FSEdoRevivalistDecoration = 20; newArcology.FSArabianRevivalistDecoration = 20; newArcology.FSChineseRevivalistDecoration = 20; newArcology.FSRepopulationFocusDecoration = 20; newArcology.FSRestartDecoration = 20; newArcology.FSHedonisticDecadenceDecoration = 20; newArcology.FSIntellectualDependencyDecoration = 20; newArcology.FSSlaveProfessionalismDecoration = 20; newArcology.FSPetiteAdmirationDecoration = 20; newArcology.FSStatuesqueGlorificationDecoration = 20; newArcology.FSCummunismDecoration = 20; newArcology.FSIncestFetishistDecoration = 20; if (V.targetArcology.fs !== "New") { V.FSAnnounced = 1; V.FSGotRepCredits = 1; newArcology.name = V.targetArcology.name; newArcology.prosperity = V.targetArcology.prosperity; V.ACitizens += V.targetArcology.citizens*500; const decoration = V.targetArcology.FSProgress + 10; switch (V.targetArcology.fs) { case "Supremacist": newArcology.FSSupremacist = V.targetArcology.FSProgress; newArcology.FSSupremacistDecoration = decoration; newArcology.FSSupremacistRace = V.targetArcology.race; break; case "Subjugationist": newArcology.FSSubjugationist = V.targetArcology.FSProgress; newArcology.FSSubjugationistDecoration = decoration; newArcology.FSSubjugationistRace = V.targetArcology.race; break; case "GenderRadicalist": newArcology.FSGenderRadicalist = V.targetArcology.FSProgress; newArcology.FSGenderRadicalistDecoration = decoration; break; case "GenderFundamentalist": newArcology.FSGenderFundamentalist = V.targetArcology.FSProgress; newArcology.FSGenderFundamentalistDecoration = decoration; break; case "Paternalist": newArcology.FSPaternalist = V.targetArcology.FSProgress; newArcology.FSPaternalistDecoration = decoration; break; case "Degradationist": newArcology.FSDegradationist = V.targetArcology.FSProgress; newArcology.FSDegradationistDecoration = decoration; break; case "AssetExpansionist": newArcology.FSAssetExpansionist = V.targetArcology.FSProgress; newArcology.FSAssetExpansionistDecoration = decoration; break; case "SlimnessEnthusiast": newArcology.FSSlimnessEnthusiast = V.targetArcology.FSProgress; newArcology.FSSlimnessEnthusiastDecoration = decoration; break; case "TransformationFetishist": newArcology.FSTransformationFetishist = V.targetArcology.FSProgress; newArcology.FSTransformationFetishistDecoration = decoration; break; case "BodyPurist": newArcology.FSBodyPurist = V.targetArcology.FSProgress; newArcology.FSBodyPuristDecoration = decoration; break; case "MaturityPreferentialist": newArcology.FSMaturityPreferentialist = V.targetArcology.FSProgress; newArcology.FSMaturityPreferentialistDecoration = decoration; break; case "YouthPreferentialist": newArcology.FSYouthPreferentialist = V.targetArcology.FSProgress; newArcology.FSYouthPreferentialistDecoration = decoration; break; case "Pastoralist": newArcology.FSPastoralist = V.targetArcology.FSProgress; newArcology.FSPastoralistDecoration = decoration; break; case "PhysicalIdealist": newArcology.FSPhysicalIdealist = V.targetArcology.FSProgress; newArcology.FSPhysicalIdealistDecoration = decoration; break; case "ChattelReligionist": newArcology.FSChattelReligionist = V.targetArcology.FSProgress; newArcology.FSChattelReligionistDecoration = decoration; break; case "RomanRevivalist": newArcology.FSRomanRevivalist = V.targetArcology.FSProgress; newArcology.FSRomanRevivalistDecoration = decoration; break; case "NeoImperialist": newArcology.FSNeoImperialist = V.targetArcology.FSProgress; newArcology.FSNeoImperialistDecoration = decoration; break; case "AztecRevivalist": newArcology.FSAztecRevivalist = V.targetArcology.FSProgress; newArcology.FSAztecRevivalistDecoration = decoration; break; case "EgyptianRevivalist": newArcology.FSEgyptianRevivalist = V.targetArcology.FSProgress; newArcology.FSEgyptianRevivalistDecoration = decoration; break; case "EdoRevivalist": newArcology.FSEdoRevivalist = V.targetArcology.FSProgress; newArcology.FSEdoRevivalistDecoration = decoration; break; case "ArabianRevivalist": newArcology.FSArabianRevivalist = V.targetArcology.FSProgress; newArcology.FSArabianRevivalistDecoration = decoration; break; case "ChineseRevivalist": newArcology.FSChineseRevivalist = V.targetArcology.FSProgress; newArcology.FSChineseRevivalistDecoration = decoration; break; case "Eugenics": newArcology.FSRestart = V.targetArcology.FSProgress; newArcology.FSRestartDecoration = decoration; break; case "Repopulationist": newArcology.FSRepopulationFocus = V.targetArcology.FSProgress; newArcology.FSRepopulationFocusDecoration = decoration; break; case "HedonisticDecadence": newArcology.FSHedonisticDecadence = V.targetArcology.FSProgress; newArcology.FSHedonisticDecadenceDecoration = decoration; break; case "IntellectualDependency": newArcology.FSIntellectualDependency = V.targetArcology.FSProgress; newArcology.FSIntellectualDependencyDecoration = decoration; break; case "SlaveProfessionalism": newArcology.FSSlaveProfessionalism = V.targetArcology.FSProgress; newArcology.FSSlaveProfessionalismDecoration = decoration; break; case "PetiteAdmiration": newArcology.FSPetiteAdmiration = V.targetArcology.FSProgress; newArcology.FSPetiteAdmirationDecoration = decoration; break; case "StatuesqueGlorification": newArcology.FSStatuesqueGlorification = V.targetArcology.FSProgress; newArcology.FSStatuesqueGlorificationDecoration = decoration; break; default: newArcology.FSNull = 20; } if (V.PC.rumor === "social engineering") { V.FSGotRepCredits += 1; } } else { newArcology.honeymoon = 20; } } else { if (i < 4) { /* X-4 is reserved for player's arcology, so X-1 is available */ newArcology.name = `Arcology X-${i}`; } else { newArcology.name = `Arcology X-${i+1}`; } newArcology.direction = seed.pluck(); newArcology.government = govtypes.random(); newArcology.prosperity += jsRandom(-20, 20); newArcology.ownership += jsRandom(-10, 0); newArcology.minority += jsRandom(-5, 5); } V.arcologies.push(newArcology); } V.arcologies[0].FSSupremacistLawME = 0; V.arcologies[0].FSSupremacistSMR = 0; V.arcologies[0].FSSubjugationistLawME = 0; V.arcologies[0].FSSubjugationistSMR = 0; V.arcologies[0].FSGenderRadicalistLawFuta = 0; V.arcologies[0].FSGenderRadicalistLawBeauty = 0; V.arcologies[0].FSGenderFundamentalistLawBimbo = 0; V.arcologies[0].FSGenderFundamentalistSMR = 0; V.arcologies[0].FSGenderFundamentalistLawBeauty = 0; V.arcologies[0].FSPaternalistLaw = 0; V.arcologies[0].FSPaternalistSMR = 0; V.arcologies[0].FSDegradationistLaw = 0; V.arcologies[0].FSDegradationistSMR = 0; V.arcologies[0].FSBodyPuristLaw = 0; V.arcologies[0].FSBodyPuristSMR = 0; V.arcologies[0].FSTransformationFetishistSMR = 0; V.arcologies[0].FSYouthPreferentialistLaw = 0; V.arcologies[0].FSYouthPreferentialistSMR = 0; V.arcologies[0].FSMaturityPreferentialistLaw = 0; V.arcologies[0].FSMaturityPreferentialistSMR = 0; V.arcologies[0].FSSlimnessEnthusiastSMR = 0; V.arcologies[0].FSSlimnessEnthusiastLaw = 0; V.arcologies[0].FSAssetExpansionistSMR = 0; V.arcologies[0].FSPastoralistLaw = 0; V.arcologies[0].FSPastoralistSMR = 0; V.arcologies[0].FSPhysicalIdealistSMR = 0; V.arcologies[0].FSPhysicalIdealistLaw = 0; V.arcologies[0].FSPhysicalIdealistStrongFat = 0; V.arcologies[0].FSChattelReligionistLaw = 0; V.arcologies[0].FSChattelReligionistSMR = 0; V.arcologies[0].FSChattelReligionistCreed = 0; V.arcologies[0].FSRomanRevivalistLaw = 0; V.arcologies[0].FSRomanRevivalistSMR = 0; V.arcologies[0].FSNeoImperialistSMR = 0; V.arcologies[0].FSNeoImperialistLaw1 = 0; V.arcologies[0].FSNeoImperialistLaw2 = 0; V.arcologies[0].FSAztecRevivalistLaw = 0; V.arcologies[0].FSAztecRevivalistSMR = 0; V.arcologies[0].FSEgyptianRevivalistLaw = 0; V.arcologies[0].FSEgyptianRevivalistSMR = 0; V.arcologies[0].FSEdoRevivalistLaw = 0; V.arcologies[0].FSEdoRevivalistSMR = 0; V.arcologies[0].FSArabianRevivalistLaw = 0; V.arcologies[0].FSArabianRevivalistSMR = 0; V.arcologies[0].FSChineseRevivalistLaw = 0; V.arcologies[0].FSChineseRevivalistSMR = 0; V.arcologies[0].FSRepopulationFocusLaw = 0; V.arcologies[0].FSRepopulationFocusSMR = 0; V.arcologies[0].FSRestartLaw = 0; V.arcologies[0].FSRestartSMR = 0; V.arcologies[0].FSHedonisticDecadenceLaw = 0; V.arcologies[0].FSHedonisticDecadenceLaw2 = 0; V.arcologies[0].FSHedonisticDecadenceStrongFat = 0; V.arcologies[0].FSHedonisticDecadenceSMR = 0; V.arcologies[0].FSIntellectualDependencyLaw = 0; V.arcologies[0].FSIntellectualDependencyLawBeauty = 0; V.arcologies[0].FSIntellectualDependencySMR = 0; V.arcologies[0].FSSlaveProfessionalismLaw = 0; V.arcologies[0].FSSlaveProfessionalismSMR = 0; V.arcologies[0].FSPetiteAdmirationLaw = 0; V.arcologies[0].FSPetiteAdmirationLaw2 = 0; V.arcologies[0].FSPetiteAdmirationSMR = 0; V.arcologies[0].FSStatuesqueGlorificationLaw = 0; V.arcologies[0].FSStatuesqueGlorificationLaw2 = 0; V.arcologies[0].FSStatuesqueGlorificationSMR = 0; V.arcologies[0].FSGenderRadicalistResearch = 0; V.arcologies[0].FSGenderFundamentalistResearch = 0; V.arcologies[0].FSPaternalistResearch = 0; V.arcologies[0].FSDegradationistResearch = 0; V.arcologies[0].FSBodyPuristResearch = 0; V.arcologies[0].FSTransformationFetishistResearch = 0; V.arcologies[0].FSYouthPreferentialistResearch = 0; V.arcologies[0].FSMaturityPreferentialistResearch = 0; V.arcologies[0].FSSlimnessEnthusiastResearch = 0; V.arcologies[0].FSAssetExpansionistResearch = 0; V.arcologies[0].FSPastoralistResearch = 0; V.arcologies[0].FSPhysicalIdealistResearch = 0; V.arcologies[0].FSRepopulationFocusResearch = 0; V.arcologies[0].FSRestartResearch = 0; V.arcologies[0].FSHedonisticDecadenceResearch = 0; V.arcologies[0].FSHedonisticDecadenceDietResearch = 0; V.arcologies[0].FSCummunismResearch = 0; V.arcologies[0].FSIncestFetishistResearch = 0; V.arcologies[0].FSIntellectualDependencyResearch = 0; V.arcologies[0].FSSlaveProfessionalismResearch = 0; V.arcologies[0].FSPetiteAdmirationResearch = 0; V.arcologies[0].FSStatuesqueGlorificationResearch = 0; V.arcologies[0].FSEgyptianRevivalistIncestPolicy = 0; V.arcologies[0].FSEgyptianRevivalistInterest = 0; V.arcologies[0].FSRepopulationFocusPregPolicy = 0; V.arcologies[0].FSRepopulationFocusMilfPolicy = 0; V.arcologies[0].FSRepopulationFocusInterest = 0; V.arcologies[0].FSEugenicsChastityPolicy = 0; V.arcologies[0].FSEugenicsSterilizationPolicy = 0; V.arcologies[0].FSEugenicsInterest = 0; V.arcologies[0].childhoodFertilityInducedNCSResearch = 0; } if (V.targetArcology.fs !== "New") { V.building = V.targetArcology.building; delete V.targetArcology.building; } else { V.building = App.Arcology.defaultBuilding(V.terrain); } const sellable = V.building.findCells(cell => cell.canBeSold()); const random12 = jsRandomMany(sellable, 12); random12.forEach(cell => { cell.owner = 0; }); if (V.secExpEnabled > 0) { initSecExp(); } if (V.experimental.food === 1) { if (V.localEcon > 100) { V.farmyardFoodCost = Math.max(5 / (1 + (Math.trunc(1000-100000/V.localEcon)/10)/100), 3.125); } else if (V.localEcon === 100) { V.farmyardFoodCost = 5; } else { V.farmyardFoodCost = Math.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/V.localEcon-1000)/10)/100), 6.5); } } V.minimumSlaveAge = variableAsNumber(V.minimumSlaveAge, 3, 18, 18); V.retirementAge = variableAsNumber(V.retirementAge, 25, 120, 45); V.fertilityAge = variableAsNumber(V.fertilityAge, 3, 18, 13); V.potencyAge = variableAsNumber(V.potencyAge, 3, 18, 13); applyPCQualities(); /* SET STARTING CONDITIONS */ V.enduringRep = V.rep; initArcologies(); V.HackingSkillMultiplier = upgradeMultiplier('hacking'); V.upgradeMultiplierArcology = upgradeMultiplier('engineering'); V.upgradeMultiplierMedicine = upgradeMultiplier('medicine'); V.upgradeMultiplierTrade = upgradeMultiplier('trading'); /* Nationalities Setup */ if (!V.customVariety) { /* If non-custom variety, empties or defines $nationalities */ V.nationalities = {}; } const needLocalNationalities = !V.customVariety && !V.internationalTrade; if (V.terrain === "oceanic") { if (V.targetArcology.fs !== "Supremacist") { V.arcologies[0].FSSupremacistRace = "white"; } if (V.targetArcology.fs !== "Subjugationist") { V.arcologies[0].FSSubjugationistRace = "middle eastern"; } if (needLocalNationalities) { // FIXME: equal distributions? probably should use weighted variety instead V.nationalities = arr2obj(setup.baseNationalities); } } else { const continentalDefaults = new Map([ ["North America", {supr: "white", subj: "black", preset: "Vanilla North America"}], ["South America", {supr: "latina", subj: "black", preset: "Vanilla South America"}], ["Brazil", {supr: "white", subj: "black", preset: "Vanilla Brazil"}], ["the Middle East", {supr: "middle eastern", subj: "asian", preset: "Vanilla Middle East"}], ["Africa", {supr: "black", subj: "white", preset: "Vanilla Africa"}], ["Asia", {supr: "asian", subj: "indo-aryan", preset: "Vanilla Asia"}], ["Western Europe", {supr: "white", subj: "middle eastern", preset: "Vanilla Europe"}], ["Central Europe", {supr: "white", subj: "middle eastern", preset: "Vanilla Europe"}], ["Eastern Europe", {supr: "white", subj: "asian", preset: "Vanilla Europe"}], ["Scandinavia", {supr: "white", subj: "southern european", preset: "Vanilla Europe"}], ["Southern Europe", {supr: "southern european", subj: "middle eastern", preset: "Vanilla Europe"}], ["Australia", {supr: "white", subj: "asian", preset: "Vanilla Australia"}], ["Japan", {supr: "asian", subj: "asian", preset: null}] ]); const defaults = continentalDefaults.get(V.continent); if (!defaults) { throw `Missing defaults for continent: ${V.continent}`; } if (V.targetArcology.fs !== "Supremacist") { V.arcologies[0].FSSupremacistRace = defaults.supr; } if (V.targetArcology.fs !== "Subjugationist") { V.arcologies[0].FSSubjugationistRace = defaults.subj; } if (needLocalNationalities) { if (V.continent === "Japan") { // special case, no preset for Japan hashPush(V.nationalities, "Japanese", "Japanese", "Japanese"); } else { hashMerge(V.nationalities, App.Data.NationalityPresets.Vanilla.get(defaults.preset)); } } } if (!V.customVariety && V.internationalTrade) { if (V.internationalVariety === 0) { // weighted hashMerge(V.nationalities, App.Data.NationalityPresets.Vanilla.get("Vanilla Global")); } else { // normalized V.nationalities = arr2obj(setup.baseNationalities); } } };
MonsterMate/fc
src/events/intro/initNationalities.js
JavaScript
mit
22,112
:: Intro Summary [nobr] <style> .active { background-color: grey; } </style> <<set $neighboringArcologies = variableAsNumber($neighboringArcologies, 0, 8, 3)>> <<set $FSCreditCount = variableAsNumber($FSCreditCount, 4, 7, 5)>> <<set $PC.actualAge = variableAsNumber($PC.actualAge, 14, 80, 35)>> <<set $PC.birthWeek = variableAsNumber($PC.birthWeek, 0, 51, 0)>> You may review your settings before clicking "Continue" to begin.<br> <<link "Continue" "Starting Girls">> <<if $freshPC == 1 || $saveImported == 0>> <<switch $PC.career>> <<case "wealth">> <<if $PC.vagina == 1>> <<set $PC.vagina = 2>> <</if>> <<case "capitalist">> <<set $PC.skill.trading = 100>> <<case "mercenary">> <<set $PC.skill.warfare = 100>> <<case "slaver">> <<set $PC.skill.slaving = 100>> <<case "engineer">> <<set $PC.skill.engineering = 100>> <<case "medicine">> <<set $PC.skill.medicine = 100>> <<case "celebrity">> <<if $PC.vagina == 1>> <<set $PC.vagina = 2>> <</if>> <<case "BlackHat">> <<set $PC.skill.hacking = 100>> <<case "arcology owner">> <<set $PC.skill.trading = 100, $PC.skill.warfare = 100, $PC.skill.hacking = 100, $PC.skill.slaving = 100, $PC.skill.engineering = 100, $PC.skill.medicine = 100>> <<case "escort">> <<if $PC.vagina == 1>> <<set $PC.vagina = 4>> <</if>> <<set $PC.anus = 1>> <<set $PC.clothes = "a slutty outfit">> <<set $PC.education = 15>> <<set $PC.skill.trading = 50, $PC.skill.warfare = -100, $PC.skill.slaving = -100, $PC.skill.engineering = -100, $PC.skill.medicine = 10, $PC.skill.hacking = 10>> <<case "servant">> <<set $PC.clothes = "a nice maid outfit">> <<set $PC.education = 0>> <<if $PC.vagina == 1>> <<set $PC.vagina = 4>> <</if>> <<set $PC.skill.trading = -100, $PC.skill.warfare = -100, $PC.skill.slaving = -100, $PC.skill.engineering = -100, $PC.skill.medicine = -100, $PC.skill.hacking = -100>> <<case "gang">> <<if $PC.vagina == 1>> <<set $PC.vagina = 2>> <</if>> <<set $PC.skill.trading = 50, $PC.skill.warfare = 50, $PC.skill.slaving = 50, $PC.skill.engineering = -100, $PC.skill.medicine = 0, $PC.skill.hacking = 50>> <</switch>> <</if>> <<if $saveImported == 1 && $freshPC == 0 && $PC.rules.living != "luxurious">> <<if $PC.rules.living == "spare">> <<set $PC.rules.living = "normal">> <<else>> <<set $PC.rules.living = "luxurious">> <</if>> <<elseif $PC.career == "wealth" || $PC.career == "celebrity">> <<set $PC.rules.living = "normal">> <<else>> <<set $PC.rules.living = "spare">> <</if>> <<run App.Intro.initNationalities()>> <<run SectorCounts()>> /* Update AProsperityCap */ <</link>> <<if ($economy != 100) || ($seeDicks != 25) || ($continent != "North America") || ($internationalTrade != 1) || ($internationalVariety != 1) || ($seeRace != 1) || ($seeNationality != 1) || ($seeExtreme != 0) || ($seeCircumcision != 1) || ($seeAge != 1) || ($plot != 1)>> | [[restore defaults|Intro Summary][$seeDicks = 25, $economy = 100, $continent = "North America", $internationalTrade = 1, $internationalVariety = 1, $seeRace = 1, $seeNationality = 1, $seeExtreme = 0, $seeCircumcision = 1, $seeAge = 1, $plot = 1]] <</if>> | [[Cheat Start|Starting Girls][cashX(1000000, "cheating"), $PC.rules.living = "luxurious",repX(20000, "cheating"), $dojo += 1, $cheatMode = 1, $seeDesk = 0, $seeFCNN = 0, $sortSlavesBy = "devotion", $sortSlavesOrder = "descending", $sortSlavesMain = 0, $rulesAssistantMain = 1, $UI.slaveSummary.abbreviation = {devotion: 1, rules: 1, clothes: 2, health: 1, diet: 1, drugs: 1, race: 1, nationality: 1, genitalia: 1, physicals: 1, skills: 1, mental: 2}, $PC.skill.trading = 100, $PC.skill.warfare = 100, $PC.skill.slaving = 100, $PC.skill.engineering = 100, $PC.skill.medicine = 100, $PC.skill.hacking = 100, App.Intro.initNationalities()]] //Intended for debugging: may have unexpected effects// <<set $minimumSlaveAge = variableAsNumber($minimumSlaveAge, 3, 18, 18)>> <<set $retirementAge = variableAsNumber($retirementAge, 25, 120, 45)>> <<set $fertilityAge = variableAsNumber($fertilityAge, 3, 18, 13)>> <<set $potencyAge = variableAsNumber($potencyAge, 3, 18, 13)>> <<set $PC.mother = Number($PC.mother)>> <<set $PC.father = Number($PC.father)>> <<if $freshPC == 1 || $saveImported == 0>> <<set $PC.origRace = $PC.race>> <<set $PC.origSkin = $PC.skin>> <<set $PC.origEye = $PC.eye.right.iris>> /* needed for compatibility */ <<set $PC.origHColor = $PC.hColor>> <</if>> <br><br> <<run App.UI.tabBar.handlePreSelectedTab($tabChoice.IntroSummary)>> <div class="tab-bar"> <button class="tab-links" onclick="App.UI.tabBar.openTab(event, 'world')" id="tab world">World</button> <button class="tab-links" onclick="App.UI.tabBar.openTab(event, 'slaves')" id="tab slaves">Slaves</button> <button class="tab-links" onclick="App.UI.tabBar.openTab(event, 'player')" id="tab player">Player Character</button> <button class="tab-links" onclick="App.UI.tabBar.openTab(event, 'interface')" id="tab interface">UI</button> </div> <div id="interface" class="tab-content"> <div class="content"> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("Help tooltips are", "tooltipsEnabled") .addValue("Enabled", 1).on().addValue("Disabled", 0).off() .addComment("This is mostly for new players. @@.exampleTooltip.noteworthy;Colored text@@ can have tooltips.")>> <<run _options.addOption("Accordion on week end defaults to", "useAccordion") .addValue("Open", 0).on().addValue("Collapsed", 1).off()>> <<run _options.addOption("Economic Tabs on weekly reports are", "useTabs") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<includeDOM _options.render()>> <h2>Images</h2> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("Images are", "seeImages") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<includeDOM _options.render()>> <<if $seeImages > 0>> <div class="imageRef" style="width:200px;height:200px;margin-left:50px;"> <<= SlaveArt(BaseSlave(), 0, 0)>> </div> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("", "imageChoice") .addValueList([["Revamped embedded vector art", 3], ["Non-embedded vector art", 2], ["NoX/Deepmurk's vector art", 1], ["Shokushu's rendered image pack", 0]])>> <<if $imageChoice === 1>> <<run _options.addOption("").addComment('<span class="warning">Git compiled only, no exceptions.</span>')>> <<run _options.addOption("Face artwork is", "seeFaces") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Highlights on shiny clothing are", "seeVectorArtHighlights") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Height scaling", "seeHeight") .addValue("All images", 2).on().addValue("Small images", 1).neutral().addValue("Disabled", 0).off()>> <<run _options.addOption("Clothing erection bulges are", "showClothingErection") .addValue("Enabled", true).on().addValue("Disabled", false).off()>> <<elseif $imageChoice === 0>> <<run _options.addOption("").addComment(`You need """to""" <a href="https://mega.nz/#!upoAlBaZ!EbZ5wCixxZxBhMN_ireJTXt0SIPOywO2JW9XzTIPhe0">download the image pack</a> """and""" put the 'renders' folder into the resources/ folder where this html file is.` )>> <<run _options.addOption("Slave summary fetish images are", "seeMainFetishes") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<elseif $imageChoice === 3>> <<run _options.addOption("").addComment('<span class="warning">Git compiled only, no exceptions.</span>')>> <<run _options.addOption("Clothing erection bulges are", "showClothingErection") .addValue("Enabled", true).on().addValue("Disabled", false).off()>> <</if>> <<run _options.addOption("PA avatar art is", "seeAvatar") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Slave images in lists are", "seeSummaryImages") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Slave images in the weekly report are", "seeReportImages") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<includeDOM _options.render()>> <</if>> </div> </div> <div id="world" class="tab-content"> <div class="content"> <h2>Economy</h2> <<set _options = new App.UI.OptionsGroup()>> <<set $localEcon = $economy>> <<run _options.addOption("Economic climate", "baseDifficulty") .addValue("Very Easy", 1, () => V.economy = 200).addValue("Easy", 2, () => V.economy = 125) .addValue("Default Difficulty", 3, () => V.economy = 100).addValue("Hard", 4, () => V.economy = 80) .addValue("Very Hard", 5, () => V.economy = 67)>> <<if $difficultySwitch == 1>><<set $econAdvantage = -2>><</if>> <<if $difficultySwitch == 0>><<set $econRate = 0>><</if>> <<run _options.addOption("Economic forecast", "econRate").addComment("Some economic content requires this to be set to harder than vanilla") .addValue("Vanilla", 0, () => V.difficultySwitch = 0).addValue("Easy", 1, () => V.difficultySwitch = 1) .addValue("Default", 2, () => V.difficultySwitch = 1).addValue("Hard", 3, () => V.difficultySwitch = 1)>> /* Not functional yet All the things you need to run your arcology are getting more expensive <<if $incomeMod == 0>> while all forms of income ''remain static''. [[Easier|Intro Summary][$incomeMod = 1]] <<elseif $incomeMod == 1>> while all forms of income ''rise but cannot keep pace''. [[Harder|Intro Summary][$incomeMod = 0]] | [[Easier|Intro Summary][$incomeMod = 2]] <<else>> but luckily all forms of income ''rise in lockstep''. [[Harder|Intro Summary][$incomeMod = 1]] <</if>> */ <<set $foodCost = Math.trunc(2500/$economy)>> <<set $drugsCost = Math.trunc(10000/$economy)>> <<set $rulesCost = Math.trunc(10000/$economy)>> <<set $modCost = Math.trunc(5000/$economy)>> <<set $surgeryCost = Math.trunc(30000/$economy)>> <<if ndef $customVariety>> <<run _options.addOption("You are using standardized slave trading channels.") .customButton("Customize the slave trade", () => {V.customVariety = 1; V.customWA = 0}, "Customize Slave Trade")>> <<run _options.addOption("", "internationalTrade") .addValue("Allow intercontinental trade", 1).on().customDescription("The slave trade is ''international,'' so a wider variety of slaves will be available.") .addValue("Restrict the trade to continental", 0).off().customDescription("The slave trade is ''continental,'' so a narrower variety of slaves will be available.")>> <<if $internationalTrade == 1>> <<run _options.addOption("International slave variety is", "internationalVariety") .addValue("Normalized national variety", 1).customDescription("''normalized,'' so small nations will appear nearly as much as large ones.") .addValue("Semi-realistic national variety", 0).customDescription("''semi-realistic,'' so more populous nations will be more common.")>> <</if>> <<else>> <<run _options.addOption("Nationality distributions are customized.") .customButton("Adjust the slave trade", () => {V.customWA = 0; V.customVariety = 1}, "Customize Slave Trade") .customButton("Stop customizing", () => {delete V.customVariety})>> <<run _options.addOption("").addCustomElement(` <hr style="margin:0"> <<includeDOM App.UI.nationalitiesDisplay()>> <br style="clear:both"><hr style="margin:0"> `)>> <</if>> /* closes $customVariety is defined */ <<run _options.addOption("", "plot") .addValue("Enable non-erotic events", 1).on().customDescription("Game mode: ''two-handed''. Includes non-erotic events concerning the changing world.") .addValue("Disable non-erotic events", 0).off().customDescription("Game mode: ''one-handed''. No non-erotic events concerning the changing world.")>> <<includeDOM _options.render()>> <h2>The Free City</h2> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("The Free City features ''$neighboringArcologies'' arcologies in addition to your own.", "neighboringArcologies") .showTextBox().addComment("Setting this to 0 will disable most content involving the rest of the Free City.")>> <<if $targetArcology.fs == "New">> <<run _options.addOption("The Free City is located on ''$terrain'' terrain.", "terrain") .addValueList([["Urban", "urban"], ["Rural", "rural"], ["Ravine", "ravine"], ["Marine", "marine"], ["Oceanic", "oceanic"]])>> <<if $terrain !== "oceanic">> <<set _option = _options.addOption("The Free City is located in ''$continent''.", "continent") .addValue("North America").addCallback(() => V.language = "English") .addValue("South America").addCallback(() => V.language = "Spanish") .addValue("Brazil").addCallback(() => V.language = "Portuguese") .addValue("Western Europe").addCallback(() => V.language = "English") .addValue("Central Europe").addCallback(() => V.language = "German") .addValue("Eastern Europe").addCallback(() => V.language = "Russian") .addValue("Southern Europe").addCallback(() => V.language = "Italian") .addValue("Scandinavia").addCallback(() => V.language = "Norwegian") .addValue("the Middle East").addCallback(() => V.language = "Arabic") .addValue("Africa").addCallback(() => V.language = "Arabic") .addValue("Asia").addCallback(() => V.language = "Chinese") .addValue("Australia").addCallback(() => V.language = "English") .addValue("Japan").addCallback(() => V.language = "Japanese")>> <</if>> <<run _options.addOption("The lingua franca of your arcology is", "language") .showTextBox()>> <<elseif !["ArabianRevivalist", "AztecRevivalist", "ChineseRevivalist", "EdoRevivalist", "EgyptianRevivalist", "RomanRevivalist"].includes($targetArcology.fs)>> <<run _options.addOption("The lingua franca of your arcology is", "language") .addValueList(["English", "Spanish", "Arabic"]).showTextBox()>> <</if>> <<run _options.addOption("The Free City could develop as many as ''$FSCreditCount'' future societies.", "FSCreditCount") .showTextBox().addComment("5 is default, 4 behaves the same as pre-patch 0.9.9.0, max is 7. This option cannot be changed during the game.")>> <<includeDOM _options.render()>> <h2>Content</h2> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("Proportion of slave girls with dicks", "seeDicks") .addValueList([["None (0%)", 0], ["Nearly none (1%)", 1], ["A few (10%)", 10], ["Some (25%)", 25], ["Half (50%)", 50], ["Lots (75%)", 75], ["Most (90%)", 90], ["Almost all (99%)", 99], ["All (100%)", 100]])>> <<if $seeDicks === 0>> <<run _options.addOption("Should you be able to surgically attach a penis to your female slaves and starting girls?", "makeDicks") .addValue("Yes", 1).on().addValue("No", 0).off()>> <</if>> <<run _options.addOption("Slaves getting sick is", "seeIllness") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Pregnancy related content is", "seePreg") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Children born in game strictly adhering to dick content settings is", "seeDicksAffectsPregnancy") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<if $seeDicksAffectsPregnancy === 0>> <<run _options.addOption("XX slaves only fathering daughters is", "adamPrinciple") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <</if>> <<run _options.addOption("Extreme pregnancy content like broodmothers is", "seeHyperPreg") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Advanced pregnancy complications such as miscarriage and premature birth are", "dangerousPregnancy") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Extreme content like amputation is", "seeExtreme") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Bestiality content is", "seeBestiality") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Watersports content is", "seePee") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Incest is", "seeIncest") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<if $seeDicks !== 0 || $makeDicks !== 0>> <<run _options.addOption("Circumcision is", "seeCircumcision") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <</if>> <<includeDOM _options.render()>> <h2>Mods</h2> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("The Special Force Mod is", "Toggle", $SF) .addValue("Enabled", 1).on().addValue("Disabled", 0).off() .addComment("<div>This mod is initially from anon1888 but expanded by SFanon offers a lategame special (started out as security but changed to special in order to try and reduce confusion with CrimeAnon's separate Security Expansion (SecExp) mod) force, that is triggered after week 72.</div> <div>It is non-canon where it conflicts with canonical updates to the base game.</div>")>> <<run _options.addOption("The Security Expansion Mod is", "secExpEnabled") .addValue("Enabled", 1).on().addValue("Disabled", 0).off() .addComment("<div>This mod introduces security and crime in the arcology, as well as attacks and battles.</div> <div>The mod can be activated in any moment, but it may result in unbalanced gameplay if activated very late in the game.</div>")>> <<includeDOM _options.render()>> </div> </div> <div id="slaves" class="tab-content"> <div class="content"> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("Master Suite report details such as slave changes are", "verboseDescriptions") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Slaves can have alternate titles", "newDescriptions") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Mention ethnicity", "seeRace") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Mention nationality", "seeNationality") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Dynasties of enslaved royalties are", "realRoyalties") .addValueList([["Historical", 1], ["Random", 0]])>> <<run _options.addOption("New slaves may have male names", "allowMaleSlaveNames").addComment("This only affects slave generation and not your ability to name your slaves.") .addValue("Enabled", true).on().addValue("Disabled", false).off()>> <<run _options.addOption("Schema for ordering slave names is", "surnameOrder") .addValueList([["Country of origin", 0], ["Name Surname", 1], ["Surname Name", 2]])>> <<run _options.addOption("Family size", "limitFamilies").addComment("Controls acquisition of additional relatives, by means other than birth, for slaves with families.") .addValue("Allow extended families", 0).on().addValue("Restrict family size (Vanilla Emulation)", 1).off()>> <<run _options.addOption("Tracking distant relatives is", "showDistantRelatives") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Successive breeding resulting in sub-average slaves is", "inbreeding") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Family titles for relatives", "allowFamilyTitles") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Slave assets affected by weight is", "weightAffectsAssets") .addValue("Enabled", 1).on().addValue("Disabled", 0).off() .addComment("Diet will still affect asset size.")>> <<run _options.addOption("Curative side effects are", "curativeSideEffects") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Slaves with fat lips or heavy oral piercings may lisp", "disableLisping") .addValue("Yes", 0).on().addValue("No", 1).off()>> <<includeDOM _options.render()>> <h2>Age</h2> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("Slave aging", "seeAge") .addValue("Enabled", 1).on().addValue("Celebrate birthdays, but don't age.", 2).neutral().addValue("Disabled", 0).off()>> <<run _options.addOption("Slave age distribution", "pedo_mode").addComment("In loli mode most new slaves are under the age of 18. May not apply to custom slaves and slaves from specific events.") .addValue("Loli mode", 1, () => V.minimumSlaveAge = 5).addValue("Normal mode", 0)>> <<set $minimumSlaveAge = Math.clamp($minimumSlaveAge, 3, 18)>> <<run _options.addOption("Girls appearing in the game will be no younger than", "minimumSlaveAge").showTextBox()>> <<run _options.addOption("Molestation of slaves younger than $minimumSlaveAge is", "extremeUnderage") .addValue("Permitted", 1).on().addValue("Forbidden", 0).off()>> <<set $retirementAge = Math.clamp($retirementAge, $minimumSlaveAge + 1, 120)>> <<run _options.addOption("Initial retirement age will be at", "retirementAge") .addComment("May cause issues with New Game and initial slaves if set below 45.").showTextBox()>> <<set $fertilityAge = Math.clamp($fertilityAge, 3, 18)>> <<run _options.addOption("Girls will not be able to become pregnant if their age is under", "fertilityAge").showTextBox()>> <<set $potencyAge = Math.clamp($potencyAge, 3, 18)>> <<run _options.addOption("Girls will not be able to impregnate others if their age is under", "potencyAge").showTextBox()>> <<run _options.addOption("Precocious puberty is", "precociousPuberty").addComment("Under certain conditions they can become pregnant or inseminate others younger then normal age - $fertilityAge, though they may also experience delayed puberty.") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Age penalties are", "AgePenalty").addComment("Job and career penalties due to age.") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<run _options.addOption("Children growing as they age is", "loliGrow") .addValue("Enabled", 1).on().addValue("Disabled", 0).off()>> <<includeDOM _options.render()>> </div> </div> <div id="player" class="tab-content"> <div class="content"> <<set _options = new App.UI.OptionsGroup()>> <<if $freshPC == 1 || $saveImported == 0>> <<run _options.addOption("You are a", "title", $PC) .addValue("Masculine Master", 1, () => V.PC.genes = "XY").addValue("Feminine Mistress", 0, () => V.PC.genes = "XX")>> <<run _options.addOption(`Everyone calls you <b>${PlayerName()}.</b>`)>> <<run _options.addOption("Your given name is", "slaveName", $PC).showTextBox()>> <<if $PC.slaveSurname === 0>> <<run _option = _options.addOption("And no surname", "slaveSurname", $PC) .addValue("Add a surname", "Anon") .addComment("Surnames cannot be changed during the game outside of special circumstances.")>> <<else>> <<run _option = _options.addOption("And your surname is", "slaveSurname", $PC).showTextBox() .addValue("Go by a single name", 0) .addComment("Surnames cannot be changed during the game outside of special circumstances.")>> <</if>> <<set $PC.physicalAge = $PC.actualAge, $PC.visualAge = $PC.actualAge>> <<run _options.addOption("You are", "actualAge", $PC).showTextBox() .addRange(25, 35, "<", "Surprisingly young").addRange(40, 50, "<", "Entering middle age") .addRange(55, 65, "<", "Well into middle age").addRange(70, 65, ">=", "Old")>> <<run _options.addOption("Your birthday was ''$PC.birthWeek'' weeks ago.", "birthWeek", $PC).showTextBox()>> <<run _options.addOption("Player aging is", "playerAging") .addValue("Enabled", 2).on().addValue("Celebrate birthdays, but don't age.", 1).neutral().addValue("Disabled", 0).off() .addComment("This option cannot be changed during the game.")>> <<if def $PC.customTitle>> <<run _options.addOption("Custom title", "customTitle", $PC).showTextBox() .addValue("Reset to default", "", () => {delete $PC.customTitle; delete $PC.customTitleLisp;})>> <<run _options.addOption("Lisped custom title", "customTitleLisp", $PC).showTextBox() .addComment('If using a custom title, select Master or Mistress to set the gender of your title. Make sure to replace your "s"s with "th"s to have working lisps in your lisped title.')>> <<else>> <<run _options.addOption("Custom title", "customTitle", $PC) .addValue("Set custom title", "Master", () => $PC.customTitleLisp = 'Mather')>> <</if>> <<run _options.addOption("Your nationality is", "nationality", $PC).showTextBox() .addComment("For best result capitalize it.")>> <<run _options.addOption("Your race is", "race", $PC).showTextBox() .addValueList([["White", "white"], ["Asian", "asian"], ["Latina", "latina"], ["Middle Eastern", "middle eastern"], ["Black", "black"], ["Semitic", "semitic"], ["Southern European", "southern european"], ["Indo-Aryan", "indo-aryan"], ["Amerindian", "amerindian"], ["Pacific Islander", "pacific islander"], ["Malay", "malay"], ["Mixed Race", "mixed race"]])>> <<run _options.addOption("Your skin tone is", "skin", $PC).showTextBox() .addValueList([["Pure White", "pure white"], ["Ivory", "ivory"], ["White", "white"], ["Extremely Pale", "extremely pale"], ["Very Pale", "very pale"], ["Pale", "pale"], ["Extremely Fair", "extremely fair"], ["Very Fair", "very fair"], ["Fair", "fair"], ["Light", "light"], ["Light Olive", "light olive"], ["Tan", "tan"], ["Olive", "olive"], ["Bronze", "bronze"], ["Dark Olive", "dark olive"], ["Dark", "dark"], ["Light Beige", "light beige"], ["Beige", "beige"], ["Dark Beige", "dark beige"], ["Light Brown", "light brown"], ["Brown", "brown"], ["Dark Brown", "dark brown"], ["Black", "black"], ["Ebony", "ebony"], ["Pure Black", "pure black"]])>> <<run _options.addOption("Your body", "markings", $PC) .addValueList([["Is clear of blemishes", "none"], ["Has light freckling", "freckles"], ["Has heavy freckling", "heavily freckled"]])>> <<run _options.addOption("Your eyes are", "origColor", $PC.eye).showTextBox()>> <<run _options.addOption("Your hair is", "hColor", $PC).showTextBox()>> <<run _options.addOption("Your face is", "faceShape", $PC) .addValueList([["Normal", "normal"], ["Androgynous", "androgynous"], ["Masculine", "masculine"], ["Cute", "cute"], ["Sensual", "sensual"], ["Exotic", "exotic"]])>> <<run _options.addOption("Your preferred refreshment is", "refreshment", $PC).showTextBox() .addValue("Cigars", "cigar", () => {V.PC.refreshmentType = 0}) .addValue("Whiskey", "whiskey", () => {V.PC.refreshmentType = 1})>> <<set _option = _options.addOption("Which you", "refreshmentType", $PC) .addValueList([["Smoke", 0], ["Drink", 1], ["Eat", 2], ["Snort", 3], ["Inject", 4], ["Pop", 5], ["Orally dissolve", 6]])>> <<if $PC.refreshmentType == 0>> <<run _option.addComment('"Smoked" must fit into the following sentence: "I smoked a $PC.refreshment" to fit events properly.')>> <<elseif $PC.refreshmentType == 5>> <<run _option.addComment('"Popped" must fit into the following sentence: "I shook the bottle of $PC.refreshment" to fit events properly.')>> <<elseif $PC.refreshmentType == 6>> <<run _option.addComment('"Orally Dissolved" must fit into the following sentence: "I placed a tab of $PC.refreshment under my tongue" to fit events properly.')>> <</if>> <<set _option = _options.addOption("Before you came to the Free Cities, you were a", "career", $PC)>> <<if $PC.career == "arcology owner">> <<run _option.addValue("Arcology owner", "arcology owner")>> <<else>> <<run _option.addValueList([["Member of the idle wealthy", "wealth"], ["Business leader", "capitalist"], ["Mercenary", "mercenary"], ["Slaver", "slaver"], ["Engineer", "engineer"], ["Doctor", "medicine"], ["Hacker", "BlackHat"], ["Minor celebrity", "celebrity"], ["Escort", "escort"], ["Servant", "servant"], ["Gang leader", "gang"]] )>> <<if $secExpEnabled > 0>> <<switch $PC.career>> <<case "capitalist">> <<run _option.addComment("<div>@@.yellowgreen;The propaganda hub's upgrades will be cheaper.@@</div>")>> <<case "mercenary">> <<run _option.addComment("<div>@@.green;Easier to maintain security@@ and @@.yellowgreen;the security HQ's upgrades will be cheaper.@@</div>")>> <<case "slaver">> <<run _option.addComment("<div>@@.green;Easier to maintain authority@@ and @@.yellowgreen;the security HQ's upgrades will be cheaper.@@</div>")>> <<case "engineer">> <<run _option.addComment("<div>@@.yellowgreen;construction and upgrade of facilities will be cheaper.@@</div>")>> <<case "medicine">> <<run _option.addComment("<div>@@.yellowgreen;Drug upgrades will be cheaper.@@</div>")>> <<case "celebrity">> <<run _option.addComment("<div>@@.yellowgreen;The propaganda hub's upgrades will be cheaper.@@</div>")>> <<case "escort">> <<run _option.addComment("<div>@@.red;Harder to maintain authority.@@</div>")>> <<case "servant">> <<run _option.addComment("<div>@@.red;Harder to maintain authority.@@</div>")>> <<case "gang">> <<run _option.addComment("<div>@@.green;Easier to maintain authority@@ and @@.yellowgreen;the security HQ's upgrades will be cheaper.@@</div>")>> <<case "BlackHat">> <<run _option.addComment("<div>@@.red;Harder to maintain authority.@@</div>")>> <<default>> <<run _option.addComment("<div>@@.red;Harder to maintain authority,@@ but @@.yellowgreen;the propaganda hub's upgrades will be cheaper.@@</div>")>> <</switch>> <</if>> <</if>> <<run _options.addOption("It is rumored that you acquired your arcology through", "rumor", $PC) .addValueList([["Wealth", "wealth"], ["Hard work", "diligence"], ["Force", "force"], ["Social engineering", "social engineering"], ["Blind luck", "luck"]] )>> <<includeDOM _options.render()>> <h2>Sexuality</h2> <<set _options = new App.UI.OptionsGroup()>> <<if $PC.vagina !== -1 && $PC.dick !== 0>> <<set _vagina_penis = 2>> <<elseif $PC.vagina !== -1>> <<set _vagina_penis = 1>> <<else>> <<set _vagina_penis = 0>> <</if>> <<set _option = _options.addOption("You have a", "vagina_penis", State.temporary) .addValue("Penis", 0, () => { V.PC.preg = 0; V.PC.pregType = 0; V.PC.dick = 4; V.PC.balls = 3; V.PC.scrotum = 3; V.PC.prostate = 1; V.PC.vagina = -1; V.PC.ovaries = 0; }).addValue("Vagina", 1, () => { V.PC.dick = 0; V.PC.balls = 0; V.PC.scrotum = 0; V.PC.prostate = 0; V.PC.vagina = 1; V.PC.ovaries = 1 }).addValue("Penis and Vagina", 2, () => { V.PC.dick = 4; V.PC.balls = 3; V.PC.scrotum = 3; V.PC.prostate = 1; V.PC.vagina = 1; V.PC.ovaries = 1 })>> <<if _vagina_penis === 0>> <<run _option.addComment("Standard sex scenes; easiest reputation maintenance.")>> <<elseif _vagina_penis === 1>> <<run _option.addComment("Sex scene variations; most difficult reputation maintenance.")>> <<else>> <<run _option.addComment("Sex scene variations; more difficult reputation maintenance; some unique opportunities, especially with breasts.")>> <</if>> <<if $PC.vagina !== -1>> <<set _option = _options.addOption("You are", "preg", $PC) .addValue("Taking contraceptives", -1, () => {V.PC.pregType = 0; V.PC.labor = 0;}) .addValue("Not taking contraceptives", 0, () => {V.PC.pregType = 0; V.PC.labor = 0;}) .addRange(16, 37, "<=", "Pregnant").addCallback(() => {V.PC.pregType = 1; V.PC.labor = 0;}) .addRange(40, 42, "<=", "Ready to drop").addCallback(() => {V.PC.pregType = 1; V.PC.labor = 0;}) .addRange(43, 42, ">", "Ready to drop with octuplets").addCallback(() => {V.PC.pregType = 8; V.PC.labor = 1;})>> <<if $PC.preg == -1>> <<run _option.addComment("You can't get pregnant, however there will be a slight increase to living expenses.")>> <</if>> <<if $PC.counter.birthsTotal > 0>> <<run _options.addOption("").addComment("You have given birth to ''$PC.counter.birthsTotal'' babies.")>> <</if>> <<set _option = _options.addOption("Hormone effects", "pregMood", $PC) .addValueList([["None", 0], ["Caring and motherly", 1], ["Aggressive and domineering", 2]])>> <<if $PC.pregMood === 1>> <<run _option.addComment("Sex scene alterations; slaves will trust you more, but may try to take advantage of your mercy.")>> <<elseif $PC.pregMood === 2>> <<run _option.addComment("Sex scene alterations; slaves will fear you more, but will become more submissive to you.")>> <</if>> <</if>> <<if $PC.title === 1 && $PC.boobs <= 100>> <<set _option = _options.addOption("Your chest is", "boobs", $PC).addValue("Manly", 100, () => V.PC.boobsImplant = 0)>> <<else>> <<set _option = _options.addOption("Your breasts are", "boobs", $PC).addValue("Flat", 100, () => V.PC.boobsImplant = 0)>> <</if>> <<run _option.addValueList([["C-cups", 500], ["DD-cups", 900], ["F-cups", 1100], ["G-cups", 1300]])>> <<if $PC.boobs >= 500>> <<run _options.addOption("Your breasts are", "boobsImplant", $PC) .addValueList([["All natural", 0], ["Fake", 400]])>> <</if>> <<includeDOM _options.render()>> <<else>> You are a <<if $PC.title == 1>> masculine ''Master'' <<else>> feminine ''Mistress' <</if>> and everyone that matters calls you <<= PlayerName()>>. You are $PC.actualAge years old which is <<if $PC.actualAge >= 65>> ''old''. <<elseif $PC.actualAge >= 50>> ''well into middle age''. <<elseif $PC.actualAge >= 35>> ''entering middle age''. <<else>> ''surprisingly young''. <</if>> <p> You are a $PC.nationality $PC.race with <<if $PC.markings == "heavily freckled">>heavily freckled<<elseif $PC.markings == "freckles">>lightly freckled<<else>>clear<</if>> $PC.skin skin, $PC.hColor hair and <<print App.Desc.eyesColor($PC)>>. You have a $PC.faceShape face. </p> <<set _options = new App.UI.OptionsGroup()>> <<run _options.addOption("Player aging is", "playerAging") .addValue("Enabled", 2).on().addValue("Celebrate birthdays, but don't age.", 1).neutral().addValue("Disabled", 0).off() .addComment("This option cannot be changed during the game.")>> <<if def $PC.customTitle>> <<run _options.addOption("Custom title", "customTitle", $PC).showTextBox() .addValue("Reset to default", "", () => {delete $PC.customTitle; delete $PC.customTitleLisp;})>> <<run _options.addOption("Lisped custom title", "customTitleLisp", $PC).showTextBox() .addComment('If using a custom title, select Master or Mistress to set the gender of your title. Make sure to replace your "s"s with "th"s to have working lisps in your lisped title.')>> <<else>> <<run _options.addOption("Custom title", "customTitle", $PC) .addValue("Set custom title", "Master", () => $PC.customTitleLisp = 'Mather')>> <</if>> <<run _options.addOption("Your preferred refreshment is", "refreshment", $PC).showTextBox() .addValue("Cigars", "cigar", () => {V.PC.refreshmentType = 0}) .addValue("Whiskey", "whiskey", () => {V.PC.refreshmentType = 1})>> <<set _option = _options.addOption("Which you", "refreshmentType", $PC) .addValueList([["Smoke", 0], ["Drink", 1], ["Eat", 2], ["Snort", 3], ["Inject", 4], ["Pop", 5], ["Orally dissolve", 6]])>> <<if $PC.refreshmentType == 0>> <<run _option.addComment('"Smoked" must fit into the following sentence: "I smoked a $PC.refreshment" to fit events properly.')>> <<elseif $PC.refreshmentType == 5>> <<run _option.addComment('"Popped" must fit into the following sentence: "I shook the bottle of $PC.refreshment" to fit events properly.')>> <<elseif $PC.refreshmentType == 6>> <<run _option.addComment('"Orally Dissolved" must fit into the following sentence: "I placed a tab of $PC.refreshment under my tongue" to fit events properly.')>> <</if>> <<includeDOM _options.render()>> <p> <<switch $PC.career>> <<case "wealth">> Prior to being an arcology owner, you were a member of the idle wealthy. <<case "capitalist">> Prior to being an arcology owner, you were a business leader. <<case "mercenary">> Prior to being an arcology owner, you were a mercenary. <<case "slaver">> Prior to being an arcology owner, you were a slaver. <<case "engineer">> Prior to being an arcology owner, you were an engineer. <<case "medicine">> Prior to being an arcology owner, you were a surgeon. <<case "celebrity">> Prior to being an arcology owner, you were a minor celebrity. <<case "BlackHat">> Prior to being an arcology owner, you specialized in cracking databases and making mockeries of cyber security. <<case "arcology owner">> Being an arcology owner defines your life now. <<case "escort">> Prior to being an arcology owner, you knew how to survive off your looks and body. <<case "servant">> Prior to being an arcology owner, you served a well-off master<<if $PC.counter.birthMaster >= 2>> and bore him several children<</if>>. <<case "gang">> Prior to being an arcology owner, you were the leader of a ruthless gang. <</switch>> Word in the arcology is you acquired it through <<switch $PC.rumor>> <<case "wealth">> a rather ridiculous amount of money. <<case "diligence">> sheer effort. <<case "force">> brutal force. <<case "social engineering">> clever social manipulation. <<case "luck">> blind luck. <</switch>> </p> <p> You have a <<if $PC.vagina != -1 && $PC.dick != 0>> penis and vagina <<elseif $PC.dick != 0>> penis. <<elseif $PC.vagina != -1>> vagina <</if>> <<if $PC.vagina != -1>> and are <<if $PC.pregWeek < 0>> recovering from your last pregnancy. <<elseif $PC.preg == -2>> infertile. <<elseif $PC.preg == -1>> taking contraceptives. <<elseif $PC.preg == 0>> fertile. <<elseif $PC.preg > 37>> extremely pregnant. <<elseif $PC.preg > 0>> pregnant. <</if>> <<if $PC.preg > 20 || $PC.counter.birthsTotal > 0>> <<if $PC.pregMood == 1>> You tend to be caring and motherly when you're pregnant. [[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]] <<elseif $PC.pregMood == 0>> Pregnancy doesn't really affect your mood. [[Change to motherly|Intro Summary][$PC.pregMood = 1]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]] <<else>> You tend to be very demanding and aggressive when you're pregnant. [[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to motherly|Intro Summary][$PC.pregMood = 1]] <</if>> <<else>> <<if $PC.pregMood == 1>> You tend to be caring and motherly when you're hormonal. [[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]] <<elseif $PC.pregMood == 0>> Your mood isn't tied to your hormones. [[Change to motherly|Intro Summary][$PC.pregMood = 1]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]] <<else>> You tend to be very demanding and aggressive when you're hormonal. [[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to motherly|Intro Summary][$PC.pregMood = 1]] <</if>> <</if>> <<if $PC.counter.birthsTotal > 0>> You have given birth to $PC.counter.birthsTotal babies. <</if>> <</if>> <<if $PC.boobs >= 300>> You have a <<if $PC.title > 0>>masculine<<else>>feminine<</if>> body with <<if $PC.boobs >= 1400>> giant<<if $PC.boobsImplant != 0>>, fake<</if>> cow tits. <<elseif $PC.boobs >= 1200>> huge <<if $PC.boobsImplant != 0>>fake <</if>>breasts. <<elseif $PC.boobs >= 1000>> big <<if $PC.boobsImplant != 0>>fake <</if>>breasts. <<elseif $PC.boobs >= 800>> noticeable breasts. <<elseif $PC.boobs >= 650>> unremarkable breasts. <<elseif $PC.boobs >= 500>> average breasts. <<else>> small breasts. <</if>> <<else>> <<if $PC.title > 0>> You have a manly chest. <<else>> You are flat as a board. <</if>> <</if>> </p> <</if>> </div> </div>
MonsterMate/fc
src/events/intro/introSummary.tw
tw
mit
40,127
:: Location Intro [nobr] <p> As the old countries crumble and technology stagnates, the gap between rich and poor increases. In order to continue living a good life without having their property taken by the mob, many of the wealthy and powerful come together to form 'Free Cities.' These are new cities on undeveloped land, in remote areas, or even afloat, fully free of any allegiance or law. These new cities are built on new ideas, with most buildings designed as futuristic, self-contained 'arcologies.' An arcology and everything in it is usually owned by a single person. And you're determined that you will soon be one of those single people. <span class="intro question">In what part of the world is your new arcology going to be located?</span> </p> <p> [[North America|Intro Summary][$continent = "North America", $language = "English"]] | [[South America|Intro Summary][$continent = "South America", $language = "Spanish"]] | [[Brazil|Intro Summary][$continent = "Brazil", $language = "Portuguese"]] | [[Central Europe|Intro Summary][$continent = "Central Europe", $language = "German"]] | [[Western Europe|Intro Summary][$continent = "Western Europe", $language = "English"]] | [[Eastern Europe|Intro Summary][$continent = "Eastern Europe", $language = "Russian"]] | [[Southern Europe|Intro Summary][$continent = "Southern Europe", $language = "Italian"]] | [[Scandinavia|Intro Summary][$continent = "Scandinavia", $language = "Norwegian"]] | [[the Middle East|Intro Summary][$continent = "the Middle East", $language = "Arabic"]] | [[Africa|Intro Summary][$continent = "Africa", $language = "Arabic"]] | [[Asia|Intro Summary][$continent = "Asia", $language = "Chinese"]] | [[Japan|Intro Summary][$continent = "Japan", $language = "Japanese"]] | [[Australia|Intro Summary][$continent = "Australia", $language = "English"]] <div> //Slaves from countries in the selected continent will appear more frequently.// </div> </p>
MonsterMate/fc
src/events/intro/locationIntro.tw
tw
mit
1,956
:: PC Appearance Intro [nobr] <p> Race and appearance are largely irrelevant in the Free Cities; there are only the free and the enslaved. <div class="indent note"> Appearance only, no effect on gameplay (unless you make a big deal out of it). </div> </p> <p> <div class="intro question"> What nationality are you? </div> <div> You are $PC.nationality. </div> <div> <<textbox "$PC.nationality" $PC.nationality "PC Appearance Intro">> <span class="note"> Capitalize it </span> </div> </p> <p> <div class="intro question"> What race are you? </div> <div id = "ethnicity"> You're $PC.race. </div> <<link "White">> <<set $PC.race = "white">> <<PlayerRace>> <</link>> | <<link "Asian">> <<set $PC.race = "asian">> <<PlayerRace>> <</link>> | <<link "Latina">> <<set $PC.race = "latina">> <<PlayerRace>> <</link>> | <<link "Middle Eastern">> <<set $PC.race = "middle eastern">> <<PlayerRace>> <</link>> | <<link "Black">> <<set $PC.race = "black">> <<PlayerRace>> <</link>> | <<link "Semitic">> <<set $PC.race = "semitic">> <<PlayerRace>> <</link>> | <<link "Southern European">> <<set $PC.race = "southern european">> <<PlayerRace>> <</link>> | <<link "Indo-Aryan">> <<set $PC.race = "indo-aryan">> <<PlayerRace>> <</link>> | <<link "Amerindian">> <<set $PC.race = "amerindian">> <<PlayerRace>> <</link>> | <<link "Pacific Islander">> <<set $PC.race = "pacific islander">> <<PlayerRace>> <</link>> | <<link "Malay">> <<set $PC.race = "malay">> <<PlayerRace>> <</link>> | <<link "Mixed Race">> <<set $PC.race = "mixed race">> <<PlayerRace>> <</link>> </p> <p> <div class="intro question"> What is your skin tone? </div> <div id = "skin"> You have $PC.skin skin. </div> <<link "Pure White">> <<set $PC.skin = "pure white">> <<PlayerSkin>> <</link>> | <<link "Ivory">> <<set $PC.skin = "ivory">> <<PlayerSkin>> <</link>> | <<link "White">> <<set $PC.skin = "white">> <<PlayerSkin>> <</link>> | <<link "Extremely Pale">> <<set $PC.skin = "extremely pale">> <<PlayerSkin>> <</link>> | <<link "Very Pale">> <<set $PC.skin = "very pale">> <<PlayerSkin>> <</link>> | <<link "Pale">> <<set $PC.skin = "pale">> <<PlayerSkin>> <</link>> | <<link "Extremely Fair">> <<set $PC.skin = "extremely fair">> <<PlayerSkin>> <</link>> | <<link "Very Fair">> <<set $PC.skin = "very fair">> <<PlayerSkin>> <</link>> | <<link "Fair">> <<set $PC.skin = "fair">> <<PlayerSkin>> <</link>> | <<link "Light">> <<set $PC.skin = "light">> <<PlayerSkin>> <</link>> | <<link "Light Olive">> <<set $PC.skin = "light olive">> <<PlayerSkin>> <</link>> | <<link "Tan">> <<set $PC.skin = "tan">> <<PlayerSkin>> <</link>> | <<link "Olive">> <<set $PC.skin = "olive">> <<PlayerSkin>> <</link>> | <<link "Bronze">> <<set $PC.skin = "bronze">> <<PlayerSkin>> <</link>> | <<link "Dark Olive">> <<set $PC.skin = "dark olive">> <<PlayerSkin>> <</link>> | <<link "Dark">> <<set $PC.skin = "dark">> <<PlayerSkin>> <</link>> | <<link "Light Beige">> <<set $PC.skin = "light beige">> <<PlayerSkin>> <</link>> | <<link "Beige">> <<set $PC.skin = "beige">> <<PlayerSkin>> <</link>> | <<link "Dark Beige">> <<set $PC.skin = "dark beige">> <<PlayerSkin>> <</link>> | <<link "Light Brown">> <<set $PC.skin = "light brown">> <<PlayerSkin>> <</link>> | <<link "Brown">> <<set $PC.skin = "brown">> <<PlayerSkin>> <</link>> | <<link "Dark Brown">> <<set $PC.skin = "dark brown">> <<PlayerSkin>> <</link>> | <<link "Black">> <<set $PC.skin = "black">> <<PlayerSkin>> <</link>> | <<link "Ebony">> <<set $PC.skin = "ebony">> <<PlayerSkin>> <</link>> | <<link "Pure Black">> <<set $PC.skin = "pure black">> <<PlayerSkin>> <</link>> </p> <p> <div class="intro question"> Some people have freckles. </div> <div id = "markings"> <<if $PC.markings == "none">> Your skin is pure and clear of any freckles. <<elseif $PC.markings == "freckles">> You have some freckles on your cheeks and elsewhere. <<elseif $PC.markings == "heavily freckled">> You have dense freckles on your cheeks and elsewhere. <</if>> </div> <<link "No Freckles">> <<set $PC.markings = "none">> <<PlayerMarkings>> <</link>> | <<link "Light Freckles">> <<set $PC.markings = "freckles">> <<PlayerMarkings>> <</link>> | <<link "Heavy Freckles">> <<set $PC.markings = "heavily freckled">> <<PlayerMarkings>> <</link>> </p> <p> <div class="intro question"> What color are your eyes? </div> <div> You have $PC.eye.origColor eyes. </div> <div> <<textbox "$PC.eye.origColor" $PC.eye.origColor "PC Appearance Intro">> </div> </p> <p> <div class="intro question"> What color is your hair? </div> <div> You have $PC.hColor hair. </div> <div> <<textbox "$PC.hColor" $PC.hColor "PC Appearance Intro">> </div> </p> <p> [[Finish player character customization|PC Experience Intro][resetEyeColor($PC)]] </p>
MonsterMate/fc
src/events/intro/pcAppearanceIntro.tw
tw
mit
5,063
:: PC Body Intro [nobr] <p> Most slaveowners in the Free Cities are male. The preexisting power structures of the old world have mostly migrated to the new, and it can often be very hard to be a free woman in the Free Cities. Some manage to make their way, but in many arcologies, men are the owners, and women are the owned. You'll cut a striking figure as the owner and leader of your arcology, but <span class="intro question"> what's under your business attire? </span> </p> <<set $PC.actualAge = Math.clamp($PC.actualAge, 14, 80)>> <p> <div> <<if $PC.title > 0>> You are a <<if $PC.genes == "XX">>wo<</if>>man with a masculine figure and will be referred to as <span style="font-weight:Bold"> Master. </span> [[Switch to a feminine appearance|PC Body Intro][$PC.title = 0]] <<else>> You are a <<if $PC.genes == "XX">>wo<</if>>man with a feminine figure and will be referred to as <span style="font-weight:Bold"> Mistress. </span> [[Switch to a masculine appearance|PC Body Intro][$PC.title = 1]] <</if>> </div> <div class="indent note"> This option will affect scenes. Femininity may increase difficulty in the future, but for now only your chest and junk matter. </div> <div> Under my suit jacket, <<if $PC.boobs > 300>> <span style="font-weight:Bold"> feminine breasts. </span> [[Remove breasts|PC Body Intro][$PC.boobs = 100]] <<else>> <<if $PC.title > 0>> <span style="font-weight:Bold"> masculine muscles. </span> [[Add breasts|PC Body Intro][$PC.boobs = 900]] <<else>> <span style="font-weight:Bold"> a flat chest. </span> [[Add breasts|PC Body Intro][$PC.boobs = 900]] <</if>> <</if>> <div class="indent note"> These options will affect scenes. Sporting breasts will increase difficulty. </div> </div> <div> Behind the front of my tailored <<if $PC.dick != 0>> <<if $PC.vagina != -1>> slacks, <span style="font-weight:Bold"> both a penis and a vagina. </span> [[Remove the penis|PC Body Intro][$PC.dick = 0, $PC.balls = 0, $PC.scrotum = 0, $PC.prostate = 0]] | [[Remove the vagina|PC Body Intro][$PC.vagina = -1, $PC.ovaries = 0]] <<else>> slacks, a <span style="font-weight:Bold"> penis. </span> [[Switch to vagina|PC Body Intro][$PC.dick = 0, $PC.balls = 0, $PC.scrotum = 0, $PC.prostate = 0, $PC.genes = "XX", $PC.vagina = 1, $PC.ovaries = 1]] | [[Add a vagina|PC Body Intro][$PC.vagina = 1, $PC.ovaries = 1]] <</if>> <<else>> skirt, a <span style="font-weight:Bold"> vagina. </span> [[Switch to penis|PC Body Intro][$PC.dick = 4, $PC.balls = 3, $PC.scrotum = 3, $PC.prostate = 1, $PC.genes = "XY", $PC.vagina = -1, $PC.ovaries = 0]] | [[Add a penis|PC Body Intro][$PC.dick = 4, $PC.balls = 3, $PC.scrotum = 3, $PC.prostate = 1]] <</if>> </div> <div class="indent note"> These options will affect sex scenes. Feminine options will increase difficulty. </div> </p> <p> <div class="intro question"> How old are you? </div> <div> I'm <<if $PC.actualAge >= 65>> getting up in years. I've made a legacy for myself, and I'm not done yet. <<elseif $PC.actualAge >= 50>> well into middle age. I've made a name for myself, and I've still got it. <<elseif $PC.actualAge >= 35>> entering middle age. I'm accomplished, and I retain some youthful vigor. <<else>> surprisingly young. I'll need to prove myself, but I've got energy to burn. <</if>> My age: <span style="font-weight:Bold"> <<textbox "$PC.actualAge" $PC.actualAge "PC Body Intro">> </span> <<set $PC.physicalAge = $PC.actualAge, $PC.visualAge = $PC.actualAge>> </div> <div class="indent note"> Older player characters start with more reputation and maintain reputation somewhat more easily, but have slightly less sexual energy. </div> </p> <p> <div class="intro question"> What is your name and alternate indulgence? </div> <div> Name your character: <<textbox "$PC.slaveName" $PC.slaveName "PC Body Intro">> (surname) <<if $PC.slaveSurname>> <<textbox "$PC.slaveSurname" $PC.slaveSurname "PC Body Intro">> <<link "Go by a single name">><<set $PC.slaveSurname = 0, $PC.birthSurname = "">><<goto "PC Body Intro">><</link>> <<else>> <<textbox "$PC.slaveSurname" "" "PC Body Intro">> <</if>> </div> <div class="indent note"> As with all text boxes in FC, press the enter key to commit your changes. </div> <div> Preferred refreshment: <<textbox "$PC.refreshment" $PC.refreshment "PC Body Intro">> [[Cigars|PC Body Intro][$PC.refreshment = "cigar",$PC.refreshmentType = 0]] | [[Whiskey|PC Body Intro][$PC.refreshment = "whiskey",$PC.refreshmentType = 1]] </div> <div> Preferred method of consumption: <span style="font-weight:Bold"><<if $PC.refreshmentType == 0>>Smoked<<elseif $PC.refreshmentType == 1>>Drank<<elseif $PC.refreshmentType == 2>>Eaten<<elseif $PC.refreshmentType == 3>>Snorted<<elseif $PC.refreshmentType == 4>>Injected<<elseif $PC.refreshmentType == 5>>Popped<<elseif $PC.refreshmentType == 6>>Dissolved orally<</if>></span>. </div> [[Smoked|PC Body Intro][$PC.refreshmentType = 0]] | [[Drank|PC Body Intro][$PC.refreshmentType = 1]] | [[Eaten|PC Body Intro][$PC.refreshmentType = 2]] | [[Snorted|PC Body Intro][$PC.refreshmentType = 3]] | [[Injected|PC Body Intro][$PC.refreshmentType = 4]] | [[Popped|PC Body Intro][$PC.refreshmentType = 5]] | [[Orally Dissolved|PC Body Intro][$PC.refreshmentType = 6]] <div class="indent note"> Flavor only; no mechanical effect. If entering a custom refreshment, please assign proper usage. <<if $PC.refreshmentType == 0>>"Smoke" must fit into the following sentence: "I smoked a $PC.refreshment" to fit events properly <<elseif $PC.refreshmentType == 5>>"Popped" must fit into the following sentence: "I shook the bottle of $PC.refreshment" to fit events properly <<elseif $PC.refreshmentType == 6>>"Orally Dissolved" must fit into the following sentence: "I placed a tab of $PC.refreshment under my tongue" to fit events properly <</if>> </div> </p> <p> <<if $PC.vagina != -1>> [[Confirm player character customization|PC Preg Intro]] <<else>> [[Confirm player character customization|PC Appearance Intro]] <</if>> </p>
MonsterMate/fc
src/events/intro/pcBodyIntro.tw
tw
mit
6,252
:: PC Experience Intro [nobr] <<if $PC.career == "arcology owner">> <<goto "PC Rumor Intro">> <<else>> <p> You're a relative unknown in the Free Cities, but it's clear you're already accomplished. The meek and average cannot aspire to acquire arcologies. You've got all the necessary skills to take over an arcology and succeed as its owner, but you should be able to leverage the skills and experience you retain from your past, too. <span class="intro question"> What career brought you to the Free Cities? </span> </p> <div> [[Idle wealth|PC Rumor Intro][$PC.career = "wealth"]] </div> <div class="indent note"> Start with <span class="cash inc">extra money.</span> <<if $showSecExp == 1>> However, you will find it @@.red;harder to maintain authority,@@ but <span class="cash inc">propaganda hub upgrades will be cheaper.</span> <</if>> Your starting slaves will have two free levels of @@.cyan;sex skills@@ available. </div> <div> [[Venture capitalism|PC Rumor Intro][$PC.career = "capitalist"]] </div> <div class="indent note"> You will be more @@.green;effective at business pursuits.@@ <<if $showSecExp == 1>> In addition, <span class="cash inc">propaganda hub upgrades will be cheaper.</span> <</if>> Your starting slaves will have a free level of @@.cyan;prostitution skill@@ available. </div> <div> [[Private military work|PC Rumor Intro][$PC.career = "mercenary"]] </div> <div class="indent note"> You retain mercenary contacts <<if $showSecExp == 1>> and your security skills will make it @@.green;easier to keep the arcology safe.@@ Also, <span class="cash inc">security HQ upgrades will be cheaper.</span> <<else>> and security skills. <</if>> Your starting slaves will have @@.green;free trust available.@@ </div> <div> [[Slaving|PC Rumor Intro][$PC.career = "slaver"]] </div> <div class="indent note"> Your slave breaking experience will be useful. <<if $showSecExp == 1>> You will find that authority will be @@.green;easier to maintain@@ and <span class="cash inc">security HQ upgrades will be cheaper.</span> <</if>> Your starting slaves will have free @@.hotpink;devotion@@ available. </div> <div> [[Arcology engineering|PC Rumor Intro][$PC.career = "engineer"]] </div> <div class="indent note"> <span class="cash inc">Upgrading the arcology will be cheaper.</span> Also, the arcology will start with <span class="cash inc">basic economic upgrades</span> already installed. </div> <div> [[Slave surgery|PC Rumor Intro][$PC.career = "medicine"]] </div> <div class="indent note"> Surgery will be <span class="cash inc">cheaper</span> and @@.green;healthier@@ and <span class="cash inc">drug upgrades will be cheaper.</span> Your starting slaves will have free implants available. </div> <div> [[Minor celebrity|PC Rumor Intro][$PC.career = "celebrity"]] </div> <div class="indent note"> Start with @@.green;extra reputation.@@ <<if $showSecExp == 1>> In addition, <span class="cash inc">propaganda hub upgrades will be cheaper.</span> <</if>> Your starting slaves will have a free level of @@.cyan;entertainment skill@@ available. </div> <div> [[High class escort|PC Rumor Intro][$PC.career = "escort"]] </div> <div class="indent note"> As an ex-whore, you will find it @@.red;hard to maintain reputation@@<<if $showSecExp == 1>>, @@.red;in addition to authority@@<</if>>. Your starting slaves will have a free level of @@.cyan;sex skills@@ available, along with a free level of @@.cyan;entertainment and prostitution.@@ </div> <div> [[Servant|PC Rumor Intro][$PC.career = "servant"]] </div> <div class="indent note"> As an ex-servant, you will find it @@.red;hard to maintain reputation@@<<if $showSecExp == 1>>, @@.red;in addition to authority@@<</if>>. You know how to <span class="cash inc">lower your upkeep,</span> but @@.red;not much else.@@ Your starting slaves will have free @@.mediumaquamarine;trust@@ and @@.hotpink;devotion.@@ </div> <div> [[Gang Leader|PC Rumor Intro][$PC.career = "gang"]] </div> <div class="indent note"> As an ex-gang leader, you know how to haggle slaves. <<if $showSecExp == 1>> In addition, asserting your authority @@.green;will be easier@@ and <span class="cash inc">security HQ upgrades will be cheaper.</span> <</if>> However, you will @@.red;find reputation quite hard@@ to maintain. Your starting slaves will be @@.green;fitter@@ and possess a free level of @@.cyan;combat skill.@@ </div> <div> [[Incursion Specialist|PC Rumor Intro][$PC.career = "BlackHat"]] </div> <div class="indent note"> As an ex-hacker for hire, you know how to gain access computer systems and other devices. @@.green;Certain upgrades will be cheaper@@ and you may find alternative approaches to problems. <<if $showSecExp == 1>> However, you will @@.red;find authority quite hard@@ to maintain. <</if>> Your starting slaves will have a free level of @@.cyan;intelligence@@. </div> <</if>> <p> <<if $showSecExp == 1>> <<link "Hide Security Expansion Mod effects" "PC Experience Intro">> <<set $showSecExp = 0>> <</link>> <<else>> <<link "Show Security Expansion Mod effects" "PC Experience Intro">> <<set $showSecExp = 1>> <</link>> <</if>> </p>
MonsterMate/fc
src/events/intro/pcExperienceIntro.tw
tw
mit
5,283
:: PC Preg Intro [nobr] <p> You have a working female reproductive system, and thus, a menstrual cycle. Women already face hardships as slaveowners and arcology owners, and being with child, coupled with a strong societal aversion to the dominant being penetrated, leads most pregnant owners to find themselves in dire situations. As an added precaution, since nothing stops an owner from hooking up with another owner, contraceptives are common amongst free women. </p> <p class="intro question"> What's your stance on taking contraceptives? </p> <p> You're <<if $PC.preg == -1>> not interested in being a mother. [[Risky|PC Preg Intro][$PC.preg = 0]] <<elseif $PC.preg == 0>> fertile and you know the risks. [[Safe|PC Preg Intro][$PC.preg = -1]] | [[About that...|PC Preg Intro][$PC.preg = 10]] <<elseif $PC.preg > 42>> proudly pregnant with octuplets and they are coming right now. [[Not pregnant|PC Preg Intro][$PC.preg = 0, $PC.pregType = 0, $PC.labor = 0]] <<elseif $PC.preg > 37>> <<print $PC.preg>> weeks pregnant and very close to being due. [[Not pregnant|PC Preg Intro][$PC.preg = 0, $PC.pregType = 0]] | [[Overdid the fertility agents|PC Preg Intro][$PC.preg = 43, $PC.pregType = 8, $PC.labor = 1]] <<else>> already pregnant. [[Fertile|PC Preg Intro][$PC.preg = 0]] | [[Make that very pregnant|PC Preg Intro][$PC.preg = 40]] <</if>> <div class="indent note"> Being or becoming pregnant will raise difficulty. </div> </p> <p class="intro question"> Hormones can be an interesting thing, but how do they affect you? </p> <p> You're <<if $PC.pregMood == 1>> gentle and motherly when you're hormonal. [[Normal|PC Preg Intro][$PC.pregMood = 0]] | [[Aggressive|PC Preg Intro][$PC.pregMood = 2]] <<elseif $PC.pregMood == 0>> in complete control of yourself. [[Motherly|PC Preg Intro][$PC.pregMood = 1]] | [[Aggressive|PC Preg Intro][$PC.pregMood = 2]] <<else>> aggressive and domineering when you're hormonal. [[Normal|PC Preg Intro][$PC.pregMood = 0]] | [[Motherly|PC Preg Intro][$PC.pregMood = 1]] <</if>> <div class="indent note"> Hormone induced moods may alter some sex scenes, as well as change slaves' reactions to you. </div> </p> <p> [[Confirm player character customization|PC Appearance Intro]] </p>
MonsterMate/fc
src/events/intro/pcPregIntro.tw
tw
mit
2,281
:: PC Rumor Intro [nobr] <<unset $showSecExp>> <p> Who you are is something that you will have to define for yourself through your actions. Once you own an arcology, no one will be in a position to apply moral scorekeeping to you. In the brave new world of the Free Cities, you will be free to define yourself as the sum of your actions, rather than as the product of your past. The first decision that will define who you are as an arcology owner is your choice of method in acquiring one. <span class="intro question"> What approach will you take? </span> </p> <div> [[A judicious application of funds|Takeover Target][$PC.rumor = "wealth"]] </div> <div class="indent note"> Start with <span class="cash inc">extra money,</span> since you were wealthy enough to buy an arcology. </div> <div> [[Hard work and diligence|Takeover Target][$PC.rumor = "diligence"]] </div> <div class="indent note"> New slaves will @@.hotpink;hate you less,@@ since it will be known that you worked hard to earn your position. </div> <div> [[The remorseless use of force|Takeover Target][$PC.rumor = "force"]] </div> <div class="indent note"> New slaves @@.gold;will fear you more,@@ since rumors about your violent takeover will inevitably circulate. </div> <div> [[Clever social engineering|Takeover Target][$PC.rumor = "social engineering"]] </div> <div class="indent note"> Start with the @@.green;first societal option unlocked,@@ since you manipulated the arcology's citizens. </div> <div> [[Blind luck|Takeover Target][$PC.rumor = "luck"]] </div> <div class="indent note"> Start with a @@.green;good reputation,@@ since the story of your unlikely accession will be famous. </div>
MonsterMate/fc
src/events/intro/pcRumorIntro.tw
tw
mit
1,688
:: Slave Age Intro [nobr] <p class="intro question"> Do you want to see content involving girls younger than 18 in this game? </p> <div> [[No.|PC Body Intro][$minimumSlaveAge = 18, $pedo_mode = 0]] <span class="note"> All slaves will be at least 18 years old, and slavery of children will be illegal in the Free Cities. </span> </div> <div> Yes, I wish to see girls as young as <<textbox "$minimumSlaveAge" $minimumSlaveAge "PC Body Intro">> [[Continue|PC Body Intro][$pedo_mode = 0]] </div> <div> Yes, and [[I just want lots of lolis.|PC Body Intro][$minimumSlaveAge = 3, $pedo_mode = 1]] <span class="note"> Nearly all randomly generated slaves will be under the age of 18, although custom slaves and slaves related to specific events may be older. </span> </div> <div> Yes, [[I wish to see them grow up and become fertile.|PC Body Intro][$minimumSlaveAge = 3, $pedo_mode = 0, $precociousPuberty = 1, $loliGrow = 1, $fertilityAge = 10, $potencyAge = 12, $seeAge = 1]] <span class="note"> Preset. Slaves' age will be random from minimal possible age. They can be made fertile younger than normal puberty age (10) in some cases, and grow up naturally. </span> </div>
MonsterMate/fc
src/events/intro/slaveAgeIntro.tw
tw
mit
1,186
:: Takeover Target [nobr] <p> Before you deploy the <<if $PC.rumor == "wealth">> financial reserves that <<elseif $PC.rumor == "diligence">> carefully constructed plan that <<elseif $PC.rumor == "force">> mercenaries and <<if $continent == "Eastern Europe">>//maskirovka//<<else>>cover plan<</if>> that <<elseif $PC.rumor == "social engineering">> clever social manipulation that <<else>> optimistic plan you hope <</if>> will allow you to take over an arcology, you need to select a target. There are a number of vulnerable arcologies that you could <<if $PC.rumor == "wealth">> attempt a hostile takeover of <<elseif $PC.rumor == "diligence">> work to take over <<elseif $PC.rumor == "force">> attack <<elseif $PC.rumor == "social engineering">> infiltrate <<else>> aspire to take over <</if>> with a reasonable chance of success. Free Cities are volatile places, even compared to the troubled state of the rest of the world. There are always arcologies whose owners are on the brink of failure, and you could target one of them. <<if $PC.career == "arcology owner">>(Since you've @@.springgreen;owned an arcology before,@@ you identify more potential target arcologies than a novice might.)<</if>> Alternatively, arcologies are being built every day, and their owners' control is often uncertain. <span class="intro question"> Which arcology will you target? </span> </p> <div class="card"> [[A newly constructed arcology|Terrain Intro][$targetArcology.fs = "New"]] <div class="indent note"> With many new arcologies being constructed, you will be able to select which area of the world and type of Free City you'd like your target arcology to be located in. </div> <div class="indent note"> Recommended for new players. </div> </div> <<includeDOM App.Intro.generateEstablishedArcologies()>>
MonsterMate/fc
src/events/intro/takeoverTarget.tw
tw
mit
1,841
:: Terrain Intro [nobr] <p> The Free Cities are located wherever the rule of law is weak enough or permissive enough to allow a small area to secede, and where founders can afford to buy an area on which to build. </p> <p> Many Free Cities are therefore located in marginal, rural terrain. Founding a Free City in such an area is easy, and can usually be accomplished with the indifference or even connivance of the old country from which it secedes. After all, the potential commercial benefits are great, and the loss of underused land is only significant in the moral sense. </p> <p> Some Free Cities are located on water. Though some areas of shallow sea over the continental shelves hide valuable resources, others are neglected. Arcologies are such massive structures that it is very possible to design them to float anchored to the seabed. </p> <p> Finally, a few Free Cities have been carved out from old world cities. Urban decay has left the hearts of many cities ripe for this. Many old world countries resist this kind of secession, but this rarest, smallest, and densest kind of Free City can offer its surrounding nation a great deal of economic advantage. </p> <p> <span class="intro question">Which kind of Free City hosts your arcology?</span> </p> <div class="card"> [[Urban|Location Intro][$terrain = "urban"]] <div class="indent"><span class="noteworthy">Low</span> minimum slave value and initial <span class="noteworthy">bear market</span> for slaves.</div> <div class="indent"><span class="positive">High</span> ease of commerce with the old world.</div> <div class="indent"><span class="positive">High</span> access to refugees and other desperate people.</div> <div class="indent"><span class="warning">Low</span> cultural independence.</div> <div class="indent">Unusually compact arcology with few manufacturing sectors.</div> </div> <div class="card"> [[Rural|Location Intro][$terrain = "rural"]] <div class="indent"><span class="noteworthy">High</span> minimum slave value and initial <span class="noteworthy">bull market</span> for slaves.</div> <div class="indent">Moderate ease of commerce with the old world.</div> <div class="indent">Moderate access to refugees and other desperate people.</div> <div class="indent">Moderate cultural independence.</div> <div class="indent">Widespread arcology with many manufacturing sectors.</div> </div> <div class="card"> [[Ravine|Location Intro][$terrain = "ravine"]] <div class="indent"><span class="noteworthy">High</span> minimum slave value and initial <span class="noteworthy">bull market</span> for slaves.</div> <div class="indent"><span class="warning">Low</span> ease of commerce with the old world.</div> <div class="indent"><span class="warning">Very low</span> access to refugees and other desperate people.</div> <div class="indent"><span class="positive">High</span> cultural independence.</div> <div class="indent">The arcology mostly being hidden inside the ravine leads to an unusual layout.</div> </div> <div class="card"> [[Marine|Location Intro][$terrain = "marine"]] <div class="indent">Moderate minimum slave value and initially balanced market for slaves.</div> <div class="indent">Moderate ease of commerce with the old world.</div> <div class="indent"><span class="warning">Low</span> access to refugees and other desperate people.</div> <div class="indent"><span class="positive">High</span> cultural independence.</div> <div class="indent">Large amount of markets and an extra shop sector.</div> </div> <div class="card"> [[Oceanic|Intro Summary][$terrain = "oceanic"]] <div class="indent"><span class="noteworthy">High</span> minimum slave value and initial <span class="noteworthy">bull market</span> for slaves.</div> <div class="indent">Moderate ease of commerce with the old world.</div> <div class="indent"><span class="warning">Very low</span> access to refugees and other desperate people.</div> <div class="indent"><span class="positive">Very high</span> cultural independence.</div> <div class="indent">This unique location attracts the wealthy leading to initial luxury apartments.</div> <div class="indent">Ensures access to slaves from all over the world and will not associate the arcology with a continent.</div> <<if $showSecExp == 1>> <div class="indent">Oceanic arcologies will not be subjects of attacks.</div> <</if>> </div> <p> <<if $showSecExp == 1>> <<link "Hide Security Expansion Mod effects" "Terrain Intro">> <<set $showSecExp = 0>> <</link>> <<else>> <<link "Show Security Expansion Mod effects" "Terrain Intro">> <<set $showSecExp = 1>> <</link>> <</if>> </p>
MonsterMate/fc
src/events/intro/terrainIntro.tw
tw
mit
4,647
:: Trade Intro [nobr] <p> Most of the Free Cities are run on radically libertarian or even anarcho-capitalist principles. The first Free Cities experimented with indentured servitude, and this rapidly developed into widespread slavery. By now, the Free Cities collectively are a fundamentally slaveowning society and maintain a thriving slave trade that feeds off the terrible conditions in parts of the old world. <span class="intro question"> What attitude have the old world countries generally taken towards this trade? </span> </p> <p> <div> [[They've turned a blind eye, or even been complicit.|Extreme Intro][$internationalTrade = 1]] <span class="note"> Slaves from all across the world will appear. </span> </div> <div> [[They've done what little they can to stop it.|Extreme Intro][$internationalTrade = 0]] <span class="note"> Almost all slaves will be from the continent where the arcology is located. </span> </div> <div> <<link "Reactions have been mixed.">> <<set $internationalTrade = 0, $customVariety = 1, $customWA = 1>> <<goto "Customize Slave Trade">> <</link>> <span class="note"> This will bypass arcology location restrictions, allowing you to adjust the nationalities encountered when buying non-customizable slaves. </span> </div> </p>
MonsterMate/fc
src/events/intro/tradeIntro.tw
tw
mit
1,308
:: JS Random Event [nobr] <<set $nextButton = "Continue">> <<run html5passage(n => $event.execute(n))>>
MonsterMate/fc
src/events/jsRandomEvent.tw
tw
mit
106
:: RECI [nobr] /* This is one of several files that contains and organizes many different events. */ /* 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: */ /* 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 */ /* This is a legacy container for whomever may still be using it for events. */ /* They, if they exist, should strongly consider converting their events to the JS standard. */ <<if Array.isArray($RECIevent)>> <<set $activeSlave = $eventSlave>> <<if $cheatMode == 1>> <<set $nextButton = "Back", $nextLink = "Nonrandom Event", $returnTo = "Nonrandom Event">> /* if user just clicks spacebar */ ''A random check-in event would have been selected from the following:'' <br> <<for _i = 0; _i < $RECIevent.length; _i++>> <<print "[[$RECIevent[_i]|RECI][$RECIevent = $RECIevent[" + _i + "]]]">> <br> <</for>> <br><br>[[Go Back to Random Individual Event|Random Individual Event][$activeSlave = 0]] <<else>> <<set $RECIevent = $RECIevent.random()>> <<goto "RECI">> <</if>> <<else>> <<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Next Week">> <<set _clothesTemp = $activeSlave.clothes>> <<switch $RECIevent>> /*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 "placeholder">> <<set $activeSlave.clothes = "no clothing">> <</switch>> <span id="art-frame"> /* 000-250-006 */ <<if $seeImages == 1>> <<if $imageChoice == 1>> <div class="imageRef lrgVector"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 2, 0)>></div> <<else>> <div class="imageRef lrgRender"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 2, 0)>></div> <</if>> <</if>> /* 000-250-006 */ </span> <<set $activeSlave.clothes = _clothesTemp>> <<run Enunciate($activeSlave)>> <<set $desc = SlaveTitle($activeSlave)>> <<set _belly = bellyAdjective($activeSlave)>> <<setLocalPronouns $activeSlave>> <<setPlayerPronouns>> <<switch $RECIevent>> <<default>> <br>ERROR: bad RECI event $RECIevent <</switch>> <br><br> <span id="result"> <<switch $RECIevent>> <<default>> <br>ERROR: bad RECI event $RECIevent <</switch>> <<if $cheatMode == 1>> <br><br>DEBUG: &nbsp;&nbsp;&nbsp;&nbsp;[[Go back to Nonrandom Event|Nonrandom Event][$activeSlave = 0, $eventSlave = 0]] <</if>> </span> <</if>> /* CLOSES EVENT SELECTION */
MonsterMate/fc
src/events/legacy/RECI.tw
tw
mit
3,420
/* Note that we use a much more strict delineation between individual and nonindividual events here than in the old event system. * Individual events always trigger for the chosen event slave, and the first actor is always the event slave. * Nonindividual events are not provided any event slave and should cast one themselves. */ /** get a list of possible individual events * @returns {Array<App.Events.BaseEvent>} */ App.Events.getIndividualEvents = function() { return [ // instantiate all possible random individual events here // example: new App.Events.TestEvent(), new App.Events.RESSAssFitting(), new App.Events.RESSCockFeederResistance(), new App.Events.RESSComfortableSeat(), new App.Events.RESSDevotedAnalVirgin(), new App.Events.RESSDevotedEducated(), new App.Events.RESSDevotedShortstack(), new App.Events.RESSDevotedVirgin(), new App.Events.RESSDevotedWaist(), new App.Events.RESSEscapee(), new App.Events.RESSFrighteningDick(), new App.Events.RESSHotPC(), new App.Events.RESSImScared(), new App.Events.RESSKitchenMolestation(), new App.Events.RESSLazyEvening(), new App.Events.RESSMoistPussy(), new App.Events.RESSMuscles(), new App.Events.RESSObedientAddict(), new App.Events.RESSObedientBitchy(), new App.Events.RESSObedientGirlish(), new App.Events.RESSObedientIdiot(), new App.Events.RESSObedientShemale(), new App.Events.RESSPassingDeclaration(), new App.Events.RESSRetchingCum(), new App.Events.RESSServeThePublicDevoted(), new App.Events.RESSSlaveOnSlaveClit(), new App.Events.RESSSlaveOnSlaveDick(), new App.Events.RESSSuppositoryResistance(), new App.Events.RESSTooThinForCumDiet(), new App.Events.RESSWaistlineWoes(), new App.Events.RECIButthole(), new App.Events.RECIFeminization(), new App.Events.RECIFuta(), new App.Events.RECIMilf(), new App.Events.RECIOrientation(), new App.Events.RECIUgly(), new App.Events.RETSSiblingTussle(), new App.Events.RETSSimpleAssault(), ]; }; /** get a list of possible nonindividual events * @returns {Array<App.Events.BaseEvent>} */ App.Events.getNonindividualEvents = function() { return [ // instantiate all possible random nonindividual events here // example: new App.Events.TestEvent(), new App.Events.REDevotees(), new App.Events.RERelativeRecruiter(), new App.Events.REStaffedMorning(), ]; }; /** choose a valid, castable event from the given event list * @param {Array<App.Events.BaseEvent>} eventList - list of events to filter * @param {App.Entity.SlaveState} [slave] - event slave (mandatory to cast in first actor slot). omit for nonindividual events. * @returns {Array<App.Events.BaseEvent>} */ App.Events.getValidEvents = function(eventList, slave) { return eventList .filter(e => (e.eventPrerequisites().every(p => p()) && e.castActors(slave))) .reduce((res, cur) => res.concat(Array(cur.weight).fill(cur)), []); }; /* --- below here is a bunch of workaround crap because we have to somehow persist event selection through multiple twine passages. --- * eventually all this should go away, and we should use just one simple passage for both selection and execution, so everything can be kept in object form instead of being continually serialized and deserialized. * we need to be able to serialize/deserialize the active event anyway so that saves work right, so this mechanism just piggybacks on that capability so the event passages don't need to be reworked all at once */ /** get a stringified list of possible individual events as fake passage names - TODO: kill me */ App.Events.getIndividualEventsPassageList = function(slave) { const events = App.Events.getValidEvents(App.Events.getIndividualEvents(), slave); return events.map(e => `JSRE ${e.eventName}:${JSON.stringify(e.toJSON())}`); }; /** get a stringified list of possible individual events as fake passage names - TODO: kill me */ App.Events.getNonindividualEventsPassageList = function() { const events = App.Events.getValidEvents(App.Events.getNonindividualEvents()); return events.map(e => `JSRE ${e.eventName}:${JSON.stringify(e.toJSON())}`); }; /** execute a fake event passage from the embedded JSON - TODO: kill me */ App.Events.setGlobalEventForPassageTransition = function(psg) { V.event = JSON.parse(psg.slice(psg.indexOf(":") + 1)); }; /** strip the embedded JSON from the fake event passage so it can be read by a human being - TODO: kill me */ App.Events.printEventPassage = function(psg) { return psg.slice(0, psg.indexOf(":")); };
MonsterMate/fc
src/events/randomEvent.js
JavaScript
mit
4,519
App.Events.REDevotees = class REDevotees extends App.Events.BaseEvent { eventPrerequisites() { return []; // always valid if sufficient actors can be cast successfully } actorPrerequisites() { const devoteeRequirements = [ s => s.devotion > 50, canWalk, isSlaveAvailable ]; return [ // total of four actors, identical requirements for each devoteeRequirements, devoteeRequirements, devoteeRequirements, devoteeRequirements ]; } execute(node) { let devotees = this.actors.map(a => getSlave(a)); // for this event, they're fine as an array V.nextLink = "RIE Eligibility Check"; App.Events.drawEventArt(node, devotees); const slaveList = devotees.map(s => s.slaveName).reduce((res, ch, i, arr) => res + (i === arr.length - 1 ? ' and ' : ', ') + ch); let t = []; t.push(`You have a mature, well-trained household of slaves. ${slaveList} are all devoted to you. There are all manner of ways you could display this coterie of loyal sex slaves to show off your wealth and power.`); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result("See an operetta with four attendants", opera), new App.Events.Result("Visit a casino in good company", casino), ]); function opera() { let t = []; t.push(`You reserve a box at an upcoming operetta; classical Italian music is enjoying a renaissance these days. The doormen at the fashionable opera house promptly widen the velvet ropes so that you and your party may proceed unimpeded. Their quick thinking is necessary, since there are five of you walking sedately up the steps: you in the middle, impeccable in`); if (V.PC.title === 1) { t.push(`gentleman's evening wear, complete with gloves and cane;`); } else { t.push(`a fine and noble lady's tuxedo;`); } t.push(`and ${slaveList}, all dressed in the gorgeous fashion of the seventeenth century, all plunging necklines, piled hair, and ruffled petticoats. The splendid master of ceremonies clears his throat and announces in a sonorous voice, "${PCTitle()}." The ostentation <span class="reputation inc">turns every head and catches every eye.</span>`); for (const s of devotees) { repX(600, "event", s); } return t; } function casino() { let t = []; t.push(`The croupiers, bouncers and regulars down at the nearest casino hardly know what to think when you appear with a chit full of cash and twice as many partners as you have arms. You live the night big, starting at the poker table with so many tits and asses on display behind you that, <span class="cash inc">baby, you make a killing.</span> ${slaveList} quickly catch the rhythm of the place: slaves can get away with a little more in the smoky, whiskey soaked, money tinted atmosphere, and they <span class="devotion inc">enjoy themselves immensely.</span> They flirt, flash, giggle, kiss each other, and generally destroy the concentration of everyone within twenty ${V.showInches === 2 ? "yards" : "meters"} — except you. Ring-a-ding-ding.`); const _cashX = random(30, 100)*3; for (const s of devotees) { cashX(_cashX, "event", s); s.devotion += 4; } return t; } } };
MonsterMate/fc
src/events/reDevotees.js
JavaScript
mit
3,193
App.Events.RERelativeRecruiter = class RERelativeRecruiter extends App.Events.BaseEvent { eventPrerequisites() { return []; // always valid if sufficient actors can be cast successfully } actorPrerequisites() { return [ [ // first actor - recruiter s => s.fetish !== "mindbroken", s => s.fuckdoll === 0, s => s.devotion > 50, canWalk, /* TODO: not sure why this requirement exists */ s => s.canRecruit === 1 && (totalRelatives(s) === 0 || V.limitFamilies !== 1), s => this._chooseTargetRelative(s) ] ]; } /** pick a target relative and store it in the event parameters * @param {App.Entity.SlaveState} slave who's doing the recruiting (should be first actor) * @returns {boolean} success or failure */ _chooseTargetRelative(slave) { // make sure the slave has a genepool entry (everyone should) const gp = V.genePool.find(s => s.ID === slave.ID); if (!gp) { console.log(`Slave with ID ${slave.ID} is missing her genepool entry.`); slave.canRecruit = 0; return false; } const choices = this._getTargetRelativeChoices(slave); if (choices.length === 0) { slave.canRecruit = 0; // slave has exhausted possible relatives, can't recruit any longer return false; } this.params.relative = choices.random(); return true; } /** find all eligible target relatives for a slave; one will be selected randomly (or by cheating) * @param {App.Entity.SlaveState} slave who's doing the recruiting (should be first actor) * @returns {string[]} */ _getTargetRelativeChoices(slave) { let recruit = []; const pushWeight = (value, weight=1) => recruit.push(...Array(weight).fill(value)); if (slave.mother === 0 && slave.actualAge < 24 && V.seeDicks !== 100) { pushWeight("mother", 3); } if (slave.father === 0 && slave.actualAge < 24 && V.seeDicks !== 0) { pushWeight("father"); } // TODO: age/fertility/virginity/potency should probably be checking genepool, not current state, since the child would have been born before the event slave was in your possession if (slave.daughters < 3 && (slave.actualAge > V.minimumSlaveAge + V.fertilityAge) && isFertile(slave) && slave.trueVirgin !== 1) { if (V.seeDicks !== 100) { pushWeight("daughter", 2); } if (V.seeDicks !== 0) { pushWeight("son"); } } else if (slave.daughters < 3 && (slave.actualAge > V.minimumSlaveAge + V.potencyAge) && slave.balls > 0) { if (V.seeDicks !== 100) { pushWeight("daughter", 2); } if (V.seeDicks !== 0) { pushWeight("son"); } } if (slave.sisters < 3) { if (slave.actualAge < V.retirementAge - 2) { if (V.seeDicks !== 100) { pushWeight("older sister", 2); } if (V.seeDicks !== 0) { pushWeight("older brother", 2); } } if (slave.actualAge > V.minimumSlaveAge + 1) { if (V.seeDicks !== 100) { pushWeight("younger sister", 2); } if (V.seeDicks !== 0) { pushWeight("younger brother", 2); } } pushWeight("twin"); } return recruit; } /** returns a description for a given background * @param {App.Entity.SlaveState} slave (relative) * @param {string} background * @returns {string} description */ _getBackgroundDescription(slave, background) { const {His, he, his} = getPronouns(slave); const backgroundDescriptions = { "prostitute": `${he} was used as a prostitute by ${his} previous owner`, "shemale prostitute": `${he} was used as a shemale prostitute by ${his} previous owner`, "bed MILF": `${he} was used as a bed slave by ${his} MILF-loving owner`, "gelded servant": `${he} was gelded and used as a house servant`, "sex toy": `${he} was kept as a personal sex toy by ${his} previous owner`, "flat toy": `${he} was kept as a bedslave by an owner that loves flat chests`, "bimbo toy": `${he} was kept as a personal toy by ${his} bimbo-loving owner`, }; if (backgroundDescriptions[background]) { return `${His} listing states that ${backgroundDescriptions[background]}.`; } return ``; // twin, for example, has no specific background } /** returns the possible backgrounds for a given relative type; one will be selected randomly (or by cheating) * Currently super simple (returns exactly one element) to emulate the old twine event, but may easily be expanded if more backgrounds are written * @param {string} relative * @returns {string[]} */ _getRelativeBackgrounds(relative) { let bgs = []; const pushWeight = (value, weight=1) => bgs.push(...Array(weight).fill(value)); if (relative === "daughter") { pushWeight("prostitute"); } else if (relative === "son") { pushWeight("shemale prostitute"); } else if (relative === "mother") { pushWeight("bed MILF"); } else if (relative === "father") { pushWeight("gelded servant"); } else if (relative === "older sister" || relative === "older brother") { pushWeight("sex toy"); } else if (relative === "younger sister") { pushWeight("flat toy"); } else if (relative === "younger brother") { pushWeight("bimbo toy"); } else if (relative === "twin") { pushWeight("twin"); } return bgs; } execute(node) { const [eventSlave] = this.actors.map(a => getSlave(a)); const {He, he, his} = getPronouns(eventSlave); let newSlave; V.nextLink = "RIE Eligibility Check"; let artDiv = document.createElement("div"); // named container so we can replace it later App.Events.drawEventArt(artDiv, eventSlave); node.appendChild(artDiv); // re-choose the relative (a valid one was assigned during her casting, but the last slave to go through casting might not have been the one selected) this._chooseTargetRelative(eventSlave); // pick a random background for the selected relative this.params.background = this._getRelativeBackgrounds(this.params.relative).random(); let _this = this; // fuck javascript's half-assed classes let cost = 0; // will be filled out later let cheatDiv = App.UI.DOM.makeElement("div", (V.cheatMode === 1) ? cheatModeSelectors() : ''); node.appendChild(cheatDiv); let eventTextDiv = App.UI.DOM.makeElement("div", eventText()); node.appendChild(eventTextDiv); /** produce the event text and response links. might be regenerated by changing slave selection in cheat mode * @returns {DocumentFragment} */ function eventText() { let frag = document.createDocumentFragment(); newSlave = makeSlave(); cost = slaveCost(newSlave); const {He: He2, him: him2, his: his2, he: he2, daughter: daughter2, sister: sister2} = getPronouns(newSlave); const {title: Master} = getEnunciation(eventSlave); let t = []; t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); t.push(`requests an interview with you. ${He}'s a devoted slave, and you grant it, and are happy you did when you see the troubled expression on ${his} face. ${He} explains`); if (!canTalk(eventSlave)) { t.push("with desperate gestures"); } t.push(`that`); switch (_this.params.relative) { case "daughter": case "son": t.push(`${he} had a ${daughter2}, who was sent to the slave orphanages. ${He}'s heard a rumor through other slaves that ${his} ${daughter2} will go up for sale soon.`); break; case "mother": case "father": t.push(`${his} ${_this.params.relative} might be getting sold soon. ${He2} has been a slave for some time. ${He}'s heard a rumor through other slaves that ${his} ${_this.params.relative} will go up for sale soon.`); break; case "older sister": case "older brother": t.push(`${his} older ${sister2} is being sold. ${He2} was likely to be enslaved the last ${eventSlave.slaveName} knew of ${him2}, and now ${he}'s heard a rumor through other slaves that ${his} big ${sister2} is going to be sold to a new owner.`); break; case "younger sister": case "younger brother": t.push(`${his} younger ${sister2} is being sold. ${He2} was likely to be enslaved the last ${eventSlave.slaveName} knew of ${him2}, and now ${he}'s heard a rumor through other slaves that ${his} little ${sister2} is going to be sold to a new owner.`); break; case "twin": t.push(`${he} has a twin ${sister2}, who was still free the last ${eventSlave.slaveName} knew of ${him2}. ${He}'s heard a rumor through other slaves that ${his} twin has finally been enslaved, and will soon go up for sale.`); break; default: throw `Unknown relative type: ${_this.params.relative}`; } if (!canTalk(eventSlave)) { t.push(`${He} urgently gestures for permission to write. It's unusual, but ${he} seems quite serious, so you grant it. ${He} writes,`); } t.push(Spoken(eventSlave, `"You've been so good to me, ${Master}. I'm sure ${he2} looks like I did when you bought me. Please, ${Master}, will you buy ${newSlave.slaveName} like you bought me? I'm afraid ${he2}'ll go to a cruel master."`)); t.push(`${He} bites ${his} lip.`); t.push(Spoken(eventSlave, `"And, ${Master}, I'm sure ${he2}'d learn to love`)); if (eventSlave.fetish === "cumslut") { t.push(Spoken(eventSlave, `the taste of your cum`)); } else if (eventSlave.fetish === "submissive") { t.push(Spoken(eventSlave, `submission`)); } else if (eventSlave.fetish === "humiliation") { t.push(Spoken(eventSlave, `being treated like a dirty slut`)); } else if (eventSlave.fetish === "buttslut") { t.push(Spoken(eventSlave, `the feeling of your cock in ${his2} butt`)); } else if (eventSlave.fetish === "sadist") { t.push(Spoken(eventSlave, `hurting your other slaves`)); } else if (eventSlave.fetish === "pregnancy" && newSlave.genes !== "XY") { t.push(Spoken(eventSlave, `being pregnant`)); } else if (eventSlave.fetish === "masochist") { t.push(Spoken(eventSlave, `being beaten`)); } else if (eventSlave.fetish === "dom") { t.push(Spoken(eventSlave, `fucking your other slaves`)); } else if (eventSlave.energy > 95) { t.push(Spoken(eventSlave, `being a good nympho slut`)); } else if (eventSlave.addict > 2) { t.push(Spoken(eventSlave, `being a druggie whore`)); } else if (eventSlave.counter.birthsTotal > 3 && newSlave.genes !== "XY") { t.push(Spoken(eventSlave, `bearing children`)); } else if (eventSlave.bellyPreg >= 50 && eventSlave.pregKnown === 1 && newSlave.genes !== "XY") { t.push(Spoken(eventSlave, `swelling with life`)); } else if (eventSlave.anus > 2) { t.push(Spoken(eventSlave, `getting ${his2} butt stretched out`)); } else if (eventSlave.boobsImplant > 500) { t.push(Spoken(eventSlave, `getting turned into a bimbo slut`)); } else { t.push(Spoken(eventSlave, `the feeling of your cock in ${him2}`)); /* TODO: assumes PC has cock!? */ } t.push(Spoken(eventSlave, `as much as I do.`)); if (eventSlave.fetish === "cumslut") { t.push(Spoken(eventSlave, `We could blow you at the same time, ${Master}! And share cum!"`)); } else if (eventSlave.fetish === "submissive") { t.push(Spoken(eventSlave, `You could use us together, ${Master}!"`)); } else if (eventSlave.fetish === "humiliation") { t.push(Spoken(eventSlave, `You could make us fuck each other in public, ${Master}!"`)); } else if (eventSlave.fetish === "buttslut") { t.push(Spoken(eventSlave, `You could fuck our butts right next to each other, ${Master}!"`)); } else if (eventSlave.fetish === "pregnancy" && newSlave.genes !== "XY") { t.push(Spoken(eventSlave, `You could knock us up next to each other, ${Master}!"`)); } else if (eventSlave.fetish === "sadist") { t.push(Spoken(eventSlave, `I'm sure ${he2}'d love to help me, ${Master}!"`)); } else if (eventSlave.fetish === "masochist") { t.push(Spoken(eventSlave, `You could whip us both, ${Master}!"`)); } else if (eventSlave.fetish === "dom") { t.push(Spoken(eventSlave, `I'm sure ${he2}'d love to help me use other slaves, ${Master}!"`)); } else if (eventSlave.energy > 95) { t.push(Spoken(eventSlave, `I'm sure ${he2}'d love to have threesomes, ${Master}!"`)); } else if (eventSlave.counter.birthsTotal > 3 && newSlave.genes !== "XY") { if (V.PC.dick !== 0) { t.push(Spoken(eventSlave, `We could compete over who carried more of your children, ${Master}!"`)); } else { t.push(Spoken(eventSlave, `We could compete over who carried more children for you, ${Master}!"`)); } } else if (eventSlave.bellyPreg >= 50 && eventSlave.pregKnown === 1 && newSlave.genes !== "XY") { t.push(Spoken(eventSlave, `You could compare how big our bellies are next to each other, ${Master}!"`)); } else { t.push(Spoken(eventSlave, `You could fuck us together, ${Master}!"`)); } t.push(`${He} waits anxiously for your decision.`); App.Events.addParagraph(frag, t); t = []; t.push(`You look up the ${_this.params.relative}. ${He2} costs ${cashFormat(cost)}, a bargain, but you won't be able to inspect ${him2} beyond ${his2} likely resemblance to ${eventSlave.slaveName}.`); t.push(_this._getBackgroundDescription(newSlave, _this.params.background)); App.Events.addParagraph(frag, t); App.Events.addResponses(frag, [ new App.Events.Result(`Buy ${him2}`, buySlave), ]); return frag; } /** fill in the relationship/background selectors for cheat mode * @returns {DocumentFragment} */ function cheatModeSelectors() { const refreshCallback = (effect) => { effect(); $(cheatDiv).empty().append(cheatModeSelectors); $(eventTextDiv).empty().append(eventText); }; let relativeTypeLinks = _.uniq(_this._getTargetRelativeChoices(getSlave(_this.actors[0]))).map((choice) => App.UI.DOM.link(choice, refreshCallback, [() => { _this.params.relative = choice; _this.params.background = _this._getRelativeBackgrounds(choice).random(); }]) ); let backgroundTypeLinks = _.uniq(_this._getRelativeBackgrounds(_this.params.relative)).map((choice) => App.UI.DOM.link(choice, refreshCallback, [() => { _this.params.background = choice; }]) ); let frag = document.createDocumentFragment(); $(frag).append( `Relative Type: <strong>${_this.params.relative}</strong> `, App.UI.DOM.generateLinksStrip(relativeTypeLinks), "<br>", `Background: <strong>${_this.params.background}</strong> `, App.UI.DOM.generateLinksStrip(backgroundTypeLinks) ); return frag; } /** make the target relative slave * @returns {App.Entity.SlaveState} */ function makeSlave() { /** @param {App.Entity.SlaveState} slave */ function clearMods(slave) { slave.ageImplant = 0; slave.boobsImplant = 0; slave.boobsImplantType = "none"; slave.buttImplant = 0; slave.buttImplantType = "none"; slave.earImplant = 0; slave.faceImplant = 0; slave.hipsImplant = 0; slave.lipsImplant = 0; slave.shouldersImplant = 0; slave.voiceImplant = 0; slave.areolaePiercing = 0; slave.anusPiercing = 0; slave.clitPiercing = 0; slave.corsetPiercing = 0; slave.dickPiercing = 0; slave.earPiercing = 0; slave.eyebrowPiercing = 0; slave.lipsPiercing = 0; slave.navelPiercing = 0; slave.nipplesPiercing = 0; slave.nosePiercing = 0; slave.tonguePiercing = 0; slave.vaginaPiercing = 0; slave.anusTat = 0; slave.armsTat = 0; slave.backTat = 0; slave.bellyTat = 0; slave.boobsTat = 0; slave.buttTat = 0; slave.dickTat = 0; slave.lipsTat = 0; slave.legsTat = 0; slave.shouldersTat = 0; slave.stampTat = 0; slave.vaginaTat = 0; if (slave.nipples === "fuckable") { slave.nipples = either("cute", "inverted", "partially inverted", "puffy"); } } function relativeOrigin() { switch (_this.params.relative) { case "mother": case "father": return "$He was recruited into your service by $his child."; case "son": case "daughter": return "$He was recruited into your service by $his parent."; case "younger brother": case "younger sister": return "$He was recruited into your service by $his older sibling."; case "older brother": case "older sister": return "$He was recruited into your service by $his younger sibling."; case "twin": return "$He was recruited into your service by $his twin."; } throw `Unknown relative type: ${_this.params.relative}`; } /** @param {App.Entity.SlaveState} slave */ function applyBackground(slave) { function applyProstitute() { // assumes XX slave.boobsImplant = 600; slave.boobsImplantType = "normal"; slave.boobs += slave.boobsImplant; slave.skill.oral += random(30, 50); slave.skill.vaginal += random(30, 50); slave.skill.anal += random(30, 50); slave.skill.entertainment += random(0, 20); slave.skill.whoring += random(30, 50); slave.nipplesPiercing = 1; slave.lipsPiercing = 1; slave.tonguePiercing = 1; slave.vaginaPiercing = 1; slave.earPiercing = 1; slave.makeup = 1; slave.nails = 4; slave.hStyle = either("luxurious", "neat", "tails", "up"); slave.stampTat = "advertisements"; } function applyShemaleWhore() { // assumes XY slave.vagina = random(1, 2); slave.boobsImplant = 600; slave.boobsImplantType = "normal"; slave.boobs += slave.boobsImplant; slave.skill.oral += random(30, 50); slave.skill.vaginal += random(30, 50); slave.skill.anal += random(30, 50); slave.skill.entertainment += random(0, 20); slave.skill.whoring += random(30, 50); slave.lips = random(60, 90); slave.lipsImplant = 40; slave.lipsPiercing = 1; slave.tonguePiercing = 1; slave.vaginaPiercing = 1; slave.earPiercing = 1; slave.makeup = 1; slave.nails = 4; slave.hStyle = "tails"; slave.stampTat = "advertisements"; } function applyBedMILF() { // assumes XX slave.anus = 1; slave.vagina = 3; if (V.seePreg !== 0) { slave.preg = random(5, 39); slave.pregType = 1; slave.pregKnown = 1; slave.pregSource = 0; slave.pregWeek = slave.preg; SetBellySize(slave); } slave.weight = random(30, 135); slave.muscles = random(0, 15); slave.skill.oral = 15; slave.skill.vaginal = 30; slave.skill.anal = 15; slave.skill.entertainment = 10; slave.skill.whoring = 10; slave.boobs = (random(12, 20)*100); slave.butt = random(4, 6); slave.boobShape = "saggy"; slave.lactation = 1; slave.lactationDuration = 2; slave.markings = "birthmark"; slave.hLength = random(50, 100); slave.hStyle = either("bun", "luxurious", "neat", "up"); slave.voice = 2; slave.counter.birthsTotal = 5; slave.bellySag = 4; slave.bellySagPreg = 4; slave.energy = 65; slave.bellyTat = "a heart"; } function applyGeldedServant() { // assumes XY slave.anus = 2; slave.weight = random(70, 180); slave.skill.oral = 35; slave.skill.anal = 75; slave.hLength = random(10, 20); slave.hStyle = either("buzzcut", "long", "neat", "trimmed"); slave.voice = 1; slave.energy = 0; slave.balls = 0; } function applySexToy() { // either sex slave.tonguePiercing = 1; slave.makeup = 1; if (slave.balls < 4 && slave.balls > 0) { slave.balls = 4; slave.scrotum = slave.balls; } if (slave.dick < 5 && slave.dick > 0) { slave.dick = 5; } if (slave.vagina > -1) { slave.vagina = 2; } } function applyFlatToy() { // either sex slave.boobs = Math.min(slave.boobs, (random(1, 4)*100)); slave.butt = random(1, 2); slave.hips = random(-2, 0); slave.shoulders = random(-2, 0); slave.skill.entertainment += random(0, 20); if (slave.vagina > -1) { slave.anus = 0; slave.vagina = 1; } else { slave.anus = 1; } } function applyBimboToy() { // either sex slave.boobsImplant = (random(20, 40)*100); slave.boobsImplantType = "string"; slave.boobs += slave.boobsImplant; slave.buttImplant = random(5, 7); slave.buttImplantType = "string"; slave.butt += slave.buttImplant; slave.lipsImplant = random(60, 80); slave.lips = Math.clamp(slave.lips + slave.lipsImplant, 0, 100); slave.nipplesPiercing = 2; if (slave.vagina > -1) { slave.vagina = 3; } slave.anus = 3; slave.makeup = 3; slave.nails = 5; slave.skill.anal = 70; slave.skill.oral = 70; slave.skill.whoring = 100; slave.energy = 100; slave.skill.entertainment += random(0, 20); } function applyTwin() { // no changes for this case } const backgroundDispatch = { "prostitute": applyProstitute, "shemale prostitute": applyShemaleWhore, "bed MILF": applyBedMILF, "gelded servant": applyGeldedServant, "sex toy": applySexToy, "flat toy": applyFlatToy, "bimbo toy": applyBimboToy, "twin": applyTwin }; backgroundDispatch[_this.params.background](); } /** @param {App.Entity.SlaveState} slave */ function applyCommon(slave) { slave.devotion = random(25, 45); slave.trust = random(-15, 15); slave.oldDevotion = slave.devotion; slave.oldTrust = slave.trust; configureLimbs(slave, "all", 1, true); slave.career = "a slave"; setHealth(slave, jsRandom(20, 40)); slave.skill.combat = 0; slave.addict = 0; slave.chem = 0; slave.weekAcquired = V.week; randomizeAttraction(slave); // already randomized by generateRelatedSlave, but energy might have changed, so do it again } /** @param {App.Entity.SlaveState} slave - record cloned from genepool */ function updateGPRecordAgeFromEventSlave(slave) { // recruitable slave is carrying cloned age data from the original recruitment (since genepool records don't age) // we need to update the age based on the "live" copy of the event slave, otherwise we won't get age gaps right const elapsedSinceRecruitment = eventSlave.actualAge - slave.actualAge; for (let i = 0; i < elapsedSinceRecruitment; ++i) { ageSlave(slave); } // copy updated birthweek (really "weeks until birthday") too, so birthdays and twins work right slave.birthWeek = eventSlave.birthWeek; } const origSlave = BaseSlave(); const genepoolRec = V.genePool.find(s => s.ID === _this.actors[0]); App.Entity.Utils.GenePoolRecordCleanup(genepoolRec); Object.assign(origSlave, genepoolRec); updateGPRecordAgeFromEventSlave(origSlave); const newSlave = generateRelatedSlave(origSlave, _this.params.relative); clearMods(newSlave); newSlave.origin = relativeOrigin(); applyBackground(newSlave); if (_this.params.relative === "mother") { newSlave.counter.birthsTotal += V.slaves.reduce((acc, cur) => acc + (sameDad(eventSlave, cur) ? 1 : 0), 0); } applyCommon(newSlave); return newSlave; } /** we need to record any new parent information for existing slaves into the genepool as well as directly into the slave in question * @param {App.Entity.SlaveState} slave * @param {object} parentIDs * @param {number} [parentIDs.mother] * @param {number} [parentIDs.father] */ function setUnknownParents(slave, parentIDs = {}) { const gp = V.genePool.find(s => s.ID === slave.ID); if (parentIDs.mother && slave.mother === 0) { slave.mother = parentIDs.mother; if (gp) { gp.mother = parentIDs.mother; } } if (parentIDs.father && slave.father === 0) { slave.father = parentIDs.father; if (gp) { gp.father = parentIDs.father; } } } function buySlave() { // kill the cheat div (no going back now!) $(cheatDiv).empty(); // the new slave is already set up to be related to the existing slave, but we're responsible for making sure the existing slave (and any others in our stable) gets *their* relatives set correctly switch (_this.params.relative) { case "mother": { setUnknownParents(eventSlave, {mother: newSlave.ID} ); for (const slave of V.slaves) { if (sameDad(eventSlave, slave)) { setUnknownParents(slave, {mother: newSlave.ID} ); } } break; } case "father": { setUnknownParents(eventSlave, {father: newSlave.ID} ); for (const slave of V.slaves) { if (sameMom(eventSlave, slave)) { setUnknownParents(slave, {father: newSlave.ID} ); } } break; } case "older sister": case "younger sister": case "older brother": case "younger brother": case "twin": { // siblings if (eventSlave.father === 0 && eventSlave.mother === 0) { setMissingParents(eventSlave); setUnknownParents(newSlave, {mother: eventSlave.mother, father: eventSlave.father}); } else if (eventSlave.father === 0) { setMissingParents(eventSlave); setUnknownParents(newSlave, {father: eventSlave.father}); for (const slave of V.slaves) { if (sameMom(eventSlave, slave)) { setUnknownParents(slave, {father: eventSlave.father}); } } } else if (eventSlave.mother === 0) { setMissingParents(eventSlave); setUnknownParents(newSlave, {mother: eventSlave.mother}); for (const slave of V.slaves) { if (sameDad(eventSlave, slave)) { setUnknownParents(slave, {mother: eventSlave.mother}); } } } break; } default: // nothing needed for son/daughter } cashX(forceNeg(cost), "slaveTransfer", newSlave); // replace slave art $(artDiv).empty(); App.Events.drawEventArt(artDiv, [newSlave, eventSlave]); const {he: he2} = getPronouns(newSlave); let elements = []; elements.push(`You complete the legalities and biometric scanning quickly and without fuss. ${newSlave.slaveName} arrives shortly. The two slaves remember each other only dimly — they parted a long time ago — but they embrace. The devoted ${SlaveTitle(eventSlave)} explains the situation and encourages ${his} ${_this.params.relative} to be a good slave to you. ${newSlave.slaveName} looks a little fearful but clearly realizes that ${he2}'s lucky to be here.`); elements.push(App.UI.newSlaveIntro(newSlave, eventSlave)); return elements; } } };
MonsterMate/fc
src/events/reRelativeRecruiter.js
JavaScript
mit
26,252
:: RE snatch and grab followup [nobr] <<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "RIE Eligibility Check", $eventResults.snatch = 2>> <<set _slave = $activeSlave = $eventSlave>> <<setLocalPronouns _slave>> <<set _clothesTemp = _slave.clothes, _slave.clothes = "no clothing">> <span id="art-frame"> <<if $seeImages == 1>> <div class="imageColumn"> <div class="imageRef medImg"> <<= SlaveArt(_slave, 2, 0)>> </div> </div> <</if>> </span> <<set _slave.clothes = _clothesTemp>> <p><<= App.UI.slaveDescriptionDialog(_slave)>> is next on your inspection schedule this morning, and you've finished with the previous slave more quickly than expected, so you find yourself thinking about the circumstances of $his acquisition.</p> <p>The laboratory $he was recovered from was performing illegal genetic experiments...something with which you now also have some personal experience. It occurs to you that there might be something interesting left unexplored in $his genome, so when $he arrives, you inform $him that you're going to the surgery together. <<if _slave.trust < 50>> Worried, $he <<if !canTalk(_slave)>>wordlessly<</if>> asks whether something is wrong, and you fill $him in on your thoughts. <<else>> Although $he immediately and unquestioningly complies, you occupy a few free moments to fill $him in on your thoughts. <</if>> <<if _slave.behavioralFlaw === "odd">> $He has always acted a bit odd, and today $he is pretending to play an air harmonica as you <<if canWalk(_slave)>>walk<<else>>travel<</if>> together. <<elseif _slave.behavioralQuirk === "funny">> $He acted quite odd when you first acquired $him, but <<if canWalk(_slave)>>walking<<else>>traveling<</if>> with $him now, you find that $he's actually very funny. <<else>> $He acted quite odd when you first acquired $him, but you note with some pride that $he has learned to behave more normally during $his time with you. <</if>> </p> <p>After spending some time prowling around $his genome in your genetic sequencer, you find one particularly interesting sequence. $He has a unique sequence of genes in a chromosomal region which significantly increases $his cognitive ability, but it's only partially activated. You could, with a little bit of time, either completely activate it, or deactivate it entirely, with corresponding dramatic effects on $his intelligence. However, such therapy is not free, and the remote surgery software warns that rapid changes to cognition may cause significant changes in behavior.</p> <span id="result"> <<link "Finish activating the sequence">> <<run cashX(forceNeg($surgeryCost*4), "slaveSurgery", _slave), surgeryDamage(_slave,40), _slave.chem += 100, _slave.intelligence += Math.min(25, 100-_slave.intelligence)>> <<replace "#result">> <p>The procedure spans the week, with $him spending every other day in the surgery room for a series of four sets of injections. A few hours after each session, $he feels terribly ill. The process involves <<if ($PC.skill.medicine >= 100)>>you<<else>>the remote surgeon<</if>> injecting the serum across $his entire body, every few <<if $showInches == 2>>inches<<else>>centimeters<</if>>, leaving small needle marks that fade out within minutes. Despite not leaving lasting evidence, the process is very invasive work, and leaves $him <span class="health dec">feeling weak and tired.</span> Gradually, though, you begin to notice a marked increase in $his cognitive function.</p> <<if _slave.behavioralQuirk === "none">> <<if _slave.behavioralFlaw === "odd">> <<set _slave.behavioralFlaw = "none">> <</if>> <<set _slave.behavioralQuirk = "funny">> <p>Over the next few weeks, you also begin to notice some significant changes in behavior. _slave.slaveName is now <span class="flaw break">funny.</span></p> <<elseif _slave.sexualQuirk === "none">> <<if _slave.sexualFlaw === "repressed">> <<set _slave.sexualFlaw = "none">> <</if>> <<set _slave.sexualQuirk = "perverted">> <p>Over the next few weeks, you also begin to notice some significant changes in behavior. Although _slave.slaveName has always been remarkably horny, $he has become much more <span class="flaw break">perverted.</span></p> <</if>> <</replace>> <</link>> //This will cost <<= cashFormat($surgeryCost*4)>>//<br> <<link "Completely deactivate the sequence">> <<run cashX(forceNeg($surgeryCost*4), "slaveSurgery", _slave), surgeryDamage(_slave,40), _slave.chem += 100, _slave.intelligence -= Math.min(25, 100+_slave.intelligence)>> <<replace "#result">> <p>The procedure spans the week, with $him spending every other day in the surgery room for a series of four sets of injections. A few hours after each session, $he feels terribly ill. The process involves <<if ($PC.skill.medicine >= 100)>>you<<else>>the remote surgeon<</if>> injecting the serum across $his entire body, every few <<if $showInches == 2>>inches<<else>>centimeters<</if>>, leaving small needle marks that fade out within minutes. Despite not leaving lasting evidence, the process is very invasive work, and leaves $him <span class="health dec">feeling weak and tired.</span> Gradually, though, you begin to notice a marked decline in $his cognitive function.</p> <<if _slave.behavioralQuirk === "none">> <<if _slave.behavioralFlaw === "odd">> <<set _slave.behavioralFlaw = "none">> <</if>> <<set _slave.behavioralQuirk = "funny">> <p>Over the next few weeks, you also begin to notice some significant changes in behavior. _slave.slaveName is now <span class="flaw break">funny.</span></p> <<elseif _slave.sexualQuirk === "none">> <<if _slave.sexualFlaw === "repressed">> <<set _slave.sexualFlaw = "none">> <</if>> <<set _slave.sexualQuirk = "perverted">> <p>Over the next few weeks, you also begin to notice some significant changes in behavior. Although _slave.slaveName has always been remarkably horny, $he has become much more <span class="flaw break">perverted.</span></p> <</if>> <</replace>> <</link>> //This will cost <<= cashFormat($surgeryCost*4)>>//<br> <<link "Let it be">> <<replace "#result">> <p>You file your findings, and within a few days, both you and _slave.slaveName have forgotten all about them.</p> <</replace>> <</link>> </span>
MonsterMate/fc
src/events/reSnatchAndGrabFollowup.tw
tw
mit
6,318
App.Events.REStaffedMorning = class REStaffedMorning extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.fuckSlaves >= 4, ]; } actorPrerequisites() { const req = [ s => s.devotion > 50, s => s.fuckdoll === 0, s => ["please you", "serve in the master suite", "be your Concubine"].includes(s.assignment), s => s.rules.release.master === 1, canMove, hasAllLimbs, ]; return [ req, req, req, req, ]; } execute(node) { let bedSlaves = this.actors.map(getSlave); const { He, he, his, him, girl } = getPronouns(bedSlaves[0]); const { He2, his2, him2, girl2 } = getPronouns(bedSlaves[1]).appendSuffix('2'); const { He3, he3, his3, him3, girl3 } = getPronouns(bedSlaves[2]).appendSuffix('3'); const { He4, his4, him4, himself4 } = getPronouns(bedSlaves[3]).appendSuffix('4'); let playerPronouns = getPronouns(V.PC); V.nextLink = "RIE Eligibility Check"; App.Events.drawEventArt(node, bedSlaves.slice(0, 2), "no clothing"); let t = [ `Sleep leaves you quickly one morning to the sensation of two of your fucktoys performing human alarm clock duty. You open your eyes and look down: it's ${bedSlaves[0].slaveName} and ${contextualIntro(bedSlaves[0], bedSlaves[1])} today.` ]; if (V.PC.dick !== 0) { t.push(`${bedSlaves[0].slaveName} is ${(bedSlaves[0].fetish === "cumslut") ? "rapturously" : "industriously"} sucking your dick as it rapidly hardens in ${his} `); if (V.PC.vagina !== -1) { t.push(`mouth, occasionally letting it pop free so ${he} can run ${his} tongue up and down your cunt.`); } else { t.push(`mouth.`); } t.push(`Meanwhile, ${bedSlaves[1].slaveName} is ${(bedSlaves[1].fetish === "cumslut") ? "hungrily" : "gently"} sucking your nuts.`); t.push(`The two slaves have crowded close together, and not just so they can both have access to your cock and balls. They're`); if (((canAchieveErection(bedSlaves[0]) && bedSlaves[0].chastityPenis === 0) || bedSlaves[0].clit > 3) && ((canAchieveErection(bedSlaves[1]) && bedSlaves[1].chastityPenis === 0) || bedSlaves[1].clit > 3)) { t.push(`jerking each other off`); } else { t.push(`manually stimulating each other`); } t.push(`as they work.`); } else { t.push(`An absolutely wonderful mélange of sensations rises to meet you. Each slave is gently sucking one of your hardening nipples, and one hand from each slave is moving delicately across your womanhood, kindling a fire in your lower `); if (V.PC.preg > 0 && V.PC.pregData.normalBirth / 1.75) { t.push(`belly and exciting the occupant${V.PC.pregType > 1 ? "s" : ""} in your womb.`); } else { t.push(`belly.`); } t.push(`They're cuddled up closely under your arms, with a warm body pressed against each side of you. You can feel`); if (bedSlaves[0].belly + bedSlaves[1].belly >= 10000 && bedSlaves[0].belly > 4000) { t.push(`their swollen middles`); if (bedSlaves[0].belly + bedSlaves[1].belly >= 1000000) { t.push(`pushing against each other upon you`); } else if (bedSlaves[0].belly + bedSlaves[1].belly >= 100000) { t.push(`resting against you`); } else { t.push(`against your ribcage`); } } else if (bedSlaves[0].belly >= 10000) { t.push(`${bedSlaves[0].slaveName}'s ${bellyAdjective(bedSlaves[0])} belly`); if (bedSlaves[0].belly >= 100000) { t.push(`resting heavily on you`); } else { t.push(`against your ribcage`); } } else if (bedSlaves[1].belly >= 10000) { t.push(`${bedSlaves[1].slaveName}'s ${bellyAdjective(bedSlaves[1])} belly`); if (bedSlaves[1].belly >= 100000) { t.push(`resting heavily on you`); } else { t.push(`against your ribcage`); } } else if ((bedSlaves[0].boobs > 300 && bedSlaves[1].boobs > 300)) { t.push(`their`); if (bedSlaves[0].boobsImplant / bedSlaves[0].boobs >= .60 && bedSlaves[1].boobsImplant / bedSlaves[1].boobs >= .60) { t.push(`firm`); } else { t.push(`soft`); } t.push(`breasts`); } else { t.push(`steady breathing`); } if (canAchieveErection(bedSlaves[0]) && bedSlaves[0].chastityPenis === 0 && canAchieveErection(bedSlaves[1]) && bedSlaves[1].chastityPenis === 0) { t.push(`and the twin erections resting against your thighs.`); } else { t.push(`and the heat between their legs against your thighs.`); } t.push(`You feel absolutely buried in attentive slave.`); } t.push(`The bathroom door is open and the shower is running. Though the steam is beginning to fill the glass-walled shower, you can see a pair of naked bodies in there; that would be ${bedSlaves[2].slaveName} and ${contextualIntro(bedSlaves[2], bedSlaves[3])}, ready to attend you as you bathe.`); App.Events.addParagraph(node, t); App.Events.addResponses(node, [ new App.Events.Result("Leave them satisfied", satisfied), new App.Events.Result("Leave them exhausted", exhausted) ]); function satisfied() { const frag = document.createDocumentFragment(); let sexTarget = ""; t = []; if (V.PC.dick !== 0) { t.push(`You begin to thrust gently into ${bedSlaves[0].slaveName}'s mouth. ${girl === girl2 ? `The ${girl}` : "Your bedmate"}s moan and giggle into you at the signal that you're not going to get up right this instant, and`); if (((canAchieveErection(bedSlaves[0]) && bedSlaves[0].chastityPenis === 0) || bedSlaves[0].clit > 3) && ((canAchieveErection(bedSlaves[1]) && bedSlaves[1].chastityPenis === 0) || bedSlaves[1].clit > 3)) { t.push(`start jerking each other off harder, making lewd noises and humping each other's hands.`); } else { t.push(`start really exploring each other's body, jerking around lewdly as their arousal builds.`); } if (V.PC.vagina !== -1) { t.push(`They always spare at least one hand for your cunt, despite your thrusting.`); } t.push(`When you climax, they do, too, one after the other. They quickly switch mouth positions and suck you back to full mast so you can enjoy your shower.`); seX(bedSlaves[0], "oral", V.PC, "penetrative"); seX(bedSlaves[1], "oral", V.PC, "penetrative"); } else { t.push(`You reach down and run a possessive hand across each slave's scalp, neck, and back, eliciting shivers. Then, you gently hook them under the armpits and pull them up a bit, without breaking their lip locks with your nipples, or forcing them to stop playing with your cunt. Each slave ends curled up, mostly face-down, with their mouths still sucking on your ${V.PC.boobs >= 300 ? "boobs" : "chest"} and their free hands trapped between their legs. They get the message and begin to look after themselves, too; their resultant moaning against your nipples grows when you reach down and start teasing their butts. The three of you climax more or less together, and you bounce up with undiminished arousal to enjoy your shower.`); seX(bedSlaves[0], "oral", V.PC, "vaginal"); seX(bedSlaves[1], "oral", V.PC, "vaginal"); } App.Events.addParagraph(frag, t); t = []; t.push(`By now, the shower is an impenetrable fog of steam. The wet, soapy bodies inside are easy to find, though. ${bedSlaves[2].slaveName} happens to be closest, so you kiss ${his3} laughing mouth`); if (V.PC.dick !== 0) { if ((canDoVaginal(bedSlaves[2]) && bedSlaves[2].vagina > 0) || (canDoAnal(bedSlaves[2]) && bedSlaves[2].anus > 0)) { t.push(`hard and fuck ${him3}`); if (bedSlaves[2].belly < 30000) { t.push(`with ${his3} back against the shower`); if (bedSlaves[2].boobs > 10000) { t.push(`wall, ${his3} giant soapy tits wobbling around you deliciously.`); } else if (bedSlaves[2].boobs > 2000) { t.push(`wall, ${his3} huge soapy tits sliding around deliciously.`); } else if (bedSlaves[2].weight > 95) { t.push(`wall, ${his3} plush belly sliding around delightfully against you.`); } else if (canAchieveErection(bedSlaves[2]) && bedSlaves[2].chastityPenis === 0) { t.push(`wall, ${his3} lathered up erection rubbing lasciviously between you.`); } else { t.push(`wall.`); } } else { t.push(`with ${his3} expansive flank against the shower`); if (bedSlaves[2].boobs > 2000) { t.push(`wall, ${his3} huge soapy tits flopping around deliciously.`); } else if (bedSlaves[2].weight > 95) { t.push(`wall, ${his3} plush belly wobbling around delightfully beneath ${him3}.`); } else { t.push(`wall.`); } } if (canDoVaginal(bedSlaves[2]) && bedSlaves[2].vagina > 0) { t.push(VCheck.Vaginal(bedSlaves[2], 1)); } else { t.push(VCheck.Anal(bedSlaves[2], 1)); } } else if (bedSlaves[2].weight > 95 && bedSlaves[2].belly < 1500) { t.push(`hard, sandwich your dick with ${his3} soft belly, and fuck ${his3} soapy, jiggly body against the shower wall.`); seX(bedSlaves[2], "mammary", V.PC, "penetrative"); } else { t.push(`hard and, not finding anything to stick your erection into, guide ${his3} hand down to your wanting dick.`); seX(bedSlaves[2], "oral", V.PC, "penetrative"); } t.push(`${He3} does ${his3} best to soap your front while ${he3}`); if ((canDoVaginal(bedSlaves[2]) && bedSlaves[2].vagina > 0) || (canDoAnal(bedSlaves[2]) && bedSlaves[2].anus > 0)) { t.push(`takes`); } else { t.push(`rubs`); } t.push(`cock, and ${bedSlaves[3].slaveName} washes your back${V.PC.vagina !== -1 ? ", reaching under your butt to tease your pussy" : ""}. After a short while, you let ${him3} down and seize ${bedSlaves[3].slaveName}, sliding your cock`); if (bedSlaves[3].vagina > 0 && canDoVaginal(bedSlaves[3])) { t.push(`into ${his4} willing pussy,`); } else if (bedSlaves[3].anus > 0 && canDoAnal(bedSlaves[3])) { t.push(`${bedSlaves[3].butt > 4 ? `between ${his4} huge buttocks and` : ""} up ${his4} willing ass,`); } else if (bedSlaves[3].butt > 4) { t.push(`between ${his4} huge buttocks,`); } else { t.push(`between ${his4} thighs,`); } if (canDoVaginal(bedSlaves[3]) && bedSlaves[3].vagina > 0) { t.push(VCheck.Vaginal(bedSlaves[3], 1)); } else { t.push(VCheck.Anal(bedSlaves[3], 1)); } t.push(`taking ${him4} from behind while ${bedSlaves[2].slaveName} does ${his3} best to get ${his3} wits back and take over washing duty. They towel you together, and you head back out of the bathroom.`); } else { if ((bedSlaves[2].toyHole === "dick" || V.policies.sexualOpenness === 1) && canPenetrate(bedSlaves[2]) && (V.PC.vagina > 0 || V.PC.anus > 0) && bedSlaves[2].belly + V.PC.belly < 30000) { sexTarget = "penetrative"; if (V.PC.vagina > 0) { t.push(`hard, slip ${his2} dick into your pussy, and ride ${him3}`); seX(bedSlaves[2], "penetrative", V.PC, "vaginal"); if (canImpreg(V.PC, bedSlaves[2])) { knockMeUp(V.PC, 5, 0, 0); } } else { t.push(`hard, slip ${his2} dick up your ass, and ride ${him3}`); seX(bedSlaves[2], "penetrative", V.PC, "anal"); if (canImpreg(V.PC, bedSlaves[2])) { knockMeUp(V.PC, 5, 1, 0); } } t.push(`with ${his3} back against the shower`); if (bedSlaves[2].boobs > 10000) { t.push(`wall, ${his3} giant soapy tits wobbling around you deliciously.`); } else if (bedSlaves[2].boobs > 2000) { t.push(`wall, ${his3} huge soapy tits sliding around deliciously.`); } else if (bedSlaves[2].weight > 95) { t.push(`wall, ${his3} plush belly sliding around delightfully against you.`); } else { t.push(`wall.`); } } else if (canDoVaginal(bedSlaves[2])) { t.push(`hard and trib ${him3}`); if (bedSlaves[2].belly < 30000) { t.push(`with ${his3} back against the shower`); if (bedSlaves[2].boobs > 10000) { t.push(`wall, ${his3} giant soapy tits wobbling around you deliciously.`); } else if (bedSlaves[2].boobs > 2000) { t.push(`wall, ${his3} huge soapy tits sliding around deliciously.`); } else if (bedSlaves[2].weight > 95) { t.push(`wall, ${his3} plush belly sliding around delightfully against you.`); } else if (canAchieveErection(bedSlaves[2]) && bedSlaves[2].chastityPenis === 0) { t.push(`wall, ${his3} lathered up erection rubbing lasciviously between you.`); } else { t.push(`wall.`); } } else { t.push(`with ${his3} expansive flank against the shower`); if (bedSlaves[2].boobs > 2000) { t.push(`wall, ${his3} huge soapy tits flopping around deliciously.`); } else if (bedSlaves[2].weight > 95) { t.push(`wall, ${his3} plush belly wobbling around delightfully beneath ${him3}.`); } else { t.push(`wall.`); } } seX(bedSlaves[2], "vaginal", V.PC, "vaginal"); } else { t.push(`hard and guide ${his3} hand down to your wanting pussy.`); seX(bedSlaves[2], "oral", V.PC, "vaginal"); } t.push(`${He3} does ${his3} best to soap your front while`); if (sexTarget === "penetrative") { t.push(`fucking you`); } else if (canDoVaginal(bedSlaves[2])) { t.push(`you hump ${his3} thigh${bedSlaves[2].vagina > 0 ? " and pussy" : ""},`); } else { t.push(`teasing your pussy`); } t.push(`and ${bedSlaves[3].slaveName} washes your back. After a short while,`); if (sexTarget === "penetrative") { t.push(`${he3} comes inside you and slides out so you may`); } else if (canDoVaginal(bedSlaves[2])) { t.push(`you let ${him3} down and`); } else { t.push(`you let ${him3} stop and`); } t.push(`seize ${bedSlaves[3].slaveName}, pushing ${his4} face against the wall and`); if (canDoVaginal(bedSlaves[3]) || canDoAnal(bedSlaves[3])) { t.push(`sliding your fingers inside ${him4} while you`); } t.push(`straddle one of ${his4} legs. ${bedSlaves[2].slaveName} does ${his3} best to get ${his3} wits back and take over washing duty. They towel you together, and you head back out of the bathroom.`); } App.Events.addParagraph(frag, t); t = []; t.push(`Your clothes have been laid out, ready for ${bedSlaves[0].slaveName} and ${bedSlaves[1].slaveName} to dress you, but`); if (V.PC.dick !== 0) { t.push(`next to the neat stack of clothes, the two slaves are bent over the bed with their buttocks spread. You select ${bedSlaves[1].slaveName}`); if (bedSlaves[1].vagina > 0 && canDoVaginal(bedSlaves[1])) { t.push(`and slide your dick into ${his2} ${bedSlaves[1].vagina > 2 ? "loose pussy" : (bedSlaves[1].vagina > 1 ? "inviting pussy" : "tight pussy")}, fucking ${him2}`); t.push(VCheck.Vaginal(bedSlaves[1], 1)); } else if (bedSlaves[1].anus > 0 && canDoAnal(bedSlaves[1])) { t.push(`and slide your dick up ${his2} ${bedSlaves[1].anus > 2 ? "welcoming asspussy" : (bedSlaves[1].anus > 1 ? "soft butthole" : "tight anus")}, sodomizing ${him2}`); t.push(VCheck.Anal(bedSlaves[1], 1)); } else { t.push(`and turn ${him2} around before sliding your dick into ${his2} welcoming mouth`); seX(bedSlaves[1], "oral", V.PC, "penetrative"); } t.push(`while ${bedSlaves[0].slaveName} buttons your shirt. When it's done, you push ${him} down next to ${bedSlaves[1].slaveName} and switch partners, letting ${bedSlaves[1].slaveName} up to do ${his2} best to help you into your trousers in the meantime. ${He2} gets them on and fastens everything, except the fly, of course.`); SimpleSexAct.Player(bedSlaves[0]); } else { t.push(`next to the neat stack of clothes, the two slaves are kneeling on the floor and looking at you with mock innocence. You select ${bedSlaves[1].slaveName} and straddle ${his2} face, letting ${him2}`); if (bedSlaves[1].lips > 40) { t.push(`use ${his2} big soft lips to`); } t.push(`eat you out while ${bedSlaves[0].slaveName}`); if (V.PC.career === "servant") { t.push(`helps you into your dress. Once ${he} straightens out your apron,`); } else if (V.PC.career === "escort") { if (V.PC.boobs >= 1400) { t.push(`gropes your huge breasts in a losing battle to get them to stay in your barely-there top. Once they've stopped popping out,`); } else if (V.PC.boobs >= 1200) { t.push(`spends an invigoratingly long time wrestling your big tits into your way too small top. Once they're content to stay put,`); } else if (V.PC.boobs >= 1000) { t.push(`struggles to shove your breasts into your too small top. Once they're content to stay put,`); } else if (V.PC.boobs >= 300) { t.push(`wrangles your breasts into your revealing top. Once they're situated perfectly,`); } else { t.push(`ties your skimpy top over your flat chest. Once it's situated perfectly,`); } } else { t.push(`helps you into your top. When you're buttoned,`); } t.push(`you take ${his} face in your hands and kiss ${him} deeply, favoring ${him} with the sensation of kissing ${his} ${getWrittenTitle(bedSlaves[0])} while ${playerPronouns.he} orgasms. You keep making out with ${him} while ${bedSlaves[1].slaveName}`); if (V.PC.career === "servant") { t.push(`slips out from beneath your skirt.`); } else if (V.PC.career === "escort") { t.push(`tries to find the perfect balance between your extra short skirt showing either your pussy or butthole.`); } else { t.push(`dresses your lower half.`); } seX(bedSlaves[1], "oral", V.PC, "vaginal"); } t.push(`When you finally leave the suite, ${bedSlaves[0].slaveName} and ${bedSlaves[1].slaveName} head into the shower for their turn, while ${bedSlaves[2].slaveName} and ${bedSlaves[3].slaveName} have finished drying each other off so they can`); if (App.Utils.sexAllowed(bedSlaves[2], bedSlaves[3])) { t.push(`have sex`); SimpleSexAct.Slaves(bedSlaves[2], bedSlaves[3]); } else { t.push(`nap together in the afterglow`); } t.push(`on the bed without getting the sheets wet. They pause for a moment to wave at you as you go, though. <span class="trust inc">Your fucktoys are very satisfied with their morning routine.</span>`); if (App.Utils.sexAllowed(bedSlaves[0], bedSlaves[1])) { SimpleSexAct.Slaves(bedSlaves[0], bedSlaves[1]); } bedSlaves.forEach(s => (s.trust += 4)); App.Events.addParagraph(frag, t); return frag; } function exhausted() { const frag = document.createDocumentFragment(); let noShowerSex = 0; t = []; if (V.PC.dick !== 0) { t.push(`${bedSlaves[0].slaveName} feels a hand snake behind ${his} head and relaxes ${his} throat, knowing what's coming. You fuck the bitch's mouth hard, and since the pounding pulls your balls out of ${bedSlaves[1].slaveName}'s mouth,`); t.push(`you yank ${him2} up towards you so you can`); // strength check if (bedSlaves[1].boobs > 300) { t.push(`maul ${his2} breasts. The compliant slave thrusts out ${his2} chest, presenting ${his2} tits`); } else { t.push(`torment ${his2} flat breasts. The compliant slave thrusts out ${his2} chest, presenting ${his2} nipples`); } t.push(`for use as toys, and then gasps as you pinch, squeeze, and twist. You blow your load down ${bedSlaves[0].slaveName}'s throat`); seX(bedSlaves[0], "oral", V.PC, "penetrative"); } else { t.push(`You shove ${bedSlaves[0].slaveName} down towards your pussy and grab`); if (bedSlaves[0].hLength > 10) { t.push(`${his} hair.`); } else if (bedSlaves[0].bald === 1) { t.push(`${his} bald head.`); } else { t.push(`the back of ${his} head.`); } t.push(`${He} takes a deep breath, knowing what's coming. You grind your cunt against the bitch's mouth hard, and since there's no room for ${bedSlaves[1].slaveName}'s hand there any more,`); t.push(`you yank ${him2} up towards you so you can`); // strength check if (bedSlaves[1].boobs > 300) { t.push(`maul ${his2} breasts. The compliant slave thrusts out ${his2} chest, presenting ${his2} tits`); } else { t.push(`torment ${his2} flat breasts. The compliant slave thrusts out ${his2} chest, presenting ${his2} nipples`); } t.push(`for use as toys, and then gasps as you pinch, squeeze, and twist. You climax against ${bedSlaves[0].slaveName}'s face`); seX(bedSlaves[0], "oral", V.PC, "vaginal"); } t.push(`and bounce up to fuck bitches in the shower, knocking ${bedSlaves[0].slaveName} aside and sending ${bedSlaves[1].slaveName} sprawling. As you go, you tell them they've got ten minutes to get your clothes laid out and their bodies ready for more. They nod furiously and scramble.`); App.Events.addParagraph(frag, t); t = []; t.push(`By now, the shower is an impenetrable fog of steam. The wet, soapy bodies inside are easy to find, though. ${bedSlaves[2].slaveName} happens to be closest, so you`); t.push(`grab ${him3} and shove ${him3} into a corner of the`); // strength if (bedSlaves[2].belly >= 10000) { t.push(`shower, ${his3} ${bellyAdjective(bedSlaves[2])} soapy belly pushing uncomfortably against the glass.`); } else if (bedSlaves[2].boobs > 2000) { t.push(`shower, ${his3} huge soapy tits slapping painfully against the glass.`); } else if (bedSlaves[2].weight > 95) { t.push(`${his3} fat soapy gut slapping painfully against the glass.`); } else { t.push(`shower.`); } if (V.PC.dick !== 0) { t.push(`${He3} does ${his3} best to angle ${his3} hips for you as you push your cock`); if (bedSlaves[2].vagina > 0 && canDoVaginal(bedSlaves[2])) { t.push(`into ${his3} pussy to give ${him3} a good hard fuck.`); t.push(VCheck.Vaginal(bedSlaves[2], 1)); } else if (bedSlaves[2].anus > 0 && canDoAnal(bedSlaves[2])) { t.push(`up ${his3} ass and give ${him3} a good hard reaming.`); t.push(VCheck.Anal(bedSlaves[2], 1)); } else { t.push(`between ${his4} thighs and go to town.`); seX(bedSlaves[2], "anal", V.PC, "penetrative", ); } t.push(`${bedSlaves[3].slaveName} does ${his4} best to wash your`); if (V.PC.vagina > -1) { t.push(`back and give your pussy some manual attention,`); } else { t.push(`back,`); } t.push(`but finds ${himself4} taking ${bedSlaves[2].slaveName}'s place soon enough, smashed into the corner with your dick pistoning`); if (bedSlaves[3].vagina > 0 && canDoVaginal(bedSlaves[3])) { t.push(`in and out of ${his4} holes.`); t.push(VCheck.Vaginal(bedSlaves[3], 1)); } else if (bedSlaves[3].anus > 0 && canDoAnal(bedSlaves[3])) { t.push(`in and out of ${his4} holes.`); t.push(VCheck.Anal(bedSlaves[3], 1)); } else { t.push(`between ${his4} legs.`); seX(bedSlaves[3], "anal", V.PC, "penetrative"); } } else { t.push(`${He3} does ${his3} best to angle ${his3} hips for you as you`); if (canDoVaginal(bedSlaves[2])) { t.push(`fingerfuck ${him3},`); seX(bedSlaves[2], "vaginal", V.PC, "penetrative"); } else if (canDoAnal(bedSlaves[2])) { t.push(`fingerfuck ${him3},`); seX(bedSlaves[2], "anal", V.PC, "penetrative"); } else { t.push(`molest ${him3},`); noShowerSex++; } t.push(`forcing complete submission out of the compliant ${girl3}. ${bedSlaves[3].slaveName} does ${his4} best to wash your back, but finds ${himself4} taking ${bedSlaves[2].slaveName}'s place soon enough, smashed into the corner with your fingers`); if (bedSlaves[3].vagina > 0 && canDoVaginal(bedSlaves[3])) { t.push(`pistoning in and out of ${his4} holes.`); seX(bedSlaves[3], "vaginal", V.PC, "penetrative"); } else if (bedSlaves[3].anus > 0 && canDoAnal(bedSlaves[3])) { t.push(`pistoning in and out of ${his4} holes.`); seX(bedSlaves[3], "anal", V.PC, "penetrative"); } else { t.push(`running across every ${V.showInches === 2 ? "inch" : "centimeter"} of ${his4} body.`); noShowerSex++; } } t.push(`You're in a hurry, but it'll be a sad day when you aren't able to ${noShowerSex > 1 ? "push" : "fuck"} a slave into total submission in five minutes. You release ${bedSlaves[3].slaveName} to drop to the shower floor and let ${bedSlaves[2].slaveName} towel you off.`); if (V.PC.dick === 0 && ((bedSlaves[3].anus > 0 && canDoAnal(bedSlaves[3])) || (bedSlaves[3].vagina > 0 && canDoVaginal(bedSlaves[3])))) { t.push(`${bedSlaves[3].slaveName}`); if (canStand(bedSlaves[3])) { t.push(`gets to ${his4} feet`); } else { t.push(`hoists ${himself4} upright`); } t.push(`and helpfully holds up a strap-on questioningly; you shake your head and point to another, larger one. ${He4} helps you into it, and you ram it up ${his4}`); if (bedSlaves[3].vagina > 0 && canDoVaginal(bedSlaves[3])) { t.push(`loosened pussy`); seX(bedSlaves[3], "vaginal", V.PC, "penetrative"); } else { t.push(`loosened ass`); seX(bedSlaves[3], "anal", V.PC, "penetrative"); } t.push(`experimentally, nodding in satisfaction when the big phallus forces a pained gasp out of ${him4}.`); } App.Events.addParagraph(frag, t); t = []; t.push(`Back in the bedroom, your clothes have been laid out, ready for ${bedSlaves[0].slaveName} and ${bedSlaves[1].slaveName} to dress you.`); let dick = V.PC.dick !== 0 ? "dick" : "strap-on"; t.push(`Next to the neat stack of clothes, the two slaves are bent over the bed with their buttocks spread. They're perfectly still, awaiting your pleasure. You select ${bedSlaves[1].slaveName} and`); if (bedSlaves[1].vagina > 0 && canDoVaginal(bedSlaves[1])) { t.push(`push your ${dick} up ${his2} ${bedSlaves[1].vagina > 2 ? "loose pussy" : (bedSlaves[1].vagina > 1 ? "inviting pussy" : "tight pussy")}, raping ${him2} without mercy`); t.push(VCheck.Vaginal(bedSlaves[1], 1)); } else if (bedSlaves[1].anus > 0 && canDoAnal(bedSlaves[1])) { t.push(`ram your ${dick} up ${his2} ${bedSlaves[1].anus > 2 ? "welcoming asspussy" : (bedSlaves[1].anus > 1 ? "soft butthole" : "tight anus")}, assraping ${him2} without mercy`); t.push(VCheck.Anal(bedSlaves[1], 1)); } else { t.push(`spin ${him2} around, then push your ${dick} down ${his2} throat, facefucking ${him2} without mercy`); seX(bedSlaves[1], "oral", V.PC, "penetrative"); } t.push(`while ${bedSlaves[0].slaveName}`); if (V.PC.dick !== 0) { t.push(`buttons your shirt.`); } else if (V.PC.career === "servant") { t.push(`helps you into your dress.`); } else if (V.PC.career === "escort") { if (V.PC.boobs >= 1400) { t.push(`faces a losing battle to get your huge breasts to stay in your barely-there top.`); } else if (V.PC.boobs >= 1200) { t.push(`wrestles your big tits into your way too small top.`); } else if (V.PC.boobs >= 1000) { t.push(`struggles to shove your breasts into your too small top.`); } else if (V.PC.boobs >= 300) { t.push(`wrangles your breasts into your revealing top.`); } else { t.push(`ties your skimpy top over your flat chest.`); } } else { t.push(`helps you into your top.`); } t.push(`When it's done, you push ${him} down next to ${bedSlaves[1].slaveName} and switch partners, letting ${bedSlaves[1].slaveName} up to do ${his2} best to`); if (V.PC.dick !== 0) { t.push(`help you into your trousers in the meantime. ${He2} gets them on and fastens everything, except the fly, of course.`); } else if (V.PC.career === "servant") { t.push(`tie your apron and keep it out of the way.`); } else if (V.PC.career === "escort") { t.push(`dress your lower half. ${He2} gets your skimpy bottom on, thong not included of course, quickly enough.`); } else { t.push(`dress your lower half.`); } t.push(`When ${bedSlaves[0].slaveName} has been fucked into helplessness, you throw ${him} away like the human sex toy ${he} is and pound ${bedSlaves[1].slaveName} and then the dried-off ${bedSlaves[3].slaveName} and ${bedSlaves[2].slaveName} senseless, careful to frequently pull far enough out that the slaves have to take the pain of initial penetration again.`); SimpleSexAct.Player(bedSlaves[0]); SimpleSexAct.Player(bedSlaves[1]); SimpleSexAct.Player(bedSlaves[2]); SimpleSexAct.Player(bedSlaves[3]); t.push(`When you finally leave the suite, all four slaves are lying like discarded tissues on the bed, face-down and spread-eagled, carefully avoiding resting on any sensitive parts. <span class="devotion inc">Your fucktoys are reminded of who you are.</span>`); App.Events.addParagraph(frag, t); bedSlaves.forEach(s => (s.devotion += 4)); return frag; } } };
MonsterMate/fc
src/events/reStaffedMorning.js
JavaScript
mit
28,657
:: SE assholeknight [nobr] <<set $nextButton = "Continue", $nextLink = "Scheduled Event">> The group of citizens you hand-picked as your Knights have quickly proven themselves a reliable staple of the Arcology. Being visibly a league above the common citizen with their heavy Imperial Plate decorated with glimmering pendants and marks of their individual, flowery coats of arms, their mere presence is enough to make most common criminals cower and keep merchants selling their wares at fair prices. The tenets of neo-Imperial hierarchy and their own social prestige have already gone to their heads, and many Knights are now recognized immediately by the common citizens as heroic, uncowed citizen-soldiers. <br><br> Despite the noble reputations of many of your Knights, their image as defenders of the downtrodden and honest protectors of the Arcology is not universal. Although you Knighted every last one of them yourself, it seems you might have made a misjudgement on the character of one of your new servants; a stream of minor offenses from one Knight in particular has been building up in your inbox for quite some time, and reviewing the whole dossier now paints a portrait of abuses and misconduct. <br><br> This singular Knight has apparently been using their position to extort and bully the populace, demanding unreasonably steep discounts from merchants and regularly beating the peasantry - often for no reason other than momentary amusement, and treating them as "less than even slaves". A number of frustrated citizens have sent you a petition demanding that you denounce and punish them for their petty offenses - a picture of a woman with her face blurred out and a trail of bruises over every inch of her naked body is attached. No names have been attached to the petition, apparently for fear of what the Knight in question will do to them should their attempts be uncovered. Whatever you decide to do with this man will undoubtedly set the precedent for how you deal with Knights who abuse their station in the future. <br><br> <span id="result"> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Remove his title and confiscate his weapons">> <<replace "#result">> You have the insolent Knight's plate armor confiscated, his apartment seized and his right to bear a coat of arms redacted. The knight is nothing short of utterly furious, but puts up no fight as your guards seize his advanced weaponry; to do so would be suicidal. While he swears revenge against you for taking away his "noble rights", you receive a letter from a relieved merchant @@.green;thanking you@@ for putting the jumped-up bandit down. <<run repX(2500, "event")>> <</replace>> <</link>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Have him publicly flogged, then enslaved">> <<replace "#result">> You have the insolent Knight's gear and weapons confiscated, then publicly flog him in the plaza and announce that he's to be enslaved for crimes against the people of $arcologies[0].name. Although the watching peasants are clearly @@.green;relieved@@ that the cruel bully is off the streets, some of them, those who did not feel the fist of the howling man on their own neck, @@.red;recoil@@ somewhat at the sudden brutality against a class that most of them idolize and romanticize. <<run repX(1000, "event")>> <<set $activeSlaveOneTimeMinAge = 22>> <<set $activeSlaveOneTimeMaxAge = 34>> <<set $oneTimeDisableDisability = 1>> <<set $activeSlave = GenerateNewSlave("XY")>> <<set $activeSlave.prestige = 1>> <<set $activeSlave.prestigeDesc = "$He was formerly an Imperial Knight, a highly prestigious position indicating both nobility and exceptional combat prowess. Although $he has had $his coat of arms stripped, many still recognize $him from his former Knighthood.">> <<set $activeSlave.origin = "$He used to be a Knight within your arcology, until you had $him stripped of $his title and summarily enslaved for cruelly abusing citizens beneath $his stature.">> <<set $activeSlave.career = "spec ops">> <<set $activeSlave.devotion = random(-80,-60)>> <<set $activeSlave.muscles = random(50,75)>> <<set $activeSlave.skill.combat = 1>> <<set $activeSlave.behavioralFlaw = "malicious">> <<set $activeSlave.behavioralQuirk = "none">> <<set $activeSlave.trust = random(-30,-20)>> <<set $activeSlave.boobs = 150>> <<set $activeSlave.butt = random(0,1)>> <<set $activeSlave.faceShape = "masculine">> <<set $activeSlave.height = random(175,195)>> <<set $activeSlave.fetish = "sadist">> <<set $activeSlave.fetishStrength = 80>> <<set $activeSlave.preg = 0>> <<set $activeSlave.dick = random(3,5)>> <<set $activeSlave.balls = random(2,4)>> <<set $activeSlave.scrotum = $activeSlave.balls>> <<set $activeSlave.prostate = 1>> <<includeDOM App.UI.newSlaveIntro($activeSlave)>> <</replace>> <</link>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Turn a blind eye">> <<replace "#result">> You opt to ignore the abuses of the cruel knight completely. Every few weeks, you receive another @@.red;pleading@@ message in your inbox about the Knight, until they simply stop coming as the lower class accepts the random abuse of their betters. A few days later, as you socialize with your upper-class, the Knight in question passes you a @@.green;full envelope@@ and winks with no further explanation. <<run cashX(500, "bribe")>> <<run repX(-2000, "event")>> <</replace>> <</link>> </span>
MonsterMate/fc
src/events/scheduled/assholeKnight.tw
tw
mit
5,420
globalThis.allBursts = function() { const el = new DocumentFragment(); for (const slave of V.slaves) { if (burstCheck(slave)) { if (slave.womb.length > 0) { el.append(birth(slave)); } else { el.append(pop(slave)); } removeSlave(slave); el.append(sectionBreak()); } } V.burstee = 0; return el; /** * * @param {App.Entity.SlaveState} slave * @returns {DocumentFragment} */ function pop(slave) { const el = new DocumentFragment(); const r = []; const { He, His, he, his, him } = getPronouns(slave); if (V.seeImages && V.seeReportImages) { r.push( App.UI.DOM.makeElement("div", App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "medImg"]) ); } r.push(`As ${slave.slaveName} is going about ${his} business with ${his} overfilled`); if (slave.inflation !== 0) { r.push(slave.inflationType); } r.push(`belly, ${he} can't help but feel exhausted. ${His} health has been poor lately and the pressure in ${his} organs is not helping things. ${He} immediately knows something is wrong when an intense pain runs through ${his} middle and ${his} load shifts threateningly.`); if (slave.inflation !== 0) { r.push(`Blood and ${slave.inflationType} leak`); } else { r.push(`Blood leaks`); } (`from ${his} rear as ${his} body cavity fills with the contents of ${his} digestive tract. The skin of ${his} taut belly reddens as the pressure against it builds. As ${he} takes ${his} last breath, ${he} falls forward, ${his} weight landing upon ${his} straining stomach. With a gush, ${he} ruptures, flooding the area around ${him} with`); if (slave.inflation !== 0) { r.push(`blood, guts and ${slave.inflationType}.`); } else { r.push(`blood and guts.`); } el.append(r.join(" ")); el.append(horrifiedSlaves(slave)); return el; } function sectionBreak() { const hr = document.createElement("hr"); hr.style.margin = "0"; return hr; } }; /** * * @param {App.Entity.SlaveState} slave * @returns {HTMLElement} */ globalThis.horrifiedSlaves = function(slave) { const el = document.createElement("p"); const {his} = getPronouns(slave); el.append(`Word of the late slave and ${his} gruesome fate spread fast, `); App.UI.DOM.appendNewElement("span", el, "terrifying", "gold"); el.append(` your untrusting slaves.`); for (const bystander of V.slaves) { if (bystander.trust <= 50) { if (slave.inflation > 0) { bystander.trust -= (Math.pow(slave.inflation, 3) * 5); } else { bystander.trust -= 10; } } } return el; };
MonsterMate/fc
src/events/scheduled/burst/burst.js
JavaScript
mit
2,546
:: SE Burst [nobr] <<set $nextButton = "Continue", $nextLink = "Scheduled Event">> <<includeDOM allBursts()>>
MonsterMate/fc
src/events/scheduled/burst/seBurst.tw
tw
mit
112
App.Events.murderAttempt = function() { // setup next time, 2-4 months V.murderAttemptWeek += 26 + Math.floor(Math.random() * 26); // disable Continue V.nextButton = " "; App.Utils.updateUserButton(); const nextPassage = "Random Nonindividual Event"; const perceptiveCareers = ["mercenary", "gang", "escort"]; // event unique const variation = jsEither(["trade", "slave", "drug", "military"]); let isSincere = Math.random() > 0.6; // actual deals can only trigger once if (isSincere) { switch (variation) { case "trade": isSincere = V.illegalDeals.trade === 0; break; case "slave": isSincere = V.illegalDeals.slave === 0; break; case "drug": isSincere = V.illegalDeals.menialDrug === 0; break; case "military": isSincere = V.illegalDeals.military === 0; break; } } const companyName = ["RealTec", "Horizons Unlimited", "Dix Trade", "TA Technology"].random() + ["", " Inc."].random(); const {he, He, his, him, woman, himself} = getPronouns((V.arcologies[0].FSGenderFundamentalist !== "unset" || V.seeDicks > random(0, 99)) ? {pronoun: App.Data.Pronouns.Kind.male} : {pronoun: App.Data.Pronouns.Kind.female}); const {womanPC} = getPronouns(V.PC).appendSuffix("PC"); let heBG, HeBG, himBG, hisBG; const documentFragment = document.createDocumentFragment(); intro(documentFragment); return documentFragment; function perceptionChance() { return (perceptiveCareers.includes(V.PC.career) || V.PC.skill.warfare >= 60 || V.PC.skill.slaving >= 60 || V.PC.skill.medicine >= 60); } function intro(fragment) { const r = []; r.push(`As per routine, you are sifting through the messages ${V.assistant.name} has flagged as relevant from the mass that fills your inbox each day.`); r.push(`One is a request from a company called ${companyName} for a personal meeting to propose some kind of`); switch (variation) { case "trade": r.push("business venture."); break; case "slave": r.push("unique slave trade."); break; case "drug": r.push("deal for a new drug."); break; case "military": r.push("military endeavour."); break; } r.push("Despite being incredibly vague about the details of said business opportunity, they have references from multiple reputable businesses in the"); switch (variation) { case "trade": r.push("trading"); break; case "slave": r.push("arcology"); break; case "drug": r.push("medical"); break; case "military": r.push("military"); break; } r.push("and slavery sectors. Some of them are known for dealing in less than legal business regularly, so the lack of information may just be either an attempt to distance themselves from seedy dealings or something truly lucrative, if slightly dirty."); App.Events.addParagraph(fragment, r); let yesText, noText; switch (variation) { case "trade": yesText = "New business is always good"; noText = "profitable business venture"; break; case "slave": yesText = "Unique slaves are always interesting"; noText = "special slave"; break; case "drug": yesText = "Special drugs unavailable to the public are always interesting"; noText = "new drug"; break; case "military": yesText = "A profitable use for your mercenary troops is always good"; noText = "profitable military venture"; break; } App.Events.addResponses(fragment, [ new App.Events.Result(`${yesText}; invite them to a private meeting.`, invite), new App.Events.Result(`You are not going to waste your time on something as vague as a "${noText}".`, endEvent) ], "invite"); } function invite() { const fragment = document.createDocumentFragment(); let r = []; r.push(`${capFirstChar(V.assistant.name)} schedules a meeting a few days later to take place in your personal office, an oddity given these meetings are usually conducted in a more neutral, albeit less secure location, but ${companyName} insisted on it.`); if (["capitalist", "mercenary", "slaver", "engineer", "escort"].includes(V.PC.career)) { r.push("You should prepare for anything; it's better to be prepared in case something goes awry."); } else { r.push("You can't really complain; it's easier for you and cheaper should nothing come of it."); } App.Events.addParagraph(fragment, r); r = []; r.push(`When it comes time for the meeting, a ${woman} arrives at the entryway of the penthouse and is escorted to your office by one of your slaves as you watch ${him} on your monitor. The ${woman} is distinctively average looking, as if you took all business men that did their job well, but did not overachieve, and created the perfect average of it. Someone trying this hard to appear average is certainly anything but average.`); App.Events.addParagraph(fragment, r); r = []; r.push(`Once ${he} reaches your office, you settle down after a short greeting for ${him} to begin`); switch (variation) { case "trade": case "military": r.push("showing you the plans they have."); break; case "slave": r.push("explaining the uniqueness of their slaves."); break; case "drug": r.push("showing you the effects of their new drug."); break; } if (S.Bodyguard) { ({ heBG, HeBG, himBG, hisBG } = getPronouns(S.Bodyguard).appendSuffix("BG")); r.push(`Before getting anywhere though, ${he} interrupts ${himself}, gesturing at your bodyguard.`); r.push(`"I'm sorry, this is meant only for your ears, can you please send your bodyguard outside?"`); App.Events.addParagraph(fragment, r); App.Events.addResponses(fragment, [ new App.Events.Result(`Order ${him} to leave for making such a request.`, endEvent), new App.Events.Result(`${S.Bodyguard.slaveName} goes everywhere and does everything with you. ${HeBG} stays.`, bgStaysRoute), new App.Events.Result(`This better be worth it. Order ${S.Bodyguard.slaveName} to leave.`, bgLeavesRoute) ], "bodyguard"); } else { noSlaveRoute(fragment, r, false); } return fragment; } /** * @param {DocumentFragment} fragment * @param {Array<string>} paragraphStart * @param {boolean} slaveLeft only relevant for murder attempt */ function noSlaveRoute(fragment, paragraphStart, slaveLeft) { if (isSincere) { sincereProposal(fragment, paragraphStart); } else { paragraphStart.push(`For the next few hours ${he} talks in circles, making grand gestures here and there but not really saying anything of substance to the point it starts to bore you.`); if (perceptionChance()) { paragraphStart.push(`That is, up until one of ${his} wide motions drops something in your drink. When you confront ${him} about it, ${he} draws a weapon and shoots you before you have a chance to react.`); if (V.PC.career === "gang") { paragraphStart.push(`You have the last laugh, though, as you draw your own weapon and gun ${him} down before you succumb to your wound.`); // } else if (V.PC.skill.medicine >= 100) { // allow for gravely wounded state during player update } else if (slaveLeft) { // BG must be able to walk, so we should assume that if this is true, she is actually lurking paragraphStart.push(`While ${S.Bodyguard.slaveName} may storm in and cut ${him} down, it will not bring you back to life.`); } else { paragraphStart.push(`Before ${he} can leave the building, your security detains ${him}, but this won't help a dead ${womanPC}.`); } App.Events.addParagraph(fragment, paragraphStart); gameOver(fragment); } else { poisoned(fragment, paragraphStart); } } } function bgStaysRoute() { const fragment = document.createDocumentFragment(); if (isSincere) { let r = []; r.push(`"Very good," ${he} smiles, seeing your confused look, "We are not interested in dealing with someone who isn't in control of their own affairs." Seems like you just passed some sort of test.`); App.Events.addParagraph(fragment, r); r = []; r.push(`Satisfied, ${he} begins explaining:`); sincereProposal(fragment, r); } else { let r = []; r.push(`"If you say so..." ${He} continues and starts ${his} explanation anew, sometimes with great gestures, but never actually getting to the point. You start to grow bored of ${his} drivel`); if (S.Bodyguard.intelligence + S.Bodyguard.intelligenceImplant + (30 * S.Bodyguard.skill.combat) > 60) { r.push(`until ${he} does one of ${his} grand motions again and ${S.Bodyguard.slaveName} jumps forward,`); if (perceptionChance()) { r.push("just a moment faster than you,"); } if (canTalk(S.Bodyguard)) { r.push(`demanding to know what ${he} just put in your drink.`); } else { r.push(`snatching the glass and taking an aggressive stance.`); } bgDefense(fragment, r); } else if (perceptionChance()) { r.push(`until, on of ${his} grand motions, you notice ${he} slips something in your drink and you confront ${him} about what ${he} just did.`); bgDefense(fragment, r); } else { r.push(r.pop() + "."); poisoned(fragment, r); } } return fragment; } function bgDefense(fragment, paragraphStart) { paragraphStart.push(`Before you can react, the ${woman} draws a weapon and`); if (S.Bodyguard.muscles > 95 || S.Bodyguard.muscles < -30 || S.Bodyguard.boobs > 4000 || S.Bodyguard.weight > 130 || S.Bodyguard.health.tired > 30 || S.Bodyguard.belly >= 100000) { // BG is too big or weak to draw fast enough to matter paragraphStart.push("shoots you through the heart; having a bodyguard who cannot actually defend you might have been a poor choice in retrospect."); paragraphStart.push(`With you dead, ${S.Bodyguard.slaveName} knows ${heBG} has to put this to rest.`); if (deadliness(S.Bodyguard) > 1) { paragraphStart.push(`Out of ammo, your murderer moves to grab ${himBG} by the head and introduce ${hisBG} skull to the corner of your table. ${S.Bodyguard.slaveName} may have been slow on the draw, but is not incompetent. ${HeBG} subdues ${him}, pinning ${him} down until security may collect ${him}, but it's all in vain when ${he} starts convulsing and quickly perishes to the contents of a false tooth. With nothing left, ${S.Bodyguard.slaveName} readies ${hisBG} weapon, puts it under ${hisBG} chin, and pulls the trigger.`); } else { paragraphStart.push(`Alas, ${heBG} is too incompetent to even do that. By the time ${heBG} manages to get a steady grip on ${hisBG} weapon, your murderer is already introducing ${hisBG} skull to the corner of your table. Sure ${he} is detained before ${he} makes it out of the building, but does that really matter when you're dead?`); } App.Events.addParagraph(fragment, paragraphStart); gameOver(fragment); } else { paragraphStart.push(paragraphStart.pop() + ","); if (deadliness(S.Bodyguard) > 1) { paragraphStart.push(`just a little quicker, ${S.Bodyguard.slaveName} draws ${hisBG} own, shooting ${him} in the shoulder. Screaming in pain, ${he} drops ${his} weapon and ${S.Bodyguard.slaveName} swiftly moves to secure ${him}.`); App.Events.addParagraph(fragment, paragraphStart); let r = []; r.push(`After the initial shock has waned and you ready to begin interrogating ${him}, ${he} clamps ${his} jaw down hard, foams for several seconds and dies. Seems like whomever sent ${him} cares a lot about not being tracked down. And indeed, all the already sparse information about ${companyName} is gone and any leads you may have had are useless. You task ${V.assistant.name} to continue searching for the one behind this, but you don't expect anything to come out of it. Someone wanting you dead isn't all that surprising, and without any idea as to why, there are thousands of small groups and individuals who want arcology owners, owners like you, or maybe just you personally, dead.`); App.Events.addParagraph(fragment, r); continueButton(fragment); } else { paragraphStart.push(`just a moment too slow, ${S.Bodyguard.slaveName} draws ${hisBG} own, shooting ${him} in the chest, but not before you already have a bullet through your heart. Seeing you fall down, ${heBG} sets ${hisBG} weapon to automatic, puts it under ${hisBG} chin, and pulls the trigger.`); App.Events.addParagraph(fragment, paragraphStart); gameOver(fragment); } } } function bgLeavesRoute() { const fragment = document.createDocumentFragment(); if (isSincere) { let r = []; r.push(`After your bodyguard leaves, ${he} stares at you for a while, before stating, "I don't believe you are ready to do business with us." When questioned why, ${he} answers, "If you can't trust your bodyguard with sensitive information, you clearly have bigger problems to worry about than our small proposal." ${He} leaves your office without waiting for anyone to see ${him} off.`); App.Events.addParagraph(fragment, r); continueButton(fragment); } else { let r = []; r.push(`"Thank you," ${he} states, before continuing.`); noSlaveRoute(fragment, r, true); } return fragment; } function poisoned(fragment, paragraphStart) { let r = paragraphStart; r.push(`After a while, ${he} finishes ${his} seemingly unending pitch, begins packing up and tells you to call ${him} if you are interested. You certainly will not be; if you wanted to hear someone talk for hours without saying anything, you would tune into a political debate out of one of the nearby old world counties.`); App.Events.addParagraph(fragment, r); r = []; r.push("Several hours later you start to feel strange. A few minutes after that, you collapse. You are dead long before help can arrive. Later autopsy reveals your cause of death to be poisoning."); App.Events.addParagraph(fragment, r); gameOver(fragment); } function sincereProposal(fragment, paragraphStart) { const options = []; switch (variation) { case "trade": paragraphStart.push(`${companyName} is planning a trade deal with an old world corporation that wants to expand into the Free Cities, but with the added twist of effectively robbing them during this. Their problem is they need something to show them and your arcology would ideal for this. Your role would be simple, just follow a short script before leaving both sides to negotiate. If everything goes well, your share could be in the six digit realm, but if something goes wrong, your reputation would be severely damaged.`); options.push( new App.Events.Result("A windfall like this doesn't come by every day. Of course you'll take this opportunity.", accept()), new App.Events.Result("The potential winnings are not worth the risk. You will not be a part of their plans.", refused) ); break; case "slave": paragraphStart.push(`${companyName} is dealing in a special kind of enslavement. Rather than searching for buyers for the slaves they already have, they instead find potential buyers and acquire those they want to buy. And while there are means to order slaves with certain traits, ${companyName} enslaves the exact individuals you want through fabricated debt, kidnapping or any means necessary.`); if (V.cash >= 50000) { options.push(new App.Events.Result( // age needs to be checked here "Enslaving that annoying girl from high school might be petty, but it will be worth it nonetheless.", accept("school"), `Costs ${cashFormat(50000)}`)); } if (V.cash >= 250000) { options.push(new App.Events.Result( "There is a rising star in the music industry that would fit perfectly in your stable.", accept("star"), `Costs ${cashFormat(250000)}`)); } if (V.cash < 50000) { options.push(new App.Events.Result("You couldn't afford to enslave someone even if you wanted to.", refused)); } else { options.push(new App.Events.Result(`You'll pass on the offer.`, refused)); } break; case "drug": paragraphStart.push(`${companyName} has developed a new performance enhancing drug that can greatly improve one's productivity. It does however come with serious drawbacks, making it unsuitable for sex slaves, but it could immensely boost the efficiency of your menial slaves.`); if (V.cash >= 100000) { options.push(new App.Events.Result("Making more money from your menials is always good. Buy the drug.", accept(), `Costs ${cashFormat(100000)}`)); } else { options.push(new App.Events.Result(null, null, "You don't have the cash required to buy the drug.")); } options.push( new App.Events.Result("The downsides are not worth it.", refused) ); break; case "military": paragraphStart.push(`${companyName} is part of an endeavor to carve out a new Free City in the old world. While being too far away to influence your local political climate, it is certainly a new milestone in their growing dominance over the old world. Your mercenaries are known to be veterans in fighting in such territory and that you supply them with state-of-the-art equipment, so it is only natural for the company to ask you to join in this operation. Shipping your mercenaries around the globe would be a big expense, but all participants who don't get a share of the colony itself will receive hefty compensation.`); options.push( new App.Events.Result("This is a worthy endeavor. Of course you will help out.", accept()), new App.Events.Result("Military operations tend to be a net loss most of the time. You will watch with interest, but not a vested one.", refused) ); break; } App.Events.addParagraph(fragment, paragraphStart); App.Events.addResponses(fragment, options, "deal"); } /** * @param {string} [argument] * @returns {function(): DocumentFragment} */ function accept(argument) { return function() { const r = []; switch (variation) { case "trade": r.push(`You discuss the details of the operation before ${he} leaves. You will have a guest soon.`); V.illegalDeals.trade = {week: V.week + 2, company: companyName}; break; case "slave": r.push(`You tell ${him} your target and he nods. "A great idea. It should take no longer than a few weeks."`); V.illegalDeals.slave = {type: argument, company: companyName}; break; case "drug": r.push("The drug will be delivered within the week."); V.illegalDeals.menialDrug = 1; break; case "military": r.push("You order your mercenaries to prepare and a few days later they depart, leaving enough men behind to keep your arcology secure. You do not expect to hear much in the next few months; military operations of this size simply take time."); V.illegalDeals.military = {week: V.week + 16, company: companyName}; break; } const fragment = document.createDocumentFragment(); App.Events.addParagraph(fragment, r); continueButton(fragment); return fragment; }; } function refused() { // TODO flavor text return endEvent(); } /* End event functions */ function gameOver(fragment) { App.Events.addParagraph(fragment, ["<span class='bold'>GAME OVER</span>"]); V.ui = "start"; App.Utils.scheduleSidebarRefresh(); } function endEvent() { Engine.play(nextPassage); return []; } function continueButton(fragment) { fragment.append(App.UI.DOM.passageLink("Continue", nextPassage)); V.nextButton = "Continue"; V.nextLink = nextPassage; App.Utils.scheduleSidebarRefresh(); } }; /** * @param {string} variation * @param {string} companyName * @param {string} [type] only required when variation = "slave" * @returns {DocumentFragment} */ App.Events.murderAttemptFollowup = function(variation, companyName, type) { V.nextButton = "Continue"; V.nextLink = "Random Nonindividual Event"; App.Utils.updateUserButton(); const fragment = document.createDocumentFragment(); switch (variation) { case "trade": App.Events.addParagraph(fragment, tradeDeal()); break; case "slave": App.Events.addParagraph(fragment, slaveDeal(type)); break; case "military": App.Events.addParagraph(fragment, militaryDeal()); break; } return fragment; function tradeDeal() { V.illegalDeals.trade = -1; let r = []; r.push(`Today you are receiving the delegation from the old world company wanting to buy into the lucrative Free Cities market. After showing them around your logistic centers and the cleaner industry areas, you leave them alone with the representatives from ${companyName}.`); if (random(1, 100) > 20) { r.push(`The next day you receive a transaction of ${cashFormatColor(270000)}.`); cashX(270000, "event"); } else { r.push("A few hours later you receive a message that tricking the old world company into giving them money for nothing didn't quite work out as hoped. And truly, the next day your uncompetitive behavior is all over the media. This inflicts <span class='reputation dec'>lasting harm on your reputation</span> and <span class='red'>severely damages your economy</span> as your arcology is now seen as a place to go to be cheated."); repX(-20000, "event"); V.enduringRep *= 0.5; V.arcologies[0].prosperity *= 0.7; } return r; } function slaveDeal(type) { V.illegalDeals.slave = -1; let slave; let relation; if (type === "school") { slave = GenerateNewSlave(null, { minAge: V.PC.actualAge - 1, maxAge: V.PC.actualAge + 1, mature: 0, ageOverridesPedoMode: 1, nationality: V.PC.nationality, race: V.PC.race // Same school does not imply same race, but with PC nationality defaulting to // Stateless it's better than nothing. }); slave.origin = "You were in the same class and seeing $him as your slave fills you with endless satisfaction."; slave.behavioralFlaw = "arrogant"; relation = "your former schoolmate"; } else if (type === "star") { slave = GenerateNewSlave('XX'); slave.origin = "You bought $her enslavement in an illegal deal."; slave.voice = 3; slave.skill.entertainment = 60; slave.face = 96 + Math.floor(Math.random() * 5); // Math.random() is always < 1, so range is 0<=x<=4 slave.intelligence = Math.abs(slave.intelligence); // never dumb, but no guarantee on smart slave.weight = Math.clamp(slave.weight, -30, 30); slave.waist = Math.clamp(slave.waist, -50, 10); slave.career = "an actress"; slave.prestige = 2; slave.prestigeDesc = "$He was once a rising star in the music business, but was illegally enslaved on your command."; relation = "the former rising star"; } let r = []; r.push(`Today ${relation}, whose enslavement you purchased, arrives at your penthouse complete with forged documents and no connections to their past life.`); r.push(App.UI.newSlaveIntro(slave)); return r; } function militaryDeal() { V.illegalDeals.military = -1; let r = []; if (random(1, 100) > 10) { r.push(`After several months of fighting, the new Free City in the old world is finally established. While small scale conflicts will likely continue for years to come, local forces can easily manage them, leaving external forces, like your own mercenaries, to withdraw with their spoils. For your participation you get ${cashFormatColor(1000000)} and several hundred new bodies to add to your menial stock.`); cashX(1000000, "event"); V.menials += 500; } else { r.push("Despite great efforts, the coalition of forces trying to establish a new Free City in the old world finally announces their failure. May the reason be that the old world military still has enough power to stop the establishment of a colony or simple mismanagement by the powers at hand is a topic for debate, but the fact remains that months were wasted on a fruitless war. Luckily you didn't invest too much, so the cost for failure is a meager ${cashFormatColor(40000, true)} and some <span class='reputation dec'>reputation.</span>"); cashX(-40000, "event"); repX(forceNeg(V.rep / 8), "event"); } return r; } };
MonsterMate/fc
src/events/scheduled/murderAttempt.js
JavaScript
mit
23,974
:: Murder Attempt [nobr] <<if $event == "slave trade">> <<includeDOM App.Events.murderAttemptFollowup("slave", V.illegalDeals.slave.company, V.illegalDeals.slave.type)>> <<elseif $event == "trade deal">> <<includeDOM App.Events.murderAttemptFollowup("trade", V.illegalDeals.trade.company)>> <<elseif $event == "military deal">> <<includeDOM App.Events.murderAttemptFollowup("military", V.illegalDeals.military.company)>> <<else>> <<includeDOM App.Events.murderAttempt()>> <</if>>
MonsterMate/fc
src/events/scheduled/murderAttempt.tw
tw
mit
485
:: SE newBaron [nobr] <<set $nextButton = "Continue", $nextLink = "Scheduled Event">> $arcologies[0].name is prospering. New citizens flood to your gates, filling out the marketplaces and houses with new goods, slaves, and desires. Although every new citizen and visitor on the bustling trams lines more money into your pocket, it also comes with the challenge of new bureaucracy. The original group of Barons you appointed to micromanage each district has been valiantly struggling to manage increasingly larger clusters of people, but it has become quite clear, even if the Barons refuse to admit it, that a new addition to their hallowed ranks is needed to administrate your ever-greater Arcology. <br><br> The appointment of a new Baron is not something to be taken lightly; it is undoubtedly the most desired title in your arcology, and a veritable horde of citizens and millionaires hound your inbox and parties with hints and implications, subtly attempting to display their qualifications, because the Barons posses something even the wealthiest trillionaire in the Free Cities does not - security. The golden band of office of an Imperial Baron brings with it a penthouse, a sense of nobility, and a guaranteed sector of people to rule; so long as the Arcology continues to exist, the Barons will rule in your name, free from worries about petty market fluctuations and slave prices. Short of your personal intervention or the total collapse of the Arcology, nothing can unseat a Baron once they're appointed. <br><br> The hunger for such security among your upper class leaves you in an interesting position. You have dozens of citizens that you could give the title to, with various skills and proficiencies from your diverse arcology, and anyone who's handed a noble title will be certain to show their gratitude. The only real question on your mind - and on the minds of the waiting elites - is who you plan to promote. <br><br> <span id="result"> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Appoint a wealthy executive">> <<replace "#result">> You select one of your loyal executives, an ultra-wealthy trader within the arcology who made a fortune in the sale of human bodies, for the new Barony. The man, a portly and unintimidating man that hides a razor-sharp mind behind his fat and an expensive suit, smiles full of teeth as you announce your decision to a waiting crowd of elites. After you go through the formalities and hand him the golden band that'll represent his symbol of office, he shakes your hand vigorously, still smiling devilishly. The next day, the newly-appointed Baron sends you a platter of expensive gifts and foreign candies, complimented with a @@.green;massive direct deposit to your bank account.@@ You can't help but feel that such a crafty fox might use his new power to @@.red;corner the market@@ in his barony, though. <<run cashX(5000, "Baron gift")>> <<run $arcologies[0].prosperity -= 1>> <</replace>> <</link>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Appoint a competent bureaucrat">> <<replace "#result">> You select an unimportant but accomplished bureaucrat within the lower ranks of your administration, one of the cornerstone accountants that keeps the trains running on time. The rail-thin woman is clearly surprised that you'd choose her over a wealthier, more influential elite, but nevertheless accepts the golden band with overflowing joy. Although she may not turn any eyebrows, you can tell without a fact that she'll @@.green;keep your arcology efficient and prosperous@@ - after all, if it collapses, then her 'guaranteed' barony vanishes too. <<run $arcologies[0].prosperity += 3>> <</replace>> <</link>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Appoint a veteran Knight">> <<replace "#result">> You select one of your Imperial Knights, a heavily scarred and muscular man who bears his rose-and-hawk coat of arms like a purple heart on his broad chest. The grizzled soldier is somewhat taken aback at your decision, but regains his composure almost immediately and accepts the golden band of a Baron with a scarred-over smirk. The ex-Knight takes to his new duty with surprising gusto, and quickly proves himself an @@.green;extraordinarily popular figure@@ among the commoners, who see the scarred and athletic figure both as proof that duty is rewarded in your arcology and as an example of what a proper Imperial noble should be - martial, confident, and nearly unbeatable in a duel. <<run repX(+2500, "event")>> <<run $arcologies[0].prosperity += 1>> <</replace>> <</link>> </span>
MonsterMate/fc
src/events/scheduled/newBaron.tw
tw
mit
4,564
App.Facilities.Pit.fight = function(lethal) { const frag = new DocumentFragment(); /** @type {number[]} */ const fighters = []; const animal = V.pit.animal; V.nextButton = "Continue"; V.nextLink = "Scheduled Event"; V.returnTo = "Scheduled Event"; V.pit.fought = true; if (V.pit.slaveFightingBodyguard) { // slave is fighting bodyguard for their life fighters.push(S.Bodyguard.ID, V.pit.slaveFightingBodyguard); } else { if (V.pit.bodyguardFights) { fighters.push(S.Bodyguard.ID, V.pit.fighterIDs.pluck()); } else { if (S.Bodyguard) { V.pit.fighterIDs = V.pit.fighterIDs.filter(id => id !== S.Bodyguard.ID); } if (animal) { fighters.push(V.pit.fighterIDs.pluck()); } else { fighters.push(V.pit.fighterIDs.pluck(), V.pit.fighterIDs.pluck()); // TODO: more concise way? } } } frag.appendChild(lethal ? App.Facilities.Pit.fight.lethal(fighters) : App.Facilities.Pit.fight.nonlethal(fighters)); return frag; };
MonsterMate/fc
src/events/scheduled/pitFight.js
JavaScript
mit
964
App.Facilities.Pit.fight.lethal = function(fighters) { const frag = new DocumentFragment(); const animal = V.pit.animal; const winner = getSlave(getWinner()); const loser = getSlave(getLoser()); frag.append(intro(), fighterDeadliness(getSlave(fighters[0])), fighterDeadliness(getSlave(fighters[1])), fight(), postFight()); return frag; function intro() { const introDiv = document.createElement("div"); const fighterOne = getSlave(fighters[0]); const fighterTwo = getSlave(fighters[1]); const {he, him, girl} = getPronouns(fighterOne); const r = []; introDiv.classList.add("pit-section"); App.Events.drawEventArt(introDiv, fighters.map(id => getSlave(id)), "no clothing"); const an = animal ? animal.articleAn ? 'an' : 'a' : null; const anAnimal = animal ? `${an} ${animal.name}` : null; r.push(`This week's fight is between ${fighterOne.slaveName} and ${animal ? `${anAnimal}` : `${fighterTwo.slaveName}`}.`); if (V.pit.audience === "none") { r.push(`You are alone above the pit, left to watch them kill and die in private.`); } else if (V.pit.audience === "free") { r.push(`Your guests line the rim of the pit, joking and betting, nervous and excited by the close prospect of watching a ${girl} die.`); } else { r.push(`The attendees line the rim of the pit, betting and arguing, nervous and excited by the close prospect of watching a ${girl} die.`); } if (V.arcologies[0].FSRomanRevivalist !== "unset") { r.push(`They `, App.UI.DOM.makeElement("span", 'passionately approve', ["reputation", "inc"]), ` of your hosting lethal combat between slaves; this advances ideas from antiquity about what public events should be.`); repX(20 * V.FSSingleSlaveRep * (V.arcologies[0].FSRomanRevivalist / V.FSLockinLevel), "pit"); V.arcologies[0].FSRomanRevivalist += (0.4 * V.FSSingleSlaveRep); } else if (V.arcologies[0].FSAztecRevivalist !== "unset") { r.push(`They `, App.UI.DOM.makeElement("span", 'approve', ["reputation", "inc"]), ` of your hosting lethal combat; this advances ideas that blood must flow as it did in ancient times.`); repX(10 * V.FSSingleSlaveRep * (V.arcologies[0].FSAztecRevivalist / V.FSLockinLevel), "pit"); V.arcologies[0].FSAztecRevivalist += (0.2 * V.FSSingleSlaveRep); } r.push(`You review the rules — the ${animal ? `slave` : `combatants`} will use their choice of swords, and the fight will be to the death${!animal ? `, with both fighters executed if no decision is reached.` : `.`} ${animal ? `If ${he} wins, ${he}` : `The winner`} will earn two complete days of rest, not to mention continued life. You take a moment to look over your ${animal ? `slave` : `fighters`} one more time before giving the word. After all, it might be the last time you'll see ${animal ? `${him}` : `one of them`} alive.`); App.Events.addNode(introDiv, r); return introDiv; } /** @param {App.Entity.SlaveState} fighter */ function fighterDeadliness(fighter) { const deadlinessDiv = document.createElement("div"); const {he, his, him, himself, He, His} = getPronouns(fighter); const fighterDeadliness = deadliness(fighter); const r = []; deadlinessDiv.classList.add("pit-section"); r.push( confidence(), willingness(), skill(), age(), muscles(), height(), health(), weight(), tired(), pregnancy(), labor(), bellyFluid(), sight(), hearing(), prosthetics(), ); App.Events.addNode(deadlinessDiv, r); return deadlinessDiv; function confidence() { if (fighter.fetish === "mindbroken") { return `${fighter.slaveName} is too broken to care about whether ${he} lives or dies;`; } else if (fighterDeadliness > 5) { return `${fighter.slaveName} seems very confident;`; } else if (fighterDeadliness > 3) { return `${fighter.slaveName} seems nervous, but steels ${himself};`; } else if (fighterDeadliness > 1) { return `${fighter.slaveName} seems hesitant and unsure;`; } else { return `${fighter.slaveName} is obviously terrified, and might flee if there were a way out of the pit;`; } } function willingness() { if (fighter.fetish === "mindbroken") { return `${he} is indifferent to the prospect of killing, as well.`; } else if (fighter.devotion > 95) { return `${he} is clearly willing to do ${his} best to kill for you.`; } else if (fighter.fetish === "sadist" && fighter.fetishKnown && fighter.fetishStrength > 60) { return `the prospect of killing does not seem to concern ${him}.`; } else if (fighter.devotion > 50) { return `${he} obviously does not want to kill, but will do as you order.`; } else if (fighter.devotion > -20) { return `${he} is clearly unhappy at the prospect of killing, but knows that the alternative is death.`; } else { return `${he} knows that it's kill or be killed, and puts aside ${his} hatred of you in an effort to live.`; } } function skill() { if (fighter.skill.combat > 0) { return `${His} grip on ${his} sword is sure and easy.`; } } function age() { if (V.AgePenalty !== 0) { if (fighter.physicalAge >= 100) { return `${He} seems prepared for death, in a way.`; } else if (fighter.physicalAge >= 85) { return `${He} tries not to waste ${his} strength before the fight, knowing that ${his} extreme age won't allow ${him} a second wind.`; } else if (fighter.physicalAge >= 70) { return `${He} steadies ${himself} as well as ${he} can in ${his} advanced age.`; } } } function muscles() { if (fighter.muscles > 95) { return `${He} is wielding a massive two-handed blade few others could even heft.`; } else if (fighter.muscles > 30) { return `${He} is strong enough to handle a bastard sword.`; } else if (fighter.muscles > 5) { return `${He} has selected a longsword suited to ${his} strength.`; } else if (fighter.muscles < -95) { return `${He} has selected a meager dagger; even then ${he} can barely wield it.`; } else if (fighter.muscles < -30) { return `${He} has selected a dagger, the heaviest weapon ${he} can manage.`; } else if (fighter.muscles < -5) { return `${He} has selected a short sword, despite being able to barely lift it.`; } else { return `${He} has selected a short sword, the heaviest weapon ${he} can manage.`; } } function height() { if (fighter.height > 170) { return `${His} height gives ${him} a reach advantage.`; } } function health() { if (fighter.health.condition > 50) { return `${His} shining health makes ${him} a better fighter.`; } else if (fighter.health.condition) { return `${His} poor health makes ${him} a weaker combatant.`; } } function weight() { if (fighter.weight > 190) { return `${His} extreme weight nearly immobilizes ${him}. ${He} struggles to move let alone fight.`; } else if (fighter.weight > 160) { return `${His} extreme weight limits ${his} mobility and range of motion, making ${him} an easy target.`; } else if (fighter.weight > 130) { return `${His} extreme weight holds ${him} back as a pit fighter.`; } else if (fighter.weight > 30) { return `${His} heavy weight is an impediment as a pit fighter.`; } else if (fighter.weight < -10) { return `${His} light weight is an impediment as a pit fighter.`; } } function tired() { if (fighter.health.tired > 90) { return `${He} is exhausted and can barely stay awake; ${he} won't put up a fight.`; } else if (fighter.health.tired > 60) { return `${He} is fatigued, sapping the strength ${he}'ll need to strike true.`; } else if (fighter.health.tired > 30) { return `${He} is tired and more likely to take a hit then to give one.`; } } function pregnancy() { if (fighter.pregKnown || fighter.bellyPreg > 1500) { if (fighter.bellyPreg > 750000) { return `${His} monolithic pregnancy guarantees ${his} and ${his} many, many children's deaths; not only is ${he} on the verge of splitting open, but it is an unmissable, indefensible target. ${He} has no hope of attacking around the straining mass, let alone stopping ${his} opponent. ${He} is damned.`; } else if (fighter.bellyPreg > 600000) { return `${His} titanic pregnancy is practically a death sentence; not only does ${he} risk bursting, but it is an unmissable, indefensible target. ${He} can barely keep it together while thinking about the lives of ${his} brood.`; } else if (fighter.bellyPreg > 450000) { return `${His} gigantic pregnancy practically damns ${him}; it presents an unmissable, indefensible target for ${his} adversary. ${He} can barely keep it together while thinking about the lives of ${his} brood.`; } else if (fighter.bellyPreg > 300000) { return `${His} massive pregnancy obstructs ${his} movement and greatly hinders ${him}. ${He} struggles to think of how ${he} could even begin to defend it from harm.`; } else if (fighter.bellyPreg > 150000) { return `${His} giant pregnancy obstructs ${his} movement and greatly slows ${him} down. ${He} tries not to think of how many lives are depending on ${him}.`; } else if (fighter.bellyPreg > 100000) { return `${His} giant belly gets in ${his} way and weighs ${him} down. ${He} is terrified for the lives of ${his} many children.`; } else if (fighter.bellyPreg > 10000) { return `${His} huge belly gets in ${his} way and weighs ${him} down. ${He} is terrified for the ${fighter.pregType > 1 ? `lives of ${his} children` : `life of ${his} child`}.`; } else if (fighter.bellyPreg > 5000) { return `${His} advanced pregnancy makes ${him} much less effective, not to mention terrified for ${his} child${fighter.pregType > 1 ? `ren` : ``}.`; } else if (fighter.bellyPreg > 1500) { return `${His} growing pregnancy distracts ${him} with concern over the life growing within ${him}.`; } else { return `The life just beginning to grow inside ${him} distracts ${him} from the fight.`; } } else if (fighter.bellyImplant > 1500) { if (fighter.bellyImplant > 750000) { return `${His} monolithic, ${fighter.bellyImplant}cc implant-filled belly guarantees ${his} death; not only is ${he} on the verge of splitting open, but it is an unmissable, indefensible target that threatens to drag ${him} to the ground. ${He} has no hope of attacking around the straining mass, let alone stopping ${his} opponent.`; } else if (fighter.bellyImplant > 600000) { return `${His} titanic, ${fighter.bellyImplant}cc implant-filled belly is practically a guaranteed death; ${he} can barely stand let alone fight. Not only is it cripplingly heavy, unwieldy and an easy target, but ${he} can feel it straining to hold the sheer amount of filler forced into it.`; } else if (fighter.bellyImplant > 450000) { return `${His} gigantic, ${fighter.bellyImplant}cc implant-filled belly is nearly a guaranteed death; it presents an unmissable, indefensible target for ${his} adversary.`; } else if (fighter.bellyImplant > 300000) { return `${His} massive, ${fighter.bellyImplant}cc implant-filled belly is extremely heavy, unwieldy and an easy target, practically damning ${him} in combat.`; } else if (fighter.bellyImplant > 150000) { return `${His} giant, ${fighter.bellyImplant}cc implant-filled belly obstructs ${his} movement and greatly slows ${him} down.`; } else if (fighter.bellyImplant > 100000) { return `${His} giant, ${fighter.bellyImplant}cc implant-filled belly is very heavy and unwieldy, throwing off ${his} weight and making ${him} far less effective.`; } else if (fighter.bellyImplant > 10000) { return `${His} huge, ${fighter.bellyImplant}cc implant-filled belly is very heavy and unwieldy, throwing off ${his} weight and making ${him} far less effective.`; } else if (fighter.bellyImplant > 5000) { return `${His} large, ${fighter.bellyImplant}cc implant-filled belly is heavy and unwieldy, rendering ${him} less effective.`; } else if (fighter.bellyImplant > 1500) { return `${His} swollen, ${fighter.bellyImplant}cc implant-filled belly is heavy and makes ${him} less effective.`; } } } function labor() { if (isInLabor(fighter)) { return `${He}'s feeling labor pains. ${His} ${fighter.pregType > 1 ? `children are` : `child is`} ready to be born, oblivious to the fact that it will mean the death of ${fighter.pregType > 1 ? `their` : `its`} mother.`; } else if (fighter.preg > fighter.pregData.normalBirth && fighter.pregControl !== "labor suppressors") { // FIXME: pregData doesn't exist on SlaveState return `${He}'ll be going into labor any time now and ${he} knows it. ${He}'s terrified of the thought of ${his} water breaking during the fight.`; } } function bellyFluid() { if (fighter.bellyFluid > 10000) { return `${His} hugely bloated, ${fighter.inflationType}-filled belly is taut and painful, hindering ${his} ability to fight.`; } else if (fighter.bellyFluid > 5000) { return `${His} bloated, ${fighter.inflationType}-stuffed belly is constantly jiggling and moving, distracting ${him} and throwing off ${his} weight.`; } else if (fighter.bellyFluid > 2000) { return `${His} distended, ${fighter.inflationType}-belly is uncomfortable and heavy, distracting ${him}.`; } } function sight() { if (!canSee(fighter)) { return `${His} lack of eyesight is certain death.`; } else if (!canSeePerfectly(fighter)) { return `${His} poor eyesight makes ${him} a weaker combatant.`; } } function hearing() { if (!canHear(fighter)) { return `${His} lack of hearing is a major detriment.`; } else if ((fighter.hears === -1 && fighter.earwear !== "hearing aids") || (fighter.hears === 0 && fighter.earwear === "muffling ear plugs")) { // TODO: replace with canHearPerfectly return `${His} poor hearing is a minor detriment.`; } } function prosthetics() { if (hasAnyProstheticLimbs(fighter)) { const r = []; r.push(`The pit lights gleam on ${his} P-Limbs.`); if (getLimbCount(fighter, 6) > 0) { r.push(`The limits on ${his} cybernetic limbs have been lifted, turning them deadly.`); } else if (getLimbCount(fighter, 5) > 0) { r.push(`Their integral weapons are fully uncaged.`); } return r.join(' '); } } } function fight() { const fightDiv = document.createElement("div"); const winnerDeadliness = deadliness(winner); const loserDeadliness = deadliness(loser); const {he, his, him, himself, girl, He} = getPronouns(winner); const {he: he2, his: his2, him: him2, girl: girl2} = getPronouns(loser); const r = []; fightDiv.classList.add("pit-section"); r.push(`In any case, ${animal ? `the slave and the ${animal.name} have both` : `both of the slaves`} been dosed with aggression enhancers and inhibition blockers; they'll fight to kill.`); if (animal) { // } else { if (!canSee(winner) && !canSee(loser)) { r.push(`${winner.slaveName} and ${loser.slaveName} are both blind, making the fight a staredown. Neither slave wants to make the first move, especially with the drowning cacophony coming from the jeering crowd. Slowly, ${winner.slaveName} moves forward, waving ${his} sword side to side in the hopes of finding ${his} opponent before ${he} ${himself} gets found. ${loser.slaveName}'s sword clips the tip of ${winner.slaveName}'s setting off a surprisingly brutal series of slashes. The two slaves violently lay into each other, suffering more and more strikes as the struggle goes on. Less than a minute from first contact, both slaves are lying in their combined blood. As you begin to call it a draw, you notice ${winner.slaveName} start to stir. ${He} staggers to ${his} feet, coated in ${his} and ${loser.slaveName}'s blood, before dropping back to ${his} knees. It seems ${he} lived through this fight; odds aren't likely ${he}'ll do it again.`); healthDamage(winner, 50); if (V.pit.audience === "free") { r.push(`The audience is surprised by the sudden violence after so much standing around, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is modest.`); cashX(5000, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `surprised`, ["reputation", "inc"]), ` by the sudden violence after so much standing around.`); repX(250, "pit", winner); } } else if (winnerDeadliness > (loserDeadliness + 1) && getArmCount(winner, 6) > 1) { r.push(`Upon your word the two combatants approach each other. ${winner.slaveName} does not carry a sword, raising only ${his} hands, but these are terrifying, modern weapons themselves. ${loser.slaveName} tries a probing sweep, but ${winner.slaveName} catches ${his2} blade in one hand, slides it down to the hilt with a shriek of metal on metal, and snaps the blade cleanly. ${loser.slaveName} ${canSee(loser) ? `watches this` : `freezes in place`}, dumbstruck, before regaining composure and taking a fighting stance again. ${winner.slaveName} manages to touch ${his} opponent's bare skin with ${his} own cybernetics, incapacitating ${loser.slaveName} with an electric shock. While ${loser.slaveName} is temporarily stunned, ${winner.slaveName} strikes ${loser.slaveName} on the head with deadly force, crushing ${his} opponent's skull. Though the fight was short,`); if (V.pit.audience === "free") { r.push(`the audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "inc"]), ` by the display.`); repX(500, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`the audience is quite impressed by the display, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is quite good.`); cashX(10000, "pit", winner); } } else if (winnerDeadliness > (loserDeadliness + 1) && getArmCount(winner, 5) > 1) { r.push(`Upon your word the two combatants approach each other. ${winner.slaveName} drops ${his} sword as ${he} comes, raising only ${his} hands, but these are terrifying, modern weapons themselves. ${loser.slaveName} tries a probing sweep, but ${winner.slaveName} catches ${his2} blade in one hand, slides it down to the hilt with a shriek of metal on metal, and snaps the blade cleanly. As ${loser.slaveName} watches this, dumbstruck, ${winner.slaveName} places a gentle hand under ${his2} chin and then extends that arm's integral blade up and through ${his} opponent's skull. Though the fight was short,`); if (V.pit.audience === "free") { r.push(`the audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "inc"]), ` by the display.`); repX(500, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`the audience is quite impressed by the display, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is quite good.`); cashX(10000, "pit", winner); } } else if (!canSee(winner)) { r.push(`${winner.slaveName} centers ${himself} and hones in on ${loser.slaveName}'s rapid breath. ${He} readies ${himself}, knowing ${he} has a single chance to live. With heavy steps, ${loser.slaveName} rushes ${him}, fully prepared to slaughter the helpless combatant. ${winner.slaveName} gambles everything on a single high slash, a slash that cut ${loser.slaveName}'s undefended neck wide open. ${winner.slaveName} collapses to the ground, fully aware of ${loser.slaveName}'s final gurgles, and the sword `, App.UI.DOM.makeElement("span", `firmly planted in ${his} side.`, ["health", "dec"]), ` ${He} lived this time, barely, but ${he} doubts ${he} can do it again.`); healthDamage(winner, 80); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `awestruck`, ["reputation", "inc"]), ` by the blind ${girl}'s triumph.`); repX(2000, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is awestruck by the blind ${girl}'s triumph, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is enormous.`); cashX(40000, "pit", winner); } } else if (!canSee(loser)) { r.push(`${winner.slaveName} sighs at ${loser.slaveName}'s random slashing and calmly struts around the panicking slave. In one quick swoop, ${he} buries ${his} blade in ${loser.slaveName}'s back, ending the poor ${girl2}'s flailing.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `annoyed`, ["reputation", "dec"]), ` by this waste of a fight.`); repX(-20, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience found the fight embarrassing, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is pitiful.`); cashX(40, "pit", winner); } } else if (winnerDeadliness > (loserDeadliness + 3)) { if (winner.skill.combat > 0) { r.push(`${winner.slaveName} wants to win, and ${he} opens the fight with a furious attack. ${loser.slaveName} manages to get ${his2} blade up, blocking a strike with a ringing clash and a few sparks, but by doing so leaves ${his2} abdomen open and obscures ${his2} vision enough that ${he2} is unprepared for the following horizontal slash, which opens ${his2} belly wide. The stricken ${girl2} collapses, feebly trying to push ${his2} viscera back into place. Whether out of mercy or a desire to get it over with, ${winner.slaveName} quickly removes the dying ${girl2}'s head.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the gore.`); repX(200, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the gore, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(4000, "pit", winner); } } else { r.push(`${winner.slaveName} wants to win and is confident ${he} will, but ${he} isn't particularly sure about how to do so. ${He} fights cautiously, swinging ${his} sword in powerful but inaccurate strokes. It is only a matter of time before one of these strikes gets through; it's telling that rather than hitting what ${he} aimed at, ${winner.slaveName} accidentally opens a massive gash down ${loser.slaveName}'s thigh. Realizing ${he2} has to do something, ${loser.slaveName} makes a desperate counterattack, pouring blood as ${he2} goes. ${winner.slaveName} panics and fails to parry one of the last counterstrikes before loss of blood ends the attack, suffering a `, App.UI.DOM.makeElement("span", `terrible cut`, ["health", "dec"]), ` to ${his} shoulder. Down to one arm, ${winner.slaveName} is forced to make a long, loud butchery of ending the fight.`); healthDamage(winner, 20); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the blood.`); repX(200, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the blood, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(4000, "pit", winner); } } } else if (winner.skill.combat > 0 && loser.skill.combat > 0) { r.push(`Upon your word the two combatants approach each other warily, both knowing the other is reasonably competent. Before long they are trading thrust and parry, swing and block. ${winner.slaveName} is slowly pressed back, so ${he} decides to change the nature of the fight. After three tries ${he} manages to force ${loser.slaveName} to close, suffering a `, App.UI.DOM.makeElement("span", `nearly severed ear`, ["health", "dec"]), ` as ${he} does. ${loser.slaveName} realizes ${he2} only retains an advantage at long range but cannot back up fast enough to avoid close combat. ${loser.slaveName} is forced back fast enough that ${he2} trips; ${he2}'s barely fallen on ${his2} back before ${he2} grunts with shock and pain, dying with a look of surprise as ${he2} stares at the sword growing out of ${his2} chest.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "inc"]), ` by the expert fight.`); repX(500, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is quite impressed by the expert fight, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is quite good.`); cashX(10000, "pit", winner); } } else if (winner.height - loser.height < -10) { r.push(`${winner.slaveName} realizes that ${loser.slaveName}'s wingspan gives ${him2} a huge reach advantage. ${He} bores straight in, taking `, App.UI.DOM.makeElement("span", `a glancing scalp wound`, ["health", "dec"]), ` but coming on regardless. ${loser.slaveName} understands ${his2} opponent's intention and backs off, but the pit is small and there isn't much room to retreat. When ${his2} back hits a padded wall, ${winner.slaveName} aims a gutting cut that ${loser.slaveName} struggles to block. ${he2} manages it, but the wall catches ${his2} point, so the block is with ${his2} wrist, not ${his2} sword. The sharp blade cuts almost all the way through the joint, leaving ${him2} in agony and totally incapable of defense. ${winner.slaveName} pushes ${his2} head back against the wall and cuts ${his2} throat down to the spine.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the blood.`); repX(200, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the blood, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(4000, "pit", winner); } } else if (winner.muscles > 30) { r.push(`${winner.slaveName} is so massively muscular that ${he}'s actually impeded by ${his} lack of speed and flexibility. ${loser.slaveName} is properly afraid of ${his2} strength, though, so ${he2} tries to stay away as much as ${he2} can. The few times their blades clash reinforces this approach, since ${winner.slaveName} is able to beat ${his} opponent's blocks out of the way with contemptuous ease. The fight takes a long, long time, but it takes more out of ${loser.slaveName} to survive than it takes out of ${winner.slaveName} to keep swinging. Eventually the gasping, weeping ${loser.slaveName} trips and does not struggle to ${his2} feet in time. It takes ${his2} tired opponent several overhead butcher's cleaves to end it.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the show of strength.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the show of strength, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(1000, "pit", winner); } } else if (loser.belly > 300000) { r.push(`${winner.slaveName} wants to live badly enough that ${he} takes an extremely brutal shortcut to victory. The instant the fight starts, ${he} quickly slices right across ${loser.slaveName}'s massive belly, which is far too large to possibly defend. ${loser.slaveName}'s belly ruptures like a popped water balloon, showering ${winner.slaveName} with`); if (loser.pregType > 0) { r.push(`blood. ${loser.slaveName} collapses into the pile of organs and babies released from ${his2} body.`); } else if (loser.bellyImplant > 0) { r.push(`blood and filler. ${loser.slaveName} collapses into the pool of organs and fluid released from ${his2} body.`); } else { r.push(`blood and ${loser.inflationType}. ${loser.slaveName} collapses into the pool of organs and fluid released from ${his2} body.`); } r.push(`${winner.slaveName} walks over to the bleeding out slave and quickly cuts ${his2} throat.`); if (V.pit.audience === "free") { r.push(`the audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy kill.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy kill, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(2000, "pit", winner); } } else if (loser.boobs > 1200) { r.push(`${winner.slaveName} takes an extremely simple shortcut to victory. The instant the fight starts, ${he} slices ${loser.slaveName} right across ${his2} huge tits, which are so large they cannot properly be defended. ${loser.slaveName} reflexively drops ${his2} sword to clasp ${his2} ${hasBothArms(loser) ? `hands` : `hand`} over ${his2} ruined breasts, gushing blood${loser.boobsImplant > 400 ? ` and implant fluid` : ``}. ${winner.slaveName}'s follow-up is neither artful nor particularly well planned, but it is effective. ${He} hits the distracted ${girl2}'s neck from the side, almost but not quite separating ${his2} head from ${his2} body.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy kill.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy kill, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(2000, "pit", winner); } } else if (loser.dick > 0) { r.push(`${winner.slaveName} wants to live badly enough that ${he} takes an extremely brutal shortcut to victory. The instant the fight starts, ${he} furiously swings for ${loser.slaveName}'s face. ${loser.slaveName} reflexively raises ${his2} sword to block, at which point ${winner.slaveName} simply kicks ${him2} in the dick. ${loser.slaveName} goes down like a marionette with cut strings, ${his2} mouth soundlessly opening and closing and tears leaking from ${his2} closed eyes. ${winner.slaveName} walks over to the prostrate slave and cuts ${his2} throat without much trouble.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy kill.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy kill, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(2000, "pit", winner); } } else { r.push(`${winner.slaveName} wants to live badly enough that ${he} takes an extremely brutal shortcut to victory. The instant the fight starts, ${he} furiously swings for ${loser.slaveName}'s face. ${loser.slaveName} reflexively raises ${his2} sword to block, at which point ${winner.slaveName} simply kicks ${him2} in the cunt. ${loser.slaveName} goes down like a marionette with cut strings, ${his2} mouth soundlessly opening and closing and tears leaking from ${his2} closed eyes. ${winner.slaveName} walks over to the prostrate slave and cuts ${his2} throat without much trouble.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy kill.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy kill, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(2000, "pit", winner); } } } App.Events.addNode(fightDiv, r); return fightDiv; } function postFight() { const postFightDiv = document.createElement("div"); const mindbrokenSpan = App.UI.DOM.makeElement("span", `no longer capable`, "red"); const experienceSpan = App.UI.DOM.makeElement("span", `learned basic combat skills.`, ["improvement"]); const {he, his, him, himself, He} = getPronouns(winner); const {sister: sister2} = getPronouns(loser); const r = []; r.push(`You let the winner ${winner.slaveName}, shaking as ${he} comes off the adrenaline, drugs, and the fear, exit the pit.`); if (winner.fetish === "mindbroken") { r.push(`${He} was already so broken before today that ${he} will not be seriously affected by having killed with ${his} own ${hasBothArms(winner) ? `hands` : `hand`}.`); } else if (winner.devotion > 95) { r.push(`${He} is so worshipful of you that ${he} does not see killing ${loser.slaveName} as special in ${his} own internal listing of things that ${he} has willingly done and would willingly do again on your behalf.`); } else if (winner.devotion > 80) { r.push(`${He} will never forget having killed ${loser.slaveName} with ${his} own ${hasBothArms(winner) ? `hands` : `hand`}. The only way ${he} will be able to live with ${himself} is to `, App.UI.DOM.makeElement("span", `subsume ${his} will to yours,`, ["devotion", "inc"]), ` telling ${himself} that the killing was to serve and obey you.`); winner.devotion += 10; } else if (winner.fetish === "sadist" && winner.fetishKnown && winner.fetishStrength > 60) { r.push(`${He} has sunk even deeper into cruelty, callousness, and a total disregard of the value of other slaves' lives. Going forward, ${he}'s even `, App.UI.DOM.makeElement("span", `less likely to question`, ["devotion", "inc"]), ` even the most abominable commands.`); winner.devotion += 10; } else if (winner.devotion > 50) { r.push(`${He} will never forget having killed ${loser.slaveName} with ${his} own ${hasBothArms(winner) ? `hands` : `hand`}. The only way ${he} will be able to live with ${himself} is to tell ${himself} that the killing was done on your orders.`); } else { r.push(`${He} will never forget having killed ${loser.slaveName} with ${his} own ${hasBothArms(winner) ? `hands` : `hand`}. The only way ${he} will be able to live with ${himself} is to `, App.UI.DOM.makeElement("span", `blame you,`, ["devotion", "dec"]), ` telling ${himself} that the killing was the only choice you gave ${him} if ${he} wanted to live.`); winner.devotion -= 10; } if (winner.fetish !== "sadist") { if (random(1, 100) > 50) { r.push(`Cruelty and callousness seeps its way into ${his} sexuality; ${he} has become a `, App.UI.DOM.makeElement("span", `bloody sadist.`, ["fetish", "gain"])); winner.fetish = "sadist"; winner.fetishKnown = 1; winner.fetishStrength = 65; } } if (winner.rivalry && loser.ID === winner.rivalryTarget) { if (winner.devotion > 75) { r.push(`${He} is so accepting of the low value of slave life that ${he} `, App.UI.DOM.makeElement("span", `is pleased`, ["devotion", "inc"]), ` to have killed ${his} rival ${loser.slaveName}.`); winner.devotion += 4; } } else if (winner.relationship && loser.ID === winner.relationshipTarget) { if (winner.devotion > 95) { r.push(`${He} is so worshipful of you that ${he} sees the death of ${his} only friend at ${his} own hand as an `, App.UI.DOM.makeElement("span", `honorable`, ["devotion", "inc"]), ` end to their doomed slave relationship.`); winner.devotion += 4; } else { r.push(`${He} shows little reaction to the death of ${his} only friend at ${his} own hand. In the coming days, it becomes clear that this is because ${he} is `, mindbrokenSpan, ` of reacting to anything on an emotional level. Ever again.`); winner.fetish = "mindbroken"; winner.fetishKnown = 1; } } else if (isParentP(winner, loser) || isParentP(loser, winner)) { if (winner.devotion > 95) { r.push(`${He} is so worshipful of you that ${he} sees the death of ${his} ${relativeTerm(winner, loser)} at ${his} own hand as an `, App.UI.DOM.makeElement("span", `honorable`, ["devotion", "inc"]), ` end to their doomed family.`); winner.devotion += 4; } else { r.push(`${He} shows little reaction to the death of ${his} ${relativeTerm(winner, loser)} at ${his} own hand. In the coming days, it becomes clear that this is because ${he} is `, mindbrokenSpan, ` of reacting to anything on an emotional level. Ever again.`); winner.fetish = "mindbroken"; winner.fetishKnown = 1; } } else if (winner.sisters > 0) { switch (areSisters(winner, loser)) { case 1: if (winner.devotion > 95) { r.push(`${He} is so worshipful of you that ${he} sees the death of ${his} ${relativeTerm(winner, loser)} at ${his} own hand as an `, App.UI.DOM.makeElement("span", `honorable`, ["devotion", "inc"]), ` end to their doomed family.`); winner.devotion += 4; } else { r.push(`${He} shows little reaction to the death of ${his} ${relativeTerm(winner, loser)} at ${his} own hand. In the coming days, it becomes clear that this is because ${he} is `, mindbrokenSpan, ` of reacting to anything on an emotional level. Ever again.`); winner.fetish = "mindbroken"; winner.fetishKnown = 1; } break; case 2: if (winner.devotion > 90) { r.push(`${He} is so worshipful of you that ${he} sees the death of ${his} ${relativeTerm(winner, loser)} at ${his} own hand as an `, App.UI.DOM.makeElement("span", `honorable`, ["devotion", "inc"]), ` end to their doomed family.`); winner.devotion += 4; } else { r.push(`${He} shows little reaction to the death of ${his} ${relativeTerm(winner, loser)} at ${his} own hand. In the coming days, it becomes clear that this is because ${he} is `, mindbrokenSpan, ` of reacting to anything on an emotional level. Ever again.`); winner.fetish = "mindbroken"; winner.fetishKnown = 1; } break; case 3: if (winner.devotion > 85) { r.push(`${He} is so worshipful of you that ${he} sees the death of ${his} half-${sister2} at ${his} own hand as an `, App.UI.DOM.makeElement("span", `honorable`, ["devotion", "inc"]), ` end to their doomed family.`); winner.devotion += 4; } else { r.push(`${He} is `, App.UI.DOM.makeElement("span", `utterly devastated`, ["devotion", "dec"]), ` at being forced to take the life of ${his} half-${sister2}.`); winner.devotion -= 50; } break; } } V.pit.slaveFightingBodyguard = null; if (winner.skill.combat === 0) { r.push(`With lethal experience in ${V.pit.name}, ${winner.slaveName} has `, experienceSpan); winner.skill.combat++; } winner.counter.pitKills++; if (!V.pit.bodyguardFights || S.Bodyguard.ID !== winner.ID) { V.pit.fighterIDs.push(winner.ID); } V.pitKillsTotal++; removeSlave(loser); V.pitFightsTotal++; winner.counter.pitWins++; App.Events.addNode(postFightDiv, r); return postFightDiv; } // MARK: Helper Functions /** * @returns {number} */ function getWinner() { if (!animal) { if (fighterDeadliness(getSlave(fighters[0])) > fighterDeadliness(getSlave(fighters[1]))) { return fighters[0]; } else if (fighterDeadliness(getSlave(fighters[0])) < fighterDeadliness(getSlave(fighters[1]))) { return fighters[1]; } else if (random(1, 100) > 50) { return fighters[0]; } else { return fighters[1]; } } } /** * @returns {number} */ function getLoser() { return winner.ID === fighters[0] ? fighters[1] : fighters[0]; } };
MonsterMate/fc
src/events/scheduled/pitFightLethal.js
JavaScript
mit
39,859
App.Facilities.Pit.fight.nonlethal = function(fighters) { const frag = new DocumentFragment(); const animal = V.pit.animal; const winner = getSlave(getWinner()); const loser = getSlave(getLoser()); frag.append(intro(), fighterDeadliness(getSlave(fighters[0])), fighterDeadliness(getSlave(fighters[1])), fight(), postFight()); return frag; function intro() { const introDiv = document.createElement("div"); const fighterOne = getSlave(fighters[0]); const fighterTwo = getSlave(fighters[1]); const r = []; introDiv.classList.add("pit-section"); App.Events.drawEventArt(introDiv, fighters.map(id => getSlave(id)), "no clothing"); const an = animal ? animal.articleAn ? 'an' : 'a' : null; const anAnimal = animal ? `${an} ${animal.name}` : null; r.push(`${animal ? `This week ${anAnimal} is going to try to use ${fighterOne.slaveName}.` : `This week's fight is between ${fighterOne.slaveName} and ${fighterTwo.slaveName}.`}`); if (animal) { // for future inclusion } else { if (V.pit.audience === "none") { r.push(`You are alone above the pit, left to watch them square off in private.`); } else if (V.pit.audience === "free") { r.push(`Your guests line the rim of the pit, joking and betting.`); } else { r.push(`The attendees line the rim of the pit, betting and arguing.`); } if (V.arcologies[0].FSRomanRevivalist !== "unset") { r.push(`They `, App.UI.DOM.makeElement("span", 'strongly approve', ["reputation", "inc"]), ` of your hosting combat between slaves; this advances ideas from antiquity about what public events should be.`); repX(10 * V.FSSingleSlaveRep * (V.arcologies[0].FSRomanRevivalist / V.FSLockinLevel), "pit"); V.arcologies[0].FSRomanRevivalist += (0.2 * V.FSSingleSlaveRep); } r.push(`You review the rules — the combatants are wearing light gloves, and the fight will be nonlethal, with you as the judge. The winner will have the right to do anything they wish to the loser,`); switch (V.pit.virginities) { case "all": r.push(`except take their virginity,`); break; case "anal": r.push(`except take their anal virginity,`); break; case "vaginal": r.push(`except take virginities,`); break; case "neither": r.push(`even take virginities,`); break; default: throw new Error(`Unexpected V.pit.virginities value of '${V.pit.virginities}' found in App.Facilities.Pit.fight.intro()`); } r.push(`and earn two complete days of rest. You take a moment to look over your fighters before giving the word.`); } App.Events.addNode(introDiv, r); return introDiv; } /** @param {App.Entity.SlaveState} fighter */ function fighterDeadliness(fighter) { const deadlinessDiv = document.createElement("div"); const {he, his, him, himself, He, His} = getPronouns(fighter); const fighterDeadliness = deadliness(fighter); const r = []; deadlinessDiv.classList.add("pit-section"); r.push( confidence(), skill(), age(), muscles(), height(), health(), weight(), tired(), pregnancy(), labor(), bellyFluid(), sight(), hearing(), prosthetics(), willingness(), ); App.Events.addNode(deadlinessDiv, r); return deadlinessDiv; function confidence() { if (fighter.fetish === "mindbroken") { return `${fighter.slaveName} is too broken to care what happens to ${him}.`; } else if (fighterDeadliness > 5) { return `${fighter.slaveName} seems very confident, even eager to win a break.`; } else if (fighterDeadliness > 3) { return `${fighter.slaveName} seems nervous, but steels ${himself} to fight for time off.`; } else if (fighterDeadliness > 1) { return `${fighter.slaveName} seems hesitant and unsure.`; } else { return `${fighter.slaveName} is obviously terrified, and might flee if there were a way out of the pit.`; } } function willingness() { if (fighter.devotion < 20 && fighter.trust < -20) { return `${He} is unwilling to fight, but ${he} knows the punishment for refusing to do so will be even worse.`; } } function skill() { if (fighter.skill.combat > 0) { return `${His} stance is obviously well-practiced.`; } } function age() { if (V.AgePenalty !== 0) { if (fighter.physicalAge >= 100) { return `${He} seems preoccupied, which is unsurprising given ${his} age and resulting fragility.`; } else if (fighter.physicalAge >= 85) { return `${He} tries not to waste ${his} strength before the fight, knowing that ${his} extreme age won't allow ${him} a second wind.`; } else if (fighter.physicalAge >= 70) { return `${He} steadies ${himself} as well as ${he} can in ${his} advanced age.`; } } } function muscles() { if (fighter.muscles > 95 && fighter.height > 185) { return `${His} huge muscles are an intimidating sight and, despite their massive size, ${he} is tall enough to not be hindered by them.`; } else if (fighter.muscles > 95) { return `${His} huge muscles are an intimidating sight, but may hinder ${his} flexibility.`; } else if (fighter.muscles > 30) { return `${His} muscles are a trim and powerful sight.`; } else if (fighter.muscles < -95) { return `${He} can barely stand, let alone defend ${himself}.`; } else if (fighter.muscles < -30) { return `${He} is very weak; a single punch will likely floor ${him}.`; } else if (fighter.muscles < -5) { return `${He} is rather unfit; ${he} will likely be outmatched by near any real opponent.`; } else { return `${He} is only somewhat fit and will likely not be able to win through pure strength.`; } } function height() { if (fighter.height > 170) { return `${His} height gives ${him} a reach advantage with ${his} fists and feet.`; } } function health() { if (fighter.health.condition > 50) { return `${His} shining health makes ${him} a better fighter.`; } else if (fighter.health.condition) { return `${His} poor health makes ${him} a weaker combatant.`; } } function weight() { if (fighter.weight > 190) { return `${His} extreme weight nearly immobilizes ${him}. ${He} is essentially a fleshy punching bag.`; } else if (fighter.weight > 160) { return `${His} extreme weight limits ${his} mobility and range of motion even if ${he} can take punches like nothing.`; } else if (fighter.weight > 130) { return `${His} extreme weight holds ${him} back as a pit fighter.`; } else if (fighter.weight > 30) { return `${His} heavy weight is an impediment as a pit fighter.`; } else if (fighter.weight < -10) { return `${His} light weight is an impediment as a pit fighter.`; } } function tired() { if (fighter.health.tired > 90) { return `${He} is exhausted and can barely stay awake; ${he} won't put up a fight.`; } else if (fighter.health.tired > 60) { return `${He} is fatigued, sapping the strength ${he}'ll need in ${his} strikes.`; } else if (fighter.health.tired > 30) { return `${He} is tired and more likely to take a hit then to give one.`; } } function pregnancy() { if (fighter.pregKnown || fighter.bellyPreg > 1500) { if (fighter.bellyPreg > 750000) { return `${His} monolithic pregnancy guarantees ${his} loss; not only is ${he} on the verge of splitting open, but it is an unmissable, indefensible target that threatens to drag ${him} to the ground. ${He} has no hope of attacking around the straining mass, let alone stopping ${his} opponent. The fear of what would happen should ${his} adversary land a hit on ${his} belly also weighs upon ${his} mind.`; } else if (fighter.bellyPreg > 600000) { return `${His} titanic pregnancy is practically a guaranteed loss; ${he} can barely stand let alone fight. The worry of a solid hit striking ${his} life swollen womb also weighs on ${his} mind.`; } else if (fighter.bellyPreg > 450000) { return `${His} gigantic pregnancy is nearly a guaranteed loss; it presents an unmissable, indefensible target for ${his} adversary.`; } else if (fighter.bellyPreg > 300000) { return `${His} massive pregnancy obstructs ${his} movement and greatly hinders ${him}. ${He} struggles to think of how ${he} could even begin to defend ${his} bulk.`; } else if (fighter.bellyPreg > 150000) { return `${His} giant pregnancy obstructs ${his} movement and greatly slows ${him} down.`; } else if (fighter.bellyPreg > 100000) { return `${His} giant belly gets in ${his} way and weighs ${him} down.`; } else if (fighter.bellyPreg > 10000) { return `${His} huge belly is unwieldy and hinders ${his} efforts.`; } else if (fighter.bellyPreg > 5000) { return `${His} advanced pregnancy makes ${him} much less effective.`; } else if (fighter.bellyPreg > 1500) { return `${His} growing pregnancy distracts ${him} from the fight.`; } else { return `The life just beginning to grow inside ${him} distracts ${him} from the fight.`; } } else if (fighter.bellyImplant > 1500) { if (fighter.bellyImplant > 750000) { return `${His} monolithic, ${fighter.bellyImplant}cc implant-filled belly guarantees ${his} defeat; not only is ${he} on the verge of splitting open, but it is an unmissable, indefensible target that threatens to drag ${him} to the ground. ${He} has no hope of attacking around the straining mass, let alone stopping ${his} opponent.`; } else if (fighter.bellyImplant > 600000) { return `${His} titanic, ${fighter.bellyImplant}cc implant-filled belly is practically a guaranteed defeat; ${he} can barely stand let alone fight. Not only is it cripplingly heavy, unwieldy and an easy target, but ${he} can feel it straining to hold the sheer amount of filler forced into it.`; } else if (fighter.bellyImplant > 450000) { return `${His} gigantic, ${fighter.bellyImplant}cc implant-filled belly is nearly a guaranteed defeat; it presents an unmissable, indefensible target for ${his} adversary.`; } else if (fighter.bellyImplant > 300000) { return `${His} massive, ${fighter.bellyImplant}cc implant-filled belly is extremely heavy, unwieldy and an easy target, practically damning ${him} in combat.`; } else if (fighter.bellyImplant > 150000) { return `${His} giant, ${fighter.bellyImplant}cc implant-filled belly obstructs ${his} movement and greatly slows ${him} down.`; } else if (fighter.bellyImplant > 100000) { return `${His} giant, ${fighter.bellyImplant}cc implant-filled belly is very heavy and unwieldy, throwing off ${his} weight and making ${him} far less effective.`; } else if (fighter.bellyImplant > 10000) { return `${His} huge, ${fighter.bellyImplant}cc implant-filled belly is very heavy and unwieldy, throwing off ${his} weight and making ${him} far less effective.`; } else if (fighter.bellyImplant > 5000) { return `${His} large, ${fighter.bellyImplant}cc implant-filled belly is heavy and unwieldy, rendering ${him} less effective.`; } else if (fighter.bellyImplant > 1500) { return `${His} swollen, ${fighter.bellyImplant}cc implant-filled belly is heavy and makes ${him} less effective.`; } } } function labor() { if (isInLabor(fighter)) { return `${He}'s feeling labor pains. ${His} ${fighter.pregType > 1 ? `children are` : `child is`} ready to be born, oblivious to the fact that it will put ${fighter.pregType > 1 ? `their` : `its`} mother at the mercy of ${his} opponent.`; } else if (fighter.preg > fighter.pregData.normalBirth && fighter.pregControl !== "labor suppressors") { // FIXME: pregData doesn't exist on SlaveState return `${He}'ll be going into labor any time now and ${he} knows it. ${He}'s terrified of the thought of ${his} water breaking during the fight.`; } } function bellyFluid() { if (fighter.bellyFluid > 10000) { return `${His} hugely bloated, ${fighter.inflationType}-filled belly is taut and painful, hindering ${his} ability to fight.`; } else if (fighter.bellyFluid > 5000) { return `${His} bloated, ${fighter.inflationType}-stuffed belly is constantly jiggling and moving, distracting ${him} and throwing off ${his} weight.`; } else if (fighter.bellyFluid > 2000) { return `${His} distended, ${fighter.inflationType}-belly is uncomfortable and heavy, distracting ${him}.`; } } function sight() { if (!canSee(fighter)) { return `${His} lack of eyesight means certain defeat.`; } else if (!canSeePerfectly(fighter)) { return `${His} poor eyesight makes ${him} a weaker fighter.`; } } function hearing() { if (!canHear(fighter)) { return `${His} lack of hearing is a major detriment.`; } else if ((fighter.hears === -1 && fighter.earwear !== "hearing aids") || (fighter.hears === 0 && fighter.earwear === "muffling ear plugs")) { // TODO: replace with canHearPerfectly return `${His} poor hearing is a minor detriment.`; } } function prosthetics() { if (hasAnyProstheticLimbs(fighter)) { const r = []; r.push(`The pit lights gleam on ${his} P-Limbs.`); if (getLimbCount(fighter, 6) > 0) { r.push(`${His} advanced cybernetic limbs are faster than natural limbs, and their force is amplified, so that they can become potent weapons.`); } else if (getLimbCount(fighter, 5) > 0) { r.push(`Though their integral weapons are disabled, ${his} upgraded prosthetics are almost as fast as natural limbs, and they can hit much, much harder.`); } return r.join(' '); } } } function fight() { const fightDiv = document.createElement("div"); const winnerDeadliness = deadliness(winner); const loserDeadliness = deadliness(loser); const {he, his, him, himself, girl, He} = getPronouns(winner); const {he: he2, his: his2, him: him2, himself: himself2, girl: girl2, He: He2, His: His2} = getPronouns(loser); const r = []; fightDiv.classList.add("pit-section"); if (animal) { // } else { if (!canSee(winner) && !canSee(loser)) { r.push(`${winner.slaveName} and ${loser.slaveName} are both blind, making the fight a staredown. Neither slave wants to make the first move, especially with the drowning cacophony coming from the jeering crowd. Slowly, ${winner.slaveName} moves forward, waving feeling for ${his} opponent before ${he} ${himself} gets found. ${loser.slaveName}'s hand meets ${winner.slaveName}'s and the two move to grab each other in a headlock. The two slaves violently thrash against each other, suffering more and more strikes as the struggle goes on. Eventually, ${loser.slaveName} can take no more and releases ${his2} grip on ${winner.slaveName} neck. It takes a moment for ${winner.slaveName} to stop wrestling the submitting ${loser.slaveName} and accept ${his} victory.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `surprised`, ["reputation", "inc"]), ` by the impromptu wrestling match.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is surprised by the sudden wrestling match, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is modest.`); cashX(500, "pit", winner); } } else if (winnerDeadliness > (loserDeadliness + 1) && getArmCount(winner, 6) > 1) { r.push(`Upon your word the two combatants approach each other. ${winner.slaveName} keeps ${his} advanced cybernetic limbs up in a protective position. ${loser.slaveName} probes ${him} with some light blows, puzzled by this ironclad defense. Gradually, ${he2} hits harder and harder, ${his2} opponent grunting under the impacts but holding steady. Finally, ${loser.slaveName} tires, gets off balance, and ${winner.slaveName} manages to grab ${his2} forearm. ${winner.slaveName}'s limbs emit an electric shock that temporarily incapacitates ${his} opponent. ${winner.slaveName} uses ${his} grip to pull ${his} stunned opponent in and grab ${his2} neck with the other hand, using it to exert just the right amount of pressure to choke ${him2} out harmlessly. Though the fight was short,`); if (V.pit.audience === "free") { r.push(`the audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "inc"]), ` by the display.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`the audience is quite impressed by the display, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is quite good.`); cashX(2000, "pit", winner); } } else if (winnerDeadliness > (loserDeadliness + 1) && getArmCount(winner, 5) > 1) { r.push(`Upon your word the two combatants approach each other. ${winner.slaveName} keeps ${his} artificial limbs up in a protective position. ${loser.slaveName} probes ${him} with some light blows, puzzled by this ironclad defense. Gradually, ${he2} hits harder and harder, ${his2} opponent grunting under the impacts but holding steady. Finally, ${loser.slaveName} overcommits to a body blow, and ${winner.slaveName} grips ${his2} forearm. That is the end. The augmented grip is effectively unbreakable, and ${winner.slaveName} uses it to pull ${his} opponent in and grab ${his2} neck with the other hand, using it to exert just the right amount of pressure to choke ${him2} out harmlessly. Though the fight was short,`); if (V.pit.audience === "free") { r.push(`the audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "inc"]), ` by the display.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`the audience is quite impressed by the display, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is quite good.`); cashX(2000, "pit", winner); } } else if (!canSee(winner)) { r.push(`${winner.slaveName} centers ${himself} and hones in on ${loser.slaveName}'s rapid breath. ${He} readies ${himself}, knowing ${he} has a single chance to win. With heavy steps, ${loser.slaveName} rushes ${him}, fully prepared to tackle the helpless combatant. ${winner.slaveName} gambles everything on a single high punch, a strike that slams ${loser.slaveName}'s undefended neck. ${loser.slaveName} falls to the ground before the panicking ${winner.slaveName}, who quickly pins the coughing loser.`); healthDamage(winner, 80); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `awestruck`, ["reputation", "inc"]), ` by the blind ${girl}'s triumph.`); repX(200, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is awestruck by the blind ${girl}'s triumph, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is enormous.`); cashX(4000, "pit", winner); } } else if (!canSee(loser)) { r.push(`${winner.slaveName} grins at ${loser.slaveName}'s random swings and poor form. ${He} centers in on ${his} favorite part of ${loser.slaveName}'s body before rushing between ${his2} strikes and tackling ${him2} to the ground. ${loser.slaveName} lays there, helpless to stop ${winner.slaveName} from molesting ${him2}.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `annoyed`, ["reputation", "dec"]), ` by this lack of a fight.`); repX(-20, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience found the fight embarrassing, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is pitiful.`); cashX(40, "pit", winner); } } else if (winnerDeadliness > (loserDeadliness + 3)) { if (winner.skill.combat > 0) { r.push(`${winner.slaveName} wants to win, and ${he} opens the fight with a furious attack. ${loser.slaveName} manages to get ${his2} ${hasBothArms(loser) ? `forearms` : `forearm`} up, blocking a few blows, but by doing so leaves ${his2} abdomen open and obscures ${his2} vision enough that ${he2} is unprepared for the following kidney strike, which brings ${him2} gasping to one knee. ${winner.slaveName} lets ${him2} rise just a little before delivering a calculated hard right that sends ${loser.slaveName} to the mat.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this execution.`); repX(25, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this execution, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(500, "pit", winner); } } else { r.push(`${winner.slaveName} wants to win and is confident ${he} will, but ${he} isn't particularly sure about how to do so. ${He} fights cautiously, mostly hitting ${loser.slaveName} from afar. Slowly, the rain of blows begins to tell, opening ${loser.slaveName}'s lip, giving ${him2} a bloody nose, and bruising ${his2} face. Realizing ${he2} has to do something, ${loser.slaveName} makes a desperate counterattack, `, App.UI.DOM.makeElement("span", `dripping blood`, ["health", "dec"]), ` as ${he2} goes. As ${he2} does ${he2} manages to get ${his2} face in the way of another of ${winner.slaveName}'s inexpert strikes and goes down hard. ${He2} makes to rise, but ${winner.slaveName} decides the fight by the simple expedient of kicking ${him2} in the crotch.`); healthDamage(winner, 20); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the beating.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the beating, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(100, "pit", winner); } } } else if (winner.belly > 60000 && loser.belly > 60000) { r.push(`${winner.slaveName} and ${loser.slaveName} stare each other down and both come to a realization. Neither can reach the other around their massive bellies. Instead, they choose to ram their bulk into each other in hopes of toppling the weaker. After a drawn out struggle, both slaves' middles are `, App.UI.DOM.makeElement("span", `dark red and shuddering,`, ["health", "dec"]), ` ready to burst open. Rather than continue, ${loser.slaveName} lets the next strike down ${him2} hoping that the outcome of this fight isn't fatal.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "dec"]), ` by the showdown.`); repX(75, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is very impressed by the showdown, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is good.`); cashX(1500, "pit", winner); } } else if (winner.belly > 60000 && loser.belly < 30000) { r.push(`${loser.slaveName} spies an easy win against ${his2} massively bloated opponent and rushes in to topple ${winner.slaveName}. In an effort to defend ${himself}, ${winner.slaveName} hoists ${his} belly and turns suddenly, accidentally impacting ${loser.slaveName} with ${his} massive middle and knocking ${him2} to the ground. Seeing an opportunity, ${winner.slaveName} releases ${his} grip and slams ${his} weighty womb down on ${loser.slaveName}, bashing the wind out of ${him2}. ${loser.slaveName} struggles to slip out from under the mass, but the weight is too great and ${he2} passes out.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `impressed`, ["reputation", "dec"]), ` by this absurd win.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is impressed by this absurd win, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonably.`); cashX(1000, "pit", winner); } } else if (winner.skill.combat > 0 && loser.skill.combat > 0) { const healthSpans = [App.UI.DOM.makeElement("span", `broken nose`, ["health", "dec"]), App.UI.DOM.makeElement("span", `to the point of damage`, ["health", "dec"])]; r.push(`Upon your word the two combatants approach each other warily, both knowing the other is reasonably competent. Before long they are trading expert blows. ${winner.slaveName} is getting the worst of it, so ${he} decides to change the nature of the fight. After three tries ${he} manages to bring ${loser.slaveName} to the ground, suffering a `, healthSpans[0], ` as ${he} does. ${loser.slaveName} tries to break the imperfect hold but only earns ${himself2} an elbow to the face. ${He2}'s furious and ${winner.slaveName} is obliged to wrench ${his2} arm `, healthSpans[1], ` before ${he2} allows ${himself2} to go limp.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `very impressed`, ["reputation", "inc"]), ` by the expert fight.`); repX(100, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is quite impressed by the expert fight, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is quite good.`); cashX(2000, "pit", winner); } } else if (winner.height - loser.height < -10) { r.push(`${winner.slaveName} realizes that ${loser.slaveName}'s wingspan gives ${him2} a huge reach advantage. ${He} bores straight in, taking a hit or two but coming on regardless. ${loser.slaveName} understands ${his2} opponent's intention and backs off, but the pit is small and there isn't much room to retreat. When ${his2} back hits a padded wall, ${winner.slaveName} manages to land a light hit to ${his2} stomach that leaves ${loser.slaveName} winded enough that a hard kick to the side of ${his2} knee goes undefended. It causes `, App.UI.DOM.makeElement("span", `considerable damage,`, ["health", "dec"]), ` dropping ${him2} and ending the fight.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the takedown.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the takedown, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(1000, "pit", winner); } } else if (loser.eyebrowPiercing > 0) { r.push(`The fight starts slowly, with the two trading jabs. Just as the spectators are getting bored, ${loser.slaveName} takes a glancing blow to the eyebrow. ${His2} piercing catches on ${winner.slaveName}'s glove and tears out. ${loser.slaveName} goes after ${his2} tormentor in fury, streaming blood, the piercing forgotten on the mat. Any tendency ${winner.slaveName} might have had to feel badly about this is extinguished by the assault, and soon ${winner.slaveName} is even willing to follow up on the success by targeting pierced body parts. The fight ends with poor ${loser.slaveName} writhing in pain on the mat, `, App.UI.DOM.makeElement("span", `leaking blood,`, ["health", "dec"]), ` from several terribly shredded areas.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "dec"]), ` by the gory spectacle.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the gory spectacle, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(1000, "pit", winner); } } else if (winner.muscles > 30) { r.push(`${winner.slaveName} is so massively muscular that ${he}'s actually impeded by ${his} size. ${loser.slaveName} is properly afraid of ${his} strength, though, so ${he2} tries to stay away as much as ${he2} can. The pit isn't large, however, and eventually ${winner.slaveName} manages to lay a hand on ${him2}. ${He} pulls ${him2} down, and then it's all over but the beating. ${loser.slaveName} rains blows on ${his2} huge oppressor, but all ${winner.slaveName} has to do is hold on with one arm and deliver damage with the other. By the time ${he2} gives up and goes limp, ${loser.slaveName} has collected `, App.UI.DOM.makeElement("span", `many minor injuries.`, ["health", "dec"])); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `reasonably impressed`, ["reputation", "inc"]), ` by the show of strength.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is reasonably impressed by the show of strength, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is reasonable.`); cashX(1000, "pit", winner); } } else if (loser.belly > 300000) { r.push(`${winner.slaveName} wants to win badly enough that ${he} takes an extremely brutal shortcut to victory. The instant the fight starts, ${he} quickly knees ${loser.slaveName} in the stomach. The massively swollen ${loser.slaveName} goes down with a loud thud and plenty of jiggling. ${winner.slaveName} gloats over the struggling ${loser.slaveName} watching as ${he2} is unable to pull ${his2} bloated form off the ground.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy win.`); repX(50, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy win, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(500, "pit", winner); } } else if (loser.boobs > 1200) { r.push(`${winner.slaveName} wants to win badly enough that ${he} takes an extremely simple shortcut to victory. The instant the fight starts, ${he} hits ${loser.slaveName} right in ${his2} huge tits, as hard as ${he} can. This is a sucker punch of the worst kind; ${loser.slaveName}'s boobs are so big that ${he2} has no real chance of defending them. ${He2} gasps with pain${hasAnyArms(loser) ? ` and wraps ${his2} ${hasBothArms(loser) ? `arms` : `arm`} around ${his2} aching bosom` : ``}, giving ${winner.slaveName} a clear opening to deliver a free and easy blow to the jaw that sends the poor top-heavy slave to the mat. Any chance of ${loser.slaveName} rising is extinguished by ${his2} breasts; it takes ${him2} so long to muster an attempt to get up that ${winner.slaveName} can rain hits on ${him2} while ${he2} does.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy win.`); repX(25, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy win, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(500, "pit", winner); } } else if (loser.dick > 0) { r.push(`${winner.slaveName} wants to win badly enough that ${he} takes an extremely unpleasant shortcut to victory. The instant the fight starts, ${he} furiously goes for ${loser.slaveName}'s eyes${hasBothArms(winner) ? `, hands forming claws` : hasAnyArms(winner) ? `, ${his} hand forming a claw` : ``}. ${loser.slaveName} ${hasAnyArms(loser) ? `defends ${himself2} with ${his2} ${hasBothArms(loser) ? `arms` : `arm`}` : `tries to defend ${himself} as best ${he} can`}, at which point ${winner.slaveName} delivers a mighty cunt punt. ${loser.slaveName} goes straight down, ${his2} mouth soundlessly opening and closing and tears leaking from ${his2} closed eyes${hasAnyArms(loser) ? ` while ${his} ${hasBothArms(loser) ? `hands desperately shield` : `hand desperately shields`} ${his2} outraged pussy` : ``}. ${winner.slaveName} follows ${him2} down and puts the unresisting ${girl2}'s head in a simple lock.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy win.`); repX(25, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy win, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(500, "pit", winner); } } else if (loser.vagina > 0) { r.push(`${winner.slaveName} wants to win badly enough that ${he} takes an extremely unpleasant shortcut to victory. The instant the fight starts, ${he} furiously goes for ${loser.slaveName}'s eyes${hasBothArms(winner) ? `, hands forming claws` : hasAnyArms(winner) ? `, ${his} hand forming a claw` : ``}. ${loser.slaveName} ${hasAnyArms(loser) ? `defends ${himself2} with ${his2} ${hasBothArms(loser) ? `arms` : `arm`}` : `tries to defend ${himself} as best ${he} can`}, at which point ${winner.slaveName} delivers a mighty cunt punt. ${loser.slaveName} goes straight down, ${his2} mouth soundlessly opening and closing and tears leaking from ${his2} closed eyes${hasAnyArms(loser) ? `while ${his} ${hasBothArms(loser) ? `hands` : `hand`} desperately shield${!hasBothArms(loser) ? `s` : ``} ${his2} outraged pussy` : ``}. ${winner.slaveName} follows ${him2} down and puts the unresisting ${girl2}'s head in a simple lock.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy win.`); repX(25, "pit", winner); } else if (V.pit.audience === "paid") { r.push(`The audience is not very impressed by this easy win, and your `, App.UI.DOM.makeElement("span", `cut of the betting`, ["cash", "inc"]), ` is unimpressive.`); cashX(500, "pit", winner); } } else { r.push(`${winner.slaveName} wants to win badly enough that ${he} takes an extremely unpleasant shortcut to victory. The instant the fight starts, ${he} furiously goes for ${loser.slaveName}'s eyes, hands forming claws. ${loser.slaveName} defends ${himself2} with ${his2} arms, at which point ${winner.slaveName} delivers a clenched fist to ${loser.slaveName}'s throat. ${loser.slaveName} staggers back, wheezing for breath with tears leaking from ${his2} closed eyes. ${winner.slaveName} takes advantage of ${loser.slaveName}'s vulnerability to quickly trip and pin the coughing loser.`); if (V.pit.audience === "free") { r.push(`The audience is `, App.UI.DOM.makeElement("span", `not very impressed`, ["reputation", "inc"]), ` by this easy win.`); repX(25, "pit", winner); } else if (V.pit.audience === "paid") { const cashSpan = App.UI.DOM.makeElement("span", `cut of the betting`, ["reputation", "inc"]); r.push(`The audience is not very impressed by this easy win, and your `, cashSpan, ` is unimpressive.`); cashX(500, "pit", winner); } } } App.Events.addNode(fightDiv, r); return fightDiv; } function postFight() { const postFightDiv = document.createElement("div"); const {he, his, him, himself, He} = getPronouns(winner); const {he: he2, his: his2, him: him2, girl: girl2, He: He2} = getPronouns(loser); const r = []; const anus = "anus"; const cunt = "cunt"; const oral = "oral"; const vaginal = "vaginal"; const anal = "anal"; const facefuck = `${He} considers ${his} options briefly, then hauls the loser to ${his2} knees for a facefuck.`; const winnerPenetrates = orifice => `${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`}, and penetrates the loser's ${orifice}.`; const loserProtest = `${canTalk(loser) ? `${loser.slaveName} starts to scream a protest to stop ${winner.slaveName} raping ${him2} pregnant, but ${winner.slaveName} grinds ${his2} face into the mat to shut ${him2} up` : `${loser.slaveName} tries to gesture a protest before ${winner.slaveName} fills ${his2} fertile ${loser.mpreg && V.pit.virginities !== anal ? `asspussy` : `pussy`} with cum, but ${winner.slaveName} grabs ${his2} ${hasBothArms(loser) ? `hands and pins them` : hasAnyArms(loser) ? `hand and pins it` : `neck firmly`} to keep ${him2} from complaining`}.`; const virginitySpan = App.UI.DOM.makeElement("span", ``, ["virginity", "loss"]); r.push(`You throw the victor's strap-on down to ${winner.slaveName}.`); if (canPenetrate(winner)) { r.push(`${He} has no need of it, only taking a moment to pump ${his} dick a few times to get it to rock hardness.`); } else if (winner.clit > 4) { r.push(`${He} has no need of it, since ${his} clit is big enough to use instead.`); } else if (winner.dick > 6 && !canAchieveErection(winner)) { r.push(`${He} needs it, since ${his} enormous dick can't get hard any longer (not like it would fit in ${loser.slaveName} anyway).`); } else if (winner.dick > 0) { r.push(`${He} needs it, since ${his} soft dick won't be raping anything.`); } if (V.pit.virginities === "all") { if (loser.vagina === 0 && canDoVaginal(loser) && loser.anus === 0 && canDoAnal(loser)) { r.push(`${He} respects ${loser.slaveName}'s virgin holes, and hauls the loser to ${his2} knees for a facefuck.`); actX(loser, oral); } else if (loser.vagina === 0 && canDoVaginal(loser) && canDoAnal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "pregnancy") { r.push(`and, after ${canSee(winner) ? `eyeing` : `feeling up`} ${his2} virgin vagina with desire, penetrates the loser's anus.`); } else { r.push(`and respects the rules by penetrating the loser's anus.`); } if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } actX(loser, anal); } else if (loser.anus === 0 && canDoVaginal(loser) && canDoAnal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "buttslut" || (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg && winner.fetish === "pregnancy")) { r.push(`and, after ${canSee(winner) ? `eyeing` : `feeling up`} ${his2} virgin anus with desire, penetrates the loser's cunt.`); } else { r.push(`and respects the rules by penetrating the loser's cunt.`); } if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } actX(loser, vaginal); } else if (canDoVaginal(loser)) { r.push(winnerPenetrates(cunt)); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } actX(loser, vaginal); } else if (canDoAnal(loser)) { r.push(winnerPenetrates(anus)); if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } actX(loser, anal); } else { r.push(facefuck); actX(loser, oral); } } else if (V.pit.virginities === "anal") { if (loser.vagina === 0 && canDoVaginal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "pregnancy") { virginitySpan.append(`take ${his2} virginity.`); r.push(`and gleefully takes advantage of your rules to `, virginitySpan); } else { virginitySpan.append(`breaks in ${his2} virgin vagina.`); r.push(`and `, virginitySpan); } if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } loser.vagina++; actX(loser, vaginal); } else if (loser.anus === 0 && canDoAnal(loser)) { r.push(`${canTalk(loser) ? `${loser.slaveName} starts to scream a protest to stop ${winner.slaveName} raping ${him2} pregnant, but ${winner.slaveName} grinds ${his2} face into the mat to shut ${him2} up` : `${loser.slaveName} tries to gesture a protest before ${winner.slaveName} fills ${his2} fertile pussy with cum, but ${winner.slaveName} grabs ${his2} ${hasBothArms(loser) ? `hands and pins them` : hasAnyArms(loser) ? `hand and pins it` : `neck firmly`} to keep ${him2} from complaining`}.`); if (winner.fetish === "buttslut" || (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg && winner.fetish === "pregnancy")) { if (canDoVaginal(loser)) { r.push(`and penetrates the loser's cunt.`); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } loser.counter.vaginal++; V.vaginalTotal++; } else { r.push(`and finds only a pristine butthole waiting for ${him}. Respecting ${his2} anal virginity, ${he} hauls the loser onto ${his2} knees for a facefuck.`); actX(loser, oral); } } } else if (canDoVaginal(loser)) { r.push(winnerPenetrates(cunt)); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } actX(loser, vaginal); } else if (canDoAnal(loser)) { r.push(); if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } actX(loser, anal); } else { r.push(facefuck); actX(loser, oral); } } else if (V.pit.virginities === "vaginal") { if (loser.vagina === 0 && canDoVaginal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "pregnancy") { if (canDoAnal(loser)) { r.push(`and hungrily eyes ${his2} pristine vagina before penetrating the loser's ass.`); if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } actX(loser, anal); } else { r.push(`and hungrily eyes ${his2} pristine vagina before hauling the loser onto ${his2} knees for a facefuck.`); actX(loser, oral); } } else { if (canDoAnal(loser)) { r.push(`and penetrates the loser's ass.`); if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } actX(loser, anal); } else { r.push(`and finds only a pristine butthole waiting for ${him}. Respecting ${his2} anal virginity, ${he} hauls the loser onto ${his2} knees for a facefuck.`); actX(loser, oral); } } } else if (loser.anus === 0 && canDoAnal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "buttslut" || (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg && winner.fetish === "pregnancy")) { virginitySpan.append(`take ${his2} anal virginity.`); r.push(`and gleefully takes advantage of your rules to `, virginitySpan); } else { virginitySpan.append(`breaks in ${his2} virgin anus.`); r.push(`and `, virginitySpan); } if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } loser.anus++; actX(loser, anal); } else if (canDoVaginal(loser)) { r.push(winnerPenetrates(cunt)); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } actX(loser, vaginal); } else if (canDoAnal(loser)) { r.push(); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } actX(loser, anal); } else { r.push(facefuck); actX(loser, oral); } } else { if (loser.vagina === 0 && canDoVaginal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "pregnancy") { virginitySpan.append(`take ${his2} virginity.`); r.push(`and gleefully takes advantage of your rules to `, virginitySpan); } else { virginitySpan.append(`breaks in ${his2} virgin vagina.`); r.push(`and `, virginitySpan); } if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } loser.vagina++; actX(loser, vaginal); } else if (loser.anus === 0 && canDoAnal(loser)) { r.push(`${He} pushes ${loser.slaveName}'s back down onto the mat, forces ${his2} ${hasBothLegs(loser) ? `legs apart` : !hasAnyLegs(loser) ? `hips steady` : `leg aside`},`); if (winner.fetish === "buttslut" || (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg && winner.fetish === "pregnancy")) { virginitySpan.append(`take ${his2} anal virginity.`); r.push(`and gleefully takes advantage of your rules to `, virginitySpan); } else { virginitySpan.append(`breaks in ${his2} virgin anus.`); r.push(`and `, virginitySpan); } if (canPenetrate(winner) && canImpreg(loser, winner) && loser.mpreg) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } loser.anus++; actX(loser, anal); } else if (canDoVaginal(loser)) { r.push(winnerPenetrates(cunt)); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 0, winner.ID); } actX(loser, vaginal); } else if (canDoAnal(loser)) { r.push(); if (canPenetrate(winner) && canImpreg(loser, winner)) { r.push(loserProtest); knockMeUp(loser, 50, 1, winner.ID); } actX(loser, anal); } else { r.push(facefuck); actX(loser, oral); } } r.push(rape(), rapeEffects()); if (winner.skill.combat === 0 && random(1, 100) < (20 + winner.devotion)) { const experienceSpan = App.UI.DOM.makeElement("span", `learned basic combat skills.`, ["improvement"]); r.push(`With experience in ${V.pit.name}, ${winner.slaveName} has `, experienceSpan); winner.skill.combat++; } loser.counter.pitLosses++; actX(winner, "penetrative"); if (!V.pit.bodyguardFights || V.BodyguardID !== winner.ID) { V.pit.fighterIDs.push(winner.ID); } if (!V.pit.bodyguardFights || V.BodyguardID !== loser.ID) { V.pit.fighterIDs.push(loser.ID); } V.pitFightsTotal++; winner.counter.pitWins++; App.Events.addNode(postFightDiv, r); return postFightDiv; function rape() { const rapeDiv = document.createElement("div"); const repSpan = App.UI.DOM.makeElement("span", ``, ["reputation", "inc"]); const r = []; if (winner.sexualFlaw === "malicious") { r.push(`${winner.slaveName} lives to torment and violate slaves. ${He} uses ${loser.slaveName} for ${his} `, App.UI.DOM.makeElement("span", `pleasure`, ["devotion", "inc"]), ` slapping ${him2} viciously, pinching ${him2} until ${he} draws blood, and showing off for the spectators.`); if (V.pit.audience !== "none") { repSpan.append(`greatly enjoys`); r.push(`The audience `, repSpan, ` the depraved spectacle.`); repX(50, "pit", winner); } winner.devotion++; } else if (winner.sexualFlaw === "abusive") { r.push(`${winner.slaveName} lives to abuse and violate slaves. ${He} uses ${loser.slaveName} for ${his} `, App.UI.DOM.makeElement("span", `pleasure`, ["devotion", "inc"]), ` raping ${him2} mercilessly, striking ${him2} until ${he2} turns a deep reddish-purple, and showing off for the spectators.`); if (V.pit.audience !== "none") { repSpan.append(`greatly enjoys`); r.push(`The audience `, repSpan, ` the depraved spectacle.`); repX(50, "pit", winner); } winner.devotion++; } else if (winner.energy > 95) { r.push(`${winner.slaveName} doesn't have to feign willingness to rape a slave ${girl2}. ${He} uses ${loser.slaveName} for ${his} `, App.UI.DOM.makeElement("span", `pleasure`, ["devotion", "inc"]), ` groping ${him2}, kissing ${his2} unwilling mouth, and showing off for the spectators.`); if (V.pit.audience !== "none") { repSpan.append(`greatly enjoys`); r.push(`The audience `, repSpan, ` the depraved spectacle.`); repX(50, "pit", winner); } winner.devotion++; } else if (winner.fetish === "sadist" && winner.fetishStrength > 60) { r.push(`${winner.slaveName} doesn't have to feign willingness abuse and violate a slave ${girl2}. ${He} uses ${loser.slaveName} for ${his} `, App.UI.DOM.makeElement("span", `pleasure`, ["devotion", "inc"]), ` slapping ${him2} cruelly, pinching ${him2} until ${he} draws blood, and showing off for the spectators.`); if (V.pit.audience !== "none") { repSpan.append(`greatly enjoys`); r.push(`The audience `, repSpan, ` the depraved spectacle.`); repX(50, "pit", winner); } winner.devotion++; } else if (winner.devotion > 75) { r.push(`${winner.slaveName} is so broken to slavery that ${he} `, App.UI.DOM.makeElement("span", `enjoys`, ["devotion", "inc"]), ` winning the fight and raping ${loser.slaveName}.`); if (V.pit.audience !== "none") { repSpan.append(`greatly enjoys`); r.push(`The audience `, repSpan, ` the depraved spectacle.`); repX(50, "pit", winner); } winner.devotion++; } else if (winner.devotion > 20) { r.push(`${winner.slaveName} understands ${his} role and thoroughly rapes ${loser.slaveName}.`); if (V.pit.audience !== "none") { repSpan.append(`enjoys`); r.push(`The audience `, repSpan, ` the spectacle.`); repX(25, "pit", winner); } } else { r.push(`${winner.slaveName} is unenthusiastic and just thrusts mechanically, to avoid being punished. ${He} `, App.UI.DOM.makeElement("span", `resents`, ["devotion", "dec"]), ` having to fight and fuck.`); if (V.pit.audience !== "none") { r.push(`The audience barely pays attention.`); } winner.devotion -= 2; } App.Events.addNode(rapeDiv, r); return rapeDiv; } function rapeEffects() { const rapeEffectsDiv = document.createElement("div"); const r = []; r.push(winnerEffects(), loserEffects()); if (loser.fetish !== "masochist" && loser.fetish !== "humiliation" && loser.sexualFlaw !== "self hating" && loser.relationship && loser.relationship < 5 && winner.ID === loser.relationshipTarget) { r.push(`Fighting and rape have `, App.UI.DOM.makeElement("span", `damaged`, ["relationship", "dec"]), ` the relationship between the slaves.`); } App.Events.addNode(rapeEffectsDiv, r); return rapeEffectsDiv; function winnerEffects() { const winnerEffectsDiv = document.createElement("div"); const r = []; if (winner.rivalry && loser.ID === winner.rivalryTarget) { r.push(`${He} `, App.UI.DOM.makeElement("span", `relishes`, ["devotion", "inc"]), ` the chance to abuse ${loser.slaveName}, whom ${he} dislikes.`); winner.devotion += 5; } else if (winner.relationship && loser.ID === winner.relationshipTarget) { if (winner.devotion > 20) { r.push(`${He} accepts having to abuse ${loser.slaveName}, and plans to make it up to ${him2} later.`); } else { r.push(`${He} `, App.UI.DOM.makeElement("span", `hates`, ["devotion", "dec"]), ` having to abuse ${loser.slaveName}.`); winner.devotion -= 10; } } else if (areRelated(winner, loser)) { if (winner.devotion > 20) { r.push(`${He} accepts having to abuse ${his} ${relativeTerm(winner, loser)}, ${loser.slaveName}, and plans to make it up to ${him2} later.`); } else { r.push(`${He} `, App.UI.DOM.makeElement("span", `hates`, ["devotion", "dec"]), ` having to abuse ${his} ${relativeTerm(winner, loser)}, ${loser.slaveName}.`); winner.devotion -= 10; } } if (winner.fetish === "sadist" && winner.fetishStrength > 90 && winner.sexualFlaw !== "malicious" && winner.devotion > 20) { r.push(`${He} noticed something while ${he} was raping ${loser.slaveName}; watching the way ${he2} writhed in pain was strangely satisfying, as ${he} was making ${him2} suffer. ${winner.slaveName} cums powerfully at the mere thought; ${he} has become `, App.UI.DOM.makeElement("span", `sexually addicted to inflicting pain and anguish.`, "noteworthy")); winner.sexualFlaw = "malicious"; } else if (winner.fetish === "masochist" && winner.fetishStrength > 90 && winner.sexualFlaw !== "self hating" && winner.devotion < 20) { r.push(`${He} feels horrible after forcing ${himself} on ${loser.slaveName}; ${he} is the one that should suffer, not ${him2}. ${winner.slaveName} has `, App.UI.DOM.makeElement("span", `descended into true self hatred.`, "noteworthy")); winner.sexualFlaw = "self hating"; } else if (winner.fetish === "dom" && winner.fetishStrength > 90 && winner.sexualFlaw !== "abusive" && winner.devotion > 20) { r.push(`${He} noticed something while ${he} was raping ${loser.slaveName}; watching the way ${he2} cowered before ${hasAnyArms(winner) ? `${his} raised palm` : `${him}`} was strangely satisfying, as were the painful moans that accompanied every forceful thrust. ${winner.slaveName} cums powerfully at the mere thought; ${he} has become `, App.UI.DOM.makeElement("span", `sexually abusive, getting off on the thrill of forcing ${himself} on other slaves.`, "noteworthy")); winner.sexualFlaw = "abusive"; } else if (winner.behavioralFlaw === "none" && random(1, 100) < 5 && winner.devotion < 20) { r.push(`${He} begins to act `, App.UI.DOM.makeElement("span", `oddly`, ["flaw", "gain"]), ` after the fight; having to beat down and rape another slave may have affected ${him} mentally.`); winner.behavioralFlaw = "odd"; } App.Events.addNode(winnerEffectsDiv, r); return winnerEffectsDiv; } function loserEffects() { const loserEffectsDiv = document.createElement("div"); const trustSpan = App.UI.DOM.makeElement("span", `fears`, ["trust", "dec"]); const r = []; if (loser.sexualFlaw === "self hating") { r.push(`${loser.slaveName} feels ${he2} `, App.UI.DOM.makeElement("span", `deserved this.`, ["devotion", "inc"])); loser.devotion -= 5; } else if (loser.fetish === "masochist" && loser.fetishStrength > 60 && loser.fetishKnown) { r.push(`${loser.slaveName} `, App.UI.DOM.makeElement("span", `gets off`, ["devotion", "inc"]), ` on being beaten and molested.`); loser.devotion -= 5; } else if (loser.fetish === "humiliation" && loser.fetishStrength > 60 && loser.fetishKnown) { r.push(`${loser.slaveName} `, App.UI.DOM.makeElement("span", `enjoys`, ["devotion", "inc"]), ` the humiliation of being openly beaten and raped.`); loser.devotion -= 5; } else if (loser.devotion < 50) { r.push(`${loser.slaveName} `, App.UI.DOM.makeElement("span", `resents`, ["devotion", "dec"]), ` being beaten and molested and `, trustSpan, ` that it will happen again.`); loser.devotion -= 10; loser.trust -= 10; } if (loser.rivalry && winner.ID === loser.rivalryTarget) { r.push(`${He2} is `, App.UI.DOM.makeElement("span", `embarrassed`, ["devotion", "dec"]), ` by losing to and being raped by ${winner.slaveName}, whom ${he2} dislikes, and `, trustSpan, ` that it will happen again.`); loser.devotion -= 10; loser.trust -= 10; } else if (loser.relationship && winner.ID === loser.relationshipTarget) { if (loser.devotion > 20) { r.push(`${He2} accepts ${winner.slaveName} having to rape ${him2}.`); } else { r.push(`${He2} `, App.UI.DOM.makeElement("span", `hates`, ["devotion", "dec"]), ` having to accept rape from ${winner.slaveName}, and `, trustSpan, ` that it will happen again.`); loser.devotion -= 10; loser.trust -= 10; } } else if (areRelated(loser, winner)) { if (loser.devotion > 20) { r.push(`${He2} accepts ${his} ${relativeTerm(loser, winner)}, ${winner.slaveName}, having to rape ${him2}, but ${he2} `, trustSpan, ` that it will happen again.`); loser.trust -= 10; } else { r.push(`${He2} `, App.UI.DOM.makeElement("span", `hates`, ["devotion", "dec"]), ` having to accept rape from ${his} ${relativeTerm(loser, winner)}, ${winner.slaveName}, and `, trustSpan, ` that it will happen again.`); loser.devotion -= 10; loser.trust -= 10; } } if (loser.fetish === "masochist" && loser.fetishStrength > 90 && loser.sexualFlaw !== "self hating") { r.push(`${He2} feels strangely content after being abused and violated; ${he2} is the one that should suffer, after all. ${loser.slaveName} has `, App.UI.DOM.makeElement("span", `descended into true self hatred.`, ["flaw", "gain"])); loser.sexualFlaw = "self hating"; } else if (loser.behavioralFlaw === "none" && random(1, 100) < 5 && loser.devotion < 20) { r.push(`${He2} begins to act `, App.UI.DOM.makeElement("span", `oddly`, ["flaw", "gain"]), ` after the fight; losing and getting raped may have affected ${him2} mentally.`); loser.behavioralFlaw = "odd"; } App.Events.addNode(loserEffectsDiv, r); return loserEffectsDiv; } } } /** * @returns {number} */ function getWinner() { if (!animal) { if (fighterDeadliness(getSlave(fighters[0])) > fighterDeadliness(getSlave(fighters[1]))) { return fighters[0]; } else if (fighterDeadliness(getSlave(fighters[0])) < fighterDeadliness(getSlave(fighters[1]))) { return fighters[1]; } else if (random(1, 100) > 50) { return fighters[0]; } else { return fighters[1]; } } } /** * @returns {number} */ function getLoser() { return winner.ID === fighters[0] ? fighters[1] : fighters[0]; } };
MonsterMate/fc
src/events/scheduled/pitFightNonlethal.js
JavaScript
mit
58,886
:: SE poorknight [nobr] <<set $nextButton = "Continue", $nextLink = "Scheduled Event">> Word reaches your ears through the idle gossip of your well-to-do Barons of a particular citizen whose name has been on everyone's lips the last few days. During the visit of a wealthy trader from a neighboring arcology, the merchant, supposedly at the prompting of one particularly pompous Knight of yours who referred to the peasantry as "little more than mindless toys", had his guards beat some of your lower-class citizens for amusement, molesting a young girl and treating them generally as slaves. <br><br> The cruel rambunctiousness of this trader and your own Knights continued for a few hours, with nearby guards both pretending not to notice and not reporting their activities to you, until a factory-working peasant by the name of Valentin approached them in the marketplace and demanded they stop. When the merchant's guards attempted to apprehend him, although you aren't clear on the exact details, it seems he managed to somehow strike down all five, despite being both unarmed and unarmored. The present Knight promptly challenged him to fight, out-of-armor and one-on-one, and was then knocked flat by the peasant in front of the watching marketplace as well. <br><br> This 'Valentin', a quiet man built like a mountain, has very rapidly become a local hero to your peasantry. You have heard petitions calling for him to be Knighted, and the public has nearly immediately come to see him as a courageous fighter against the various injustices of your hierarchical Imperial society. Your Barons, on the other hand, murmur that he is a rabblerouser, a peasant who has clearly forgotten his station at the bottom of the pyramid, and that to do anything but punish him for his insolence will surely lead to riots and unrest. Such a man would surely be a proud and capable Imperial Knight, but to Knight him would undoubtedly be seen as condoning liberal freedoms in your lower classes, and a Knight drawn from the filthy, unwashed peasants is totally unheard of. <br><br> <span id="result"> <<if $cash >= 5000>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Knight him in a Grand Festival">> <<replace "#result">> You make your stance on the issue known with a large public ceremony, awarding Valentin with his own private apartment, coat of arms, and a set of Imperial Plate in the very marketplace where he bested a group of brutish foreign thugs and an overly-cocky Knight. A swarm of peasantry surround every inch of the ceremony, @@.green;cheering your name@@ and 'Sir' Valentin's as you demonstrate that skill and courage is more important than social station. The furious foreign merchant sends you a message a few days later swearing to @@.red;never return to your arcology,@@ and the Barons grumble about the wildly dancing and celebrating peasants @@.red;undermining your authority.@@ <<run cashX(-5000, "knighting")>> <<run $arcologies[0].prosperity -= 2>> <<run repX(5000, "event")>> <</replace>> <</link>> costing <<print cashFormat(5000)>>. <</if>> <<if $cash >= 500>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Knight him in a Quiet Ceremony">> <<replace "#result">> You quietly award the brave peasant a set of Imperial Plate and his own apartment in a private ceremony attended only by a handful of your Barons and Knights. Many of the watching oligarchs seem thoroughly unenthusiastic about the enormous, grease-stained man joining their hallowed ranks, but politely clap and congratulate him nevertheless. Even the pompous Knight who he beat a few days ago, still sporting a black eye, claps him on the back after you have him rise as 'Sir' Valentin and congratulates him on a fight "befitting of a real man". Word of your decision soon reaches the peasantry, who @@.green;celebrate@@ the rewards given for honor, but you later receive a message from the foreign merchant infuriated that you would reward such insolence and claiming that he'll @@.red;hike his prices for you.@@ <<run cashX(-500, "knighting")>> <<run $arcologies[0].prosperity -= 1>> <<run repX(2000, "event")>> <</replace>> <</link>> costing <<print cashFormat(500)>>. <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Have him flogged for attacking your honored guests">> <<replace "#result">> You have the uppity peasant flogged for a few hours in the marketplace where he beat the merchant's guards. He accepts the punishment quietly and without any protest, submitting his muscled back to the bite of the lash as your Barons nod their head in agreement with your decision. The watching peasants are utterly @@.red;horrified@@ at your treatment of one of their heroes, but a day later you receive a message from the pleased merchant saying that he'll be sure to give you a @@.green;steep discount@@ the next time he visits your arcology for 'putting that uppity vermin in its place - beneath us.' <<run repX(-2000, "event")>> <<run $arcologies[0].prosperity += 1>> <</replace>> <</link>> </span>
MonsterMate/fc
src/events/scheduled/poorKnight.tw
tw
mit
5,001
/** Handles the case where this file loads before the primary pcBirthday file. */ App.Events.pcBirthday = App.Events.pcBirthday || {}; /** * Handles most of the descriptive rendering of the PC Birthday event. */ App.Events.pcBirthday.Desc = (function(bday) { /** * Creates a DocumentFragment with optional content. * @param {string|Element} content */ function fragment(content = null) { const frag = document.createDocumentFragment(); if (content) $(frag).append(content); return frag; } return { /** * Entry to the PC birthday scene. * @param {App.Events.pcBirthday.EventData} data */ renderIntro: function(data) { switch (data.mood) { case "solemn": return this.renderMood_Solemn(data); default: return this.renderMood_Happy(data); } }, /** * Top-level scene selection for a "solemn" mood. * @param {App.Events.pcBirthday.EventData} data */ renderMood_Solemn: function(data) { let html = ` <p> Running a Free City takes a certain fortitude. It's constant work, oftentimes thankless, and&mdash;in the worst of times&mdash;terribly stressful. This morning, as you stand at the balcony, looking across the ${App.Events.pcBirthday.scapeType(V.terrain)} around you, you find yourself reflecting on a year of hard decisions and humbling outcomes. You are stalwart and resolute, however. This arcology, if not the world, is still yours to shape. </p> <p> You walk inside and ${V.assistant.name} has a clipboard out, holding a pen to it as if ${data.assistPN.she} ever wrote anything down. "Happy birthday," ${data.assistPN.she} offers, trying to keep an official tone while letting a warmth envelope ${data.assistPN.his} words. ${data.assistPN.She} gives you an earnest smile. </p>`; const frag = fragment(html); App.Events.addResponses( frag, [ new App.Events.Result("Engage in your business matters with focus and resolve.", () => this.renderChoice_Business(data)), new App.Events.Result("Find a slave and spend the day relaxed and naked.", () => this.renderChoice_Relaxed_Assistant(data)), new App.Events.Result(`Tell ${V.assistant.name} to get things ready: today there's going to be a party!`, () => this.renderChoice_Party_Assistant(data)) ], "bday-plans" ); return frag; }, /** * Top-level scene selection for a "happy" mood (also default mood if the mood isn't supported). * @param {App.Events.pcBirthday.EventData} data */ renderMood_Happy: function(data) { let html = ''; if (data.planner) { html += ` <p> There's been a certain playful spirit in the air of your penthouse, although you've mostly ignored it as you've gone about your daily routines. A bit of an extra smile from some of your slaves, a more lilting tone from your ${data.planner.role} ${data.planner.slave.slaveName}'s evening reports, some suspicious but inconsequential movements out the corner of your eye. Sometimes a mood drifts through ${V.arcologies[0].name} and everyone is enchanted by it. </p> <p> This morning, as a `; if (V.PC.dick) { html += `mouth around your industrious cock`; } else { html += `tongue inside your industrious cunt`; } html += ` bids you hello, you find streamers and festive, sparkling decorations emerging from nooks and crannies of your bedroom that you forgot were even there. The letters spelling <em>HAPPY BIRTHDAY</em>, strung along the wall across from you, explain the subdued giggling you sometimes heard behind your back. Seeing you are now awake and aware, ${data.planner.slave.slaveName} prowls up your body`; if (data.planner.slave.boobs > 100) { html += `${data.planner.pn.his} exposed nipples gliding delicately over your chest.`; } else if (data.planner.can.pen()) { html += `${data.planner.pn.his} engorged dick coming to rest on your crotch.`; } html += `${data.planner.pn.She} brings ${data.planner.pn.his} mouth to your ear and whispers a soft and sensual <em>"Happy birthday, ${properTitle()}"</em> in your ear before nibbling your lobe. </p> <p> ${data.planner.pn.She} sits up. "So", ${data.planner.pn.She} begins with a brusque but excited chirp, "I didn't know how you would feel today. <em>So</em>... I've got two options for you to choose from." </p> <p> You play coy and ask if she's serious. </p> <p> "Mm-hmm. If you are feeling particularly bold and"&mdash;${data.planner.pn.She} strokes your ${App.Events.pcBirthday.pcGenitals()}&mdash;"frisky, there's a bit of entertainment that can be arranged. Sort of a social event, let's say. But. If maybe you wanted to take the day off and spend a little time in bed... I've got entertainment lined up for that also." This time ${data.planner.pn.She} strokes ${data.planner.pn.his} ${data.planner.slave.vagina > -1 ? "pussy" : "cock"}. ${data.planner.pn.She} explains that if you decline the social event, ${data.planner.pn.She} has a business partner of yours set up to attend in your stead; a favor to be repaid one day. And if you prefer to see what it's all about, there will be plenty of stiff-dicked attendees there to sate ${data.planner.pn.her}, so there's no reason to feel obliged to stay put. "${properMaster()} will get ${getPronouns(V.PC).his} wish." </p>`; const frag = fragment(html); App.Events.addResponses( frag, [ new App.Events.Result("See just exactly what, or who, will go down at this event.", () => this.renderChoice_Party_Planner(data)), new App.Events.Result("Enjoy the gift already sitting on your bed.", () => this.renderChoice_Relaxed_Planner(data)) ], "bday-plans" ); return frag; } else { html += ` <p> Running a Free City takes a certain fortitude. It's constant work, oftentimes thankless, and&mdash;in the best of times&mdash;remarkably rewarding. This morning, as you stand at the balcony, looking across the ${App.Events.pcBirthday.scapeType(V.terrain)} around you, you find yourself reflecting on a year of tough decisions and surprising outcomes. You remain stalwart and resolute: this arcology, if not the world, is yours to shape. </p> <p> You walk inside and ${V.assistant.name} has a clipboard out, holding a pen to it as if ${data.assistPN.she} ever wrote anything down. "Happy birthday!" ${data.assistPN.she} offers, trying to keep an official tone while letting a warmth envelope ${data.assistPN.his} words. ${data.assistPN.she} gives you a pleasant smile. </p>`; const frag = fragment(html); App.Events.addResponses( frag, [ new App.Events.Result("Engage in your business matters with focus and resolve.", () => this.renderChoice_Business(data)), new App.Events.Result("Find a slave and spend the day relaxed and naked.", () => this.renderChoice_Relaxed_Assistant(data)), new App.Events.Result(`Tell ${V.assistant.name} to get things ready: today there's going to be a party!`, () => this.renderChoice_Party_Assistant(data)) ], "bday-plans" ); return frag; } }, /** * Context: PC decides on gettin' money before get gettin' honey. * @param {App.Events.pcBirthday.EventData} data */ renderChoice_Business: function(data) { let html = ` <p> A birthday can be celebrated in many ways, and today the occasion will be marked by attacking your business interests head-on and with aplomb! Once you sit down and start looking over spreadsheets and market reports, ${V.assistant.name} notices your drive and feeds off your energy. ${data.assistPN.she} serves you charts and figures as fast as you can zip through them.`; if (V.assistant.personality) { html += `At one point you hear a soft murmur, and look over to see a rosy glow in ${data.assistPN.his} cheeks.`; } else { html += `${data.assistPN.she} remarks on your speed. "${properTitle()}, you seem quite determined today. My circuits are radiating a very pleasant heat trying to keep up."`; } html += `</p>`; if (V.assistant.personality) { html += ` <p> You ask your virtual assistant if this is turning ${data.assistPN.her} on. </p> <p> "No," ${data.assistPN.she} says quietly, ${data.assistPN.his} eyes darting away for a moment. </p> <p> When you look back down at your screen, you find a trio of beautiful, curvaceous slaves, fumbling over each other in a hedonistic pile. "...Maybe," you hear ${data.assistPN.her} clarify. </p> ${this.renderChoice_Business_AssistantVideo()} <p> You look over at ${V.assistant.name} again. "Happy birthday, ${properTitle()}. I spent all week rendering it. Now let's make some money!" </p>`; } else { html += ` <p> You can't help but smile. It wasn't an inappropriate comment, but it was strangely empathetic. Maybe ${data.assistPN.she} is quietly running an emotion engine in the background. No matter; ${data.assistPN.she} has processor cycles to spare. You crack your knuckles and get back to work. </p>`; } html += `<p> The next day, as the figures come in, you are startled by the numbers. The funds you shifted and the stocks you traded show immediate signs of paying off. For the week, you see a <span class="cash inc">modest windfall from your strange mood.</span> You are ready for a year of success ahead. </p>`; App.Events.pcBirthday.moneyAward(); /* END */ return html; }, /** * Helper function for a mini-scene. */ renderChoice_Business_AssistantVideo: function() { let slaveDescSing = "woman"; let slaveDescPlural = "women"; // once switch statements get involved, writing in SC no longer sounds fun switch (V.assistant.appearance) { case "loli": case "preggololi": slaveDescSing = "young girl"; slaveDescPlural = "young girls"; break; case "fairy": case "pregnant fairy": slaveDescSing = "fairy"; slaveDescPlural = "fairies"; break; case "shemale": slaveDescSing = "shemale"; slaveDescPlural = "shemales"; break; case "imp": case "monstergirl": case "slimegirl": slaveDescSing = "monstergirl"; slaveDescPlural = "monstergirls"; break; } const genital1 = V.assistant.appearance === "shemale" ? "dick" : "cunt"; const genital2 = V.assistant.appearance === "shemale" ? "cock" : "clit"; let html = `<p> The three ${slaveDescPlural} glide over each from sweat, mouths gasping and suckling at any skin nearby, hands attacking swollen ${genital2}s, soft moans and purrs as their groins reciprocate an aggressive touch.`; const market = V.assistant.market; if (market && market.relationship === "incestuous") { html += ` As you look closer, you see that the three ${slaveDescPlural} bare a striking resemblance to each other. The same hair color, the same eyebrows, the same nose. As the clip goes on, you see that two are clearly twins and one is a younger sister.`; } else if (market && market.relationship === "nonconsensual") { html += ` As you look closer, you realize that one of the ${slaveDescPlural} isn't moving about as much. As bodies shift and restraddle each other you notice leather cuffs binding her wrists and ankles, and the occasional glimpse of chains keeping them restrained.`; } html += ` Two of the slaves each take a breast of the third in their mouths and clamp their lips down on the nipples. Both move a hand to the third's ${genital1}, rubbing and stroking vigorously. The effect is too strong for the hapless ${slaveDescSing} who feels nothing but a ceaseless attack on her ${genital1} and tits. Her hips tremble and buckle as a loud wail escape her mouth. It's only then that one of her companions releases her tender nipple and locks their mouths together, the two ${slaveDescPlural} sharing a kiss as frenetic as the hands touching her ${genital2}. </p>`; return html; }, /** * Context: PC decides to relax during their birthday after given options basically presented by the assistant. * @param {App.Events.pcBirthday.EventData} data */ renderChoice_Relaxed_Assistant: function(data) { let html = ''; if (data.planner) { html += ` <p> After thanking ${V.assistant.name} for ${data.assistPN.her} dedication, you head out of your office and are immediately taken aback by a festive display of colors and shapes. Standing before you and blowing a party horn, ${data.planner.slave.slaveName} is dressed in a snug and flattering teddy. "Surprise!" </p> <p> You don't know how ${data.planner.pn.she} did it. Certainly not on ${data.planner.pn.his} own, so ${data.planner.pn.she} must have enlisted some helpers. Nothing betrayed ${data.planner.pn.his} plans. Even thinking back you can't recall anything unusual. And how did ${data.planner.pn.she} set this up between last night and this morning, in near silence...? Your ${data.planner.role} is some sort of crazy ${data.planner.slave.genes === "XY" ? "sorcerer" : "sorceress"}. </p> <p> ${data.planner.pn.She} shimmies up to you and gives you a constricting hug. "Happy birthday, ${properMaster()}!" Without a moment to respond, ${data.planner.pn.his} tongue finds its way into your mouth, and prods your tongue to dance with it. It's hopeless; your arms pincer ${data.planner.pn.his} body and you stroke your hands along ${data.planner.pn.his} back. </p>`; if (V.assistant.personality) { html += ` <p> Faintly, you hear ${V.assistant.name} behind you. "Aw. It's so sweet." </p>`; } html += ` <p> ${data.planner.slave.slaveName} breaks the kiss, takes your hand, and leads you over to a table. "So. What did you want to do today? Anything special?" ${data.planner.pn.She} steps aside so you can see the tabletop. A little cupcake sits there, ${App.Events.pcBirthday.eyeColors()} like your eyes, with a charming little candle burning upon it. </p> <p> You almost forgot what you were about to do. Collecting your thoughts, you tell ${data.planner.slave.slaveName} that you were thinking about spending a calm, stress-free day here in the penthouse. </p> <p> "That"&mdash;${data.planner.pn.she} playfully pokes at your side&mdash;"can be arranged." ${data.planner.pn.She} turns ${data.planner.pn.his} sight to the candle. "Make your wish! I hope it comes true!" </p>`; const frag = fragment(html); App.Events.addResponses( frag, [ new App.Events.Result("Close your eyes and make a wish.", () => { return ` <p> With eyes closed and a deep breath, you extinguish the dancing flame. ${data.planner.slave.slaveName} ${V.assistant.personality ? V.assistant.name + " applaud" : "applauds"}. As if using ${data.planner.pn.his} newfound sorcery, you barely know what's happening before you find yourself back in your elegant bedroom. Soft, orange glows flicker and paint your walls and cast languid shadows nearby. A hand-selected fusion of aromas hang in a thin cloud, streaming from a collection of incense sticks. You sit on your bed, legs forward and cradling ${data.planner.slave.slaveName}. ${data.planner.pn.His} back is to you, ${data.planner.pn.his} snug teddy laced together in the back with tasteful white bows. You slowly undo the first. </p> ` + this.renderPlannerScene(data); }) ], "bday-wish" ); return frag; } else { /* TODO (snes): add options, randomized? or fully randomize the slave? */ html += ` <p> After thanking ${V.assistant.name} for ${data.assistPN.his} dedication, you head out of your office and into an elevator. A stroll through your bustling arcology will be a terrific way to wake up your senses, get in touch with the common folk&mdash;through an appropriate layer of security, of course&mdash;and maybe spy a juicy piece of action. </p> <p> As a general rule, birthdays aren't major milestones in a Free City. This is in part because of the state of the outside world, and in part because the sun and moon are rarely visible enough to sense the passage of time. But days are still days, and years years, and today you've got a bit more pep in your step. You own a fucking <em>arcology</em>. People <em>live and work here</em>. They're around you right now, grabbing noodles and jogging off to a factory, or hopping in and out of the shopping district with clothes and toys. Every one of your citizens should be <em>proud</em> to ${V.PC.dick ? "swallow your dick" : "suckle your clit"}. Especially that one right there. Sitting on a bench with a phone in one hand and a fashionably chic, black jacket and dark skirt hugging their body. </p> <p> Most Free Citizens don't engage in direct eye contact with you, out of a mix of respect and fear. This one, thinking her phone is camouflage for the direction she's actually looking, has her eyes locked away from its screen and on you. Her lashes are long and dark; her skin has a delicious, soft tan. </p>`; const frag = fragment(html); App.Events.addResponses( frag, [ new App.Events.Result("Approach the girl on the bench.", () => this.renderStrangerScene(data)) ], "bday-prey" ); return frag; } }, /** * Context: PC decides to have the assistant plan a party. * @param {App.Events.pcBirthday.EventData} data */ renderChoice_Party_Assistant: function(data) { let html = ` <p> ${V.assistant.personality ? `"Aye aye, cap'n!"` : `"As you wish."`} Your assistant knows plenty about what you consider a successful ${V.arcologies[0].name} party. You leave the details up to ${data.assistPN.her}. </p> <hr> <p> It wasn't long before ${V.assistant.name} shot you a message with the details. All you have to do was be there, ${data.assistPN.she} said. You stand within your closet deciding what to wear. </p>`; const after = ` <hr> <p> That night, you tell yourself to do something special for ${V.assistant.name}, just before you drift off to sleep from exhaustion in a pile of assorted slaves. </p>`; const frag = fragment(html); frag.append(this.renderPartyScene(data, after)); return frag; }, /** * Context: PC decides to relax with the party planner after they give options. * @param {App.Events.pcBirthday.EventData} data */ renderChoice_Relaxed_Planner: function(data) { let html = ` <p> You pull ${data.planner.slave.slaveName} down beside you. You ask what's going to happen to this debauched gala ${data.planner.pn.she} was talking about. </p> <p> "Nothing really. You're still the guest of honor. It's just you... are about to get caught up in a poorly timed major business deal." ${data.planner.pn.She} waves ${data.planner.pn.his} hand in dismissal. "I've got a slave there who knows what to do if we don't show up. At worst we'll break even. At best you'll still have a favor or two to cash in. Don't worry about that anymore." ${data.planner.pn.She} sits up and turns ${data.planner.pn.his} back to you. "Worry about this." ${data.planner.pn.She} tugs at the first of several tasteful white bows that tie ${data.planner.pn.his} teddy together; ${data.planner.pn.she} pulls it undone and without speaking invites you to undo the rest. </p>`; html += this.renderPlannerScene(data); return html; }, /** * Context: PC decides to spend time with the party planner after given options by them. * This can come about through at least two paths. * @param {App.Events.pcBirthday.EventData} data */ renderChoice_Party_Planner: function(data) { let html = ` <p> You tell ${data.planner.slave.slaveName} that you can't imagine ${data.planner.pn.she} set up some sort of kinky gala expecting that you would just cede it to some nameless aristocrat. </p> <p> ${data.planner.pn.She} shrugs. "It would still be your party. You would have just... got held up in an unfortunate meeting." ${data.planner.pn.She} takes your hands and tugs you out of bed. "C'mon. You gotta find something to wear. Or not wear!" </p>`; const after = ` <hr> <p> That night, you tell yourself to do something special for ${data.planner.slave.slaveName}, and stroke ${data.planner.pn.his} hair just before the two of you drift off to sleep from exhaustion in a pile of assorted slaves. </p>`; const frag = fragment(html); frag.append(this.renderPartyScene(data, after)); return frag; }, /** * Context: entry to the planner scene. * @param {App.Events.pcBirthday.EventData} data */ renderPlannerScene: function(data) { const pn = data.planner.pn; let html = ` <p> ${pn.She} scoots herself closer to you, ${pn.his} ample butt cheeks tenuously grazing your ${App.Events.pcBirthday.pcGenitals({adj:1})}. You undo the second bow, easing the ribbon through a reinforced buttonhole, and lean in to tease ${pn.his} neck with your lips. ${pn.She} tremors as if from an electric jolt as they make contact with ${pn.his} skin. You begin the third bow. </p> <p> The teddy is soon loose and ${pn.she} wastes no time slipping it over ${pn.his} arms and tossing it to the edge of the bed. Taking ${pn.his}`; if (data.planner.slave.boobs < 400) { html += `petite but eager`; } else if (data.planner.slave.boobs > 1000) { html += `unnaturally hefty`; } else { html += `deliciously firm`; } html += `tits in your hands, you can tell by a stroke of your thumbs across ${pn.his} attentive nipples that ${pn.she} would be ready to pounce if ${pn.she} weren't letting you control the pace. ${pn.She} jiggles ${pn.his} tush to tease your ${App.Events.pcBirthday.pcGenitals()}. "Birthday ${getPronouns(V.PC).boy}," ${pn.she} coos, "you know I have another gift for you." You admit to yourself that you're just as eager to open it. </p>`; if (data.planner.slave.vagina > -1) { html += ` <p> Deftly you lay ${pn.her} upon the bed. You tug at ${pn.his} panties, and ${pn.his} hips instantly raise in the air. You slip the panties off, noting the alluring scent of ${pn.his} pussy mixing with the calming incense. </p>`; if (V.PC.dick) { html += this.renderPlannerScene_PCBones(data); } else if (data.planner.slave.dick) { html += this.renderPlannerScene_PCGetsBoned(data); } else { html += this.renderPlannerScene_Boneless(data); } } else { html += ` <p> Deftly you lay ${pn.her} upon the bed. You tug at ${pn.his} boxers, and ${pn.his} hips instantly raise in the air. You slip the boxers off, noting the alluring musk of ${pn.his} manhood mixing with the calming incense. </p>`; if (V.PC.vagina > -1) { html += this.renderPlannerScene_PCGetsBoned(data); } else { html += this.renderPlannerScene_PCBonesDatAss(data); } } return html; }, /** * Context: variant of the planner scene; PC has a penis, planner has a vagina. * @param {App.Events.pcBirthday.EventData} data */ renderPlannerScene_PCBones: function(data) { const pn = data.planner.pn; let html = ` <p> You slither on top of ${pn.her}, enjoying the friction of ${pn.his} skin as your cock drags across. You kiss your way from ${pn.his} tummy to ${pn.his} neck, slipping up through ${pn.his} breasts, until you reach the parted and plump flesh of ${pn.his} lips. The radiant warmth of ${pn.his} cunt excites your shaft. ${pn.His} pelvis pushes up against you, pleading for you to enter ${pn.her}. You grab ${pn.his} hand, bring it down to your virile dick, and clasp ${pn.his} fingers around it. A silent signal from your eyes, and ${pn.she} is guiding your tip between the lubricated lips of ${pn.his} pussy. `; if (data.planner.slave.vagina === 0) { html += `You make an initial push into ${pn.her}. There is a start in ${pn.his} eyes. A hesitance. But after a moment of holding ${pn.his} body stiff and still, ${pn.she} relaxes. Though your had forgotten in the heady spirit of making love to ${pn.her}, you realize now that you have given this day another moment of significance. <span class="virginity loss">${data.planner.slave.slaveName} lies beneath you, no longer a virgin.</span> Sensing your own hesitation, ${pn.his} hands clench your buttocks and push you down into ${pn.her}. In a soft and demure whisper, ${pn.she} says into your ear, "Don't stop."`; App.Events.pcBirthday.takeVirginity(data.planner.slave); } html += `${data.planner.slave.slaveName} clenches the muscles of ${pn.his} vagina, gripping and cradling your length, and with a gentle thrust you are fully inside ${pn.her}, the soft pillows of ${pn.his} labia kissing the skin of your crotch. </p> <p> You grind into your pretty ${data.planner.role}. Many short, deliberate thrusts engage the sharp senses of your delicate parts. The syncopation never breaks. You and ${pn.she} follow each other's motions. ${pn.She} brings ${pn.his} knees up and holds ${pn.his} feet in the air as you thrust into ${pn.her}. You bring attention to ${pn.his} tits every so often, nibbling and suckling at ${pn.his} adorable nipples. </p> <p> The rhythm grows stronger. Soon, with every thrust, ${pn.she} mouths a moan. ${pn.She} is no longer reserving the strength of ${pn.his} pussy muscles; ${pn.she} is clamping down tight around you, displaying no intention of letting you slip out and leaving ${pn.her} unfilled. ${pn.His} legs have gripped you and locked you in place as well. The heft of ${pn.his} breath on your neck and the unsteady flick of ${pn.his} tongue along the rim of your ear proves that ${pn.she} is so entranced by the plundering of ${pn.his} ravenous canal that ${pn.she} can barely coordinate ${pn.his} body outside of the central action. </p> <p> The moans become audible, starting from a soft whimper and growing into a desperate cry for release. ${pn.She}'s working ${pn.his} hips with fierce urgency. ${pn.She}'ll be damned if ${pn.she} gets off without milking your dick for every fucking drop of come that is ready to burst the dam. ${pn.She} won't let go now; ${pn.his} limbs have such a vice grip on your pounding body that you'd have little chance to shake loose even if you wanted. The ${pn.girl} is wild. And hungry. And intense. And writhing. And &mdash; </p> <p> Brought to a crescendo, you release inside of ${pn.her}. An animalistic growl escapes ${pn.his} lips. ${pn.She} trembles underneath you, a series of shockwaves and aftershocks ripples across ${pn.his} frame. Through this, ${data.planner.slave.slaveName} hasn't let go. ${pn.His} pussy swallows your semen; gulps it down like a parched nomad. As the bursts subside and your own body relaxes, ${pn.his} muscles yield. It matters little, however. You're scared to move for fear of overstimulating your exhausted cock. You collapse atop ${pn.her}, and ${pn.she} nuzzles ${pn.his} nose into your neck before giving you a gentle kiss. </p> <p> "Happy birthday." </p>`; /* END */ return html; }, /** * Context: variant of the planner scene; PC has a vagina, planner has a vagina. * @param {App.Events.pcBirthday.EventData} data */ renderPlannerScene_Boneless: function(data) { const pn = data.planner.pn; let html = ` <p> You slither on top of ${pn.her}, enjoying the friction of ${pn.his} skin against your pussy lips. You kiss your way from ${pn.his} tummy to ${pn.his} neck, slipping up through ${pn.his} breasts, until you reach the parted and plump flesh of ${pn.his} lips. The radiant warmth of ${pn.his} cunt heats your thigh. ${pn.His} pelvis pushes up against you, pleading for your caress and attention. You reach down between your bodies and find the soft mound between ${pn.his} legs. ${pn.His} slit allows a finger inside, and you find ${pn.his} attentive button swimming in ${pn.his} juices. ${pn.She} mirrors your actions, and soon two fingers are straddling your clit, stroking it and occasionally slipping down to the opening of your impatient canal. As you lie together, your bodies slowly swaying, you position your nipples to dance together and jostle each other. ${data.planner.slave.slaveName}'s leg pets your thigh and calf. You finally roll onto your sides, allowing for an easier exploration of each other's nethers. </p> <p> You grind and rub your pretty ${data.planner.role}. Many short, deliberate strokes engage the sharp senses of your delicate parts. The syncopation never breaks. You and ${pn.she} follow each other's motions. ${pn.His} fingers plunge into your awaiting cunt, ${pn.his} fingertips gently swabbing its walls. You bring attention to each other's tits every so often, nibbling and suckling at their nipples. </p> <p> The rhythm grows stronger. Soon, with every thrust, ${pn.she} mouths a moan. In desperation ${pn.she} grabs your thigh and pulls it hard to the moist lips of ${pn.his} pussy then grinds up against it. ${pn.His} own leg bares against your crotch and the sways of ${pn.his} hips stimulates your sensitive clit. Your hand goes to ${pn.his} ass and ${pn.hers} to yours; kneading, pulling, pleading to increase the pressure and friction of legs against pussies. Your bodies swivel in offset synchronicity, two pistons churning to drive a heated engine. The heft of ${pn.his} breath on your neck and the unsteady flick of ${pn.his} tongue along the rim of your ear proves that ${pn.she} is so entranced by the buffing of ${pn.his} flush labia that ${pn.she} can barely coordinate ${pn.his} body outside of the central action. </p> <p> The moans become audible, starting from a soft whimper and growing into a desperate cry for release. ${pn.She}'s working ${pn.his} hips with fierce urgency. ${pn.She}'ll be damned if ${pn.she} gets off without leaving you quivering in ecstasy from an assault on your clit. ${pn.She} breaks the rhythm just long enough to lift ${pn.his} body up and bring the leg ${pn.she} was humping you with fully to the other side of your body. In position now, ${pn.his} pussy is planted firmly against yours, the direct mingling of your wetness sealing the kiss of your private lips. ${data.planner.slave.slaveName} bucks ${pn.his} hips and presses firmly down into you and the cadence quickly returns. ${pn.His} hands absently grope and caress your body. ${pn.His} thrusts drive harder into you but the sticky friction of ${pn.his} groin against your clitoris never lets up. The ${pn.girl} is wild. And hungry. And intense. And writhing. And &mdash; </p> <p> Brought to a crescendo, you come spastically against each other. An animalistic growl escapes ${pn.his} lips. ${pn.She} trembles between your legs, a series of shockwaves and aftershocks ripples across ${pn.his} frame. Through this, ${data.planner.slave.slaveName} hasn't let go. ${pn.His} legs clamp you tightly and ${pn.his} arm keeps your leg locked against ${pn.her}. As the bursts subside and your own body relaxes, ${pn.his} muscles yield. It matters little, however. You're scared to move for fear of overstimulating your exhausted pussy. You collapse into one another, and ${pn.she} nuzzles ${pn.his} nose into your neck before giving you a gentle kiss. </p> <p> "Happy birthday." </p>`; /* END */ return html; }, /** * Context: variant of the planner scene; PC has a penis, planner has a penis. * @param {App.Events.pcBirthday.EventData} data */ renderPlannerScene_PCBonesDatAss: function(data) { const pn = data.planner.pn; let html = ` <p> You slither on top of ${pn.her}, enjoying the friction of ${pn.his} skin as your cock drags across. You kiss your way from ${pn.his} tummy to ${pn.his} neck, slipping up through ${pn.his} breasts, until you reach the parted and plump flesh of ${pn.his} lips. The radiant warmth of ${pn.his} cock heats your groin. ${pn.His} pelvis pushes up against you, pleading for your touch. ${pn.She} shifts you onto the bed at ${pn.his} side then rolls his back toward you. ${pn.She} keeps ${pn.his} head turned and eyes locked to yours. ${pn.She} reaches back and grabs your hand, brings it down to your virile dick, and clasps your fingers around it. A silent signal from your eyes, and ${pn.she} is guiding your tip between the puckered and greased entrance of ${pn.his} ass. ${pn.She} lets go and trusts you to complete the task. ${data.planner.slave.slaveName} relaxes the anticipating muscles of ${pn.his} sphincter, accepting the length of your shaft within. The warm recesses of ${pn.his} anus convulse, gripping and cradling your penis, and with a gentle thrust you are fully inside ${pn.her}, the soft pillows of ${pn.his} buttocks kissing the skin of your waist. You lie your arm over ${pn.his} side and delicately grasp ${pn.his} excited cock. Your thumb traces the contours of its tip. </p> <p> You grind into your pretty ${data.planner.role}. Many short, deliberate thrusts engage the sharp senses of your delicate parts. The syncopation never breaks. You and ${pn.she} follow each other's motions. ${pn.She} reaches an arm behind ${pn.her} and slips ${pn.his} hand down to your butt cheek and grasps it firmly. For each thrust you drive into ${pn.her}, you stroke your hand down to the base of ${pn.his} shaft, and on each retreat your hand pumps back to its tip. </p> <p> The rhythm grows stronger. Soon, with every thrust, ${pn.she} mouths a moan. ${pn.She} is no longer reserving the strength of ${pn.his} ass muscles; ${pn.she} is clamping down tight around you, displaying no intention of letting you slip out and leaving ${pn.her} unfilled. ${pn.His} hand clasps you tight and demands you keep close as it kneads your ass. The heft of ${pn.his} breath on your neck and the unsteady flick of ${pn.his} tongue along the rim of your ear proves that ${pn.she} is so entranced by the plundering of ${pn.his} ravenous canal that ${pn.she} can barely coordinate ${pn.his} body outside of the central action. </p> <p> The moans become audible, starting from a soft whimper and growing into a desperate cry for release. ${pn.She}'s working ${pn.his} hips with fierce urgency. ${pn.She}'ll be damned if ${pn.she} gets off without milking your dick for every fucking drop of come that is ready to burst the dam. ${pn.His} hips buck just as insatiably as yours. ${pn.She} releases your buttock only to reach down and pull your thigh over ${pn.his} hip. ${pn.She} rolls forward enough to give you more leverage into ${pn.his} devouring asshole. ${pn.She} arches ${pn.his} back and begs you to pump ${pn.her} harder. The ${pn.girl} is wild. And hungry. And intense. And writhing. And &mdash; </p> <p> Brought to a crescendo, you release inside of ${pn.her} and ${pn.she} onto the cotton sheets. An animalistic growl escapes ${pn.his} lips. ${pn.She} trembles underneath you, a series of shockwaves and aftershocks ripples across ${pn.his} frame. Through this, ${data.planner.slave.slaveName} hasn't let go. ${pn.His} ass swallows your semen; gulps it down like a parched nomad. As the bursts subside and your own body relaxes, ${pn.his} muscles yield. It matters little, however. You're scared to move for fear of overstimulating your exhausted cocks. You collapse atop ${pn.her}, and nuzzle your nose into ${pn.his} neck before giving ${pn.her} a gentle kiss. ${pn.She} looks back at you with a smile. </p> <p> "Happy birthday." </p>`; /* END */ return html; }, /** * Context: a one-on-one branch in which the PC has a woo-woo and the slave has a pee-pee. * @param {App.Events.pcBirthday.EventData} data */ renderPlannerScene_PCGetsBoned: function(data) { const pn = data.planner.pn; let html = ` <p> You slither on top of ${pn.her}, enjoying the friction of ${pn.his} thigh as your pussy slides across. You kiss your way from ${pn.his} tummy to ${pn.his} neck, slipping up through ${pn.his} breasts, until you reach the parted and plump flesh of ${pn.his} lips. The radiant warmth of ${pn.his} cock excites your cunt. ${pn.His} pelvis pushes up against you, pleading to enter you. You playfully roll ${pn.her} over, switching places until ${pn.she} is bearing down upon you. You reach down to ${pn.his} virile dick, and clasp your fingers around it. A silent signal from ${pn.his} eyes, and you are guiding ${pn.his} tip between the lubricated lips of your pussy. You clench the muscles of your vagina, gripping and cradling ${pn.his} length, and with a gentle thrust ${pn.she} is fully inside you, the soft pillows of your labia kissing the skin of ${pn.his} crotch. </p> <p> You grind against your pretty ${data.planner.role}. Many short, deliberate thrusts engage the sharp senses of your delicate parts. The syncopation never breaks. You and ${pn.she} follow each other's motions. You bring your knees up and hold your feet in the air as ${pn.she} thrusts into you. You bring attention to ${pn.his} tits every so often, nibbling and suckling at ${pn.his} adorable nipples. </p> <p> The rhythm grows stronger. Soon, with every thrust, ${pn.she} mouths a moan. ${pn.She} is no longer reserving the strength of ${pn.his} ab muscles; ${pn.she} is pounding down rough into you, displaying no intention of letting ${pn.himself} slip out and leaving you unfilled. Your legs have gripped ${pn.her} and locked ${pn.her} in place as well. The heft of ${pn.his} breath on your neck and the unsteady flick of ${pn.his} tongue along the rim of your ear proves that ${pn.she} is so entranced by the plundering of your pussy with ${pn.his} substantial cock that ${pn.she} can barely coordinate ${pn.his} body outside of the central action. </p> <p> The moans become audible, starting from a soft whimper and growing into a desperate cry for release. ${pn.She}'s working ${pn.his} hips with fierce urgency. ${pn.She}'ll be damned if ${pn.she} gets off without working ${pn.his} engorged tool against every sensitive spot inside you. You won't let go now; your limbs have such a vice grip on ${pn.his} pounding body that ${pn.she}'d have little chance to shake loose even if ${pn.she} wanted. The ${pn.girl} is wild. And hungry. And intense. And writhing. And &mdash; </p> <p> Brought to a crescendo, ${pn.she} releases inside of you. An animalistic growl escapes ${pn.his} lips. ${pn.She} trembles above you, a series of shockwaves and aftershocks ripples across ${pn.his} frame. Through this, ${data.planner.slave.slaveName} hasn't let go. ${pn.His} stiff phallus lies unloaded inside you. As the bursts subside and your own body relaxes, ${pn.his} muscles yield. It matters little, however. You're scared to move for fear of overstimulating your exhausted pussy. ${pn.She} collapses atop you, and ${pn.she} nuzzles ${pn.his} nose into your neck before giving you a gentle kiss. </p> <p> "Happy birthday." </p>`; /* END */ return html; }, /** * Context: PC decides to party down; this may be set up by either the assistant or the party planner. * @param {App.Events.pcBirthday.EventData} data */ renderPartyScene: function(data, afterParty = null) { const frag = fragment(); App.Events.addResponses( frag, [ new App.Events.Result("Formal attire, to present a leader of style and authority.", () => { data.attire = "formal"; return ` <p>You spend a few minutes fitting yourself into a stylish three-piece, finish the looking with a proper bow tie.</p> ` + this.renderPartyScene_Arrival(data) + afterParty; }), new App.Events.Result("Something fun and spunky; when you said party, you meant it.", () => { data.attire = "casual"; return ` <p>You find something that that broadcasts exactly what you want from this party: a raunchy, good time.</p> ` + this.renderPartyScene_Arrival(data) + afterParty; }), new App.Events.Result(`The birthday ${getPronouns(V.PC).boy} will wear a birthday suit.`, () => { data.attire = "naked"; return ` <p>There's no need to waste time&mdash;and cleaning costs&mdash;putting on clothes that are just going to come off again.</p> ` + this.renderPartyScene_Arrival(data) + afterParty; }), ], "bday-wear" ); return frag; }, /** * Context: PC chose their attire in the "choose attire" scene. * @param {App.Events.pcBirthday.EventData} data */ renderPartyScene_Arrival: function(data) { let html = ` <p> Approaching the multi-purpose conference room, you can hear `; switch (data.attire) { case "formal": html += `a soft, classical arrangement playing over the quiet murmurs of an awaiting crowd.`; break; case "casual": html += `the raucous, loud beats of a dance music set, mostly drowning out the hyped noise of the crowd inside.`; break; case "naked": html += `a contemporary playlist, upbeat but superficial; perfect for an event where it's the people (and their bodies) that are the focus, not the <em>ambiance</em>.`; break; } html += ` Your faith in ${V.assistant.name} is renewed once again. </p> <p> You are about to pull open the door, but they swing open for you. "Ladies and gentlemen," ${V.assistant.name} announces over the speaker system, "the head of ${V.arcologies[0].name}, and our special birthday guest of honor, <em>${V.PC.slaveName}</em>!" </p> <p> You stroll in to the applause of an excited crowd of smiling faces. Business leaders, arms dealers, slave purveyors; it's a list of essential figures within your arcology. A quarter of them already have a slave between their legs, getting their cock swallowed or their pussy tongue-polished. The rest are swiping drinks or stims off of trays that glide by and are eyeing the available harem looking for just the right body. Unoccupied slaves swirl about the room, introducing themselves and their bodies to the guests. </p> <p> You spend a few requisite minutes hobnobbing with the elites while getting your own buzz going. You get extra attention from the unclaimed slaves; there's hardly a moment when a stray hand isn't caressing your ${App.Events.pcBirthday.pcGenitals()}. You begin to wonder if anything was even planned for the party beyond music and sluts, but before you can grouse about it, the lights dim and a spotlight beams down onto an empty area in the center of the room. Two slaves roll a leather recliner into the light as two more take your arms and chaperone you over to it. On your way over you notice a mist billowing up from cleverly hidden fog machines, which you find a touch over-dramatic but you approve nonetheless.`; if (data.attire !== "naked") { html += `Before you are prompted to sit, your clothes are summarily dismissed from your body in a frenzy of precision that would make a motorway pitstop envious.`; } else { html += `Your bare body is given a quick caress from a flurry of hands as you are invited to sit.`; } html += ` </p> <hr>`; if (V.PC.dick) { html += this.renderPartyScene_PCBones(data); } else { html += this.renderPartyScene_PCGetsBoned(data); } App.Events.pcBirthday.partyAward(data); return html; }, /** * Context: variant of the party scene in which the PC has a penis. * @param {App.Events.pcBirthday.EventData} data */ renderPartyScene_PCBones: function(data) { let html = ` <p> Swaying her plump ass to the rhythm pulsing in the room, a first slave, with a dark and richly warm skin tone, sambas over to you. In repeated sequence, she flourishes her butt for the crowd in one direction, pivots her body 180&deg; toward you, and shimmies for the crowd on the other side. Now in front of you, she brings her taut cheeks down on your dick, which is lying stiff but ready on your lap. She works the cleavage of her ass along its length, a mild oil giving a pleasant stride for each pump of her waist. She starts to move her hips in a circle and brings her booty far enough back that her warm cunt kisses your cock. She pulls her whole body onto your chair, setting her lower legs down in its seat, straddling your lap, and reaches behind her to grab your shaft. Lowering her body down, she passes your penis between her thighs. You still feel the juices of her pussy mingling with the oil now coating your dick. Now that you are held in the clenched triangle between her legs, she returns to her signature shake. The sway of her buttocks causes them to jiggle counter to the motions. The precise control of her abs keeps her waist moving in time while her upper body is almost perfectly locked in place. Her hands caress her tits and tweak her nipples while her thighs pump themselves along your cock. </p> <p> Her thigh muscles glide back and forth against you, and gently roll your dick against her pussy lips. Between short, quick, repetitive gyrations, she works long and forceful strokes into her routine, keeping the sensation on your dick fresh and exciting. The onlookers applaud to the rhythm of her dancing; on each clap you see her butt thrust back at you. You are tempted to clasp the firm semi-globes but are loathe to ruin her act. She is able to control the tempo of the applause by adjusting her own rhythm, and subtly accelerates both. With a beckoning finger, she pulls another slave from the crowd. This second slave is petite and pale, her dark hair held back in a tight bun. She brings her naked body up to meet the girl thigh-fucking you, taking her lips from the dancer's stomach up to her mouth, where they briefly exchange saliva. </p> <p> Suddenly the smaller girl leaps and the first slave, an obvious partner now or in the past, lifts her upward with the assistance of momentum. This new girl hurdles over the darker one in your lap by momentarily planting hands on her shoulders. The oiled partner never takes her hands away from the gymnast's body, who has soon anchored her hands to the arms of your recliner. This motion, never broken, is so swift and dramatic that you don't even notice when the thighs swaddling your cock pull away, and the woman once in your lap has now been exchanged with a small, sinewy one, whose back is upside-down and facing you. The dancer now holds your cock upright and steady in her hand, however, as the lithe girl bends at her elbows, lowering herself down, mouth open, until the full length of your shaft has slid against her tongue and started into her throat. She contorts and brings her legs toward you, each slipping by either side of your head until your nose is planted on the delicate wisp of hair above her labia. Her partner shimmies away back into the crowd, and they clap along until she has left the misty spotlight. The girl now serving you engages every oral muscle in her control to milk your cock, and she jostles her pussy against your face, until you understand that it is being offered to you. Instinctively your hands go to her hips and you eat the limber lass out, working your tongue into and around the warm, juicy folds of her labia. At no point has she stopped attending to your dick, gently bobbing her head, your tip worked against the soft palate at the entrance of her throat. The crowd loves the spectacle, hushed as she moves into a new position, then applauding. They watch the bulge moving like a slow piston along her neck. At irregular intervals she extends her arms fully, bringing your tip back out to her lips where she teases and suckles it before settling it back inside her mouth. Just from holding her, you can feel her vaginal muscles reacting to your attack on her clit. </p> <p> She tightens her legs against your head and bends her knees over the head of the chair. You feel her shifting her weight against you as she unsheathes your stiff member from her oral cavity. With uncanny abdominal strength, she coils herself up and over you, spreads her legs to give her hands room to find purchase on your shoulders, then brings her weight down upon you there. She is so light that this registers as little more than a slight pressure. She's free to extend her legs almost fully outward. In an unexpected burst of energy, she twirls around your head as she uses you like a pommel horse; her face stops before yours just long enough to plant a finalé kiss on your cheek, and she disappears somewhere behind you. </p> <p> As her body launched out of sight, however, another two bodies were waiting at your feet. Or &mdash; you begin to wonder if it is actually two, or if your vision is doubling from a random pill you pulled off a tray and the mystical atmosphere provided by the fog. But no, it's soon clear that it's two redhead twins who had been warming each other up to prepare themselves for you. In stark and provocative contrast to the athlete before them, these girls slide upon you with full, soft bodies. They kiss your nipples, your collarbone, your cheeks, and finally share your tongue between them. You believe you sense something peculiar happening around you, but it's not yet clear what. A hand clasps your rod and jerks it gently. The gymnast did a tremendous job cleaning your dick of the oil and taste of the fat-bottomed dancer before her, but it remains lubricated with her saliva. </p> <p> One of the twins pulls her body atop of yours, her ass planted snuggly against your member. She twists her body around and returns to prodding your mouth with her tongue as her sister suckles at her tits. The standing twin then walks around to position herself between your legs. Meanwhile, the girl atop you lifts her tush up and guides the tip of your penis against her puckered asshole. She relaxes, and next her sphincter welcomes your visiting penis inside her warm anus. She settles down carefully atop you; as each inch sinks in, her muscles choke your throbbing cock until it is fully inside her. The other twin, meanwhile, is preparing for her own entry. The strange sensation you noticed previously is now clearly visible; the girl's meaty cock is poised at the lips of her sister's pussy. They clasp their bodies together and, with a tender kiss, they are now joined at the waist. You feel the hermaphroditic twin's member entering the canal neighboring your own tight enclosure. </p> <p> A slow pulsation follows. The girl sandwiched between you and her twin lover drifts back and forth, savoring the length of two rigid cocks inside her. The muscles around her anal walls clench and release. A counter but complementary motion from the upright twin augments the sensation. ${this.renderPartyScene_NoiseBlurb(data)} </p> <p> The cadence grows faster as the plush ass on your lap pulls itself off you farther and pushes down onto you harder. She clasps your hands around her bountiful breasts and invites you to squeeze them and pull at their nipples. The twin hammering her sister has little control over her own tits, which sway, jostle, and jiggle with every thrust. The arch of the standing twin's back has slowly been lowering, bringing her dangling boobs closer to the receiving sister's body. They understand each other's rhythms intrinsically and psychically, and they feel each other building to climax. Just the same it seems as if they are able to synchronize to your own restrained thrusts, and have orchestrated their actions to bring you to climax with them. The middle slave's bare buttocks are fucking against you hard now, as the two sisters pull in and hold each other's body close. You slide your hands from the girl's tits to her waist and help steady her against your aching cock. </p> <p> With her decisive, final lunges, her gripping tunnels bring both pricks inside her to release. You fill her sweat-drenched ass with your seed, every subsequent pump of her hips milking out another load. The twins celebrate by feeding their plump teats to each other. Once the two cocks are emptied, the twins pull themselves apart and return to the position where they started: flanking you and dancing their tongues over yours and each other's. </p>`; return html; }, /** * Context: variant of the party scene in which the PC has a vagina and no penis. * @param {App.Events.pcBirthday.EventData} data */ renderPartyScene_PCGetsBoned: function(data) { let html = ` <p> The chair seems specially purposed, sporting an inward scoop along the front that keeps your tush firmly near the edge but with enough surface under your legs to keep you from sliding off. You relax into the chair as a first slave, with a dark and richly warm skin tone, sways her plump ass to the rhythm pulsing in the room and sambas over to you. In repeated sequence, she flourishes her butt for the crowd in one direction, pivots her body 180&deg; toward you, and shimmies for the crowd on the other side. Now in front of you, she brings her taut cheeks down on your crotch, where your pussy lies moist and ready. She turns her body around, presenting an impossibly girthy dong standing at attention before her. She works the length of her shaft against your pussy lips, a mild oil giving a pleasant stride for each pump of her waist. She takes your legs and brings them together in front of her. She presses your thighs tight together around her dick as she continues to grind its mass against the lips of your lubricated vulva. An attendant slave&mdash;one of the two that brought you over to the chair&mdash;places an angled cushion before the belly-dancing slave fucking your thighs. She kneels upon it, finding a good posture to return to her signature shake. The sway of her buttocks causes them to jiggle counter to the motions. The precise control of her abs keeps her waist moving in time while her upper body is almost perfectly locked in place. Her hands alternate between holding and caressing your thighs while she pumps her cock between them. </p> <p> Between short, quick, repetitive gyrations, she works long and forceful strokes into her routine, keeping the sensation on your cunt fresh and exciting. On long strokes she pulls her shaft back far enough for its tip to kiss your throbbing clit for just a moment until the length of the shaft grinds against it. The onlookers applaud to the rhythm of her dancing; on each clap you see her hips thrust back at you. She is able to control the tempo of the applause by adjusting her own rhythm, and subtly accelerates both. With a beckoning finger, she pulls another slave from the crowd. This second slave is petite, her dark hair held back in a tight bun. She brings her naked body up to meet the girl you are thigh-fucking, taking her lips from the small of the dancer's back up to the nape of her neck. </p> <p> Suddenly the smaller girl leaps and the first slave, an obvious partner now or in the past, lifts her upward with the assistance of momentum. This new girl hurdles over the darker one in front of you by momentarily planting hands on her shoulders and twisting herself around. The oiled partner almost never takes her hands away from the gymnast's body, who has soon anchored her hands to the arms of your recliner. This motion, never broken, is so swift and dramatic that you don't even notice when the meaty cock that your thighs were swaddling pulls away, and the woman once fucking you has now been exchanged with a small, sinewy one, whose dainty, perky tits are upside-down and facing you. The dancer now holds your thighs apart, however, as the lithe girl bends at her elbows, lowering herself down, mouth open, until she seals her pouty lips around the opening between your legs. She contorts and brings her legs toward you, each slipping by either side of your head until your nose is planted on the delicate strip of skin between her pussy and asshole. Her partner shimmies away back into the crowd, and they clap along until she has left the misty spotlight. The girl now serving you engages every oral muscle in her control to suckle and prod your cunt, and she jostles her pussy against your face, until you understand that it is being offered to you. Instinctively your hands go to her hips and you eat the limber lass out, working your tongue into and around the warm, juicy folds of her labia. At no point has she stopped attending to your mound, gently probing your vaginal walls and pinching her lips around your swollen clitoris. The crowd loves the spectacle, hushed as she moves into a new position, then applauding. Just from holding her, you can feel her vaginal muscles reacting to your attack on her clit. </p> <p> She pulls her head up and twists her body like a wrung towel then untwists in the opposite direction. Once she has finished her maneuver, she has flipped her whole body over, her nipples pointing up in the air. She tightens her legs against your head and bends her knees over the head of the chair. You feel her shifting her weight against you. With uncanny abdominal strength, she coils herself up and over you, spreads her legs to give her hands room to find purchase on your shoulders, then brings her weight down upon you there. She is so light that this registers as little more than a slight pressure. She's free to extend her legs almost fully outward. In an unexpected burst of energy, she twirls around your head as she uses you like a pommel horse; her face stops before yours just long enough to plant a finalé kiss on your cheek, and she disappears somewhere behind you. </p> <p> As her body launched out of sight, however, another two bodies were waiting at your feet. Or &mdash; you begin to wonder if it is actually two, or if your vision is doubling from a random pill you pulled off a tray and the mystical atmosphere provided by the fog. But no, it's soon clear that it's two redhead twins who had been warming each other up to prepare themselves for you. In stark and provocative contrast to the athlete before them, these girls slide upon you with full, soft bodies. They kiss your nipples, your collarbone, your cheeks, and finally share your tongue between them. You believe you sense something peculiar happening around you, but it's not yet clear what. A hand clasps your vulva and strokes it gently. </p> <p> One of the twins pulls her body atop of yours, a stiff limb pressed snuggly against your waist. She returns to prodding your mouth with her tongue as her sister suckles at her own tits. The standing twin then walks around to position herself between your legs. Meanwhile, the girl atop you lifts her body and reaches down between your crotches. The strange sensation you noticed previously is now clear; the girl's meaty cock is poised at the lips of your pussy. Moreover, her sister's matching member is bearing down onto her ass. She guides the tip of her penis between the folds of your pussy, lubricating it with the wetness flowing out of you. She presses forward, the hooded end tunneling its way into the welcoming walls of your vagina. At the same time, the twin standing behind her has penetrating her curvaceous ass, causing the slave atop you to arc her back. As each inch of her enters you, your muscles choke her throbbing cock until it is nestled fully inside you. The twin atop you twists around to meet her sister with a tender kiss, and they are now joined below the waist. You can feel the secondary motion of the standing sister's thrusts informing the rhythm of the cock inside of you. </p> <p> A slow pulsation follows. The girl sandwiched between you and her twin lover drifts back and forth, savoring the dual sensations of penetrating and being penetrated. The muscles around her anal walls clench and release. A counter but complementary motion from the upright twin augments the sensation. ${this.renderPartyScene_NoiseBlurb(data)} </p> <p> The cadence grows faster as the unyielding phallus inside you pulls itself out farther and pushes into you harder. She clasps your hands around her bountiful breasts and invites you to squeeze them and pull at their nipples. She does the same in return. The twin hammering her sister from behind has little control over her own tits, which sway, jostle, and jiggle with every thrust. The arch of the standing twin's back has slowly been lowering, bringing her dangling boobs closer to the receiving sister's body. They understand each other's rhythms intrinsically and psychically, and they feel each other building to climax. Just the same it seems as if they are able to synchronize to your own restrained thrusts, and have orchestrated their actions to bring you to climax with them. The middle slave's hairless balls are slapping against you hard now, as the two sisters pull in and hold each other's body close. You slide your hands from the girl's tits to her waist and help steady her against your aching pussy. </p> <p> With her decisive, final lunges, two gripping tunnels bring the pricks inside them to release. She fills your sweat-drenched cunt with her seed, every subsequent pump of her hips milking out another load. The twins celebrate by kissing and fondling each other's bulbous tits. Once the two cocks are emptied, the twins pull themselves apart and return to the position where they started: flanking you and dancing their tongues over yours and each other's. </p>`; return html; }, /** * Context: PC finds a tasty prey while taking a relaxing stroll through the arco. * @param {App.Events.pcBirthday.EventData} data */ renderStrangerScene: function(data) { let html = ` <p> It isn't really the eye contact itself that entices you; it's the whole package. The jacket zipped down far enough to suggest there's nothing beneath but a bra for comfort. The dark and sheer stockings that run up under her knee-length skirt. You wonder if she came here with the first wave of settlers or has newly immigrated. You consider asking ${V.assistant.name} for a full history, but in the spirit of a birthday surprise, you leave ${data.assistPN.her} alone for now. You approach the bench and take a seat next to her. </p> <p> You play aloof. Because hell, it just feels like a cool thing to do. You give a nod to a security guard. You scroll through some stock listings on your phone. You lean back and just <em>absorb the day</em> with an, admittedly, unconvincing yawn. </p> <p> "What's your deal?", she asks you in a mock-sassy tone, and you can <em>hear</em> one of her eyebrows arched high. "You're walking around like you own the place." The tongue-in-cheek irony is clear in her voice. </p> <p> You effectively shrug off the insinuation, remaining coy. </p> <p> "'S'kinda weird for you to be out here in the commons, sitting on a bench with a commoner. Where's all your fuck-slaves?" </p> <p> You tersely tell her they are busy fucking or getting fucked. </p> <p> "Fair enough." She puts her phone&mdash;her failed (or successful?) prop&mdash;away. "There's a lot of rumors about you, you know. I don't know how much you pay attention to that shit." You shrug and invite her to share a few. "You've got a giant dong. Or you've got no dong. Or sometimes two, but I think that one started as a joke that some people took too seriously. They say you're a killer. Cold-blooded. Anyone gets in your way..." Her hand mimes a gun and shoots an invisible bullet. "They say you designed the arco yourself. They say you overtook it from someone else. They say you stole it from your own father. They say you barely know what an arco is because you're fried out of your fucking mind most days. Like I said, they say a lot of shit." </p> <p> You ask her what she believes. "Well you ain't fried right now. And I don't know if you built it or stole it but you have enough sense that you keep it running. And." During the pause you watch the slightest bite of her lip from the corner of your eye. "`; if (V.PC.dick) { html += `Jury's still out on whether you have a giant dong. But I'm thinking you do.`; } else { html += `Jury's still out on whether you're missing a dong. But I'm hoping you are.`; } `" She grazes a palm toward your inner thigh. </p>`; const frag = fragment(html); App.Events.addResponses( frag, [ new App.Events.Result("Offer her a chance to find out.", () => { if (V.PC.dick) { return this.renderStrangerScene_PCBones(data); } else { return this.renderStrangerScene_PCGetsBoned(data); } }), ], "bday-romp" ); return frag; }, /** * Context: variant of the stranger scene; PC has penis, stranger has vagina. * @param {App.Events.pcBirthday.EventData} data */ renderStrangerScene_PCBones: function(data) { let html = ` <hr> <p> Her wrists bound in straps behind her back, her mouth now knows exactly how big your dong is. You sit at the edge of your bed, where she kneels on the floor before you, her head bobbing in your lap. Your fingers splay through her soft, black hair as you hold her head. She works your dick like a popsicle. Her skirt and stockings have stayed on, but her jacket and bra have been abandoned. Her pert C-cups dangle from her chest as her body sways. You press her head down and feel your dick nudge the back of her throat. You ease off as she gags, giving her a moment to adjust. She aligns her neck and takes you in again, your cock slipping in deeper this time. Her swallowing muscles grasp at your cock and milk its tip. You pull her head back and start fucking her mouth. Her lips keep as tight a seal on your shaft as they can while her tongue pulses and flails underneath. </p> <p> Ready to explore more of your prize, you lift her up by the arm and toss her face-down on the bed. Her ass goes up into the air because she's a smart (and horny) girl. Her skirt hangs down over her rear but that's no concern; you flip it back over her body. Now exposed are her charcoal-gray panties with an adorable pink bunny face smiling at you on the back. They are pulled down to her knees. She <em>aches</em> for it; it's obvious from the arrhythmic waver of her hips which she constantly pushes toward you. You nudge her ass forward and spread her legs apart. You see the delicate inner folds of her labia nestling the erect clit at the top of her crease. You bring your tongue in for a taste. She tries to wiggle her pussy into your face but you hold her hips steady. Your tongue glides over and around the button, then traces the length of her slit. Her taste is sublime; creamy, barely salty, something between sweet and savory. It sits well on your tongue, which you probe into the inner regions of her fuck hole. She muffles her moans into the mattress. </p> <p> You climb to your knees behind her and where your tongue explored, now the tip of your cock follows. It wrestles against the pitiable clitoris, so desperate for friction, and becomes lubricated as it slips its way from one end of her crevice to the other. So soft and moist are the outer lips of her mound that without explicitly trying, your tip falls prey to her venus fly trap. A perfectly fine turn of events. You grab her hips and plunge deep into her canal. You feel the billowy textures and contours of her inner walls as they squeeze and devour your prick. You rock her hips back and forth, steady, while her bound hands stretch to touch your skin with their fingertips. You then grab her arms and use them as leverage against her body, lifting her head off the bed and pumping her hips against your groin. </p> <p> As your pace increases, you want a more solid frame to fuck. You flatten her onto the bed and decide that her arms are now going to be in the way. You undo the clasps of the straps and set her hands free. You waste little time bearing your body down onto her, creating an indentation within the mattress in the shape of her body. You fuck her tight young snatch deep and hard while her hands frantically try to find purchase on your skin. As each thrust through the deeper muscles of her pussy drives a charge through her nerves, she constantly battles between feeling her lover's body and keeping herself from potentially exploding. She seems to be losing, as guttural and euphoric sounds escape her lips. </p> <p> You withdraw and flip the dark creature over. In part out of charity; in part because you want to taste the perky pink buds that top her breasts. You knead and grope her tits as you suck at her protruding nipples. She finally lands her palms on the small of your back and seems to bask in the warmth of your body. You move up to kiss the girl's lips, and delight as she can't help but moan into your mouth as you enter her again. Your hands lock behind her shoulders and you resume fucking this girl silly. You employ the full length and girth of your cock to stimulate her poor clit, and she&mdash;as far as you can tell&mdash;might literally die from the pleasure. Her fingers squeeze your ass, glide up to your shoulders, and one continues up to the crown of your head. Her pussy clenches, massages, constricts. You can only assume she's come, presumably several times, by now because there can't possibly be another level above where she's been. </p> <p> Your mind races back to the sight of this girl sitting coyly on the bench in the commons, and how you imagined the sight and taste and smell under her skirt, and jump forward again to those sensations around you. You buck your hips forward and hold; your semen gushes out and pools within the deep recesses of her pussy. One of her graceful hands lands on either side of your face and pulls you into a deep kiss as you continue to coat her uterus with your seed. Soon fully spent, you drift off to a recuperating nap. </p> <p> You wake with her head on your chest. She gives it a petite kiss. "There's another rumor about you." </p> <p> Curious, you ask what it is. </p> <p> "That today is your birthday." </p> <p> You softly chuckle but don't respond. </p> <p> "Happy birthday." </p>`; /* END */ return html; }, /** * Context: variant of the stranger scene; PC has vagina, stranger has penis. * @param {App.Events.pcBirthday.EventData} data */ renderStrangerScene_PCGetsBoned: function(data) { let html = ` <hr> <p> Her wrists bound in straps behind her back, she is helpless to do more than watch you engulf her cock in your mouth. Your hands explore her torso and fondle her tits, which fit comfortably in the squeeze of your palms. It wasn't long into your flirting session that you noticed a peculiar lift happening with her skirt. But also it wasn't as if she were hiding it. Now her skirt is pulled up and her jacket and bra have come off. She sits over the edge of your bed, stockings still clinging to her calves and thighs, her eyes closed as she focuses on the sensation of your tongue on her dick. <em>Don't get used to it,</em> you think, <em>this is just preamble.</em> You massage her balls as your lips stroke her prick off. You slip a finger between your legs and, a slippery surface waiting for it, decide to move on. </p> <p> You push the girl back down on the bed and clamber atop it. Your legs steeple above her body, and her body rests atop her restrained arms. You walk with your knees until you pass over her head. You glance between and behind you. Her pretty face is fixated on the opening between your legs. Just perfect, you decide. You bring the two closer together, squatting down until the puffy outer lips of your vulva are nestled at the girl's mouth. A tongue lunges at your swollen clit and boxes it playfully; circling it, licking it, putting it back and forth. Her lips purse around it and suckle gently. You bear down slightly more as you arch your back and clench her abandoned dick with a firm grasp. You play a simple and undisclosed game with her; she grazes the length of your cunt with her tongue, and you offer her a stroke of her shaft. She doesn't catch on at first. She alternates between dainty licks, exploratory probes, and suckling kisses. Only on full, clit-to-taint glides do you pump her dick. As she grows more desperate to please you, and to be pleased herself, she finally solves the puzzle. Soon she moves from quick grazes to full sweeps and is rewarded with her dick being jacked as swiftly as she can stroke her tongue. </p> <p> You're pleased she won your game, but now you want something inside you. And not just prodding your outer opening... Something deep and substantial. You shuffle back down her body and meet the tip of her cock to the flush lips now coated with a mix of her saliva. She tries to bring her head off the mattress to touch any part of your skin with her lips, but she doesn't succeed. In fact, you take a hand to her chest and hold her in place. With your other hand you ensure her engorged phallus enters you properly. By inches you feel it slip deeper. Your walls convulse around it, involuntarily. Whenever she seems to speak, you put a finger to her lips. Always she stops speaking; on occasion she suckles the fingertip. Now the base of her shaft passes through your inner labia, and she is fully inside you. You rock your clit against the manifest protrusion of her dick from her crotch. From barely any motion you slowly build your tempo. You give yourself time to explore the body beneath you. You watch its gentle curves and soft form. You pinch the pink buds topping her C-cups and twist playfully. She is getting louder, louder than you would have expected from such a dark-clad young woman. She is inside you, deep and substantial, like you desired. Her cock plunges inside you and fills the clasping walls of your pussy; its tip pounds against the sensitive a-spot deep within you. </p> <p> This was fun, and you enjoyed it, but you have hit a new plateau and need to reach the summit. You dismount the poor girl, sit upright, and quickly free her from her leather restraints. Her mouth moves to speak again but a look shuts her up. You lie back onto the bed and pull her atop you. Your aren't wasting any time and you make sure she realizes this. Stationed between your legs, she presses into you again, going deeper much more easily now. You bring her mouth to your tit and she suckles obediently, fucking you continuously and to a tempo you set by guiding her hips with your hands. </p> <p> You wrap your legs around hers and bring her mouth to your lips. Her fuck rod has perfect access and she pumps into you autonomously now as you hold her body close, feeling breasts against breasts, sweat dripping onto sweat, pants and sighs and her lustful moans filling the bedroom air. Like a spring-loaded trap you are set off, and your muscles clamp down on the thick cock and <em>dare</em> it to escape. The only thing that escapes is her seed, gushing and leaking inside you. Her back arches and she seems to cry out like a werewolf to a full moon. She jackhammers your cunt with a barrage of short thrusts as an aftershock courses through her and another hot stream of come is released. You pull her head back down to yours to passionately explore your little fuck-wolf's mouth with your tongue. As the crescendo subsides, your bodies ask you for a brief few minutes of reprieve. </p> <p> You wake with her head on your chest. She gives it a petite kiss. She moves to speak and expects you to quiet her, but you do not. "There's another rumor about you." </p> <p> Curious, you ask what it is. </p> <p> "That today is your birthday." </p> <p> You softly chuckle but don't respond. </p> <p> "Happy birthday." </p>`; /* END */ return html; }, /** * Renders a small blurb used in the party scene. * @param {App.Events.pcBirthday.EventData} data */ renderPartyScene_NoiseBlurb(data) { if (data.attire === "casual") { return `The light, fog, and bass-heavy music have effectively separated you from the rabble surrounding this display, but lustful moans occasionally break the barrier, suggesting that everyone is fully in the birthday spirit.`; } else { return `The light and fog have effectively separated you from the rabble surrounding this display, but lustful moans and rhythmic slaps betray the fact that likely everyone is fully in the birthday spirit.`; } } }; })(App.Events.pcBirthday);
MonsterMate/fc
src/events/scheduled/sePCBirthday.desc.js
JavaScript
mit
78,220
/** * Data for the planner chosen for the birthday event. * @typedef {Object} App.Events.pcBirthday.PlannerData * @property {App.Entity.SlaveState} slave The actual selected planner slave. * @property {string} role The planner's role in the arcology, e.g. "head girl". * @property {Object} can Abilities the planner has. See `abilities()`. * @property {App.Utils.Pronouns} pn Pronouns for the planner slave. */ /** * Data generated when the event starts, to be used throughout. * @typedef {Object} App.Events.pcBirthday.EventData * @property {string} mood The tone of the party. See `getMood()`. * @property {?App.Events.pcBirthday.PlannerData} planner The possible party planner and their role; may be `null` if none is found. See `determinePlanner()`. * The scene doesn't *have* to use the planner, even if one is found. * @property {App.Utils.Pronouns} assistPN Pronouns for the player's assistant. * @property {string} attire Records the dress type chosen by the player in some branches. */ /** * The PC birthday event can trigger when `birthWeek` reaches 0. * * Depending on the game state (or depending on RNG), the event may have different "moods", * leading to their own variants. A "mood" is just a string describing the general emotion * of the day: happy, solemn, etc. (In practice this isn't used much yet.) * * If the PC has a slave in an important role that meets certain criteria, she may be selected * as a party planner, which can lead to its own variants of the event. */ App.Events.pcBirthday = (function(events) { let event = { /** for testing: set to the desired event mood */ forceMood: null, /** * for testing: set to true to force the event to trigger. * if the event happens, this is reset to false. */ forceEvent: false, devotionThreshold: 85, /** * Indicates whether the game state and settings allow the event to trigger. */ eventCanTrigger: function() { if (App.Events.pcBirthday.forceEvent) return true; // this thing is gonna devolve into sex, so let's not worry about // writing around a genitalless player, because that player is crazy anyway if (!V.PC.dick && V.PC.vagina < 0) return false; if (V.lastBDayEvent === V.week) { return false; } if (!V.playerAging) return false; return V.PC.birthWeek === 0; }, runEvent: function() { V.nextLink = "Scheduled Event"; V.nextButton = "Continue"; const data = this.createEventData(); return App.Events.pcBirthday.Desc.renderIntro(data); }, /** * @returns {string} */ getMood: function() { // TODO (snes): can be expanded to // a) add more moods // b) check state to change weights for moods, // e.g. if the player is doing poorly, the outcome // is more likely to be solumn // // as a POC, just using rng for now return App.Events.pcBirthday.forceMood || (Math.random() > 0.2 ? "happy" : "solemn"); }, /** * Creates the data that governs the event, and effectively starts it (in terms of * flags and housekeeping stuff). * @returns {App.Events.pcBirthday.EventData} */ createEventData: function() { const planner = App.Events.pcBirthday.determinePlanner(); const mood = App.Events.pcBirthday.getMood(); // resetting the flags so you don't have to remember to turn them off // (note calling getMood() before resetting the forceMood flag) App.Events.pcBirthday.forceEvent = false; App.Events.pcBirthday.forceMood = null; V.lastBDayEvent = V.week; return { mood, planner, assistPN: getPronouns(assistant.pronouns().main), attire: null, }; }, /** * Attempts to find a suitable birthday party planner from among certain special slaves. * If not `null`, the return object has several properties: * * * `slave`: The actual selected planner slave. * * `role`: The planner's role in the arcology, e.g. "head girl". * * `can`: Abilities the planner has. See `abilities()`. * * `pn`: Pronouns for the planner. * @returns {App.Events.pcBirthday.PlannerData|null} An object describing the selected planner slave. * If no suitable planner is found, `null` is returned. */ determinePlanner() { const choices = [ { slave: S.Concubine, role: "concubine", weight: 1 }, // I dunno I just made the weights up ¯\_(ツ)_/¯ { slave: S.HeadGirl, role: "head girl", weight: 0.6 }, { slave: S.Matron, role: "Matron", weight: 0.3 }, { slave: S.Madam, role: "Madam", weight: 0.3 }, ].filter(choice => { // basically we just want a slave that will make sense in the sex scenes. // checks can be removed if the sex scenes are rewritten to handle those cases if (!choice.slave) return false; if (!hasAllLimbs(choice.slave)) return false; if (choice.slave.fetish === 'mindbroken') return false; if (choice.slave && choice.slave.devotion < App.Events.pcBirthday.devotionThreshold) return false; if (!canSee(choice.slave) || !canHold(choice.slave) || !canTalk(choice.slave)) return false; if (choice.slave.vagina < 1 && !choice.slave.dick) return false; return true; }); if (!choices.length) return null; const totalWeight = choices.reduce((p, c) => p + c.weight, 0); const rnd = Math.random() * totalWeight; let chosen = null; let n = 0; for (let i = 0; i < choices.length; i++) { n += choices[i].weight; if (rnd <= n) { chosen = choices[i]; break; } } return { ...chosen, pn: getPronouns(chosen.slave), can: App.Events.pcBirthday.abilities(chosen.slave), }; }, /** * Returns an object with functions that indicate what the given actor is able to do. * @param {App.Entity.SlaveState} actor */ abilities: function(actor) { return { talk: () => canTalk(actor) && actor.rules.speech !== "restrictive", hear: () => canHear(actor), see: () => canSee(actor), pen: () => canAchieveErection(actor), // penetrate is SUCH A LONG WORD vag: () => canDoVaginal(actor), anal: () => canDoAnal(actor), /** * Determines if the actor can fuck the given other actor (slave or PC). * If the other actor is not provided, the PC is used by default. * @param other The slave or player to test. */ fuck: (other = null) => App.Utils.sexAllowed(actor, other || V.PC), }; }, /** Helper function for the event; returns a short description of the given arcology terrain. */ scapeType: function(terrain) { switch (terrain) { case "marine": return "shoreline"; case "ravine": return "cliffs"; case "oceanic": return terrain + " seascape"; default: return terrain + " landscape"; } }, /** Helper function that describes the PC's eye color(s). */ eyeColors: function() { const color = App.Desc.eyeColor(V.PC); return color.replace("heterochromatic ", "").replace("empty ", "white "); // not sure about the "empty" case }, /** * Helper function that describes the PC's baby-making bits. * @typedef {Object} Options * @property {boolean|0|1} [adj] - Whether to supply an adjective. * @param {Options} options */ pcGenitals: function(options = null) { options = options || {}; // lol naughty words if (V.PC.dick) { const words = ["dick", "dick", "dick", "cock", "cock", "cock", "shaft", "phallus", "rod"]; if (options.adj) { const adjs = ["hard", "engorged", "stiff", "erect", "throbbing"]; return adjs.random() + " " + words.random(); } return words.random(); } else { const words = ["pussy", "pussy", "pussy", "cunt", "cunt", "cunt", "twat", "slit"]; if (options.adj) { const adjs = ["warm", "tempting", "wet", "glistening", "hungry"]; return adjs.random() + " " + words.random(); } return words.random(); } }, /** Gives the player a little birthday cash. */ moneyAward: function() { let amt = V.cash * 0.01; // TODO (snes): tune limits for difficulty balance if (amt < 1000) amt = 1000; else if (amt > 10000) amt = 10000; cashX(amt, "event"); }, partyAward: function(eventData) { switch (eventData.attire) { case "formal": repX(100, "event"); if (V.secExpEnabled) V.SecExp.core.authority += 300; break; case "casual": repX(300, "event"); if (V.secExpEnabled) V.SecExp.core.authority += 100; break; } }, takeVirginity: function(slave) { slave.vagina = 1; }, }; if (events.pcBirthday) { // handles the case where pcBirthday.Desc has already loaded event = { ...events.pcBirthday, ...event, }; } return event; })(App.Events);
MonsterMate/fc
src/events/scheduled/sePCBirthday.js
JavaScript
mit
8,629
:: SE pc birthday [nobr] <<includeDOM App.Events.pcBirthday.runEvent()>>
MonsterMate/fc
src/events/scheduled/sePCBirthday.tw
tw
mit
73
App.Ads = {}; App.Ads.Categories = {}; /* Ad categories can classify individual slaves into many values, but at the facility level they get reduced to positive, zero, and negative to see whether the ads were effective */ App.Ads.Categories.age = { varSuffix: "Old", classifySlave: function(slave) { if (isYoung(slave)) { if (slave.physicalAge >= 18) { return -1; // young adult } else if (slave.physicalAge >= 13) { return -2; // teen } else { return -3; // loli } } return 1; // mature }, classifyLocalPreference: function() { if ((V.arcologies[0].FSMaturityPreferentialist !== "unset") && (V.arcologies[0].FSMaturityPreferentialist >= 80)) { return 1; // mature } else if ((V.arcologies[0].FSYouthPreferentialist !== "unset") && (V.arcologies[0].FSYouthPreferentialist >= 80)) { return -1; // young } return 0; } }; App.Ads.Categories.assetSize = { varSuffix: "Stacked", classifySlave: function(slave) { if (isStacked(slave)) { return 1; } else if (isSlim(slave)) { return -1; } else { return 0; } }, classifyLocalPreference: function() { if ((V.arcologies[0].FSAssetExpansionist !== "unset") && (V.arcologies[0].FSAssetExpansionist >= 80)) { return 1; // stacked } else if ((V.arcologies[0].FSSlimnessEnthusiast !== "unset") && (V.arcologies[0].FSSlimnessEnthusiast >= 80)) { return -1; // slim } return 0; } }; App.Ads.Categories.assetOrigin = { varSuffix: "Implanted", classifySlave: function(slave) { if (isSurgicallyImproved(slave)) { return 1; } else if (isPure(slave)) { return -1; } return 0; }, classifyLocalPreference: function() { if ((V.arcologies[0].FSTransformationFetishist !== "unset") && (V.arcologies[0].FSTransformationFetishist >= 80)) { return 1; // implanted } else if ((V.arcologies[0].FSBodyPurist !== "unset") && (V.arcologies[0].FSBodyPurist >= 80)) { return -1; // natural } return 0; } }; App.Ads.Categories.mods = { varSuffix: "Modded", classifySlave: function(slave) { if (SlaveStatsChecker.isModded(slave)) { return 1; } else if (SlaveStatsChecker.isUnmodded(slave)) { return -1; } return 0; }, classifyLocalPreference: function() { if ((V.arcologies[0].FSDegradationist !== "unset") && (V.arcologies[0].FSDegradationist >= 80)) { return 1; // modded } else if ((V.arcologies[0].FSBodyPurist !== "unset") && (V.arcologies[0].FSBodyPurist >= 80)) { return -1; // natural } return 0; } }; App.Ads.Categories.preg = { varSuffix: "Preg", classifySlave: function(slave) { if (isPreg(slave)) { return 1; } else if (isNotPreg(slave)) { return -1; } return 0; }, classifyLocalPreference: function() { if ((V.arcologies[0].FSRepopulationFocus !== "unset") && (V.arcologies[0].FSRepopulationFocus >= 80)) { return 1; // pregnant } else if ((V.arcologies[0].FSRestart !== "unset") && (V.arcologies[0].FSRestart >= 80)) { return -1; // non-pregnant } return 0; } }; App.Ads.Categories.genitalia = { varSuffix: "XX", classifySlave: function(slave) { if (slave.dick === 0 && slave.vagina > -1) { return 1; // pussies, no dicks } else if (slave.dick > 0) { return -1; // dicks, pussies optional } return 0; // null? }, classifyLocalPreference: function() { if ((V.arcologies[0].FSGenderFundamentalist !== "unset") && (V.arcologies[0].FSGenderFundamentalist >= 80)) { return 1; // pussies, no dicks } else if ((V.arcologies[0].FSGenderRadicalist !== "unset") && (V.arcologies[0].FSGenderRadicalist >= 80)) { return -1; // dicks, pussies optional } return 0; } }; /** Returns all the ad categories in the system. */ App.Ads.getAllCategories = function() { return _.values(App.Ads.Categories); }; /** categorizes a girl in all the categories and returns the total categories in which she matches the advertisements */ App.Ads.getMatchedCategoryCount = function(slave, facility) { let matchedCategories = 0; for (const cat of App.Ads.getAllCategories()) { const result = cat.classifySlave(slave); if (result === V[`${facility}Ads${cat.varSuffix}`]) { ++matchedCategories; } } return matchedCategories; }; /** Manages the ads for a facility. Use example: <<set _adMgr = new App.Ads.AdManager("brothel")>> */ App.Ads.AdManager = class { constructor(facility) { this.varPrefix = `${facility}Ads`; this.totalSlaves = 0; this.missedBonuses = 0; for (const cat of App.Ads.getAllCategories()) { this[`tally${cat.varSuffix}`] = new Map(); } } /** categorizes a girl in all the categories and adds the results to the running totals */ tallySlave(slave) { ++this.totalSlaves; for (const cat of App.Ads.getAllCategories()) { const result = cat.classifySlave(slave); this[`tally${cat.varSuffix}`].set(result, (this[`tally${cat.varSuffix}`].get(result) || 0) + 1); } } _coalesceTally(category) { const catMap = this[`tally${category.varSuffix}`]; let neg = 0; let pos = 0; for (let [key, tally] of catMap) { if (key < 0) { neg += tally; } else if (key > 0) { pos += tally; } /* index == 0 is deliberately ignored */ } return {neg, pos}; } /** returns -1 if the majority of the girls have a negative value, +1 if the majority of the girls have a positive value, and 0 otherwise */ slavesMajority(category) { const {neg, pos} = this._coalesceTally(category); if (neg > this.totalSlaves * 0.5) { return -1; } else if (pos > this.totalSlaves * 0.5) { return +1; } else { return 0; } } /** returns true if the majority of the girls fit the local preferences in the given category */ slavesMatchPrefs(category) { const majority = this.slavesMajority(category); return (majority !== 0 && majority === category.classifyLocalPreference()); } /** returns true if the majority of the girls fit the ad campaign in the given category */ slavesMatchAds(category) { const majority = this.slavesMajority(category); return (majority !== 0 && majority === V[`${this.varPrefix}${category.varSuffix}`]); } /** returns true if the local preferences match the ad campaign in the given category */ prefsMatchAds(category) { const prefs = category.classifyLocalPreference(); return (prefs !== 0 && prefs === V[`${this.varPrefix}${category.varSuffix}`]); } /** returns -1 if the category qualifies for a variety bonus but the facility failed to get it, 1 if the category qualifies for a variety bonus and the facility got it, or 0 if it did not qualify */ varietyBonus(category) { // qualifies for variety bonus only if the category has no preference, we are spending money on ads, and our ads show no preference if (category.classifyLocalPreference() !== 0 || V[`${this.varPrefix}Spending`] === 0 || V[`${this.varPrefix}${category.varSuffix}`] !== 0) { return 0; } // check to see if we achieved variety bonus const {neg, pos} = this._coalesceTally(category); if (neg > 0 && pos > 0 && Math.abs(pos - neg) <= (this.totalSlaves / 3)) { return 1; // got it } else { this.missedBonuses++; return -1; // qualified but failed } } overallVarietyBonus() { return (this.missedBonuses === 0); } }; App.Ads.report = function(building, preview) { "use strict"; if (typeof preview === undefined) { preview =false; } let r = ``; /** @type {App.Entity.Facilities.Facility} */ const facility = App.Entity.facilities[building]; const DL = facility.employeesIDs().size; let adMgr = new App.Ads.AdManager(building); facility.employees().forEach(s => { adMgr.tallySlave(s); }); if (facility.manager.currentEmployee) { adMgr.tallySlave(facility.manager.currentEmployee); } let adCampaign = { stacked: V[building + "AdsStacked"], preg: V[building + "AdsPreg"], modded: V[building + "AdsModded"], implanted: V[building + "AdsImplanted"], XX: V[building + "AdsXX"], age: V[building + "AdsOld"], spending: V[building + "AdsSpending"] }; return report(building, preview); function report(building, preview) { if (preview) { r += `<p><h3>Asset size</h3>`; r += stacked(building, preview); r += links(building, "stacked"); r += `</p>`; r += `<p><h3>Asset origin</h3>`; r += implanted(building, preview); r += links(building, "implanted"); r += `</p>`; r += `<p><h3>Body mods</h3>`; r += modded(building, preview); r += links(building, "modded"); r += `</p>`; if (V.seePreg !== 0) { r += `<p><h3>Pregnancy</h3>`; r += preg(building, preview); r += links(building, "preg"); r += `</p>`; } r += `<p><h3>Age</h3>`; r += age(building, preview); r += links(building, "age"); r += `</p>`; if (V.seeDicks !== 0) { r += `<p><h3>Genitalia</h3>`; r += XX(building, preview); r += links(building, "XX"); r += `</p>`; } r += `<p>`; r += final(building, preview); r += `</p>`; } else { r += `<p>`; r += intro(building, preview); r += `</p><p>`; r += stacked(building, preview); r += `</p><p>`; r += preg(building, preview); r += `</p><p>`; r += modded(building, preview); r += `</p><p>`; r += implanted(building, preview); r += `</p><p>`; r += XX(building, preview); r += `</p><p>`; r += age(building, preview); r += `</p><p>`; r += final(building, preview); r += `</p>`; } return r; } function intro(building, preview) { let t = ``; if (adCampaign.spending !== 0) { if (building === "brothel") { t += `<div>An ad campaign is supporting business there, and `; if (building === "brothel") { t += `whores `; } else { t += `sluts `; } t += `that match it make more ¤.</div>`; } else if (building === "club") { t += `<div>An ad campaign is getting citizens into the ${building} every night, and sluts that match it gratify patrons.</div>`; } } return t; } function payVarietyBonus() { if (!preview) { if (building === "brothel") { const adsIncome = DL*random(20, 30); V.facility[building].adsIncome += adsIncome; cashX(adsIncome, (building + "Ads")); } else if (building === "club") { repX(DL*random(5, 10), (building + "Ads")); } } } function payAdBonus() { if (!preview) { if (building === "brothel") { const adsIncome = DL*random(20, 30); V.facility[building].adsIncome += adsIncome; cashX(adsIncome, (building + "Ads")); } else if (building === "club") { repX(DL*random(5, 10), (building + "Ads")); } } } function stacked(building, preview) { let t = ``; const pref = App.Ads.Categories.assetSize.classifyLocalPreference(); let girls = adMgr.slavesMajority(App.Ads.Categories.assetSize); if (V.debugMode === 1) { t += `Girls: ${girls}, Pref: ${pref}, Ads: ${adCampaign.stacked}`; } // Ads if (adCampaign.spending !== 0) { t += `<div>`; if (adCampaign.stacked === 1) { t += `Its advertisements feature girls with plenty up top and rears to match. `; } else if (adCampaign.stacked === -1) { t += `Its advertisements feature trim girls with little in the way of T&A. `; } else { t += `Its advertisements feature a variety of girls, some that are trim and others that are curvaceous. `; } t += `</div>`; } // Preferences if (pref === 1) { t += `Most customers prefer their girls well endowed. `; } else if (pref === -1) { t += `Most customers prefer their girls light. `; } else { let variety = adMgr.varietyBonus(App.Ads.Categories.assetSize); if (variety === 1) { payVarietyBonus(); t += `The ${building} offers a `; if (building === "brothel") { t+= `<span class="yellowgreen">`; } else if (building === "club") { t+= `<span class="green">`; } t += `wide</span> variety of slim and stacked slaves. `; } t += `Most customers don't mind the selection of assets. `; } // Girls if (girls === -1) { t += `Most of the slaves in the ${building} have small tits and asses. `; } else if (girls === 1) { t += `Most of the slaves in the ${building} have large tits and asses. `; } else { t += `The slaves in the ${building} vary in asset size. `; } // Results if (pref === 0) { /* customers don't care*/ } else if (adCampaign.spending > 0) { if ((adCampaign.stacked === pref) && (girls === adCampaign.stacked)) { payAdBonus(); t += `Its advertising for `; if (adCampaign.stacked === 1) { t += `stacked `; } else if (adCampaign.stacked === -1) { t += `trim `; } t += `girls matched most customers' preferences and the girls in the ${building} matched its advertisements. `; t += reputation(building, 1, preview); } else if ((adCampaign.stacked === pref) && (girls !== adCampaign.stacked)) { t += `Its advertising for `; if (adCampaign.stacked === 1) { t += `stacked `; } else if (adCampaign.stacked === -1) { t += `trim `; } t += `girls matched most customers preferences, but most of the girls in the ${building} were not as advertised. `; t += reputation(building, -1, preview); } else if ((girls === pref) && (girls !== adCampaign.stacked)) { t += `The `; if (girls === 1) { t += `stacked `; } else if (girls === -1) { t += `trim `; } t += `girls in the ${building} did not match its advertisements, but since the girls in the ${building} matched most customers preferences for `; if (pref === 1) { t += `stacked `; } else if (pref === -1) { t += `slim `; } t += `girls, `; t += reputation(building, 0, preview); } else if (girls !== pref) { t += `Some customers were put off since the `; if (girls === 1) { t += `stacked `; } else if (girls === -1) { t += `trim `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `stacked `; } else if (pref === -1) { t += `slim `; } t += `girls. `; t += reputation(building, -1, preview); } } else { if (girls === pref) { t += `The `; if (girls === 1) { t += `stacked `; } else if (girls === -1) { t += `trim `; } t += `girls in the ${building} match most customers' preferences for `; if (pref === 1) { t += `stacked `; } else if (pref === -1) { t += `slim `; } t += `girls. `; t += reputation(building, 1, preview); } else { t += `Some customers were put off since the `; if (girls === 1) { t += `stacked `; } else if (girls === -1) { t += `trim `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `large `; } else if (pref === -1) { t += `slim `; } t += `girls. `; t += reputation(building, -1, preview); } } return t; } function preg(building, preview) { let t = ``; const pref = App.Ads.Categories.preg.classifyLocalPreference(); let girls = adMgr.slavesMajority(App.Ads.Categories.preg); if (V.debugMode === 1) { t += `Girls: ${girls}, Pref: ${pref}, Ads: ${adCampaign.preg}`; } if (V.seePreg === 1) { // Ads if (adCampaign.spending > 0) { t += `<div>`; if (adCampaign.preg === 1) { t += `Its advertisements feature girls that are clearly pregnant. `; } else if (adCampaign.preg === -1) { t += `Its advertisements feature girls that have flat, usually firm, bellies. `; } else { t += `Its advertisements feature some girls that are pregnant. `; } t += `</div>`; } // Preferences if (pref === 1) { t += `Most customers prefer their girls rounded with child. `; } else if (pref === -1) { t += `Most customers prefer girls that aren't gravid. `; } else { let variety = adMgr.varietyBonus(App.Ads.Categories.preg); if (variety === 1) { payVarietyBonus(); t += `The ${building} offers a `; if (building === "brothel") { t+= `<span class="yellowgreen">`; } else if (building === "club") { t+= `<span class="green">`; } t += `wide</span> selection of slaves with a variety of middles. `; } t += `Most customers don't have preferences for either big-bellied or flat-bellied girls. `; } // Girls if (girls === -1) { t += `Most of the slaves in the ${building} sport flat bellies. `; } else if (girls === 1) { t += `Most of the slaves in the ${building} sport gravid middles. `; } else { t += `The slaves in the ${building} vary in belly type. `; } // Results if (pref === 0) { /* customers don't care*/ } else if (adCampaign.spending > 0) { if ((adCampaign.preg === pref) && (girls === adCampaign.preg)) { payAdBonus(); t += `Its advertising for `; if (adCampaign.preg === 1) { t += `pregnant `; } else if (adCampaign.preg === -1) { t += `flat-bellied `; } t += `girls matched most customers' preferences and the girls in the ${building} matched its advertisements. `; t += reputation(building, 1, preview); } else if ((adCampaign.preg === pref) && (girls !== adCampaign.preg)) { t += `Its advertising for `; if (adCampaign.preg === 1) { t += `pregnant `; } else if (adCampaign.preg === -1) { t += `flat-bellied `; } t += `girls matched most customers' preferences, but the girls in the ${building} did not. `; t += reputation(building, -1, preview); } else if ((girls === pref) && (girls !== adCampaign.preg)) { t += `The `; if (girls === 1) { t += `pregnant `; } else if (girls === -1) { t += `flat-bellied `; } t += `girls in the ${building} did not match its advertisements, but since the girls in the ${building} matched most customers preferences for `; if (pref === 1) { t += `fecund `; } else if (pref === -1) { t += `flat-bellied `; } t += `girls, `; t += reputation(building, 0, preview); } else if (girls !== pref) { t += `Some customers were put off since the `; if (girls === 1) { t += `pregnant `; } else if (girls === -1) { t += `flat-bellied `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `fecund `; } else if (pref === -1) { t += `flat-bellied `; } t += `girls. `; t += reputation(building, -1, preview); } } else { if (girls === pref) { t += `The `; if (girls === 1) { t += `pregnant `; } else if (girls === -1) { t += `flat-bellied `; } t += `girls in the ${building} match most customers' preferences for `; if (pref === 1) { t += `fecund `; } else if (pref === -1) { t += ` flat-bellied `; } t += `girls. `; t += reputation(building, 1, preview); } else { t += `Some customers were put off since the `; if (girls === 1) { t += `pregnant `; } else if (girls === -1) { t += `flat-bellied `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `fecund `; } else if (pref === -1) { t += `flat-bellied `; } t += `girls. `; t += reputation(building, -1, preview); } } } return t; } function modded(building, preview) { let t = ``; const pref = App.Ads.Categories.mods.classifyLocalPreference(); let girls = adMgr.slavesMajority(App.Ads.Categories.mods); if (V.debugMode === 1) { t += `Girls: ${girls}, Pref: ${pref}, Ads: ${adCampaign.modded}`; } // Ads if (adCampaign.spending > 0) { t += `<div>`; if (adCampaign.modded === 1) { t += `Its advertisements feature girls that are heavily pierced and tattooed. `; } else if (adCampaign.modded === -1) { t += `Its advertisements feature girls that are free from piercings and tattoos. `; } else { t += `Its advertisements feature some girls that are tattooed and pierced, and some that aren't. `; } t += `</div>`; } // Preferences if (pref === 1) { t += `Most customers prefer heavily modified girls. `; } else if (pref === -1) { t += `Most customers prefer natural girls. `; } else { let variety = adMgr.varietyBonus(App.Ads.Categories.mods); if (variety === 1) { payVarietyBonus(); t += `The ${building} offers `; if (building === "brothel") { t+= `<span class="yellowgreen">`; } else if (building === "club") { t+= `<span class="green">`; } t += `both</span> a selection of heavily altered slaves and those with more natural bodies. `; } t += `Most customers don't have preferences for either modded or natural slaves. `; } // Girls if (girls === 1) { t += `Most of the slaves in the ${building} are heavily pierced and tattooed. `; } else if (girls === -1) { t += `Most of the slaves in the ${building} have natural, unmodded bodies. `; } else { t += `Some girls in the ${building} have piercings or tattoos, some have none and others have both. `; } // Results if (pref === 0) { /* customers don't care*/ } else if (adCampaign.spending > 0) { if ((adCampaign.modded === pref) && (girls === adCampaign.modded)) { payAdBonus(); t += `Its advertising for `; if (adCampaign.modded === 1) { t += `heavily modified `; } else if (adCampaign.modded === -1) { t += `natural bodied `; } t += `girls matched most customers' preferences and the girls in the ${building} matched its advertisements. `; t += reputation(building, 1, preview); } else if ((adCampaign.modded === pref) && (girls !== adCampaign.modded)) { t += `Its advertising for `; if (adCampaign.modded === 1) { t += `heavily modified ;`; } else if (adCampaign.modded === -1) { t += `natural bodied `; } t += `girls matched most customers preferences, but the girls in the ${building} did not. `; t += reputation(building, -1, preview); } else if ((girls === pref) && (girls !== adCampaign.modded)) { t += `The `; if (girls === 1) { t += `heavily modified `; } else if (girls === -1) { t += `natural bodied `; } t += `girls in the ${building} did not match its advertisements, but since the girls in the ${building} matched most customers preferences for `; if (pref === 1) { t += `heavily modded `; } else if (pref === -1) { t += `natural bodied `; } t += `girls, `; t += reputation(building, 0, preview); } else if (girls !== pref) { t += `Some customers were put off since the `; if (girls === 1) { t += `heavily modified `; } else if (girls === -1) { t += `natural bodied `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `heavily modded `; } else if (pref === -1) { t += `natural bodied `; } t += `girls. `; t += reputation(building, -1, preview); } } else { if (girls === pref) { t += `The `; if (girls === 1) { t += `heavily modified `; } else if (girls === -1) { t += `natural bodied `; } t += `girls in the ${building} match most customers' preferences for `; if (pref === 1) { t += `heavily modded `; } else if (pref === -1) { t += `natural unmodded `; } t += `girls. `; t += reputation(building, 1, preview); } else { t += `Some customers were put off since the `; if (girls === 1) { t += `heavily modified `; } else if (girls === -1) { t += `natural bodied `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `heavily modded `; } else if (pref === -1) { t += `natural bodied `; } t += `girls. `; t += reputation(building, -1, preview); } } return t; } function implanted(building, preview) { let t = ``; const pref = App.Ads.Categories.assetOrigin.classifyLocalPreference(); let girls = adMgr.slavesMajority(App.Ads.Categories.assetOrigin); if (V.debugMode === 1) { t += `Girls: ${girls}, Pref: ${pref}, Ads: ${adCampaign.implanted}`; } // Ads if (adCampaign.spending > 0) { t += `<div>`; if (adCampaign.implanted === 1) { t += `Its advertisements feature girls that are augmented by implants or improved surgically. `; } else if (adCampaign.implanted === -1) { t += `Its advertisements feature girls that have all natural bodies. `; } else { t += `Its advertisements feature some girls that are surgically improved and implanted and some that are all-natural. `; } t += `</div>`; } // Preferences if (pref === 1) { t += `Most customers prefer heavily implanted and surgically enhanced girls. `; } else if (pref === -1) { t += `Most customers prefer all-natural girls. `; } else { let variety = adMgr.varietyBonus(App.Ads.Categories.assetOrigin); if (variety === 1) { payVarietyBonus(); t += `The ${building} offers `; if (building === "brothel") { t+= `<span class="yellowgreen">`; } else if (building === "club") { t+= `<span class="green">`; } t+= `both</span> all-natural girls, and slaves whose beauty has been improved by surgical means. `; } t += `Most customers don't have preferences for either all-natural or surgically enhanced and implanted girls. `; } // Girls if (girls === 1) { t += `Most of the slaves in the ${building} are heavily implanted or surgically enhanced. `; } else if (girls === -1) { t += `Most of the slaves in the ${building} have naturally pure bodies. `; } else { t += `The slaves in the ${building} vary in body modification. `; } // Results if (pref === 0) { /* customers don't care*/ } else if (adCampaign.spending > 0) { if ((adCampaign.implanted === pref) && (girls === adCampaign.implanted)) { payAdBonus(); t += `Its advertising for `; if (adCampaign.implanted === 1) { t += `implanted or surgically improved `; } else if (adCampaign.implanted === -1) { t += `naturally pure `; } t += `girls matched most customers' preferences and the girls in the ${building} matched its advertisements. `; t += reputation(building, 1, preview); } else if ((adCampaign.implanted === pref) && (girls !== adCampaign.implanted)) { t += `Its advertising for `; if (adCampaign.implanted === 1) { t += `implanted or surgically improved `; } else if (adCampaign.implanted === -1) { t += `naturally pure `; } t += `girls matched most customers preferences, but the girls in the ${building} did not. `; t += reputation(building, -1, preview); } else if ((girls === pref) && (girls !== adCampaign.implanted)) { t += `The `; if (girls === 1) { t += `implanted or surgically improved `; } else if (girls === -1) { t += `naturally pure `; } t += `girls in the ${building} did not match its advertisements, but since the girls in the ${building} matched most customers preferences for `; if (pref === 1) { t += `implanted or surgically improved `; } else if (pref === -1) { t += `naturally pure `; } t += `girls, `; t += reputation(building, 0, preview); } else if (girls !== pref) { t += `Some customers were put off since the `; if (girls === 1) { t += `implanted or surgically improved `; } else if (girls === -1) { t += `naturally pure `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `implanted or surgically improved `; } else if (pref === -1) { t += `naturally pure `; } t += `girls. `; t += reputation(building, -1, preview); } } else { if (girls === pref) { t += `The `; if (girls === 1) { t += `implanted or surgically improved `; } else if (girls === -1) { t += `naturally pure `; } t += `girls in the ${building} match most customers' preferences for `; if (pref === 1) { t += `implanted or surgically improved `; } else if (pref === -1) { t += `natural unmodded `; } t += `girls. `; t += reputation(building, 1, preview); } else { t += `Some customers were put off since the `; if (girls === 1) { t += `implanted or surgically improved `; } else if (girls === -1) { t += `naturally pure `; } t += `girls there did not match their preferences for `; if (pref === 1) { t += `implanted or surgically improved `; } else if (pref === -1) { t += `naturally pure `; } t += `girls. `; t += reputation(building, -1, preview); } } return t; } function XX(building, preview) { let t = ``; const pref = App.Ads.Categories.genitalia.classifyLocalPreference(); let girls = adMgr.slavesMajority(App.Ads.Categories.genitalia); if (V.debugMode === 1) { t += `Girls: ${girls}, Pref: ${pref}, Ads: ${adCampaign.XX}`; } if (V.seeDicks !== 0) { // Ads if (adCampaign.spending > 0) { t += `<div>`; if (adCampaign.XX === 1) { t += `Its advertisements feature girls with female genitalia. `; } else if (adCampaign.XX === -1) { t += `Its advertisements feature girls with male genitalia. `; } else { t += `Its advertisements feature a variety of girls with both male and female genitalia. `; } t += `</div>`; } // Preferences if (pref === 1) { t += `Most customers prefer girls with pussies. `; } else if (pref === -1) { t += `Most customers prefer girls with dicks. `; } else { let variety = adMgr.varietyBonus(App.Ads.Categories.genitalia); if (variety === 1) { payVarietyBonus(); t += `The ${building} offers a `; if (building === "brothel") { t+= `<span class="yellowgreen">`; } else if (building === "club") { t+= `<span class="green">`; } t += `mix</span> of `; if (building === "brothel") { t += `whores `; } else { t += `sluts `; } t+= `that can appeal to varied tastes in genitalia. `; } t += `Most customers don't have preferences for either girls with dicks or girls with pussies. `; } // Girls if (girls === 1) { t += `Most of the slaves in the ${building} have female genitalia. `; } else if (girls === -1) { t += `Most of the slaves in the ${building} have male genitalia. `; } else { t += `The slaves in the ${building} vary in genitalia. `; } // Results if (pref === 0) { /* customers don't care*/ } else if (adCampaign.spending > 0) { if ((adCampaign.XX === pref) && (girls === adCampaign.XX)) { payAdBonus(); t += `Its advertising for girls `; if (adCampaign.XX === 1) { t += `with pussies `; } else if (adCampaign.XX === -1) { t += `with dicks `; } t += `matches most customers' preferences as advertised. `; t += reputation(building, 1, preview); } else if ((adCampaign.XX === pref) && (girls !== adCampaign.XX)) { t += `Its advertising for girls `; if (adCampaign.XX === 1) { t += `with pussies `; } else if (adCampaign.XX === -1) { t += `with dicks `; } t += `matched most customers preferences, but the girls in the ${building} are not as advertised. `; t += reputation(building, -1, preview); } else if ((girls === pref) && (girls !== adCampaign.XX)) { t += `The girls `; if (girls === 1) { t += ` with pussies`; } else if (girls === -1) { t += ` with dicks`; } t += `in the ${building} did not match the advertisements, but since the girls in the ${building} matched most customers preferences for girls`; if (pref === 1) { t += ` with pussies`; } else if (pref === -1) { t += ` with dicks`; } t += `, `; t += reputation(building, 0, preview); } else if (girls !== pref) { t += `Some customers were put off since the girls `; if (girls === 1) { t += `with female genitalia `; } else if (girls === -1) { t += `with male genitalia `; } t += `did not match their preferences for girls`; if (pref === 1) { t += ` with pussies`; } else if (pref === -1) { t += ` with dicks`; } t += `. `; t += reputation(building, -1, preview); } } else { if (girls === pref) { t += `The girls in the ${building} match most customers preferences for girls `; if (girls === 1) { t += `with female genitalia `; } else if (girls === -1) { t += `with male genitalia `; } t += `. `; t += reputation(building, 1, preview); } else { t += `Some customers were put off since the girls `; if (girls === 1) { t += `with female genitalia `; } else if (girls === -1) { t += `with male genitalia `; } t += `did not match their preferences for girls `; if (pref === 1) { t += `with pussies`; } else if (pref === -1) { t += `with dicks`; } t += `. `; t += reputation(building, -1, preview); } } } return t; } function age(building, preview) { let t = ``; const pref = App.Ads.Categories.age.classifyLocalPreference(); let girls = adMgr.slavesMajority(App.Ads.Categories.age); if (V.debugMode === 1) { t += `Girls: ${girls}, Pref: ${pref}, Ads: ${adCampaign.age}`; } // Ads if (adCampaign.spending > 0) { t += `<div>`; switch (adCampaign.age) { case 1: t += `Its advertisements feature mature slaves. `; break; case -1: t += `Its advertisements feature young slaves. `; break; case -2: t += `Its advertisements feature teenagers. `; break; case -3: t += `Its advertisements feature lolis. `; break; default: t += `Its advertisements feature slaves of a variety of ages. `; break; } t += `</div>`; } // Preferences if (pref === 1) { t += `Most customers prefer mature girls. `; } else if (pref === -1) { t += `Most customers prefer young girls. `; } else { let variety = adMgr.varietyBonus(App.Ads.Categories.age); if (variety === 1) { payVarietyBonus(); t += `The ${building} offers girls `; if (building === "brothel") { t+= `<span class="yellowgreen">`; } else if (building === "club") { t+= `<span class="green">`; } t += `both</span> young and mature. `; } t += `Most customers don't have preferences for either mature or young girls. `; } // Girls if (girls === -1) { t += `Most of the slaves in the ${building} are young. `; } else if (girls === 1) { t += `Most of the slaves in the ${building} are mature. `; } else { t += `The slaves in the ${building} vary in age. `; } // Results if (pref === 0) { /* customers don't care*/ } else if (adCampaign.spending > 0) { if ((adCampaign.age === pref) && (girls === adCampaign.age)) { payAdBonus(); t += `Its advertising matches most customers' age preferences and the girls in the ${building} match the ages as advertised. `; t += reputation(building, 1, preview); } else if ((adCampaign.age === pref) && (girls !== adCampaign.age)) { t += `Its advertising matched most customers age preferences, but the girls in the ${building} are not as advertised. `; t += reputation(building, -1, preview); } else if ((girls === pref) && (girls !== adCampaign.age)) { t += `The ages of girls in the ${building} did not match the ages as advertised, but since the girls in the ${building} matched most customers age preferences, `; t += reputation(building, 0, preview); } else if (girls !== pref) { t += `Some customers were put off since the ages of girls there did not match their preferences. `; t += reputation(building, -1, preview); } } else { if (girls === pref) { t += `The girls in the ${building} match most customers' age preferences. `; t += reputation(building, 1, preview); } else { t += `Some customers were put off since the ages of girls there did not match their preferences. `; t += reputation(building, -1, preview); } } return t; } function final(building, preview) { let t = ``; if (adMgr.overallVarietyBonus()) { if (!preview) { if (building === "brothel") { const adsIncome = DL*random(40, 60); V.facility[building].adsIncome += adsIncome; cashX(adsIncome, (building + "Ads")); } else if (building === "club") { repX(DL*random(10, 15), (building + "Ads")); } } t += `<div>There is a `; if (building === "brothel") { t += `<span class="yellowgreen" style="font-weight:bold">perfect variety</span> of slave whores `; } else if (building === "club") { t += `<span class="green" style="font-weight:bold">perfect variety</span> of slave sluts `; } t += `working in the ${building}.</div>`; } else { if (building === "club") { t += `<div>${capFirstChar(V.clubName)} does not offer enough variety to satisfy all visitors.</div>`; } } return t; } function reputation(building, change, preview) { const minBonus = 50; const maxBonus = 150; if (change > 0) { if (preview) { return `<div>The current campaign would <span class="green">increase</span> your reputation.</div>`; } else { repX(random(minBonus, maxBonus), building); return `Your <span class="green">reputation</span> increased slightly as a result. `; } } else if (change < 0) { if (preview) { return `<div>The current campaign would <span class="red">lower</span> your reputation.</div>`; } else { repX(forceNeg(random(minBonus, maxBonus)), building); return `Your <span class="red">reputation</span> dropped slightly as a result. `; } } else if (change === 0) { if (preview) { return `<div>your reputation would not be affected.</div>`; } else { return `your reputation was not affected. `; } } } function links(building, category) { let r = ``; let passage = (capFirstChar(building) + " Advertisement"); function radioLink(name, variable, value, last) { let r = ``; if (V[variable] !== value) { r += App.UI.passageLink(name, passage, `$${variable} = ${value}`); } else { r += name; } if (!last) { r += " | "; } return r; } switch (category) { case "stacked": r+= `<div>`; r+= radioLink("Stacked", `${building}AdsStacked`, 1, false); r+= radioLink("Slim", `${building}AdsStacked`, -1, false); r+= radioLink("Variety", `${building}AdsStacked`, 0, true); r+= `</div>`; return r; case "preg": r+= `<div>`; r+= radioLink("Gravid", `${building}AdsPreg`, 1, false); r+= radioLink("None", `${building}AdsPreg`, -1, false); r+= radioLink("Variety", `${building}AdsPreg`, 0, true); r+= `</div>`; return r; case "modded": r+= `<div>`; r+= radioLink("Modded", `${building}AdsModded`, 1, false); r+= radioLink("Unmodded", `${building}AdsModded`, -1, false); r+= radioLink("Variety", `${building}AdsModded`, 0, true); r+= `</div>`; return r; case "implanted": r+= `<div>`; r+= radioLink("Implants", `${building}AdsImplanted`, 1, false); r+= radioLink("All natural", `${building}AdsImplanted`, -1, false); r+= radioLink("Variety", `${building}AdsImplanted`, 0, true); r+= `</div>`; return r; case "XX": r+= `<div>`; r+= radioLink("Pussies", `${building}AdsXX`, 1, false); r+= radioLink("Dicks", `${building}AdsXX`, -1, false); r+= radioLink("Variety", `${building}AdsXX`, 0, true); r+= `</div>`; return r; case "age": r+= `<div>`; r+= radioLink("MILF", `${building}AdsOld`, 1, false); r+= radioLink("Young", `${building}AdsOld`, -1, false); if (V.minimumSlaveAge < 18) { r+= radioLink("Teen", `${building}AdsOld`, -2, false); } if (V.minimumSlaveAge < 13) { r+= radioLink("Loli", `${building}AdsOld`, -3, false); } r+= radioLink("Variety", `${building}AdsOld`, 0, true); r+= `</div>`; return r; default: console.log("You done fucked up. Building: " + building + " Category: " + category); } } };
MonsterMate/fc
src/facilities/ads.js
JavaScript
mit
40,078
App.Data.Facilities.arcade = { baseName: "arcade", genericName: null, jobs: { assignee: { position: "inmate", assignment: Job.ARCADE, publicSexUse: true, fuckdollAccepted: true }, }, defaultJob: "assignee", manager: null }; App.Entity.Facilities.ArcadeJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * Can slave be employed at this position * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); if (slave.indentureRestrictions > 0) { r.push(`${slave.slaveName}'s indenture forbids arcade service.`); } return r; } }; App.Entity.facilities.arcade = new App.Entity.Facilities.SingleJobFacility( App.Data.Facilities.arcade, { assignee: new App.Entity.Facilities.ArcadeJob() } );
MonsterMate/fc
src/facilities/arcade/arcadeFramework.js
JavaScript
mit
822
App.Data.Facilities.armory = { baseName: "dojo", genericName: "Armory", jobs: { }, defaultJob: null, manager: { position: "bodyguard", positionAbbreviation: "BG", assignment: Job.BODYGUARD, careers: App.Data.misc.bodyguardCareers, skill: "bodyguard", publicSexUse: true, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: false, shouldThink: true, requiredDevotion: 51 } }; App.Entity.facilities.armory = new App.Entity.Facilities.Facility(App.Data.Facilities.armory);
MonsterMate/fc
src/facilities/armory/armoryFramework.js
JavaScript
mit
591
:: Brothel Assignment Scene [nobr] <<set $nextButton = "Continue", $nextLink = $returnTo>> <<run Enunciate(getSlave($AS))>> <<run App.Utils.setLocalPronouns(getSlave($AS))>> <span id="art-frame"> /* 000-250-006 */ <<if $seeImages == 1>> <<if $imageChoice == 1>> <div class="imageRef lrgVector"><div class="mask">&nbsp;</div><<= SlaveArt(getSlave($AS), 2, 0)>></div> <<else>> <div class="imageRef lrgRender"><div class="mask">&nbsp;</div><<= SlaveArt(getSlave($AS), 2, 0)>></div> <</if>> <</if>> /* 000-250-006 */ </span> You could direct $assistant.name to relay your orders to <<= getSlave($AS).slaveName>>, but you've decided to avoid relying too much on machine assistance. So, $he is merely directed to report to your office. The <<if getSlave($AS).devotion > 95>> worshipful $girl <<if hasAnyLegs(getSlave($AS))>>hurries in as soon as $he possibly can<<else>>comes in as soon as $he can get another slave to carry $him in<</if>>, happy $his beloved <<= getWrittenTitle(getSlave($AS))>> is taking an interest in $him. <<elseif getSlave($AS).devotion > 50>> devoted $girl <<if hasAnyLegs(getSlave($AS))>>hurries in promptly<<else>>comes in as soon as $he can get another slave to carry $him in<</if>>, eager to do whatever you demand of $him. <<elseif getSlave($AS).devotion > 20>> $girl, broken to your will, <<if hasAnyLegs(getSlave($AS))>>comes in promptly<<else>>comes in as soon as $he can get another slave to carry $him in<</if>>, clearly ready to follow orders. <<elseif (getSlave($AS).trust < -20) && (getSlave($AS).devotion > -10)>> fearful slave <<if hasAnyLegs(getSlave($AS))>>comes in promptly<<else>>comes in as soon as $he can get another slave to carry $him in<</if>>, afraid of what will happen to $him if $he doesn't. <<elseif (getSlave($AS).trust < -50)>> terrified slave <<if hasAnyLegs(getSlave($AS))>>comes in hurriedly<<else>>comes in as soon as $he can get another slave to carry $him in<</if>>, almost paralyzed by terror of what will happen to $him if $he doesn't. <<else>> rebellious slave <<if hasAnyLegs(getSlave($AS))>>comes in slowly, having decided that $he can always decide to resist once $he hears what you want<<else>>comes in as soon as you order another slave to carry $him in, since $he can't exactly resist this without <<if isAmputee(getSlave($AS))>>limbs<<else>>legs<</if>><</if>>. <</if>> You tell $him $he's to report to <<if $MadamID != 0>>_S.Madam.slaveName immediately, to serve in $brothelName<<else>>$brothelName immediately, to serve there<</if>> until further notice. <br><br> <<if getSlave($AS).devotion > 50>> <<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>> $He looks excited. <<if canTalk(getSlave($AS))>> "<<Master>>, I hoped you would <<s>>end me down there <<s>>ometime! <<switch getSlave($AS).fetish>> <<case "submissive">> I mean, I'll have to do whatever the cu<<s>>tomer<<s>> pay for, right?" $His eyes go a little unfocused. "And, they'll hold me down..." $He trails off. <<case "masochist">> I mean, it'<<s>> hard being a brothel whore, right? And when I get tired or <<s>>ore, I'll <<s>>till be <<s>>old. Even when it hurt<<s>> me to fuck any more." $His eyes glow with an unhealthy light. <<case "cumslut">> I mean," $he licks $his lips unconsciously, <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "I hear there are <<s>>ome ni<<c>>e ladie<<s>> that go there for lunchtime cunnilingu<<s>>." <<else>> "the blowjob<<s>>. Ju<<s>>t, the blowjob<<s>>. That'<<s>> all." <</if>> <<case "humiliation">> There'<<s>> a window that fa<<c>>e<<s>> the hallway there, right? <<if $MadamID != 0>>Do you think _S.Madam.slaveName would let me<<else>>Could I<</if>> get fucked there? Where everyone could <<s>>ee me being fucked for money?" <<case "buttslut">> I mean," and $he shifts $his weight, $his mind obviously on $his backdoor, <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "there have to be ladie<<s>> who want to buttfuck a whore, right? At lea<<s>>t, I really hope there are." <<else>> "the other <<s>>lave<<s>> tell me that whore<<s>> there get fucked up the a<<ss>> all day and all night. <<S>>ound<<s>> like fun to me." <</if>> <<case "boobs">> I mean," and $he sticks out $his chest a little, <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "I hear from the other <<s>>lave<<s>> there'<<s>> thi<<s>> ni<<c>>e lady who goe<<s>> there every morning and pay<<s>> to have a whore <<s>>uck her nipple<<s>> for, like, an hour. I," $he licks $his lips, "could do that." <<else>> "the other <<s>>lave<<s>> tell me that whore<<s>> there get tittyfucked all the time. <<S>>ound<<s>> like fun to me." <</if>> <<case "pregnancy">> I mean," $he says meditatively, <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "I hear from the other <<s>>lave<<s>> there'<<s>> thi<<s>> pregnant lady who goe<<s>> there every night and pay<<s>> to have a whore cuddle her. Ju<<s>>t cuddle, all night. That would be kind of hard, ju<<s>>t cuddling, but I could do it." <<elseif getSlave($AS).vagina == -1>> "<<s>>in<<c>>e it'<<s>> all bareback, I'm going to have a fuckton of cum in me. I wonder how much cum it take<<s>> to get a butthole pregnant? I'm gonna try, anyway." <<elseif isFertile(getSlave($AS))>> "<<s>>in<<c>>e it'<<s>> all bareback, I'm going to have a fuckton of cum in me. I wonder how much cum it would take to get my poor womb pregnant?" <<elseif getSlave($AS).pregKnown == 1>> "I'm going to be a pregnant whore. That'<<s>> pretty fucking <<s>>e<<x>>y." <<elseif getSlave($AS).preg > 0>> "<<s>>in<<c>>e it'<<s>> all bareback, I'm going to have a fuckton of cum in me. I wonder how much cum it would take to get my poor womb pregnant?" <<elseif getSlave($AS).ovaries == 1 && getSlave($AS).pubertyXX == 0>> "I can't wait till I can get pregnant. That'd be pretty fucking <<s>>e<<x>>y." <<else>> "I hear from the other <<s>>lave<<s>> there'<<s>> thi<<s>> pregnant lady who goe<<s>> there every night and pay<<s>> to have a whore cuddle her. Ju<<s>>t cuddle, all night. That would be kind of hard, ju<<s>>t cuddling, but I could do it." <</if>> <<case "dom">> I heard from the other <<s>>lave<<s>> that <<s>>ome <<c>>iti<<z>>en<<s>> bring their girl<<s>> there. Ju<<s>>t to make them take it from a whore." <<case "sadist">> I heard from the other <<s>>lave<<s>> that <<s>>ome <<c>>iti<<z>>en<<s>> bring their girl<<s>> there. Becau<<s>>e nobody know<<s>> how to hurt a bitch like a whore doe<<s>>." $He shivers. <</switch>> <<else>> <<switch getSlave($AS).fetish>> <<case "submissive">> $He gestures that $he'll be at the mercy of $his customers. $His eyes go a little unfocused as $he clearly begins to fantasize. <<case "masochist">> $He gestures that $he'll probably get roughed up by some of $his customers and that there will be no breaks for $his sore holes. $His eyes glow with an unhealthy light as $he clearly begins to fantasize. <<case "cumslut">> $He licks $his lips unconsciously and motions <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> tounging a clit. <<else>> sucking cock. <</if>> <<case "humiliation">> $He gestures if $he could be fucked in public there. <<case "buttslut">> $He shifts $his weight, $his mind obviously on $his backdoor, and gestures <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> if any girls would want to buttfuck $him. <<else>> that $he knows whores take it up the ass there and can't wait to join them. <</if>> <<case "boobs">> $He sticks out $his chest a little and gestures <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> that $he's heard a woman comes by each day just to have her nipples sucked. $He licks $his lips, clearly savoring the thought. <<else>> that $he knows tittyfucking is popular there and can't wait to give $his pair up for sale. <</if>> <<case "pregnancy">> $He gestures <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> that $he's heard that a pregnant woman has been coming every night to pay for a whore to cuddle her. $He asks if $he could be that $girl. <<elseif getSlave($AS).vagina == -1>> how much $he wishes $he could get pregnant from all the cum loads $he's going to get shot up $his rear. <<elseif isFertile(getSlave($AS))>> that $he knows all the sex is bareback. By the look in $his eyes, you can tell $he is wondering how long it will take for some guy's seed to take root in $him. <<elseif getSlave($AS).pregKnown == 1>> how sexy $he thinks pregnant whores are. <<elseif getSlave($AS).preg > 0>> that $he knows all the sex is bareback. By the look in $his eyes, you can tell $he is wondering how long it will take for some guy's seed to take root in $him. <<elseif getSlave($AS).ovaries == 1 && getSlave($AS).pubertyXX == 0>> how excited $he is for the day $he starts $his menstrual cycle. Will $he even see $his first period, or will every egg $he makes get fertilized? <<else>> that $he's heard a pregnant woman has been coming every night to pay for a whore to cuddle her. $He hopes that one day $he'll be chosen. <</if>> <<case "dom">> $He gestures that $he knows citizens sometimes bring their toys there just to let them get pushed around by a whore. $He'd like that to be true. A lot. <<case "sadist">> $He gestures that $he knows citizens sometimes bring their toys there for punishment. $He shivers with anticipation. <</switch>> <</if>> <<else>> $He looks <<if canTalk(getSlave($AS))>> determined. "<<Master>>, I will do my be<<s>>t to be a good whore, and get lot<<s>> of <<c>>iti<<z>>en<<s>> to pay good money for my body." <<else>> determined and gestures that $he'll do $his best to get lots of citizens to pay to use $him. <</if>> <</if>> <<elseif (getSlave($AS).devotion > 20) || ((getSlave($AS).devotion >= -20) && (getSlave($AS).trust < -20) && (getSlave($AS).trust >= -50))>> <<if canTalk(getSlave($AS))>> <<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>> $He looks cautiously excited. "<<Master>>, <<switch getSlave($AS).fetish>> <<case "submissive">> I'll have to do whatever the cu<<s>>tomer<<s>> pay for, right?" $His eyes go a little unfocused. "And, they'll hold me down..." $He trails off. <<case "masochist">> it'<<s>> hard being a brothel whore, right? And when I get tired or <<s>>ore, I'll <<s>>till be <<s>>old. Even when it hurt<<s>> me to fuck any more." $His eyes glow with an unhealthy light. <<case "cumslut">> <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "I hear there are <<s>>ome ni<<c>>e ladie<<s>> that go there for lunchtime cunnilingu<<s>>." <<else>> "the blowjob<<s>>. Ju<<s>>t, the blowjob<<s>>. That'<<s>> all." <</if>> <<case "humiliation">> there'<<s>> a window that fa<<c>>e<<s>> the hallway there, right? <<if $MadamID != 0>>Do you think _S.Madam.slaveName would let me<<else>>Could I<</if>> get fucked there? Where everyone could <<s>>ee me being fucked for money?" <<case "buttslut">> uh," and $he shifts $his weight, $his mind obviously on $his backdoor, <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "there have to be ladie<<s>> who want to buttfuck a whore, right? At lea<<s>>t, I really hope there are." <<else>> "the other <<s>>lave<<s>> tell me that whore<<s>> there get fucked up the a<<ss>> all day and all night. <<S>>ound<<s>> like fun to me." <</if>> <<case "boobs">> $He sticks out $his chest a little and gestures <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> that $he's heard a woman comes by each day just to have her nipples sucked. $He licks $his lips, clearly savoring the thought. <<else>> that $he knows tittyfucking is popular there and can't wait to give $his pair up for sale. <</if>> <<case "pregnancy">> <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> I hear from the other <<s>>lave<<s>> there'<<s>> thi<<s>> pregnant lady who goe<<s>> there every night and pay<<s>> to have a whore cuddle her. Ju<<s>>t cuddle, all night. That would be kind of hard, ju<<s>>t cuddling, but I could do it." <<elseif getSlave($AS).vagina == -1>> <<s>>in<<c>>e it'<<s>> all bareback, I'm going to have a fuckton of cum in me. I wonder how much cum it take<<s>> to get a butthole pregnant? I'm gonna try, anyway." <<elseif isFertile(getSlave($AS))>> <<s>>in<<c>>e it'<<s>> all bareback, I'm going to have a fuckton of cum in me. I wonder how much cum it would take to get my poor womb pregnant?" <<elseif getSlave($AS).pregKnown == 1>> "I'm going to be a pregnant whore. That'<<s>> pretty fucking <<s>>e<<x>>y." <<elseif getSlave($AS).preg > 0>> "<<s>>in<<c>>e it'<<s>> all bareback, I'm going to have a fuckton of cum in me. I wonder how much cum it would take to get my poor womb pregnant?" <<elseif getSlave($AS).ovaries == 1 && getSlave($AS).pubertyXX == 0>> "I can't wait till I can get pregnant. That'd be pretty fucking <<s>>e<<x>>y." <<else>> "I hear from the other <<s>>lave<<s>> there'<<s>> thi<<s>> pregnant lady who goe<<s>> there every night and pay<<s>> to have a whore cuddle her. Ju<<s>>t cuddle, all night. That would be kind of hard, ju<<s>>t cuddling, but I could do it." <</if>> <<case "dom">> I heard from the other <<s>>lave<<s>> that <<s>>ome <<c>>iti<<z>>en<<s>> bring their girl<<s>> there. Ju<<s>>t to make them take it from a whore." <<case "sadist">> I heard from the other <<s>>lave<<s>> that <<s>>ome <<c>>iti<<z>>en<<s>> bring their girl<<s>> there. Becau<<s>>e nobody know<<s>> how to hurt a bitch like a whore doe<<s>>." $He shivers. <</switch>> <<elseif getSlave($AS).sexualFlaw != "none">> "Ye<<s>>, <<Master>>," $he says obediently. $He hesitates, looking concerned. <<switch getSlave($AS).sexualFlaw>> <<case "hates oral">> "I — I'm going to h-have to <<s>>uck a lot of dick there, aren't I." $He swallows nervously. $His lower lip quivers, and $he does $his best not to cry in front of you. <<case "hates anal">> "C-cu<<s>>tomer<<s>> are really going to ream me up the butt hole, aren't they." $He <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers, and $he does $his best not to cry in front of you. <<case "hates penetration">> "C-cu<<s>>tomer<<s>> are really going to fuck me <<s>>ore, aren't they." $He <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<elseif getSlave($AS).vagina > 0>>unconsciously lets $his hand<<if hasBothArms(getSlave($AS))>>s<</if>> fall to $his crotch, but catches $himself and doesn't quite shield $his pussy<<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers, and $he does $his best not to cry in front of you. <<case "repressed">> "Being a whore i<<s>> a <<s>>in," $he <<say>>s quietly, half to $himself. "I'm going t-to b-be <<s>>o dirty. I'm going to h-hell." $He starts to cry quietly. "<<S>>-<<s>>orry, <<Master>>. I'll do my be<<s>>t." <<case "idealistic">> "I'm going to be <<s>>old for <<s>>e<<x>>," $he <<say>>s quietly, half to $himself. "Men are going to pay, and then they're g-going to <<s>>tick their dick<<s>> in me, and then they're going to leave." $He starts to cry quietly. "<<S>>-<<s>>orry, <<Master>>. I'll do my be<<s>>t." <<case "shamefast">> "I'm going to be meat in a brothel," $he <<say>>s quietly, half to $himself. "I'm going to <<s>>tand there naked with the other <<s>>lave<<s>>, and men will pick me and then u<<s>>e my body. Over and over." $He starts to cry quietly. "<<S>>-<<s>>orry, <<Master>>. I'll do my be<<s>>t." <<case "apathetic">> "I gue<<ss>> I'll lie there," $he sighs quietly, half to $himself. "A man will pay and then he'll come into my room where I'm lying on the bed, and he'll <<s>>tick hi<<s>> cock in me and cum and leave. And then the ne<<x>>t man will come in." $He starts to cry quietly. "<<S>>-<<s>>orry, <<Master>>. I'll do my be<<s>>t." <<case "crude">> "Okay," $he <<say>>s, thinking. "My poor cornhole i<<s>> going to be <<s>>uch a <<s>>eminal <<s>>ewer." $He looks doubtful. "<<Sh>>ould I not have <<s>>aid that, <<Master>>?" <<case "judgemental">> "Gro<<ss>>," $he <<say>>s curtly. "Well, no more hand<<s>>ome boy<<s>> for me, then. Fat pathetic guy<<s>> who patroni<<z>>e whore<<s>>, all the way down. Fuck." <</switch>> <<else>> $He tries to be brave. "<<Master>>, I will do my be<<s>>t to be a good whore." Then, half to $himself, $he adds in a small voice, "I can do thi<<s>>." <</if>> <<else>> <<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>> $He looks cautiously excited. <<switch getSlave($AS).fetish>> <<case "submissive">> $His eyes go a little unfocused before $he snaps back to attention and gestures that $he'll have to do whatever they want. $His attention wavers once more. <<case "masochist">> $He gestures if brothel whores get breaks when they get sore. Before you can tell $him no, $his eyes glow with an unhealthy light and $he expresses that $he'd like it more if it hurt. <<case "cumslut">> <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> $He gestures that $he heard a rumor that some ladies swing by during lunchtime for a quick eating out. <<else>> As drool starts to leak from $his mouth, it's pretty obvious $he can't wait to start sucking. <</if>> <<case "humiliation">> $He asks if there is a window that $he could be stationed in for all to see. <<case "buttslut">> $He shifts $his weight, $his mind obviously on $his backdoor, and gestures <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> if any girls would want to buttfuck $him. <<else>> that $he knows whores take it up the ass there and can't wait to join them. <</if>> <<case "boobs">> er," and $he sticks out $his chest a little, <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> "I hear from the other <<s>>lave<<s>> there'<<s>> thi<<s>> ni<<c>>e lady who goe<<s>> there every morning and pay<<s>> to have a whore <<s>>uck her nipple<<s>> for, like, an hour. I," $he licks $his lips, "could do that." <<else>> "the other <<s>>lave<<s>> tell me that whore<<s>> there get tittyfucked all the time. <<S>>ound<<s>> like fun to me." <</if>> <<case "pregnancy">> $He gestures <<if getSlave($AS).attrXX > getSlave($AS).attrXY>> that $he's heard that a pregnant woman has been coming every night to pay for a whore to cuddle her. $He asks if $he could be that $girl. <<elseif getSlave($AS).vagina == -1>> how much $he wishes $he could get pregnant from all the cum loads $he's going to get shot up $his rear. <<elseif isFertile(getSlave($AS))>> that $he knows all the sex is bareback. By the look in $his eyes, you can tell $he is wondering how long it will take for some guy's seed to take root in $him. <<elseif getSlave($AS).pregKnown == 1>> how sexy $he thinks pregnant whores are. <<elseif getSlave($AS).preg > 0>> that $he knows all the sex is bareback. By the look in $his eyes, you can tell $he is wondering how long it will take for some guy's seed to take root in $him. <<elseif getSlave($AS).ovaries == 1 && getSlave($AS).pubertyXX == 0>> how excited $he is for the day $he starts $his menstrual cycle. Will $he even see $his first period, or will every egg $he makes get fertilized? <<else>> that $he's heard a pregnant woman has been coming every night to pay for a whore to cuddle her. $He hopes that one day $he'll be chosen. <</if>> <<case "dom">> $He gestures that $he knows citizens sometimes bring their toys there just to let them get pushed around by a whore. $He'd like that to be true. A lot. <<case "sadist">> $He gestures that $he knows citizens sometimes bring their toys there for punishment. $He shivers with anticipation. <</switch>> <<elseif getSlave($AS).sexualFlaw != "none">> $He nods obediently before hesitating with a concerned look on $his face. <<switch getSlave($AS).sexualFlaw>> <<case "hates oral">> $He slowly gestures if blowjobs are popular there while swallowing nervously. $His lower lip starts to quiver, and $he does $his best not to cry in front of you. <<case "hates anal">> $He slowly gestures if anal is popular there and <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers, and $he does $his best not to cry in front of you. <<case "hates penetration">> $He slowly gestures that $he understands that customers will expect to fuck $him and <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<elseif getSlave($AS).vagina > 0>>unconsciously lets $his hand<<if hasBothArms(getSlave($AS))>>s<</if>> fall to $his crotch, but catches $himself and doesn't quite shield $his pussy<<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers, and $he does $his best not to cry in front of you. <<case "repressed">> $He shakily gestures that $he'll be a sinner, but if that's what you want, $he'll do it. $He starts to cry quietly. <<case "idealistic">> $He shakily gestures that $he'll do $his best to please any men that use $him. $He starts to cry quietly. <<case "shamefast">> $He shakily gestures that $he'll do $his best to use $his naked body to attract men and entice passersby. $He starts to cry quietly. <<case "apathetic">> $He shakily gestures that $he'll do $his best to take cock. $He starts to cry quietly. <<case "crude">> $He gestures that $his body is going to become so foul after a day's worth of fucks. $He pauses for a moment, doubtful over whether $he should have said that or not. <<case "judgemental">> $He gestures $his disappointment that only the most pathetic of losers will be fucking $him now. $He pauses for a moment, doubtful over whether $he should have said that or not. <</switch>> <<else>> $He puts on a brave face and gestures that $he'll do $his best. As you send $him off, you catch sight of $him trying to reassure $himself. <</if>> <</if>> <<elseif (getSlave($AS).trust < -20)>> <<if canTalk(getSlave($AS))>> <<if getSlave($AS).sexualFlaw != "none">> "Yes, <<Master>>," $he says automatically. $He's badly frightened, and says in a small voice, half to $himself, <<switch getSlave($AS).sexualFlaw>> <<case "hates oral">> "I — I'm going to h-have to <<s>>uck a lot of dick, aren't I." $He swallows and tries to control $himself out of fear, but finally gasps out, "Oh God, I'm <<s>>cared," and bursts into tears. <<case "hates anal">> "C-cu<<s>>tomer<<s>> are really going to ream me up the butt hole, aren't they." $He <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers and $he tries to control $himself out of fear, but finally gasps out, "Oh God, I'm <<s>>cared," and bursts into tears. <<case "hates penetration">> "C-cu<<s>>tomer<<s>> are really going to fuck me <<s>>ore, aren't they." $He <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<elseif getSlave($AS).vagina > 0>>unconsciously lets $his hand<<if hasBothArms(getSlave($AS))>>s<</if>> fall to $his crotch, but catches $himself and doesn't quite shield $his pussy<<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers, and $he tries to control $himself out of fear, but finally gasps out, "Oh God, I'm <<s>>cared," and bursts into tears. <<case "repressed">> "Being a whore i<<s>> a <<s>>in," $he <<say>>s quietly, half to $himself. "I'm going t-to b-be <<s>>o dirty. I'm going to h-hell." $He starts to cry quietly. $He tries to get $himself back under control, out of fear, but finally wails, "Oh God, I'm <<s>>orry, p-plea<<s>>e forgive me God," and dissolves into sobbing. <<case "idealistic">> "I'm going to be <<s>>old for <<s>>e<<x>>," $he <<say>>s quietly, half to $himself. "Men are going to pay, and then they're g-going to <<s>>tick their dick<<s>> in me, and then they're going to leave." $He starts to cry openly. "<<S>>-<<s>>orry, <<Master>>. P-plea<<s>>e don't beat me. I'll do it." <<case "shamefast">> "I'm going to be meat in a brothel," $he <<say>>s quietly, half to $himself. "I'm going to <<s>>tand there naked with the other <<s>>lave<<s>>, and men will pick me and then u<<s>>e my body. Over and over." $He starts to cry openly. "<<S>>-<<s>>orry, <<Master>>. P-plea<<s>>e don't beat me. I'll do it." <<case "apathetic">> "I gue<<ss>> I'll lie there," $he sighs quietly, half to $himself. "A man will pay and then he'll come into my room where I'm lying on the bed, and he'll <<s>>tick his cock in me and cum and leave. And then the ne<<x>>t man will come in." $He starts to cry quietly. "<<S>>-<<s>>orry, <<Master>>. P-plea<<s>>e don't beat me. I'll let it happen." <<case "crude">> "Okay," $he <<say>>s, thinking. "My poor cornhole i<<s>> going to be <<s>>uch a <<s>>eminal <<s>>ewer." $He looks doubtful. "<<Sh>>ould I not have <<s>>aid that, <<Master>>?" <<case "judgemental">> "Gro<<ss>>," $he <<say>>s curtly. "Well, no more hand<<s>>ome boy<<s>> for me, then. Fat pathetic guy<<s>> who patroni<<z>>e whore<<s>>, all the way down. Fuck." <</switch>> <<else>> $He does $his best to control $himself and avoid punishment. "<<Master>>, I will." $He holds $himself together until you dismiss $him; as $he turns away to go, the tears come fast, and $he almost runs into the door frame on $his way out<<if canSee(getSlave($AS))>>, blind with weeping<</if>>. <</if>> <<else>> <<if getSlave($AS).sexualFlaw != "none">> $He automatically gestures consent. $He's badly frightened, and gingerly continues <<switch getSlave($AS).sexualFlaw>> <<case "hates oral">> by asking if $he'll have to suck a lot of dick. $He swallows and tries to control $himself out of fear, but finally loses composure and bursts into tears. <<case "hates anal">> by asking if $he'll be assfucked a lot. $He <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers and $he tries to control $himself out of fear, but finally loses composure and bursts into tears. <<case "hates penetration">> by asking if $he's going to be constantly fucked. $He <<if !hasAnyArms(getSlave($AS))>>shifts uncomfortably, unconsciously trying to shield $his rear as best $he can manage without <<if isAmputee(getSlave($AS))>>limbs<<else>>hands<</if>><<elseif getSlave($AS).vagina > 0>>unconsciously lets $his hand<<if hasBothArms(getSlave($AS))>>s<</if>> fall to $his crotch, but catches $himself and doesn't quite shield $his pussy<<else>>unconsciously reaches around behind $himself, not quite shielding $his anus with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>><</if>>. $His lower lip quivers, and $he tries to control $himself out of fear, but finally loses composure and bursts into tears. <<case "repressed">> that being a whore is a sin. $He starts to cry quietly. $He tries to get $himself back under control, out of fear, but finally wails and dissolves into prayers intermixed with sobbing. <<case "idealistic">> that sex should be with the one you love, not random men. $He starts to cry openly while begging you not to beat $him. <<case "shamefast">> that $he doesn't want to be naked in a line up for men to choose from. $He starts to cry openly while begging you not to beat $him. <<case "apathetic">> that all $he has to do is lie there and take it. $He starts to cry quietly. <<case "crude">> by asking if men enjoy fucking a thoroughly seeded hole. $He pauses for a moment, doubtful over whether $he should have said that or not. <<case "judgemental">> by expressing $his disappointment with the type of men that frequent brothels. <</switch>> <<else>> $He does $his best to control $himself and avoid punishment. "<<Master>>, I will." $He holds $himself together until you dismiss $him; as $he turns away to go, the tears come fast, and $he almost runs into the door frame on $his way out<<if canSee(getSlave($AS))>>, blind with weeping<</if>>. <</if>> <</if>> <<else>> $He manages to <<if canTalk(getSlave($AS))>> get "Oh fuck n-" out <<elseif hasAnyArms(getSlave($AS))>> flip you an incredibly rude gesture <<else>> get an incredibly rude gesture out <</if>> before the compliance systems activate and $he's poleaxed to the ground. Anticipating this, you had <<if $MadamID != 0>>_S.Madam.slaveName <<else>>another, more obedient slave<</if>> standing by to haul $him away. It'll take a couple of hundred customers, but being sold in a brothel for rape should knock the resistance out of $him. <</if>> /* CLOSES DEVOTION */
MonsterMate/fc
src/facilities/brothel/brothelAssignmentScene.tw
tw
mit
30,883
App.Data.Facilities.brothel = { baseName: "brothel", genericName: null, jobs: { assignee: { position: "whore", assignment: Job.BROTHEL, publicSexUse: true, fuckdollAccepted: false }, }, defaultJob: "assignee", manager: { position: "madam", assignment: Job.MADAM, careers: App.Data.misc.madamCareers, skill: null, publicSexUse: true, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: true, shouldThink: true, requiredDevotion: 50 } }; App.Entity.Facilities.BrothelJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * @override * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); // condition is the same as for the club if (!App.Entity.Facilities.Job._isBrokenEnough(slave, 51, -50, -20, -50, 50)) { r.push(App.Entity.Facilities.Job._stdBreakageMessage(slave)); } return r; } }; App.Entity.Facilities.MadamJob = class extends App.Entity.Facilities.ManagingJob { /** * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); if (slave.intelligence + slave.intelligenceImplant < -50) { r.push(`${slave.slaveName} is not intelligent enough to be the Madam.`); } return r; } }; App.Entity.facilities.brothel = new App.Entity.Facilities.SingleJobFacility( App.Data.Facilities.brothel, { assignee: new App.Entity.Facilities.BrothelJob() }, new App.Entity.Facilities.MadamJob() );
MonsterMate/fc
src/facilities/brothel/brothelFramework.js
JavaScript
mit
1,631
App.Data.Facilities.cellblock = { baseName: "cellblock", genericName: null, jobs: { assignee: { position: "confinee", assignment: Job.CELLBLOCK, publicSexUse: false, fuckdollAccepted: false }, }, defaultJob: "assignee", manager: { position: "wardeness", assignment: Job.WARDEN, careers: App.Data.misc.wardenessCareers, skill: "wardeness", publicSexUse: false, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: false, shouldThink: false, requiredDevotion: 51 } }; App.Entity.Facilities.CellblockJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); if (slave.trust < -50) { r.push(`${slave.slaveName} is too terrified for ${this.facility.name} to have an effect.`); } else if ((slave.devotion > -20 || slave.trust < -20) && (slave.devotion >= -50 || slave.trust < -50)) { r.push(`${slave.slaveName} is not defiant enough for ${this.facility.name} to have an effect.`); } return r; } }; App.Entity.facilities.cellblock = new App.Entity.Facilities.SingleJobFacility( App.Data.Facilities.cellblock, { assignee: new App.Entity.Facilities.CellblockJob() } );
MonsterMate/fc
src/facilities/cellblock/cellblockFramework.js
JavaScript
mit
1,368
App.Data.Facilities.clinic = { baseName: "clinic", genericName: null, jobs: { patient: { position: "patient", assignment: Job.CLINIC, publicSexUse: false, fuckdollAccepted: false } }, defaultJob: "patient", manager: { position: "nurse", assignment: Job.NURSE, careers: App.Data.misc.nurseCareers, skill: "nurse", publicSexUse: false, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: false, shouldThink: true, requiredDevotion: 51 } }; App.Entity.Facilities.ClinicPatientJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); if ((slave.health.illness === 0 && slave.health.shortDamage < 20 && slave.health.condition >= 40) && (!S.Nurse || ((slave.chem <= 15 || this.facility.upgrade("Filters") !== 1) && (V.bellyImplants !== 1 || slave.bellyImplant <= -1) && (slave.pregKnown !== 1 || (this.facility.option("SpeedGestation") <= 0 && slave.pregControl !== "speed up")) && (this.facility.option("ObservePregnancy") !== 1 || slave.pregAdaptation * 1000 >= slave.bellyPreg && slave.preg <= slave.pregData.normalBirth / 1.33)))) { r.push(`${slave.slaveName} cannot benefit from ${this.facility.name}.`); } return r; } }; App.Entity.facilities.clinic = new App.Entity.Facilities.SingleJobFacility( App.Data.Facilities.clinic, { patient: new App.Entity.Facilities.ClinicPatientJob() } );
MonsterMate/fc
src/facilities/clinic/clinicFramework.js
JavaScript
mit
1,605
App.Data.Facilities.club = { baseName: "club", genericName: null, jobs: { slut: { position: "slut", assignment: Job.CLUB, publicSexUse: true, fuckdollAccepted: false }, }, defaultJob: "slut", manager: { position: "DJ", assignment: Job.DJ, careers: App.Data.misc.DJCareers, skill: "DJ", publicSexUse: false, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: false, shouldSee: false, shouldHear: true, shouldTalk: true, shouldThink: true, requiredDevotion: 51 } }; App.Entity.Facilities.ClubSlutJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); // condition is the same as for the brothel // TODO: consider moving this to App.Entity.Facilities.SexJob if (!App.Entity.Facilities.Job._isBrokenEnough(slave, 51, -50, -20, -50, 50)) { r.push(App.Entity.Facilities.Job._stdBreakageMessage(slave)); } return r; } }; App.Entity.Facilities.ClubDJJob = class extends App.Entity.Facilities.ManagingJob { checkRequirements(slave) { let r = super.checkRequirements(slave); if (slave.intelligence + slave.intelligenceImplant < -50) { r.push(`${slave.slaveName} is not intelligent enough to DJ.`); } return r; } }; App.Entity.facilities.club = new App.Entity.Facilities.SingleJobFacility( App.Data.Facilities.club, { slut: new App.Entity.Facilities.ClubSlutJob() }, new App.Entity.Facilities.ClubDJJob() );
MonsterMate/fc
src/facilities/club/clubFramework.js
JavaScript
mit
1,570
App.Data.Facilities.dairy = { baseName: "dairy", genericName: null, jobs: { cow: { position: "cow", assignment: Job.DAIRY, publicSexUse: false, fuckdollAccepted: false } }, defaultJob: "cow", manager: { position: "milkmaid", assignment: Job.MILKMAID, careers: App.Data.misc.milkmaidCareers, skill: "milkmaid", publicSexUse: false, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: false, shouldThink: true, requiredDevotion: 21 } }; App.Entity.Facilities.DairyCowJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * @param {App.Entity.SlaveState} slave * @returns {string[]} */ checkRequirements(slave) { let r = super.checkRequirements(slave); if ((slave.indentureRestrictions > 0) && (V.dairyRestraintsSetting > 1)) { r.push(`${slave.slaveName}'s indenture forbids extractive Dairy service.`); } if ((slave.indentureRestrictions > 1) && (V.dairyRestraintsSetting > 0)) { r.push(`${slave.slaveName}'s indenture allows only free range milking.`); } if (slave.breedingMark === 1 && V.propOutcome === 1 && V.eugenicsFullControl !== 1 && V.arcologies[0].FSRestart !== "unset" && V.dairyRestraintsSetting > 0) { r.push(`${slave.slaveName} may only be a free range cow.`); } if ((V.dairyPregSetting > 0) && ((slave.bellyImplant !== -1) || (slave.broodmother !== 0))) { r.push(`${slave.slaveName}'s womb cannot accommodate current machine settings.`); } if (!isAmputee(slave) && (this.facility.option("RestraintsUpgrade") !== 1) && !App.Entity.Facilities.Job._isBrokenEnough(slave, 20, -50, -20, -50)) { r.push(`${slave.slaveName} must be obedient in order to be milked at ${this.facility.name}.`); } if ((slave.lactation === 0) && (slave.balls === 0)) { // the slave does not produce useful liquids now. Let's find out can the dairy make it lactate if ((V.dairySlimMaintainUpgrade !== 1 && V.dairySlimMaintain <= 0) && V.dairyImplantsSetting !== 1 && V.dairyImplantsSetting !== 3) { // dairy settings disallow any procedures r.push(`${slave.slaveName} is not lactating ` + ((V.seeDicks > 0) ? 'or producing semen ' : '') + `and ${this.facility.name}'s current settings forbid the automatic implantation of lactation inducing drugs or manual stimulation to induce it, and thus cannot be a cow.`); } else if (slave.boobs <= 300){ r.push(`${slave.slaveName} is not lactating ` + ((V.seeDicks > 0) ? 'or producing semen ' : '') + 'and have not enough breast tissue to induce lactation.'); } } if ((V.dairyStimulatorsSetting >= 2) && (slave.anus <= 2) && (V.dairyPrepUpgrade !== 1)) { r.push(`${slave.slaveName}'s anus cannot accommodate current machine settings.`); } if ((V.dairyPregSetting >= 2) && (slave.vagina <= 2) && (slave.ovaries !== 0) && (V.dairyPrepUpgrade !== 1)) { r.push(`${slave.slaveName}'s vagina cannot accommodate current machine settings.`); } return r; } get assignment() { return `be milked in ${this.facility.name}`; } }; App.Entity.Facilities.Dairy = class extends App.Entity.Facilities.SingleJobFacility { constructor() { super(App.Data.Facilities.dairy, { cow: new App.Entity.Facilities.DairyCowJob() }); } /** @override */ get nonEmployeeOccupantsCount() { return V.bioreactorsXY + V.bioreactorsXX + V.bioreactorsHerm + V.bioreactorsBarren; } }; App.Entity.facilities.dairy = new App.Entity.Facilities.Dairy();
MonsterMate/fc
src/facilities/dairy/dairyFramework.js
JavaScript
mit
3,507
:: Farmer Select [nobr jump-to-safe jump-hidden jump-from-safe] <<set $nextButton = "Back", $nextLink = "Farmyard", $encyclopedia = "Farmer">> <<if ($FarmerID != 0)>> <<setLocalPronouns _S.Farmer>> <span class='slave-name'><<= SlaveFullName(_S.Farmer)>></span> is serving as your Farmer.<br><br>$He will tend to your crops and animals. <<else>> You have not selected a Farmer. <</if>> <br><br>''Appoint a Farmer from your obedient slaves:'' <br><br>[[None|Farmyard][removeJob(_S.Farmer, Job.FARMER)]] <br><br> <<includeDOM App.UI.SlaveList.facilityManagerSelection(App.Entity.facilities.farmyard, "Farmyard")>>
MonsterMate/fc
src/facilities/farmyard/farmerSelect.tw
tw
mit
616
/* MOST LIKELY TEMPORARY UNTIL I FIND A BETTER SPOT */ .farmyard-intro { margin-bottom: 1em; } .farmyard-expand { margin-top: 1em; margin-bottom: 1em; } .farmyard-menials { margin-top: 1em; margin-bottom: 1em; } .farmyard-rules { margin-top: 1em; margin-bottom: 1em; } .farmyard-upgrades { margin-top: 1em; margin-bottom: 1em; } .farmyard-animals { margin-top: 1em; margin-bottom: 1em; } .farmyard-slaves { margin-top: 1em; margin-bottom: 1em; } .farmyard-rename { margin-top: 1em; }
MonsterMate/fc
src/facilities/farmyard/farmyard.css
CSS
mit
506
App.Facilities.Farmyard.farmyard = function() { const frag = new DocumentFragment(); V.nextButton = "Back to Main"; V.nextLink = "Main"; V.returnTo = "Farmyard"; V.encyclopedia = "Farmyard"; const farmyardNameCaps = capFirstChar(V.farmyardName); App.UI.DOM.appendNewElement("div", frag, intro(), "farmyard-intro"); App.UI.DOM.appendNewElement("div", frag, expand(), "farmyard-expand"); App.UI.DOM.appendNewElement("div", frag, menials(), "farmyard-menials"); App.UI.DOM.appendNewElement("div", frag, rules(), "farmyard-rules"); App.UI.DOM.appendNewElement("div", frag, upgrades(), "farmyard-upgrades"); App.UI.DOM.appendNewElement("div", frag, animals(), "farmyard-animals"); App.UI.DOM.appendNewElement("div", frag, App.UI.SlaveList.stdFacilityPage(App.Entity.facilities.farmyard), "farmyard-slaves"); App.UI.DOM.appendNewElement("div", frag, rename(), "farmyard-rename"); App.UI.SlaveList.ScrollPosition.restore(); function intro() { const frag = new DocumentFragment(); const desc = App.UI.DOM.makeElement("div", '', "scene-intro"); const link = App.UI.DOM.makeElement("div", '', "indent"); const count = App.Entity.facilities.farmyard.totalEmployeesCount; const farmyardNameCaps = capFirstChar(V.farmyardName); desc.append(`${farmyardNameCaps} is an oasis of growth in the midst of the jungle of steel and concrete that is ${V.arcologies[0].name}. Animals are kept in pens, tended to by your slaves, while ${V.farmyardUpgrades.hydroponics ? `rows of hydroponics equipment` : `makeshift fields`} grow crops. `); switch (V.farmyardDecoration) { case "Roman Revivalist": desc.append(`Its red tiles and white stone walls are the very picture of a Roman farm villa's construction, as are the marble statues and reliefs. Saturn and Ceres look over the prosperity of the fields${V.seeBestiality ? `. Mercury watches over the health of the animals, and Feronia ensures strong litters in your slaves.` : `, and Mercury watches over the health of the animals.`} The slaves here are all looked after well, as they have one of the most important jobs in ${V.arcologies[0].name}.`); break; case "Neo Imperialist": desc.append(`Its high-tech, sleek black design invocates an embracement of the future, tempered by the hanging banners displaying your family crest as the rightful lord and master of these farms. Serf-like peasants work tirelessly in the fields, both to grow crops and oversee the slaves beneath them. Despite the harsh nature of the fieldwork, the slaves here are all looked after well, as they have one of the most important jobs in ${V.arcologies[0].name}.`); break; case "Aztec Revivalist": desc.append(`It can't completely recreate the floating farms in the ancient Aztec fashion, but it comes as close as it can, shallow pseudo-canals dividing each field into multiple sections. Smooth stone and colorful murals cover the walls, depicting bloody stories of gods and mortals alike.`); break; case "Egyptian Revivalist": desc.append(`It does its best to capture the wide open nature of ancient Egyptian farms, including mimicking the irrigation systems fed by the Nile. The stone walls are decorated with murals detailing its construction and your prowess in general, ${V.seeBestiality ? `with animal-bloated slaves featured prominently.` : `hieroglyphs spelling out a volumes of praise.`}`); break; case "Edo Revivalist": desc.append(`It does its best to mimic the rice patties and thatch roofed buildings of the Edo period despite the wide variety of crops tended by various slaves. Not every crop can thrive in flooded fields, but the ones that can take advantage of your attention to detail.`); break; case "Arabian Revivalist": desc.append(`Large plots of olive trees and date palms line the outer edges of the main crop area, while a combination of wheat, flax, and barley occupies the interior space. Irrigation canals snake through the area, ensuring every inch of cropland is well-watered.`); break; case "Chinese Revivalist": desc.append(`It does its best to capture the terraces that covered the ancient Chinese hills and mountains, turning every floor into ribbons of fields following a slight incline. Slaves wade through crops that can handle flooding and splash through the irrigation of the others when they aren't tending to${V.seeBestiality ? ` or breeding with` : ``} your animals.`); break; case "Chattel Religionist": desc.append(`It runs like a well oiled machine, slaves bent in humble service as they tend crops grown on the Prophet's command, or see to the animals' needs. Their clothing is tucked up and out of the way as they see to their tasks, keeping them clean as they work ${V.seeBestiality ? `around animal-bloated bellies ` : ``}as divine will dictates.`); break; case "Degradationist": desc.append(`It is constructed less as a converted warehouse and more as something to visit, allowing guests to enjoy the spectacle of slaves ${V.seeBestiality ? `being pounded by eager animals` : `elbow deep in scrubbing animal waste`} to their satisfaction.`); break; case "Repopulation Focus": desc.append(`It teems with life, both in the belly of every animal and the belly of every slave, though the latter makes tending the fields difficult. They're ordered to take care, as they carry the future ${V.seeBestiality ? `of this farm` : `of the arcology`} in their bellies.`); break; case "Eugenics": desc.append(`It holds a wide variety of crops and animals, but the best of the best is easy to find. They're set apart from the others, given only the best care and supplies${V.seeBestiality ? ` and bred with only the highest quality slaves` : ``}, while the sub-par stock is neglected off to the side.`); break; case "Asset Expansionist": desc.append(`It is not easy to look after animals and till fields with such enormous body parts, but your slaves are diligent regardless, working hard to provide food and livestock for the arcology.`); break; case "Transformation Fetishist": // desc.append(`TODO:`); break; case "Gender Radicalist": // desc.append(`TODO:`); break; case "Gender Fundamentalist": // desc.append(`TODO:`); break; case "Physical Idealist": desc.append(`Its animals are in exceptional shape, their coats unable to hide how muscular they are, requiring your slaves to be equally toned to control them. There's plenty of space for their exercise as well${V.seeBestiality ? ` and an abundance of curatives for the slaves full of their fierce, kicking offspring` : ``}.`); break; case "Supremacist": desc.append(`It is a clean and orderly operation, stables and cages mucked by a multitude of inferior slaves, along with grooming your animals and harvesting your crops.`); break; case "Subjugationist": desc.append(`It is a clean and orderly operation, stables and cages mucked by a multitude of ${V.arcologies[0].FSSubjugationistRace} slaves, while the others are tasked with grooming your animals and harvesting your crops.`); break; case "Paternalist": desc.append(`It's full of healthy animals, crops, and slaves, the former's every need diligently looked after by the latter. The fields flourish to capacity under such care, and the animals give the distinct impression of happiness${V.seeBestiality ? ` — some more than others if the growing bellies of your slaves are anything to go by, the only indication that such rutting takes place` : ``}.`); break; case "Pastoralist": // desc.append(`TODO:`); break; case "Maturity Preferentialist": // desc.append(`TODO:`); break; case "Youth Preferentialist": // desc.append(`TODO:`); break; case "Body Purist": // desc.append(`TODO:`); break; case "Slimness Enthusiast": desc.append(`It features trim animals and slaves alike, not a pound of excess among them. The feed for both livestock and crops are carefully maintained to ensure optimal growth without waste, letting them flourish without being weighed down.`); break; case "Hedonistic": desc.append(`It features wider gates and stalls, for both the humans visiting or tending the occupants, and the animals starting to mimic their handlers${V.seeBestiality ? ` and company` : ``}, with plenty of seats along the way.`); break; default: desc.append(`It is very much a converted warehouse still, sectioned off in various 'departments'${V.farmyardUpgrades.machinery ? ` with machinery placed where it can be` : V.farmyardUpgrades.hydroponics ? ` and plumbing for the hydroponics system running every which way` : ``}.`); break; } if (count > 2) { desc.append(` ${farmyardNameCaps} is bustling with activity. Farmhands are hurrying about, on their way to feed animals and maintain farming equipment.`); } else if (count) { desc.append(` ${farmyardNameCaps} is working steadily. Farmhands are moving about, looking after the animals and crops.`); } else if (S.Farmer) { desc.append(` ${S.Farmer.slaveName} is alone in $farmyardName, and has nothing to do but look after the animals and crops.`); } else { desc.append(` ${farmyardNameCaps} is empty and quiet.`); } link.append(App.UI.DOM.passageLink(`Decommission ${V.farmyardName}`, "Main", () => { if (V.farmMenials) { V.menials += V.farmMenials; V.farmMenials = 0; } V.farmyardName = "the Farmyard"; V.farmyard = 0; V.farmyardDecoration = "standard"; V.farmMenials = 0; V.farmMenialsSpace = 0; V.farmyardShows = 0; V.farmyardBreeding = 0; V.farmyardCrops = 0; V.farmyardKennels = 0; V.farmyardStables = 0; V.farmyardCages = 0; V.activeCanine = 0; V.activeHooved = 0; V.activeFeline = 0; V.pit.animal = null; V.canines = []; V.hooved = []; V.felines = []; V.farmyardUpgrades = { pump: 0, fertilizer: 0, hydroponics: 0, machinery: 0, seeds: 0 }; clearAnimalsBought(); App.Arcology.cellUpgrade(V.building, App.Arcology.Cell.Manufacturing, "Farmyard", "Manufacturing"); })); desc.append(link); frag.append(desc); return frag; } function expand() { const frag = new DocumentFragment(); const desc = document.createElement("div"); const link = App.UI.DOM.makeElement("div", '', "indent"); const note = App.UI.DOM.makeElement("span", '', "note"); const cost = App.UI.DOM.makeElement("span", '', "yellowgreen"); const upgradeCost = Math.trunc(V.farmyard * 1000 * V.upgradeMultiplierArcology); const farmhands = App.Entity.facilities.farmyard.totalEmployeesCount; cost.append(cashFormat(upgradeCost)); desc.append(`It can support ${V.farmyard} farmhands. Currently there ${farmhands === 1 ? `is` : `are`} ${farmhands} ${farmhands === 1 ? `farmhand` : `farmhands`} in ${V.farmyardName}. `); note.append(` Costs `, cost, ` and will increase upkeep costs`); link.append(App.UI.DOM.passageLink(`Expand ${V.farmyardName}`, "Farmyard", () => { cashX(forceNeg(upgradeCost), "capEx"); V.farmyard += 5; V.PC.skill.engineering += .1; })); link.append(note); desc.append(link); frag.append(desc); if (App.Entity.facilities.farmyard.totalEmployeesCount) { App.UI.DOM.appendNewElement("div", frag, removeFacilityWorkers("farmyard"), "indent"); } return frag; } function menials() { const frag = new DocumentFragment(); frag.append(transferMenials()); frag.append(buyMenials()); frag.append(houseMenials()); return frag; } function transferMenials() { const frag = new DocumentFragment(); const links = []; const linksDiv = App.UI.DOM.makeElement("div", '', "indent"); const menials = V.menials; const farmMenials = V.farmMenials; const farmMenialsSpace = V.farmMenialsSpace; if (farmMenials) { frag.append(`Assigned to ${V.farmyardName} ${farmMenials === 1 ? `is` : `are`} ${farmMenials} menial ${farmMenials === 1 ? `slave` : `slaves`}, working to produce as much food for your arcology as they can. `); } if (farmMenialsSpace) { frag.append(`You ${menials ? `own ${num(menials)}` : `don't own any`} free menial slaves. ${farmyardNameCaps} can house ${farmMenialsSpace} menial slaves total, with ${farmMenialsSpace - farmMenials} free spots. `); } if (farmMenialsSpace && farmMenials < farmMenialsSpace) { if (menials) { links.push(App.UI.DOM.passageLink("Transfer in a menial slave", "Farmyard", () => { V.menials--; V.farmMenials++; })); } if (menials >= 10 && farmMenials <= farmMenialsSpace - 10) { links.push(App.UI.DOM.passageLink("Transfer in 10 menial slaves", "Farmyard", () => { V.menials -= 10; V.farmMenials += 10; })); } if (menials >= 100 && farmMenials <= farmMenialsSpace - 100) { links.push(App.UI.DOM.passageLink("Transfer in 100 menial slaves", "Farmyard", () => { V.menials -= 100; V.farmMenials += 100; })); } if (menials) { links.push(App.UI.DOM.passageLink("Transfer in all free menial slaves", "Farmyard", () => { if (menials > farmMenialsSpace - farmMenials) { V.menials -= farmMenialsSpace - farmMenials; V.farmMenials = farmMenialsSpace; } else { V.farmMenials += menials; V.menials = 0; } })); } } else if (!farmMenialsSpace) { frag.append(`${farmyardNameCaps} cannot currently house any menial slaves. `); } else { frag.append(`${farmyardNameCaps} has all the menial slaves it can currently house assigned to it. `); } if (farmMenials) { links.push(App.UI.DOM.passageLink("Transfer out all menial slaves", "Farmyard", () => { V.menials += farmMenials; V.farmMenials = 0; })); } linksDiv.append(App.UI.DOM.generateLinksStrip(links)); frag.append(linksDiv); return frag; } function buyMenials() { const frag = new DocumentFragment(); const links = []; const linksDiv = App.UI.DOM.makeElement("div", '', "indent"); const menials = V.menials; const farmMenials = V.farmMenials; const farmMenialsSpace = V.farmMenialsSpace; const popCap = menialPopCap(); const bulkMax = popCap.value - menials - V.fuckdolls - V.menialBioreactors; const menialPrice = Math.trunc(menialSlaveCost()); const maxMenials = Math.trunc(Math.clamp(V.cash / menialPrice, 0, bulkMax)); if (farmMenialsSpace) { if (bulkMax > 0 || V.menials + V.fuckdolls + V.menialBioreactors === 0) { links.push(App.UI.DOM.passageLink("Buy ", "Farmyard", () => { V.menials++; V.menialSupplyFactor--; cashX(forceNeg(menialPrice), "farmyard"); })); links.push(App.UI.DOM.passageLink("(x10)", "Farmyard", () => { V.menials += 10; V.menialSupplyFactor -= 10; cashX(forceNeg(menialPrice * 10), "farmyard"); })); links.push(App.UI.DOM.passageLink("(x100)", "Farmyard", () => { V.menials += 100; V.menialSupplyFactor -= 100; cashX(forceNeg(menialPrice * 100), "farmyard"); })); links.push(App.UI.DOM.passageLink("(max)", "Farmyard", () => { V.menials += maxMenials; V.menialSupplyFactor -= maxMenials; cashX(forceNeg(maxMenials * menialPrice), "farmyard"); })); } } if (farmMenials) { linksDiv.append(App.UI.DOM.generateLinksStrip(links)); frag.append(linksDiv); } return frag; } function houseMenials() { const frag = new DocumentFragment(); const desc = document.createElement("div"); const link = App.UI.DOM.makeElement("div", '', "indent"); const note = App.UI.DOM.makeElement("span", '', "note"); const cost = App.UI.DOM.makeElement("span", '', "yellowgreen"); const unitCost = Math.trunc(1000 * V.upgradeMultiplierArcology); cost.append(cashFormat(unitCost)); if (V.farmMenialsSpace < 500) { desc.append(`There is enough room in ${V.farmyardName} to build housing, enough to give ${V.farmMenialsSpace + 100} menial slaves a place to sleep and relax. `); note.append(` Costs `, cost, ` and will increase upkeep costs`); link.append(App.UI.DOM.passageLink("Build a new housing unit", "Farmyard", () => { cashX(forceNeg(unitCost), "farmyard"); V.farmMenialsSpace += 100; }), note); desc.append(link); frag.append(desc); } return frag; } function rules() { const frag = new DocumentFragment(); if (App.Entity.facilities.farmyard.employeesIDs().size > 0) { // TODO: redo this with V.farmyardShowgirls if (V.farmyardShows && (V.canines || V.hooved || V.felines)) { const rule = makeRule( ['Slaves', 'are putting on shows with animals'], 'are', "End shows", [], ["farmyardShows", "farmyardBreeding", "farmyardRestraints"] ); frag.append(rule); if (V.seeBestiality) { if (V.farmyardBreeding) { const rule = makeRule( ['Slaves', 'are being bred with animals'], 'are', "End breeding", ["farmyardShows"], ["farmyardBreeding", "farmyardRestraints"] ); frag.append(rule); if (V.farmyardRestraints) { const rule = makeRule( 'are being restrained', 'All of the slaves', "Restrain only disobedient slaves", ["farmyardShows", "farmyardBreeding"], ["farmyardRestraints"] ); frag.append(rule); } else { const rule = makeRule( 'are being restrained', 'Only disobedient slaves', "Restrain all slaves", ["farmyardShows", "farmyardBreeding", "farmyardRestraints"], [] ); frag.append(rule); } } else { const rule = makeRule( ['Slaves', 'being bred with animals'], 'are not', "Begin breeding", ["farmyardShows", "farmyardBreeding"], ["farmyardRestraints"] ); frag.append(rule); } } } else { const rule = makeRule( ['Slaves', 'putting on shows with animals'], 'are not', "Begin shows", ["farmyardShows"], ["farmyardBreeding", "farmyardRestraints"] ); frag.append(rule); } } /** * Creates a new rule button * @param {string|string[]} descText The base description for the rule * @param {string} boldText The part in bold * @param {string} linkText The link text * @param {string[]} enabled Variables to be set to 1 * @param {string[]} disabled Variables to be set to 0 */ function makeRule(descText, boldText, linkText, enabled, disabled) { const frag = new DocumentFragment(); const desc = document.createElement("div"); const bold = App.UI.DOM.makeElement("span", boldText, "bold"); const link = document.createElement("span"); if (Array.isArray(descText)) { desc.append(`${descText[0]} `, bold, ` ${descText[1]}. `); } else { desc.append(bold, ` ${descText}. `); } link.append(App.UI.DOM.passageLink(linkText, "Farmyard", () => { enabled.forEach(i => V[i] = 1); disabled.forEach(i => V[i] = 0); })); desc.append(link); frag.append(desc); return frag; } return frag; } function upgrades() { const frag = new DocumentFragment(), farmyardUpgrades = V.farmyardUpgrades, pumpCost = Math.trunc(5000 * V.upgradeMultiplierArcology), fertilizerCost = Math.trunc(10000 * V.upgradeMultiplierArcology), hydroponicsCost = Math.trunc(20000 * V.upgradeMultiplierArcology), seedsCost = Math.trunc(25000 * V.upgradeMultiplierArcology), machineryCost = Math.trunc(50000 * V.upgradeMultiplierArcology); if (!farmyardUpgrades.pump) { const desc = document.createElement("div"); const upgrade = createUpgrade( "Upgrade the water pump", pumpCost, 'slightly decreases upkeep costs', "pump" ); desc.append(`${farmyardNameCaps} is currently using the basic water pump that it came with.`); frag.append(desc, upgrade); } else { const desc = document.createElement("div"); desc.append(`The water pump in ${V.farmyardName} is a more efficient model, slightly improving the amount of crops it produces.`); frag.append(desc); if (!farmyardUpgrades.fertilizer) { const upgrade = createUpgrade( "Use a higher-quality fertilizer", fertilizerCost, 'moderately increases crop yield and slightly increases upkeep costs', "fertilizer" ); frag.append(upgrade); } else { const desc = document.createElement("div"); desc.append(`${farmyardNameCaps} is using a higher-quality fertilizer, moderately increasing the amount of crops it produces and raising slightly raising upkeep costs.`); frag.append(desc); if (!farmyardUpgrades.hydroponics) { const upgrade = createUpgrade( "Purchase an advanced hydroponics system", hydroponicsCost, 'moderately decreases upkeep costs', "hydroponics" ); frag.append(upgrade); } else { const desc = document.createElement("div"); desc.append(`${farmyardNameCaps} is outfitted with an advanced hydroponics system, reducing the amount of water your crops consume and thus moderately reducing upkeep costs.`); frag.append(desc); if (!farmyardUpgrades.seeds) { const upgrade = createUpgrade( "Purchase genetically modified seeds", seedsCost, 'moderately increases crop yield and slightly increases upkeep costs', "seeds" ); frag.append(upgrade); } else { const desc = document.createElement("div"); desc.append(`${farmyardNameCaps} is using genetically modified seeds, significantly increasing the amount of crops it produces and moderately increasing upkeep costs.`); frag.append(desc); if (!farmyardUpgrades.machinery) { const upgrade = createUpgrade( "Upgrade the machinery", machineryCost, 'moderately increases crop yield and slightly increases upkeep costs', "machinery" ); frag.append(upgrade); } else { const desc = document.createElement("div"); desc.append(`The machinery in ${V.farmyardName} has been upgraded, and is more efficient, significantly increasing crop yields and significantly decreasing upkeep costs.`); frag.append(desc); } } } } } function createUpgrade(linkText, price, effect, type) { const desc = document.createElement("div"); const link = App.UI.DOM.makeElement("div", '', "indent"); const note = App.UI.DOM.makeElement("span", '', "note"); const cost = App.UI.DOM.makeElement("span", '', "yellowgreen"); cost.append(cashFormat(price)); link.append(App.UI.DOM.passageLink(linkText, "Farmyard", () => { cashX(forceNeg(price), "farmyard"); farmyardUpgrades[type] = 1; })); note.append(` Costs `, cost, ` and ${effect}.`); link.append(note); desc.append(link); return desc; } return frag; } function animals() { const frag = new DocumentFragment(), baseCost = Math.trunc(5000 * V.upgradeMultiplierArcology), upgradedCost = Math.trunc(10000 * V.upgradeMultiplierArcology); let farmyardKennels = V.farmyardKennels; let farmyardStables = V.farmyardStables; let farmyardCages = V.farmyardCages; // MARK: Kennels const CL = V.canines.length; const dogs = CL === 1 ? V.canines[0] : CL < 3 ? `several different breeds of dogs` : `all kinds of dogs`; const canines = CL === 1 ? V.canines[0].species === "dog" ? V.canines[0].breed : V.canines[0].speciesPlural : CL < 3 ? `several different ${V.canines.every( c => c.species === "dog") ? `breeds of dogs` : `species of canines`}` : `all kinds of canines`; const kennels = document.createElement("div"); const kennelsUpgrade = App.UI.DOM.makeElement("div", '', "indent"); const kennelsNote = App.UI.DOM.makeElement("span", '', "note"); const kennelsCost = App.UI.DOM.makeElement("span", '', "yellowgreen"); if (farmyardKennels === 0) { kennels.append(App.UI.DOM.passageLink("Add kennels", "Farmyard", () => { cashX(forceNeg(baseCost), "farmyard"); V.farmyardKennels = 1; })); kennelsCost.append(cashFormat(baseCost)); kennelsNote.append(` Costs `, kennelsCost, `, will incur upkeep costs, and unlocks domestic canines`); kennels.append(kennelsNote); } else if (farmyardKennels === 1) { kennels.append(App.UI.DOM.passageLink("Kennels", "Farmyard Animals")); kennels.append(` have been built in one corner of ${V.farmyardName}, and are currently ${CL < 1 ? `empty` : `occupied by ${dogs}`}.`); if (V.rep > 10000) { kennelsUpgrade.append(App.UI.DOM.passageLink("Upgrade kennels", "Farmyard", () => { cashX(forceNeg(upgradedCost), "farmyard"); V.farmyardKennels = 2; })); kennelsCost.append(cashFormat(upgradedCost)); kennelsNote.append(` Costs `, kennelsCost, `, will incur additional upkeep costs, and unlocks exotic canines`); kennelsUpgrade.append(kennelsNote); kennels.append(kennelsUpgrade); } } else if (farmyardKennels === 2) { kennels.append(App.UI.DOM.passageLink("Large kennels", "Farmyard Animals")); kennels.append(` have been built in one corner of ${V.farmyardName}, and are currently ${CL < 1 ? `empty` : `occupied by ${canines}`}.`); } // MARK: Stables const HL = V.hooved.length; const hooved = HL === 1 ? V.hooved[0] : HL < 3 ? `several different types of hooved animals` : `all kinds of hooved animals`; const stables = document.createElement("div"); const stablesUpgrade = App.UI.DOM.makeElement("div", '', "indent"); const stablesNote = App.UI.DOM.makeElement("span", '', "note"); const stablesCost = App.UI.DOM.makeElement("span", '', "yellowgreen"); if (farmyardStables === 0) { stables.append(App.UI.DOM.passageLink("Add stables", "Farmyard", () => { cashX(forceNeg(baseCost), "farmyard"); V.farmyardStables = 1; })); stablesCost.append(cashFormat(baseCost)); stablesNote.append(` Costs `, stablesCost, `, will incur upkeep costs, and unlocks domestic hooved animals`); stables.append(stablesNote); } else if (farmyardStables === 1) { stables.append(App.UI.DOM.passageLink("Stables", "Farmyard Animals")); stables.append(` have been built in one corner of ${V.farmyardName}, and are currently ${HL < 1 ? `empty` : `occupied by ${hooved}`}.`); if (V.rep > 10000) { stablesUpgrade.append(App.UI.DOM.passageLink("Upgrade stables", "Farmyard", () => { cashX(forceNeg(upgradedCost), "farmyard"); V.farmyardStables = 2; })); stablesCost.append(cashFormat(upgradedCost)); stablesNote.append(` Costs `, stablesCost, `, will incur additional upkeep costs, and unlocks exotic hooved animals`); stablesUpgrade.append(stablesNote); stables.append(stablesUpgrade); } } else if (farmyardStables === 2) { stables.append(App.UI.DOM.passageLink("Large stables", "Farmyard Animals")); stables.append(` have been built in one corner of ${V.farmyardName}, and are currently ${HL < 1 ? `empty` : `occupied by ${hooved}`}.`); } // MARK: Cages const FL = V.felines.length; const cats = FL === 1 ? V.felines[0] : FL < 3 ? `several different breeds of cats` : `all kinds of cats`; const felines = FL === 1 ? V.felines[0].species === "cat" ? V.felines[0].breed : V.felines[0].speciesPlural : FL < 3 ? `several different ${V.felines.every( c => c.species === "cat") ? `breeds of cats` : `species of felines`}` : `all kinds of felines`; const cages = document.createElement("div"); const cagesUpgrade = App.UI.DOM.makeElement("div", '', "indent"); const cagesNote = App.UI.DOM.makeElement("span", '', "note"); const cagesCost = App.UI.DOM.makeElement("span", '', "yellowgreen"); if (farmyardCages === 0) { cages.append(App.UI.DOM.passageLink("Add cages", "Farmyard", () => { cashX(forceNeg(baseCost), "farmyard"); V.farmyardCages = 1; })); cagesCost.append(cashFormat(baseCost)); cagesNote.append(` Costs `, cagesCost, `, will incur upkeep costs, and unlocks domestic felines`); cages.append(cagesNote); } else if (farmyardCages === 1) { cages.append(App.UI.DOM.passageLink("Cages", "Farmyard Animals")); cages.append(` have been built in one corner of ${V.farmyardName}, and are currently ${FL < 1 ? `empty` : `occupied by ${cats}`}.`); if (V.rep > 10000) { cagesUpgrade.append(App.UI.DOM.passageLink("Upgrade cages", "Farmyard", () => { cashX(forceNeg(upgradedCost), "farmyard"); V.farmyardCages = 2; })); cagesCost.append(cashFormat(upgradedCost)); cagesNote.append(` Costs `, cagesCost, `, will incur additional upkeep costs, and unlocks exotic felines`); cagesUpgrade.append(cagesNote); cages.append(cagesUpgrade); } } else if (farmyardCages === 2) { cages.append(App.UI.DOM.passageLink("Large cages", "Farmyard Animals")); cages.append(` have been built in one corner of ${V.farmyardName}, and are currently ${FL < 1 ? `empty` : `occupied by ${felines}`}.`); } // MARK: Remove Housing const removeHousing = document.createElement("div"); const removeHousingNote = App.UI.DOM.makeElement("span", '', "note"); const removeHousingCost = App.UI.DOM.makeElement("span", '', "yellowgreen"); const removeHousingPrice = ((farmyardKennels + farmyardStables + farmyardCages) * 5000) * V.upgradeMultiplierArcology; if (farmyardKennels || farmyardStables || farmyardCages) { removeHousing.append(document.createElement("br")); removeHousing.append(App.UI.DOM.passageLink("Remove the animal housing", "Farmyard", () => { V.farmyardKennels = 0; V.farmyardStables = 0; V.farmyardCages = 0; V.farmyardShows = 0; V.farmyardBreeding = 0; V.farmyardRestraints = 0; V.canines = []; V.hooved = []; V.felines = []; clearAnimalsBought(); cashX(forceNeg(removeHousingPrice), "farmyard"); })); removeHousingCost.append(cashFormat(removeHousingPrice)); removeHousingNote.append(` Will cost `, removeHousingCost); removeHousing.append(removeHousingNote); } frag.append(kennels, stables, cages, removeHousing); return frag; } function rename() { const frag = new DocumentFragment(); const renameDiv = App.UI.DOM.makeElement("div", '', "farmyard-rename"); const renameNote = App.UI.DOM.makeElement("span", '', "note"); renameDiv.append(`Rename ${V.farmyardName}: `); renameNote.append(` Use a noun or similar short phrase`); renameDiv.append(App.UI.DOM.makeTextBox(V.farmyardName, newName => { V.farmyardName = newName; })); renameDiv.append(renameNote); frag.append(renameDiv); return frag; } function clearAnimalsBought() { for (const i in V.animalsBought) { V.animalsBought[i] = 0; } } return frag; };
MonsterMate/fc
src/facilities/farmyard/farmyard.js
JavaScript
mit
30,715
:: Farmyard [nobr jump-to-safe jump-from-safe] /* TODO: add "plots" of "crops" */ /* TODO: allow slaves that can't walk to put on shows */ /* TODO: write placeholders */ <<includeDOM App.Facilities.Farmyard.farmyard()>>
MonsterMate/fc
src/facilities/farmyard/farmyard.tw
tw
mit
222
:: Farmyard Animals [nobr] <<set $nextButton = "Back", $nextLink = "Farmyard", $returnTo = "Farmyard Animals", $encyclopedia = "Farmyard">> /* TODO: write some descriptions for the different animals in their cages */ <<if $farmyardKennels > 0 || $farmyardStables > 0 || $farmyardCages > 0>> <br> ''Domestic Animals'' <hr> <<if $farmyardKennels > 0>> <br> __Dogs__ <br>//Cost <<print cashFormat(20000)>> each// /* TODO: this number is mostly a placeholder, will need adjusting */ <br> <<if $animalsBought.labradorRetrievers <= 0>> <<link "Purchase dogs" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.labradorRetrievers = 1, $animalsBought.canines += 1, $canines.push({ species: "dog", speciesPlural: "dogs", breed: "Labrador Retrievers", type: "canine", dickSize: "big", ballType: "dog" })>><</link>> <br> <<else>> Dogs <<if $activeCanine.breed != "Labrador Retriever">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Labrador Retriever", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <</if>> <<if $farmyardStables > 0>> <br> __Hooved Animals__ <br>//Cost <<print cashFormat(20000)>> each// /* TODO: this number is mostly a placeholder, will need adjusting */ <br> <<if $animalsBought.horses <= 0>> <<link "Purchase horses" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.horses = 1, $animalsBought.hooved += 1, $hooved.push("horses")>><</link>> <br> <<else>> Horses <<if $activeHooved.species != "horse">> [[Set as active hooved|Farmyard Animals][$activeHooved = {species: "horse", speciesCap: "Horse", speciesPlural: "horses", type: "hooved", dickSize: "huge", ballType: "horse"}]] <<else>> //Set as active hooved// <</if>> <br> <</if>> <<if $animalsBought.bulls <= 0>> <<link "Purchase bulls" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.bulls = 1, $animalsBought.hooved += 1, $hooved.push("bulls")>><</link>> <br> <<else>> Bulls <<if $activeHooved.species != "bull">> [[Set as active hooved|Farmyard Animals][$activeHooved = {species: "bull", speciesCap: "Bull", speciesPlural: "bulls", type: "hooved", dickSize: "huge", ballType: "horse"}]] <<else>> //Set as active hooved// <</if>> <br> <</if>> <<if $animalsBought.pigs <= 0>> <<link "Purchase pigs" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.pigs = 1, $animalsBought.hooved += 1, $hooved.push("pigs")>><</link>> <br> <<else>> Pigs <<if $activeHooved.species != "pig">> [[Set as active hooved|Farmyard Animals][$activeHooved = {species: "pig", speciesCap: "Pig", speciesPlural: "pigs", type: "hooved", dickSize: "large", ballType: "horse"}]] <<else>> //Set as active hooved// <</if>> <br> <</if>> <</if>> <</if>> <br> <<if $farmyardKennels > 1 || $farmyardStables > 1 || $farmyardCages > 1>> <br> ''Exotic Animals'' <hr> <<if $farmyardKennels > 1>> <br> __Canines__ <br>//Cost <<print cashFormat(20000)>> each// <br> <<if $animalsBought.wolves <= 0>> <<link "Purchase wolves" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.wolves = 1, $animalsBought.canines += 1, $canines.push({ species: "wolf", speciesPlural: "wolves", type: "canine", dickSize: "large", ballType: "wolf" })>><</link>> <br> <<else>> /*A couple of adult wolves are lounging about in their kennels.(OLD)*/ Wolves <<if $activeCanine.species != "wolf">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "wolf", speciesCap: "Wolf", speciesPlural: "wolves", type: "canine", dickSize: "large", ballType: "wolf"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <</if>> <<if $farmyardCages > 1>> <br> __Felines__ <br>//Cost <<print cashFormat(30000)>> each// /* TODO: this number is mostly a placeholder, will need adjusting */ <br> <<if $animalsBought.lions <= 0>> <<link "Purchase lions" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(30000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.lions = 1, $animalsBought.felines += 1, $felines.push({ species: "lion", speciesPlural: "lions", type: "feline", dickSize: "large", ballType: "lion"})>><</link>> <br> <<else>> /*Most of the lions are sunning themselves. (OLD)*/ Lions <<if $activeFeline.species != "lion">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "lion", speciesCap: "Lion", speciesPlural: "lions", type: "feline", dickSize: "large", ballType: "lion"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <</if>> <</if>>
MonsterMate/fc
src/facilities/farmyard/farmyardAnimals.tw
tw
mit
4,934
App.Data.Facilities.farmyard = { baseName: "farmyard", genericName: null, jobs: { farmhand: { position: "farmhand", assignment: Job.FARMYARD, publicSexUse: false, fuckdollAccepted: false } }, defaultJob: "farmhand", manager: { position: "farmer", assignment: Job.FARMER, careers: App.Data.misc.farmerCareers, skill: "farmer", publicSexUse: false, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: false, shouldThink: true, requiredDevotion: 51 } }; App.Entity.Facilities.FarmHandJob = class extends App.Entity.Facilities.FacilitySingleJob { /** * @override */ get assignment() { return `work in ${this.facility.name}`; } }; App.Entity.facilities.farmyard = new App.Entity.Facilities.SingleJobFacility( App.Data.Facilities.farmyard, { farmhand: new App.Entity.Facilities.FarmHandJob() } );
MonsterMate/fc
src/facilities/farmyard/farmyardFramework.js
JavaScript
mit
941
:: Farmyard Report [nobr] <<includeDOM App.Facilities.Farmyard.farmyardReport()>>
MonsterMate/fc
src/facilities/farmyard/farmyardReport.tw
tw
mit
83
/** * @param {App.Entity.SlaveState} slave * @returns {number} */ App.Facilities.Farmyard.foodAmount = function(slave) { let food = 150; if (!slave) { throw `Current slave is not valid. Please report this`; } if (V.farmyardUpgrades.pump) { food += 15; } if (V.farmyardUpgrades.fertilizer) { food += 35; } if (V.farmyardUpgrades.seeds) { food += 65; } if (V.farmyardUpgrades.machinery) { food += 65; } if (S.Farmer) { food *= 1.1; if (S.Farmer.skill.farmer >= V.masteredXP) { food *= 1.2; } if (setup.farmerCareers.includes(S.Farmer.career)) { food *= 1.2; } } if (slave.devotion > 50) { food *= 1.1; } else if (slave.devotion < -50) { food *= 0.8; } if (slaveResting(slave)) { food *= 0.9; } else if (slave.health.tired + 20 >= 90 && !willWorkToDeath(slave)) { slave.devotion -= 10; slave.trust -= 5; food *= 0.9; } if (slave.muscles > 30) { // slave is muscular or more food *= 1.1; } else if (slave.muscles <= -6) { // slave is weak or less food *= 0.8; } if (slave.weight > 95) { // slave is overweight or more food *= 0.9; } else if (slave.weight > 130) { // slave is fat or more food *= 0.8; } else if (slave.weight > 160) { // slave is obese or more food *= 0.7; } else if (slave.weight > 190) { // slave is very obese or more food *= 0.6; } if (!canSee(slave)) { // slave is blind food *= 0.6; } else if (!canSeePerfectly(slave)) { // slave is nearsighted food *= 0.8; } if (slave.hears === -1) { // slave is hard of hearing food *= 0.8; } else if (slave.hears < -1) { // slave is deaf food *= 0.6; } food *= restEffects(slave, 20); food = Math.trunc(Math.max(food, 1)); return food; };
MonsterMate/fc
src/facilities/farmyard/food/foodAmount.js
JavaScript
mit
1,786
:: Food Market [nobr] <<if $useTabs == 0>>__The Food Market__<</if>> <br> <<set _foodValue = Math.round(($foodStored*$farmyardFoodCost + Number.EPSILON) * 100) / 100>> <<set _maxFood = Math.trunc($cash/$farmyardFoodCost)>> The food market has @@.chocolate;<<print massFormat($foodStored)>>@@ in storage, valued at a total of @@.yellowgreen;<<print cashFormat(_foodValue)>>.@@ <<set $nextLink = "Main">> <br> <<link "Buy <<= massFormat(1)>>" _link>><<set cashX(forceNeg($farmyardFoodCost*1), "farmyard"), $foodStored += 1>><</link>> | <<link "<<= massFormat(10)>>" _link>><<set cashX(forceNeg($farmyardFoodCost*10), "farmyard"), $foodStored += 10>><</link>> | <<link "<<= massFormat(100)>>" _link>><<set cashX(forceNeg($farmyardFoodCost*100), "farmyard"), $foodStored += 100>><</link>> | <<link "<<= massFormat(1000)>>" _link>><<set cashX(forceNeg($farmyardFoodCost*1000), "farmyard"), $foodStored += 1000>><</link>> | <<link "<<= massFormat(10000)>>" _link>><<set cashX(forceNeg($farmyardFoodCost*10000), "farmyard"), $foodStored += 10000>><</link>> | <<link "<<= massFormat(100000)>>" _link>><<set cashX(forceNeg($farmyardFoodCost*100000), "farmyard"), $foodStored += 100000>><</link>> | <<link "max" _link>><<set cashX(forceNeg(_maxFood*$farmyardFoodCost), "farmyard"), $foodStored += _maxFood>><</link>> <<if $foodStored > 0>> <br> <<link "Sell <<= massFormat(1)>>" _link>><<set cashX(($farmyardFoodCost*1), "farmyard"), $foodStored -= 1>><</link>> <<if $foodStored >= 10>> | <<link "<<= massFormat(10)>>" _link>><<set cashX(($farmyardFoodCost*10), "farmyard"), $foodStored -= 10>><</link>> <</if>> <<if $foodStored >= 100>> | <<link "<<= massFormat(100)>>" _link>><<set cashX(($farmyardFoodCost*100), "farmyard"), $foodStored -= 100>><</link>> <</if>> <<if $foodStored >= 1000>> | <<link "<<= massFormat(1000)>>" _link>><<set cashX(($farmyardFoodCost*1000), "farmyard"), $foodStored -= 1000>><</link>> <</if>> <<if $foodStored >= 10000>> | <<link "<<= massFormat(10000)>>" _link>><<set cashX(($farmyardFoodCost*10000), "farmyard"), $foodStored -= 10000>><</link>> <</if>> <<if $foodStored >= 100000>> | <<link "<<= massFormat(100000)>>" _link>><<set cashX(($farmyardFoodCost*100000), "farmyard"), $foodStored -= 100000>><</link>> <</if>> | <<link "max" _link>><<set cashX(($farmyardFoodCost*$foodStored), "farmyard"), $foodStored = 0>><</link>> <</if>> <<if $food > 0>> <br> <<link "Store <<= massFormat(1)>>" _link>><<set $foodStored += 1, $food -= 1>><</link>> <<if $food >= 10>> | <<link "<<= massFormat(10)>>" _link>><<set $foodStored += 10, $food -= 10>><</link>> <</if>> <<if $food >= 100>> | <<link "<<= massFormat(100)>>" _link>><<set $foodStored += 100, $food -= 100>><</link>> <</if>> <<if $food >= 1000>> | <<link "<<= massFormat(1000)>>" _link>><<set $foodStored += 1000, $food -= 1000>><</link>> <</if>> <<if $food >= 10000>> | <<link "<<= massFormat(10000)>>" _link>><<set $foodStored += 10000, $food -= 10000>><</link>> <</if>> <<if $food >= 100000>> | <<link "<<= massFormat(100000)>>" _link>><<set $foodStored += 100000, $food -= 10000>><</link>> <</if>> | <<link "max" _link>><<set $foodStored += $food, $food = 0>><</link>> <</if>> <<if $foodStored > 0>> <br> <<link "Retrieve <<= massFormat(1)>>" _link>><<set $food += 1, $foodStored -= 1>><</link>> <<if $foodStored >= 10>> | <<link "<<= massFormat(10)>>" _link>><<set $food += 10, $foodStored -= 10>><</link>> <</if>> <<if $foodStored >= 100>> | <<link "<<= massFormat(100)>>" _link>><<set $food += 100, $foodStored -= 100>><</link>> <</if>> <<if $foodStored >= 1000>> | <<link "<<= massFormat(1000)>>" _link>><<set $food += 1000, $foodStored -= 1000>><</link>> <</if>> <<if $foodStored >= 10000>> | <<link "<<= massFormat(10000)>>" _link>><<set $food += 10000, $foodStored -= 10000>><</link>> <</if>> <<if $foodStored >= 100000>> | <<link "<<= massFormat(10000)>>" _link>><<set $food += 100000, $foodStored -= 10000>><</link>> <</if>> | <<link "max" _link>><<set $food += $foodStored, $foodStored = 0>><</link>> <</if>>
MonsterMate/fc
src/facilities/farmyard/food/foodMarket.tw
tw
mit
4,070
:: Food Report [nobr] $arcologies[0].name produced <<= massFormat($foodLastWeek)>> of food this week. Blah blah write some more stuff here.
MonsterMate/fc
src/facilities/farmyard/food/foodReport.tw
tw
mit
140
:: P food crisis [nobr] /* feel free to move this into a different folder */ <<set $nextButton = "Continue", $nextLink = "Random Nonindividual Event">> <<if ($PC.skill.trading >= 100) || ($PC.career == "capitalist")>> <<set _price = 2500>> <<elseif ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>> <<set _price = 5000>> <<else>> <<set _price = 10000>> <</if>> <<switch $foodCrisis>> <<case 1>> The region supplying much of the Free City's food had been battling a famine for quite some time now — between the deteriorating weather and the war raging on — but it had always seemed the situation was improving, and your arcology's citizens never really had to worry about going to bed hungry. Unfortunately, that all changed this week. A firefight had broken out near one of the region's largest farms, and one of the main reserves of food was caught in the crossfire. <br><br> Supplies steadily began to dwindle, and it wasn't long before the prices of food began to rise as a result. <<if $arcologyUpgrade.hydro == 1>>Even the hydroponics system you had installed earlier could barely put a dent in the needs of your citizens.<</if>> Now, the poorest in your arcology are facing starvation. Seeing no other choice, they turned to you to provide them with sustenance. ''This is a unique opportunity.'' It's unlikely your citizens would ask for your help again, should you choose not to help them. <br><br> <span id="result"> <<link "Provide them with ample rations">> <<replace "#result">> You have enough to go around, so you decide to help the desperate citizens. You have a number of rationing stations set up throughout $arcologies[0].name and announce that each citizen is entitled to four full meals a day, more than enough to sate the hunger of even the most famished of men. Your citizens are @@.green;thrilled@@ to hear that their leader is looking out for them. <<run repX(5000, "event")>> <<set cashX(forceNeg(_price*2), "farmyard")>> <<set $rations = 2>> <</replace>> <</link>> <<if ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>>//This will cost <<print cashFormat(_price*2)>> and some upkeep, @@.springgreen;reduced by your knowledge of trading@@//<<else>>//This will cost <<print cashFormat(_price*2)>> and incur significant upkeep costs//<</if>> <br><<link "Give them enough to survive on">> <<replace "#result">> You have your own problems to deal with, but that doesn't mean you don't look out for your own. You have a number of rationing stations set up throughout $arcologies[0].name and announce that each citizen is entitled to two full meals a day, just enough for your citizens not to starve. Your citizens are @@.green;happy@@ to hear that their leader is looking out for them. <<run repX(2500, "event")>> <<set cashX(forceNeg(_price), "farmyard")>> <<set $rations = 1>> <</replace>> <</link>> <<if ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>>//This will cost <<print cashFormat(_price)>> and some upkeep, @@.springgreen;reduced by your knowledge of trading@@//<<else>>//This will cost <<print cashFormat(_price)>> and incur significant upkeep costs//<</if>> <br><<link "They can figure their problem out on their own">> <<replace "#result">> You have your own problems to deal with, and you simply can't afford to drop everything and solve theirs at the moment. That you can't take care of your arcology's citizen @@.red;reflects poorly on you.@@ <<run repX(-500, "event")>> <</replace>> <</link>> </span> <<case 2>> It's been a few weeks since your citizens had approached you asking for aid, and since then, the situation hasn't improved. In fact, it had gotten worse, and food prices have reached a record high. The tension in $arcologies[0].name is palpable, and small riots have broken out more than once over disputes about food. You are not surprised, then, when you receive a visit from some of the "middle class" /* TODO: still not really happy with this */ citizens. They state that they noticed that you have been giving out rations to the poorer citizens, and, now that the situation has become dire, were wondering if you would be willing to do the same for them. <br><br> <span id="result"> <<link "Give them generous rations as well">> <<replace "#result">> You still have more than enough to go around, so you inform the leaders that you have decided you will give them large rations, enough to feed even the hungriest citizen. The leaders are @@.green;very pleased@@ to hear that you are taking care of them as well. <<run repX(5000, "event")>> <<set cashX(forceNeg(_price*2), "farmyard")>> <<set $rations = 4>> <</replace>> <</link>> <<if ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>>//This will cost <<print cashFormat(_price*2)>> and some upkeep, @@.springgreen;reduced by your knowledge of trading@@//<<else>>//This will cost <<print cashFormat(_price*2)>> and incur significant upkeep costs//<</if>> <br><<link "Provide them with enough sustenance to survive on too">> <<replace "#result">> As much as you'd like to provide them with all of the food in the world, it simply is not feasible in your current situation. Therefore, you announce to the leaders that you will provide them only enough rations to live off of. The leaders understand, and are @@.green;pleased@@ to hear that you would provide for them at all. <<run repX(2500, "event")>> <<set cashX(forceNeg(_price), "farmyard")>> <<set $rations = 3>> <</replace>> <</link>> <<if ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>>//This will cost <<print cashFormat(_price)>> and some upkeep, @@.springgreen;reduced by your knowledge of trading@@//<<else>>//This will cost <<print cashFormat(_price)>> and incur significant upkeep costs//<</if>> <br><<link "Change your mind about giving out any rations at all">> <<replace "#result">> Having given the people rations at all was a mistake, you think to yourself. You have a great number of your own problems to deal with, and providing rations to everyone that can't afford food is putting an unnecessary strain on your own situation. With this is mind, you tell the leaders that you simply can't help them at this time, and have decided that you can't help anyone with food at all. The citizens are understandably @@.red;angry@@ that you would go back on your word. <<run repX(-1000, "event")>> <<set $rations = 0>> <</replace>> <</link>> </span> <<case 3>> Another few weeks has passed since your last meeting with your citizens regarding rationing, and things have only deteriorated further since then. It was only a matter of time, then, before the wealthier citizens of $arcologies[0].name paid you a visit one afternoon. While being able to afford food wasn't exactly difficult for them as of yet, they could read the writing on the wall, and knew it would only be a matter of time before the prices of food were so high that even they would be forced to beg for handouts. <br><br> Seeing the progress you had made since taking control of the arcology, they decided their best course of action was to come to you with a proposition. They would allow you to take full control of the food supply in $arcologies[0].name, and in return you would keep them well-fed. ''This is a unique opportunity.'' If you turn their offer down, the citizens of your arcology will find another way of surviving. <span id="result"> <br> <br><<link "Set up a food market">> <<replace "#result">> You know that a proposition like this wouldn't have been easy for your citizens to make, and you also know that there is no one better suited to a task like this than you. You announce that you will be setting up a market to buy, sell, and store food in, and that you'll make sure that the citizens will continue to be well-fed. Your citizens are @@.green;glad@@ to hear that you are looking out for their best interests. <<run repX(5000, "event")>> <<set cashX(forceNeg(_price*5), "farmyard")>> <<set $foodMarket = 1>> <<unset $rations>> <</replace>> <</link>> <<if ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>>//This will cost an initial investment of <<print cashFormat(_price*5)>>, @@.springgreen;reduced by your knowledge of trading@@//<<else>>//This will cost an initial investment of <<print cashFormat(_price*5)>>//<</if>> <br><<link "Politely decline their offer, but continue giving them rations">> <<replace "#result">> Things have been going fairly well for you, but not //that// well — setting up an entirely new place to buy, sell, and store food would no doubt be an expensive undertaking. You tell the citizens that while you can't spare the resources to create a new market at the moment, you will honor your past agreement and continue giving them free rations. The people initially seem a bit disappointed that you don't seem to want to expand $arcologies[0].name, but are ultimately @@.green;glad@@ to hear that you'll continue taking care of them. <<run repX(2500, "event")>> <<set cashX(forceNeg(_price), "farmyard")>> <<set $rations = 5>> <</replace>> <</link>> <<if ($PC.skill.trading >= 50) || ($PC.career == "capitalist")>>//This will cost <<print cashFormat(_price)>> and some upkeep, @@.springgreen;reduced by your knowledge of trading@@//<<else>>//This will cost <<print cashFormat(_price)>> and incur significant upkeep costs//<</if>> <br><<link "Turn down their offer and end rationing completely">> <<replace "#result">> While a new place to buy, sell, and store food in $arcologies[0].name would most likely come in quite handy in the future, you ultimately decide that you simply cannot spare the resources required. In fact, giving rations at all was a costly venture, and after not having seen any sort of return-on-investment, you decide that you are unable to continue giving out rations anymore. Your citizens are @@.red;angry@@ at the fact that you seem not to care about them at all, but that's their problem. <<run repX(-1000, "event")>> <<unset $rations>> <</replace>> <</link>> </span> <</switch>>
MonsterMate/fc
src/facilities/farmyard/food/pFoodCrisis.tw
tw
mit
10,122
/* Putting them here because commenting them out was breaking for some reason */ <<if $animalsBought.germanShepherds == 0>> <<link "Purchase German Shepherds" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.germanShepherds = 1, $animalsBought.canines += 1, $canines.push("German Shepherds")>><</link>> <br> <<elseif $animalsBought.germanShepherds == 1>> German Shepherds <<if $activeCanine.breed != "German Shepherd">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "German Shepherd", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.goldenRetrievers == 0>> <<link "Purchase Golden Retrievers" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.goldenRetrievers = 1, $animalsBought.canines += 1, $canines.push("Golden Retrievers")>><</link>> <br> <<elseif $animalsBought.goldenRetrievers == 1>> Golden Retrievers <<if $activeCanine.breed != "Golden Retriever">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Golden Retriever", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.frenchBulldogs == 0>> <<link "Purchase French Bulldogs" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.frenchBulldogs = 1, $animalsBought.canines += 1, $canines.push("French Bulldogs")>><</link>> <br> <<elseif $animalsBought.frenchBulldogs == 1>> French Bulldogs <<if $activeCanine.breed != "French Bulldog">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "French Bulldog", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.bulldogs == 0>> <<link "Purchase Bulldogs" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.bulldogs = 1, $animalsBought.canines += 1, $canines.push("Bulldogs")>><</link>> <br> <<elseif $animalsBought.bulldogs == 1>> Bulldogs <<if $activeCanine.breed != "Bulldog">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Bulldog", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.beagles == 0>> <<link "Purchase Beagles" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.beagles = 1, $animalsBought.canines += 1, $canines.push("Beagles")>><</link>> <br> <<elseif $animalsBought.beagles == 1>> Beagles <<if $activeCanine.breed != "Beagle">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Beagle", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.poodles == 0>> <<link "Purchase Poodles" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.poodles = 1, $animalsBought.canines += 1, $canines.push("Poodles")>><</link>> <br> <<elseif $animalsBought.poodles == 1>> Poodles <<if $activeCanine.breed != "Poodle">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Poodle", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.rottweilers == 0>> <<link "Purchase Rottweilers" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.rottweilers = 1, $animalsBought.canines += 1, $canines.push("Rottweilers")>><</link>> <br> <<elseif $animalsBought.rottweilers == 1>> Rottweilers <<if $activeCanine.breed != "Rottweiler">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Rottweiler", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.yorkshireTerriers == 0>> <<link "Purchase Yorkshire Terriers" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.yorkshireTerriers = 1, $animalsBought.canines += 1, $canines.push("Yorkshire Terriers")>><</link>> <br> <<elseif $animalsBought.yorkshireTerriers == 1>> Yorkshire Terriers <<if $activeCanine.breed != "Yorkshire Terrier">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Yorkshire Terrier", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.siberianHuskies == 0>> <<link "Purchase Siberian Huskies" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.siberianHuskies = 1, $animalsBought.canines += 1, $canines.push("Siberian Huskies")>><</link>> <br> <<elseif $animalsBought.siberianHuskies == 1>> Siberian Huskies <<if $activeCanine.breed != "Siberian Husky">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dog", speciesCap: "Dog", speciesPlural: "dogs", breed: "Siberian Husky", type: "canine", dickSize: "big", ballType: "dog"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $farmyardCages > 0>> <br> Cats: <br><br> <<if $animalsBought.siameses == 0>> <<link "Purchase Siamese cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.siameses = 1, $animalsBought.felines += 1, $felines.push("Siamese cats")>><</link>> <br> <<elseif $animalsBought.siameses == 1>> Siamese cats <<if $activeFeline.breed != "Siamese">> [[Set as active canine|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Siamese", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.persians == 0>> <<link "Purchase Persian cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.persians = 1, $animalsBought.felines += 1, $felines.push("Persian cats")>><</link>> <br> <<elseif $animalsBought.persians == 1>> Persian cats <<if $activeFeline.breed != "Persian">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Persian", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.maineCoons == 0>> <<link "Purchase Maine Coon cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.maineCoons = 1, $animalsBought.felines += 1, $felines.push("Maine Coon cats")>><</link>> <br> <<elseif $animalsBought.maineCoons == 1>> Maine Coon cats <<if $activeFeline.breed != "Maine Coon">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Maine Coon", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.ragdolls == 0>> <<link "Purchase Ragdoll cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.ragdolls = 1, $animalsBought.felines += 1, $felines.push("Ragdoll cats")>><</link>> <br> <<elseif $animalsBought.ragdolls == 1>> Ragdoll cats <<if $activeFeline.breed != "Ragdoll">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Ragdoll", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.bengals == 0>> <<link "Purchase Bengal cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.bengals = 1, $animalsBought.felines += 1, $felines.push("Bengal cats")>><</link>> <br> <<elseif $animalsBought.bengals == 1>> Bengal cats <<if $activeFeline.breed != "Bengal">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Bengal", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.abbysinians == 0>> <<link "Purchase Abbysinian cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.abbysinians = 1, $animalsBought.felines += 1, $felines.push("Abbysinian cats")>><</link>> <br> <<elseif $animalsBought.abbysinians == 1>> Abbysinian cats <<if $activeFeline.breed != "Abbysinian">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Abbysinian", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.birmans == 0>> <<link "Purchase Birman cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.birmans = 1, $animalsBought.felines += 1, $felines.push("Birman cats")>><</link>> <br> <<elseif $animalsBought.birmans == 1>> Birman cats <<if $activeFeline.breed != "Birman">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Birman", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.orientalShorthairs == 0>> <<link "Purchase Oriental Shorthair cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.orientalShorthairs = 1, $animalsBought.felines += 1, $felines.push("Oriental Shorthair cats")>><</link>> <br> <<elseif $animalsBought.orientalShorthairs == 1>> Oriental Shorthair cats <<if $activeFeline.breed != "Oriental Shorthair">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Oriental Shorthair", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.sphynxes == 0>> <<link "Purchase Sphynx cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.sphynxes = 1, $animalsBought.felines += 1, $felines.push("Sphynx cats")>><</link>> <br> <<elseif $animalsBought.sphynxes == 1>> Sphynx cats <<if $activeFeline.breed != "Sphynx">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Sphynx", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.russianBlues == 0>> <<link "Purchase Russian Blue cats" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.russianBlues = 1, $animalsBought.felines += 1, $felines.push("Russian Blue cats")>><</link>> <br> <<elseif $animalsBought.russianBlues == 1>> Russian Blue cats <<if $activeFeline.breed != "Russian Blue">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cat", speciesCap: "Cat", speciesPlural: "cats", breed: "Russian Blue", type: "feline", dickSize: "small", ballType: "cat"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <</if>> <<if $animalsBought.foxes == 0>> <<link "Purchase foxes" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.foxes = 1, $animalsBought.canines += 1, $canines.push("foxes")>><</link>> <br> <<elseif $animalsBought.foxes == 1>> /*Red foxes play in one corner of their kennels, chasing one another.(OLD)*/ Foxes <<if $activeCanine.species != "fox">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "fox", speciesCap: "Fox", speciesPlural: "foxes", type: "canine", dickSize: "large", ballType: "fox"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.jackals == 0>> <<link "Purchase jackals" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.jackals = 1, $animalsBought.canines += 1, $canines.push("jackals")>><</link>> <br> <<elseif $animalsBought.jackals == 1>> /*A group of male jackals are fighting over a potential mate, causing quite a ruckus.(OLD)*/ Jackals <<if $activeCanine.species != "jackal">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "jackal", speciesCap: "Jackal", speciesPlural: "jackals", type: "canine", dickSize: "large", ballType: "jackal"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $animalsBought.dingos == 0>> <<link "Purchase dingos" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.dingos = 1, $animalsBought.canines += 1, $canines.push("dingos")>><</link>> <br> <<elseif $animalsBought.dingos == 1>> /*The dingos are eating their meal, growling at each other when one gets to close to another's food.(OLD)*/ Dingos <<if $activeCanine.species != "dingo">> [[Set as active canine|Farmyard Animals][$activeCanine = {species: "dingo", speciesCap: "Dingo", speciesPlural: "dingos", type: "canine", dickSize: "large", ballType: "dingo"}]] <<else>> //Set as active canine// <</if>> <br> <</if>> <<if $farmyardStables > 1>> <br> Hooved Animals: <br><br> <<if $animalsBought.zebras == 0>> <<link "Purchase zebras" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.zebras = 1, $animalsBought.hooved += 1, $hooved.push("zebras")>><</link>> <<elseif $animalsBought.zebras == 1>> Zebras <<if $activeHooved.species != "zebra">> [[Set as active hooved|Farmyard Animals][$activeHooved = {species: "zebra", speciesCap: "Zebra", speciesPlural: "zebras", type: "hooved", dickSize: "huge", ballType: "zebra"}]] <<else>> //Set as active hooved// <</if>> <</if>> <br> <</if>> <<if $animalsBought.cougars == 0>> <<link "Purchase cougars" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(30000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.cougars = 1, $animalsBought.felines += 1, $felines.push("cougars")>><</link>> <br> <<elseif $animalsBought.cougars == 1>> /*The cougars are sleeping, their lean bodies scattered around under trees. (OLD)*/ Cougars <<if $activeFeline.species != "cougar">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "cougar", speciesCap: "Cougar", speciesPlural: "cougars", type: "feline", dickSize: "large", ballType: "cougar"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.jaguars == 0>> <<link "Purchase jaguars" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(30000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.jaguars = 1, $animalsBought.felines += 1, $felines.push("jaguars")>><</link>> <br> <<elseif $animalsBought.jaguars == 1>> /*You can see a few jaguars laying around in the trees in their enclosure. (OLD)*/ Jaguars <<if $activeFeline.species != "jaguar">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "jaguar", speciesCap: "Jaguar", speciesPlural: "jaguars", type: "feline", dickSize: "large", ballType: "jaguar"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.lynx == 0>> <<link "Purchase lynxs" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(30000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.lynx = 1, $animalsBought.felines += 1, $felines.push("lynx")>><</link>> <br> <<elseif $animalsBought.lynx == 1>> /*The lynxes are playfully running around their enclosure. (OLD)*/ Lynx <<if $activeFeline.species != "lynx">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "lynx", speciesCap: "Lynx", speciesPlural: "lynx", type: "feline", dickSize: "large", ballType: "lynx"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.leopards == 0>> <<link "Purchase leopards" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(30000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.leopards = 1, $animalsBought.felines += 1, $felines.push("leopards")>><</link>> <br> <<elseif $animalsBought.leopards == 1>> /*The leopards are lazing about in the trees in their enclosure. (OLD)*/ Leopards <<if $activeFeline.species != "leopard">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "leopard", speciesCap: "Leopard", speciesPlural: "leopards", type: "feline", dickSize: "large", ballType: "leopard"}]] <<else>> //Set as active feline// <</if>> <br> <</if>> <<if $animalsBought.tigers == 0>> <<link "Purchase tigers" "Farmyard Animals">><<set cashX(forceNeg(Math.trunc(30000*$upgradeMultiplierArcology)), "farmyard"), $animalsBought.tigers = 1, $animalsBought.felines += 1, $felines.push("tigers")>><</link>> <br> <<elseif $animalsBought.tigers == 1>> /*Some of the tigers are swimming, and the ones that aren't are lazing about. (OLD)*/ Tigers <<if $activeFeline.species != "tiger">> [[Set as active feline|Farmyard Animals][$activeFeline = {species: "tiger", speciesCap: "Tiger", speciesPlural: "tigers", type: "feline", dickSize: "large", ballType: "tiger"}]] <<else>> //Set as active feline// <</if>> <br> <</if>>
MonsterMate/fc
src/facilities/farmyard/futureAnimals.tw
tw
mit
18,620
App.Facilities.Farmyard.farmyardReport = function farmyardReport() { let frag = new DocumentFragment(); const slaves = App.Utils.sortedEmployees(App.Entity.facilities.farmyard); const devBonus = (V.farmyardDecoration !== "standard") ? 1 : 0; const Farmer = S.Farmer; let profits = 0; let foodWeek = 0; let farmerBonus = 0; // MARK: Farmer function farmerChanges() { farmerHealth(Farmer); farmerDevotion(Farmer); farmerTrust(Farmer); farmerLivingRules(Farmer); farmerRestRules(Farmer); farmerCashBonus(Farmer); } function farmerHealth(slave) { if (slave.health.condition < -80) { improveCondition(Farmer, 20); } else if (slave.health.condition < -40) { improveCondition(Farmer, 15); } else if (slave.health.condition < 0) { improveCondition(Farmer, 10); } else if (slave.health.condition < 90) { improveCondition(Farmer, 7); } } function farmerDevotion(slave) { slave.devotion += devBonus; if (slave.devotion < 45) { slave.devotion += 5; } } function farmerTrust(slave) { if (slave.trust < 45) { slave.trust += 5; } } const farmerLivingRules = slave => slave.rules.living = 'luxurious'; const farmerRestRules = slave => slave.rules.rest = 'restrictive'; function farmerCashBonus(slave) { let FarmerCashBonus = Math.min(0.2, slave.skill.farmer * 0.002); FarmerCashBonus += slave.intelligence + slave.intelligenceImplant > 15 ? 0.05 : 0; FarmerCashBonus += slave.dick > 2 && canPenetrate(slave) ? 0.05 : 0; FarmerCashBonus += !canSmell(slave) ? 0.05 : 0; if (slave.actualAge > 35) { FarmerCashBonus += 0.05; } else if (!V.AgePenalty) { FarmerCashBonus += 0.05; } if (setup.farmerCareers.includes(slave.career)) { FarmerCashBonus += 0.05; if (slave.skill.farmer >= V.masteredXP) { FarmerCashBonus += 0.05; } } else if (slave.skill.farmer >= V.masteredXP) { FarmerCashBonus += 0.05; } // TODO: keep this? if (Farmer.relationshipTarget === slave.ID) { FarmerCashBonus -= 0.05; } else if (areRelated(Farmer, slave)) { FarmerCashBonus += 0.05; } FarmerCashBonus *= restEffects(Farmer); return FarmerCashBonus; } function farmerText() { let r = []; r.push(farmerIntro(Farmer)); r.push(farmerRelationshipPC(Farmer)); r.push(farmerFetishEffects(Farmer, farmerFetish(Farmer))); r.push(farmerSkill(Farmer)); r.push(farmerExperience(Farmer)); r.push(farmerTiredness(Farmer)); r.push(farmerIntelligence(Farmer)); r.push(farmerSmell(Farmer)); r.push(farmerRelationshipSlaves(Farmer)); r.push(farmerContracts(Farmer)); return r.join(' '); } function farmerFetish(slave) { if (slave.fetish !== 'dom') { if (fetishChangeChance(slave) > jsRandom(0, 100)) { slave.fetishKnown = 1; slave.fetish = 'dom'; return 1; } } else if (!slave.fetishKnown) { slave.fetishKnown = 1; return 1; } else { slave.fetishStrength += 4; return 2; } } function farmerFetishEffects(slave, fetish = 0) { const {he, his, himself, He} = getPronouns(slave); if (fetish === 1) { return `${He} isn't above sampling the merchandise ${himself}; before long it's obvious to ${his} workers that ${he} <span class="lightcoral">really likes fucking them.</span> `; } else if (fetish === 2) { return `${He}'s careful that all of the farmhands under ${his} supervision are all ready to work every morning, and ${he} <span class="lightsalmon">becomes more dominant.</span> `; } } function farmerSkill(slave) { const {he, his, His} = getPronouns(slave); let r = []; if (slave.skill.farmer <= 10) { r.push(`Though ${slave.slaveName} does ${his} best to manage the farmyard, with ${his} lack of skill ${he} can do little.`); } else if (slave.skill.farmer <= 30) { r.push(`${slave.slaveName}'s basic skills marginally <span class="yellowgreen">improve</span> business at ${V.farmyardName}.`); } else if (slave.skill.farmer <= 60) { r.push(`${slave.slaveName}'s skills <span class="yellowgreen">improve</span> business at ${V.farmyardName}.`); } else if (slave.skill.farmer < 100) { r.push(`${slave.slaveName}'s skills greatly <span class="yellowgreen">improve</span> business at ${V.farmyardName}.`); } else { r.push(`${slave.slaveName}'s mastery immensely <span class="yellowgreen">improves</span> business at ${V.farmyardName}.`); } if (slave.actualAge > 35) { r.push(`${His} age and experience also contribute.`); } return r.join(' '); } function farmerExperience(slave) { const {he, his, him, He} = getPronouns(slave); if (setup.farmerCareers.includes(slave.career)) { return `${He} has experience from ${his} life before ${he} was a slave that helps ${him} in the difficult life of managing animals and property.`; } else if (slave.skill.farmer >= V.masteredXP) { return `${He} has experience from working for you that helps ${him} in the difficult life of managing animals and property.`; } else { slave.skill.farmer += jsRandom(1, Math.ceil((slave.intelligence + slave.intelligenceImplant) / 32)); } } function farmerTiredness(slave) { const {he, his, him, He} = getPronouns(slave); if (slaveResting(slave)) { return `To avoid exhaustion, ${he} has to take breaks to maintain ${his} strength, limiting how much ${he} can work.`; } } function farmerRelationshipSlaves(Farmer) { const {he, his, He} = getPronouns(Farmer); let r = []; for (const slave of slaves) { if (Farmer.rivalryTarget === slave.ID) { r.push(`${He} leverages the fact that ${he} is ${slave.slaveName}'s superior to make ${his} ${rivalryTerm(Farmer)}'s life a living hell.`); slave.devotion -= 2; slave.trust -= 2; if (canDoVaginal(slave)) { seX(slave, 'vaginal', 'public', 'penetrative', 10); } if (canDoAnal(slave)) { seX(slave, 'anal', 'public', 'penetrative', 10); } seX(slave, 'oral', 'public', 'penetrative', 10); if (jsRandom(1, 100) > 65) { Farmer.rivalry++; slave.rivalry++; } } else if (Farmer.relationshipTarget === slave.ID) { r.push(`${He} dotes over ${his} ${relationshipTerm(Farmer)}, ${slave.slaveName}, making sure ${he} isn't worked too hard, but unfortunately manages to get in the way of ${his} work.`); slave.devotion++; } else if (areRelated(Farmer, slave)) { r.push(`${He} pays special attention to ${his} ${relativeTerm(Farmer, slave)}, ${slave.slaveName}, making sure ${he} is treated well and showing off ${his} skills.`); slave.trust++; } } return r; } function farmerContracts(slave) { const {he, his, himself} = getPronouns(slave); let r = []; let seed = V.farmyardShowgirls ? App.Facilities.Farmyard.farmShowsIncome(slave) : jsRandom(1, 10) * (jsRandom(150, 170) + (farmerBonus * 10)); if (V.farmyardShows && !V.farmyardShowgirls) { r.push(`<p class="indent">Since ${he} doesn't have enough showgirls to entertain your arcology's citizens, ${he} puts on shows with your animals on ${his} own, earning <span class="yellowgreen">${cashFormat(seed)}.</span></p>`); } else if (!V.farmyardFarmers) { r.push(`<p class="indent">Since ${V.farmyardName} doesn't have anyone tending to the crops, ${he} looks after them ${himself}, earning <span class="yellowgreen">${cashFormat(seed)}.</span></p>`); } return r; } function farmerRelationshipPC(slave) { const {he, his, wife} = getPronouns(slave); if (slave.relationship === -3 && slave.devotion > 50) { return `As your loving ${wife}, ${he} does ${his} best to ensure ${V.farmyardName} runs smoothly.`; } } function farmerIntelligence(slave) { const {He} = getPronouns(slave); if (slave.intelligence + slave.intelligenceImplant > 15) { return `${He} is a clever manager.`; } } function farmerSmell(slave) { const {him, His} = getPronouns(slave); if (!canSmell(slave)) { return `${His} lack of a sense of smell protects ${him} from that omnipresent barnyard stench.`; } } const farmerIntro = slave => `<span class="indent">${SlaveFullName(slave)} is serving as the Farmer</span>.`; if (Farmer) { const farmerEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent"); V.i = V.slaveIndices[Farmer.ID]; App.Utils.setLocalPronouns(Farmer); // needed for "include"s if (V.showEWD) { const farmerEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report"); if (V.seeImages && V.seeReportImages) { App.UI.DOM.appendNewElement("div", farmerEntry, App.Art.SlaveArtElement(Farmer, 0, 0), ["imageRef", "tinyImg"]); } farmerEntry.append(App.EndWeek.favoriteIcon(Farmer), " "); $(farmerEntry).append(`<span class="slave-name">${SlaveFullName(Farmer)}</span> is serving as the Farmer.`); $(farmerEntry).append(App.SlaveAssignment.standardSlaveReport(Farmer, false)); } else { App.SlaveAssignment.standardSlaveReport(Farmer, true); } farmerChanges(); $(farmerEffects).append(farmerText()); } // MARK: Farmhands function farmhandCount(count) { return `<strong>There ${count > 1 ? `are ${count} farmhands` : `is one farmhand`} working out of ${V.farmyardName}.</strong>`; } function farmhandLivingRules(slave) { switch (V.farmyardDecoration) { case 'Degradation': case 'standard': slave.rules.living = 'spare'; break; case 'Roman Revivalist': slave.rules.living = 'luxurious'; break; default: slave.rules.living = 'normal'; break; } } function farmhandHealth(slave) { if (slave.health.condition < -80) { improveCondition(slave, 20); } else if (slave.health.condition < -40) { improveCondition(slave, 15); } else if (slave.health.condition < 0) { improveCondition(slave, 10); } else if (slave.health.condition < 90) { improveCondition(slave, 7); } } function farmhandDevotion(slave) { if (slave.devotion <= 20 && slave.trust >= -20) { slave.devotion -= 5; slave.trust -= 5; } else if (slave.devotion < 45) { slave.devotion += 4; } else if (slave.devotion > 50) { slave.devotion -= 4; } } function farmhandProfit(slave) { let incomeStats = getSlaveStatisticData(slave, slave.assignment === Job.FARMYARD ? V.facility.farmyard : undefined); return incomeStats.income; } function farmhandFood(slave) { let incomeStats = getSlaveStatisticData(slave, slave.assignment === Job.FARMYARD ? V.facility.farmyard : undefined); let foodWeek = incomeStats.food || 0; if (V.farmMenials > 0) { foodWeek += (V.farmMenials * 350); } return foodWeek; } function farmhandTrust(slave) { if (slave.trust < 30) { slave.trust += 5; } } function farmhandEnergy(slave) { if (slave.energy > 40 && slave.energy < 95) { slave.energy++; } } if (slaves) { const intro = App.UI.DOM.appendNewElement("p", frag, '', "indent"); $(intro).append(farmhandCount(slaves.length)); for (const slave of slaves) { V.i = V.slaveIndices[slave.ID]; // FIXME: V.i is deprecated slave.devotion += devBonus; App.Utils.setLocalPronouns(slave); // needed for "include"s if (V.showEWD) { const slaveEntry = App.UI.DOM.appendNewElement("div", frag, '', "slave-report"); if (V.seeImages && V.seeReportImages) { App.UI.DOM.appendNewElement("div", slaveEntry, App.Art.SlaveArtElement(slave, 0, 0), ["imageRef", "tinyImg"]); } slaveEntry.append(App.EndWeek.favoriteIcon(slave), " "); $(slaveEntry).append(`<span class="slave-name">${SlaveFullName(slave)}</span> `); if (slave.choosesOwnAssignment === 2) { $(slaveEntry).append(App.SlaveAssignment.choosesOwnJob(slave)); } else { $(slaveEntry).append(`is working out of ${V.farmyardName}.`); } farmhandLivingRules(slave); farmhandHealth(slave); farmhandDevotion(slave); farmhandTrust(slave); farmhandEnergy(slave); farmhandFood(slave); profits += farmhandProfit(slave); const farmhandContent = App.UI.DOM.appendNewElement("div", slaveEntry, '', "indent"); $(farmhandContent).append(App.SlaveAssignment.workTheFarm(slave)); $(slaveEntry).append(App.SlaveAssignment.standardSlaveReport(slave, false)); } else { // silently discard return values App.SlaveAssignment.workTheFarm(slave); App.SlaveAssignment.standardSlaveReport(slave, true); } } } // MARK: Menials if (V.farmMenials) { let farmMenialProductivity = 9; if (V.farmyardUpgrades.pump) { farmMenialProductivity += 1; } if (V.farmyardUpgrades.fertilizer) { farmMenialProductivity += 2; } if (V.farmyardUpgrades.seeds) { farmMenialProductivity += 3; } if (V.farmyardUpgrades.machinery) { farmMenialProductivity += 3; } foodWeek += (V.farmMenials * farmMenialProductivity); } // MARK: Farmyard function farmyardStatsRecords() { const f = V.facility.farmyard; if (typeof f === "undefined") { return; } f.farmhandIncome = 0; f.customers = 0; f.farmhandCosts = 0; f.rep = 0; f.maintenance = V.farmyard * V.facilityCost; f.totalIncome = f.farmhandIncome + f.adsIncome; f.totalExpenses = f.farmhandCosts + f.maintenance; f.profit = f.totalIncome - f.totalExpenses; for (let i of f.income.values()) { f.farmhandIncome += i.income + i.adsIncome; f.customers += i.customers; f.farmhandCosts += i.cost; f.rep += i.rep; } } function farmyardDecoration() { let r = []; // TODO: add checks for the different FSs if (V.farmyardDecoration !== 'standard') { const decorationEffects = App.UI.DOM.appendNewElement("p", frag, '', "indent"); const farmyardNameCaps = capFirstChar(V.farmyardName); $(decorationEffects).append(document.createElement("br")); r.push(`${farmyardNameCaps}'s customer's enjoyed`); if (V.seeBestiality && V.policies.bestialityOpenness && (V.canines || V.hooved || V.felines)) { r.push(`<span class="green">watching farmhands fuck animals in ${V.farmyardDecoration} surroundings.</span>`); } else if (V.farmyardShows) { r.push(`<span class="green">watching farmhands put on shows in ${V.farmyardDecoration} surroundings.</span>`); } else { r.push(`<span class="green">partaking of ${V.farmyardName}'s fine produce in its ${V.farmyardDecoration} décor.</span>`); } $(decorationEffects).append(r.join(' ')); } return r; } function farmyardProfit(profit, food) { const profitContent = App.UI.DOM.appendNewElement("p", frag, '', "indent"); const farmyardNameCaps = capFirstChar(V.farmyardName); let r = []; $(profitContent).append(document.createElement("br")); if (profit || food) { r.push(farmyardNameCaps); if (profit) { r.push(`makes you <span class="yellowgreen">${cashFormat(Math.trunc(profit))}</span>`); } if (V.foodMarket) { if (profit && food) { r.push(`and`); } if (food) { r.push(`produced <span class="chocolate"> ${massFormat(food)}</span> of food`); } } r.push(`this week.`); } return $(profitContent).append(r.join(' ')); } // FIXME: no idea what I'm doing here const statsSpan = document.createElement("span"); farmyardStatsRecords(); farmyardProfit(profits, foodWeek); farmyardDecoration(); V.food += foodWeek; frag.append(App.Facilities.Farmyard.Stats(false)); statsSpan.append(App.Facilities.Farmyard.Stats(true)); return frag; };
MonsterMate/fc
src/facilities/farmyard/reports/farmyardReport.js
JavaScript
mit
15,227
/** * @param {App.Entity.SlaveState} slave * @returns {number} */ App.Facilities.Farmyard.farmShowsIncome = function(slave) { const arcology = V.arcologies[0]; const heavyMods = SlaveStatsChecker.modScore(slave).total > 20; const sexualQuirks = ["perverted", "unflinching"]; const behavioralQuirks = ["sinful"]; const fetishes = ["humiliation", "masochist"]; let cash = 7500; if (!slave) { return null; } else { if (S.Farmer) { cash *= 1.1; if (S.Farmer.skill.farmer >= V.masteredXP) { cash *= 1.1; } } // MARK: FS Effects if (arcology.FSSupremacist !== "unset") { if (isSuperiorRace(slave)) { if (V.seeBestiality) { cash *= 0.8; repX(-10, "shows"); } else { cash *= 1.2; } } else { cash *= 0.9; } } if (arcology.FSSubjugationist !== "unset") { if (isInferiorRace(slave)) { if (V.seeBestiality) { cash *= 1.2; repX(10, "shows"); } else { cash *= 0.8; } } else { cash *= 0.9; } } if (arcology.FSRepopulationFocus !== "unset") { if (isPreg(slave)) { if (slave.eggType === "human") { cash *= 1.2; repX(15, "shows"); } else { cash *= 0.8; repX(-15, "shows"); } } } if (arcology.FSRestart !== "unset") { if (isPreg(slave)) { if (isEliteBreeder(slave)) { if (slave.eggType === "human") { cash *= 0.7; repX(-20, "shows"); } else { cash *= 0.6; repX(-25, "shows"); } } else { if (slave.eggType === "human") { cash *= 0.8; repX(-15, "shows"); } else { cash += 0.9; repX(-10, "shows"); } } } else { if (V.seeBestiality && isEliteBreeder(slave)) { cash *= 0.7; repX(-10, "shows"); } } } if (arcology.FSGenderRadicalist !== "unset") { if (slave.genes === "XX") { if (slave.dick > 0) { cash *= 1.2; repX(10, "shows"); } else { cash *= 0.9; repX(-5, "shows"); } } } if (arcology.FSGenderFundamentalist !== "unset") { if (isPreg(slave) || setup.fakeBellies.includes(slave.bellyAccessory)) { cash *= 1.1; repX(10, "shows"); } else { cash *= 0.9; repX(-5, "shows"); } // FIXME: keep this? not sure it makes sense if (slave.genes === "XX") { if (slave.dick > 0) { cash *= 0.8; } else { cash *= 1.1; } } } if (arcology.FSPaternalist !== "unset") { if (V.seeBestiality) { if (V.farmyardBreeding) { if (V.farmyardRestraints) { cash *= 0.5; } else { cash *= 0.7; } } else { if (V.farmyardRestraints) { cash *= 0.8; } else { cash *= 0.9; } } } else { // TODO: something here? } } if (arcology.FSDegradationist !== "unset") { if (V.seeBestiality) { if (V.farmyardBreeding) { if (V.farmyardRestraints) { cash *= 1.5; } else { cash *= 1.3; } } else { if (V.farmyardRestraints) { cash *= 1.2; } else { cash *= 1.1; } } } else { // TODO: something here? } } if (arcology.FSBodyPurist !== "unset") { if (SlaveStatsChecker.isModded(slave)) { if (heavyMods) { cash *= 0.7; repX(-15, "shows"); } else { cash *= 0.8; repX(-10, "shows"); } } } if (arcology.FSTransformationFetishist !== "unset") { if (SlaveStatsChecker.isModded(slave)) { if (heavyMods) { cash *= 1.3; repX(15, "shows"); } else { cash *= 1.2; repX(10, "shows"); } } } if (arcology.FSYouthPreferentialist !== "unset") { if (isYoung(slave)) { cash *= 1.2; repX(10, "shows"); } else { cash *= 0.8; repX(-5, "shows"); } } if (arcology.FSMaturityPreferentialist !== "unset") { if (!isYoung(slave)) { cash *= 1.2; repX(10, "shows"); } else { cash *= 0.8; repX(-5, "shows"); } } if (arcology.FSSlimnessEnthusiast !== "unset") { if (slimLawPass(slave)) { cash *= 1.1; repX(10, "shows"); } else { cash *= 0.9; repX(-5, "shows"); } } // FIXME: marked for possible rewrite if (arcology.FSAssetExpansionist !== "unset") { if (isStacked(slave)) { cash *= 1.1; repX(10, "shows"); } } if (arcology.FSPastoralist !== "unset") { if (slave.boobs >= 1000) { cash *= 1.2; repX(10, "shows"); } if (slave.lactation > 0) { cash *= 1.1; repX(5, "shows"); } } // FIXME: marked for review if (arcology.FSPhysicalIdealist !== "unset") { if (genderLawPass(slave)) { cash *= 1.1; repX(10, "shows"); } else { cash *= 0.9; repX(-5, "shows"); } if (slave.muscles > 30) { // slave is muscular or more cash *= 1.1; } else { cash *= 0.9; } } if (arcology.FSHedonisticDecadence !== "unset") { if (slave.weight > 10) { // slave is curvy or more cash *= 1.1; } else { cash *= 0.9; } } if (arcology.FSChattelReligionist !== "unset") { // TODO: I don't know what to put for this one if (slave.devotion < 21) { // if slave is careful or less cash *= 0.9; } } if (arcology.FSPetiteAdmiration !== "unset") { if (heightPass(slave)) { cash *= 1.1; repX(10, "shows"); } else { cash *= 0.9; repX(-5, "shows"); } } if (arcology.FSStatuesqueGlorification !== "unset") { if (heightPass(slave)) { cash *= 1.1; repX(10, "shows"); } else { cash *= 0.9; repX(-5, "shows"); } } if (arcology.FSRomanRevivalist !== "unset") { // TODO: } if (arcology.FSAztecRevivalist !== "unset") { // TODO: } if (arcology.FSEgyptianRevivalist !== "unset") { // TODO: } if (arcology.FSEdoRevivalist !== "unset") { // TODO: } if (arcology.FSArabianRevivalist !== "unset") { // TODO: } if (arcology.FSChineseRevivalist !== "unset") { // TODO: } // Close FS Effects if (setup.entertainmentCareers.includes(slave.career)) { cash *= 1.1; } // FIXME: can slaves' careers overlap categories? if (setup.farmerCareers.includes(slave.career)) { cash *= 1.1; } if (slave.prestige === 1) { // slave is prestigious cash *= 1.1; } else if (slave.prestige === 2) { // slave is very prestigious cash *= 1.5; } else if (slave.prestige === 3) { // slave is extremely prestigious cash *= 1.9; } if (slave.porn.prestige === 1) { // slave is prestigious from porn cash *= 1.1; } else if (slave.porn.prestige === 2) { // slave is very prestigious from porn cash *= 1.4; } else if (slave.porn.prestige === 3) { // slave is extremely prestigious from porn cash *= 1.7; } // FIXME: needed when using healthPenalty()? if (slave.health.condition > 50) { // slave is very healthy or more cash *= 1.2; } else if (slave.health.condition < -20) { cash *= 0.9; } // TODO: add checks for family and relationships if (slave.face > 40) { // slave is beautiful or more cash *= 1.4; } else if (slave.face > 10) { // slave is very pretty or more cash *= 1.1; } else if (slave.face < -10) { // slave is less than unattractive cash *= 0.9; } else if (slave.face < -40) { // slave is less than ugly cash *= 0.7; } setSlaveDevotion(cash); setSlaveTrust(cash); if (slave.weight > 30) { // slave is curvy or more if (arcology.FSHedonisticDecadence !== "unset") { cash *= 0.8; } } else if (slave.weight < -30) { // slave is very thin or less cash *= 0.8; // TODO: put this on a scale } // FIXME: marked for rewrite if (slave.muscles > 30) { // slave is muscular or more cash *= 0.9; } else if (slave.muscles < -30) { // slave is very weak or less cash *= 0.6; } if (!canSeePerfectly(slave)) { if (canSee(slave)) { cash *= 0.8; } else { cash *= 0.6; } } if (!canHear(slave)) { cash *= 0.8; } if (isPreg(slave)) { cash *= 0.8; // TODO: not sure how to incorporate pregnancy } // TODO: incorporate skills cash *= healthPenalty(slave); if (slave.intelligence > 50) { // slave is very smart or better cash *= 1.4; } else if (slave.intelligence < -50) { // slave is very slow or less cash *= 0.6; } if (slave.energy > 95) { // slave is a nymphomaniac cash *= 1.5; } else if (slave.energy > 80) { // slave has powerful sex drive cash *= 1.3; } else if (slave.energy > 60) { // slave has good sex drive cash *= 1.1; } else if (slave.energy > 40) { // slave has average sex drive cash *= 0.9; } else if (slave.energy > 20) { // slave has poor sex drive cash *= 0.8; } else { // slave has no sex drive cash *= 0.6; } switch (slave.fetish) { case "submissive": case "humiliation": if (V.seeBestiality) { if (slave.fetishKnown) { cash *= 1.1; } else { slave.fetishKnown = jsRandom(1, 100) > 80 ? 1 : 0; } } else { if (slave.fetishKnown) { cash *= 0.9; } else { slave.fetishKnown = jsRandom(1, 100) > 80 ? 1 : 0; } } break; default: break; } switch (slave.behavioralFlaw) { case "devout": case "arrogant": cash *= 0.9; break; default: break; } switch (slave.behavioralQuirk) { case "sinful": cash *= 1.1; break; default: break; } switch (slave.sexualFlaw) { case "shamefast": cash *= 1.1; break; default: break; } switch (slave.sexualQuirk) { case "perverted": cash *= 1.1; break; default: break; } return cash; } function setSlaveDevotion(amount) { const slaveApproves = () => sexualQuirks.includes(slave.sexualQuirk) || behavioralQuirks.includes(slave.behavioralQuirk) || fetishes.includes(slave.fetish); if (slave.devotion > 50) { amount *= 1.5; if (V.seeBestiality) { if (slaveApproves) { slave.devotion += 2; } else { slave.devotion--; } } if (V.farmyardBreeding) { if (slaveApproves) { slave.devotion += 2; } else { slave.devotion--; } } if (V.farmyardRestraints) { if (slaveApproves) { slave.devotion += 3; } else { slave.devotion -= 2; } } } else if (slave.devotion < -50) { amount *= 0.5; if (V.seeBestiality) { if (slaveApproves) { slave.devotion++; } else { slave.devotion -= 2; } } if (V.farmyardBreeding) { if (slaveApproves) { slave.devotion++; } else { slave.devotion -= 2; } } if (V.farmyardRestraints) { if (slaveApproves) { slave.devotion += 2; } else { slave.devotion -= 3; } } } return amount; } function setSlaveTrust(amount) { const slaveApproves = () => sexualQuirks.includes(slave.sexualQuirk) || behavioralQuirks.includes(slave.behavioralQuirk) || fetishes.includes(slave.fetish); if (slave.trust > 50) { amount *= 1.2; if (V.seeBestiality) { if (slaveApproves) { slave.trust += 2; } else { slave.trust--; } } if (V.farmyardBreeding) { if (slaveApproves) { slave.trust += 2; } else { slave.trust--; } } if (V.farmyardRestraints) { if (slaveApproves) { slave.trust += 3; } else { slave.trust -= 2; } } } else if (slave.trust < -50) { amount *= slave.devotion > 50 ? 1.2 : 0.9; if (V.seeBestiality) { if (slaveApproves) { slave.trust++; } else { slave.trust -= 2; } } if (V.farmyardBreeding) { if (slaveApproves) { slave.trust++; } else { slave.trust -= 2; } } if (V.farmyardRestraints) { if (slaveApproves) { slave.trust += 2; } else { slave.trust -= 3; } } } return amount; } };
MonsterMate/fc
src/facilities/farmyard/shows/farmShowsIncome.js
JavaScript
mit
11,933
/** * Returns a string describing the effects of the slave putting on shows only * To see full effects, see farmyardShows.js * @param {App.Entity.SlaveState} slave * @returns {string} */ App.Facilities.Farmyard.putOnShows = function(slave) { const {he, him, his, hers, He, His} = getPronouns(slave); const incomeStats = getSlaveStatisticData(slave, V.facility.farmyard); const arcology = V.arcologies[0]; const _beautiful = beautiful(slave); const _pretty = pretty(slave); const heavyMods = SlaveStatsChecker.modScore(slave).total > 20; let r = []; incomeStats.income += App.Facilities.Farmyard.farmShowsIncome(slave); r.push(`${He} also puts on shows with animals this week.`); // Open FS Subsection if (arcology.FSSupremacist !== "unset") { if (isSuperiorRace(slave)) { if (V.seeBestiality) { r.push(`Society <span class="reputation dec">disapproves</span> of your allowing a member of the elite race to be degraded in such a fashion, and thus ${he} didn't earn as much.`); } else { r.push(`Since ${arcology.FSSupremacistRace} slaves are in fashion, ${he} attracts a little more attention than if ${he} wasn't ${arcology.FSSupremacistRace}.`); } } else { r.push(`Society doesn't disapprove of ${him} not being ${arcology.FSSupremacistRace}, but ${he} doesn't earn as much as ${he} would if ${he} was.`); } } if (arcology.FSSubjugationist !== "unset") { if (isInferiorRace(slave)) { if (V.seeBestiality) { r.push(`Society <span class="reputation inc">approves</span> of the degradation you submit your ${arcology.FSSubjugationistRace} slaves to, and so ${he} earns you a bit more.`); } else { r.push(`Fewer people want to go see a ${arcology.FSSubjugationistRace} slave put on a show, and so ${he} doesn't earn as much as ${he} otherwise could.`); } } else { r.push(`Society doesn't disapprove of ${him} not being ${arcology.FSSubjugationistRace}, but ${he} doesn't earn as much as ${he} would if ${he} was.`); } } if (arcology.FSRepopulationFocus !== "unset") { if (isPreg(slave)) { if (slave.eggType === "human") { r.push(`Society <span class="reputation inc">greatly approves</span> of your having pregnant slaves ${V.seeBestiality ? `have sex` : `put on shows`} with animals.`); } else { r.push(`Society is <span class="reputation dec">disgusted</span> by ${his} pregnancy when they realize that what it is in ${his} womb is not human.`); } } } if (arcology.FSRestart !== "unset") { if (isPreg(slave)) { if (isEliteBreeder(slave)) { if (slave.eggType === "human") { r.push(`Society is <span class="reputation dec">horrified</span> by the fact that you would dare defile a slave deemed fit for humanity's revival in such a manner, especially one that is carrying the future of the planet.`); } else { r.push(`Society is <span class="reputation dec">absolutely repulsed</span> by the fact that you would dare defile a slave deemed fit for humanity's revival in such a manner, especially when they learn that what is in ${his} womb is not even human.`); } } else { if (slave.eggType === "human") { r.push(`Society is <span class="reputation dec">extremely disgusted</span> by ${his} pregnancy and the fact that you would have ${him} ${V.seeBestiality ? `have sex` : `put on shows`} with animals while sporting a baby bump.`); } else { r.push(`Society is disgusted by ${his} pregnancy until they learn that what is in ${his} womb is not human.`); } } } else { if (V.seeBestiality && isEliteBreeder(slave)) { r.push(`Society is <span class="reputation dec">heavily disapproving</span> of the fact that you would dare defile a slave deemed fit for humanity's revival in such a manner.`); } } } if (arcology.FSGenderRadicalist !== "unset") { if (slave.dick > 0) { r.push(`${His} patrons <span class="reputation inc">approve</span> of the fact that ${he} has a dick.`); } else { r.push(`${His} patrons <span class="reputation dec">are disappointed</span> that ${he} doesn't have a dick.`); } } if (arcology.FSGenderFundamentalist !== "unset") { if (isPreg(slave) || setup.fakeBellies.includes(slave.bellyAccessory)) { r.push(`${His} viewers <span class="reputation inc">approve</span> of the fact that ${he} is sporting a baby bump${setup.fakeBellies.includes(slave.bellyAccessory) ? `, even though ${hers} isn't real` : ``}.`); } else { r.push(`${His} viewers <span class="reputation dec">are disappointed</span> that ${he} isn't pregnant.`); } } if (arcology.FSPaternalist !== "unset") { if (V.seeBestiality) { if (V.farmyardBreeding) { if (V.farmyardRestraints) { r.push(`Your citizens are <span class="reputation dec">extremely disapproving</span> of the fact that you would allow your slaves to be treated as nothing more than a bound breeding toy for your animals.`); } else { r.push(`Your citizens are <span class="reputation dec">highly disapproving</span> of the fact that you would allow your slaves to be treated as nothing more than a breeding toy for your animals.`); } } else { if (V.farmyardRestraints) { r.push(`Your citizens are <span class="reputation dec">very disapproving</span> of the fact that you would allow your slaves to be treated as nothing more than a bound toy for your animals.`); } else { r.push(`Your citizens are <span class="reputation dec">disapproving</span> of the fact that you would allow your slaves to be treated as nothing more than a toy for your animals.`); } } } else { // TODO: } } if (arcology.FSDegradationist !== "unset") { if (V.seeBestiality) { if (V.farmyardBreeding) { if (V.farmyardRestraints) { r.push(`Your citizens are <span class="reputation dec">extremely approving</span> of the fact that you would allow your slaves to be treated as nothing more than a bound breeding toy for your animals.`); } else { r.push(`Your citizens are <span class="reputation dec">highly approving</span> of the fact that you would allow your slaves to be treated as nothing more than a breeding toy for your animals.`); } } else { if (V.farmyardRestraints) { r.push(`Your citizens are <span class="reputation dec">very approving</span> of the fact that you would allow your slaves to be treated as nothing more than a bound toy for your animals.`); } else { r.push(`Your citizens are <span class="reputation dec">approving</span> of the fact that you would allow your slaves to be treated as nothing more than a toy for your animals.`); } } } else { // TODO: } } if (arcology.FSBodyPurist !== "unset") { if (SlaveStatsChecker.isModded(slave)) { r.push(`The members of the audience <span class="reputation dec">disapprove</span> that you would use a slave with ${heavyMods ? `such heavy` : ``} modifications to put on shows.`); } } if (arcology.FSTransformationFetishist !== "unset") { if (SlaveStatsChecker.isModded(slave)) { r.push(`The members of the audience <span class="reputation inc">approve</span> that you would use a slave with ${heavyMods ? `such heavy` : ``} modifications to put on shows.`); } } if (arcology.FSYouthPreferentialist !== "unset") { if (isYoung(slave)) { r.push(`${arcology.name}'s citizens <span class="reputation dec">disapprove</span> of your using such old slaves to put on shows.`); } else { r.push(`${arcology.name}'s citizens <span class="reputation inc">approve</span> of your using young slaves to put on shows.`); } } if (arcology.FSMaturityPreferentialist !== "unset") { if (isYoung(slave)) { r.push(`${arcology.name}'s citizens <span class="reputation inc">approve</span> of your using mature slaves to put on shows.`); } else { r.push(`${arcology.name}'s citizens <span class="reputation dec">disapprove</span> of your using such young slaves to put on shows.`); } } if (arcology.FSSlimnessEnthusiast !== "unset") { if (slimLawPass(slave)) { r.push(`${His} slim body <span class="reputation inc">attracts a wider audience.</span>`); } else { r.push(`Society finds your using a slave with such a flabby body <span class="reputation dec">disgusting.</span>`); } } // FIXME: marked for possible rewrite if (arcology.FSAssetExpansionist !== "unset") { if (isStacked(slave)) { r.push(`Society <span class="reputation inc">approves</span> of the fact that you respect their ideals in using a slave with larger assets.`); } } if (arcology.FSPastoralist !== "unset") { if (slave.boobs >= 1000) { r.push(`The fact that ${slave.slaveName} has such large udders <span class="reputation inc">pleases your citizens.</span>`); } if (slave.lactation > 0) { r.push(`Your citizens ${slave.boobs >= 1000 ? `also ` : ``}<span class="reputation inc">approve</span> of the fact that ${he} is visibly lactating.`); } } // FIXME: marked for review if (arcology.FSPhysicalIdealist !== "unset") { if (genderLawPass(slave)) { r.push(`The fact that ${slave.slaveName} has what is considered the ideal form also <span class="reputation inc">helps ${him} attract attention,</span> and so ${he} earns a bit more.`); } else { r.push(`${His} form isn't exactly what ${arcology.name}'s citizens consider ideal, and so ${he} doesn't <span class="reputation dec">earn as much.</span>`); } } // FIXME: marked for rewrite if (arcology.FSHedonisticDecadence !== "unset") { if (slave.weight > 10) { r.push(`Since ${slave.slaveName} is large enough for ${arcology.name}'s citizens, ${he} earns slightly more.`); } else { r.push(`${He} doesn't earn quite as much ${he} would have if ${he} was a bit larger in size.`); } } if (arcology.FSChattelReligionist !== "unset") { if (slave.devotion <= 20) { // TODO: write this } else { // TODO: write this } } if (arcology.FSPetiteAdmiration !== "unset") { if (heightPass(slave)) { r.push(`The fact that you are using such small slaves <span class="reputation inc">pleases your citizens.</span>`); } else { r.push(`The fact that you are using such small slaves <span class="reputation dec">displeases your citizens.</span>`); } } if (arcology.FSStatuesqueGlorification !== "unset") { if (heightPass(slave)) { r.push(`Your citizens <span class="reputation inc">approve</span> of your using such statuesque slaves for putting on shows.`); } else { r.push(`Your citizens <span class="reputation dec">disapprove</span> of your not using taller slaves for putting on shows.`); } } if (arcology.FSRomanRevivalist !== "unset") { // TODO: } if (arcology.FSAztecRevivalist !== "unset") { // TODO: } if (arcology.FSEgyptianRevivalist !== "unset") { // TODO: } if (arcology.FSEdoRevivalist !== "unset") { // TODO: } if (arcology.FSArabianRevivalist !== "unset") { // TODO: } if (arcology.FSChineseRevivalist !== "unset") { // TODO: } // Close FS Subsection if (setup.entertainmentCareers.includes(slave.career)) { r.push(`${He} has experience with putting on shows from ${his} life before ${he} was a slave, making ${him} more effective at putting on shows.`); } // FIXME: can slaves' careers overlap categories? if (setup.farmerCareers.includes(slave.career)) { r.push(`${He} ${setup.entertainmentCareers.includes(slave.career) ? `also` : ``} has experience in working with animals from ${his} life before ${he} was a slave, making ${him} more effective at putting on shows.`); } if (slave.prestige === 1) { r.push(`Because some of your citizens already know of ${him}, ${he} earns more.`); } else if (slave.prestige === 2) { r.push(`Because a lot of your citizens already know of ${him}, ${he} earns quite a bit more.`); } else if (slave.prestige === 3) { r.push(`Because ${he} is so famous, ${he} earns a lot more then ${he} would otherwise.`); } if (slave.porn.prestige === 1) { r.push(`${He} earns a bit more because some of your citizens already know ${him} from porn.`); } else if (slave.porn.prestige === 2) { r.push(`${He} earns quite a bit more because a lot of your citizens already know ${him} from porn.`); } else if (slave.porn.prestige === 3) { r.push(`${He} earns a lot more because ${he} is so famous from porn.`); } if (slave.health.condition > 50) { r.push(`${He} is in such excellent health that ${he} is able to put on longer and more energetic shows, earning you more.`); } else if (slave.health.condition < -20) { r.push(`${His} poor health negatively affects ${his} ability to put on good shows, cutting into your profits.`); } // TODO: add checks for family and relationships if (slave.face > 40) { r.push(`${He} is so ${_beautiful} that ${his} audience is willing to pay more to watch ${him} put on shows.`); } else if (slave.face > 10) { r.push(`${He} is so ${_pretty} that ${his} audience is willing to pay more to watch ${him} put on shows.`); } else if (slave.face < -10) { r.push(`${His} audience isn't willing to pay as much because of how unattractive ${his} face is.`); } else if (slave.face < -40) { r.push(`${His} audience isn't willing to pay as much because of how hard ${his} face is to look at.`); } // TODO: incorporate seeBestiality, breeding, and restraints if (slave.devotion > 50) { if (slave.trust > 50) { r.push(`${He} is so devoted that ${he} works ${his} hardest to make ${his} show a good one.`); } else if (slave.trust < -50) { r.push(`${He} is both devoted to you and terrified of you, so ${he} tries ${his} best to make ${his} show a good one.`); } } else if (slave.devotion < -50) { if (slave.trust > 50) { r.push(`${slave.slaveName} purposefully does the bare minimum ${he} can get away with to spite you.`); } else if (slave.trust < -50) { r.push(`${slave.slaveName} refuses to do anything without punishment, which is evident from ${his} meager earnings.`); } } // FIXME: marked for rewrite if (slave.weight > 30) { if (arcology.FSHedonisticDecadence === "unset") { r.push(`Your citizens are not willing to pay as much to see such a fat slave put on shows, so ${he} loses some income.`); } } else if (slave.weight < -30) { r.push(`Your citizens don't like watching such a sickly-looking slaves put on shows, so ${he} loses some income.`); } if (slave.muscles > 30) { // TODO: write this - do we want something for muscles? } else if (slave.muscles < -30) { r.push(`${slave.slaveName} is so weak that ${he} cannot even properly handle the animals ${he}'s assigned to ${V.seeBestiality ? `fuck` : `work with`}, and isn't able to put on any sort of meaningful show.`); } if (!canSeePerfectly(slave)) { r.push(`${His} ${!canSee(slave) ? `blindness makes it impossible` : `nearsightedness makes it harder`} for ${him} to see what ${he}'s doing, affecting ${his} ability to put on a good show.`); } if (slave.hears < 0) { r.push(`${His} ${slave.hears < -1 ? `lack of` : `poor`} hearing makes it difficult for ${him} to hear what ${his} audience wants from ${him}, which really affects ${his} earnings.`); } // FIXME: marked for rewrite if (isPreg(slave)) { r.push(`${His}${slave.bellyPreg > 100000 ? ` advanced` : ``} pregnancy makes it more difficult for him to effectively put on a good show.`); } if (slave.health.tired > 60) { r.push(`${He} is so tired that the energy in ${his} shows is basically nonexistent, affecting ${his} profits.`); } if (slave.intelligence > 50) { r.push(`Because ${he} is so intelligent, ${he} is able to tailor ${his} shows to ${his} audience, helping ${him} bring in more in profits.`); } else if (slave.intelligence < -50) { r.push(`${He} is so slow that all ${he} can really do is just ${V.seeBestiality ? `lie there and take it` : `put on the most basic of moves`}, which your audience finds dull and uninteresting.`); } if (slave.energy > 95) { r.push(`The fact that ${he} is a nymphomaniac helps ${him} to go for longer, allowing ${him} to really put on an amazing show.`); } else if (slave.energy > 80) { r.push(`The fact that ${his} sex drive is so powerful helps ${him} to really put on good shows.`); } else if (slave.energy > 60) { r.push(`The fact that ${his} sex drive is so good helps ${him} to put on good shows.`); } else if (slave.energy > 40) { r.push(`${His} average sex drive allows ${him} to put on a decent show.`); } else if (slave.energy > 20) { r.push(`The fact that ${his} sex drive is so poor affects ${his} performance.`); } else { r.push(`The fact that ${his} sex drive is nonexistent really hinders ${his} ability to put on a decent show.`); } // TODO: add more to the fetishes and flaws / quirks switch (slave.fetish) { case "submissive": if (V.seeBestiality) { if (slave.fetishKnown) { r.push(`${He} is so submissive that ${he} willingly accepts ${his} position as an animal's fucktoy and <span class="reputation inc">is able to put on a decent show</span>.`); } else { r.push(`${S.HeadGirl ? `${S.HeadGirl.slaveName} notices` : `You notice`} that ${slave.slaveName} seems to have really taken to ${his} position as a fucktoy for animals. <span class="lightcoral">${He}'s a submissive!</span>`); } } else { if (slave.fetishKnown) { r.push(`Being a submissive, ${he} <span class="reputation dec">doesn't have the confidence required</span> to really put on a good show.`); } else { r.push(`${slave.slaveName} doesn't seem to have the type of fortitude needed to put on a show, and after some probing, you discover why - it turns out <span class="lightcoral">${he}'s a submissive!</span>`); } } break; case "humiliation": if (V.seeBestiality) { if (slave.fetishKnown) { r.push(`${slave.slaveName} uses the most of this humiliating experience to really put on a show, to <span class="reputation inc">the approval of ${his} audience</span>.`); } else { // TODO: } } else { // TODO: not sure about this one } break; default: break; } switch (slave.behavioralFlaw) { case "arrogant": r.push(`Because ${he} is so arrogant, ${he} tries ${his} hardest to avoid ${V.seeBestiality ? `fucking animals` : `putting on shows`}, <span class="cash dec">which affects ${his} profits</span> and <span class="reputation dec">your reputation.</span>`); break; case "devout": r.push(`${He} often prays ${V.seeBestiality ? ` while getting fucked by animals` : ` during ${his} shows`}, which your citizens <span class="reputation dec">find off-putting.</span>`); break; default: break; } switch (slave.behavioralQuirk) { case "sinful": r.push(`${He} relishes in ${his} ability to do something so sinful and depraved, and <span class="reputation inc">really puts on a show.</span>`); break; default: break; } switch (slave.sexualFlaw) { case "shamefast": r.push(`${His} crippling shamefastness <span class="reputation dec">limits ${his} ability</span> to put on a decent show.`); break; default: break; } switch (slave.sexualQuirk) { case "perverted": r.push(`${His} shows are a <span class="reputation inc">real spectacle,</span> since ${he} is so perverted that ${he} is willing to go far beyond the bare minimum.`); break; default: break; } return r.join(' '); };
MonsterMate/fc
src/facilities/farmyard/shows/saFarmyardShows.js
JavaScript
mit
19,305
App.Data.Facilities.headGirlSuite = { baseName: "HGSuite", genericName: null, jobs: { HGToy: { position: "Head Girl's toy", assignment: Job.HEADGIRLSUITE, publicSexUse: true, fuckdollAccepted: false } }, defaultJob: "HGToy", manager: { position: "Head Girl", assignment: Job.HEADGIRL, careers: App.Data.misc.HGCareers, skill: "headGirl", publicSexUse: false, fuckdollAccepted: false, broodmotherAccepted: false, shouldWalk: true, shouldHold: true, shouldSee: true, shouldHear: true, shouldTalk: true, shouldThink: true, requiredDevotion: 51 } }; App.Entity.Facilities.HeadGirlSuite = class extends App.Entity.Facilities.SingleJobFacility { constructor() { super(App.Data.Facilities.headGirlSuite); } /** @override */ occupancyReport(long) { return this.manager.currentEmployee ? `HG${this.hostedSlaves ? long ? ` and ${getPronouns(this.manager.currentEmployee).his} slave` : ", 1" : ""}` : ""; } }; App.Entity.facilities.headGirlSuite = new App.Entity.Facilities.HeadGirlSuite();
MonsterMate/fc
src/facilities/headGirlSuite/headGirlSuiteFramework.js
JavaScript
mit
1,057
.incubator-underscore { border-bottom: 1px solid; } .incubator-tank { border-bottom: 2px solid cyan; border-top: 2px solid cyan; border-radius: 15px; padding: 0.5em; }
MonsterMate/fc
src/facilities/incubator/incubator.css
CSS
mit
174
:: Incubator [nobr jump-to-safe jump-from-safe] <<includeDOM App.UI.incubator()>>
MonsterMate/fc
src/facilities/incubator/incubator.tw
tw
mit
82