Skip to content
Snippets Groups Projects
Commit 86133679 authored by anon's avatar anon
Browse files

Minor fixes II.

parent 1c92fc82
No related branches found
No related tags found
1 merge request!1340TechncianPcSkill
......@@ -42,22 +42,22 @@ The arcology has an estimated GSP of @@.yellowgreen;<<print cashFormat(Math.trun
<</if>>
its neighbors.
<<if $arcologies[0].hackingFinanical = 1 && $arcologies[$i].name == $arcologies[0].hackingFinanicalTarget>>
<<if $arcologies[0].hackingFinanical == 1 && $arcologies[$i].name == $arcologies[0].hackingFinanicalTarget>>
<br>You have gained @@.yellowgreen;<<print cashFormat(Math.trunc((0.1*$arcologies[$i].prosperity*random(100-$economicUncertainty,100+$economicUncertainty))/100))>>m,@@ from your hacking campaign.
<<set $arcologies[$i].prosperity -= random (5,10)>>
<<elseif $arcologies[0].hackingFinanical = 2 && $arcologies[$i].name == $arcologies[0].hackingFinanicalTarget>>
<<elseif $arcologies[0].hackingFinanical == 2 && $arcologies[$i].name == $arcologies[0].hackingFinanicalTarget>>
<br>You have gained @@.yellowgreen;<<print cashFormat(Math.trunc((0.3*$arcologies[$i].prosperity*random(100-$economicUncertainty,100+$economicUncertainty))/100))>>m,@@ from your hacking campaign
<<set $arcologies[$i].prosperity -= random (10,20)>>
<<elseif $arcologies[0].hackingFinanical = 3 && $arcologies[$i].name == $arcologies[0].hackingFinanicalTarget>>
<<elseif $arcologies[0].hackingFinanical == 3 && $arcologies[$i].name == $arcologies[0].hackingFinanicalTarget>>
<br>You have gained @@.yellowgreen;<<print cashFormat(Math.trunc((0.3*$arcologies[$i].prosperity*random(100-$economicUncertainty,100+$economicUncertainty))/100))>>m,@@ from your hacking campaign
<<set $arcologies[$i].prosperity -= random (30,35)>>
<</if>>
<<if $arcologies[0].hackingReputation = 1 && $arcologies[$i].name == $arcologies[0].hackingReputationTarget>>
<<if $arcologies[0].hackingReputation == 1 && $arcologies[$i].name == $arcologies[0].hackingReputationTarget>>
<<set $arcologies[$i].prosperity -= random (5,10), $activeArcology.PCminority += $activeArcology.PCminority+.1, $activeArcology.ownership -= $activeArcology.ownership-.1>>
<<elseif $arcologies[0].hackingReputation = 2 && $arcologies[$i].name == $arcologies[0].hackingReputationTarget>>
<<elseif $arcologies[0].hackingReputation == 2 && $arcologies[$i].name == $arcologies[0].hackingReputationTarget>>
<<set $arcologies[$i].prosperity -= random (5,10), $activeArcology.PCminority += $activeArcology.PCminority+.2, $activeArcology.ownership -= $activeArcology.ownership-.2>>
<<elseif $arcologies[0].hackingReputation = 3 && $arcologies[$i].name == $arcologies[0].hackingReputationTarget>>
<<elseif $arcologies[0].hackingReputation == 3 && $arcologies[$i].name == $arcologies[0].hackingReputationTarget>>
<<set $arcologies[$i].prosperity -= random (5,10), $activeArcology.PCminority += $activeArcology.PCminority+.3, $activeArcology.ownership -= $activeArcology.ownership-.3>>
<</if>>
......
......@@ -514,14 +514,11 @@
<</if>>
<<if $PC.hacking >= 50>>
<<if $securityForceActive == 1 || $mercenaries >= 1 || $activeUnits > 0 || $Bodyguard != 0 || $cash >= 20000>>
<set $recruit.push("Held POW")>>
<<set $recruit.push("Held POW")>>
<</if>>
<<if $familyTesting == 1 && $securityForceActive == 1 || $mercenaries >= 1 || $activeUnits > 0 || $Bodyguard != 0 || $cash >= 20000>>
<<if $PC.mother == 0>>
<set $recruit.push("Lost mother")>>
<</if>>
<<if $PC.father == 0>>
<set $recruit.push("Lost father")>>
<<set $recruit.push("Lost mother")>>
<</if>>
<</if>>
<</if>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment