Putting all Skill types into one Skill choice

Hello!

Whenever a player is in battle, each member can: fight, item, guard, etc.

One of the choices is the skills. Here's the problem though.

I want to have multiple skill types (such as the default special and magical types), but I don't want each type to be its own selection.

I want there to be a choice that says: Skills, and then I want a list of the skill types available to appear once "Skills" is selected.

How would I do this?
you need a script to do this, because in default there is only one sorting level for skills - the skill type sorting.


And I don't think that the existing command manager scripts can help you - as far as I know they are usually intended to remove selection layers, not to add a new level to the command selection.


So you'll probably have to write the script yourself or request someone else to write that script for you...
Ugh, I was afraid of that.
Yanfly's actor command manager gives you the freedom to add/remove choices in the battle commands, but I'm not sure if there's an option for ALL SKILLS, but it's worth a look
I actually wrote up a snippet that does this for my own game. You're free to use it if you'd like.  🙂

Spoiler
Code:
#==============================================================================# ** Battle Skill Command by Hollow#------------------------------------------------------------------------------#  This script creates a single skill command in battle, rather than having the# commands separated by skill type.#============================================================================== class Window_SkillList < Window_Selectable  def include?(item)    if SceneManager.scene_is?(Scene_Battle)      item    else      item && item.stype_id == @stype_id    end  endend class Window_ActorCommand < Window_Command  def add_skill_commands    add_command(Vocab::skill, :skill)  endend

Original thread: https://forums.rpgmakerweb.com/threads/putting-all-skill-types-into-one-skill-choice.24505/