summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-06-19 20:38:47 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitc1ed5f122d2ec5155cbf5a751fcda330c342ff55 (patch)
tree87f14192cbf803ee1eaf4d722edc661f9a4fa4a7 /rules.js
parente8ee84dee23d366f5f7906dae08a9886d610bae6 (diff)
downloadplantagenet-c1ed5f122d2ec5155cbf5a751fcda330c342ff55.tar.gz
tax need 1 action
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index e626aec..02706e8 100644
--- a/rules.js
+++ b/rules.js
@@ -3500,9 +3500,12 @@ function restore_mustered_forces(lord) {
}
function can_action_tax() {
- // Must use whole action
+ if (game.actions < 1)
+ return false
// Must have space left to hold Coin
+ if (get_lord_assets(game.command, COIN) >= 8)
+ return false
// Must be at own seat
return is_lord_at_seat(game.command)