equipment slot ??

hello! i have a question about how exactly the default equipment slots work. Specifically, if I were to name the 1st equipment slot in the editor "Shield", the game still registers the first slot as the 'weapon' slot. This seems to always be the case. How exactly the game decides that the first equipment slot is the weapon slot? Is there a way to designate two specific slots as 'weapon' slots? Thanks in advance for any help!
That is an internal override that you cannot change without a plugin, because weapons and armor have a few differences.


If an actor has the "dual wield" trait, then the second slot also becomes a weapon slot.
Yanfly's Equip Core lets you freely adjust which slots your actors have. You could have them unable to equip weapons or even equip like 12 or so.


The reason the first slot is always considered a weapon is because it's a seperate tab in the maker, because 1. weapon types are ingrained in the maker, which is relevant for some skills and 2. weapons can change the default attack animation, which won't happen with armors.
@Andar: Ah, gotcha, I wasn't exactly sure if that was the case. Thanks for clearing that up! 🙂  I thought I was missing something.


@LightningLord2: That will be very handy actually, thanks for the heads up!


Window_EquipSlot.prototype.slotName = function(index) {
var names = $dataSystem.equipTypes[index + 1]
return this._actor ? names : '';
};


I think this should fix the issue for me. This way i can have a main hand slot and an off hand slot, then when enabling dual wield I don't have two main hands lol. Gonna give the Equip core a whirl as well! Thanks again!

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