Write a control program in Lua for a nuclear reactor in minecraft using mod OpenComputers.
Wrote a few functions that check for conditions that should be satisfied for operation of the reactor.
The problem is that any empty slots in the inventory of the reactor in addition to slot indices of 1.14, 12 and 1 some. The function returns false. Also, when the output for the false part of the function transferCells, which is responsible for loading of the cells does not work. But works correctly if the function returns false and more than 1 slot empty. I can't understand where I went wrong.