mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-12 08:18:30 +02: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_supply", input * remain)
|
||||
meta:set_string("infotext", machine_name
|
||||
.." ("..input.." "..from.." -> "
|
||||
..input * remain.." "..to..")")
|
||||
..technic.format(" (%e %s -> %e %s)", input, from, input * remain, to))
|
||||
else
|
||||
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
|
||||
if to then
|
||||
|
Loading…
Reference in New Issue
Block a user