Chris' Tutorials
Docs/Item Vault

Class

DropsTable

Generated GDScript class reference for ItemVault.DropsTable.

StatusDraft
Versionv1.0
UpdatedDevelopment docs generated from GDScript source

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

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Source: addons/item_vault/drops/drops_table.gd

Syntax

class DropsTable extends Resource

Members

NameKindSummary
possible_dropsPropertyDefines odds for each item to be dropped into the game world. The item pickups that can be dropped.
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. [br][br] Effectively this means the odds of each are in relation to each other and no longer a raw percentage. Ex, if one has odds 2.0 and one has odds 1.0 then the 2.0 is 66.7% likely, and the 1.0 is 33.3% likely to drop but one of them will definitely drop per each call to generate drops.
has_possible_dropsMethod
stack_fromMethod

Source

addons/item_vault/drops/drops_table.gd

Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides