Skip to content

Class

DropTable

Generated GDScript class reference for ItemVault.DropTable.

Status
Current
Version
v1.1
Source updated
2026-09-12
Generated on
2026-10-12

Table of possible drops, 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_dropsPropertyEntries that can drop.
guaranteed_dropsPropertyRepeat generation until this many drops are produced.
combined_oddsPropertyTally all odds and roll once for one entry instead of rolling each independently.
has_possible_dropsMethod
stack_fromMethod
roll_weighted_entryMethod
roll_independentMethod