summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-23 15:37:02 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-23 15:37:02 +0200
commite762edb855ea1e1397acd37cf0b6877ee001b18f (patch)
treef8749c774f3bc2b0e8929402275bdfc6e6c20cbf /rules.ts
parentb4ecadf24616d07aa79458437850f4a7b8b7e6e3 (diff)
downloadplantagenet-e762edb855ea1e1397acd37cf0b6877ee001b18f.tar.gz
london for york + levy lord interaction
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/rules.ts b/rules.ts
index fcc8007..7299b22 100644
--- a/rules.ts
+++ b/rules.ts
@@ -3118,8 +3118,12 @@ states.levy_lord_at_seat = {
add_york_favour(loc)
remove_lancaster_favour(loc)
} else {
- add_lancaster_favour(loc)
- remove_york_favour(loc)
+ if (loc === LOC_LONDON && has_york_favour(LONDON_FOR_YORK)) {
+ logevent(EVENT_YORK_LONDON_FOR_YORK)
+ } else {
+ add_lancaster_favour(loc)
+ remove_york_favour(loc)
+ }
}
goto_the_kings_name("Levy Lord")