Hide Skill Type If No Skill Has Been Learned

Is there a way to hide the Skill Types if a skill of that type has not been learned yet?


For example: Lets say I have two Skill Types, 1H and 2H, but I have only learned skills from 1H, is there a way to not display 2H as a skill type in the menu until I learn a skill of that type?
The way i did it (with help from here) is...  make it so the skill type is NOT available to the actor from his list of traits. Then, make a state, using a passive state plugin, and add the trait to the state list.  Make the skill have the state added to it and when you learn the skill the trait should pop right up.  I've tested it a little my project and had no problems.
That worked incredibly well. My weapon and armor equips are tied into skills as well, and I was able to include that with it also. Thanks a ton!

Original thread: https://forums.rpgmakerweb.com/threads/hide-skill-type-if-no-skill-has-been-learned.55874/