Anyone can help me with Perks Plugin

I try to use perks system on my project. But I'm not use actor parameter as requirement, I change the requirement with variable or swith requirement.


The question is, the requirement always show a text "secret" and not showing the variable name and value. Just like this.

Spoiler
11ghked.jpg



And this is my notetag setup


<perk>


<name: test>


<requirements>


variable: 1 == 5


</requirements>


<rewards>


state: 11


</rewards>


<description>


Just testing


</perk>


Am I do something wrong? Because I already do everything listed on help page.


And for people willing to help me, the plugin is posted in this page





I hope anyone can help me with this because if true we can expand switch and variable use for this plugin perfectly (like show the requirements text) it's like every perks on skyrim or fallout will possible to implement in our project, like bribe perks, communication with NPC perks, etc.
I've looked through the script code, and the "Req: Secret" is hard coded.


You'll get this when you use variables or switches.


And it makes sense, at least for me.


'Cause it would look kind of weird to have something like "SlimeKills == 5" in there, don't you think?
I've looked through the script code, and the "Req: Secret" is hard coded.


You'll get this when you use variables or switches.


And it makes sense, at least for me.


'Cause it would look kind of weird to have something like "SlimeKills == 5" in there, don't you think?



Thanks for the reply,


Is there any way I can write the requirements with the only show text notetag? just like the description tag.


Oh that's make sense but if we can change the "secret" text to give a hint to our player it will be a good implementation.
Thanks for the reply,


Is there any way I can write the requirements with the only show text notetag? just like the description tag.


Oh that's make sense but if we can change the "secret" text to give a hint to our player it will be a good implementation.



It's not possible with the current state of the plugin.


But you could suggest this to the creater of this plugin.


You also could write the hints in the description tag.
It's not possible with the current state of the plugin.


But you could suggest this to the creater of this plugin.


You also could write the hints in the description tag.



Oh thanks, yes he still not reply my comment at his topic.


Oh it's a nice sugestion, I can just make a trash stats requirement to wipe out the "secrets" text


and then re-write my variable or switch hints on the description tag.


Thanks bro ^^
Oh it's a nice sugestion, I can just make a trash stats requirement to wipe out the "secrets" text


and then re-write my variable or switch hints on the description tag.



That would'nt work.


'Cause it uses the <requirements> tag to determine if you can get the perk.


If you don't use the variable/switch as a requirement, your characters can't get the perk when the condition of the variable/switch is met.
That would'nt work.


'Cause it uses the <requirements> tag to determine if you can get the perk.


If you don't use the variable/switch as a requirement, your characters can't get the perk when the condition of the variable/switch is met.



yes, but how if we make stats requirement as low as possible like atk: 3, every player will easily take this. And then they read the description below, "you also need variable x: >= 150" they will said, oh , now I must grind for this variable value to unlock this perks. How about that?
If you only can use the perk when atk is at least 3 and variable x >= 150, you have to use the variable in the requirements tag, too.


The req text would then look like this: "ATK 3, Secret".


There is no way around that "Secret" in the req line when you want to use variables.


You have to be creative in case of the hints.


I'll make an example.


Let's say I have a perk that increases ATK by 30. The requirement for that would be killing at least 36 Slimes.


In the menu you'll only see "Secret" as requirement.


In the description, you'll see this:

Code:
You conquered a few dozens Slimes and survived.
You've got stronger through those encounters and gain +30 ATK.
If you only can use the perk when atk is at least 3 and variable x >= 150, you have to use the variable in the requirements tag, too.


The req text would then look like this: "ATK 3, Secret".


There is no way around that "Secret" in the req line when you want to use variables.


You have to be creative in case of the hints.


I'll make an example.


Let's say I have a perk that increases ATK by 30. The requirement for that would be killing at least 36 Slimes.


In the menu you'll only see "Secret" as requirement.


In the description, you'll see this:



You conquered a few dozens Slimes and survived.
You've got stronger through those encounters and gain +30 ATK.



Oh my, so that would not remove the "secrets" text as well.


oh yeah that's nice idea. It's look like I must accept that secrets text as well and try to bring attractive word to make the player curious about the requirement grinding.

Original thread: https://forums.rpgmakerweb.com/threads/anyone-can-help-me-with-perks-plugin.55606/