Skip to content

fun_elements_eow

Source: base/tealdef/gui/entity_window/fun_elements/fun_elements_eow.d.tl

Notes

Extension point and plugins of the window of fun elements such as UFOs and blimps (fun_elements_eow.script.tl).

FunElementsEow

record global base/tealdef/gui/entity_window/fun_elements/fun_elements_eow.d.tl:3

global record FunElementsEow

Load: local fun_elements_eow = ug_require "/gui/entity_window/fun_elements/fun_elements_eow.script.tl"

Notes

Extension point and plugins of the window of fun elements (UFOs, blimps and similar).

Fields

Name Type Description
FunElementsEowExtensionPoint ExtensionPoint<FunElementsWidgetPluginParams> Extension point of the fun element window; register plugins with a resource of type "react-plugin ::FunElementsEowExtensionPoint". used 1× in the base game
FunElementsStatePlugin Recipe<FunElementsWidgetPluginParams> Card with a table of the fun element's state (e.g. "Seeking", "Abducting", "Circling") and speed; registered with order 0.

FunElementsEow.FunElementsWidgetPluginParams

record base/tealdef/gui/entity_window/fun_elements/fun_elements_eow.d.tl:4

record FunElementsWidgetPluginParams is EowExtensionUtil.IEowWidgetsExtensionParams

Notes

Parameters passed to the plugins of the fun element window.

Used in the base game: 3 times in 3 files

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

local extensionParams : FunElementsEow.FunElementsWidgetPluginParams = {
base/content/gui/gui/entity_window/fun_elements/fun_elements_eow.script.tl:128
fun_elements_eow.FunElementsStatePlugin = react.RegisterPluginRecipe(fun_elements_eow.FunElementsEowExtensionPoint, "FunElementsStatePlugin", function(params : 
dlcs/urbangames_deluxe_upgrade_pack/content/fun_elements/fun_elements/balloon_entity_window.script.tl:33
local extensionParams : FunElementsEow.FunElementsWidgetPluginParams = {