Skip to content
Snippets Groups Projects
Commit 33f3870a authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'SecExp-Fix' into 'pregmod-master'

SecExp-Fix

Closes #2088

See merge request pregmodfan/fc-pregmod!7457
parents 1619c71c a2f948e9
No related branches found
No related tags found
Loading
......@@ -157,21 +157,21 @@ Your current maximum number of units is <<print App.SecExp.battle.maxUnits()>> (
<<= App.SecExp.getUnit("Bots").describe()>> <br>
<<if $secBots.active == 1>>
<<if $secBots.maxTroops > $secBots.troops>> <br>
<<link "Replenish the unit" "seeUnit">>
<<link "Replenish the unit" "secBarracks">>
<<run cashX(forceNeg(($secBots.maxTroops - $secBots.troops) * _secBotsCost), "securityExpansion")>>
<<set $secBots.troops = $secBots.maxTroops>>
<</link>>
<</if>>
<br>
<<if $secBots.maxTroops < 80>> <br>
<<link "Improve the digital control matrix" "seeUnit">>
<<link "Improve the digital control matrix" "secBarracks">>
<<set $secBots.maxTroops += 10>>
<<run cashX(-5000, "securityExpansion")>>
<</link>>
Invest in the development of more refined controls for your drones to increase the maximum number of drones in the unit.
<br>//Costs <<print cashFormat(5000)>> per upgrade and each will increase the max by 10//
<<elseif $SF.Toggle && $SF.Active >= 1 && $secBots.maxTroops < 100 && $SecExp.edicts.SFSupportLevel >= 1>> <br>
<<link "Refine the drone network with $SF.Lower assistance" "seeUnit">>
<<link "Refine the drone network with $SF.Lower assistance" "secBarracks">>
<<set $secBots.maxTroops += 10>>
<<run cashX(forceNeg(5000 + 10 * _secBotsUpgradeCost * $secBots.equip), "securityExpansion")>>
<</link>>
......@@ -183,7 +183,7 @@ Your current maximum number of units is <<print App.SecExp.battle.maxUnits()>> (
There's little left to improve in the matrix. Your control systems are at top capacity and won't be able to handle a bigger drone unit.
<</if>>
<<if $secBots.equip < 3>> <br>
<<link "Improve drone weaponry and armor" "seeUnit">>
<<link "Improve drone weaponry and armor" "secBarracks">>
<<set $secBots.equip += 1>>
<<run cashX(forceNeg((_secBotsUpgradeCost * $secBots.maxTroops) + 1000), "securityExpansion")>>
<</link>>
......
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