Skip to content

Commit 1e29a55

Browse files
committed
docs: more info about animation tiles
1 parent 9288df9 commit 1e29a55

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
@@ -6569,8 +6569,11 @@ Functions
65696569
:workshop_type: custom workshop string id e.g. ``SOAPMAKER`` or numeric id
65706570
:frames: table of frames. Each frame is sparse flat table with ids from ``0`` to ``31*31-1``.
65716571
Each frame tile is table of integers from 4 to 8 members long. Tile members are as
6572-
follow: tile, foreground color, background color, bright, graphics tile, overlay tile,
6573-
signpost tile, item tile.
6572+
follow: ``tile``, ``foreground color``, ``background color``, ``bright``,
6573+
``graphics tile``, ``overlay tile``, ``signpost tile``, ``item tile``.
6574+
First 4 are function same as ascii workshop definition. The latter 4 are graphics
6575+
layers. ``signpost tile`` is an optional row that sticks up over the workshop.
6576+
65746577
:frame_skip: How many ticks to display one frame. If set to negative number (or skipped) frames
65756578
are synchronized with machine animation.
65766579

0 commit comments

Comments
 (0)