Skills
This config is used to define skill and their positions.
States
There are states of skills which are checked in the following order:
- Excluded - If the skill is connected using exclusive connection to another skill which is unlocked.
- Locked - If the skill is not connected to any unlocked skill and is not root while other skills are locked.
- Available - If the skill is connected to any unlocked skill or is root while other skills are locked.
- Affordable - If the skill meats all requirements of available state and the number of required points is less than number of available points. Required points is by default equal to the cost.
- Unlocked - If the skill has been clicked by the player when it was in the affordable state.
Properties
WARNING
It is recommended not to edit this piece of configuration manually. Use editor instead.
X and Y
Properties x
and y
define respectively X and Y coordinate of the skill.
Definition
Property definition
defines what entry from definitions.json
should the skill use.
Root
Property root
defines if the skill is a root, which means it is unlocked at the beginning.
Example
json
{
"x": 0,
"y": 32,
"definition": "definition_1",
"root": true
}
JSON Structure
Property | Type | Required |
---|---|---|
x | integer | yes |
y | integer | yes |
definition | string | yes |
root | string | no |