summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-29 20:46:39 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-29 20:46:39 +0200
commit618b0908a7fe355eb87646ffae1ab5c78a57fe7c (patch)
tree2088198fc299fd573b124f0ff18f815354ae96ac /rules.ts
parent1503e53dc669d45aeee833432580eedbace93962 (diff)
downloadplantagenet-618b0908a7fe355eb87646ffae1ab5c78a57fe7c.tar.gz
relax can lord muster check
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts14
1 files changed, 1 insertions, 13 deletions
diff --git a/rules.ts b/rules.ts
index 9f07ba2..1c30ee8 100644
--- a/rules.ts
+++ b/rules.ts
@@ -2898,19 +2898,7 @@ function end_muster() {
}
function can_lord_muster(lord: Lord) {
- if (get_lord_moved(lord))
- return false
-
- // must be on map
- if (is_lord_on_map(lord)) {
- // can use lordship
- if (is_lord_at_friendly_locale(lord))
- return true
- // can only parley
- if (can_parley_at(get_lord_locale(lord)))
- return true
- }
- return false
+ return is_lord_on_map(lord) && !get_lord_moved(lord)
}
function has_locale_to_muster(lord: Lord) {