From 772aae25b2f12fd3dc35db7e0753bac356b8fd94 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 May 2022 22:45:33 +0100 Subject: [PATCH] currency: Example Signed-off-by: Ian Jackson --- docs/gamespec.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/gamespec.rst b/docs/gamespec.rst index 6d848eec..1a8e3bef 100644 --- a/docs/gamespec.rst +++ b/docs/gamespec.rst @@ -424,6 +424,19 @@ Parameters: * ``currency``: The currency, which defines which other banknotes this one can interchange with. +Exammple:: + + [[pieces]] + pos = [125, 45] + type = "Currency" + qty = 400 + min_unit = 5 + currency = "ƒ" + image.type = "Rect" + image.size = [20,7] + image.edges = ["#00ff00"] + image.faces = ["#008800"] + ``"Rect"`` `````````` -- 2.30.2