RMMV Yanfly Quest System question

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?
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?
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?
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
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.
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 😛
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 😛
The thing is - I need a stable solution for that, since almost every quest will be this way.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-yanfly-quest-system-question.121722/