I don't understand the error...

Hello everyone.

I am trying to add a new quest and get the following error message:
1734231369686.png


It says the error is on line 152, I have it here:

1734231352873.png


My problem is, I don't understand what causes the problem. QuestID003 works perfectly fine, and I did everything the same way. What causes that error?

Here some screenshots, on everything associated with quest 004:
1734231501931.png
1734231525975.png
1734231572153.png
1734231614747.png


Thank you very much in advance!
Not good with Ruby myself, but maybe this will push you into the right direction. Hope it helps!

I found this


tassoc is the =>

and \n is a new line character.

For the second :item on 152, is the syntax correct? Is there anything on the next line that should connect in a different way?

There's also a comma at the end of 149, is that supposed to be there? Just wondering because if not it could be throwing things off.
Not good with Ruby myself, but maybe this will push you into the right direction. Hope it helps!

I found this


tassoc is the =>

and \n is a new line character.

For the second :item on 152, is the syntax correct? Is there anything on the next line that should connect in a different way?

There's also a comma at the end of 149, is that supposed to be there? Just wondering because if not it could be throwing things off.
Thank you, this helped me move a step further (I don't know how I deleted that } at line 149 but oh well.

EDIT: Nevermind I found the mistake, I had a sample quest left as 004 in the script.

Everything got resolved, thank you very much @Japhasca
Welcome! Sometimes it's just a second pair of eyes you need 🙂

Original thread: https://forums.rpgmakerweb.com/threads/i-dont-understand-the-error.173917/