Chris' Tutorials
Docs/Item Vault

Class

InventoryAccessSettings

Generated GDScript class reference for ItemVault.InventoryAccessSettings.

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/settings/inventory_access_settings.gd

Syntax

class InventoryAccessSettings extends Resource

Members

NameKindSummary
method_get_contentsPropertySettings that define how items are added or removed to a system agnostic inventory Recommended to save this resource and shared across the project if every game object uses the same inventory for items management Function to call to get the contents of the inventory
method_removePropertyWhat to call to remove an item (or stack) from the inventory [br][br] Parameter is one 'item' or 'stack'. Whatever is stored in sequence in the inventory.
prop_inventoryPropertyName of the property on the targeted node that points to the actual inventory object (Resource or otherwise). [br][br] Leave blank if the target node itself is the inventory.
method_addPropertyThe method to try on the inventory to add the picked up items to the inventory Parameter should be the Item type, and the count : int to be added

Source

addons/item_vault/settings/inventory_access_settings.gd

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