Smart Reactors

by Zoryn

Small tweak that makes nuclear reactors turn themselves off when they are at maximum heat, until they reach the configured lower-bound threshold. This ONLY applies to newly built reactors. Reactors built before installing this mod will not be smart.

Utilities
10 months ago
2.0
598

b Crash error

5 months ago

Hey! While playing around with your mod I ran into an error.

"The mod Smart Reactors (1.0.2) caused a non-recoverable error. ----

Error while running event smart-reactors::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__smart-reactors
/control.lua:67: in function
<smart-reactors/control.lua:48>

Don't know what any of it means, hope it makes sense you to!

5 months ago

I think I found what causes it. It only happens with the "normal" nuclear reactor.

https://mods.factorio.com/mod/upgradeable-quality

When that mod upgrades the nuclear reactor, the error happens. If you set the upgrade timer to 10 seconds it should be possible to duplicate the error.

New response