StarOpenSource's custom CORE modules
assets/uielements | ||
src | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
plugin.cfg | ||
plugin.gd | ||
README.md |
StarOpenSource's CORE modules
Setting up
mkdir -p addons
git clone https://git.staropensource.de/StarOpenSource/CORE-StarOpenSource-modules.git addons/sos_core_modules
References
src/manager.gd
void register_modules()
Registers all CORE modules.
void unregister_modules()
Unregisters all CORE modules.
src/modules/splashes.gd
CoreBaseModule add_splash(String category, String splash)
Adds a splash to the specified category.
CoreBaseModule add_splashes(*String category, Array[String] splashes)
Adds an array of splashes to the specified category.
CoreBaseModule delete_category(*String category)
Removes the specified category.
CoreBaseModule copy_splashes(String source_category, String target_category)
Copies all splashes from the source category to the target category.
String get_random_splash(String category)
Returns a random splash.