summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-03 23:02:03 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-03 23:32:07 +0100
commit84e7cb604ca70390817c002b61a316e714c65581 (patch)
tree61245b175a8d467aa784f51831610b90478ac7ce
parente45bc5b19e36c87b2c1127dee57abf58779271ca (diff)
downloadalgeria-84e7cb604ca70390817c002b61a316e714c65581.tar.gz
Mandatory reaction logging.
-rw-r--r--rules.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index e3ffcb5..d563e64 100644
--- a/rules.js
+++ b/rules.js
@@ -588,7 +588,8 @@ function roll_oas_control() {
}
function remove_oas() {
- log("Gov PSL ≥ 70: OAS Removed")
+ log("Gov PSL ≥ 70:")
+ logi("OAS Removed")
game.oas = 0
game.oas_control = -1
}
@@ -4858,9 +4859,9 @@ states.gov_population_resettlement = {
function check_mandatory_react() {
if (game.events.must_react) {
- log("Penality for not Reacting")
// Government must react with at least 1 unit, otherwise -1d6 PSP
- let roll = roll_1d6()
+ let roll = roll_d6()
+ log("Penalty for No React W" + roll)
lower_gov_psl(roll)
}
}