Re: [MOD 0.12.x] Nixie Tubes - numeric display elements
Posted: Wed Mar 28, 2018 4:23 pm
i've always found github hard to navigate. i just visited the nixie tube's github, and i don't see any discussions.
www.factorio.com
https://forums.factorio.com/
Code: Select all
local format = "%i"
-- Zero pad 2-digit nixie tubes
if global.controllers[entity.unit_number]
and global.nextdigit[entity.unit_number]
and global.nextdigit[entity.unit_number].valid
and not global.nextdigit[global.nextdigit[entity.unit_number].unit_number] then
format = "%02i"
end
if float and hex then
format = "%A"