mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
Formatting for supply converter too
This commit is contained in:
parent
d9bf9830b0
commit
3dc01a6720
@ -31,8 +31,7 @@ local run = function(pos, node)
|
|||||||
meta:set_int(to.."_EU_demand", 0)
|
meta:set_int(to.."_EU_demand", 0)
|
||||||
meta:set_int(to.."_EU_supply", input * remain)
|
meta:set_int(to.."_EU_supply", input * remain)
|
||||||
meta:set_string("infotext", machine_name
|
meta:set_string("infotext", machine_name
|
||||||
.." ("..input.." "..from.." -> "
|
..technic.format(" (%e %s -> %e %s)", input, from, input * remain, to))
|
||||||
..input * remain.." "..to..")")
|
|
||||||
else
|
else
|
||||||
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
|
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
|
||||||
if to then
|
if to then
|
||||||
|
Loading…
Reference in New Issue
Block a user