Difference between revisions of "Skill Format"
From VCMI Project Wiki
(Created page with "= Main format = <syntaxhighlight lang="javascript"> { "skillName": { //optional base format, will be merged with basic/advanced/expert "base": { ....") |
(→Main format) |
||
Line 1: | Line 1: | ||
− | = Main format = | + | == Main format == |
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
{ | { | ||
Line 5: | Line 5: | ||
{ | { | ||
//optional base format, will be merged with basic/advanced/expert | //optional base format, will be merged with basic/advanced/expert | ||
− | "base": { | + | "base": {Skill level base format}, |
//configuration for different skill levels | //configuration for different skill levels | ||
"basic": {Skill level format}, | "basic": {Skill level format}, | ||
Line 14: | Line 14: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | == Skill level base format == | ||
+ | Json object with data common for all levels can be put here. These configuration parameters will be default for all levels. All mandatory level fields become optional if they equal "base" configuration. |
Revision as of 21:38, 1 September 2017
Main format
{
"skillName":
{
//optional base format, will be merged with basic/advanced/expert
"base": {Skill level base format},
//configuration for different skill levels
"basic": {Skill level format},
"advanced": {Skill level format},
"expert": {Skill level format}
}
}
Skill level base format
Json object with data common for all levels can be put here. These configuration parameters will be default for all levels. All mandatory level fields become optional if they equal "base" configuration.