Skip to content
Snippets Groups Projects
Commit 93b71e5d authored by kopareigns's avatar kopareigns
Browse files

Pseudo-fix

parent 39c9b0da
No related branches found
No related tags found
2 merge requests!2955resync + missingParentID stuff,!2947Pseudo-fix
...@@ -35145,7 +35145,7 @@ window.ArcologyDatatypeCleanup = function ArcologyDatatypeCleanup() { ...@@ -35145,7 +35145,7 @@ window.ArcologyDatatypeCleanup = function ArcologyDatatypeCleanup() {
V.ASlaveLimit = Math.max(+V.ASlaveLimit, 0) || 0; V.ASlaveLimit = Math.max(+V.ASlaveLimit, 0) || 0;
V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0; V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0;
V.arcologies[0].prosperity = Math.max(+V.arcologies[0].prosperity, 0) || 0; V.arcologies[0].prosperity = Math.clamp(+V.arcologies[0].prosperity, 1, 300) || 1;
V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0; V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0;
V.arcologies[0].ownership = Math.clamp(+V.arcologies[0].ownership, 0, 100) || 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; V.arcologies[0].minority = Math.clamp(+V.arcologies[0].minority, 0, 100) || 0;
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<<if $SF.Regs == "none">> <<set _actionMultiplier *= 0.8,_SFD += 0.05,_Trade += _Trade*.95>> <<if $SF.Regs == "none">> <<set _actionMultiplier *= 0.8,_SFD += 0.05,_Trade += _Trade*.95>>
<<elseif $SF.Regs == "strict">> <<set _actionMultiplier *= 1.1,_SFD -= 0.05,_Trade += _Trade*1.05>> <</if>> <<elseif $SF.Regs == "strict">> <<set _actionMultiplier *= 1.1,_SFD -= 0.05,_Trade += _Trade*1.05>> <</if>>
<<set _depravityMultiplier = 1+_SFD>> <<set _depravityMultiplier = 1+_SFD>>
<<if _SFD != 0>> <<if _SFD > -2>>
<<set _Trade *= 1+_SFD/2>><</if>> <<set _Trade *= 1+_SFD/2>><</if>>
<<if $SF.Target == "recruit">> <<set _FNGs += Math.ceil((_FNGs)*.95)>> <<if $SF.Target == "recruit">> <<set _FNGs += Math.ceil((_FNGs)*.95)>>
......
...@@ -690,7 +690,7 @@ window.ArcologyDatatypeCleanup = function ArcologyDatatypeCleanup() { ...@@ -690,7 +690,7 @@ window.ArcologyDatatypeCleanup = function ArcologyDatatypeCleanup() {
V.ASlaveLimit = Math.max(+V.ASlaveLimit, 0) || 0; V.ASlaveLimit = Math.max(+V.ASlaveLimit, 0) || 0;
V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0; V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0;
V.arcologies[0].prosperity = Math.max(+V.arcologies[0].prosperity, 0) || 0; V.arcologies[0].prosperity = Math.clamp(+V.arcologies[0].prosperity, 1, 300) || 1;
V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0; V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0;
V.arcologies[0].ownership = Math.clamp(+V.arcologies[0].ownership, 0, 100) || 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; V.arcologies[0].minority = Math.clamp(+V.arcologies[0].minority, 0, 100) || 0;
......
...@@ -77,6 +77,8 @@ ...@@ -77,6 +77,8 @@
<<set $surgeryCost = Math.trunc(30000/$localEcon)>> <<set $surgeryCost = Math.trunc(30000/$localEcon)>>
<</if>> <</if>>
<<set $arcologies[0].prosperity = Math.clamp($arcologies[0].prosperity, 1, 300)>>
<<set $averageTrust = 0, $averageDevotion = 0, _slavesContributing = 0, _OldHG = -1, _NewHG = -1, _SL = $slaves.length>> <<set $averageTrust = 0, $averageDevotion = 0, _slavesContributing = 0, _OldHG = -1, _NewHG = -1, _SL = $slaves.length>>
<<if $studio == 1>> <<if $studio == 1>>
<<set $pornStars = 0, $pornStarFuckdolls = 0, $pornStarRapees = 0, $pornStarPreggos = 0, <<set $pornStars = 0, $pornStarFuckdolls = 0, $pornStarRapees = 0, $pornStarPreggos = 0,
......
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