From: Ian Jackson Date: Sun, 1 May 2022 21:45:33 +0000 (+0100) Subject: currency: Example X-Git-Tag: otter-1.1.0~321 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=772aae25b2f12fd3dc35db7e0753bac356b8fd94;p=otter.git currency: Example Signed-off-by: Ian Jackson --- 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"`` ``````````