Improved descriptions

This commit is contained in:
the-real-herowl 2024-01-22 22:12:13 +01:00
parent e039642446
commit 03c73b7820
1 changed files with 2 additions and 2 deletions

View File

@ -410,7 +410,7 @@ mcl_potions.register_effect({
name = "darkness",
description = S("Darkness"),
get_tt = function(factor)
return S("surrounded by darkness")
return S("surrounded by darkness\nnot seeing anything beyond @1 nodes", factor)
end,
res_condition = function(object)
return (not object:is_player())
@ -681,7 +681,7 @@ mcl_potions.register_effect({
name = "nausea",
description = S("Nausea"),
get_tt = function(factor)
return S("not feeling very well...")
return S("not feeling very well...\nfrequency: @1 / 1 s", factor)
end,
res_condition = function(object)
return (not object:is_player())