Skip to content
Snippets Groups Projects
Commit 347bb9ef authored by Anu's avatar Anu
Browse files

Update src/uncategorized/slaveInteract.tw

parent e5fab7cf
No related branches found
No related tags found
1 merge request!5461Fix psychostim conditions
...@@ -1047,7 +1047,7 @@ ...@@ -1047,7 +1047,7 @@
<</if>> <</if>>
<<if $arcologies[0].FSSlaveProfessionalismResearch == 1>> <<if $arcologies[0].FSSlaveProfessionalismResearch == 1>>
<<set _origIntel = $genePool.find(function(s) { return s.ID == $activeSlave.ID; }).intelligence>> <<set _origIntel = $genePool.find(function(s) { return s.ID == $activeSlave.ID; }).intelligence>>
<<if (_origIntel+15 < $activeSlave.intelligence) && ($activeSlave.intelligence < 100)>> <<if ($activeSlave.intelligence < _origIntel+15) && ($activeSlave.intelligence < 100)>>
| <<link "Psychostimulants">><<set $activeSlave.drugs = "psychostimulants">><<SlaveInteractDrugs>><</link>> | <<link "Psychostimulants">><<set $activeSlave.drugs = "psychostimulants">><<SlaveInteractDrugs>><</link>>
<<else>> <<else>>
| Psychostimulants | Psychostimulants
......
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