Skip to content
Snippets Groups Projects
Commit 55811ecd authored by hexall90's avatar hexall90
Browse files

couple of adjustments

parent 2dc4b6a8
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ further development: ...@@ -7,6 +7,7 @@ further development:
-transport hub -transport hub
-security based careers should have discount on secHQ upgrades -security based careers should have discount on secHQ upgrades
-celebrity on propHub -celebrity on propHub
-more levels for militia edict (further militarize society)
Events: Events:
-famous criminal escapes to the arcology, followed by another arcology police force -famous criminal escapes to the arcology, followed by another arcology police force
......
...@@ -225,8 +225,8 @@ ...@@ -225,8 +225,8 @@
/* calc how many slaves and citizens participate */ /* calc how many slaves and citizens participate */
<<set _authFactor = Math.clamp(1 - ($authority / 20000),0.4,0.6)>> <<set _authFactor = Math.clamp(1 - ($authority / 20000),0.4,0.6)>>
<<set _repFactor = Math.clamp($rep / 20000,0.4,0.6)>> <<set _repFactor = Math.clamp($rep / 20000,0.4,0.6)>>
<<set _rebelPercent = 0.4 * _authFactor>> <<set _rebelPercent = 0.3 * _authFactor>>
<<set _irregularPercent = 0.25 * _repFactor>> <<set _irregularPercent = 0.2 * _repFactor>>
<<set $attackTroops = Math.clamp(Math.trunc($ASlaves * _rebelPercent + random(-100,100)) * _weekMod,50,$ASlaves)>> <<set $attackTroops = Math.clamp(Math.trunc($ASlaves * _rebelPercent + random(-100,100)) * _weekMod,50,$ASlaves)>>
<<set $irregulars = Math.clamp(Math.trunc($ACitizens * _irregularPercent + random(-100,100)) * _weekMod,50,$ACitizens)>> <<set $irregulars = Math.clamp(Math.trunc($ACitizens * _irregularPercent + random(-100,100)) * _weekMod,50,$ACitizens)>>
/* calc if units rebel */ /* calc if units rebel */
...@@ -295,8 +295,8 @@ ...@@ -295,8 +295,8 @@
/* calc how many citizens participate */ /* calc how many citizens participate */
<<set _authFactor = Math.clamp(1 - ($authority / 20000),0.4,0.6)>> <<set _authFactor = Math.clamp(1 - ($authority / 20000),0.4,0.6)>>
<<set _repFactor = Math.clamp($rep / 20000,0.4,0.6)>> <<set _repFactor = Math.clamp($rep / 20000,0.4,0.6)>>
<<set _rebelPercent = 0.4 * _authFactor>> <<set _rebelPercent = 0.3 * _authFactor>>
<<set _irregularPercent = 0.25 * _repFactor>> <<set _irregularPercent = 0.2 * _repFactor>>
<<set $attackTroops = Math.clamp(Math.trunc($ACitizens * _rebelPercent + random(-100,100)) * _weekMod,50,$ACitizens)>> <<set $attackTroops = Math.clamp(Math.trunc($ACitizens * _rebelPercent + random(-100,100)) * _weekMod,50,$ACitizens)>>
<<set $irregulars = Math.clamp(Math.trunc($ACitizens * _irregularPercent + random(-100,100)) * _weekMod,50,$ACitizens)>> <<set $irregulars = Math.clamp(Math.trunc($ACitizens * _irregularPercent + random(-100,100)) * _weekMod,50,$ACitizens)>>
/* calc if units rebel */ /* calc if units rebel */
......
...@@ -146,11 +146,11 @@ ...@@ -146,11 +146,11 @@
type: 0, type: 0,
time: 0, time: 0,
value: 0}>> value: 0}>>
<<set $botsUpgrades = { <<set $botsUpgrade = {
attack: 0, attack: 0,
defense: 0, defense: 0,
hp:0}>> hp:0}>>
<<set $humanUpgrades = { <<set $humanUpgrade = {
attack: 0, attack: 0,
defense: 0, defense: 0,
hp:0, hp:0,
......
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