Document player inventory persistence
This commit is contained in:
@@ -423,6 +423,12 @@ treatment quality data for later generational and health systems. Version 0.1.M
|
||||
only persists and restores those placeholders; it does not apply aging,
|
||||
lifespan, inheritance, or generational outcome gameplay.
|
||||
|
||||
Player inventory is stored through `FAgrarianSavedPlayer::Inventory`, copied
|
||||
from `UAgrarianInventoryComponent::Items`, and restored through
|
||||
`UAgrarianInventoryComponent::RestoreSavedItems`. Restore recomputes derived
|
||||
values and broadcasts inventory changes so HUD/debug listeners see loaded item
|
||||
state.
|
||||
|
||||
## Testing Gates
|
||||
|
||||
Minimum persistence smoke test:
|
||||
|
||||
Reference in New Issue
Block a user