Added basic elevator system

This commit is contained in:
2020-06-01 01:58:19 -04:00
parent ac1c935ca0
commit 1980139acb
36 changed files with 657 additions and 56 deletions

View File

@ -0,0 +1,10 @@
extends "res://Scripts/Entities/Door.gd"
export var level_index : int = 0
func on_elevator_stop(index):
if index == level_index:
unlock()
open()
else:
lock()