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

New to Lua coding...

Started by mawsie, 30 December 2012 - 12:19 PM
mawsie #1
Posted 30 December 2012 - 01:19 PM
Hello there, I am quite new to the idea of Lua coding and I just have a couple of questions to ask…

Firstly, how long would it take me to learn the basics of Lua coding, not to do anything fancy just to do the very, very basic of things with a minecraft turtle, such as strip mining for example?

Secondly, how hard would it be to make a code for a turtle where they are excavate mining and then returning to a chest, dropping all their items but the coal and also when almost out of fuel returning to a chest to pick up another thing that can be used for fuel?

If anyone could help me with any of these questions I will be very grateful, also if anyone would be willing to help me learn how to code that second one then I would be very, very happy for them to help.

Thanks,

- Mawsie
BustedEarLobes #2
Posted 30 December 2012 - 02:23 PM
1:) To learn, well that just depends how fast you learn, strip mining should be pretty quick

2:) Pretty easy except it's hard for a turtle to sort through a chest to see what can be used as fuel
mawsie #3
Posted 30 December 2012 - 02:34 PM
What about if I was to have a separate chest with things that can be used as fuel, such as scrap and coal?
ChunLing #4
Posted 30 December 2012 - 08:04 PM
Yeah, that'd work fine. But it would be easier to just have your turtle eat everything it could till it was well full.