Camas/mods/tt/snippets.lua

12 lines
197 B
Lua
Raw Normal View History

2020-09-10 16:31:41 +02:00
-- CUSTOM 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)