I'm working on a turtle tunnel program. Right now I'm trying to make it so that the user can specify and fuel slot, put fuel in that slot, and then the fuel in that slot won't be dumped into a chest when the turtle inventory gets full. My problem is with that last step. When I run the program and make the turtle run the drop off function for the first time, it works fine. However, I am trying to allow the user to save the settings they chose for the tunnel to another file so they don't have to type them in every time. When I save the setting of the slot the fuel should be placed in, and then run the program using the saved settings, the fuel gets dumped into the chest. From debugging using print, I know that the program knows what the slot is, but it still dumps the fuel.
Current Code:
http://pastebin.com/U1XL1dJ9
The parts that this post concerns are the useFuel function(lines 72-95), the dropoff function(lines 97-114), the part where I load the settings(lines 297-311), and the part where I save the settings(lines 443-465).
Help is appreciated!
Thanks!
Edited by grand_mind1, 29 December 2013 - 05:08 PM.












