KItemTeachSkill XP

KItemTeachSkill XP

by Kyonides
​

Introduction

This script will let you teach a Skill to a Hero by consuming an Item!
There are a couple of caveats to keep in mind.
If the item has the FAILURE_ELEM_ID included in its Element Set, the Hero won't learn the Skill!
Or might learn some USELESS_SKILLS instead.
It is also possible to get a Predefined Item as a Byproduct!
You can limit the number of Heroes that can learn that specific Skill, too.

Add a Skill to SKILL_FOR_ACTORS Constant
Ruby:
#   - Learn the Skill - For Everybody!
# [ItemID1] = [SkillID1]
#   - Learn the Skill Depending on 1 or more ActorID's
# [ItemID2] = [SkillID2. nil, nil, ActorID1, etc.]
#   - Learn the Skill, Earn an Item, Depending on 1 or more ActorID's
# [ItemID3] = [SkillID3, :item, ItemID1, ActorID1, etc.]
#   - Learn the Skill, Check a State, Depending on 1 or more ActorID's
# [ItemID4] = [SkillID4, :state, StateID1, ActorID1, etc.]


Terms & Conditions

Free for use in any game as long as you don't mess with this badass! 😛
Due credit is mandatory.
Tell the blue squirrel and the raven haired elf that there's no more coffee left at the stores. 😛
That's it! 😀
Small Update!​

From now on, the teaching script also allows you to learn those skills based on a given state! 😮
Important Update!​

The script now allows you to reverse the process by forgetting the skill and sending the item back to the party.

If you ever need to change the labels displayed on screen, you can go to the KItemTeach module and change the strings or symbol of the 5 first CONSTANTS you'll find right there.

It also includes a bug fix that makes sure you'll get the corresponding byproduct, an item, for consuming the original item as first intended.

Spoiler: 2 Screenshots
kitemteachskill_xp01.jpg

kitemteachskill_xp02.jpg

Original thread: https://forums.rpgmakerweb.com/threads/kitemteachskill-xp.158658/