From: Ian Jackson Date: Sun, 23 May 2021 02:06:06 +0000 (+0100) Subject: docs: wip document specs X-Git-Tag: otter-0.6.0~23 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=19d55fc1321cf9e1507669db9b4a3af51c3ac384;p=otter.git docs: wip document specs Signed-off-by: Ian Jackson --- diff --git a/docs/gamespec.rst b/docs/gamespec.rst index 96cedad3..30d69ee8 100644 --- a/docs/gamespec.rst +++ b/docs/gamespec.rst @@ -19,9 +19,12 @@ level: * ``table_size`` [array of 2 numbers]. Size of the table playing area, in Otter internal units. The default is ``[300,200]``. - * ``table_colour`` [string, colour]. Table backdrop colour. - (Only certain colour syntaxes are supported.) + * ``table_colour`` [string: colour]. Table backdrop colour. + Only certain colour syntaxes are supported. Default: ``green``. - * ``pcaliases```: [table, values are Piece spec table]. Piece alias + * ``pcaliases``: [table, values are Piece spec table]. Piece alias table. When a piece is being loaded, an alias xxxx grep for where referred to + + * ``pieces``: Array of _`Piece spec`. Defines the initial pieces + and their layout. Each entry is a piece spec sub-table.