Updated comments

This commit is contained in:
DaanV2
2021-07-03 11:45:14 +02:00
parent 0755a30b1e
commit 56d96d8c64
15 changed files with 92 additions and 95 deletions

View File

@@ -7,9 +7,10 @@
"required": [],
"properties": {
"triggers": {
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"description": "Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.",
"title": "Triggers",
"type": "object",
"additionalProperties": false,
"properties": {
"cooldown": {
"type": "number",
@@ -19,13 +20,13 @@
},
"items": {
"type": "array",
"title": "Properties",
"description": "The list of items that can be given to the entity to place in their inventory.",
"items": {
"description": "An items that can be given to the entity to place in their inventory.",
"$ref": "../../../../general/item/identifier.json",
"title": "Properties"
},
"title": "Properties"
}
},
"on_give": { "$ref": "../types/event.json", "description": "Event to fire when the correct item is given.", "title": "On Give" }
}