Skip to content

Commit

Permalink
docs: more info about animation tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
warmist committed Jun 7, 2024
1 parent ef247ff commit 1dc2041
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/dev/Lua API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6118,8 +6118,11 @@ Functions
:workshop_type: custom workshop string id e.g. ``SOAPMAKER`` or numeric id
:frames: table of frames. Each frame is sparse flat table with ids from ``0`` to ``31*31-1``.
Each frame tile is table of integers from 4 to 8 members long. Tile members are as
follow: tile, foreground color, background color, bright, graphics tile, overlay tile,
signpost tile, item tile.
follow: ``tile``, ``foreground color``, ``background color``, ``bright``,
``graphics tile``, ``overlay tile``, ``signpost tile``, ``item tile``.
First 4 are function same as ascii workshop definition. The latter 4 are graphics
layers. ``signpost tile`` is an optional row that sticks up over the workshop.

:frame_skip: How many ticks to display one frame. If set to negative number (or skipped) frames
are synchronized with machine animation.

Expand Down

0 comments on commit 1dc2041

Please sign in to comment.