feat: add taskbook onboarding UI

This commit is contained in:
ANG-Server
2026-07-22 00:45:59 +08:00
parent bb91ccea21
commit 9a3248abd6
15 changed files with 598 additions and 2 deletions

View File

@@ -64,6 +64,9 @@ func _physics_process(_delta: float) -> void:
# 处理玩家交互,展示气泡并向全局事件系统广播。
func interact() -> void:
var taskManager := get_node_or_null("/root/TaskManager")
if taskManager != null and taskManager.has_method("report_activity"):
taskManager.call("report_activity", "facility_interacted", "npc")
show_bubble(dialogue)
var eventSystem: Node = get_node_or_null("/root/EventSystem")
if eventSystem != null: