Home

ScriptedTechnologyTrigger

Triggered only by calling LuaForce::script_trigger_research. Can be used to show custom scripted triggers in the technology GUI.

Type

struct

Properties

type

trigger_description

icons

Can't be an empty array.

icon

Path to the icon file.

Only loaded if icons is not defined.

icon_size

The size of the square icon, in pixels. E.g. 32 for a 32px by 32px icon. Must be larger than 0.

Only loaded if icons is not defined.