Here's the deal: I want to have a shop NPC during the day, but during the night change it with a non-shop NPC.
My theory is: Script the object that once used, check the time, if it is during the night, make the player talk to another npc instead of going to the store that will be closed at night, if not "default".

In theory is easy put everytime i tried, the spaghetti code that i wrote made the Editor explode.

Help?