I want to limit the use of the cooling rack when the radiator is enough and undamaged. My guess is watch "RadiationRate" and when it reaches 100 or gets very close, start increasing "CoolerUnitRateLimit" towards 100. And When "RadiationRate" drops, decrease "CoolerUnitRateLimit" toward 0?
I came up with this:
[CODE
R=:RadiationRate C=:CoolerUnitRateLimit
ifR>=99 thenif C<100 thenC++ endelse ifR<99 then ifC thenC-- end end
:CoolerUnitRateLimit=C
[/CODE]
but it needs more end's on the second line which would make the line longer then 70
I came up with this:
[CODE
R=:RadiationRate C=:CoolerUnitRateLimit
ifR>=99 thenif C<100 thenC++ endelse ifR<99 then ifC thenC-- end end
:CoolerUnitRateLimit=C
[/CODE]
but it needs more end's on the second line which would make the line longer then 70
Last edited: