mirror of
https://repo.or.cz/minetest_pep.git
synced 2025-03-15 12:21:21 +00:00
Use new doc_items field names
This commit is contained in:
parent
14a20679e8
commit
10ead9a4da
1 changed files with 2 additions and 2 deletions
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…
Add table
Reference in a new issue