summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-16 06:40:02 +0100
committerWuzzy <almikes@aol.com>2016-11-16 06:40:02 +0100
commit10ead9a4dacfb5704273fb26ddd5ba2e5fd00e6f (patch)
tree46b5a8d376d9a603b2650964ab736230e78d777d
parent14a20679e8db20525accf25af3d7a62999032764 (diff)
Use new doc_items field names
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index f3433af..699fb89 100644
--- a/init.lua
+++ b/init.lua
@@ -23,8 +23,8 @@ function pep.register_potion(potiondef)
end
minetest.register_craftitem("pep:"..potiondef.basename, {
description = string.format(S("Glass Bottle (%s)"), potiondef.contentstring),
- x_doc_items_longdesc = potiondef.longdesc,
- x_doc_items_usagehelp = S("Hold it in your hand, then left-click to drink it."),
+ _doc_items_longdesc = potiondef.longdesc,
+ _doc_items_usagehelp = S("Hold it in your hand, then left-click to drink it."),
inventory_image = "pep_"..potiondef.basename..".png",
wield_image = "pep_"..potiondef.basename..".png",
on_use = on_use,