BG3-Community-Library-Team / BG3-Compatibility-Framework

An API-based Driven Compatibility Framework for Baldur's Gate 3 Mods
MIT License
38 stars 13 forks source link

CF not parsing my json file #98

Closed arnaudpourbaix closed 6 months ago

arnaudpourbaix commented 6 months ago

I'm new to CF and I have followed wiki with Json file. I have created a CompatibilityFrameworkConfig.json file in my mod with this content:

{
    "FileVersion": 1,
    "Progressions": [
        {
            "UUID": "dbde4d66-d3e4-4c3f-ae87-fd6e2d1cd276",
            "Strings": [
                {
                    "Action": "Remove",
                    "Type": "PassivesRemoved",
                    "Strings": [ "HumanMilitia", "HumanVersatility"]
                }
            ]
        }
    ]
}

My mod order: image

I should not have HumanMilitia and HumanVersatility on human race, but they still appears. Does CF produces logs about what it does ? How to find them ? Or a simple log when CF is reading a mod CompatibilityFrameworkConfig file.

arnaudpourbaix commented 6 months ago

Update: I have looked more closely and in fact, some other changes are working fine, just not passive removal. After digging up, I saw I had an error, it is PassivesAdded, not PassivesRemoved.

It works fine then, sorry.

RandoRuda commented 6 months ago

It's one of the common mistakes and easy to miss since you're removing an addition.