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

Update Progression.lua #58

Closed RandoRuda closed 9 months ago

RandoRuda commented 9 months ago

Wizard Progression UUIDs

NellsRelo commented 9 months ago

Might be good to leverage setupClassLevelEntry, with a few tweaks to the function, since we're changing the structure a bit:

local function setupClassLevelEntry(progression, mc_progression)
    local levels = {}
    levels.Progression = progression
    if mc_progression ~= nil then
        levels.MulticlassProgression = mc_progression
    end

    return levels
end

And then with that, just pass the relevant UUID values into the function, rather than defining them as strings