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 ResourceMembers
| Name | Kind | Summary |
|---|---|---|
possible_drops | Property | Entries that can drop. |
guaranteed_drops | Property | Repeat generation until this many drops are produced. |
combined_odds | Property | Tally all odds and roll once for one entry instead of rolling each independently. |
has_possible_drops | Method | |
stack_from | Method | |
roll_weighted_entry | Method | |
roll_independent | Method |