-
Notifications
You must be signed in to change notification settings - Fork 7
Return Values
Marcelo Perrella edited this page Oct 4, 2019
·
1 revision
Common to all entities.
| Key | Type | Description |
|---|---|---|
id |
number |
The entity'is id. |
name |
string |
The entity's name. |
grade |
number |
The entity's grade (color) from 0 to 4. |
icon |
string |
The path for the icon from BDDatabase. |
type |
string |
The entity's type. |
Items are divided into subcategories, but at the very least, every item will have the following properties.
| Key | Type | Description |
|---|---|---|
weight |
string |
The item weight, in LT unit. |
description |
string |
A description of the item. |
p_transaction |
bool |
Whether the item is available for personal transaction. |
prices |
object |
An object describing the item prices. |
prices.buy |
string || null |
Buy price if available. |
prices.sell |
string || null |
Sell price if available. |
prices.repair |
string || null |
Repair price if available. |
recipes |
array |
An array describing the recipes that can craft the item. |
used_in_recipe |
array |
An array describing the recipes the item can be used in. |
used_in_design |
array |
An array describing the designs the item can be used in. |
| Key | Type | Description |
|---|---|---|
effects |
object |
An object describing the effects that the equipment has. |
effects.item |
array |
Contains the item's effects. |
effects.2_set |
array |
Item effect when used with another equipment of the same group. |
effects.3_set |
array |
Item effect when used with two equipments of the same group. |
effects.4_set |
array |
Item effect when used with three equipments of the same group. |
effects.full_set |
array |
Full set effect. |
effects.extra |
array |
Additional item effects. |
effects.enhanc |
array |
Item effects when enhanced. |
durability |
number |
The equipment's maximum durability. |
exclusive |
array |
The classes that can use the equipment. |
stats |
object |
An object describing the equipment stats. |
stats.damage |
string |
The equipment's damage. |
stats.defense |
string |
The equipment's defense. |
stats.accuracy |
string |
The equipment's accuracy. |
stats.evasion |
string |
The equipment's evasion. |
stats.dreduction |
string |
The equipment's damage reduction. |
| Key | Type | Description |
|---|---|---|
effects |
array |
Contains the consumable's effects when used. |
lifespan |
string || null |
How long until the item disappears from the inventory. |
duration |
string || null |
How long the item stays in effect after used. |
cooldown |
string || null |
How long until the item can be used again after used. |
Recipes can be of any type, such as Cooking, Alchemy or Processing.
| Key | Type | Description |
|---|---|---|
skill_lvl |
string |
The minimum life skill level required to craft the recipe. |
r_type |
string |
The recipe type (cooking, alchemy, processing, etc). |
materials && results |
array |
An array describing the crafting materials and the crafting results. |
materials[i].id |
number |
The item's id. |
materials[i].name |
string |
The item's name. |
materials[i].amount |
number |
The amount required of this item. |
materials[i].icon |
string |
The path for the icon from BDDatabase. |
materials[i].link |
string |
The item's uri from BDDatabase. |
| Key | Type | Description |
|---|---|---|
materials |
array |
An array describing the items that belong to the material group. |
materials[i].id |
number |
The item's id. |
materials[i].name |
string |
`The item's name. |
materials[i].icon |
string |
The path for the icon from BDDatabase. |