Jump to content




Best way to get currently equipped item (Turtle)


  • You cannot reply to this topic
3 replies to this topic

#1 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 20 January 2016 - 02:35 AM

How do you get the currently equipped item for a turtle?

I skimmed the wiki but there doesn't seem to be a function for it


I really hope you don't have to just swap the tool out to check it, since that requires an inventory slot to be free

#2 Dragon53535

  • Members
  • 973 posts
  • LocationIn the Matrix

Posted 20 January 2016 - 02:47 AM

Now that I think of it, there might not be. Have you attempted to run something like turtle.getEquippedRight()? Probably not in there, but hey it doesn't hurt. If it doesn't exist, then I guess we gotta go to the suggestions forums.

#3 valithor

  • Members
  • 1,053 posts

Posted 20 January 2016 - 03:51 AM

View PostDragon53535, on 20 January 2016 - 02:47 AM, said:

Now that I think of it, there might not be. Have you attempted to run something like turtle.getEquippedRight()? Probably not in there, but hey it doesn't hurt. If it doesn't exist, then I guess we gotta go to the suggestions forums.

Or go upvote this.

Edited by valithor, 20 January 2016 - 03:52 AM.


#4 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 20 January 2016 - 04:15 AM

View PostDragon53535, on 20 January 2016 - 02:47 AM, said:

Have you attempted to run something like turtle.getEquippedRight()? Probably not in there, but hey it doesn't hurt
As you suspected, it isn't a function. Hopefully it will be soon.

View Postvalithor, on 20 January 2016 - 03:51 AM, said:

Or go upvote this.
Did, crossing my fingers that dan implements this. It would be what, 10 lines max? (In Java, of course)

My upcoming program is pretty awesome already, but this would make it that much better. Implementing a work-around for the time being.

EDIT: Program released (with work around) check it out! http://www.computerc...or-your-turtle/

Edited by HPWebcamAble, 08 February 2016 - 02:43 AM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users