Kirby44

Veteran
Veteran
Joined
Mar 6, 2017
Messages
143
Reaction score
20
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
143
Reaction score
20
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
9
Reaction score
2
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

WOOP WOOP!
NEW CHARACTER ALERT!!!
Please, welcome to the stage...
Ramona Albright.png

Ramona Albright! A 20-year old World Key Guardian in training (More about the WKG's soon!), She is very impulsive, which leads us to the problem of the game. OOF. Kinda wanna wait till you know how to use the friggin World Key, huh?!
Bust sketch here!
IMG_20220124_110105.jpg
Little-by-little, keep improving your projects. That's how you finish them! ;)
Now it's official: My first RPG Maker game released on Steam will be released this year! I am so glad for this achievement and I am so happy to see a lot of gamedevs like me here working on what we love!
Mais informações no Post.png
Check out my MZ thread for 2 new waterplant edits and my MZVind water autotiles now without ground/cliffs, so you can put them on your own ground-tiles. Have fun!
It's for side-extra content. :kaophew:

Forum statistics

Threads
118,663
Messages
1,117,678
Members
155,770
Latest member
alvezeno
Top