From f98a8599affad678f1478fd6a352c7aa9bda8b0e Mon Sep 17 00:00:00 2001 From: Bryce Date: Sat, 4 Apr 2026 21:53:54 -0700 Subject: [PATCH] update kq4_066_secret_tower to extend Scene --- .../kq4_066_secret_tower.gd | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/scenes/kq4_066_secret_tower/kq4_066_secret_tower.gd b/scenes/kq4_066_secret_tower/kq4_066_secret_tower.gd index 039a2de..388603f 100644 --- a/scenes/kq4_066_secret_tower/kq4_066_secret_tower.gd +++ b/scenes/kq4_066_secret_tower/kq4_066_secret_tower.gd @@ -1,20 +1,14 @@ -extends Node2D -class_name SecretTower - -@onready var ego: Node2D = $"../ego" - -func _ready() -> void: - pass +extends Scene func _on_room_looked() -> void: - pass + pass func _on_kq4_061_tower_stairs_interacted() -> void: - var target_scene = load("res://scenes/kq4_061_tower_stairs/kq4_061_tower_stairs.tscn") - if target_scene: - get_tree().change_scene_to_packed(target_scene) + var target_scene = load("res://scenes/kq4_061_tower_stairs/kq4_061_tower_stairs.tscn") + if target_scene: + get_tree().change_scene_to_packed(target_scene) func _on_kq4_067_the_parlor_interacted() -> void: - var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn") - if target_scene: - get_tree().change_scene_to_packed(target_scene) + var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn") + if target_scene: + get_tree().change_scene_to_packed(target_scene)