Create new Max Save File Cap?

Hi guys. I was wondering how to create an event players can unlock a new save file in the game as a reward. I know that with YEP_SaveCore, you can pre-determine the max save files or save file cap, THOUGH...I'm wondering if there is a simple solution to this with a script call or something, so that players can earn additional save files as a reward...

I've also tried EISLockedSaves.js plugin, though that only locks players into one save file per playthrough, and when adding a new
save file via script call, it's pointless, because the default plugin creates new save files, once the max is used...and it just keeps creating save files by default...LoL So, that's not what I'm looking for.

Curiously,
Remy K.
@RemyKey109 Here is a simplistic solution that can be tossed into a '.js' file in your plugin folder :

Code:
var Ossra_GameSystem_initialize = Game_System.prototype.initialize;

Game_System.prototype.initialize = function() {
  Ossra_GameSystem_initialize.call(this);

  this._maxSaveSlot = 20;
};

Game_System.prototype.setMaxSaveSlot = function(value) {
  this._maxSaveSlot = value;
};

DataManager.maxSavefiles = function() {
    return $gameSystem._maxSaveSlot;
};

The script command to set the maximum amount of save slots would be as follows :

Code:
$gameSystem.setMaxSaveSlot(amount);
Tested it, Ossra, and it works perfectly! YOU'RE THE BEST!!! 😀
I've been searching for a solution to this for awhile on my own so I didn't have to bug anyone here, but that is easy and works!
I have YEP_SaveCore installed and it functions with that---no conflicts. AWESOME!
Again! Many thanks!
Do you have a paypal so I can send ya a few bucks for the help?

Most Appreciative,
Remy K.

Original thread: https://forums.rpgmakerweb.com/threads/create-new-max-save-file-cap.113955/