Workers, lighting, and loading
This commit is contained in:
9
client/Scripts/Component/InteractableDialog.gd
Normal file
9
client/Scripts/Component/InteractableDialog.gd
Normal file
@ -0,0 +1,9 @@
|
||||
extends "res://Scripts/Component/Interactable.gd"
|
||||
|
||||
export var dialog_name : String = "unconfigured"
|
||||
|
||||
func _ready():
|
||||
connect("interacted", self, "_on_interact")
|
||||
|
||||
func _on_interact():
|
||||
$Speaker.start_dialog(dialog_name)
|
Reference in New Issue
Block a user