diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-08-02 15:40:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-05 20:46:48 +0200 |
commit | 29086f24da108c7555de15cf59e71bd0e1a00c16 (patch) | |
tree | 73e89d488c9d5b08cfdbf78462ca9371f0fd9818 /rules.js | |
parent | 49b08c3a8d0af28317f5ad7a93142be201e4cef6 (diff) | |
download | time-of-crisis-29086f24da108c7555de15cf59e71bd0e1a00c16.tar.gz |
v2: monument
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -2444,6 +2444,8 @@ function remove_governor(where, verbose) { remove_quaestor(where) remove_emperor_token(where) + trigger_monument(where) + // NOTE: Automated removal because it can be called from too many places. // This should be a very rare occurence, so let's not worry about it. if (is_seat_of_power(where)) @@ -2753,6 +2755,16 @@ function goto_place_governor_success() { } } +// IMPROVEMENT: MONUMENT + +function trigger_monument(where) { + if (has_monument(where)) { + log("Monument to Mob.") + remove_monument(where) + set_mobs(where, get_mobs(where) + 1) + } +} + // CARD: PRAETORIAN GUARD function can_play_praetorian_guard() { |