diff options
author | Troy Nordine <tdnordine@gmail.com> | 2023-09-15 20:55:38 -0500 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 56ade7e97960332844741153f39ed6abc05d839d (patch) | |
tree | 2ddc0de52909de0de6590655b6a7a7526e649765 | |
parent | 4798920aaa2bbf247babda4a01c667d4c6179983 (diff) | |
download | plantagenet-56ade7e97960332844741153f39ed6abc05d839d.tar.gz |
Fix supply_tyoe choice issue.
-rw-r--r-- | rules.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3374,18 +3374,18 @@ states.select_supply_type = { inactive: "Supply", prompt() { view.prompt = `Supply: ${game.count} from Stronghold or ${game.what} from Port?` - gen_action("stronghold", game.count) - gen_action("port", game.what) + view.actions.stronghold = 1 + view.actions.port = 1 }, - stronghold(supply) { + stronghold() { logi(`Stronghold at %${game.where}`) - add_lord_assets(game.command, PROV, supply) + add_lord_assets(game.command, PROV, game.count) deplete_locale(game.where) end_select_supply_type() }, - port(sea_supply) { + port() { logi(`Seaport at %${game.where}`) - add_lord_assets(game.command, PROV, sea_supply) + add_lord_assets(game.command, PROV, game.what) end_select_supply_type() } } |