I want to add a feature, when the player is under a certain condition (like a storage = 1), the mana gain, health ticks, (pause food) and skills gain are locked during that condition, as if they were in a protection zone, but it could be attacked or attack.
Could someone help me think about how...