summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js20
1 files changed, 17 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 2aa19e8..6db7903 100644
--- a/rules.js
+++ b/rules.js
@@ -3578,12 +3578,21 @@ states.muster_lord_transport = {
if (can_add_transport(game.who, SHIP))
view.actions.take_ship = 1
}
- if (can_add_transport(game.who, BOAT))
+ let done = true
+ if (can_add_transport(game.who, BOAT)) {
+ done = false
view.actions.take_boat = 1
- if (can_add_transport(game.who, CART))
+ }
+ if (can_add_transport(game.who, CART)) {
+ done = false
view.actions.take_cart = 1
- if (can_add_transport(game.who, SLED))
+ }
+ if (can_add_transport(game.who, SLED)) {
+ done = false
view.actions.take_sled = 1
+ }
+ if (done)
+ view.actions.done = 1
},
take_ship() {
push_undo()
@@ -3609,6 +3618,11 @@ states.muster_lord_transport = {
--game.count
resume_muster_lord_transport()
},
+ done() {
+ push_undo()
+ game.count = 0
+ resume_muster_lord_transport()
+ },
}
function lord_has_capability_card(lord, c) {