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.

Max Arrows/Ammo

Hey,

I think the default max ammo/arrows are 99, is there any way to change it to whatever you want? I'm not sure if this is script related so sorry if I've posted it in the wrong forum.

Will appreciate any help!

Thanks,

Howelly123
 
Unless your using a ammo system script, RPG Maker XP has no ammo system, just bows, guns, and such. If your using a script, there's probably a option in it to increase maximum ammo, or you could use a break item limit script. You may also need to ask the creator of the script for help, if possible.
 
Solved it, thanks!

I tried the Limit Breaker suggestion and found an RMXP post:


viewtopic.php?f=155&t=16755

Just incase anyone else has the problem and can't use the link, go to Script Editor,
find "Game_Party" and find:

def gain_item(item_id, n)
# Update quantity data in the hash.
if item_id > 0
@items[item_id] = [[item_number(item_id) + n, 0].max, 99].min
end
end

The part which says 99, edit it to whatever number you want.

Thanks!

~ Howelly123 ~
 

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