ComputerCraft Forums

ComputerCraft => Programs => Turtle Programs => Topic started by: DrPleaseRespect on Jul 16, 2021, 09:25 PM

Title: Branch Mine Helper - This does not automatically mine for you
Post by: DrPleaseRespect on Jul 16, 2021, 09:25 PM
WARNING: This is my first program in Lua and ComputerCraft

Branch Mine Helper
WARNING: This program will also probably break if unloaded


Pastebin: https://pastebin.com/VrDXp25t (https://pastebin.com/VrDXp25t)




Previews:

Main Menu:
(https://camo.tmpim.com/e0602e2a4f2c899240a95677e87ea784df4d63e6/68747470733a2f2f6472706c65617365726573706563742e6769746875622e696f2f6472706c65617365726573706563742d7765626173736574732f636f6d707574657263726166745f73747566662f6272616e63686d696e6568656c7065722f4d61696e4d656e752e676966)

Refuel Menu:
(https://camo.tmpim.com/b0a36c593d19be1e306cce51e63a587ebf14f090/68747470733a2f2f6472706c65617365726573706563742e6769746875622e696f2f6472706c65617365726573706563742d7765626173736574732f636f6d707574657263726166745f73747566662f6272616e63686d696e6568656c7065722f52656675656c2e676966)

Start Menu:
(https://camo.tmpim.com/6b6974626bbed676d287be04ffb655bfa26b43b4/68747470733a2f2f6472706c65617365726573706563742e6769746875622e696f2f6472706c65617365726573706563742d7765626173736574732f636f6d707574657263726166745f73747566662f6272616e63686d696e6568656c7065722f53746172742e676966)

Mining Pattern:
(https://camo.tmpim.com/28d516621a90aa5d6c1e199d2abc110825df1f34/68747470733a2f2f6472706c65617365726573706563742e6769746875622e696f2f6472706c65617365726573706563742d7765626173736574732f636f6d707574657263726166745f73747566662f6272616e63686d696e6568656c7065722f7061747465726e2e706e67)


Usage:
Program will immediately mine to the left once Mine has been started
pastebin get VrDXp25t miner.lua
Title: Branch Mine Helper - This does not automatically mine for you
Post by: QuickMuffin8782 on Jul 26, 2021, 07:34 AM
I see your program has some very cool knick-knacks.

As I looked through your pastebin code, you used term.blit() a lot when writing text. It's confusing for me and some coders, so why not check out the wiki for CC (https://tweaked.cc/) and try getting around all the APIs, including the colors api.

A few tips for improv