Limited Potions!

Status
Not open for further replies.

ZoroarX

Veteran
Veteran
Joined
Apr 23, 2013
Messages
75
Reaction score
0
First Language
Portuguese
Primarily Uses
ZoroarX here! Today, I need help because I don't want the players to carry 99 potions in their inventory. The max number of Potions will be 10 (because the recover a lot), the max number of Hi-Potions and Max Potions is going to be 5 (don't ask me why, just answer this topic). The question is: How do I put a Potion limit in the inventory?
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,004
First Language
Tagalog
Primarily Uses
RMVXA
I think there's a script by Tsukihime for setting max item number based on weight or item amount, try looking for it

if you cannot find it, you can also find the line that sets maxitem count and add conditions so that it will limit the potion count
 
Last edited by a moderator:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,720
Reaction score
13,996
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

The second draft of my script is almost done, and I don't think I'm going to write a third draft. I'll make changes to dialogue here and there, but I'm happy with the series of events the way they are.
How you feel about font and dialogue box changing for every main character while the minor cast and regular npc get their own styles? Too much?
Just found an obviously custom effect (i.e. edited by me) in my resources>sounds folder called "rip jaw off". Dear Lord what is wrong with me as a person that at some point I needed a sound *specifically* for THAT??
(...rhetorical question.)
so like with the whole 'familiarity breeds contempt thingy', how are you supposed to tell if your title screen/battle music gets really tedious after a few dozen plays or if you're just personally hella sick of it?

Forum statistics

Threads
107,523
Messages
1,030,242
Members
139,648
Latest member
Heis
Top