feat: populate procedural floors
This commit is contained in:
@@ -12,6 +12,12 @@ func test_item_fixture_preserves_rusty_sword_fields() -> void:
|
||||
assert_eq(sword.get("rarity"), "commun")
|
||||
assert_eq(sword.get("damage"), 6)
|
||||
|
||||
func test_catalog_exposes_ascii_traps_and_events() -> void:
|
||||
var catalog := ContentCatalog.load_from_directory("res://data/ascii")
|
||||
|
||||
assert_ne(catalog.get_trap(&"trap_spikes"), {})
|
||||
assert_ne(catalog.get_event(&"event_narrative_note"), {})
|
||||
|
||||
func test_missing_required_id_records_explicit_diagnostic() -> void:
|
||||
var catalog := ContentCatalog.load_from_directory("res://tests/fixtures/content_loader_missing_id")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user