Skip to content
Snippets Groups Projects
Commit 14ba843b authored by turnop's avatar turnop
Browse files

better coup handling for imperial societies

parent 84581b09
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,8 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc ...@@ -67,6 +67,8 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc
<<if ($mercenaries == 0) && ($arcologies[0].FSRomanRevivalistLaw == 0)>> <<if ($mercenaries == 0) && ($arcologies[0].FSRomanRevivalistLaw == 0)>>
You are alone in contributing to the defense of your home. You are alone in contributing to the defense of your home.
<<elseif ($mercenaries == 0) && ($arcologies[0].FSNeoImperialistLaw1 == 0)>>
You are alone in contributing to the defense of your home.
<<elseif $mercenaries == 1>> <<elseif $mercenaries == 1>>
Your mercenaries desperately defend their barracks but manage little else. Your mercenaries desperately defend their barracks but manage little else.
<<elseif $mercenaries == 3>> <<elseif $mercenaries == 3>>
...@@ -77,11 +79,14 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc ...@@ -77,11 +79,14 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc
<<if $arcologies[0].FSRomanRevivalistLaw == 1>> <<if $arcologies[0].FSRomanRevivalistLaw == 1>>
As the crisis is reached and passed, lower-class citizens armed as Hastati, with lighter weapons and personal armor, begin to sweep the arcology to ensure no one escapes. Middle-class citizens, meanwhile, heavily armored as Principes, methodically grind out pockets of armed resistance. The toughest rebel groups are left to the exoskeleton-armored Triarii. As the crisis is reached and passed, lower-class citizens armed as Hastati, with lighter weapons and personal armor, begin to sweep the arcology to ensure no one escapes. Middle-class citizens, meanwhile, heavily armored as Principes, methodically grind out pockets of armed resistance. The toughest rebel groups are left to the exoskeleton-armored Triarii.
<</if>> <</if>>
<<if $arcologies[0].FSNeoImperialistLaw1 == 1>>
As the rebels reel back from the shockingly organized initial resistance of your always-ready Imperial Knights and their lightly-armed but fanatically determined guardsmen, it becomes increasingly clear just how well prepared your arcology was for this exact event. Even as fires rage through the streets of your home, Knights clamber forward through the rebel lines practically undisturbed by the fire that clatters off their enormously thick plate, laying down explosive volleys with enormous heavy guns and launching themselves into outright melee with their holographic weapons.
<</if>>
<br><br> <br><br>
<<set _newSlaves = []>> <<set _newSlaves = []>>
<<if $arcologies[0].FSRomanRevivalistLaw + $mercenaries + $personalArms + $hackerSupport + _doubleAgent > 8>> <<if $arcologies[0].FSRomanRevivalistLaw + $arcologies[0].FSNeoImperialistLaw1 + $mercenaries + $personalArms + $hackerSupport + _doubleAgent > 8>>
@@.yellow;The Daughters of Liberty are utterly crushed.@@ $arcologies[0].name has been slightly damaged, but even as the last pockets of resistance are crushed, your citizens begin repairs themselves. The effect on your reputation is @@.green;immensely positive,@@ since your victory was insultingly easy and barely set the arcology's prosperity back at all. You also took a truly impressive bag of prisoners. @@.yellow;The Daughters of Liberty are utterly crushed.@@ $arcologies[0].name has been slightly damaged, but even as the last pockets of resistance are crushed, your citizens begin repairs themselves. The effect on your reputation is @@.green;immensely positive,@@ since your victory was insultingly easy and barely set the arcology's prosperity back at all. You also took a truly impressive bag of prisoners.
<<set $daughtersVictory = 3>> <<set $daughtersVictory = 3>>
<<run cashX(-2000, "war")>> <<run cashX(-2000, "war")>>
...@@ -158,6 +163,53 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc ...@@ -158,6 +163,53 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc
<</for>> <</for>>
<<set $desc = "a Daughters of Liberty flag that once hung in their forward command post within your arcology">> <<set $desc = "a Daughters of Liberty flag that once hung in their forward command post within your arcology">>
<<set $trinkets.push($desc)>> <<set $trinkets.push($desc)>>
<<elseif $arcologies[0].FSNeoImperialistLaw1 == 1>>
@@.yellow;The Daughters of Liberty are annihilated.@@ @@.red;$arcologies[0].name has been damaged,@@ and the repairs will be quite costly. However, the effect on your reputation is @@.green;very positive,@@ since though your victory was hard-fought and set the arcology's prosperity back @@.red;considerably,@@ you did better than other arcology owners have done when faced with similar well-armed unrest. You also took a truly impressive bag of prisoners.
<<set $daughtersVictory = 3>>
<<run cashX(-5000, "war")>>
<<run cashX(forceNeg(Math.trunc($cash*0.2)), "war")>>
<<set $arcologies[0].prosperity = Math.trunc($arcologies[0].prosperity*0.7)>>
<<run repX(1000, "war")>>
<<if $seeDicks >= 50>>
<<set _pcaj = 5>>
<<elseif $seeDicks > 0>>
<<set _pcaj = 2>>
<<else>>
<<set _pcaj = 0>>
<</if>>
<<for _pca = 0; _pca <= _pcaj; _pca++>>
<<set $activeSlaveOneTimeMinAge = 16>>
<<set $activeSlaveOneTimeMaxAge = 32>>
<<set $oneTimeDisableDisability = 1>>
<<set $activeSlave = GenerateNewSlave("XY")>>
<<run generateSalonModifications($activeSlave)>>
<<set $activeSlave.origin = "$He is an enslaved Daughter of Liberty.">>
<<set $activeSlave.weight = random(-20,30)>>
<<set $activeSlave.muscles = random(20,80)>>
<<set $activeSlave.waist = random(10,80)>>
<<set _newSlaves.push($activeSlave)>>
<</for>>
<<if $seeDicks < 50>>
<<set _pcaj = 5>>
<<elseif $seeDicks < 100>>
<<set _pcaj = 3>>
<<else>>
<<set _pcaj = 0>>
<</if>>
<<for _pca = 0; _pca <= _pcaj; _pca++>>
<<set $activeSlaveOneTimeMinAge = 16>>
<<set $activeSlaveOneTimeMaxAge = 32>>
<<set $oneTimeDisableDisability = 1>>
<<set $activeSlave = GenerateNewSlave("XX")>>
<<run generateSalonModifications($activeSlave)>>
<<set $activeSlave.origin = "$He is an enslaved Daughter of Liberty.">>
<<set $activeSlave.weight = random(-50,30)>>
<<set $activeSlave.muscles = random(0,80)>>
<<set $activeSlave.waist = random(-20,20)>>
<<set _newSlaves.push($activeSlave)>>
<</for>>
<<set $desc = "a Daughters of Liberty flag that once hung in their forward command post within your arcology">>
<<set $trinkets.push($desc)>>
<<else>> <<else>>
@@.yellow;The Daughters of Liberty are defeated.@@ @@.red;$arcologies[0].name is heavily damaged,@@ and the repairs will be very costly. The effect on your reputation is @@.green;muted, but positive,@@ since though you won, your victory was hard-fought and set the arcology's prosperity back @@.red;a long way.@@ @@.yellow;The Daughters of Liberty are defeated.@@ @@.red;$arcologies[0].name is heavily damaged,@@ and the repairs will be very costly. The effect on your reputation is @@.green;muted, but positive,@@ since though you won, your victory was hard-fought and set the arcology's prosperity back @@.red;a long way.@@
<<if $traitor != 0 && !["agent", "trapper"].includes($traitorType)>> <<if $traitor != 0 && !["agent", "trapper"].includes($traitorType)>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment