chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b059a0a
)
currency: Example
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 21:45:33 +0000
(22:45 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 21:45:33 +0000
(22:45 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
docs/gamespec.rst
patch
|
blob
|
history
diff --git
a/docs/gamespec.rst
b/docs/gamespec.rst
index 6d848eec803113c383028df7c8ffe644ebfdeca0..1a8e3befa785f7f3328cd31971ff3bc00f504cc9 100644
(file)
--- 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"``
``````````