computercraft documentation
hooded-person opened this issue ยท 3 comments
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?
It's: local useSuccess, veinFound, veinId, veinSize = finder.search()
. veinSize 0 is inifinite.
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