summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-05 00:02:34 +0200
committerWuzzy <almikes@aol.com>2016-08-05 00:02:34 +0200
commit715416d4e6b8cf796b47a83020355b5bfe7bf022 (patch)
tree793e55175837596bb288ee2e475f46d7019476e9 /API.md
parent8afc78dfd79075ca017429b47087fc282ef74c04 (diff)
Add mining groups back
Diffstat (limited to 'API.md')
-rw-r--r--API.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/API.md b/API.md
index 72babaf..e6d70fe 100644
--- a/API.md
+++ b/API.md
@@ -262,6 +262,13 @@ The intention of this function is to give a short rundown of the groups
which are notable as they are important to gameplay in some way yet don't
deserve a full-blown factoid.
+### `doc.sub.items.add_notable_groups(groupnames)`
+Declare a number of groups as mining groups, that is, groups which are
+primarily used for determining mining times. They will appear in the
+“Mining capabilities” factoid.
+
+`groupnames` is a table of group names.
+
### `doc.sub.items.add_forced_item_entries(itemstrings)`
Adds items which will be forced to be added to the entry list, even if
the item is not in creative inventory.