I forgot to check more than ismouse() on the mousetrap side, because I am blind. This adds the extra checks for israt() and isregalrat() to the trap triggering.