Posted 31 October 2013 - 01:33 PM
In some programs you need to test what said program would do if it has under a specific amount of fuel, and some that do something differently if it has more than a specific amount of fuel. I think a method to dump out all fuel would be really handy for testing in a creative mode world. at least one that can be spawned in with commands/ NEI.
The fuel adding part is probably less useful, but I have a program that has a UI that displays fuel level. If it gets above a ridiculous amount I have it say "enough" instead of the number amount. but after it gets to that point the only way to test the not-enough-fuel code would be to either make the turtle move in a minecraft circle for a long time.
Final note: I realize that you could put that code on a new turtle, but the problem I have with that is that it could easily get confusing what turtle the latest code is on.
The fuel adding part is probably less useful, but I have a program that has a UI that displays fuel level. If it gets above a ridiculous amount I have it say "enough" instead of the number amount. but after it gets to that point the only way to test the not-enough-fuel code would be to either make the turtle move in a minecraft circle for a long time.
Final note: I realize that you could put that code on a new turtle, but the problem I have with that is that it could easily get confusing what turtle the latest code is on.