summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-10-30 20:35:16 +0100
committerWuzzy <almikes@aol.com>2016-10-30 20:35:16 +0100
commitd303501443f8282cbee38c919e931e4d8d3f8d6f (patch)
treeeda69725d75620d6b14913bde6264e48443a9a9d /API.md
parent865a289b1eb4b1b3e4a17e449a284bf31b81efcd (diff)
Allow entry name overwrites again
Diffstat (limited to 'API.md')
-rw-r--r--API.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/API.md b/API.md
index fe5c808..f816ad9 100644
--- a/API.md
+++ b/API.md
@@ -172,6 +172,8 @@ This mod adds support for new fields of the item definition:
* `x_doc_items_image`: Entry image (default: inventory image)
* `x_doc_items_hidden`: Whether entry is hidden (default: `false` for Air, `true` for everything else)
* `x_doc_items_create_entry`: Whether to create an entry for this item (default: `true`)
+* `x_doc_items_entry_name`: The title of the entry. By default, this is the same as the `description` field
+ of the item, or “Nameless entry” if it is `nil`.
## Functions
This is the reference of all available functions in this API.