Use new doc_items format

master
Wuzzy 2016-11-02 23:35:39 +01:00
parent 55b5cafd49
commit f21b7ca6cc
1 changed files with 1 additions and 6 deletions

View File

@ -85,6 +85,7 @@ end)
do
local nodedef = {
description = S("Surprise block"),
x_doc_items_longdesc = S("If this block is mined, a few surprise items may drop out of it."),
tiles = { { name = "tsm_surprise_question_anim.png", animation = {
type = "vertical_frames", aspect_w=16, aspect_h=16, length=3.0 } } },
drop = "",
@ -133,10 +134,4 @@ do
end,
}
minetest.register_node("tsm_surprise:question",nodedef)
if minetest.get_modpath("doc_items") then
doc.sub.items.set_items_longdesc({
["tsm_surprise:question"] = S("If this block is mined, a few surprise items may drop out of it."),
})
end
end