Update timer flag component (#217)
* - Add min to health * - Update timer flag to match sniffer.json
This commit is contained in:
@@ -5,18 +5,46 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"priority": { "$ref": "types/priority.json" },
|
||||||
"cooldown_range": {
|
"cooldown_range": {
|
||||||
"title": "Cooldown Range",
|
"title": "Cooldown Range",
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
"$ref": "../../../../general/vectors/number2.json",
|
"$ref": "../../../../general/vectors/number2.json",
|
||||||
"default": [10.0, 10.0],
|
"default": [10.0, 10.0]
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "Goal cooldown range in seconds."
|
"description": "Goal cooldown range in seconds."
|
||||||
},
|
},
|
||||||
"duration_range": {
|
"duration_range": {
|
||||||
"title": "Duration Range",
|
"title": "Duration Range",
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
"$ref": "../../../../general/vectors/number2.json",
|
"$ref": "../../../../general/vectors/number2.json",
|
||||||
"default": [2.0, 2.0],
|
"default": [2.0, 2.0]
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "Goal duration range in seconds."
|
"description": "Goal duration range in seconds."
|
||||||
},
|
},
|
||||||
|
"control_flags": {
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"minItems": 1,
|
||||||
|
"maxItems": 2,
|
||||||
|
"items": {
|
||||||
|
"enum": ["move", "look"]
|
||||||
|
},
|
||||||
|
"title": "Control Flags",
|
||||||
|
"description": "UNDOCUMENTED"
|
||||||
|
},
|
||||||
"on_end": {
|
"on_end": {
|
||||||
"title": "On End",
|
"title": "On End",
|
||||||
"$ref": "../types/trigger.json",
|
"$ref": "../types/trigger.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user