VoxeLibre/mods/HELP/tt/snippets_core.lua
2020-02-19 04:54:17 +01:00

12 lines
195 B
Lua

-- CORE SNIPPETS --
-- Custom text (_tt_help)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
if def._tt_help then
return def._tt_help
end
end)