This commit is contained in:
Maurane
2026-08-16 01:06:53 +02:00
parent d0cdec4a6a
commit 59e9cb30a5
362 changed files with 4139 additions and 4487 deletions
+5 -4
View File
@@ -5,9 +5,10 @@ extends Control
@onready var room = $Room
@onready var backwall = $Backwall
@onready var backwall_animation = $Backwall/BackwallAnimation
@onready var cell_top = $CellTop
@onready var cell_bot = $CellBot
@onready var cell_animation = $CellAnimation
@onready var cell_door = $CellDoor
@onready var cell_top = $CellDoor/CellTop
@onready var cell_bot = $CellDoor/CellBot
@onready var cell_animation = $CellDoor/CellAnimation
# Called when the node enters the scene tree for the first time.
@@ -18,7 +19,7 @@ func _ready() -> void:
#Resets to initial state
func reset():
cell_wall.modulate = Patient.original_color
for node in [cell_wall, cell_top, cell_bot]:
for node in [cell_wall, cell_door]:
node.hide()
for node in [glass, room, backwall]:
node.show()