From: Ian Jackson Date: Sun, 15 May 2022 15:49:15 +0000 (+0100) Subject: dice: Set label colour of red dice. Hooray! X-Git-Tag: otter-1.1.0~95 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d1133515e8c5991e77425225618644b5f97801ed;p=otter.git dice: Set label colour of red dice. Hooray! Signed-off-by: Ian Jackson --- 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" }