From dfe653e1789538f9b669db2dcb788c71447cc7c9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 13 Dec 2016 12:31:26 +0100 Subject: *_durability and make it more flexible --- API.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'API.md') diff --git a/API.md b/API.md index 3103992..b7cd14f 100644 --- a/API.md +++ b/API.md @@ -46,7 +46,9 @@ easy and quick manipulation of the item help entries. All fields are optional. * `_doc_items_create_entry`: Whether to create an entry for this item (default: `true`) * `_doc_items_entry_name`: The title of the entry. By default, this is the same as the `description` field of the item. This field is required if the `description` is empty -* `_doc_items_uses_fixed`: Exact number of uses for a tool before it breaks, use this is the use count is fixed. If it varies or is unlimited, please don't use this field +* `_doc_items_durability`: Two meanings: + * It it is a `number`: Number of uses for a tool before it breaks, use this is the use count is fixed. + * If it is a `string`: Free-form text which explains how the durability works. Try to keep it short. A full explanation of these fields is provided below. -- cgit v1.2.3