Skip to content

animal_eow

Source: base/tealdef/gui/entity_window/animal/animal_eow.d.tl

Notes

Extension point and plugins of the animal window (/gui/entity_window/animal/animal_eow.script.tl).

AnimalEow

record global base/tealdef/gui/entity_window/animal/animal_eow.d.tl:3

global record AnimalEow

Notes

Extension point and plugins of the animal window.

Fields

Name Type Description
AnimalEowExtensionPoint ExtensionPoint<AnimalWidgetPluginParams> Extension point of the animal window; register plugins with a resource of type "react-plugin ::AnimalEowExtensionPoint".
AnimalStatePlugin Recipe<AnimalWidgetPluginParams> Card with the description of the animal's current movement type (from the model's animal metadata); registered with order 0.

Functions

conditionAnimalStatePlugin(AnimalWidgetPluginParams) : boolean base/tealdef/gui/entity_window/animal/animal_eow.d.tl:10

No description in the game files yet.

Returns boolean

AnimalEow.AnimalWidgetPluginParams

record base/tealdef/gui/entity_window/animal/animal_eow.d.tl:4

record AnimalWidgetPluginParams is EowExtensionUtil.IEowWidgetsExtensionParams

Notes

Parameters passed to the plugins of the animal window.

Used in the base game: 2 times in 2 files

base/content/gui/gui/entity_window/animal/animal.tl:34

local extensionParams : AnimalEow.AnimalWidgetPluginParams = {
base/content/gui/gui/entity_window/animal/animal_eow.script.tl:44
animal_eow.AnimalStatePlugin = react.RegisterPluginRecipe(animal_eow.AnimalEowExtensionPoint, "AnimalStatePlugin", function(params : AnimalEow.AnimalWidgetPlugi