summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js15
1 files changed, 2 insertions, 13 deletions
diff --git a/rules.js b/rules.js
index 6dadb96..2bc54cf 100644
--- a/rules.js
+++ b/rules.js
@@ -1684,13 +1684,8 @@ states.random_event = {
inactive: "to do random event",
prompt() {
view.prompt = "Roll for a random event."
- // gen_action("reset") // XXX debug
gen_action("roll")
},
- reset() {
- // XXX DEBUG
- // goto_suez_crisis()
- },
roll() {
let rnd1 = roll_d6()
let rnd2 = roll_d6()
@@ -2685,13 +2680,8 @@ states.gov_deployment = {
for (let u of list) {
let loc = unit_loc(u)
if (loc === to) {
- if (unit_box(u) === PTL) {
- log(`U${u} in A${loc}`)
- set_unit_box(u, OPS)
- } else {
- log(`U${u} in A${loc} on PTL`)
- set_unit_box(u, PTL)
- }
+ log(`U${u} in A${loc} on PTL`)
+ set_unit_box(u, PTL)
} else {
log(`U${u} in A${loc}`)
set_unit_loc(u, to)
@@ -2777,7 +2767,6 @@ states.fln_deployment = {
}
}
- // XXX confirmation when no units are activated?
gen_action("end_deployment")
},
unit(u) {