Create Ore Excavation

Create Ore Excavation

8M Downloads

computercraft documentation

hooded-person opened this issue ยท 3 comments

commented

please add documentation explaining what the values returned by veinfinder.search(). i have only been able to deduce that if the second value is True that then the third value will be the string of which ore vein was found. i am not able to understand the number that follows or the n=
also the first boolean seems to always be true. Would it be possible to recieve some clarifacation on what these values mean precisly?

commented

It's: local useSuccess, veinFound, veinId, veinSize = finder.search(). veinSize 0 is inifinite.

commented

It's: local useSuccess, veinFound, veinId, veinSize = finder.search(). veinSize 0 is inifinite.

You forgot the fact that it always comes with n=length as last argument for some reason

commented

Only if you wrap it into a table with table.pack.