Creating a restaurant type minigame, help with NPCs.

Hello, and good day. I wanted to request some help regarding this minigame I'd like to develop.
So it goes as a typical restaurant minigame. In any case, I'll explain: you, the player, as a waiter, have to attend customers. A customer will appear and they will choose an empty table. Once the customer is in their table, a timer should start running. If the player does not interact with the customer to take their order before the timer runs out, the customer will get mad and they'll leave.
However, if the player attends the customer, they will give a random order (I was thinking of having a menu of simply 6 dishes or so, to not make it too complicated). Then another timer should start; the player needs to put the order in the counter, wait for the dish and then pick it up. If the player delivers the dish before the timer runs out, the customer will eat and leave an amount of money (depending on the dish, since every dish has a different price). If the player takes too much time, the customer gets mad again and leaves.

I have a brief idea on how to event these customers, but I need help with them.

I've tried with different commands but my main problem lies on the timer and the interaction before the timer runs out. If I use a conditional branch to event what should happen once the timer runs out, I need it to be set on parallel processing, so the players does not have to interact with the NPC for this to start. However, this also applies to the "else" branch. In other words, I have problems to make the customer follow a certain command and stopping the timer WHEN the action button is pressed while also having the timer and the "I'll get mad and leave" event in case the timer runs out to be processed in parallel processing.

Thanks for reading in advance, I'll appreciate any help. Have a very nice day/night!
You can check in the customer parallel events if the player is standing next to the customer and facing them, when action button is pressed. Or use control event for the timers. Just keep the customers on action button and have an outside event count their timers. You can put all the timers in 1 parallel event, but I would just make separate timer event for each customer, since there aren't that many of them probably.
Don't make it complicated.
You need the event to be parallel trigger so that it can have timer for itself.
At the same time, you need the event to be action trigger so that you can interact with it.
Just make this two events overlap each other!

1717930223143.png


The parallel event, circled in red, is just for visual. When the event activated, it will be relocated to the front door and walk toward the designated place, sitting on top of the action event.
The action event, circled in blue is the event that you can interact with. It will be activated once the customer make an order so the player can interact with it.

I just tried eventing it, and it looks great~

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-restaurant-type-minigame-help-with-npcs.169362/