Skip to content
ct

Class

DropTable

Generated GDScript class reference for ItemVault.DropTable.

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

A table of possible drops / loot entries. One abstraction used both for spawning scenes into the world (RandomDrops) and for granting items on pickup (Pickup2D/3D).

Source: addons/item_vault/drops/drop_table.gd

Syntax

class DropTable extends Resource

Members

NameKindSummary
possible_dropsPropertyThe item pickups that can drop.
guaranteed_dropsPropertyMinimum number of drops that will come from the table per generation. Will repeat generating items until this number is met.
combined_oddsPropertyWhether odds should be tallied together and then rolled for one possible item rather than individually rolling for each item.
has_possible_dropsMethod
stack_fromMethod
roll_weighted_entryMethod
roll_independentMethod