Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -5,12 +5,22 @@
"description": "Enables the component to drop an item as a barter exchange.",
"additionalProperties": false,
"properties": {
"barter_table": { "type": "string", "description": "Loot table that's used to drop a random item.", "title": "Barter Table" },
"barter_table": {
"type": "string",
"description": "Loot table that's used to drop a random item.",
"title": "Barter Table"
},
"cooldown_after_being_attacked": {
"type": "integer",
"default": 0,
"description": "Duration, in seconds, for which mob won't barter items if it was hurt",
"title": "Cooldown After Being Attacked"
}
}
},
"examples": [
{
"barter_table": "example",
"cooldown_after_being_attacked": 0
}
]
}