JeremyStarTM
ab5b3ade52
- Rewrote mkdevprj/rmdevprj in Makefile - Add MOAM modloader - Add core.exception() - Add protection mode - Rewrote module initialization - Add experimental markdown parser - Many more very small changes
1.9 KiB
1.9 KiB
hide | |
---|---|
|
Mother Of All Mods [Modloader] (core.moam)
Loads and executes modifications.
Methods
load_mods()
- returns
Array
- description
Loads all modifications and returns all encountered errors as a a collection of strings
load_mod()
- returns
String
(if not""
some error occured) - description
Loads and executes a modification
- argument
mod_name
- type
String
- mandatory
yes
- description
The modification name to use
- type
- argument
unload_mods()
- returns
void
- description
Unloads all loaded modifications
unload_mod()
- returns
void
- description
Unloads a modification
- argument
mod_name
- type
String
- mandatory
yes
- description
The modification name to use
- type
- argument
get_list()
- returns
Array
- description
Returns a list of all loaded modification names
get_info()
- returns
Dictionary
(if a error occured the dict will contain aerror
key) - description
Returns information about a modification
- argument
mod_name
- type
String
- mandatory
yes
- description
The modification name to use
- type
- argument
Internal variables
Do not touch or you will cause breakage.
modlist
- type
Array
- default value
[]
- description
All loaded modification (names)
config_loadpath
- type
String
- default value
null
- description
The mods directory all modifications are loaded from
config_wanted_name
- type
String
- default value
null
- description
Used for the modinfo filename. If set to "testapp" it will search for "testapp.coremod" files
config_wanted_version
- type
String
- default value
null
- description
The application or game version. Modifications will not load if they don't support the specified version
config_wanted_api
- type
String
- default value
null
- description
The application or game api version. Modifications will not load if they don't support the specified api version.