MineClone2/mods/HELP/tt/snippets.lua

12 lines
197 B
Lua
Raw Permalink Normal View History

2020-09-10 16:34:53 +03:00
-- CUSTOM SNIPPETS --
2020-02-19 05:54:17 +02:00
-- 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)