Kirby44

Veteran
Veteran
Joined
Mar 6, 2017
Messages
145
Reaction score
21
First Language
french
Primarily Uses
RMMV
Hi

I'm using this plugin by Yami to open a Skill Shop window where the party can buy Skills.

I prefer this plugin over Yanfly's one, because YEP's SkillShop plugins opens a separate shop for each party member, YED's one opens the shop for the whole party, and that's what I want

However, there's a thing bugging me. When selecting an actor, it lists every available skill, even these that can't be learned by the selected actor. This results in a list that is too big and confusing.

1638375633080.png

In this screenshot, we might think that Leon can learn "Ice" and that it costs 500g to learn it. But actually, he can't learn that skill (another actor in the party can). That's why the skill is grayed out.

Instead of disabling it, is there a way to just hide skills that a selected actor can't learn ?

More information about the matter :

The skillshop plugin allows to set learning requirement via notetags. Each skill in the shop has this notetag in them :


Code:
<Buy Custom Require>

actor._actorId === X

</Buy Custom Require>
Where X is the ID of the actor who can learn the skill.
 
Last edited:

Kirby44

Veteran
Veteran
Joined
Mar 6, 2017
Messages
145
Reaction score
21
First Language
french
Primarily Uses
RMMV
I'm bumping this, I tried to look into the code, but I can't find the line where I can set a condition for a skill to be shown in the skill list
 
Joined
Dec 12, 2021
Messages
10
Reaction score
3
First Language
english
Primarily Uses
RMMV
Hmm if you have yanfly Skillcore you can use the following and put in your notetag in skills for said skills. it should work in theory



<Custom Show Eval>

if ($gameActors.actor(actorId)) {

visible = true;

} else {

visible = false;

}

</Custom Show Eval>
 

Latest Threads

Latest Posts

Latest Profile Posts

Newbie, please be gentle
reworkMZ.png
To keep myself motivated to make the MZ SF tiles normal and usable modern tiles I like to make tiny maps and toggle between the options :3
Character selection in games be like
Special Tractor Operation! :kaojoy:
Current status screens for Shadows of the Earth: The Vrila'an Legend. Need to do something about the color scheme lol
Captura de pantalla (259).pngCaptura de pantalla (260).png

Forum statistics

Threads
122,083
Messages
1,146,338
Members
160,368
Latest member
slotgacorunsurtoto
Top