Skip to content
Snippets Groups Projects
Commit 4be78f73 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'hotfixes' into 'pregmod-master'

NaN Fixes

See merge request pregmodfan/fc-pregmod!3433
parents e737dc33 23939956
No related branches found
No related tags found
1 merge request!3433NaN Fixes
...@@ -233,10 +233,10 @@ $He also puts on shows with animals this week. ...@@ -233,10 +233,10 @@ $He also puts on shows with animals this week.
/* CLOSE FS SUBSECTION */ /* CLOSE FS SUBSECTION */
<<if setup.entertainmentCareers.includes($slaves[_i].career)>> <<if setup.entertainmentCareers.includes(_slave.career)>>
<</if>> <</if>>
<<if setup.farmerCareers.includes($slaves[_i].career)>> <<if setup.farmerCareers.includes(_slave.career)>>
<</if>> <</if>>
<<if _slave.prestige == 1>> <<if _slave.prestige == 1>>
...@@ -439,7 +439,7 @@ $He also puts on shows with animals this week. ...@@ -439,7 +439,7 @@ $He also puts on shows with animals this week.
<<if _slave.assignment == "work as a farmhand">> <<if _slave.assignment == "work as a farmhand">>
<<if $farmyardDecoration != "standard">> <<if $farmyardDecoration != "standard">>
<<set _fsGain = Math.min(0.0001*$FSSingleSlaveRep*(_food+5*$cum), 1)>> <<set _fsGain = Math.min(0.0001*$FSSingleSlaveRep*(_food), 1)>>
<<switch $farmyardDecoration>> <<switch $farmyardDecoration>>
<<case "Roman Revivalist">> <<case "Roman Revivalist">>
<<set $arcologies[0].FSRomanRevivalist = Math.clamp($arcologies[0].FSRomanRevivalist += _fsGain,0,100)>> <<set $arcologies[0].FSRomanRevivalist = Math.clamp($arcologies[0].FSRomanRevivalist += _fsGain,0,100)>>
......
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