mirror of
https://github.com/Sokomine/cottages.git
synced 2025-04-20 19:10:25 +02:00
tweak barrel infotext
This commit is contained in:
parent
db057f02cf
commit
fa2d38b32f
@ -9,14 +9,14 @@ local barrel = cottages.barrel
|
||||
function barrel.get_barrel_info(pos)
|
||||
local liquid = barrel.get_barrel_liquid(pos)
|
||||
if liquid then
|
||||
return ("%s (%i/%i)"):format(
|
||||
return ("%s Barrel (%i/%i)"):format(
|
||||
barrel.name_by_liquid[liquid],
|
||||
barrel.get_liquid_amount(pos),
|
||||
max_liquid_amount
|
||||
)
|
||||
|
||||
else
|
||||
return S("Empty")
|
||||
return S("Empty Barrel")
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user