Skip to content
Snippets Groups Projects
Commit ae13656a authored by Pregmodder's avatar Pregmodder
Browse files

event tweaks

parent a23b3e74
No related branches found
No related tags found
No related merge requests found
...@@ -24,10 +24,6 @@ App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends A ...@@ -24,10 +24,6 @@ App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends A
} = getPronouns(eventSlave); } = getPronouns(eventSlave);
const belly = bellyAdjective(eventSlave); const belly = bellyAdjective(eventSlave);
/** @type {App.Entity.PlayerState} */
let PC = V.PC;
V.nextLink = "Next Week"; V.nextLink = "Next Week";
App.Events.drawEventArt(node, eventSlave); App.Events.drawEventArt(node, eventSlave);
...@@ -35,7 +31,13 @@ App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends A ...@@ -35,7 +31,13 @@ App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends A
let t = []; let t = [];
t.push(App.UI.DOM.slaveDescriptionDialog(eventSlave)); 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}. ${He} heads out past your desk toward the arcology's lower floors to offer ${himself} freely to everyone ${he} meets.`); 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); App.Events.addParagraph(node, t);
t = []; t = [];
...@@ -111,10 +113,12 @@ App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends A ...@@ -111,10 +113,12 @@ App.Events.RESSServeThePublicDevoted = class RESSServeThePublicDevoted extends A
function share() { function share() {
let frag = document.createDocumentFragment(); let frag = document.createDocumentFragment();
t = []; t = [];
if (canMove(eventSlave)) { 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.`); t.push(`${eventSlave.slaveName} is surprised to find you walking beside ${him}, but obediently falls in behind you as a proper slave should.`);
} else { } else if (canMove(eventSlave)) {
t.push(`You scoop ${eventSlave.slaveName}'s limbless form up and carry ${him} out.`); 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 ${isAmuptee(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`); 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) { if (V.PC.dick === 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment