[RPG MMV] Limit on how many food/potion can be used?

Hi it's me again lol. Anyway i was wondering if i can somehow add a mechanic in my game to limit the player on how many food or potions they can use a day to encourage them to make better food/potions?
not by default.

you can either use trickyy eventing (with all potions etc calling common events as their only effect, and then chacking with variables before giving results) or a plugin and javascript to create that mechanic.
not by default.

you can either use trickyy eventing (with all potions etc calling common events as their only effect, and then chacking with variables before giving results) or a plugin and javascript to create that mechanic.
Oh ok lol. Thank you for your help.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-mmv-limit-on-how-many-food-potion-can-be-used.116511/