Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
macaronideath
fc-pregmod
Commits
33f3870a
Commit
33f3870a
authored
4 years ago
by
Pregmodder
Browse files
Options
Downloads
Plain Diff
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
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Mods/SecExp/buildings/secBarracks.tw
+4
-4
4 additions, 4 deletions
src/Mods/SecExp/buildings/secBarracks.tw
with
4 additions
and
4 deletions
src/Mods/SecExp/buildings/secBarracks.tw
+
4
−
4
View file @
33f3870a
...
...
@@ -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" "se
eUnit
">>
<<link "Replenish the unit" "se
cBarracks
">>
<<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" "se
eUnit
">>
<<link "Improve the digital control matrix" "se
cBarracks
">>
<<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" "se
eUnit
">>
<<link "Refine the drone network with $SF.Lower assistance" "se
cBarracks
">>
<<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" "se
eUnit
">>
<<link "Improve drone weaponry and armor" "se
cBarracks
">>
<<set $secBots.equip += 1>>
<<run cashX(forceNeg((_secBotsUpgradeCost * $secBots.maxTroops) + 1000), "securityExpansion")>>
<</link>>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment