Add inventory persistence restore hook
This commit is contained in:
@@ -519,7 +519,10 @@ Target deliverable: A small group can join a server, spawn into one biome, gathe
|
||||
from the full developer HUD and shows occupied slots, total carried weight,
|
||||
and visible item stacks from the replicated inventory component.
|
||||
- [x] Add replication for inventory changes.
|
||||
- [ ] Add persistence for inventory.
|
||||
- [x] Add persistence for inventory. Player save data stores
|
||||
`FAgrarianSavedPlayer::Inventory`, capture writes the inventory component's
|
||||
stack array, restore now goes through `RestoreSavedItems`, and inventory UI
|
||||
listeners are notified after load.
|
||||
- [x] Add debug item spawn command.
|
||||
|
||||
## 0.1.F Gathering And Resources
|
||||
|
||||
Reference in New Issue
Block a user