diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-05 22:17:14 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | c2a06cbf599f93fb6c576978159907cca0de25de (patch) | |
tree | 1f1b804a9336e93d70da400798a82b947bc40ea1 | |
parent | 0883de6fe9d4469304efc9387d70f100fe635f13 (diff) | |
download | nevsky-c2a06cbf599f93fb6c576978159907cca0de25de.tar.gz |
Novgorod sacked adds Veche coin as spoils.
-rw-r--r-- | rules.js | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8053,8 +8053,14 @@ function goto_sack() { add_conquered_marker(game.battle.where) remove_walls(game.battle.where) - if (here === LOC_NOVGOROD) + if (here === LOC_NOVGOROD) { + if (game.pieces.veche_coin > 0) { + add_spoils(COIN, game.pieces.veche_coin) + log(`Awarded ${game.pieces.veche_coin} Coin from Veche.`) + game.pieces.veche_coin = 0 + } award_spoils(3) + } else if (is_city(here)) award_spoils(2) else if (is_fort(here)) |