Rename project to a much better name: Venus

This commit is contained in:
JeremyStar™ 2024-05-16 00:37:28 +02:00
parent c1c87476c0
commit 9b9d2e47d9
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 11 additions and 10 deletions

View file

@ -1,17 +1,18 @@
# StarOpenSource's CORE modules
# 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/CORE-StarOpenSource-modules.git addons/sos_core_modules
git clone https://git.staropensource.de/StarOpenSource/venus.git addons/venus
```
## References
### `src/manager.gd`
#### *void* <u>register_modules</u>()
Registers all CORE modules.
Registers all of Venus' modules.
#### *void* <u>unregister_modules</u>()
Unregisters all CORE modules.
Unregisters all of Venus' modules.
### `src/modules/splashes.gd`
#### *CoreBaseModule* <u>add_splash</u>(*String* <u>category</u>, *String* <u>splash</u>)

View file

@ -1,7 +1,7 @@
[plugin]
name="StarOpenSource's CORE modules"
description=""
name="Venus"
description="StarOpenSource's custom CORE modules."
author="The StarOpenSource Project & Contributors"
version=""
script="plugin.gd"

View file

@ -20,17 +20,17 @@ class_name CoreSOSModulesManager
var core: Core
var logger: CoreLoggerInstance
var path: String = "addons/sos_core_modules/src"
var path: String = "addons/venus/src"
var modules: Dictionary = { "standard": [ "splashes" ], "sui": [] }
func _init(core_new: Core) -> void:
name = "StarOpenSource CORE modules manager"
name = "Venus manager"
core = core_new
logger = core.logger.get_instance(path + "/manager.gd", self)
func register_modules() -> void:
logger.verb("Registering StarOpenSource's CORE modules")
logger.verb("Registering Venus' modules")
for category in modules:
if category == "sui" and !DirAccess.dir_exists_absolute("res://addons/SUI"):
@ -46,7 +46,7 @@ func register_modules() -> void:
core.register_custom_module(module, path + "/modules/" + module + ".gd", module_node)
func unregister_modules() -> void:
logger.verb("Unregistering StarOpenSource's CORE modules")
logger.verb("Unregistering Venus' modules")
for module in modules:
logger.diag(core.misc.stringify_variables("Unregistering module %module%", { "module": module }))