feat: Add right hand/foot editor options, Flintstones Water Buffalo Lodge hat, hide controls in world editor, and easy main menu sound toggle
checkpoint / checkpoint (push) Successful in 6m19s

This commit is contained in:
2026-09-20 11:40:41 +00:00
parent 034a6901a9
commit 62fa0b0067
18 changed files with 601 additions and 20 deletions
+9
View File
@@ -45,6 +45,7 @@ var _friends_overlay: Control = null
var _report_modal: Control = null
var _pause_menu: Control = null
var _controls_modal: Control = null
var _controls_pill: Control = null
var _hud_layer: CanvasLayer = null
var _overlay_layer: CanvasLayer = null
@@ -335,6 +336,8 @@ func _setup_in_game_hud() -> void:
hint_lbl.add_theme_color_override("font_color", Color(0.85, 0.9, 0.95, 0.85))
controls_pill.add_child(hint_lbl)
_hud_layer.add_child(controls_pill)
_controls_pill = controls_pill
_controls_pill.visible = (_build_editor == null or not is_instance_valid(_build_editor))
# If editing in creator test mode, show status badge
if Session.editing and Session.world_id != null and int(Session.world_id) > 0:
@@ -687,6 +690,8 @@ func _open_build_mode() -> void:
_build_editor.closed.connect(_close_build_mode)
_build_editor.exit_browser_requested.connect(_exit_editor_to_browser)
add_child(_build_editor)
if _controls_pill != null and is_instance_valid(_controls_pill):
_controls_pill.visible = false
## Shared teardown for both close paths (F2 again, or the editor's own
@@ -697,6 +702,8 @@ func _close_build_mode() -> void:
if _build_editor != null and is_instance_valid(_build_editor):
_build_editor.queue_free()
_build_editor = null
if _controls_pill != null and is_instance_valid(_controls_pill):
_controls_pill.visible = true
for child in get_children():
if child is ChunkSaveService:
child.queue_free()
@@ -760,6 +767,8 @@ func _open_editor_for_world() -> void:
_build_editor.closed.connect(_close_build_mode)
_build_editor.exit_browser_requested.connect(_exit_editor_to_browser)
add_child(_build_editor)
if _controls_pill != null and is_instance_valid(_controls_pill):
_controls_pill.visible = false
## Close path for the non-joined editor (ESC, or the editor's own Close