This is a direct copy paste of the cryo code for ui_interact() and attack_hand().