Must have a weapon equipped.

Hey! Me again! Question! Is there a way to make it so there MUST be a weapon equipped into the main hand? Like I know there is a way preventing characters from equipping and unequipping new items BUT in most rpgs now adays you can switch weapons freely but there must be a weapon equipped at all times, is there a way to do that? Im not sure if im making sense XD
In the skills tab you can require up to two different weapon types to use an attack. It is at the bottom! If you require one for the main attack (skill 1) nobody will be able to attack without x weapon type that is required.
So I have a bit of an answer, and a non-answer.

The answer is you can't do this natively, but you could do something with plugins to get rid of the blank item at the end of the equipment selection list.

The non-answer is...why bother? You can't end up in this situation unless the player intentionally goes into the menu and deliberately clicks on several things to unequip their weapon.

So how does that harm anything that you need to prevent it? There are plenty of people who do things like challenge plays of games they like where they use no equipment and stuff like that...it really can't happen by accident, so you don't need to feel concerned about the player accidentally nerfing themself.

You don't need to respond to that, it's just food for thought.
In the skills tab you can require up to two different weapon types to use an attack. It is at the bottom! If you require one for the main attack (skill 1) nobody will be able to attack without x weapon type that is required.
Not exactly what I meant, the issue with this method is it means I have to create multiple normal attack instances per weapon type which will create alot of duplicates. Thank you for replying though.
So I have a bit of an answer, and a non-answer.

The answer is you can't do this natively, but you could do something with plugins to get rid of the blank item at the end of the equipment selection list.

The non-answer is...why bother? You can't end up in this situation unless the player intentionally goes into the menu and deliberately clicks on several things to unequip their weapon.

So how does that harm anything that you need to prevent it? There are plenty of people who do things like challenge plays of games they like where they use no equipment and stuff like that...it really can't happen by accident, so you don't need to feel concerned about the player accidentally nerfing themself.

You don't need to respond to that, it's just food for thought.
Im more so worried about it due to it matching the sprites, I have custom made sprites (WIP) and they are holding a weapon so it be wierd if the player unequipped a weapon for the sprite to still have one. That was my thought process.
Im more so worried about it due to it matching the sprites, I have custom made sprites (WIP) and they are holding a weapon so it be wierd if the player unequipped a weapon for the sprite to still have one. That was my thought process.
Sorry misread before,

Yanfly-EquipCore I think lets you force slots to always have something equipped. I don't really know if you have any other options besides a plugin. And that's the only one I know of lol.

Could use traits to seal the weapon but that would stop from equipping anything else.
Yanfly-EquipCore I think lets you force slots to always have something equipped.
It can via plugin parameters. It's worth noting that Equip Core is written as an MV plugin. It is listed as being compatible with MZ via Project FOSSIL.
Sorry misread before,

Yanfly-EquipCore I think lets you force slots to always have something equipped. I don't really know if you have any other options besides a plugin. And that's the only one I know of lol.

Could use traits to seal the weapon but that would stop from equipping anything else.
Thats perfect thank you! I didnt know there was an option!

Original thread: https://forums.rpgmakerweb.com/threads/must-have-a-weapon-equipped.153937/