From 10ead9a4dacfb5704273fb26ddd5ba2e5fd00e6f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 16 Nov 2016 06:40:02 +0100 Subject: Use new doc_items field names --- init.lua | 4 ++-- 1 file 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, -- cgit v1.2.3