Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Salary system

In Potato, you can hire companions in a tavern to come with you. Obviously, these companions aren't cheap, and every, say, 25 steps, the skilled gunner requires 150 gold. How could I accomplish this? I'm pretty sure that, if I knew how to do this, it wouldn't be challenging at all to make it so the companion leaves if they are unable to get their pay.
 

Zeriab

Sponsor

I would suggest having a parallel common event which the companions in the party every 25 steps (or whatever you like)
Then I would check if there is enough gold and subtract it in that case, otherwise do what you want if there is not enough gold.

This does require some variable work so tell me if you can't figure it out from the overall description.

*hugs*
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top