Add basic resource gathering into ship storage

ResourceNode_01 placed in the landing zone. E key on the character:
checks distance to the resource node (via a typed ResourceNodeRef
variable, same object-reference technique as the ship/character
cross-refs), and if within 300 units calls AddStorage on the ship
(through ShipPawnRef) and destroys the node. AddStorage increments
StorageAmount up to StorageCapacity, printing feedback either way.
Smoke-tested in PIE: no runtime errors.
This commit is contained in:
Joshua Deville
2026-07-08 16:03:12 -04:00
parent 090b19440d
commit f2f759e912
3 changed files with 6 additions and 6 deletions

BIN
Content/Blueprints/BP_ShipPawn.uasset (Stored with Git LFS)

Binary file not shown.