Use new doc_items field names
This commit is contained in:
parent
14a20679e8
commit
10ead9a4da
4
init.lua
4
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user