Add inventory persistence restore hook

This commit is contained in:
2026-05-17 13:56:28 -07:00
parent 09eed7c4c4
commit ac9fee463c
7 changed files with 95 additions and 3 deletions
+4 -1
View File
@@ -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