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

@@ -32,6 +32,7 @@ var _isSubmitting: bool = false
var _isFetchingModels: bool = false
func _ready() -> void:
add_to_group("whaletown_escape_dismissible")
recruitmentFrame.visible = false
_setup_protocol_options()
_setup_employment_duration_options()
@@ -398,6 +399,15 @@ func _on_close_pressed() -> void:
fetchModelsButton.disabled = false
tokenInput.clear()
func is_escape_dismissible() -> bool:
return recruitmentFrame.visible
func get_escape_priority() -> int:
return 900
func request_escape_close() -> void:
_on_close_pressed()
func _set_status(message: String, isError: bool) -> void:
statusLabel.text = message
statusLabel.add_theme_color_override("font_color", Color(0.68, 0.22, 0.18, 1) if isError else Color(0.32, 0.42, 0.48, 1))