This commit is contained in:
Forrest 2026-10-04 12:07:36 -04:00
parent 276d43613d
commit 4298caf5cb
552 changed files with 42990 additions and 776 deletions

View file

@ -0,0 +1,10 @@
extends SceneTree
## Writes the game's UI theme (UiTheme.build()) to res://game/resources/ui_theme.tres, the
## project's default theme (gui/theme/custom). Re-run after editing UiTheme (editor closed):
## godot --headless --path . --script res://game/tools/build_ui_theme.gd
func _initialize() -> void:
var err := ResourceSaver.save(UiTheme.build(), "res://game/resources/ui_theme.tres")
print("build_ui_theme: save -> %s" % error_string(err))
quit(0 if err == OK else 1)