From c41f374eca04d1f2d645cae56590a8d362483d48 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 28 Apr 2024 19:37:52 +0200 Subject: muster exiles is optional --- rules.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rules.ts') diff --git a/rules.ts b/rules.ts index 82c7217..62e8cdc 100644 --- a/rules.ts +++ b/rules.ts @@ -2765,8 +2765,8 @@ function can_use_exile_box(lord: Lord, loc: Locale) { states.muster_exiles = { inactive: "Muster Exiles", prompt() { - view.prompt = "Muster Exiles: Muster any exiled lords." if (game.who === NOBODY) { + view.prompt = "Muster Exiles: Muster any exiled lords." let done = true for (let lord of all_friendly_lords()) { if (can_muster_exile(lord)) { @@ -2775,8 +2775,10 @@ states.muster_exiles = { } } if (done) - view.actions.done = true + view.prompt = "Muster Exiles: All done." + view.actions.done = true } else { + view.prompt = `Muster Exiles: Muster ${lord_name[game.who]} at an exile box.` for (let loc of all_exile_boxes) { if (can_use_exile_box(game.who, loc)) gen_action_locale(loc) -- cgit v1.2.3