Colorize some item tooltips
This commit is contained in:
parent
7ee2340f5c
commit
6b529e1204
10 changed files with 14 additions and 13 deletions
|
@ -71,7 +71,7 @@ end)
|
|||
tt.register_snippet(function(itemstring)
|
||||
local def = minetest.registered_items[itemstring]
|
||||
if minetest.get_item_group(itemstring, "crush_after_fall") == 1 then
|
||||
return S("Deals damage when falling")
|
||||
return S("Deals damage when falling"), "#FFFF00"
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue