Cow_Life_Sim_RPG/NPCs/Beesly/BeeslyTalk.gd

16 lines
301 B
GDScript

extends Interaction
func _ready():
add_action("Talk", talk)
func _process(delta):
pass
func talk():
var dialogue = get_parent().get_dialogue()
if dialogue != null:
DialogueBoxManager.set_current_speaker(get_parent())
get_parent().stand_up()
DialogueBoxManager.start_dialogue(dialogue)