mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-05 17:23:16 +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>
10 lines
184 B
Lua
10 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)
|
|
|
|
|