[ComputerCraft] - change melee turtle weapon ?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

DragonsDaughter

New Member
Nov 19, 2019
2
0
2
Hi,

Is there a way to change melee turtle weapon ? I tried the equipRight/Left but it doesnt seems to work .

Would it work with tinker's weapons ? or enchanted ones

Thanks for reading.
 

KingTriaxx

Forum Addict
Jul 27, 2013
4,266
1,333
184
Michigan
unequipRight/Left should be the command. Enchanted should work, but I've not been able to get it to recognize Tinkers.
 

DragonsDaughter

New Member
Nov 19, 2019
2
0
2
Do you have an exemple code for doing this ? I can't figure out :/

I managed to equip some diamond sword but it doesnt work with and enchanted one nor with moded items.
 
Last edited:

KingTriaxx

Forum Addict
Jul 27, 2013
4,266
1,333
184
Michigan
Make sure you're in the LUA interface, and then turtle.unequipLeft() should remove the weapon, and drop it in the inventory.