Page 1 of 1

heat_buffer v15 how to use?

Posted: Tue Apr 25, 2017 9:52 am
by pclance
how do i interface with the temperature of the heat_buffer on the reactors and heat pipes?


function update_reactor(index)
local reactor = global.reactors[index]
reactor.signals.parameters["caset"].count = round(reactor.entity.energy)
reactor.signals.parameters["core"].count = round(reactor.entity.burner.heat)
reactor.control.parameters = reactor.signals
end

this just returns 44k all the time.

Re: heat_buffer v15 how to use?

Posted: Wed Apr 26, 2017 8:29 am
by Illysune
I'd also like to know, I've tried altering a few things with the heat_buffer and energy consumption, but it seems like the 40MW output is fixed.

Re: heat_buffer v15 how to use?

Posted: Sat Apr 29, 2017 8:02 pm
by pclance
still waiting on help

code

function update_reactor(index)
local reactor = global.reactors[index]
if reactor.temperature == nil then
reactor.signals.parameters["core"].count = 0
else
reactor.signals.parameters["core"].count = round(reactor.temperature)
end
reactor.control.parameters = reactor.signals

end