summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/play.js b/play.js
index a68ee3c..b74fb1f 100644
--- a/play.js
+++ b/play.js
@@ -874,6 +874,16 @@ const ICONS = {
'£CU': '<span class="icon com_nc"></span>',
'£DC': '<span class="icon dem_c"></span>',
'£DU': '<span class="icon dem_nc"></span>',
+ '.dT5': '<span class="number d_tst">5</span>',
+ '.dT6': '<span class="number d_tst">6</span>',
+ '.dT7': '<span class="number d_tst">7</span>',
+ '.dT8': '<span class="number d_tst">8</span>',
+ '.dT9': '<span class="number d_tst">9</span>',
+ '.dT10': '<span class="number d_tst">10</span>',
+ '.cT5': '<span class="number c_tst">5</span>',
+ '.cT6': '<span class="number c_tst">6</span>',
+ '.cT7': '<span class="number c_tst">7</span>',
+ '.cT8': '<span class="number c_tst">8</span>'
}
const die = {
@@ -910,6 +920,8 @@ function on_log(text, ix) {
text = text.replace(/%(\d+)/g, sub_space_name)
text = text.replace(/D[1-6]/g, sub_die)
text = text.replace(/£[CD][CU]\b/g, sub_icon)
+ text = text.replace(/\.cT(\d+)/g, sub_icon)
+ text = text.replace(/\.dT(\d+)/g, sub_icon)
text = text.replace(/.to/g, sub_arrow)
if (text.match(/^\.h1/)) {