KEquipSkills
VX 1.2.1 + Add-On
by Kyonides
Introduction
It's a scriptlet that allows you to equip skills aka temporarily learn a skill if a piece of equipment like a weapon or an accessory is currently equipped.
There was another scriptlet out there but it sucked

for it used an iterator when I noticed it gotta be simpler. And yes, I was right about that! Take a look for yourselves!
Instructions for VX
Code:
# * KEquippedSkills VX - Full Version * #
# Scripter : Kyonides Arkanthes
# v1.2.1 - 2023-06-13
# - Use Items, Weapons or Armors to learn Skills! - #
# In order to add new skills whenever you equip a new Weapon or Armor or Item,
# You need to configure a couple of CONSTANTS.
# EQUIP_CHECKS_LEARNING lists Actors that will begin with the :checks method.
# ITEM_CHECKS_LEARNING lists Actors that will begin with the :checks method.
# The rest of the Actors will use the :direct method, learning a single skill
# from the Weapon or Armor or Item.
# - Teach a Skill Immediately using Weapon or Armor or Item
# Leave a note tag like the following note:
# <equip skills 12 14 16>
# - Or Check if the Class ID or the Actor ID's list against your Notetag's
# Leave a note tag like the following note:
# <equip skills 2 5 classes 1 2>
# <equip skills 4 8 9 actors 3 6 9>
# 0 as an Class ID or Actor ID allows any class or actor to equip the skill!
# * Script Calls * #
# - Change a given Actor's Item or Equip Check Type
# Available Types: :direct or :checks
# game_actors[ActorID].item_check_type = Type
# game_actors[ActorID].equip_check_type = Type
module KEquipSkills
EQUIP_CHECKS_LEARNING = []
ITEM_CHECKS_LEARNING = [1,2]
About the Add-Ons
Both ports include a Menu Scene that will allow you to open a new menu after picking an item and its target. This menu will list all the skills you included either in the Constant or the Note Tag. There might be a skill requirement to be able to learn just ONE of those skills. For more details, please read the rest of my posts here.
Terms & Conditions
Free for use in any game.
Include my nickname in your game credits.
Mention this forum as well.
Give me a free copy of your completed game if you include at least 2 of my scripts!

Curious Update
This time I added the possibility of equipping more than a single skill per equipment slot. What makes it a great thing is that you still can equip a single skill on any other slot!

This script now starts looking like a simple version of a Materia script to me.
Hidden Bug Has Been Smashed For Good!
In the
RMVX port of my script, there was a

bug concerning some aliased method that had a slightly different name that the one declared at the top of its respective Game_Actor class. Obviously, it would quickly throw an error at your face.

Yeah well, what really matters here is that it has been exterminated for the greater good.

I guess it happened while I was still working on the original RMXP version.
Script Update!
KEquippedSkills has been rebranded as
KEquipSkills! 
From now on, version
1.1.1 now lets you set 2 different sets of CONSTANTS depending on HOW you want the Equipment Skills to be equipped by your Actors.
- Direct Method
- Checks Method
What this means is that you can simply tell the game that a specific Actor has a direct equipment skill learning process. OR the Actor needs to pass a few checks before he or she can equip the skills by equipping a weapon or armor based upon the Class ID or the Actor's ID.
By the way, using 0 as an ID allows either any Class or any Actor to learn a given skill.
Go Equip Weapons or Armors or even Consume Items!
Version
1.2.0 of your favorite script allows you to learn skills at once not just by equipping anything but also by using items like scrolls or books or whatever you might come up with!
It also allows you to learn 1+ skills per equipment piece even while using the old Direct Method.
Just keep the following instructions in mind.
Code:
# EQUIP_CHECKS_LEARNING lists Actors that will begin with the :checks method.
# ITEM_CHECKS_LEARNING lists Actors that will begin with the :checks method.
# The rest of the Actors will use the :direct method, learning a single skill
# from the Weapon or Armor or Item.
Version 1.2.1 Has Been Released on VX!
VX Demo Updates:
The VX port no longer depends on too many Constants as the XP version. Now it uses custom note tags like the ones below.
Code:
# - Teach a Skill Immediately using Weapon or Armor or Item
# Leave a note tag like the following note:
# <equip skills 12 14 16>
# - Or Check if the Class ID or the Actor ID's list against your Notetag's
# Leave a note tag like the following note:
# <equip skills 2 5 classes 1 2>
# <equip skills 4 8 9 actors 3 6 9>
VX Demo has been updated!
The RMVX port now includes the same kind of Add-On the RMXP already had.
This means that in both installments you can use Pick Skill Items at will!

Yes, a new command menu will show up with a list of the skills that such an item can teach your hero, but he will only get one of them!
Now you can't say that I didn't give a chance to choose your favorite skills on your own!
Additionally, I have uploaded RB files, text files with a Ruby file extension, for the Full Versions and the Direct ones as well.
What do I mean with those Direct Versions?
That's very easy to explain!
They simply offer you the original features of my script plus an improvement. It's the ability to add not just one but several skills per weapon or armor piece. ONE skill per equipment is the bare minimum to make the script work properly.