updates
This commit is contained in:
parent
276d43613d
commit
4298caf5cb
552 changed files with 42990 additions and 776 deletions
10
game/tools/build_ui_theme.gd
Normal file
10
game/tools/build_ui_theme.gd
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue