From 2a2962208a4064bbe0e102ce020f22522f5c9a33 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 6 May 2024 11:28:04 +0200 Subject: log tax collectors --- rules.js | 3 ++- rules.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index c02f194..f2c257f 100644 --- a/rules.js +++ b/rules.js @@ -3852,7 +3852,7 @@ states.tax = { locale(loc) { game.where = loc; if (loc === get_lord_seat(game.command)) { - log("Tax at S" + game.where + "."); + log("Tax S" + game.where + "."); do_tax(game.command, game.where, 1); end_tax(); } @@ -10411,6 +10411,7 @@ states.tax_collectors_lord = { push_undo(); game.where = loc; if (loc === get_lord_seat(game.who)) { + log("Tax S" + game.where + "."); do_tax(game.who, game.where, 2); end_tax_collectors_lord(); } diff --git a/rules.ts b/rules.ts index ffe786b..7614d0d 100644 --- a/rules.ts +++ b/rules.ts @@ -4658,7 +4658,7 @@ states.tax = { locale(loc) { game.where = loc if (loc === get_lord_seat(game.command)) { - log("Tax at S" + game.where + ".") + log("Tax S" + game.where + ".") do_tax(game.command, game.where, 1) end_tax() } else { @@ -12000,6 +12000,7 @@ states.tax_collectors_lord = { push_undo() game.where = loc if (loc === get_lord_seat(game.who)) { + log("Tax S" + game.where + ".") do_tax(game.who, game.where, 2) end_tax_collectors_lord() } else { -- cgit v1.2.3