diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2023-06-27 11:29:08 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 43a3b24a6b7670768ec8c58f0d9e40c1162ac43f (patch) | |
tree | e889e346c4e8d3fab597e371edb91869ddb0c934 | |
parent | c1ed5f122d2ec5155cbf5a751fcda330c342ff55 (diff) | |
download | plantagenet-43a3b24a6b7670768ec8c58f0d9e40c1162ac43f.tar.gz |
removal lord transport setup
-rw-r--r-- | rules.js | 21 |
1 files changed, 2 insertions, 19 deletions
@@ -1400,7 +1400,7 @@ function setup_Ib(first_player, second_player) { } function setup_Ic(first_player, second_player) { - game.turn = 1 << 1 + game.turn = 5 << 1 P1 = first_player @@ -1474,7 +1474,7 @@ function setup_ItoIII(first_player, second_player) { set_lord_cylinder_on_calendar(LORD_RUTLAND, 5) } -// setup may be used in some scenarios +// setup will be used in some scenarios states.setup_lords = { @@ -1482,28 +1482,11 @@ states.setup_lords = { prompt() { view.prompt = "Set up your Lords." let done = true - for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) { - if (is_lord_on_map(lord) && !get_lord_moved(lord)) { - if (data.lords[lord].assets.transport > 0) { - gen_action_lord(lord) - done = false - } - } - } if (done) { view.prompt += " All done." view.actions.end_setup = 1 } }, - lord(lord) { - push_undo() - - // FIXME: clean up these transitions - push_state("muster_lord_transport") - set_lord_moved(lord, 1) - game.who = lord - game.count = data.lords[lord].assets.transport - }, end_setup() { clear_undo() end_setup_lords() |