mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Improved descriptions
This commit is contained in:
parent
e039642446
commit
03c73b7820
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue