Module ...
Handles dialog windows
Functions
| _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 |
Functions
- _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: