Skip to content
Snippets Groups Projects
Commit 8be9e421 authored by kopareigns's avatar kopareigns
Browse files

Fixes, new and old

parent 7d1fbcff
No related branches found
No related tags found
No related merge requests found
window.FutureSocieties = (function() { window.FutureSocieties = (function() {
return { return {
remove: removeFS remove: removeFS,
resetCredits: resetFSCredits, resetCredits: resetFSCredits
} };
// call as FutureSocieties.remove(FS) // call as FutureSocieties.remove(FS)
// FS must be a string (e.g. "FSPaternalist" or "FSDegradationist"). // FS must be a string (e.g. "FSPaternalist" or "FSDegradationist").
...@@ -13,7 +13,7 @@ window.FutureSocieties = (function() { ...@@ -13,7 +13,7 @@ window.FutureSocieties = (function() {
const FSSMR = FS + "SMR"; const FSSMR = FS + "SMR";
let FSLaw = FS + "Law"; let FSLaw = FS + "Law";
if (arcology[FS] === undefined) { 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; return;
} }
......
...@@ -685,6 +685,8 @@ This experience ...@@ -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)>>// [[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]>> <<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)>>// [[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>> <<else>>
[[Customize the exterior of the arcology to support this goal|Future Society][$arcologies[0][_FSDecoration] = 100, cashX(-20000, "capEx")]] //Costs <<print cashFormat(20000)>>// [[Customize the exterior of the arcology to support this goal|Future Society][$arcologies[0][_FSDecoration] = 100, cashX(-20000, "capEx")]] //Costs <<print cashFormat(20000)>>//
<</if>> <</if>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment