feat: add multi-floor dungeon transitions

This commit is contained in:
goose
2026-10-02 23:58:07 -04:00
parent 4a3d2fc3ff
commit fe13555778
20 changed files with 348 additions and 29 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ static func events(catalog: ContentCatalog) -> Array[Dictionary]:
return _definitions(catalog, &"event")
static func npc_for_role(catalog: ContentCatalog, role: StringName) -> Dictionary:
var preferred_id := {
var preferred_id: StringName = {
&"shop": &"npc_wandering_merchant",
&"guild": &"npc_guild_keeper",
&"sanctuary": &"npc_shelter_survivor",
@@ -39,7 +39,7 @@ static func npc_for_role(catalog: ContentCatalog, role: StringName) -> Dictionar
return available[0] if not available.is_empty() else {}
static func event_for_role(catalog: ContentCatalog, role: StringName) -> Dictionary:
var preferred_id := {
var preferred_id: StringName = {
&"narrative": &"event_narrative_note",
&"mystery": &"event_vending_machine",
&"puzzle": &"event_puzzle_pressure_plates",