Skip to content

Commit

Permalink
Update timer flag component (#217)
Browse files Browse the repository at this point in the history
* - Add min to health

* - Update timer flag to match sniffer.json
  • Loading branch information
Xterionix authored Feb 20, 2024
1 parent 6a09df8 commit 7d78709
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions source/behavior/entities/format/behaviors/timer_flag.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,46 @@
"type": "object",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },
"cooldown_range": {
"title": "Cooldown Range",
"$ref": "../../../../general/vectors/number2.json",
"default": [10.0, 10.0],
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"$ref": "../../../../general/vectors/number2.json",
"default": [10.0, 10.0]
}
],
"description": "Goal cooldown range in seconds."
},
"duration_range": {
"title": "Duration Range",
"$ref": "../../../../general/vectors/number2.json",
"default": [2.0, 2.0],
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"$ref": "../../../../general/vectors/number2.json",
"default": [2.0, 2.0]
}
],
"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": {
"title": "On End",
"$ref": "../types/trigger.json",
Expand Down

0 comments on commit 7d78709

Please sign in to comment.