I guess I'll have to split the code between Event Tick and Event Factory Tick, like I had to do for my Dissembler mod. (Because I use sound and FX) But then I get a crash when running the game.
Since I am producing Power with this machine, do I need to override the 3 Factory Power Production? If so, I don't know how to do it.
Attached are my sources. If anyone finds a solution, please let me know.