These functions are assumed to be globally available to all scripts since they aren't defined in the patch lua files.
This list is incomplete; additional functions could exist in the exe but not be used in the game lua, and some lua files may always be loaded (system_lib.lua?) making their functions essentially global.
Function name | Global | Defined in | Examples from patch (click blue number to expand) |
---|---|---|---|
update_swatch |
true | 1
|
|
user_has_online_privlage |
true | 6
|
|
use_imperial_units |
true | 2
|
|
use_radial_menu_item |
true | 1
|