mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
972a8494b5
修正死亡原因文本格式并移除重复条目 重构游戏结束面板的消息生成逻辑 调整牧羊犬角色描述和移除调试属性 清理猞猁角色的多余武器节点 修复字段应用器的逻辑判断错误
13 lines
356 B
GDScript
13 lines
356 B
GDScript
@tool
|
|
extends FullscreenPanelBase
|
|
|
|
@onready var audio: AudioStreamPlayer2D = $%audio
|
|
@onready var deadreason: RichTextLabel = $%deadreason
|
|
@onready var gameControl: GameControl = $%gameControl
|
|
|
|
func beforeOpen(args: Array = []):
|
|
audio.play()
|
|
deadreason.text = ("[color=gray]%s[/color]") % args[0]
|
|
func afterOpen(_args: Array = []):
|
|
gameControl.enable()
|