Fixed tipped arrow descriptions

This commit is contained in:
the-real-herowl 2024-01-08 00:26:36 +01:00
parent 5a7a533bf6
commit a429a462cd

View file

@ -42,6 +42,7 @@ function mcl_potions.register_arrow(name, desc, color, def)
minetest.register_craftitem("mcl_potions:"..name.."_arrow", { minetest.register_craftitem("mcl_potions:"..name.."_arrow", {
description = desc, description = desc,
_tt_help = arrow_tt .. "\n" .. tt, _tt_help = arrow_tt .. "\n" .. tt,
_dynamic_tt = def._dynamic_tt,
_doc_items_longdesc = arrow_longdesc .. "\n" .. _doc_items_longdesc = arrow_longdesc .. "\n" ..
S("This particular arrow is tipped and will give an effect when it hits a player or mob.") .. "\n" .. S("This particular arrow is tipped and will give an effect when it hits a player or mob.") .. "\n" ..
longdesc, longdesc,