summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index ce0579a..ce92972 100644
--- a/rules.js
+++ b/rules.js
@@ -2255,6 +2255,12 @@ states.fln_operations = {
if (is_harass_unit(u))
view.actions.harass = 1
})
+ if (game.fln_ap >= FLN_PROPAGANDA_COST) {
+ for_each_friendly_unit_in_loc(FRANCE, u => {
+ if (is_propaganda_unit(u))
+ view.actions.propaganda = 1
+ })
+ }
for_each_friendly_unit_in_locs([MOROCCO, TUNISIA], u => {
if (is_mobile_unit(u) && unit_box(u) === OPS)
view.actions.move = 1
@@ -2329,6 +2335,11 @@ states.fln_propaganda = {
gen_action_unit(u)
}
})
+ for_each_friendly_unit_in_loc(FRANCE, u => {
+ if (is_propaganda_unit(u)) {
+ gen_action_unit(u)
+ }
+ })
} else {
view.prompt = "Propaganda: Execute mission"
let first_unit = game.selected[0]