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

Reduce the eficiency of fuels

Started by Nekhare, 27 January 2014 - 07:52 AM
Nekhare #1
Posted 27 January 2014 - 08:52 AM
Hi,
Is there any way that items such as coal, blaze rods, etc.. give less fuel points?
'cos i want play a little hard :)/>
Thanks!
Lyqyd #2
Posted 27 January 2014 - 10:18 AM
I think I remember seeing something about this sort of option in the upcoming feature list for the next version of ComputerCraft. There is currently no way to do this.
Buho #3
Posted 27 January 2014 - 11:18 AM
t.forward = turtle.forward
turtle.forward = function()
    if turtle.back() then
        t.forward()
    end
    return t.forward()
end
This burns twice as much fuel as the normal way. Bonus: it's twice as slow, too! :)/>
Buho #4
Posted 27 January 2014 - 11:23 AM
Also, for a personal challenge, you might consider giving yourself the added rules:
  • Don't fuel with coal or charcoal
  • Don't fuel with lava buckets
That leaves you with wood planks and wooden tools and stuff, at least on vanilla. Search for the ComputerCraft Challenge for more on this vein. It's about imposing artificial constraints to improve the coding challenge.

What Lyqyd mentioned is a max fuel cap, I think, not a burn rate. The max fuel cap will force me to manage fuel again, as I currently have a lava skimming program that refuels turtles up to 200,000 so I can forget about fuel.
LBPHacker #5
Posted 27 January 2014 - 11:38 AM
-snip-
Thrice, not twice. Forward, backward, forward. And don't forget to actually create a local table called t.
Lyqyd #6
Posted 27 January 2014 - 12:25 PM
What Lyqyd mentioned is a max fuel cap, I think, not a burn rate.

Oh, yeah. That's probably it. A fuel multiplier config option would be nice (if it doesn't already exist). I don't much mess around with the config files.
Nekhare #7
Posted 27 January 2014 - 12:52 PM
Thanks for the replys :)/>

The true is that i play in a homemade server with some friends and the last time the turtles's use was so destructive and pointless. I think that if the refuel is more difficult the use of the turtles going to be less abusive and more achieved.
At the last time they only use "Tunnel" without programming nothing.

Any idea?

P.S.: Sorry for my bad english, i'm trying to do the best that i can.
Buho #8
Posted 29 January 2014 - 07:19 AM
If it's a homemade server with close friends, just tell them to either stop or write their own programs. The current fuel configuration is pretty balanced for early- and mid-game. I personally run a rather destructive mining program (because filling in the holes behind my turtles take longer) but only under oceans where nobody plays and my programs don't mar the landscape. Or thousands of blocks away in the nether. Some civil rules in Minecraft go a long way. Love your neighbor.

Your English is great, by the way.

EDIT: I first learned about ComputerCraft by watching the Mindcrack Feed the Beast series. They were – constructively – using the tunnel program to flatten the terrain and build shared roads at spawn. The Mindcrackers are an excellent example of civility for everyone.
Edited on 29 January 2014 - 06:22 AM