A new Inventory System Database can be created from the Setup Manager located within the Inventory Manager editor. The Inventory Manager can be accessed through the Tools -> Opsive -> Ultimate Inventory System -> Main Manager.

Important: Creating the parent folder of the database within the file explorer while creating a database may cause a “Missing Parent Folder” error. Simply create the parent folder first and then press the “New” button.

When creating a Inventory System Database from scratch it will come with an “All” Item Category with two Item Definition attributes “Icon” and “Description”. These two attributes are the most common attributes people will use. You may rename or delete this Item Category if you wish to.

It is recommend that you add a few Item Categories you believe you will need such as “Consumable”, “Equippable”, or “Droppable”. These can be considered as “functional” Item Categories, and is a good way to organize Items by their functionality. You may also have “Food”, “Weapon”, or “Material” which could inherit the “All” Item Category as well as a subset of the “functional” categories to further group your items. Detail categories such as “One-Hand Weapon”, “Sword” or “Knife” can be added to differentiate items which are within the same parent Category.

Item Categories

The Item Categories are the most important inventory object as it structures your item database, decides the attributes for all of the items, and is also used to separate the actions that can be performed on each item. Learn more about Item Categories here.

Item Definitions

Item Definitions can be thought of as templates for your items. The Item Definition will have attributes that are common across all of it’s item instances. Each item instance may have a different attribute value for the same Item Definition.

As an example you may have a “Big Sword” Item Definition which has different attack values for each item instance. Learn more about Item Definitions here.

Items

Items are created at runtime from the Item Definition. The Default Attribute values of an Item can be defined in the Item Definition Editor. Learn more about Items here.

Attributes

Attributes hold the data on the Item Category, Item Definition and the Item. They can be any type. For example an “Icon” attribute can hold a Sprite and a “Description” attribute could hold a string. Some attributes are quite common such as “Description” and “Icon”. These common attributes can be found here.

For more tips on creating good Attributes for your items take a look at this page.

 

For detailed information on the Editor functionality to create the Inventory Objects and Attributes go to the Editor Window section.