Jump to content


Luca_S

Member Since 09 Nov 2014
Offline Last Active Jan 17 2021 06:48 PM
*****

Posts I've Made

In Topic: Turtle min down to specified height

12 December 2020 - 07:53 AM

Can you post your whole code please? Without that I'd guess that TURTLE_POSITION.y isn't updated which means the loop runs forever.

In Topic: Detecting Turtle inventory information and using it

12 December 2020 - 07:21 AM

View Postravensniper72, on 12 December 2020 - 12:48 AM, said:

ok well that does help me some but how would I go about comparing two slots to see if it has a specific item in it?

You can use https://tweaked.cc/m...v:getItemDetail

In Topic: os.startTimer issue

29 September 2020 - 10:54 AM

The timerA and timerB variables are local to the functions TimeA and TimeB respectively, so in the event loop timerA and timerB are nil and thus can never equal the complete variable. remove the local in line 2 and 5 and add

local timerA
local timerB

at the top of your program

In Topic: Close multishell tabs automatically?

10 June 2020 - 09:07 PM

View Postqwerty, on 10 June 2020 - 06:25 PM, said:

Now I'm not an expert by any stretch of the word and am even less antiquated with the various bugs with the event system but my monkey brain believes this to be possible...
What do you mean? If you want to add a setting as described by Lupus you would just add an "and not settings.get("multishell.auto_close_tabs", false)" to the condition of the if.

In Topic: Snap and Box...and Link! - The dynamic trio of mining turtles - Expandabl...

30 May 2020 - 03:27 PM

You probably forgot to add the .png extension