Wyvernbox - Inventory System

by don-tnowe

122

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

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.

Version

1.3.14

Engine

4.0

Category

Scripts

Download

Version1.3.14
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author