So basically, what I'm trying to do is when you open the door, a npc comes outside gives you a greeting, then allows you to purchase. If done, the npc says goodbye and closes the door.
I'm having trouble with this; can someone help me out with this. I would be appreciated