From 36d3870eb9eaa056203741c9644cc383902129af Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Tue, 1 Apr 2025 17:26:46 -0400 Subject: Adding more logo --- play.js | 9 +++++++++ rules.js | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/play.js b/play.js index 047c5fd..1568708 100644 --- a/play.js +++ b/play.js @@ -1363,6 +1363,11 @@ function sub_space(match, p1) { return `${n}` } +const E_DS = '' +const E_BK = '' +const E_VE = '' + +const C_DS = '' const C_MI = '' const F_DS = '' const F_BK = '' @@ -1382,7 +1387,11 @@ function on_log(text) { text = text.replace(//g, ">") + text = text.replace(/\bCDS\b/g, C_DS) text = text.replace(/\bCMI\b/g, C_MI) + text = text.replace(/\bEDS\b/g, E_DS) + text = text.replace(/\bEBK\b/g, E_BK) + text = text.replace(/\bEVE\b/g, E_VE) text = text.replace(/\bFDS\b/g, F_DS) text = text.replace(/\bFBK\b/g, F_BK) text = text.replace(/\bFVE\b/g, F_VE) diff --git a/rules.js b/rules.js index b0216b6..4bd9944 100644 --- a/rules.js +++ b/rules.js @@ -2352,7 +2352,7 @@ states.compel_space_influencial = { } }, piece(p) { - logi("Removed " + piece_name(p) + " from S" + piece_space(p)) + logi("Removed " + piece_symbol(p) + " from S" + piece_space(p)) let f = piece_faction(p) remove_piece(p) @@ -4553,7 +4553,7 @@ function pop_vm_prompt() { } function vm_remove() { - log("Removed " + piece_name(game.vm.p) + " from S" + piece_space(game.vm.p) + ".") + log("Removed " + piece_symbol(game.vm.p) + " from S" + piece_space(game.vm.p) + ".") remove_piece(game.vm.p) vm_next() } @@ -5691,9 +5691,9 @@ const PIECE_FACTION_TYPE_NAME = [ [ null, null, "Invader" ] ] const PIECE_FACTION_TYPE_SYMBOL = [ - [ null, null, null ], - [ null, null, null ], - [ null, null, null ], + [ null, "EDS", "CDS" ], + [ null, "EBK", null ], + [ null, "EVE", null ], [ null, null, "CMI" ] ] const LAST_CAVALRY = 9 -- cgit v1.2.3