Maximum item count for a single item

I have another currency in my game that is an item for now it's called tickets and i want it to have a higher maximum count


but all the other items i want the maximum to still be 99. Is there a way to do this?
yes


using yanfly's plugins
you mean Item Core? Is there a way to make it function so i just get the maximum item count on a single item but not change the way the item screen looks?
Game_Party.prototype.maxItems = function(item) {
if (item.id === X) {
return 999;
} else if (item.id === X) {
return 9999;
} else {
return 99;
}
};


should do it.
you mean Item Core? Is there a way to make it function so i just get the maximum item count on a single item but not change the way the item screen looks?

no but the core engine one.


put this in the notetag

Code:
<Max Item: x>

Original thread: https://forums.rpgmakerweb.com/threads/maximum-item-count-for-a-single-item.58033/