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.

How can you change the 99 item limit?

Status
Not open for further replies.
I'm hoping to change the 99 item limit to something higher in my game, is this possible?

I don't think it would be that hard if possible, but I don't know any RGSS.

Thanks for any help.
 
Open you script editor, and selecte the Game_Party script
look for "def gain_item" and you will see something like the following
Code:
@items[item_id] = [[item_number(item_id) + n, 0].max, [COLOR=Red][B]99[/B][/COLOR]].min
Change that 99 for your limit. Do the same with "def gain_armor" and "def gain_weapon".
 
Status
Not open for further replies.

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