mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 07:13:45 +01:00
12 lines
197 B
Lua
12 lines
197 B
Lua
-- 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)
|
|
|
|
|