Use new doc_items field names

master
Wuzzy 2016-11-16 06:40:02 +01:00
parent 14a20679e8
commit 10ead9a4da
1 changed files with 2 additions and 2 deletions

View File

@ -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,