43 lines
845 B
GDScript
43 lines
845 B
GDScript
@tool
|
|
extends AnimationRoot
|
|
|
|
|
|
# 覆盖该方法
|
|
func _default_data() -> Dictionary:
|
|
return {}
|
|
|
|
|
|
func _ready() -> void:
|
|
super._ready()
|
|
if Engine.is_editor_hint():
|
|
return
|
|
|
|
|
|
#region node_reference
|
|
#endregion
|
|
|
|
|
|
# 读取设置变量名
|
|
func _setup_node_reference() -> void:
|
|
pass
|
|
|
|
|
|
func _on_ground_ready() -> void:
|
|
pass
|
|
|
|
|
|
func eavesdrop_luren() -> void:
|
|
# 12 c00_吕萍_蹲下 13 c00_吕萍_蹲下呼吸 14 c00_吕萍_起立
|
|
SceneManager.lock_player(0, 12)
|
|
# play("eavesdrop")
|
|
await Util.wait(1)
|
|
SceneManager.player_action(13)
|
|
# 对话
|
|
DialogueManager.show_dialogue_balloon(dialogue_c03, "c03_s01_三楼偷听陆仁小蝶")
|
|
await DialogueManager.dialogue_ended
|
|
await Util.wait(1)
|
|
SceneManager.player_action(14, true)
|
|
await Util.wait(1.5)
|
|
await SceneManager.pop_os_with_str("c03_偷听陆仁对话后")
|
|
SceneManager.unlock_player()
|