But as difficult as he can be, the shopkeeper has a fairly simple set of behaviors. While he’s alive, there are four main “states” that he can be in: IDLE is a resting state when he’s standing still and watching over his shop. FOLLOW is a state he enters when the player picks up an item in his shop, causing him to walk up to the player and stay close by. Whether he’s following to offer assistance or out of suspicion is left to the player’s imagination. I added this state because in initial tests it was too easy to steal items when he stayed at his counter. ATTACK is the shopkeeper’s angry
...more

