GetAssetPack

Storage System - Godot 4.4

Storage System - Godot 4.4
Price
$2.99
Type
Art
Creator
/mm4rk3t/
Dimensions
2D
Engine
Godot

Godot 4 storage and inventory system with a sample project, grid generation, item stacking and sorting, drag-and-drop transfers, and loot-all controls.

A versatile storage system for Godot 4.4

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

Storage System - Godot 4.4

Storage System - Godot 4.41 / 2
/mm4rk3t/ · itch.io$2.99
2D
Art
License not indexed
  • i Check the terms on the original listing.
Show full terms

A versatile storage system for Godot 4.4

Godot 4 storage and inventory system with a sample project, grid generation, item stacking and sorting, drag-and-drop transfers, and loot-all controls.

View original listing

Description

If you need a ready-to-use, simple yet feature-rich storage system for Godot, this is the one for you. The download includes a sample project that demonstrates how to integrate the system into your own game.

Features

Show full description...
  • "Loot all" button for non-player inventories
  • Dynamic grid generation and locked items

Easy to integrate , customizable, and perfect for inventories, chests, lootboxes, and more!

How to Use

Upon opening the sample project, press "I" to show inventory and start messing around.

extends Control @export var onyx: ItemData @export var ruby: ItemData @export var emerald: ItemData @export var lapis_lazuli: ItemData var storage_scene = preload("res://scenes/Storage.tscn") func _ready(): var player_inventory = storage_scene.instantiate() player_inventory.offset = Vector2(300, 75) player_inventory.init("Inventory", 5, 3, 7, true) add_child(player_inventory) player_inventory.add_item(onyx, onyx.stack_size * 3) player_inventory.add_item(ruby, 17) player_inventory.add_item(emerald, 64) player_inventory.add_item(lapis_lazuli, 32)

Once you set it up, creating a new storage is as easy as that. The arguments for the init() function are the following:

Storage name (string) Columns (int) Rows (int) Locked slots (int) Flag that indicates if storage belongs to player inventory (bool)

Then, you simply add storage component to your node and all all the items (Godot Resources) you want! You can easily transfer and drag and drom items accross different storages.

License

  • For use in commercial and non-commercial projects
  • Do not resell or redistribute as-is or modified
  • Credit appreciated if use

Feedback

As always, if you need help or want to see any feature implemented, or simply want to say hi, the comment section is open below :D

Tags

Asset PackgdscriptGodotgodot-4gridGraphical User Interface (GUI)InventoryPrototypestoragetool

Downloads