1
0
Fork 0
MineClone2/mods/HELP/tt/snippets.lua

10 lines
184 B
Lua

-- CUSTOM SNIPPETS --
-- Custom text (_tt_help)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
return def and def._tt_help or nil
end)