Skip to content
ct

Class

PickupRuntime

Generated GDScript class reference for ItemVault.PickupRuntime.

Status
Current
Version
v1.0
Updated
2026-07-31

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 RefCounted

Members

NameKindSummary
pickupPropertyPickup 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).
dimensionPropertyDimension token used for diagnostics only ("2d" or "3d").
setupMethod
takeMethod
get_pickup_stackMethod
validateMethod