r/ComputerCraft • u/Internal_Ad_2568 • May 30 '25
How does the "turtle.getEquippedLeft()" function work?
I keep getting errors mentioning that it is missing parameters, but according to the wiki it doesn't take any?
I'm trying to make a function where if the turtle equips a sword from if the block in front is empty and a pickaxe if it is solid.
4
Upvotes
2
u/Bright-Historian-216 May 30 '25
what exactly is the error you are getting? can you share the code?
1
u/Jimmaken May 31 '25
Are you trying to use this function to equip a tool? That function returns a table about the information of the currently equipped tool.
1
u/kukeiko64 May 31 '25
It this function even released yet? Wiki mentions
But latest released on modrinth & github is 1.115
0
u/IanTGreat May 30 '25
https://tweaked.cc/module/turtle.html#v:getEquippedLeft