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/droppable.gd
Syntax
class Droppable extends ResourceMembers
| Name | Kind | Summary |
|---|---|---|
item | Property | Represents an item that can be dropped into the game world. References an ItemDefinition directly; the world scene comes from the item itself (or a fallback scene_override for decorative drops). The item this droppable represents. Its world_scene is used for spawning. |
quantity | Property | How many of the item to produce per successful roll. |
odds | Property | Chance of this droppable firing per roll (0.0 – 1.0). |
scene_override | Property | Optional override scene for decorative / non-item drops. When set, takes precedence over item.world_scene. |
resolve_scene | Method |
Source
addons/item_vault/drops/droppable.gd
Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides