diff --git a/depends.txt b/depends.txt index 25f25cc..77e8d97 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1 @@ intllib? -doc_items? diff --git a/init.lua b/init.lua index 443f272..717e149 100644 --- a/init.lua +++ b/init.lua @@ -32,6 +32,7 @@ end minetest.register_node("origin:origin",{ description = S("The Origin"), + x_doc_items_longdesc = S("The Origin is the starting block of this world. On the Origin the earliest visitors of this world arrive and it is the first block at which all other blocks can be built to, so that builders can build their architectural masterpieces in a world which would be (usually) empty otherwise."), groups = { not_in_creative_inventory = 1, in_doc = 1, immortal = 1 }, diggable = false, tiles = {"origin_origin.png"}, @@ -69,10 +70,3 @@ minetest.register_on_generated(function(minp, maxp, seed) end end end) - --- Add item help -if minetest.get_modpath("doc_items") ~= nil then - doc.sub.items.set_items_longdesc({ - ["origin:origin"] = S("The Origin is the starting block of this world. On the Origin the earliest visitors of this world arrive and it is the first block at which all other blocks can be built to, so that builders can build their architectural masterpieces in a world which would be (usually) empty otherwise."), - }) -end