SquidDev-CC / CCTweaks

Random additions to ComputerCraft (somewhat deprecated, use CC-Tweaked if you're on Minecraft 1.12).
MIT License
12 stars 2 forks source link

Pocket equip and unequip methods #149

Closed SquidDev closed 7 years ago

SquidDev commented 7 years ago

It would be nice to add .equip() and .unequip() methods to the pocket computer API. This would add and remove an upgrade from the computer.

When adding an upgrade, it would scan through the player's inventory until a suitable upgrade is found. When removing, it should just place the upgrade back in the player's inventory.