From f6052c5d064c8bcfea25c2d240ddb6fd690db607 Mon Sep 17 00:00:00 2001 From: Anu <anulithic@gmail.com> Date: Thu, 2 Jun 2022 14:45:43 -0700 Subject: [PATCH] Undo secBarracks changes --- src/Mods/SecExp/buildings/secBarracks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mods/SecExp/buildings/secBarracks.js b/src/Mods/SecExp/buildings/secBarracks.js index 5a819812a44..8741fa04d33 100644 --- a/src/Mods/SecExp/buildings/secBarracks.js +++ b/src/Mods/SecExp/buildings/secBarracks.js @@ -95,17 +95,17 @@ App.Mods.SecExp.barracks = (function() { if (reasons.length > 0 || sectionSF) { const capSF = capFirstChar(V.SF.Lower || "the special force"); if (reasons.length > 0) { - App.UI.DOM.appendNewElement("div", node, `The Colonel says that ${capSF} may be able to provide assistance if ${toSentence(reasons)}.`); + App.UI.DOM.appendNewElement("div", node, `The Colonel says that ${capSF} may be able to provide assistance if; ${toSentence(reasons)}.`); } cost = Math.trunc( (750000 * (1.15 + (App.Mods.SF.upgrades.total() / 1000)) * (1.15 + (V.SF.Squad.Firebase / 10))) * App.Mods.SF.env() ); - if (sectionSF && !V.SecExp.sectionInFirebase) { - node.append(App.UI.DOM.link(`Direct the ${capSF} to provide the security force their own section in the Firebase `, () => { + if (sectionSF) { + node.append(App.UI.DOM.link(`${capSF} will provide the security force their own section in the Firebase.`, () => { V.SecExp.sectionInFirebase = 1; cashX(-cost, "specialForcesCap"); App.UI.reload(); } )); - App.UI.DOM.appendNewElement("span", node, `Costs ${cashFormat(cost)}`, "note"); + App.UI.DOM.appendNewElement("span", node, `${cashFormat(cost)}`, "cash.dec"); } } else { App.UI.DOM.appendNewElement("div", node, "You've expanded the barracks to their maximum."); -- GitLab