A few suggestions about controls:
- why even have Y/N on resource mining, there's no advantage in not doing so. I suggest "hold X" to mine
- Once "hold X" is to mine, you could have "tap (as opposed to hold) X" to attack
- Attach/Detach: have detachment being automatic on clicking "Attach" again when you're already attached but trying to grapple onto something else