Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

Quick Information

Lightweight inventory system plugin for Godot Engine.
FlowerInventory
Overview
Lightweight inventory system plugin for Godot Engine.
Quick start
Note: This plugin needs to be used with kaluluosi/GDExcelExporter: 为Godot开发的excel表导出工具 (github.com) (later called the guide table plugin, the The data tables are called tables) used together. (Not together can also be used, just the data will be painful to write by hand)
First you need a template node for the item (hereafter called item template), which needs to have child nodes showing the number of items, their names, and icons (optional). And there needs to be a script for.
extends Control # Customizable export(int) var item_id export(String) var item_type var item_num:int
You need to have an inventory scene that shows the inventory UI.
Add a Inventory node to the inventory scene.
Set this node property.
Explanation:
Data: The path to the Settings file generated using the Guided Table plugin.
Inventory Base Path: The parent node where you display the items.
Item Template: The item template scene.
Item Name: the path of the node where the item name is displayed in the Item Template scene.
Item Num: the path of the node in the Item Template scene that displays the number of items.
Item Icon: the node path of the item template scene that displays the item icon. (Optional)
Add a script to your inventory scene, using the following function.
onready var inventory = $Inventory # Add item function # id: int type, the id of the item in the table # num: int type, the number of items to add # type: String type, the name of the sheet table in the form, as follows inventory.add_item(id, num, type)
As above. type = Weapons
# Delete item function, same parameters as above inventory.del_item(id, num, type) # Classified items function, type parameter as above inventory.type_item(type) # Sort items function # base: # String type。 # The basis for sorting items, such as by weight, requires adding the relevant data to the table first, as shown below # way: # String type。 # The order of sorting items, currently only "large_to_small" and "small_to_large" inventory.sort_item(base, way)
base = weight
If you want the items to be stackable, you need to add the stack attribute to the Excel sheet, which can be any attribute, any value, but as long as the attribute is there it means the item can be stacked, something like this.
Other
Thanks to 确实哥
Lightweight inventory system plugin for Godot Engine.
Reviews
Quick Information

Lightweight inventory system plugin for Godot Engine.