Add Sweetlogger

This commit is contained in:
JonShard
2026-08-10 13:46:51 +02:00
parent bf31f85b02
commit 7648ecbac9
35 changed files with 608 additions and 223 deletions
+2 -2
View File
@@ -9,10 +9,10 @@ func _ready() -> void:
if not kitchen_scene:
push_error("StationSpawner missing kitchen_scene")
print("Kitchen init")
SweetLogger.debug("initializing", [], "kitchen_instantiator.gd", "_ready")
if NetworkManager.owns_world():
print("Kitchen init is_server")
SweetLogger.debug("initializing on server", [], "kitchen_instantiator.gd", "_ready")
# Later we will do procedural generation here.
# For now we just load a scene.
NetworkManager.call_deferred("spawn_item", kitchen_scene.resource_path, transform)