Skip to content
ct

Class

DropTable

Generated GDScript class reference for ItemVault.DropTable.

Status
Draft
Version
v1.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Source: addons/item_vault/drops/drop_table.gd

Syntax

class DropTable extends Resource

Members

NameKindSummary
possible_dropsPropertyA 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). The 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