Improved transporter lock strength formatting in LUA scripts
This commit is contained in:
parent
dd2b177583
commit
6d1cf48fd1
2 changed files with 6 additions and 6 deletions
|
@ -179,13 +179,13 @@ function transporter_page_writeLockStrength(lockStrength)
|
|||
else
|
||||
w.setColorWarning()
|
||||
end
|
||||
w.write(w.format_float(percent) .. " % ")
|
||||
w.write(w.format_float(percent) .. " %")
|
||||
else
|
||||
w.setColorDisabled()
|
||||
w.write(w.format_string("-none-", 7))
|
||||
w.write("-none-")
|
||||
end
|
||||
w.setColorNormal()
|
||||
w.write(".")
|
||||
w.write(". ")
|
||||
end
|
||||
|
||||
function transporter_setEnergyFactor()
|
||||
|
|
|
@ -178,13 +178,13 @@ function transporter_page_writeLockStrength(lockStrength)
|
|||
else
|
||||
w.setColorWarning()
|
||||
end
|
||||
w.write(w.format_float(percent) .. " % ")
|
||||
w.write(w.format_float(percent) .. " %")
|
||||
else
|
||||
w.setColorDisabled()
|
||||
w.write(w.format_string("-none-", 7))
|
||||
w.write("-none-")
|
||||
end
|
||||
w.setColorNormal()
|
||||
w.write(".")
|
||||
w.write(". ")
|
||||
end
|
||||
|
||||
function transporter_setEnergyFactor()
|
||||
|
|
Loading…
Reference in a new issue