Shopkeeper Animation List
Discover all the settings incorporated into the AI Shopkeepers.
Last updated
Was this helpful?
Discover all the settings incorporated into the AI Shopkeepers.
Last updated
Was this helpful?
In this section, you can define both animations and scenarios. Animations are specific movement sequences that the shopkeeper performs, while scenarios are predefined behaviors or actions that the shopkeeper engages in.
Here's an example of an animation entry:
In this example, we have a "greet" category that contains various greeting animations. The "typicalGreet" animation is defined with a type of "animation" and specifies the animation dictionary, animation name, and a label. The options
table allows you to set additional parameters, such as whether the animation should loop or not.
Here's an example of a scenario entry:
In this example, we have a "janitor" category that defines a scenario where the shopkeeper acts as a janitor. The type
is set to "scenario" and the info
field specifies the scenario name.
To link these animations and scenarios with a specific shopkeeper, you need to add the corresponding animation or scenario ID inside the stores_config.lua
file and inside theConfig.AI_Shopkeepers.animationList
settings. For example: