From 73755f6ee77dc165015069092d1d50877044375c Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 30 Oct 2020 12:43:02 -0400 Subject: [PATCH] found a search for embeded vars in string lit --- src/endWeek/economics/persBusiness.js | 2 +- src/endWeek/economics/reputation.js | 2 +- src/endWeek/saRules.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/endWeek/economics/persBusiness.js b/src/endWeek/economics/persBusiness.js index dfe8e4750b8..e5c9d3876af 100644 --- a/src/endWeek/economics/persBusiness.js +++ b/src/endWeek/economics/persBusiness.js @@ -523,7 +523,7 @@ App.EndWeek.personalBusiness = function() { V.SecExp.proclamation.cooldown = 4; V.personalAttention = "business"; } else { - r.push(`As you currently lack the minimum amount of your chosen proclamation currency, ${V.SecExp.proclamation.currency}, it would be unwise to attempt execution of your V.SecExp.proclamation.type this week.`); + r.push(`As you currently lack the minimum amount of your chosen proclamation currency, ${V.SecExp.proclamation.currency}, it would be unwise to attempt execution of your ${V.SecExp.proclamation.type} this week.`); } } diff --git a/src/endWeek/economics/reputation.js b/src/endWeek/economics/reputation.js index 700859646e8..49a05a566a6 100644 --- a/src/endWeek/economics/reputation.js +++ b/src/endWeek/economics/reputation.js @@ -640,7 +640,7 @@ App.EndWeek.reputation = function() { FutureSocieties.Change("EgyptianRevivalist", 5); } if (V.language !== "Ancient Egyptian") { - r.push(`Continuing to use ${V.language} as the lingua franca of V.arcologies[0].name rather than revived Ancient Egyptian <span class="red">disappoints</span> society and causes doubt about your revivalist project.`); + r.push(`Continuing to use ${V.language} as the lingua franca of ${V.arcologies[0].name} rather than revived Ancient Egyptian <span class="red">disappoints</span> society and causes doubt about your revivalist project.`); FutureSocieties.Change("EgyptianRevivalist", -2); } } else if (V.arcologies[0].FSEdoRevivalist !== "unset") { diff --git a/src/endWeek/saRules.js b/src/endWeek/saRules.js index 4ecf3c17775..ee970e46455 100644 --- a/src/endWeek/saRules.js +++ b/src/endWeek/saRules.js @@ -893,7 +893,7 @@ App.SlaveAssignment.rules = function(slave) { r.push(`is frigid and has little interest in getting off, making the rule restricting ${his} sexual outlets superfluous.`); slave.need = 0; } else if (slave.relationship === -3) { - r.push(`You make sure your troublesome ${wife}'s sexual needs are handled, openly, in the middle of V.cellblockName, where everyone can see, hear, and smell your dominance.`); + r.push(`You make sure your troublesome ${wife}'s sexual needs are handled, openly, in the middle of ${V.cellblockName}, where everyone can see, hear, and smell your dominance.`); slave.need = 0; if (canDoVaginal(slave) && slave.vagina > 0) { seX(slave, "penetrative", V.PC, "vaginal", 7); @@ -1230,7 +1230,7 @@ App.SlaveAssignment.rules = function(slave) { r.push(App.SlaveAssignment.nonAssignmentRelease(slave)); } - r.push(`${He} is <span class="hotpink">very happy</span> with ${his} private room in the back of ${V.nurseryName} and <span class="mediumaquamarine">trusts</span> you a bit more for placing the responsibility of raising V.arcologies[0].name's children in ${his}`); + r.push(`${He} is <span class="hotpink">very happy</span> with ${his} private room in the back of ${V.nurseryName} and <span class="mediumaquamarine">trusts</span> you a bit more for placing the responsibility of raising ${V.arcologies[0].name}'s children in ${his}`); if (!hasAnyArms(slave)) { r.push(`figurative`); } -- GitLab