KItemTeachSkill ACE

KItemTeachSkill ACE

by Kyonides
​

Introduction

I know very well that VX ACE allows you to consume an item and automatically teach the target hero some skill. That's what has inspired me to look for a way to limit that ability to only allow certain actors or classes learn such an useful skill.

Leave a Note in the Item's Note Box for specific Actors:
_teach skill actors 1_
_teach skill actors 20 45_


Leave a Note in the Item's Note Box for specific Classes:
_teach skill classes 1_
_teach skill classes 4 17_


Leave a Note in the Item's Note Box for specific States:
_teach skill states 1_
_teach skill states 4 17_


Obviously, you can add as many actors or classes as deemed necessary.


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 Maintenance Update​

While I was working on porting the script to another engine, I made a little mistake and only used a regex that could just catch a single number.

Now it has been fixed. The current version catches as many Actor or Class ID's as initially promised.
Really cool script!
I was wondering if there could be an additional confirmation message for the Actor/Class who can learn a skill and for the Actor/Class who cannot.

For example:
if an Actor/Class is capable of learning a skill, there should at least be a Yes/No Confirmation message before you use the ItemTeachSkill on the Actor. Otherwise the player can waste a potentially rare and powerful ItemTeachSkill accidentally.

I can imagine players going to say, "OMG! I have accidentally used the rare ItemTeachSkill on the incorrect Actor! Now how am I supposed to beat the Final Boss?"
GameDevs need to futureproof their games by adding in a ['Do you want to teach this skill?' + Yes/No Confirmation message] before player uses the ItemTeachSkill on the Actor.
Conversely,
if an Actor/Class cannot learn a skill, a message should appear stating that [This "Actor/Class" cannot learn this skill] instead of just an unhelpful and irritating buzzer SE.
A buzzer SE is fun for sure! 😛
I'll consider it but right now I'm busy with some real life issues.
“Life is serious but art is fun!”
― John Irving
I'll be waiting.
Small Update!​

From now on, the teaching script also allows you to learn those skills based on a given state! 😮
Could I humbly expect an update to this script in the demo with two modifications:

i) if an Actor/Class is capable of learning a skill, there should at least be a Yes/No Confirmation message before you use the ItemTeachSkill on the Actor.

ii) if an Actor/Class cannot learn a skill, a message should appear stating that [This "Actor/Class" cannot learn this skill].
1. & 2. Too disruptive & even unnecessary. There gotta be another way to tell the player who can learn it and who can't. Plus you could warn the player beforehand that they should pick the right skill for the right hero because the player will only get one chance to use that scroll or item.

Minor Update & Bug Fix​

I modified the Window_MenuActor class to make it clear who can learn the skill and who can't!
Besides, I had also managed to smash a bug that made the game fail to display that menu window on screen.
1. & 2. Too disruptive & even unnecessary. There gotta be another way to tell the player who can learn it and who can't. Plus you could warn the player beforehand that they should pick the right skill for the right hero because the player will only get one chance to use that scroll or item.
Well then I guess then the players have to READ far more walls of expositional text than they bargained for...
Spoiler: *politically incorrect statement goes here*
... no newbie player convenience and old schoolers want it their old school way... no wonder 2D - RPGs have a bad rep these days...
I don't like the way you keep whining over spilled milk but what if I eventually choose to craft a skill item log to keep track of such items? There's a chance I could also add a reversal feature... Just saying.

EDIT: Something like the new scene you can see below. And yes, I've updated the demo once again.

kitemteachskill_ace01.jpg
I'll have to hand it to you, you are a genius!
This is probably a more elegant way of displaying data to the player. Thank you kyonides!

Spoiler: P.S.
The reversal feature is a really good idea! It will save the player from making any major mistakes by accident. The game's plot can only make room for only ONE macguffin per game, so a simple UNLEARN feature would allow the player to recover the TeachSkill Item back for use on another Actor.
Spoiler: P.S.
You really are a genius! Thanks in advance!
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 of the 3 first CONSTANTS you'll find right there.

kitemteachskill_ace02.jpg

Original thread: https://forums.rpgmakerweb.com/threads/kitemteachskill-ace.158651/