venus/README.md

29 lines
1.1 KiB
Markdown

# Venus
StarOpenSource's custom [CORE](https://git.staropensource.de/StarOpenSource/CORE) modules.
## Setting up
```bash
mkdir -p addons
git clone https://git.staropensource.de/StarOpenSource/venus.git addons/venus
```
## References
### `src/manager.gd`
#### *void* <u>register_modules</u>()
Registers all of Venus' modules.
#### *void* <u>unregister_modules</u>()
Unregisters all of Venus' modules.
### `src/modules/splashes.gd`
#### *CoreBaseModule* <u>add_splash</u>(*String* <u>category</u>, *String* <u>splash</u>)
Adds a splash to the specified category.
#### *CoreBaseModule* <u>add_splashes</u>(*String* <u>category</u>, *Array* <u>splashes</u>)
Adds an array of splashes to the specified category.
#### *CoreBaseModule* <u>copy_splashes</u>(*String* <u>source_category</u>, *String* <u>target_category</u>)
Copies all splashes from the source category to the target category.
#### *Array* <u>get_categories</u>()
Returns a list of all categories.
#### *CoreBaseModule* <u>delete_category</u>(*String* <u>category</u>)
Removes the specified category.
#### *String* <u>get_random_splash</u>(*String* <u>category</u>)
Returns a random splash.