Updating on_equip / on_unequip #6
This commit is contained in:
@@ -25,22 +25,19 @@
|
|||||||
},
|
},
|
||||||
"title": "Accepted Items"
|
"title": "Accepted Items"
|
||||||
},
|
},
|
||||||
"item": { "type": "string", "default": 0, "description": "Identifier of the item that can be equipped for this slot", "title": "Item" },
|
"item": { "type": "string", "description": "Identifier of the item that can be equipped for this slot", "title": "Item" },
|
||||||
"interact_text": {
|
"interact_text": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": 0,
|
|
||||||
"description": "Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls",
|
"description": "Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls",
|
||||||
"title": "Interact Text"
|
"title": "Interact Text"
|
||||||
},
|
},
|
||||||
"on_equip": {
|
"on_equip": {
|
||||||
"type": "string",
|
"$ref": "../types/event.json",
|
||||||
"default": 0,
|
|
||||||
"description": "Event to trigger when this entity is equipped with this item",
|
"description": "Event to trigger when this entity is equipped with this item",
|
||||||
"title": "On Equip"
|
"title": "On Equip"
|
||||||
},
|
},
|
||||||
"on_unequip": {
|
"on_unequip": {
|
||||||
"type": "string",
|
"$ref": "../types/event.json",
|
||||||
"default": 0,
|
|
||||||
"description": "Event to trigger when this item is removed from this entity",
|
"description": "Event to trigger when this item is removed from this entity",
|
||||||
"title": "On Unequip"
|
"title": "On Unequip"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user