This commit is contained in:
DaanV2
2021-09-22 00:10:11 +02:00
parent 48ef1724c4
commit 0bbeac419b
3 changed files with 7 additions and 3 deletions

View File

@@ -22,7 +22,7 @@
"on_home": { "on_home": {
"description": "Event to run when this mob gets home.", "description": "Event to run when this mob gets home.",
"title": "On Home", "title": "On Home",
"$ref": "../types/trigger.json" "oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
}, },
"on_failed": { "on_failed": {
"$ref": "../types/event.json", "$ref": "../types/event.json",

View File

@@ -20,6 +20,10 @@
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal", "description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval" "title": "Interval"
}, },
"on_home": { "$ref": "../types/event.json", "description": "Event to run when this mob gets home.", "title": "On Home" } "on_home": {
"description": "Event to run when this mob gets home.",
"title": "On Home",
"oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
}
} }
} }

View File

@@ -78,7 +78,7 @@
"title": "On Start", "title": "On Start",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "../types/event.json" "oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }]
} }
} }
} }