Remove 2 string.formats

This commit is contained in:
Wuzzy 2023-03-12 16:46:23 +01:00
parent a3ff3f290e
commit 1005c406b1

View File

@ -165,8 +165,8 @@ if(minetest.get_modpath("technic")) then
end
if(minetest.get_modpath("mana") ~= nil) then
local dmana = string.format(S("Magical point teleporters are fueled by mana and require %d mana per teleportation."), teletool.settings.cost_mana)
local manause = string.format(S("First make sure you have at least %d mana."), teletool.settings.cost_mana)
local dmana = S("Magical point teleporters are fueled by mana and require @1 mana per teleportation.", string.format("%d", teletool.settings.cost_mana))
local manause = S("First make sure you have at least @1 mana.", string.format("%d", teletool.settings.cost_mana))
local desc_mana = base .. "\n" .. dmana
local use_mana = manause .. " " .. baseuse