I’m making a Game with a Sand Timer, and you have to find Enough Sand to keep the timer filled before you leave the area.
I have a vending machine that takes 1 dynamic sand and sends a channel signal when the purchase is complete. Here is what I need:
- The Timer starts 30 seconds after the game starts as a setup time for players.
- A counter (not visible) tracking how much Time is left in seconds. This will increase 10 seconds for every dynamic sand put into the timer.
- The counter needs to be spam proof, and count every sand inserted. 4 vending machines take dynamic sand for the timer.
- The Timer cannot exceed 2 minutes. This will add a need for a timekeeper.
- When the timer reaches 0 seconds left, no more sand can be added to the timer and it will lock the exit, trapping everyone inside who didn’t escape in time. The Exit is a button.
This system is not visible, and is off of the map. It is just a module to make the game functional. Only the vending machines are accessible by players.