summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts14
1 files changed, 11 insertions, 3 deletions
diff --git a/rules.ts b/rules.ts
index 510c586..e064be8 100644
--- a/rules.ts
+++ b/rules.ts
@@ -11863,9 +11863,17 @@ states.robins_rebellion = {
inactive: "Robin's Rebellion",
prompt() {
view.prompt = "Robin's Rebellion: Place and/or remove up to 3 favour total in the North."
- for (let loc of all_locales)
- if (game.count < 3 && is_north(loc))
- gen_action_locale(loc)
+ let done = true
+ if (game.count < 3) {
+ for (let loc of all_north_locales) {
+ if (!is_friendly_locale(loc)) {
+ gen_action_locale(loc)
+ done = false
+ }
+ }
+ }
+ if (done)
+ view.prompt = "Robin's Rebellion: All done."
view.actions.done = 1
},
locale(loc) {