Settings 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
Source: addons/item_vault/settings/inventory_access_settings.gd
Syntax
class InventoryAccessSettings extends ResourceMembers
| Name | Kind | Summary |
|---|---|---|
method_get_contents | Property | Function to call to get the contents of the inventory |
method_remove | Property | What 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_inventory | Property | Name 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_add | Property | The 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 |