Item

Open items configurator

You can create a new category for items to sort them by type. Click "Add category". Enter Category ID. Click Add and Save

Now you can create new item. Click "Add new item"

Item ID - Unique id for item.

Title - Full name of the item.

Description - Full description for item.

Category - You can change iem category here.

Custom Data - Allows you to create a set of your own access data from code.

To create your own custom data set - create a new class and inherit from "CBSItemCustomData". Only fields and the following data types are supported - 'int', 'float', 'string', 'enum', 'List<string>', 'List<float>', 'List<int>'

After that you will see your class in the selection list of "Custom Data". Fill in your details

Config tab

Is Consumable - Determines if item can be used. For example use Consumable option for potions. For static items - disable this option (Sword, armor, shield, etc.). Consumable cant be equippable

Usage Count - Determines how many times the item can be used. After use, it is automatically removed from the invertoty. The value cannot be less than 1.

Is Stackable - Determines if the item can be collected in one stack in the inventory. Stackable cant be tradable.

Is Equippable - Determines if the item can be equip to the user/character. IsEquippable cant be consumable or stackable

Is Tradable - Determines if a player can trade this item with other players. Tradable cant be stackable

Has Lifetime - Determines if the item has a lifetime. The countdown begins after the item enters the invertony. After the passage of time - the item is automatically deleted.

Life time in seconds - Lifetime of the item. Cannot be less than 5

Is Recipe - Determines if the item is recipe for creating another item. Recipe cant be consumable, equippable or stackable. For more information, visit the "Craft system" documentation page

Prices tab

To set a price for an item - select the currency code from the list and click "Add currency"

Set a price. Also you can set the price for "Real Money price" to make in-app purchases

Linked Data tab

Sprite - Sprite for game item. ATTENTION! The sprite is not saved on the server, it will be included in the build.

Prefab - Prefab for game item. ATTENTION! The prefab is not saved on the server, it will be included in the build

Scriptable - Scriptable data for game item. ATTENTION! The data is not saved on the server, it will be included in the build

External Icon URL - You can use it for example for remote texture url

Last updated