diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-28 19:37:52 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-28 19:38:08 +0200 |
commit | c41f374eca04d1f2d645cae56590a8d362483d48 (patch) | |
tree | 3c45ca7bc235e9a0638e5c3ae8b23bfc4a553e6d /rules.ts | |
parent | 1908afbe1d0042d330568025902448a34b269c13 (diff) | |
download | plantagenet-c41f374eca04d1f2d645cae56590a8d362483d48.tar.gz |
muster exiles is optional
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |