forked from VoxeLibre/VoxeLibre
Improved descriptions
This commit is contained in:
parent
2db7383618
commit
6368075e78
|
@ -410,7 +410,7 @@ mcl_potions.register_effect({
|
||||||
name = "darkness",
|
name = "darkness",
|
||||||
description = S("Darkness"),
|
description = S("Darkness"),
|
||||||
get_tt = function(factor)
|
get_tt = function(factor)
|
||||||
return S("surrounded by darkness")
|
return S("surrounded by darkness\nnot seeing anything beyond @1 nodes", factor)
|
||||||
end,
|
end,
|
||||||
res_condition = function(object)
|
res_condition = function(object)
|
||||||
return (not object:is_player())
|
return (not object:is_player())
|
||||||
|
@ -681,7 +681,7 @@ mcl_potions.register_effect({
|
||||||
name = "nausea",
|
name = "nausea",
|
||||||
description = S("Nausea"),
|
description = S("Nausea"),
|
||||||
get_tt = function(factor)
|
get_tt = function(factor)
|
||||||
return S("not feeling very well...")
|
return S("not feeling very well...\nfrequency: @1 / 1 s", factor)
|
||||||
end,
|
end,
|
||||||
res_condition = function(object)
|
res_condition = function(object)
|
||||||
return (not object:is_player())
|
return (not object:is_player())
|
||||||
|
|
Loading…
Reference in New Issue