MZ Theoretical Unarmed Skills Workaround?

First time posting here. I wanted to make a game like FF2 or Morrowind where if you unequip all your weapons the game's systems default to a sorta, "fists in your weapon slot," barehanded, "dummy," weapon. I wanted to do this so I could do things like have skills that mimic FF2's mechanic of going barehanded allowing you to hit twice in one attack turn by, "dual wielding," your fists and maybe even adding items and skills that would allow you to augument your unarmed attacks (and really just attacks in general,) with different elements (like equipping a water talisman accessory granting an elemental affinity to your attacks, and so on.)

However, it seems that RPG Maker doesn't have a default, "dummy weapon," feature. I came up with a workaround for this by deciding to just have the regular, "attack," command be, in-universe, more like a general, "improvised strike," sorta thing and simply having the player unlock or lose unarmed-specific skills depending on if they have anything equipped in their weapon slot. I've got a bit of familiarity with javascript, but I've never tried making a script or plugin for RPG Maker or its syntax.

Would this be possible? I've managed to put together from lurking a bit here and on the subreddit that there's some sort of a, "JS enable skill," command. Would it be possible to make, "proper unarmed skills," by using this command by having the skills enable only if the game detects that (X party member currently acting in combat,) doesn't have any weapons equipped? Or are there any plugins for MZ or MV that already exist that just adds the whole, "default dummy weapon," mechanic to either engine? I say, "MZ or MV," because even though I am personally working on MZ I have recently bought RPG Maker MV during the last winter Steam sale.
It sounds like your use-case would be served by just making the default Attack skill be "Fists" and every other weapon sets a different Attack skill? If that's the case, for MV you can use the WeaponSkill plugin the the dlc folder (under KadokawaPlugins). In MZ however, this functionality is built in.

temp.png


By the way, if you're primarily using MZ, you may want to consider updating your profile.
It sounds like your use-case would be served by just making the default Attack skill be "Fists" and every other weapon sets a different Attack skill? If that's the case, for MV you can use the WeaponSkill plugin the the dlc folder (under KadokawaPlugins). In MZ however, this functionality is built in.

View attachment 357144

By the way, if you're primarily using MZ, you may want to consider updating your profile.
OH, that works perfectly, actually! I didn't know this was a built-in functionality for MZ since I don't really have much experience with any of the RPG Makers. I sorta just bought MZ 'cause I heard it was gonna be sorta, "THE definitive RPG Maker," going forward. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/theoretical-unarmed-skills-workaround.181857/