How to increase item limit above 99?

I'm making a farming game where they are guarenteed to get more than 100 of 1 type of crop like carrots. It will really suck if they can't collect more than 99. How do I increase the limit of how many of 1 item a character can hold?
How do I increase the limit of how many of 1 item a character can hold?
This can be done with a fairly simple plugin:
JavaScript:
Game_Party.prototype.maxItems = function (item) {
    return 999;
};
This would increase it to 999, though feel free to make this number anything you want.
This can be done with a fairly simple plugin:
JavaScript:
Game_Party.prototype.maxItems = function (item) {
    return 999;
};
This would increase it to 999, though feel free to make this number anything you want.
hey, I'm so sorry for necroposting, but maybe you'd be up to help anyway.
I tried it and it worked well but the number overlaps with the ":". Do you think this is fixable somehow without too much work?
1755703745739.png
You would probably need to overwrite the "Window_ItemList.prototype.drawItemNumber" method.

For example


Code:
Window_ItemList.prototype.drawItemNumber = function(item, x, y, width) {
    if (this.needsNumber()) {
        this.drawText(":", x, y, width - this.textWidth("000"), "right");
        this.drawText($gameParty.numItems(item), x, y, width, "right");
    }

};

Also increase the reserved space using something like this :


Code:
Window_ItemList.prototype.numberWidth = function() {

    return this.textWidth("0000");

};

Original thread: https://forums.rpgmakerweb.com/threads/how-to-increase-item-limit-above-99.169889/