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.

HBGames

I got an idea for a food bag system. You would have three bags you can get through the game: small, medium, and large and each bag would have a set limit on what you could hold. The whole point is have a set amount of food to give you MP (as I call it in my game: KI), and thus you can't just use whatever power you have randomly.

I am in the middle of trying to create a system for a food bag. There should be three bags with a set limit as to what it can hold. When you use it, it should fill up your MP points and when it's empty, you will go to a food vender to refill it. I would like the ability for you to select between CHECK and USE. I assumed that I could use it through common events, and item menu, but I am suspecting that I will need a script instead.

SMALL BAG = 100
MEDIUM BAG = 400
LARGE BAG = 600
Food decreases by one, two or five each use (I haven't decided on a set #)

Way to have the bag empty or full, plus the vendor to fill your bag

I thought I could do that through variables, but it doesn't work.

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