From 3f6f993cf08c59c20c9acec75287343a82fc0362 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 11 May 2022 23:23:35 +0100 Subject: [PATCH] mformat 2: Declare provided table and game specs format=2 This has no functional change, but it sets a good example. Signed-off-by: Ian Jackson --- specs/demo.game.toml | 1 + specs/local-users.table.toml | 2 ++ specs/mao.game.toml | 2 ++ specs/penultima.game.toml | 2 ++ specs/private.table.toml | 2 ++ specs/same-scope.table.toml | 2 ++ specs/test.table.toml | 1 + specs/vatikan.game.toml | 1 + 8 files changed, 13 insertions(+) diff --git a/specs/demo.game.toml b/specs/demo.game.toml index 257eb4b0..93f3d3c2 100644 --- a/specs/demo.game.toml +++ b/specs/demo.game.toml @@ -2,6 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # There is NO WARRANTY. +format=2 table_size = [180, 60] [[pieces]] diff --git a/specs/local-users.table.toml b/specs/local-users.table.toml index c1752a97..fe9291bb 100644 --- a/specs/local-users.table.toml +++ b/specs/local-users.table.toml @@ -2,5 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # There is NO WARRANTY. +format=2 + [[players]] account_glob = "unix:*" diff --git a/specs/mao.game.toml b/specs/mao.game.toml index 121b0816..ee3577b3 100644 --- a/specs/mao.game.toml +++ b/specs/mao.game.toml @@ -2,6 +2,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later There is NO WARRANTY. #} +format=2 + {% macro hand(pos, colour, lplace, edge="white", edge_width="0.75") %} [[pieces]] pos = {{pos}} diff --git a/specs/penultima.game.toml b/specs/penultima.game.toml index 243f7971..0316e640 100644 --- a/specs/penultima.game.toml +++ b/specs/penultima.game.toml @@ -2,6 +2,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later There is NO WARRANTY. #} +format=2 + {% macro vanilla_officers() -%} ["R","N","B","Q","K","B","N","R"] {% endmacro vanilla_officers %} diff --git a/specs/private.table.toml b/specs/private.table.toml index 77e5539e..507abfb4 100644 --- a/specs/private.table.toml +++ b/specs/private.table.toml @@ -3,3 +3,5 @@ # There is NO WARRANTY. # No ACL, so no permissions. Only game's own account can access it. + +format=2 diff --git a/specs/same-scope.table.toml b/specs/same-scope.table.toml index 3b7e0904..29df7af3 100644 --- a/specs/same-scope.table.toml +++ b/specs/same-scope.table.toml @@ -2,5 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # There is NO WARRANTY. +format=2 + [[players]] same_scope = true diff --git a/specs/test.table.toml b/specs/test.table.toml index 08a26899..f872df13 100644 --- a/specs/test.table.toml +++ b/specs/test.table.toml @@ -2,6 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # There is NO WARRANTY. +format=2 timezone = "Europe/London" #players = [ { account_glob = "server:*" } ] diff --git a/specs/vatikan.game.toml b/specs/vatikan.game.toml index 25c5cd8a..89b0039f 100644 --- a/specs/vatikan.game.toml +++ b/specs/vatikan.game.toml @@ -17,6 +17,7 @@ # Inforemation about game variants from: # https://www.pagat.com/rummy/carousel.html +format=2 table_size = [300, 200] table_colour = "#bbd" -- 2.30.2