From 1dc2041d2984316ac61c5366561ff4caff26910c Mon Sep 17 00:00:00 2001 From: Warmist Date: Fri, 5 Apr 2024 17:07:25 +0300 Subject: [PATCH] docs: more info about animation tiles --- docs/dev/Lua API.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index db05854464..95ad367a0e 100644 --- a/docs/dev/Lua API.rst +++ b/docs/dev/Lua API.rst @@ -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.