Add Table handles Sides

This commit is contained in:
JonShard
2026-07-31 14:03:53 +02:00
parent 3d616bf4a5
commit 48c9845624
15 changed files with 528 additions and 79 deletions
+6 -1
View File
@@ -94,8 +94,8 @@ func _populate_world_if_owner() -> void:
layout.queue_free()
return
_init_recipes()
_populated = true
GameManager.meals_in_play = ["hamburger"]
var stations := layout.get_stations()
var items := layout.get_items()
layout.queue_free()
@@ -108,6 +108,11 @@ func _populate_world_if_owner() -> void:
NetworkManager.log_line("World populated")
func _init_recipes():
GameManager.meals_in_play = ["hamburger"]
GameManager.sides_in_play = ["cube"]
# Free the authored template nodes. Done immediately rather than with
# queue_free() so the names are released before the replicated copies are
# spawned under the same ones.