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

Merge branch 'attackOptionsTweaking-II' into 'pregmod-master'

attackOptionsTweaking-II

See merge request pregmodfan/fc-pregmod!7394
parents 29d4edc7 d5646707
No related branches found
No related tags found
No related merge requests found
...@@ -11,12 +11,7 @@ ...@@ -11,12 +11,7 @@
<<includeDOM _options.render()>> <<includeDOM _options.render()>>
<br> <br>
<strong> <<if $majorBattle == 1>>Major<</if>> Attack Imminent</strong>
<<if $majorBattle == 0>>
<strong>Attack Imminent</strong>
<<else>>
<strong>Major Attack Imminent</strong>
<</if>>
<hr> <hr>
<<if $majorBattle == 0>> <<if $majorBattle == 0>>
<<if $battlesCount > 0>> <<if $battlesCount > 0>>
...@@ -28,8 +23,7 @@ ...@@ -28,8 +23,7 @@
<<else>> <<else>>
Some of your citizens saw the disorganized horde of raiders coming towards the city and quickly reported it. To such jackals your arcology surely looks like an appetizing morsel. Some of your citizens saw the disorganized horde of raiders coming towards the city and quickly reported it. To such jackals your arcology surely looks like an appetizing morsel.
<</if>> <</if>>
<br> <br>Raiders are roaming gangs of bandits, preying on the vulnerable supply lines of Free Cities and old world nations. They are rarely equipped with decent armaments and even more rarely have any formal military training, but they make up for that with high mobility and numbers.
Raiders are roaming gangs of bandits, preying on the vulnerable supply lines of Free Cities and old world nations. They are rarely equipped with decent armaments and even more rarely have any formal military training, but they make up for that with high mobility and numbers.
<<elseif $attackType == "free city">> <<elseif $attackType == "free city">>
<<if App.SecExp.battle.recon() >= 1>> <<if App.SecExp.battle.recon() >= 1>>
A menacing column of slavers and hired mercenaries is coming to your city. Another free city is ready to use their best tools to hit a dangerous competitor where it hurts. A menacing column of slavers and hired mercenaries is coming to your city. Another free city is ready to use their best tools to hit a dangerous competitor where it hurts.
...@@ -53,8 +47,7 @@ ...@@ -53,8 +47,7 @@
<<else>> <<else>>
Some of your citizens saw the disciplined yet dusty, scruffy old world army is approaching the confines of your arcology. There's nothing better than a good war to unite the electorate and your arcology is just the perfect target. Some of your citizens saw the disciplined yet dusty, scruffy old world army is approaching the confines of your arcology. There's nothing better than a good war to unite the electorate and your arcology is just the perfect target.
<</if>> <</if>>
<br> <br>Old world expeditions are usually sent to secure resources and trade routes for their nation or, more often, to provide their citizens with a bogeyman to be scared of. They are usually decently equipped and trained, which together with their generous numbers make them a tough nut to crack. However, they often lack in mobility.
Old world expeditions are usually sent to secure resources and trade routes for their nation or, more often, to provide their citizens with a bogeyman to be scared of. They are usually decently equipped and trained, which together with their generous numbers make them a tough nut to crack. However, they often lack in mobility.
<</if>> <</if>>
<<else>> <<else>>
Your assistant interrupted your rest to bring the grim news. You quickly rush to your console, where you can see one of the convoys supplying your arcology has been attacked and looted. It seems a group of desperate looking bandits decided it was a good idea to steal from you. Your assistant interrupted your rest to bring the grim news. You quickly rush to your console, where you can see one of the convoys supplying your arcology has been attacked and looted. It seems a group of desperate looking bandits decided it was a good idea to steal from you.
...@@ -64,7 +57,7 @@ ...@@ -64,7 +57,7 @@
<<if $majorBattlesCount > 0>> <<if $majorBattlesCount > 0>>
The ominous message dominates the screens of your office, and <<print $assistant.name>> quickly gathers all information available to prepare for the major battle ahead. The ominous message dominates the screens of your office, and <<print $assistant.name>> quickly gathers all information available to prepare for the major battle ahead.
<<else>> <<else>>
<br><br>Your assistant interrupted your rest to bring the grim news. You quickly rush to your console, where you can see the satellite images coming in of the force about to crash against your arcology. It's not the first time your armies fought for the survival of your empire, but this time it seems it will be a fight for life or death. Your assistant interrupted your rest to bring the grim news. You quickly rush to your console, where you can see the satellite images coming in of the force about to crash against your arcology. It's not the first time your armies fought for the survival of your empire, but this time it seems it will be a fight for life or death.
<</if>> <</if>>
<<if $attackType == "raiders">> <<if $attackType == "raiders">>
<<if App.SecExp.battle.recon() >= 1>> <<if App.SecExp.battle.recon() >= 1>>
...@@ -147,11 +140,9 @@ approximately <strong><<print _estimatedMen>> men</strong> are coming, they seem ...@@ -147,11 +140,9 @@ approximately <strong><<print _estimatedMen>> men</strong> are coming, they seem
<hr>__Battle Plan__:<br> <hr>__Battle Plan__:<br>
<<set _leaderFound = 1>> <<set _leaderFound = 1>>
<<if $leadingTroops === "bodyguard" || $leadingTroops === "headGirl">> <<if $leadingTroops === "bodyguard" && $BodyguardID === 0 || $leadingTroops === "headGirl" && $HeadGirlID === 0>>
<<if $BodyguardID === 0 || $HeadGirlID === 0>> @@red;Chosen leader $leadingTroops can not be found be found, please select another.@@
@@red;Chosen leader $leadingTroops can not be found be found, please select another.@@ <<set _leaderFound = 0>>
<<set _leaderFound = 0>>
<</if>>
<</if>> <</if>>
<<switch $leadingTroops>> <<switch $leadingTroops>>
<<case "PC">> <<case "PC">>
...@@ -224,8 +215,7 @@ approximately <strong><<print _estimatedMen>> men</strong> are coming, they seem ...@@ -224,8 +215,7 @@ approximately <strong><<print _estimatedMen>> men</strong> are coming, they seem
<<replace "#leader">><strong><<print _leader>></strong><</replace>> <<replace "#leader">><strong><<print _leader>></strong><</replace>>
<</link>> <</link>>
<</if>> <</if>>
<br>For this battle you choose to follow <span id="tactic"><strong><<print $chosenTactic>></strong></span> tactics. <br>For this battle you choose to follow <span id="tactic"><strong><<print $chosenTactic>></strong></span> tactics.<br>
<br>
<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'defensiveTactics')" id="tab defensive tactics">Defensive tactics</button> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'defensiveTactics')" id="tab defensive tactics">Defensive tactics</button>
<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'offensiveTactics')" id="tab offensiveTactics">Offensive Tactics</button> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'offensiveTactics')" id="tab offensiveTactics">Offensive Tactics</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment