This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
craftyweasel's profile picture

[Lua] Removing of return on full inventory

Started by craftyweasel, 08 March 2013 - 04:14 PM
craftyweasel #1
Posted 08 March 2013 - 05:14 PM
Hello all,
A pretty simple question that i have had a hunt for and found no answer for. I am new to programming so I am playing around with the excavate code. I wish to remove the return on full inventory part of the program. With the tunnel program, when the inventory is full, the turtle keeps going just dropping the items. How is it possible for the excavate program to do the same.
Thanks in advance for any help.
:)/>
Lyqyd #2
Posted 08 March 2013 - 08:04 PM
Split into new topic.
theoriginalbit #3
Posted 08 March 2013 - 08:16 PM
Comment out the following lines … comments in Lua are started with this
--

Lines
49
63

These lines deal with the moving to locations. commenting these out will stop it doing so but will still allow it to check its fuel levels.