Skip to content

Commit 1dc2041

Browse files
committed
docs: more info about animation tiles
1 parent ef247ff commit 1dc2041

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/dev/Lua API.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6118,8 +6118,11 @@ Functions
61186118
:workshop_type: custom workshop string id e.g. ``SOAPMAKER`` or numeric id
61196119
:frames: table of frames. Each frame is sparse flat table with ids from ``0`` to ``31*31-1``.
61206120
Each frame tile is table of integers from 4 to 8 members long. Tile members are as
6121-
follow: tile, foreground color, background color, bright, graphics tile, overlay tile,
6122-
signpost tile, item tile.
6121+
follow: ``tile``, ``foreground color``, ``background color``, ``bright``,
6122+
``graphics tile``, ``overlay tile``, ``signpost tile``, ``item tile``.
6123+
First 4 are function same as ascii workshop definition. The latter 4 are graphics
6124+
layers. ``signpost tile`` is an optional row that sticks up over the workshop.
6125+
61236126
:frame_skip: How many ticks to display one frame. If set to negative number (or skipped) frames
61246127
are synchronized with machine animation.
61256128

0 commit comments

Comments
 (0)