Yanfly Party System - Add to actor, remove from menu

Hi


I am using the Yanfly party system plugin (along with parent plugins) to swap party members. I like the functionality, but I'd like to change a bit of it. Namely:


1) I need the entire formation option removed from the main menu


2) I need to be able to speak to an actor and access the menu


3) I need to assign a gold cost to putting characters in the party, each with a unique value that will change based on a stat (probably character level * multiplier for the class)


Can anyone help guide me on how to accomplish this?
So I've had a chance to play with this and figure part of it out.


1) Opened the YEP_MainMenuManager in the plug in manager and deleted the parameters which reference the Formation command. That removed the command from the list in the part menu.


2) Yanfly gives the party menu plug-in command with the plug-in notes so I simply added it to the event of talking to an NPC. Meaning, I walk up to my party managing NPC, talk to him, and it opens the formation menu.


3) I identified the part of the .js file where I want my added text to live. I'm not advanced with java so I've only been tinkering. I've commented out the function call for actor name (I still want that eventually) and added a line below that in an attempt to display the actor's level as I know my eventual displayed text here will be calculated in part from that variable.
 

Spoiler
//Character name and icon in choice list
Window_PartyList.prototype.drawBasic = function(actor, rect) {
var wx = Window_Base._iconWidth / 2 + this.textPadding() / 2;
var wy = rect.y + rect.height + Yanfly.Param.PartySpriteBufferY
this.drawActorCharacter(actor, wx, wy);
this.changeTextColor(this.listColor(actor));
this.changePaintOpacity(this.actorIsEnabled(actor));
var ibw = Window_Base._iconWidth + 4;
// this.drawText(actor.name(), rect.x + ibw, rect.y, rect.width - ibw);
this.drawText(ActorLevel()), rect.x + ibw, rect.y, rect.width - ibw); //my added line to display level
this.changePaintOpacity(true);
this.drawRestrictions(actor, rect);
this.resetFontSettings();



I know I'm not drawing the ActorLevel correctly though. Does anyone know the correct way to display that? In the end it doesn't matter that much as what I'm working towards is this: a number shown as gold cost that's based on character level (conceptually- cost=actorlevel * 100 * actormultiplier).

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-party-system-add-to-actor-remove-from-menu.62473/