Created & applied new event_object type (#109)

Created new event type.
some components only allow for an event to be an object, not a string
Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
ChibiMango
2022-08-22 19:13:13 +01:00
committed by GitHub
parent 3f980980ee
commit 534d77c389
20 changed files with 47 additions and 30 deletions

View File

@@ -24,12 +24,12 @@
"title": "Maximum Distance"
},
"on_leash": {
"$ref": "../types/event.json",
"$ref": "../types/event_object.json",
"description": "Event to call when this entity is leashed.",
"title": "On Leash"
},
"on_unleash": {
"$ref": "../types/event.json",
"$ref": "../types/event_object.json",
"description": "Event to call when this entity is unleashed.",
"title": "On Unleash"
},