From 6b20118a02ea0be48ce7b08b21c519b562b3f41a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 8 Jun 2021 13:16:09 +0100 Subject: [PATCH] penultima: use tera for for player label sets Signed-off-by: Ian Jackson --- specs/penultima.game.toml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) 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]] -- 2.30.2