Dev env & bugfixes

This commit is contained in:
2020-05-17 08:30:31 -04:00
parent c39e44da3a
commit 65e4fc6a48
6 changed files with 175 additions and 4 deletions

View File

@ -1,11 +1,14 @@
extends "res://Scripts/Component/Interactable.gd"
export var start_on_play = true
func _ready():
connect("interacted", self, "_on_interact")
$Speaker.speaker = "fast_talker"
$Speaker.speaker_name = "Dr.Thadd"
$Speaker.connect("dialog_exited", self, "give_tip")
$Speaker.start_dialog("intro_science")
if start_on_play:
$Speaker.start_dialog("intro_science")
func _on_interact():
$Speaker.start_dialog("intro_science_followup")