Colorize some item tooltips

This commit is contained in:
Wuzzy 2020-03-12 02:29:30 +01:00
parent 7ee2340f5c
commit 6b529e1204
10 changed files with 14 additions and 13 deletions

View file

@ -118,7 +118,7 @@ minetest.register_craftitem("mcl_farming:potato_item_baked", {
minetest.register_craftitem("mcl_farming:potato_item_poison", {
description = S("Poisonous Potato"),
_tt_help = S("60% chance of poisoning"),
_tt_help = minetest.colorize("#FFFF00", S("60% chance of poisoning")),
_doc_items_longdesc = S("This potato doesn't look too healthy. You can eat it to restore hunger points, but there's a 60% chance it will poison you briefly."),
stack_max = 64,
inventory_image = "farming_potato_poison.png",