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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user