feat: populate procedural floors

This commit is contained in:
goose
2026-10-02 23:33:14 -04:00
parent e8be817284
commit e0798384a9
16 changed files with 406 additions and 6 deletions
@@ -8,7 +8,9 @@ const SUPPORTED_CATALOGS := {
"spells.json": "spell",
"loot_tables.json": "loot_table",
"npcs.json": "npc",
"traps.json": "trap",
"quests": "quest",
"events": "event",
}
func test_every_supported_ascii_id_has_exactly_one_catalog_entry() -> void:
@@ -23,7 +25,7 @@ func test_every_supported_ascii_id_has_exactly_one_catalog_entry() -> void:
func _source_ids(source_path: String) -> Array[StringName]:
var ids: Array[StringName] = []
if source_path == "quests":
if source_path in ["quests", "events"]:
var directory := DirAccess.open(ASCII_DATA_PATH.path_join(source_path))
directory.list_dir_begin()
var filename := directory.get_next()