diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -2739,9 +2739,13 @@ states.pogost = { } function can_play_vodian_treachery() { - if (is_fort(LOC_KAIBOLOVO) && is_teuton_closer_than_russian(LOC_KAIBOLOVO)) + if (is_fort(LOC_KAIBOLOVO) && + !has_conquered_marker(LOC_KAIBOLOVO) && + is_teuton_closer_than_russian(LOC_KAIBOLOVO)) return true - if (is_fort(LOC_KOPORYE) && is_teuton_closer_than_russian(LOC_KOPORYE)) + if (is_fort(LOC_KOPORYE) && + !has_conquered_marker(LOC_KOPORYE) && + is_teuton_closer_than_russian(LOC_KOPORYE)) return true return false } @@ -2766,9 +2770,9 @@ states.vodian_treachery = { inactive: "Vodian Treachery", prompt() { view.prompt = "Vodian Treachery: Conquer Kaibolovo or Koporye Fort." - if (is_fort(LOC_KAIBOLOVO) && is_teuton_closer_than_russian(LOC_KAIBOLOVO)) + if (is_fort(LOC_KAIBOLOVO) && !has_conquered_marker(LOC_KAIBOLOVO) && is_teuton_closer_than_russian(LOC_KAIBOLOVO)) gen_action_locale(LOC_KAIBOLOVO) - if (is_fort(LOC_KOPORYE) && is_teuton_closer_than_russian(LOC_KOPORYE)) + if (is_fort(LOC_KOPORYE) && !has_conquered_marker(LOC_KOPORYE) && is_teuton_closer_than_russian(LOC_KOPORYE)) gen_action_locale(LOC_KOPORYE) }, locale(loc) { |