RMMV Yanfly Quest System question

Peter_Snayde

Villager
Member
Joined
Jan 22, 2019
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMVXA
Hello.

I have question about Yanfly Quest System.
There are plugin command "Quest x Change Description Entry To y", which suppose to change a description completely. Is there a way to just add text to description, instead of changing it completely?
 

olddelo

Villager
Member
Joined
May 17, 2020
Messages
15
Reaction score
8
First Language
english
Primarily Uses
RMMV
Hello.

I have question about Yanfly Quest System.
There are plugin command "Quest x Change Description Entry To y", which suppose to change a description completely. Is there a way to just add text to description, instead of changing it completely?
When you, for example, plugin command Quest 2 Change Description Entry To 4, you change the active description whatever it currently is (defaults to 1) to whatever is in description slot 4 for that quest, so if you want to add something and keep the first part (as in display both description 1 AND 4 in this example) youll just want to copy paste description 1 into description 4 and then type what you want to add to it

hope that helps?
 

Peter_Snayde

Villager
Member
Joined
Jan 22, 2019
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMVXA
When you, for example, plugin command Quest 2 Change Description Entry To 4, you change the active description whatever it currently is (defaults to 1) to whatever is in description slot 4 for that quest, so if you want to add something and keep the first part (as in display both description 1 AND 4 in this example) youll just want to copy paste description 1 into description 4 and then type what you want to add to it

hope that helps?
That's the opposite from I what I need. The thing is - I have some parts, that can be revealed, or may stay hidden from player, in case if he didn't discovered some events.
For example:
We have basic description "X", and additional descriptions "A", "B" and "C" that can be revealed or cannot.
In current state of how it works I need to make the whole bunch of combinations as a separate descriptions:
XA, XB, XC, XAB, XAC, XB, XBC, XBAC..... and so on.... which is very unwanted for me, because some of my quests contain more than 3 such additional descriptions. So the question is can it be made as X+A+B+any other?
 

olddelo

Villager
Member
Joined
May 17, 2020
Messages
15
Reaction score
8
First Language
english
Primarily Uses
RMMV
I can only think of less than clean ways to basically fake the result you're looking for (rearranging how the plugin displays certain info to make it SEEM like you have more descriptions and such)
I'm pretty convinced there isn't a proper solution without digging into the plugin itself and rewriting bits

my best "dirty" fix would be to pick something i have control over and don't use and put it in with the description (like move the subtext display into the description area and then you have 2 tiers you can use, or best by far is, if you dont use the reward portion, you can show/hide rewards as you wish, but display them as description (so now you have as many as you want and they work like objectives) if you do it that way you can move subtext to the rewards section to keep displaying rewards but have less control over that section)

like i said, suuuper dirty fix, but im convinced you can't do much better without dipping into the plugins code
 
Last edited:

Peter_Snayde

Villager
Member
Joined
Jan 22, 2019
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMVXA
I can only think of less than clean ways to basically fake the result you're looking for (rearranging how the plugin displays certain info to make it SEEM like you have more descriptions and such)
I'm pretty convinced there isn't a proper solution without digging into the plugin itself and rewriting bits

my best "dirty" fix would be to pick something i have control over and don't use and put it in with the description (like move the subtext display into the description area and then you have 2 tiers you can use, or best by far is, if you dont use the reward portion, you can show/hide rewards as you wish, but display them as description (so now you have as many as you want and they work like objectives) if you do it that way you can move subtext to the rewards section to keep displaying rewards but have less control over that section)

like i said, suuuper dirty fix, but im convinced you can't do much better without dipping into the plugins code
Thank You! I'll try this solution.
 

Mrs_Allykat

Failsauce
Veteran
Joined
Oct 13, 2017
Messages
546
Reaction score
2,194
First Language
English
Primarily Uses
RMMV
If you're comfortable with Javascript, pick up Yanfly's Script Call Plugin Commands plugin. This will let you build your update with custom text added to the quest description. So, I'm going to make an example here that your quest is #30, and the added text is, " Too bad the party came up empty, now they have to investigate elsewhere."

First, you'll have to use the script commands, since you'll have to build your statement for the Script Call Plugin.
Code:
var CurrentDescription = $gameSystem.getQuestDescriptionIndex(30);
var UpdateDesc = '<br>Too bad the party came up empty, now they have to investigate elsewhere.';
var NewDesc = CurrentDescription + UpdateDesc;
var update = 'Quest 30 Change Description Entry To \"' + NewDesc + '\"';

CallPluginCommand(update);
I'm sure there is a way to build a common event around this, but it's too early for my head to be on straight. Also, I may not have it exactly right (I just woke up). The JS for getting the quest journal description is already in that plugin, so you just add the text to it and use the Script Call Plugin to make it happen.

If you need to be able to do this for a few quests, this should be fine. If you have a large number of quests, it would get unmanageable really quickly.

edit: I forgot to escape the quotes for this. Fixed.
edit 2: Keep in mind that this is a quick and dirty answer, so, please, take it with a grain of salt. I've not used the quest journal lately and am rusty with the commands :p
 
Last edited:

Peter_Snayde

Villager
Member
Joined
Jan 22, 2019
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMVXA
If you're comfortable with Javascript, pick up Yanfly's Script Call Plugin Commands plugin. This will let you build your update with custom text added to the quest description. So, I'm going to make an example here that your quest is #30, and the added text is, " Too bad the party came up empty, now they have to investigate elsewhere."

First, you'll have to use the script commands, since you'll have to build your statement for the Script Call Plugin.
Code:
var CurrentDescription = $gameSystem.getQuestDescriptionIndex(30);
var UpdateDesc = '<br>Too bad the party came up empty, now they have to investigate elsewhere.';
var NewDesc = CurrentDescription + UpdateDesc;
var update = 'Quest 30 Change Description Entry To \"' + NewDesc + '\"';

CallPluginCommand(update);
I'm sure there is a way to build a common event around this, but it's too early for my head to be on straight. Also, I may not have it exactly right (I just woke up). The JS for getting the quest journal description is already in that plugin, so you just add the text to it and use the Script Call Plugin to make it happen.

If you need to be able to do this for a few quests, this should be fine. If you have a large number of quests, it would get unmanageable really quickly.

edit: I forgot to escape the quotes for this. Fixed.
edit 2: Keep in mind that this is a quick and dirty answer, so, please, take it with a grain of salt. I've not used the quest journal lately and am rusty with the commands :p
The thing is - I need a stable solution for that, since almost every quest will be this way.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top