diff --git a/src/Mods/SecExp/buildings/riotControlCenter.js b/src/Mods/SecExp/buildings/riotControlCenter.js index 8c15159d4104c08fb4c87315e43145a5801f8eab..48f95762ceec62e2bccafb9ef92f9bcc6b902794 100644 --- a/src/Mods/SecExp/buildings/riotControlCenter.js +++ b/src/Mods/SecExp/buildings/riotControlCenter.js @@ -237,7 +237,7 @@ App.Mods.SecExp.riotCenter = (function() { `Deploy the unit against ${type} rebel leaders`, () => { const price = forceNeg(1000 + 50 * V.SecExp.buildings.riotCenter.upgrades.rapidUnit); - (function() { cost === "reputation" ? repX(price, "war") : App.Mods.SecExp.authorityX(-price); })(); + (function() { cost === "reputation" ? repX(price, "war") : App.Mods.SecExp.authorityX(price); })(); const change = random(15) + random(1, 2) * V.SecExp.buildings.riotCenter.upgrades.rapidUnit; V.SecExp.rebellions[type + "Progress"] = Math.clamp(V.SecExp.rebellions[type + "Progress"] - change, 0, 100); V.SecExp.buildings.riotCenter.sentUnitCooldown = 3 - V.SecExp.buildings.riotCenter.upgrades.rapidUnitSpeed; diff --git a/src/facilities/penthouse/HGSelect.js b/src/facilities/penthouse/HGSelect.js index 1001e4333b008e1567aa15f81cd952956cd8bf98..bc70420ccf8d05ace725204ee8ba4a5ca233a0b9 100644 --- a/src/facilities/penthouse/HGSelect.js +++ b/src/facilities/penthouse/HGSelect.js @@ -147,6 +147,7 @@ App.Facilities.HGSelect = function() { } App.Events.addNode(f, r, "div", "indent"); + r = []; if (V.seePreg !== 0) { if (V.universalRulesImpregnation === "HG") { App.UI.DOM.appendNewElement("div", f, `${HGName} is responsible for impregnating fertile slaves.`); @@ -183,19 +184,19 @@ App.Facilities.HGSelect = function() { } else { App.UI.DOM.appendNewElement("div", f, `However, ${S.HeadGirl.slaveName} cannot perform this duty.`); } - r.push(App.UI.DOM.link(` Rescind ${his} impregnation responsibility`, () => { + r.push(App.UI.DOM.link(`Rescind ${his} impregnation responsibility`, () => { V.universalRulesImpregnation = "none"; App.UI.reload(); })); - r.push(App.UI.DOM.link(` See to it yourself`, () => { + r.push(App.UI.DOM.link(`See to it yourself`, () => { V.universalRulesImpregnation = "PC"; App.UI.reload(); })); - f.append(App.UI.DOM.generateLinksStrip(r)); + f.append(' ', App.UI.DOM.generateLinksStrip(r)); } else { if (canPenetrate(S.HeadGirl) && S.HeadGirl.pubertyXY === 1) { - App.UI.DOM.appendNewElement("div", f, `${HGName} is capable of impregnating slaves, but it's not part of ${his} responsibilities.`).append( - App.UI.DOM.link(` Assign ${him} to impregnate`, () => { + App.UI.DOM.appendNewElement("div", f, `${HGName} is capable of impregnating slaves, but it's not part of ${his} responsibilities. `).append( + App.UI.DOM.link(`Assign ${him} to impregnate`, () => { V.universalRulesImpregnation = "HG"; App.UI.reload(); })); diff --git a/src/interaction/main/walkPast.js b/src/interaction/main/walkPast.js index 72a9c946a79420063b3d7c796fa14a1da81fc098..88701507d46114d4acd8a46931b40fc1b079d13f 100644 --- a/src/interaction/main/walkPast.js +++ b/src/interaction/main/walkPast.js @@ -1920,7 +1920,7 @@ globalThis.walkPast = (function() { } else if (!canWalk(slave)) { if (canMove(slave)) { if (slave.rules.mobility === "permissive") { - t += `wheels past your desk on ${his} way to`; + t += `wheels past your desk on ${his} way to `; } else { t += `crawls past your desk on `; if (hasBothArms(slave) && hasBothLegs(slave)) {