X Tutup
Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RPG Maker MZ - Farming Game Engine PRO

A farming game engine that provides basically everything to start your cozy game journey. · By Siro Games

Other actions costing stamina?

A topic by SpicyVoyager created 76 days ago Views: 82 Replies: 7
Viewing posts 1 to 2

Is there a way to make other actions cost stamina(stamina variable)? If not, can you make it a plugin command like the stamina gain plugin command?

+1, that is highly needed.

(+1)

I found out that script: ToolManager.inst.consumeStamina()  works

Thank you! 

Does not work for me, got me an error :( 

(+1)

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

X Tutup