2024-04-26 18:29:21 +08:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
## 实训名称
|
|
|
|
@export var trainingName: String = "实训"
|
|
|
|
## 场景描述
|
|
|
|
@export var trainingDesc: String = "场景描述"
|
|
|
|
|
2024-05-09 20:05:07 +08:00
|
|
|
var a_sd = preload("res://Assets/training_speech/sd.mp3")
|
|
|
|
var a_xt_pslgbztmwx = preload("res://Assets/training_speech/xt_pslgbztmwx.mp3")
|
|
|
|
var a_zby_ztmjczc = preload("res://Assets/training_speech/zby_ztmjczc.mp3")
|
|
|
|
|
2024-04-26 18:29:21 +08:00
|
|
|
func _ready():
|
|
|
|
$TrainingDescDialog.title = trainingName
|
|
|
|
$TrainingDescDialog.updateSceneDesc(trainingDesc)
|
2024-04-28 17:51:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
func _on_training_desc_dialog_start_training():
|
2024-05-09 20:05:07 +08:00
|
|
|
await $VoiceCommunication.play_reply(a_xt_pslgbztmwx)
|
|
|
|
await $VoiceCommunication.play_reply(a_zby_ztmjczc)
|
|
|
|
await $VoiceCommunication.play_reply(a_sd)
|