So I'm writing a computercraft program similar to what DW20 did on forgecraft, except I'm trying to write so that I can expand it to more than one turbine/reactor when I'm ready to do so. The only real issue I'm running into right now is that in DW20's code he uses a method capacitor.getMaxEnergyStored(), but when I use that same method my program hangs up and doesn't proceed.
Here is a copy of my code so far: pastebin.com/2wAe78CT
The block of code between lines 246 and 250 are where the program freezes up. the print("test") on line 246 shows up fine, but the other prints after that do not.
Anyone know whats going on?
Here is a copy of my code so far: pastebin.com/2wAe78CT
The block of code between lines 246 and 250 are where the program freezes up. the print("test") on line 246 shows up fine, but the other prints after that do not.
Anyone know whats going on?