Inventory - New version 0.10.0!!


New: Item Metadata System

This update brings a major improvement for developers using the Inventory Slot Plugin in Godot 4.x.x.



What's New

Item Metadata System
It is now possible to assign and retrieve metadata from any inventory item using:

var data = Inventory.get_metadata(_item_unique_id) 

The metadata system allows you to add custom information such as rarity, durability, modifiers, or any gameplay-related data directly to your items.

Complete English Documentation
The entire plugin documentation has been translated and restructured for greater clarity and accessibility.
It now includes detailed explanations and code examples for all methods in Inventory and InventoryFile.

Compatibility

  • Compatible with Godot 4.3, 4.4, and 4.5

Notes

If get_metadata() is called with an invalid _item_unique_id, the function will simply return an empty dictionary, preventing crashes and keeping your code safe.

Tip

Combine the metadata system with your item logic to create dynamic and modular gameplay systems.

Files

inventory_slot_plugin.zip 615 kB
6 days ago
Inventory_Slot_Demo.zip 129 MB
Nov 09, 2024

Get Inventory Slot Plugin

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.