This commit is contained in:
Mikayla Fischler
2025-02-25 15:32:07 -05:00
parent a9f68ce3ea
commit d45f19c8a6
3 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ function iocontrol.init(conf, comms, temp_scale, energy_scale)
num_turbines = 0,
num_snas = 0,
has_tank = conf.cooling.r_cool[i].TankConnection,
aux_cool = conf.cooling.aux_coolant[i],
aux_coolant = conf.cooling.aux_coolant[i],
status_lines = { "", "" },

View File

@ -97,14 +97,14 @@ local function make(parent, x, y, wide, unit_id)
table.insert(rc_pipes, pipe(_wide(46, 39), 1, _wide(72, 58), 1, colors.blue, true))
table.insert(rc_pipes, pipe(_wide(46, 39), 3, _wide(72, 58), 3, colors.white, true))
if unit.aux_cool then
if unit.aux_coolant then
table.insert(rc_pipes, pipe(_wide(51, 41), 0, _wide(51, 41), 1, colors.blue, true))
end
else
table.insert(rc_pipes, pipe(0, 1, _wide(72, 58), 1, colors.blue, true))
table.insert(rc_pipes, pipe(0, 3, _wide(72, 58), 3, colors.white, true))
if unit.aux_cool then
if unit.aux_coolant then
table.insert(rc_pipes, pipe(8, 0, 8, 1, colors.blue, true))
end
end

View File

@ -299,7 +299,7 @@ local function init(main)
------------------------------
for i = 1, facility.num_units do
if units[i].aux_cool then
if units[i].aux_coolant then
local vx
local vy = 3 + y_ofs(i)