Download Download
Godot Feature Splash
Godot Addon API Docs
InventoryUtils — API

Properties

  • Dictionary[String, InventoryItemKind] INVENTORY_ITEM_KIND_REGISTRY = {}
  • Dictionary[String, InventorySize] INVENTORY_SIZE_REGISTRY = {}
  • bool KEEP_PLAYER_INVENTORY = false
  • Inventory PLAYER_INVENTORY

Methods

  • void clean_up()
  • void register_item_kind(InventoryItemKind kind)
  • InventoryItemKind get_item_kind(String kind_id)
  • void register_inventory_type_size(String inventory_type_id, InventorySize size)
  • InventorySize get_inventory_type_size(String inventory_type_id)
  • void set_keep_player_inventory(bool value = true)
  • bool get_keep_player_inventory()