update kq4_066_secret_tower to extend Scene

This commit is contained in:
2026-04-04 21:53:54 -07:00
parent e7c5f396b4
commit f98a8599af

View File

@@ -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)