
Triggered only by calling LuaForce::script_trigger_research. Can be used to show custom scripted triggers in the technology GUI.
| type | :: "scripted" | |
| trigger_description optional | :: LocalisedString | |
| icons optional | :: array[IconData] | Can't be an empty array. |
Can't be an empty array. | ||
| icon optional | :: FileName | Path to the icon file. [...] |
Path to the icon file. [...] | ||
| icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels. [...] |
The size of the square icon, in pixels. [...] | ||
| type | :: "scripted" | |
| icon optional | :: FileName | Path to the icon file. [...] |
Path to the icon file. [...] | ||
| icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels. [...] |
The size of the square icon, in pixels. [...] | ||
| icons optional | :: array[IconData] | Can't be an empty array. |
Can't be an empty array. | ||
| trigger_description optional | :: LocalisedString | |


Can't be an empty array.

Path to the icon file.
Only loaded if icons is not defined.

Default: 64
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.

Prototypes
Types
Defines