StarOpenSource's custom CORE modules
Find a file
2024-05-15 21:18:10 +02:00
assets/uielements Initial commit 2024-05-15 21:08:58 +02:00
src Reorganize methods 2024-05-15 21:17:05 +02:00
.gitattributes Initial commit 2024-05-15 21:08:58 +02:00
.gitignore Initial commit 2024-05-15 21:08:58 +02:00
LICENSE Initial commit 2024-05-15 21:08:58 +02:00
plugin.cfg Initial commit 2024-05-15 21:08:58 +02:00
plugin.gd Initial commit 2024-05-15 21:08:58 +02:00
README.md im not very smart 2024-05-15 21:18:10 +02:00

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.