From: Ian Jackson Date: Mon, 2 May 2022 08:53:31 +0000 (+0100) Subject: dice: d6: image: Add to edited.toml and demo.toml X-Git-Tag: otter-1.1.0~215 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=859456d27708eddccc48c699ba5f369e8faf9f69;p=otter.git dice: d6: image: Add to edited.toml and demo.toml Signed-off-by: Ian Jackson --- diff --git a/library/edited.toml b/library/edited.toml index 90828a29..2f23541b 100644 --- a/library/edited.toml +++ b/library/edited.toml @@ -24,3 +24,15 @@ w-portal-blue - a blue portal piece belonging to white b-portal-orange - an orange portal piece belonging to black w-portal-orange - an orange portal piece belonging to white """ + +[group.dice] +size = [22] +outline.shape = "Circle" +outline.scale = 0.5 +item_prefix = "die-image-" +files = """ +d6-_c - a _colour die +""" + +[group.dice.colours.blue] +abbrev = "blue" diff --git a/specs/demo.game.toml b/specs/demo.game.toml index 93f3d3c2..ea0deb47 100644 --- a/specs/demo.game.toml +++ b/specs/demo.game.toml @@ -76,13 +76,12 @@ image.faces = ["#ccccff", "#ccffcc"] pos = [140, 15] type = "Die" labels = 6 -desc = "a pink die" -occult.ilk = "d6-pink" +desc = "a blue die" +occult.ilk = "d6-blue" occult.label = "?" -image.type = "Rect" -image.size = [10] -image.edges = ["black"] -image.faces = ["#ff8888"] +image.type = "Lib" +image.lib = "edited" +image.item = "die-image-d6-blue" [[pieces]] pos = [125, 15]