From: Ian Jackson Date: Tue, 8 Jun 2021 12:16:09 +0000 (+0100) Subject: penultima: use tera for for player label sets X-Git-Tag: otter-0.7.0~18 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6b20118a02ea0be48ce7b08b21c519b562b3f41a;p=otter.git penultima: use tera for for player label sets Signed-off-by: Ian Jackson --- diff --git a/specs/penultima.game.toml b/specs/penultima.game.toml index a56b7ec9..5833ca1a 100644 --- a/specs/penultima.game.toml +++ b/specs/penultima.game.toml @@ -199,23 +199,10 @@ shape.type = "Rect" shape.xy = [20,10] +{% for pos in ["[50, 58]", "[60, 57]"] %} [[pieces]] -# 1..5 +pos = {{ pos }} shape.xy = [20,6] -pos = [50, 58] -posd = [1,1] -count = 5 -type = "PlayerLabel" -colour = "lightgrey" -edge = "white" -shape.type = "Rect" -label.place = "BottomLeft" -label.colour = "black" - -[[pieces]] -# 6..10 -shape.xy = [20,6] -pos = [60, 57] posd = [1,1] count = 5 type = "PlayerLabel" @@ -224,6 +211,7 @@ edge = "white" shape.type = "Rect" label.place = "BottomLeft" label.colour = "black" +{% endfor %} [[pieces]]