1
0
Fork 0

Improved descriptions

potions_api_redo
the-real-herowl 2024-01-22 22:12:13 +01:00 committed by the-real-herowl
parent 8b2de1e33f
commit 74d03e70c2
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())