Wyvernbox - Inventory System screenshot 1
D

Publisher

dontnowe

Wyvernbox - Inventory System

Tools
Inventory RPG UI DragAndDrop ItemType Loot Crafting GUI

Yet another inventory system, made primarily for Action RPGs. Now for Godot 4! Setup: - Drag stuff from addons/wyvernbox_prefabs into your scene. Should just work. - Enabling the plugin optional, but highly recommended. - If enabled, access the Documentation as you would in Godot - via the F1 key, then search. - Items are defined through ItemType resources. - For loot tables, make ItemInstantiators (each item, chance optional) and/or ItemGenerators (one from list, can be generated by script)....

Wyvernbox

An addon for versatile inventory systems.

Scenes you may need are located inside addons/wyvernbox_prefabs. Just drag and drop!

The example/wyvernbox folder contains some items and equipment stats to start. Be sure to check the example scenes, too!

All you need:

  • One of the InventoryView objects,
  • An InventoryTooltip to inspect items (maybe with a few TooltipProperty scripts attached),
  • A GrabbedItemStackView to move things around with a mouse,
  • And a couple ItemType resources to define item types.

How it works:

  • InventoryViews provide user interaction with an Inventory of the matching type;
  • an Inventory holds ItemStacks;
  • an ItemStack is created from an ItemType.
  • the ItemType stores default data, and is used in crafting recipes and item generators.

Features:

  • A variety of inventories, all compatible with GUI containers, such as:

    • Basic
    • Grid (items take up a rectangle of tiles)
    • Restricted (can only put items with certain flags, like Equipment or Ammo)
    • Currency (custom max stack size, but only specified items)
  • Crafting and shops:

    • Vending is a built-in feature of inventories, but for more configuration, use the InventoryVendor class!
    • Crafting recipes are defined through an ItemConversion - can give you pre-determined results, randomized counts, or a fresh new from an ItemGenerator!
    • Use ItemPatterns to match one of several items in filters or recipes, like different fuel types with different efficiency!
  • Gestures: quick-transfer (Shift-Click), gather/transfer all items of type (Double-Click), split one/half (Right-Click)

  • Filter ground and inventory items via the versatile ItemPattern classes! Use them to control inventory insertion and crafting inputs.

  • Custom Inspector tables to map items to values in YOUR classes - used in ShopManager, ItemGenerator, and ItemPattern objects! Includes an Item Browser popup to easily drag-drop item types, generators and patterns from the project.

  • Tooltips extensible with the TooltipProperty class! Just slam a bunch of scripts onto it.

Made by Don Tnowe in 2022.

My Website

Itch

Twitter

Need help or want to chat? Message me! Telegram, Discord

Did this tool help you so much you'd like to give back? Donate via PayPal!

Copying and Modification is allowed in accordance to the MIT license, unless otherwise specified. License text is included.

Font in example is Abaddon, Licensed under Creative Commons Attribution 3.0.