summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-02 20:30:46 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-03 22:30:15 +0100
commitd25d7e33e2ff1260a607c49a7e0a0ffaf3e03221 (patch)
tree292c9f7a7e3802ec0dda0f261be9df3bd7f41f64 /rules.js
parent754be4bf07ba910b3e5417db6729d4e1a6e84925 (diff)
download1989-dawn-of-freedom-d25d7e33e2ff1260a607c49a7e0a0ffaf3e03221.tar.gz
tweak logging
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index b78c137..095008b 100644
--- a/rules.js
+++ b/rules.js
@@ -4289,32 +4289,40 @@ function log(msg) {
}
function log_ops_banner() {
+ log_br()
if (game.active === DEM)
log('.O.d')
else
log('.O.c')
+ log_br()
finish_select_card()
}
function log_event_banner() {
+ log_br()
if (game.active === DEM)
log('.V.d')
else
log('.V.c')
+ log_br()
}
function log_struggle_banner(n) {
+ log_br()
if (game.active === DEM)
log('.S.dC' + n)
else
log('.S.cC' + n)
+ log_br()
}
function log_tst_8_banner() {
+ log_br()
if (game.active === DEM)
log('.T.d')
else
log('.T.c')
+ log_br()
finish_select_card()
}
@@ -4343,15 +4351,21 @@ function logii(msg) {
}
function log_h1(msg) {
+ log_br()
log(".h1 " + msg)
+ log_br()
}
function log_h2(msg) {
+ log_br()
log(".h2 " + msg)
+ log_br()
}
function log_h3(msg) {
+ log_br()
log(".h3 " + msg)
+ log_br()
}
function log_h4(msg) {