Module ...
Handles dialog windows
Functions
| _M:instanciate (mod, name, new_game, no_reboot) | Instanciate the given module, loading it and creating a new game / loading an existing one | 
| _M:listModules () | List all available modules Static | 
| _M:listSavefiles () | List all available savefiles Static | 
| _M:loadDefinition (dir, team) | Get a module definition from the module init.lua file | 
| _M:loadRemoteList (src) | Loads a list of modules from te4.org/modules.lualist Calling this function starts a background thread, which can be waited on by the returned lina object | 
| _M:loadSavefileDescription (dir) | Get a savefile description from the savefile desc.lua file | 
| _M:setupWrite (mod) | 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)
- 
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:
 
- _M:listModules ()
- List all available modules Static
- _M:listSavefiles ()
- List all available savefiles Static
- _M:loadDefinition (dir, team)
- 
Get a module definition from the module init.lua file
Parameters- dir:
- team:
 
- _M:loadRemoteList (src)
- 
Loads a list of modules from te4.org/modules.lualist Calling this function starts a background thread, which can be waited on by the returned lina object
Parameters- src: the url to load the list from, if nil it will default to te4.org
 Return value:a linda object (see lua lanes documentation) which should be waited upon like thislocal mylist = l:receive("moduleslist"). Also returns a thread handle
- _M:loadSavefileDescription (dir)
- 
Get a savefile description from the savefile desc.lua file
Parameters- dir:
 
- _M:setupWrite (mod)
- 
Setup write dir for a module Static
Parameters- mod:
 
- _M:versionString (mod)
- 
Create a version string for the module version Static
Parameters- mod: