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

@@ -42,12 +42,12 @@
"title": "Interact Text"
},
"on_equip": {
"$ref": "../types/event.json",
"$ref": "../types/event_object.json",
"description": "Event to trigger when this entity is equipped with this item.",
"title": "On Equip"
},
"on_unequip": {
"$ref": "../types/event.json",
"$ref": "../types/event_object.json",
"description": "Event to trigger when this item is removed from this entity.",
"title": "On Unequip"
}