1.1 KiB
1.1 KiB
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 copy_splashes(String source_category, String target_category)
Copies all splashes from the source category to the target category.
Array[String] get_categories()()
Returns a list of all categories.
CoreBaseModule delete_category(String category)
Removes the specified category.
String get_random_splash(String category)
Returns a random splash.