MV “Monster” Box Plugin

Hello! It’s me again (I just recently made a post about a label plugin) and I was wondering if anyone knows a script or plugin command for this plugin to lock the first party member so they CANNOT go into this box and can’t have their orientation changed?

Monster Box Plugin

If not, would anyone be willing to modify it/add a script that does so? That is if the creator is open to their plug ins being edited of course!

If not (again) would someone be willing to make a plugin inspired off of this? The only other plugin that I know that works kinda similar is the YEP_PartySystem plugin but I don’t want my game to show any information on the actors/party members. (Such as level, skills, etc.)

The game that I need this for is for a 2 month long game jam and I want the player to be able to swap out different creatures for the other 3 party slots, but the player themself cannot change. This feature is important as the protagonist is obsessed with these creatures and the game is about her love for them!

Any help is highly appreciated, thank you so much!
If you use a party manager plugin (Yanfly / Hime) to lock your first actor to the first spot in the group, I think you can just change a single line in this plugin code to prevent first index going into the deposit box. I tested it and it seems to work, but only made a quick test. I also added it to play buzzer1 sound when it prevents index 1 going there, but don't know how to prevent the "cling sound" also playing.
Of course a more clean solution would be to not add the character in the selection window or to grey it out, but yeah, don't have the motivation to try to check if I could manage to do that.

COLD.BREED.Scene_Breed_Select.prototype.choseDeposit = function(){
this._detailsMenu.deactivate();
this._detailsMenu.hide();
this._menuWindow.show();
if($gameParty.members().length > 1 && this._actorWindow.index() !== 0){
$gameSystem.depositedActors.push($gameParty.members()[this._actorWindow.index()]._actorId)
$gameParty.removeActor($gameParty.members()[this._actorWindow.index()]._actorId);
this._actorWindow.selectLast();
this._actorWindow.activate();
}else{
AudioManager.playSe({
name: 'Buzzer1',
volume: 100,
pitch: 100
});
this._actorWindow.deactivate();
this._menuWindow.activate();
};
this.refreshAll();
};
To clarify, I would add/change some code in the plugin with the script you just gave? This would be for the monster box plugin right? Which line would I edit / where would I put it exactly? Or does it not matter and I can put it anywhere/at the bottom? Also this would only work if I have the YEP plugin with the option to lock the first party member being on? I’m not sure how to make it so the character is greyed out or not in the selection window. Thank you for your help!
I only changed this line (added the && stuff):
if($gameParty.members().length > 1 && this._actorWindow.index() !== 0){

And then I added the:
AudioManager.playSe({
name: 'Buzzer1',
volume: 100,
pitch: 100
});

You need to open the MonsterBox plugin file in notepag, find the spot with Ctrl-F search and then make those changes. You don't need Yanfly/Hime plugins if you disable formation change from your game. What's important is that the actor you don't want deposited doesn't leave from first spot (party leader).
I only changed this line (added the && stuff):
if($gameParty.members().length > 1 && this._actorWindow.index() !== 0){

And then I added the:
AudioManager.playSe({
name: 'Buzzer1',
volume: 100,
pitch: 100
});

You need to open the MonsterBox plugin file in notepag, find the spot with Ctrl-F search and then make those changes. You don't need Yanfly/Hime plugins if you disable formation change from your game. What's important is that the actor you don't want deposited doesn't leave from first spot (party leader).
Hello! I wanted to thank you a bunch for helping me with this! However I am noticing a new problem with this plugin for my project, I am able to add more than four "actors" to my party, is there a way to also lock the box from adding more than 3 different actors to the party? Only the top 4 actors appear in game as usual but it shows all of them (when added) to a menu that is basically the formation menu: I have formation disabled but when I go to consumable items the player can scroll beyond the 4 main party members. I'm unsure if it would be easier to add in a script that just easily disable scrolling beyond the 4 or if it's possible to add into the plugin itself, either way any help would be appreciated again!

Original thread: https://forums.rpgmakerweb.com/threads/monster-box-plugin.177852/