From b0e8c5e0d5f7dc4041c79e0cdf5babbd9e86c563 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Tue, 26 Mar 2019 23:40:46 +0100 Subject: [PATCH] revert doublequote --- src/endWeek/minorInjuryResponse.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/endWeek/minorInjuryResponse.js b/src/endWeek/minorInjuryResponse.js index 9ea6b997c36..d955c359411 100644 --- a/src/endWeek/minorInjuryResponse.js +++ b/src/endWeek/minorInjuryResponse.js @@ -13,10 +13,10 @@ window.minorInjuryResponse = /** @param {App.Entity.SlaveState} slave */ functio r += ` ${He} carries on, knowing that in your degradationist arcology, this is accepted behavior.`; } else if (arcology.FSPaternalist > 20) { if (arcologyUpgrade.drones === 1 && jsRandom(1, 100) > 50) { - r += " The security drones successfully detain him and oblige him to pay significant <span class=\"yellowgreen\">compensation,</span> since abusing slaves is discouraged here."; + r += ` The security drones successfully detain him and oblige him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`; cashX(50, "slaveUpkeep", slave); } else if (arcologyUpgrade.grid === 1 && jsRandom(1, 100) > 50) { - r += " The computer systems successfully detain him and require him to pay significant <span class=\"yellowgreen\">compensation,</span> since abusing slaves is discouraged here."; + r += ` The computer systems successfully detain him and require him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`; cashX(50, "slaveUpkeep", slave); } else if (slave.whoreSkill > jsRandom(1, 100)) { r += ` ${slave.slaveName} is used to this sort of thing, and convinces him to pay significant <span class="yellowgreen">compensation,</span> since abusing slaves is discouraged here.`; @@ -27,10 +27,10 @@ window.minorInjuryResponse = /** @param {App.Entity.SlaveState} slave */ functio } } else { if (arcologyUpgrade.drones === 1 && jsRandom(1, 100) > 50) { - r += " The security drones successfully detain him and oblige him to pay minor <span class=\"yellowgreen\">compensation.</span>"; + r += ` The security drones successfully detain him and oblige him to pay minor <span class="yellowgreen">compensation.</span>`; cashX(10, "slaveUpkeep", slave); } else if (arcologyUpgrade.grid === 1 && jsRandom(1, 100) > 50) { - r += " The computer systems successfully detain him and require him to pay minor <span class=\"yellowgreen\">compensation.</span>"; + r += ` The computer systems successfully detain him and require him to pay minor <span class="yellowgreen">compensation.</span>`; cashX(10, "slaveUpkeep", slave); } else if (slave.whoreSkill > jsRandom(1, 100)) { r += ` ${slave.slaveName} is used to this sort of thing, and convinces him to pay minor <span class="yellowgreen">compensation.</span>`; -- GitLab