Item Creation
In order to place items into an inventory, they must first be created in the database. Items can be given many actions and/or abilities through the use of plugins.
#
Prep WorkBefore creating items you may want to create
#
Creating from the Database- Open your Inventory Database
- Select Item and click the
Add New
button
#
Creating from a Model- Select your model in the
Project
tab - Right-click and select
GDTK > Make GDTK Inventory Item
- Select Create Loot Prefab if you want to generate a prefab for picking up and/or dropping your item
- Select Create Equip Prefab if your item can be equipped
- Select Create New DB Entry if your creating a brand new item, otherwise select the item from the "Use For" dropdown
#
Item SetupRegardless of which method you choose, you'll have the same options for setting up your items details.
The Info section sets display data for your item such as Title, Abbreviation (Abbr), Description, Sprite, etc.
The Item Category field sets which category (if any) the item belongs to.
Count Per Stack sets how many of this item can be placed into a single slot as a stack.
Max Stacks sets the maximum number of stacks of this item allowed in inventory at one time.
If you wish to allow the item to be bought for premium currency select the Premium Item option.
Premium Items have as Currency Id and Premium Cost.
Item Stats set specific stats about your item and always have at least 3 stats.
Value sets the cost of the item in non-premium currency.
Weight sets the weight of the item.
Rarity sets the rarity of the item.
#
PluginsItem plug-ins allow you to add different functionality to your items. The built-in plugins are
Name | Description |
---|---|
(Ability) Attach | Allows an item to be attached to another item that has the (Ability) Socket plugin. |
(Ability) Condition | Allows an item to have a condition and be repaired/destroyed. |
(Ability) Container | Allows the item to store other items. |
(Ability) Drop Item | Allows the item to be dropped and spawn a pickup object. |
(Ability) Equip Item | Allows the item to be equipped to an Equip Slot. |
(Ability) Rename Item | Allows the player to supply a custom name. |
(Ability) Scrap Item | Allows the item to be removed from inventory and replaced with its 'scrap' components. |
(Ability) Socket | Allows items with the (Ability) Attach plugin to be attached to this item. |
Add Stat Modifiers | Adds Stat Modifiers when an item is used or equipped. (Requires GDTK: Stats) |
Equip Event Action Sequence | Allows Action Sequences to be run in response to equip events. |
Storage Size | Sets a specific size the item takes when using the Storage Area Inventory plug-in. |