Add resource node persistence

This commit is contained in:
2026-05-17 17:08:05 -07:00
parent 843340ebdc
commit 5da545e000
13 changed files with 276 additions and 4 deletions
+9
View File
@@ -69,6 +69,15 @@ immediate benefit:
The rule is inventory-based until equipment slots, durability, and explicit
active-hand state are implemented.
## Persistence
Ground Zero resource actors receive stable `PersistenceNodeId` values matching
their placement labels. The persistence subsystem captures and restores only
resource nodes that exist in the loaded world, so depletion records stay scoped
to active map/tile content. Future generated Earth-scale tiles should follow the
same rule: assign deterministic resource node IDs during placement and let the
save system record depletion only for tiles whose resource actors are present.
## Follow-Up
Future passes should replace the prototype meshes with real coastal scrub,