summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/api.lua b/api.lua
index 18bc875..29af43b 100644
--- a/api.lua
+++ b/api.lua
@@ -147,6 +147,10 @@ unified_inventory.register_craft_type("digging", {
height = 1,
})
+function unified_inventory.register_group_representative_item(groupname, itemname)
+ unified_inventory.registered_group_representative_items[groupname] = itemname
+end
+
function unified_inventory.register_page(name, def)
unified_inventory.pages[name] = def
end