feat: introduce identity-backed goat

This commit is contained in:
Rijad Zuzo
2026-07-26 22:26:00 +02:00
parent 1f09ebe6b6
commit f79c2bb630
47 changed files with 1903 additions and 96 deletions
+2 -2
View File
@@ -44,8 +44,8 @@ func _run_scenario(seed_value: int) -> String:
if npc.task_state == SimNPC.TASK_STATE_TRAVELING:
manager.notify_npc_arrived(npc.id)
var snapshot: Dictionary = manager.get_state_snapshot()
snapshot.erase("seed")
var snapshot: Dictionary = manager.create_state_record().to_dictionary()
snapshot["simulation"].erase("seed")
var checksum := JSON.stringify(snapshot).sha256_text()
manager.free()
return checksum