mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-15 07:31:05 +01:00
573269afab
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4610 Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-authored-by: kno10 <erich.schubert@gmail.com> Co-committed-by: kno10 <erich.schubert@gmail.com>
9 lines
184 B
Lua
9 lines
184 B
Lua
-- CUSTOM SNIPPETS --
|
|
|
|
-- Custom text (_tt_help)
|
|
tt.register_snippet(function(itemstring)
|
|
local def = minetest.registered_items[itemstring]
|
|
return def and def._tt_help or nil
|
|
end)
|
|
|
|
|