Marin-MK / RPG-Studio-MK

Cross-platform game creation program
GNU General Public License v3.0
21 stars 0 forks source link

The value "GENTLE" is invalid. It must be one of [..., "Gentle"...]. #50

Closed DerxwnaKapsyla closed 1 year ago

DerxwnaKapsyla commented 1 year ago

DiEqy2s

Marin-MK commented 1 year ago

It needs to be Gentle. It's case-sensitive currently.

DerxwnaKapsyla commented 1 year ago

I'm trying to find where it needs to be changed in my project, but the only places where the term GENTLE is being used that was by my hand is in trainers.txt, however by altering it there I make it so the game no longer compiles in RPG Maker XP. Is there something I'm overlooking or forgetting?

Marin-MK commented 1 year ago

Must be that old versions of Essentials used capitalized natures then. You could update hardcoded_data.json yourself, or wait a few releases until the hardcoded data system is reworked.

Maruno17 commented 1 year ago

Which version of Essentials do you think you're using?

DerxwnaKapsyla commented 1 year ago

In my case, at the very least, I am using v21.1, with the latest hotfixes applied. So, this has me confused as well too.

Marin-MK commented 1 year ago

Then perhaps it's PBS from an old version of Essentials, but the v21.1 compiler is compatible with uppercase values?

DerxwnaKapsyla commented 1 year ago

I'm pretty sure it always has been... Like I mentioned, when I changed it to lowercase to test, it threw up an error saying that "Gentle" wasn't a valid nature.

Marin-MK commented 1 year ago

I will look into it further in that case.

Marin-MK commented 1 year ago

Natures have always been capitalized, at least they were in v17 and v21, so the nature data in hardcoded_data.json was wrong. This is what it should be:

    "natures": [
        "HARDY",
        "LONELY",
        "BRAVE",
        "ADAMANT",
        "NAUGHTY",
        "BOLD",
        "DOCILE",
        "RELAXED",
        "IMPISH",
        "LAX",
        "TIMID",
        "HASTY",
        "SERIOUS",
        "JOLLY",
        "NAIVE",
        "MODEST",
        "MILD",
        "QUIET",
        "BASHFUL",
        "RASH",
        "CALM",
        "GENTLE",
        "SASSY",
        "CAREFUL",
        "QUIRKY"
    ],