MZ Dash Stamina Drain

As the title implies, I'm looking to find a plugin that has dash drain "stamina" (more than willing to use TP as a vanilla parameter) while running at a variable rate, and when stamina runs out dashing is no longer possible. After a variable delay, I want "stamina" to begin regenerating at a separate variable rate.

So I'm looking for three variable rates and a dash disable when less than 0: drain, delay, and recovery. Anyone know of a plugin that does something like this for MZ, or would be willing to make one?
👋 I did a quick search and didn't find anything under "stamina" or "dash" for RMMZ plugins. I think there's this plugin for RMMV, maybe try it to see if it works in RMMZ?

In case you're interested I made a little RMMV demo of a dash stamina system without plugins. It uses some chunky script calls for scaling the stamina gauge picture, but otherwise is all game variables etc.
Awesome, that demo is exactly what I needed, and shouldn't be hard to implement into MZ. Thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/dash-stamina-drain.126834/