AI update

Create new functions to allow ai to notice when players do actions