feat: add scattered discoverable resources

This commit is contained in:
2026-07-07 15:38:31 +02:00
parent 036c9d5141
commit 72d1cfc15d
7 changed files with 66 additions and 17 deletions
+13 -3
View File
@@ -113,8 +113,18 @@ func _run() -> void:
ids.append(String((resource as ResourceNode).node_id))
ids.sort()
_check(
ids == ["berry_bush_01", "berry_bush_02", "tree_01", "tree_02"],
"Jajce resources should preserve all stable IDs"
ids
== [
"animal_camp_01",
"berry_bush_01",
"berry_bush_02",
"berry_patch_river_01",
"tree_01",
"tree_02",
"tree_north_outskirts_01",
"tree_south_edge_01"
],
"Jajce resources should preserve all stable and discoverable IDs"
)
var metadata_valid := true
for resource in resources:
@@ -218,7 +228,7 @@ func _run() -> void:
if failures.is_empty():
print(
"[TEST] Jajce scaffold passed: Terrain3D, storage/activity sites, shader water"
"[TEST] Jajce scaffold passed: Terrain3D, scattered resources, typed sites"
)
quit(0)
return