2020-09-10 06:12:03 -07:00
|
|
|
-- CUSTOM SNIPPETS --
|
2020-02-13 05:12:55 -08:00
|
|
|
|
|
|
|
-- Custom text (_tt_help)
|
|
|
|
tt.register_snippet(function(itemstring)
|
|
|
|
local def = minetest.registered_items[itemstring]
|
|
|
|
if def._tt_help then
|
2020-09-10 06:48:02 -07:00
|
|
|
return def._tt_help
|
2020-02-13 05:12:55 -08:00
|
|
|
end
|
|
|
|
end)
|
|
|
|
|
|
|
|
|