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

Made Edits to a Character Art from 'Hibiki Katakura MV Monsters' (DLC), to Look More like One of My Own Characters. :LZScheeze:

Decided to retake an old concept I was working on long ago, first change I decided to tackle on right away is the sprites. Never been fan of the default chibis, so I edited it a bit... :kaoswt:
8YavqRj.png

Not sure if this will be the final take, but I like it more than the regular one.
Need a few testers for my new plugin, any takers?
Good night (or day) to everyone! :smile:
You thought kids rooms were messy. Look at this.

Forum statistics

Threads
118,529
Messages
1,116,689
Members
155,554
Latest member
_gauntlet_
Top