Update Test.gd
This commit is contained in:
parent
ff0bd01e88
commit
d3fcdb63fa
1 changed files with 9 additions and 8 deletions
17
Test.gd
17
Test.gd
|
@ -36,18 +36,19 @@ func _ready() -> void:
|
||||||
add_child(core)
|
add_child(core)
|
||||||
# Print information about CORE
|
# Print information about CORE
|
||||||
core.logger.info(await core.get_formatted_string("""Version information:
|
core.logger.info(await core.get_formatted_string("""Version information:
|
||||||
Release (semantic) = %release_semantic%
|
Release (semantic) = %release_semantic%
|
||||||
Release = %release%
|
Release = %release%
|
||||||
Type = %type%
|
Typerelease = %release_type%
|
||||||
Type (technical) = %type_technical%
|
Type = %type%
|
||||||
Typerelease = %release_type%
|
Type (technical) = %type_technical%
|
||||||
Development mode = %devmode%
|
Development mode = %devmode%
|
||||||
Headless mode = %headless%"""))
|
Headless mode = %headless%
|
||||||
|
Custom module support = %custommodules%"""))
|
||||||
# Print hi
|
# Print hi
|
||||||
core.logger.info("Hi there!")
|
core.logger.info("Hi there!")
|
||||||
|
|
||||||
# Update CORE configuration
|
# Update CORE configuration
|
||||||
func configure_core() -> void:
|
func configure_core() -> void:
|
||||||
config.headless = false
|
config.headless = false
|
||||||
config.debug_allow = true
|
config.debugging = true
|
||||||
config.logger_level = CoreTypes.LoggerLevel.DIAG
|
config.logger_level = CoreTypes.LoggerLevel.DIAG
|
||||||
|
|
Loading…
Reference in a new issue