diff --git a/src/js/futureSocietyJS.js b/src/js/futureSocietyJS.js index bacc24c4d70e8fe9a665c065fc6c038f5fb570c5..57b68a487060e7c04c5a8ba112554d9591871ec8 100644 --- a/src/js/futureSocietyJS.js +++ b/src/js/futureSocietyJS.js @@ -1,8 +1,8 @@ window.FutureSocieties = (function() { return { - remove: removeFS - resetCredits: resetFSCredits, - } + remove: removeFS, + resetCredits: resetFSCredits + }; // call as FutureSocieties.remove(FS) // FS must be a string (e.g. "FSPaternalist" or "FSDegradationist"). @@ -13,7 +13,7 @@ window.FutureSocieties = (function() { const FSSMR = FS + "SMR"; let FSLaw = FS + "Law"; if (arcology[FS] === undefined) { - console.log(`ERROR: bad FS reference, $arcologies[0].${FS} not defined`) + console.log(`ERROR: bad FS reference, $arcologies[0].${FS} not defined`); return; } diff --git a/src/utility/miscWidgets.tw b/src/utility/miscWidgets.tw index ad4a6170a1dd8f759702f208d3e9e91ab988ce74..d5ec0b01f6d1f16a00e375d94c365a76783cce00 100644 --- a/src/utility/miscWidgets.tw +++ b/src/utility/miscWidgets.tw @@ -685,6 +685,8 @@ This experience [[Customize the exterior of the arcology to support this goal|Future Society][$arcologies[0][_FSDecoration] = 100, State.variables[$args[1]] = 1, State.variables[$args[2]] = 1, State.variables[$args[3]] = 1, cashX(-20000, "capEx")]] //Costs <<print cashFormat(20000)>>// <<elseif def $args[1]>> [[Customize the exterior of the arcology to support this goal|Future Society][$arcologies[0][_FSDecoration] = 100, State.variables[$args[1]] = 1, cashX(-20000, "capEx")]] //Costs <<print cashFormat(20000)>>// + <<elseif $args[0] == "FSRestart">> + [[Customize the exterior of the arcology to support this goal and fully establish the Societal Elite|Future Society][$arcologies[0].FSRestartDecoration = 100, $upgradeMultiplierArcology = upgradeMultiplierArcology(), $upgradeMultiplierMedicine = 0.5, $cash -= 75000]] //Costs <<print cashFormat(75000)>> and may dilute your control over the arcology// <<else>> [[Customize the exterior of the arcology to support this goal|Future Society][$arcologies[0][_FSDecoration] = 100, cashX(-20000, "capEx")]] //Costs <<print cashFormat(20000)>>// <</if>>