diff --git a/src/endWeek/minorInjuryResponse.js b/src/endWeek/minorInjuryResponse.js index 9ea6b997c36a2ded3fd59dae399c5237a3436b51..d955c359411d6e595747c26b2653f32787b30441 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>`;