S-Inventory

This is an inventory system that anyone can setup in few minutes. This system is easy to edit from the inspector without having to modify scripts. It’s suitable for RPG games. This inventory system also includes an equipment system, merchant system, crafting system and a skill bar system.

  • Customize everything from the inspector without modifying the code.
  • Suitable for different types of games!
  • Fully commented C# and JS code!
  • Mobile friendly.
  • 20+ Custom Events to customize the asset even more!
  • Comes with a detailed guide.
  • Three item pick methods (Mouse, keyboard and on collision pickup).
  • Two item drop methods (Re-spawn items or destroy items).
  • Create and customize items easily.
  • Two types of items: Bag items and Currencies including consumable and non-consumable items.
  • Customizable UI: Drag and drop items inside the same menu or between different menus to equip them, move them to a container, skill bar slots, sell them to a vendor. Mouse hover on an item to show its info. Right click to open the item actions menu. Drag to real world to drop items (optional). And more!
  • Load and save items in different menus.
  • Item Groups: Create a list of items within one object and display them randomly (optional). Perfect to use for enemy drop loot trophies.
  • Vendor system: Create vendors easily to trade with.
  • Buy and sell your items to vendors.
  • Equipment system: Easily create your custom equipment slots (+3 different ways to equip an item). Assign equipment attributes to different items and call their values from your code to customize the asset to your needs!
  • Skill Bar system: Manage a dynamic skill bar including assigning a trigger key for each slot and a use cool down.
  • Containers system: Create unlimited containers and use them to store items. You can easily transfer items between containers and inventory. Most features of the inventory UI is available for the container UI as well (dragging and dropping items, dragging the whole container window, showing item’s info, removing items, etc..).
  • Crafting system: Full crafting system that allows you to create unlimited recipes and customize the crafting window to your needs.

Demo:

WebPlayer Demo

Documentation:

Online Documentation

Third Party Support:

S-Quest
Dialogue System
Realistic FPS Prefab

Other Links:

Unity3D Forums Thread

Show ChangeLog

ChangeLog:

 v1.01 – 25/09/2013:

– Added a sound when the player tries to add an item while the inventory is full.
– Added a label that appears to inform the player when an item is added, removed, equipped or when the inventory is full.
– Fixed the inventory size bug.

v1.02 – 03/11/2013:

– Added a skill bar system to the package.
– Dynamic skill bar that you can edit the number of slots in it, their size, texture, GUI style and many more options.
– Link the skill bar easily to your scripts using some special functions.
– Added health potion item.

v1.03 – 08/12/2013:

– Converted all the scripts to C#.
– The package now includes C# and JS scripts at the same price.

v1.05 – 16/05/2014:

– Fixed bug while dragging the inventory windows on the C# version.
– Equipment GUI window re-scripted to minimize the lag on mobile devices.
– Added a GUI button that shows/hides the inventory window.
– Added a GUI button that shows/hides the equipment window.
– Added a GUI button that picks up items (without the use of mouse and keyboard).
– Added a new inventory GUI window position: middle screen.
– Added custom events: callbacks used to customize the inventory, equipment, vendor and skill bar system with code.

v1.06 – 11/06/2014:

– Fixed the item’s description display when the mouse hovers over one of the inventory’s items.
– Improved the GUI skin for the inventory, skill bar, equipment, vendor and item group menus.
– Fixed some other small bugs.

v1.07 – 15/08/2014:

– Added a crafting system.
– Customize the crafting window to your needs.
– Unlimited recipes.
– New custom event when an item is crafted.

v1.08 – 05/10/2014:

– Added a container system.
– Customize the container window UI.
– Create unlimited containers and store items in them.
– Transfer items easily between the inventory and containers.
– Containers UI support most actions done by the inventory UI: dragging and dropping items, dragging the whole window, showing item’s info, removing items, etc…

v1.09 – 21/12/2014:

– S-Inventory now supports uGUI introduced in Unity 4.6.
– Refactored code to reduce memory and CPU usage.

v1.20 – 30/12/2014:

– Both demo scenes have been added.
– You can now drag and drop items between the inventory, equipment and skill bar slots.
– Items now are directly usable from the inventory menu (comes with a new custom event).
– Added new custom events when a player picks up or drops an item.
– Skill bar items are now usable with a trigger key, cool down and a custom event for each slot.
– Added the option to drop items when you drag them from the inventory to the game world.

v1.23 – 17/03/2015:

– 2D support.
– Added an option to use the global drop type or pick a different drop type for each item.
– Added an option to disable/enable showing toggle info for each UI panel.
– Added 12 events for showing/hiding UI panels.
– Added the option to destroy or keep items on inventory use.
– The whole item object is now passed in the inventory events for more customization.

v1.23 – 03/05/2015:

– Fixed a bug in creating currencies.
– Added the option to display one currency in the bag part of the inventory.
– Added an animator to play opening and closing animations for the item group chest.
– Added the option to press “Enter” to complete dropping or selling more than item at a time.
– Added the option to close all panels with one key.

v1.25 – 25/06/2015: 

– Fixed a bug in dragging and dropping items from the skill bar menu/equipment menu to the inventory menu.
– You can have multiple equipment/skill bar slots sharing the same name.
– You can now choose whether to keep an item (put it back in the inventory) or destroy it after using it in a recipe.
– In each recipe, items can take a certain time (defined in the inspector) to craft, while it’s being crafted you will see a percentage indicating when it will be ready and you can’t use that recipe till the item is ready.
– When an item is crafted, it won’t be added automatically to the player’s inventory, it will remain in the crafting window till the player takes it to the inventory manually.

v1.26 – 16/07/2015:

– Added inventory tabs.
– New UI graphics.

v1.27 – 13/08/2015:

– Improving the inventory tabs feature.
– Making all the windows draggable.
– Adding equipment attributes info in the equipment window.
– Added the option to show a progress bar while crafting an item.
– Added equipment objects: The ability to activate objects when equipping an item by linking the object and the item in the equipment inspector.
– Fixed a small bug with dragging items.
– Equipment attributes are now shown in the item’s description when hovering over its icon.

v1.28 – 12/12/2015:

– Added dragging and dropping feature for all UI windows.
– You can now assign a name, for each vendor, that will appear in the vendor UI window.
– Make one slot and create others based on that slot.
– Items in the vendor UI window are now shown along with their prices and the currency type.
– Changed the way item slots are created in the vendor UI window: You just create one slot and the rest will be created depending on settings you choose from the inspector.
– You can now play a sound effect when the player can’t afford to purchase something from a vendor.

v1.29 – 20/12/2015:

– Added the option to allow a double mouse click to move an item back from a vendor to the inventory after attempting to sell it.
– Added option to allow a double mouse click to purchase an item from a vendor.
– Added a  button that will allow the player take back all the items (when attempting to sell them) from a vendor at once (Note that the player can still double click or select one item at time).
– Added the option to show the item’s info in the vendor menu when hovering the mouse over it.

v1.30 – 01/01/2016:

* New item weight feature:
– Set the weight for each item.
– Set the maximum weight for the inventory.
– Display the “CurrentWeight/MaximumWeight” in the inventory panel.
* Added the option to require a currency amount to craft an item in a recipe, you can pick the currency name and amount and the player will be required to have that amount so that he crafts the item.

Hide ChangeLog