Gonna necro an old unsolved issue with Yami Equipment Learning

Here's the thread.

http://forums.rpgmakerweb.com/index.php?/topic/6799-equipment-learning/

Specifically looking at ekomega's reply/question.

When you select “Learn Skill” (or whatever you name the :command_learning) from the Equip menu, it toggles the little window on the right between Stats and Available Skills. If you leave the window toggled on Available Skills and then go to Equip, it lists the skills on the equipment you have equipped, which you can learn from the notetags on the equipment. But then if you go back to “Learn Skill”, the list is empty. So it only shows the skills in Available Skills for a particular equipment when a particular equipment is highlighted. But not all of the available skills you can learn from all of your equips.Is that how it’s supposed to work? I think it would be great to show all of the skills from all the equipment you have equipped when you highlight Available Skills, and when you choose to equip a particular item, it should only show the skills from that item.I decided myself in trying this script for my own use and I noticed the same issue, and it seems nobody ever posted a solution. I spent hours tinkering with the script and I can't come up with anything either.

For the sake of many people, as well as myself, does anyone want to take a crack at it?  I'll PM Yami as well to see what he can do.

Edit1: From my understand of how the script works, being that Window_EquipLearning is based off Window_Selectable, it calls the functions that grab's an equipment's data for AP skills only during the time of create_contents from Window_EquipSlot. There are two handlers being used, both setting @equip = nil to empty out Window_EquipLearning upon either on_item_cancel and on_actor_change. Basically two things are needed here:

  1. An array of some sort that holds all currently-learning skills from equipments. (hard part)
  2. Having this array refreshed for the current actor through def initialize from Window_EquipLearning (easy part?)

Original thread: https://forums.rpgmakerweb.com/threads/gonna-necro-an-old-unsolved-issue-with-yami-equipment-learning.19370/