I found out that script: ToolManager.inst.consumeStamina() works
Thank you!
Does not work for me, got me an error :(
That's strange. I typed in RPG maker (the script option):
ToolManager.inst.consumeStamina(5)
And 5 stamina was depleted.
Ohhh....stupid me, I just typed ToolManager.inst.consumeStamina() thinking it's always consume 1 then, but without the argument it doesn't work at all. It works of course, thank you for clarification!
No problem