Source: addons/item_vault/pickups/pickup_event.gd
Syntax
class PickupEvent extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
pickup | Property | Occurrence data for an item being successfully picked up from the game scene. The object being picked up. |
collector | Property | The object picking up the node. |
stack | Property | The resolved item stack picked up from the pickup scene. |
dimension | Property | Diagnostics only: reports `"2d"` or `"3d"` for the pickup source. Behavior must not branch on this. |
overflow | Property | Overflow remaining after the inventory target attempted to accept the stack. Set by InventoryPickupBridge during signal handling. Null means fully accepted. Pickup2D/Pickup3D read this in take() to decide whether to free or remain. |
fully_accepted | Method | |
fully_rejected | Method |