feat: add nearby social interactions

This commit is contained in:
ANG-Server
2026-07-21 22:19:41 +08:00
parent 0bab768b14
commit 9dee47492c
43 changed files with 1499 additions and 77 deletions

View File

@@ -680,6 +680,7 @@ func _registration_texture_rect(nodeName: String, texturePath: String, rect: Rec
return textureRect
func _ready() -> void:
add_to_group("whaletown_escape_dismissible")
_auth_manager = get_node_or_null("/root/AuthManager")
_chat_manager = get_node_or_null("/root/ChatManager")
_scene_manager = get_node_or_null("/root/SceneManager")
@@ -1625,6 +1626,15 @@ func _hide_skin_workshop() -> void:
if is_instance_valid(skin_workshop_overlay):
skin_workshop_overlay.hide()
func is_escape_dismissible() -> bool:
return is_instance_valid(skin_workshop_overlay) and skin_workshop_overlay.visible
func get_escape_priority() -> int:
return 900
func request_escape_close() -> void:
_hide_skin_workshop()
func _on_workshop_source_pressed() -> void:
var err := DisplayServer.file_dialog_show(
"选择角色参考图片",