Add item pickup actor

This commit is contained in:
2026-05-17 00:55:16 -07:00
parent c511ae904a
commit 03d856efbf
5 changed files with 197 additions and 1 deletions
+8
View File
@@ -91,6 +91,14 @@ and save-game `FAgrarianItemStack` records, and a server-authoritative
splitting, item use, equipment, carry capacity, persistence, and UI work should
extend that contract rather than inventing parallel inventory state.
World pickups use `AAgrarianItemPickup`, an interactable replicated actor with a
static mesh and either a definition-backed or inline `FAgrarianItemStack`.
Player interaction already routes to the server through the Agrarian character,
so pickups validate authority, produce a valid stack, add it to the player's
inventory, and only then remove the pickup by destroying the world pickup actor.
If the inventory is full or the stack is invalid, the pickup remains in the
world for another attempt.
## Time And Environment
The MVP gameplay calendar target is: