You need to format it like in this comment. https://eeveeexpo.com/threads/3982/post-49253
Another issue with your quest data.I get this error when starting the game
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]
Error in Plugin: [Modern Quest System + UI]
Exception: SyntaxError
Message: [Modern Quest System + UI] 004_Quest_Data.rb:194: syntax error, unexpected symbol literal, expecting '}'
:Location1 => "Route 40",
^
[Modern Quest System + UI] 004_Quest_Data.rb:195: syntax error, unexpected string literal, expecting local variable or method
:Location2 => "Dolerite Town",
^
[Modern Quest System + UI] 004_Quest_Data.rb:195: syntax error, unexpected ',', expecting `end'
... :Location2 => "Dolerite Town",
... ^
[Modern Quest System + UI] 004_Quest_Data.rb:197: syntax error, unexpected string literal, expecting local variable or method
:QuestDescription => "As Erika fell asleep a Pokém...
^
[Modern Quest System + UI] 004_Quest_Data.rb:197: syntax error, unexpected ',', expecting `end'
...kémon told you to follow it.",
... ^
[Modern Quest System + UI] 004_Quest_Data.rb:199: syntax error, unexpected '}', expecting `end'
Backtrace:
008:PluginManager:653:in `eval'
008:PluginManager:653:in `block (2 levels) in runPlugins'
008:PluginManager:643:in `each'
008:PluginManager:643:in `block in runPlugins'
008:PluginManager:634:in `each'
008:PluginManager:634:in `runPlugins'
389:Main:28:in `mainFunctionDebug'
389:Main:18:in `block in mainFunction'
014:Errors:80:in `pbCriticalCode'
389:Main:18:in `mainFunction'
Show me your quest data.I'm not sure what it's talking about though.
I don't think that's the right data. The error you sent says the QuestDescription starts "As Erika fell asleep...".SyntaxEditor Code SnippetQuest16 = {
:ID => "16",
:Name => "Life against Death",
:QuestGiver => "Xerneas and Erika",
:Stage1 => "Enter the house that leads to the Dolerite Shaft.",
:Stage2 => "Proceed through the Dolerite Shaft to enter Death's Tomb.",
:Stage3 => "Make space in your party for Xerneas, then return to Death's Tomb",
:Stage4 => "Tell Erika that Yveltal is not longer threatening life.",
:Stage5 => "Check on Viridescent.",
:Location1 => "Dolerite Town",
:Location2 => "Dolerite Shaft",
:Location3 => "Death's Tomb I guess",
:Location4 => "Dolerite Shaft",
:Location5 => "Dolerite Town",
:QuestDescription => "After beating Erika, Yveltal began to escape it's tomb.",
:RewardString => "The safety of all living things."
}
Looks like you're missing a comma at the end of the Stage3 line.Oops.
This should be the right one.
Quest15 = {
:ID => "15",
:Name => "Encounter with a Legendary Pokémon",
:QuestGiver => "nil",
:Stage1 => "Follow the Pokémon.",
:Stage2 => "Ask Erika to join you and Xerneas in the plan to stop Yveltal.",
:Stage3 => "Battle Erika."
:Location1 => "Route 40",
:Location2 => "Dolerite Town",
:Location3 => "Dolerite Town",
:QuestDescription => "As Erika fell asleep a Pokémon told you to follow it.",
:RewardString => "nil"
}
Yes, that's possible. I think the easiest solution is to add a new field into 004_Quest_Data.rb that'sHey, me again after a long break! Anyway to update the quest's description as the stages progress? I might be dumb but I cant figure it out :P Feel like I can somehow add it to the script but I am clueless.
QuestDescriptionX
for StageX
. For example:Quest1 = {
:Stage1 => "A",
:QuestDescription1 => "B",
:Stage2 => "C",
:QuestDescription2 => "D"
}
def getQuestDescription
. Change the entire method to this:def getQuestDescription(quest,stage)
stg = ("QuestDescription" + "#{stage}").to_sym
return "#{QuestModule.const_get(quest)[stg]}"
end
QuestDescription
fields as there are stages. You could add a check for that if you wanted. questDesc = "<c2=#{colorQuest("blue")}>Overview:</c2> #{$quest_data.getQuestDescription(quest.id,quest.stage)}"
Most likely missing quotes and commas again. Share your quest data for this quest.I have more errors now that I finally have tried to load the game after a few weeks so there's a lot.
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]
Error in Plugin: [Modern Quest System + UI]
Exception: SyntaxError
Message: [Modern Quest System + UI] 004_Quest_Data.rb:251: syntax error, unexpected symbol literal, expecting '}'
:Location1 => "Astral Observat...
^
[Modern Quest System + UI] 004_Quest_Data.rb:252: syntax error, unexpected string literal, expecting local variable or method
:Location2 => "Astral Observations HQ",
^
[Modern Quest System + UI] 004_Quest_Data.rb:252: syntax error, unexpected ',', expecting `end'
...n2 => "Astral Observations HQ",
... ^
[Modern Quest System + UI] 004_Quest_Data.rb:254: syntax error, unexpected string literal, expecting local variable or method
:QuestDescription => "Now that Cos and Mog have evo...
^
[Modern Quest System + UI] 004_Quest_Data.rb:254: syntax error, unexpected ',', expecting `end'
...ved, Nagesh wants them back. ",
... ^
[Modern Quest System + UI] 004_Quest_Data.rb:256: syntax error, unexpected '}', expecting `end'
Backtrace:
008:PluginManager:653:in `eval'
008:PluginManager:653:in `block (2 levels) in runPlugins'
008:PluginManager:643:in `each'
008:PluginManager:643:in `block in runPlugins'
008:PluginManager:634:in `each'
008:PluginManager:634:in `runPlugins'
389:Main:28:in `mainFunctionDebug'
389:Main:18:in `block in mainFunction'
014:Errors:80:in `pbCriticalCode'
389:Main:18:in `mainFunction'
End of Stage4 line.SyntaxEditor Code SnippetQuest19 = {
:ID => "19",
:Name => "The Creatures of Light",
:QuestGiver => "Nagesh",
:Stage1 => "Return Cos and Moem to Nagesh.",
:Stage2 => "Don't return Cos and Moem and instead go to the basement.",
:Stage3 => "Tell Nagesh about what just happened to Cos and Moem.",
:Stage4 => "Use the teleporter in Nagesh's office to enter the Altar of Light."
:Location1 => "Astral Observations HQ",
:Location2 => "Astral Observations HQ",
:Location3 => "Astral Observations HQ",
:QuestDescription => "Now that Cos and Mog have evolved, Nagesh wants them back. ",
:RewardString => "nil"
}
I believe this is controlled when you activate the quest:Hi, I am currently editing the UI and I can't seem to find where to edit the quest name color
View attachment 15181
activateQuest(quest,color=colorQuest(nil),story=false)
activateQuest(:Quest1,colorQuest("white"))
colorQuest
method at the bottom of 001_Quest_Config.rb.