feat: add taskbook onboarding UI
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user