From d1133515e8c5991e77425225618644b5f97801ed Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 15 May 2022 16:49:15 +0100 Subject: [PATCH] dice: Set label colour of red dice. Hooray! Signed-off-by: Ian Jackson --- library/edited.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/edited.toml b/library/edited.toml index 4f4ee6b4..5ddf7457 100644 --- a/library/edited.toml +++ b/library/edited.toml @@ -37,10 +37,12 @@ d8-_c - 8 a ${colour} die image """ magic.item_prefix = "die-" +magic.substs.text = "black" magic.template = """ image = ${image} type = "Die" labels = ${xd} +label.colour = "${text}" desc = "a ${colour} die" occult.label = "?" occult.ilk = "d${xd}-${colour}" @@ -51,4 +53,5 @@ abbrev = "blue" [group.dice.colours.red] abbrev = "red" +substs.text = "white" map = { "#8fc6ff" = "#e64104", "#000000" = "#ffffff", "#ffffff" = "#000000" } -- 2.30.2