From 03ebc48b354f2509c2a37dd5ed6a9ed10db6e2e8 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Tue, 1 Apr 2025 19:16:50 -0400 Subject: RFoP style influence --- play.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 1568708..71b70d2 100644 --- a/play.js +++ b/play.js @@ -1363,17 +1363,21 @@ function sub_space(match, p1) { return `${n}` } -const E_DS = '' -const E_BK = '' -const E_VE = '' +const E_DS = '' +const E_BK = '' +const E_VE = '' const C_DS = '' const C_MI = '' + const F_DS = '' const F_BK = '' const F_VE = '' const F_MI = '' +const I_BK = '' +const I_VE = '' + function on_log(text) { let p = document.createElement("div") let sub_text = "" @@ -1396,6 +1400,8 @@ function on_log(text) { text = text.replace(/\bFBK\b/g, F_BK) text = text.replace(/\bFVE\b/g, F_VE) text = text.replace(/\bFMI\b/g, F_MI) + text = text.replace(/\bIBK\b/g, I_BK) + text = text.replace(/\bIVE\b/g, I_VE) if (text.match(/^\.h1 Mongol Invaders/)) { text = text.substring(19) -- cgit v1.2.3