diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js index 9a03dc6c2725bab9f5cc2d37be6d7b5155fda0e5..0a425fdf3ccc4b7917d63c5ae41e6dc46fba65aa 100644 --- a/src/js/datatypeCleanupJS.js +++ b/src/js/datatypeCleanupJS.js @@ -1515,7 +1515,7 @@ window.EconomyDatatypeCleanup = function EconomyDatatypeCleanup() { V.ASlaves = Math.max(+V.ASlaves, 0) || 0; V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0; - V.arcologies[0].prosperity = Math.clamp(+V.arcologies[0].prosperity, 1, 300) || 1; + V.arcologies[0].prosperity = Math.clamp(+V.arcologies[0].prosperity, 1, V.AProsperityCap) || 1; V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0; V.arcologies[0].ownership = Math.clamp(+V.arcologies[0].ownership, 0, 100) || 0; V.arcologies[0].minority = Math.clamp(+V.arcologies[0].minority, 0, 100) || 0; diff --git a/src/uncategorized/buildingWidgets.tw b/src/uncategorized/buildingWidgets.tw index 835204499bb6de8ef90e214a728b239884bae04c..207dc5f6a51229cb383078cc96494a73c1e3d377 100644 --- a/src/uncategorized/buildingWidgets.tw +++ b/src/uncategorized/buildingWidgets.tw @@ -239,9 +239,7 @@ Updates $AProsperityCap, $Sweatshops. <</for>> <</if>> <<for _i = 8; _i <= 19; _i++>> - <<if $sectors[_i].type == "DenseApartments">> - <<set $AProsperityCap += 10>> - <<elseif $sectors[_i].type == "LuxuryApartments">> + <<if $sectors[_i].type == "LuxuryApartments">> <<set $AProsperityCap += 15>> <<else>> <<set $AProsperityCap += 10>> diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw index 158df4aacd920797a785afc79c1992b888a5e488..1ef1c36ef9a395b49f98a670447f128bd7900386 100644 --- a/src/uncategorized/nextWeek.tw +++ b/src/uncategorized/nextWeek.tw @@ -96,7 +96,7 @@ <<set $surgeryCost = Math.trunc(30000/$localEcon)>> <</if>> -<<set $arcologies[0].prosperity = Math.clamp($arcologies[0].prosperity, 1, 300)>> +<<set $arcologies[0].prosperity = Math.clamp($arcologies[0].prosperity, 1, $AProsperityCap)>> <<set $averageTrust = 0, $averageDevotion = 0, _slavesContributing = 0, _OldHG = -1, _NewHG = -1, _SL = $slaves.length>> <<if $studio == 1>>