Workers, lighting, and loading

This commit is contained in:
2020-05-16 17:05:44 -04:00
parent 7528cba7d7
commit a26da07f43
61 changed files with 905 additions and 24 deletions

View File

@ -5,11 +5,14 @@ var state : int = 0
func _ready():
connect("interacted", self, "_on_interact")
$Speaker.speaker_name = "CEO Grant Blevins"
$Speaker.speaker = "ceo"
$Speaker.connect("dialog_exited", self, "_on_dialog_exit")
func _on_interact():
if state == 0:
$Speaker.start_dialog("intro_meet_ceo")
if player:
player.clearance_level = 1
else:
$Speaker.start_dialog("into_speak_ceo")