Module ...
Handles dialog windows
Functions
_M:instanciate (mod, name, new_game, no_reboot, extra_module_info) | Instanciate the given module, loading it and creating a new game / loading an existing one |
_M:listAddons (mod, ignore_compat) | List all available addons |
_M:listModules (incompatible, moddir_filter) | List all available modules Static |
_M:listSavefiles (moddir_filter) | List all available savefiles Static |
_M:listVaultSaves () | List all available vault characters Static |
_M:listVaultSavesForCurrent () | List all available vault characters for the currently running module Static |
_M:loadDefinition (dir, team, incompatible) | Get a module definition from the module init.lua file |
_M:loadSavefileDescription (dir) | Get a savefile description from the savefile desc.lua file |
_M:loadScreen (mod) | Make a module loadscreen |
_M:setupWrite (mod, nomount) | Setup write dir for a module Static |
_M:versionString (mod) | Create a version string for the module version Static |
Functions
- _M:instanciate (mod, name, new_game, no_reboot, extra_module_info)
-
Instanciate the given module, loading it and creating a new game / loading an existing one
Parameters
- mod: the module definition as given by Module:loadDefinition()
- name: the savefile name
- new_game: true if the game must be created (aka new character)
- no_reboot:
- extra_module_info:
- _M:listAddons (mod, ignore_compat)
-
List all available addons
Parameters
- mod:
- ignore_compat:
- _M:listModules (incompatible, moddir_filter)
-
List all available modules Static
Parameters
- incompatible:
- moddir_filter:
- _M:listSavefiles (moddir_filter)
-
List all available savefiles Static
Parameters
- moddir_filter:
- _M:listVaultSaves ()
- List all available vault characters Static
- _M:listVaultSavesForCurrent ()
- List all available vault characters for the currently running module Static
- _M:loadDefinition (dir, team, incompatible)
-
Get a module definition from the module init.lua file
Parameters
- dir:
- team:
- incompatible:
- _M:loadSavefileDescription (dir)
-
Get a savefile description from the savefile desc.lua file
Parameters
- dir:
- _M:loadScreen (mod)
-
Make a module loadscreen
Parameters
- mod:
- _M:setupWrite (mod, nomount)
-
Setup write dir for a module Static
Parameters
- mod:
- nomount:
- _M:versionString (mod)
-
Create a version string for the module version Static
Parameters
- mod: