summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-01 19:54:31 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-01 19:54:31 -0400
commit4b5c165e8b4caa9aa3bdd37ff3842e2b272f155f (patch)
tree2942ae2b3360a99a8df4794b4a8e2cc77458dede
parentb45568adaf73967a8ac0f4c5cc6983f1cbbdb50a (diff)
downloadvijayanagara-4b5c165e8b4caa9aa3bdd37ff3842e2b272f155f.tar.gz
More log support for hex
-rw-r--r--play.css2
-rw-r--r--rules.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/play.css b/play.css
index b2df5fc..d430471 100644
--- a/play.css
+++ b/play.css
@@ -167,7 +167,7 @@ img.f {
#log img.c { height: 15px; vertical-align: -3px }
#log img.f { height: 16px; vertical-align: -2px }
-#log img.h { height: 16px; vertical-align: -2px }
+#log img.h { height: 17px; vertical-align: -4px; margin: 0px 2px; }
#log img.i { height: 34px; vertical-align: -3px; margin: -10px; }
#log { font-variant-numeric: tabular-nums; }
diff --git a/rules.js b/rules.js
index 79fbc50..9ccf11d 100644
--- a/rules.js
+++ b/rules.js
@@ -2445,7 +2445,7 @@ function goto_conspire_space(s) {
}
function conspire_piece(p) {
- logi("1 " + piece_name(p))
+ logi("1 " + piece_symbol(p))
log_br()
let rebel = is_rebel(p)
let is_gov = is_governor(p)
@@ -4989,7 +4989,7 @@ states.rebel_or_obedient = {
push_undo()
let p = find_piece(game.decree.where, game.current, ELITE)
to_rebel(p)
- log(`A ${piece_name(p)} in S${game.decree.where} to Rebel.`)
+ log(`A ${piece_symbol(p)} in S${game.decree.where} to Rebel.`)
end_rebel_or_obedient()
}
}