VoxeLibre/mods/HELP/tt/snippets.lua

10 lines
184 B
Lua
Raw Permalink Normal View History

2020-09-10 15:34:53 +02:00
-- CUSTOM SNIPPETS --
2020-02-19 04:54:17 +01:00
-- Custom text (_tt_help)
tt.register_snippet(function(itemstring)
local def = minetest.registered_items[itemstring]
return def and def._tt_help or nil
2020-02-19 04:54:17 +01:00
end)