Adds descriptions to each property in the encounters schema
This commit is contained in:
parent
2d88f4cddc
commit
190d63a6c0
|
@ -23,36 +23,45 @@
|
|||
],
|
||||
"properties": {
|
||||
"species": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The species that may be encountered"
|
||||
},
|
||||
"time": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"enum": ["morning", "day", "evening", "night"]
|
||||
}
|
||||
},
|
||||
"description": "The time the encounter may occur."
|
||||
},
|
||||
"type": {
|
||||
"enum": ["grass", "oldrod", "goodrod", "superrod", "surf"]
|
||||
"enum": ["grass", "oldrod", "goodrod", "superrod", "surf"],
|
||||
"description": "The method with which the encounter occurs."
|
||||
},
|
||||
"chance": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The weight of the encounter chance, relative to the total weight of valid encounters."
|
||||
},
|
||||
"minimumLevel": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The lowest possible level the encounter may have."
|
||||
},
|
||||
"maximumlvl": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The highest possible level the encounter may have."
|
||||
},
|
||||
"formes": {
|
||||
"type": "array",
|
||||
"description": "An optional definition to chance which formes may be encountered. If not given defaults to default forme.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"forme": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The forme name that may be encountered"
|
||||
},
|
||||
"chance": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The weight of the forme chance, relative to the total weight of valid formes."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue