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

@@ -38,6 +38,7 @@ var _isOpen: bool = false
var _hasRequestedFriendList: bool = false
func _ready() -> void:
add_to_group("whaletown_escape_dismissible")
mouse_filter = Control.MOUSE_FILTER_IGNORE
_build_ui()
set_panel_open(false)
@@ -60,6 +61,15 @@ func set_panel_open(open: bool) -> void:
func is_panel_open() -> bool:
return _isOpen
func is_escape_dismissible() -> bool:
return _isOpen
func get_escape_priority() -> int:
return 500
func request_escape_close() -> void:
set_panel_open(false)
func toggle_panel() -> void:
set_panel_open(not _isOpen)