Add resource node persistence
This commit is contained in:
@@ -458,6 +458,15 @@ plants remain pure bare-hand gathering. Later nodes can disable
|
||||
`bAllowBareHandGathering` when the game has proper tool equipment, durability,
|
||||
and feedback UI.
|
||||
|
||||
Resource node persistence is map/tile state, not a spawned-actor replay path.
|
||||
`UAgrarianSaveGame` stores `FAgrarianSavedResourceNode` records keyed by
|
||||
`AAgrarianResourceNode::PersistenceNodeId`, with the actor name as a fallback.
|
||||
`UAgrarianPersistenceSubsystem` captures only resource nodes that exist in the
|
||||
currently loaded world and restores matching existing nodes by stable id. This
|
||||
keeps the MVP compatible with later Earth-scale tiles: a tile contributes
|
||||
resource depletion state only when its resource actors actually exist, and tile
|
||||
generation/placement scripts should assign deterministic node ids.
|
||||
|
||||
### Wildlife Navigation
|
||||
|
||||
MVP wildlife movement is server authoritative. `AAgrarianWildlifeBase` uses an
|
||||
|
||||
Reference in New Issue
Block a user