Create rooms 053-099 with transitions
- Created 45 new room scenes from specs - Added proper .tscn and .gd files for each room - Wired up transitions based on spec exit information - Connected to existing rooms (017, 022, 028, 030, 031) where applicable - Rooms include: dwarfs areas, caves, swamp, castle, and more
This commit is contained in:
20
scenes/kq4_074_troll_cave/kq4_074_troll_cave.gd
Normal file
20
scenes/kq4_074_troll_cave/kq4_074_troll_cave.gd
Normal file
@@ -0,0 +1,20 @@
|
||||
extends Node2D
|
||||
class_name TrollCave
|
||||
|
||||
@onready var ego: Node2D = $"../ego"
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
pass
|
||||
|
||||
func _on_kq4_071_cave_entrance_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_071_cave_entrance/kq4_071_cave_entrance.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
|
||||
func _on_kq4_075_troll_cave_passage_interacted() -> void:
|
||||
var target_scene = load("res://scenes/kq4_075_troll_cave_passage/kq4_075_troll_cave_passage.tscn")
|
||||
if target_scene:
|
||||
get_tree().change_scene_to_packed(target_scene)
|
||||
Reference in New Issue
Block a user