Shared pickup lifecycle for Pickup2D and Pickup3D. Keeps the editor-facing pickup nodes thin dimension adapters while moving pickup delay, stack resolution, metadata handling, drop-table roll, validation, and accepted/rejected/overflow handling into a single place.
Source: addons/item_vault/pickups/pickup_runtime.gd
Syntax
class PickupRuntime extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
pickup | Property | Pickup node this runtime is driving. Expected to expose the same exported fields as Pickup2D/Pickup3D (root, resource_count, free_on_pickup, sound, pickup_delay, loot_table, picked_up signal). |
dimension | Property | Dimension token used for diagnostics only ("2d" or "3d"). |
setup | Method | |
take | Method | |
get_pickup_stack | Method | |
validate | Method |