MV Hidden Equipment Slot

So, I want a few equipment slots that the player cannot touch, can't see but the characters still have them. I need this for some other plugins to do their magic.
I don't need any interaction for the player with this slot, I'll do it with scripts myself.
These slots will never get revealed.

I'm using Yanfly's equip slot although I don't think I'll need it if this gets made.

EDIT: Scattered brain, I remember some more things.
Every character and class has the exact same equip slots including the same hidden equip slots.
If the equipment can't be changed, is it suppose to be equipped all the time? If yes, maybe you could make a workaround by removing after battle and adding (equipping) before every battle? You could look for some common event plugin which lets you run common events before/after every battle and put the commands there.
you should link to the plugins you need this for, and give a more detailed description what this is supposed to do.

Because you can't expect a programmer to guarantee compatibility to a plugin he never heard of, and this sounds as a complicated workaround that might be easier to do a different way.
By default I think an actor's equipment only shows on the equip and status scenes? So to hide the last 3 equip slots, this might work (very briefly tested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV
 * @plugindesc Hide the last few equip slots.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/180763/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  /** Number of equip slots to hide from the end of the list. @type {number} */
  const HIDE_COUNT = 3;

  /**
   * @param {Game_Actor?} actor Reference actor.
   * @returns {number} Effective equip slot count for display purposes.
   */
  const displaySlots = function(actor) {
    return actor ? actor.equipSlots().length - HIDE_COUNT : 0;
  };

  // Patch - status scene.
  void (function(alias) {
    Window_Status.prototype.maxEquipmentLines = function() {
      return Math.min(alias.apply(this, arguments), displaySlots(this._actor));
    };
  })(Window_Status.prototype.maxEquipmentLines);

  // Override - equip scene.
  Window_EquipSlot.prototype.maxItems = function() {
    return displaySlots(this._actor);
  };

})();
Just change the HIDE_COUNT = 3 value as appropriate.

As mentioned: since it's an interface edit, there's a strong chance of incompatibility with anything that modifies those scenes.
By default I think an actor's equipment only shows on the equip and status scenes? So to hide the last 3 equip slots, this might work (very briefly tested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV
 * @plugindesc Hide the last few equip slots.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/180763/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  /** Number of equip slots to hide from the end of the list. @type {number} */
  const HIDE_COUNT = 3;

  /**
   * @param {Game_Actor?} actor Reference actor.
   * @returns {number} Effective equip slot count for display purposes.
   */
  const displaySlots = function(actor) {
    return actor ? actor.equipSlots().length - HIDE_COUNT : 0;
  };

  // Patch - status scene.
  void (function(alias) {
    Window_Status.prototype.maxEquipmentLines = function() {
      return Math.min(alias.apply(this, arguments), displaySlots(this._actor));
    };
  })(Window_Status.prototype.maxEquipmentLines);

  // Override - equip scene.
  Window_EquipSlot.prototype.maxItems = function() {
    return displaySlots(this._actor);
  };

})();
Just change the HIDE_COUNT = 3 value as appropriate.

As mentioned: since it's an interface edit, there's a strong chance of incompatibility with anything that modifies those scenes.
It does everything I need it to do.
I saw no issues yet with anything, although I haven't done any extensive debugging either.
Thank you for the plugin and for reading my enraged mind.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/hidden-equipment-slot.180763/