From 31546ef996ec0e119740cfa3666cccb2949d074d Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Fri, 10 May 2019 21:54:45 +0400 Subject: [PATCH] Correct documentation about animated containers --- docs/source/reference/modding/extended.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/source/reference/modding/extended.rst b/docs/source/reference/modding/extended.rst index ac8066a6c..d7c199b57 100644 --- a/docs/source/reference/modding/extended.rst +++ b/docs/source/reference/modding/extended.rst @@ -35,13 +35,11 @@ Animated containers support It is possible to attach opening/closing animations for containers. To do this, you need to create a KF-file for the container with the following groups: -1. ``Idle`` (with ``Start`` and ``Stop`` keys) +1. ``ContainerOpen`` (with ``Start``, ``Loot`` and ``Stop`` keys) -2. ``ContainerOpen`` (with ``Start``, ``Loot`` and ``Stop`` keys) +2. ``ContainerClose`` (with ``Start`` and ``Stop`` keys) -3. ``ContainerClose`` (with ``Start`` and ``Stop`` keys) - -The ``Idle`` group can have the zero time, the ``Loot`` key for ``ContainerOpen`` allows to play a part of opening animation in the background. +The ``Loot`` key for ``ContainerOpen`` allows to play a part of opening animation in the background. For example, with the following setup, the opening animation has 1.0 sec duration and shows the container window in the middle of opening animation: