Kirby44

Veteran
Veteran
Joined
Mar 6, 2017
Messages
159
Reaction score
24
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
159
Reaction score
24
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



I am curious that can you "understand/get the point" about what does this place do generally?
(ARPG game)
If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.
ChillingAtTavern.png

After 'multiple breakdowns', it's finally over. 10/10 will do this again.
Ever notice that villains can reform and become better people, but heroes can only ever die... or live long enough to see themselves become villains?

Isn't that interesting?
xabileug wrote on Kaelan's profile.
Will you be back?

Forum statistics

Threads
129,844
Messages
1,205,657
Members
170,998
Latest member
Jack125gamer
Top