Posts by ad351k

    trap added a new version:

    hi, i noticed that the ragfair availability config (found in NarcoticsConfig) doesn't work. i did a little bodge that can fix it - it's probably badly written and could use some love (like keeping original level requirement when in correct stash), but it works to lock/unlock ragfair as you travel from stash to stash:

    SPTAKI/user/mods/Trap-PathToTarkov/src/traders-controller.js, line 159

    Code
    if(traderId == 'ragfair') {
        if (allUnlocked
        || (0, helpers_1.checkAccessVia)(tradersConfig[traderId].access_via, offraidPosition)) {
            this.db.getTables().globals.config.RagFair.minUserLevel = 1;
        } else {
            this.db.getTables().globals.config.RagFair.minUserLevel = 99;
        }
    } else {
    // (original code here)

    edit: there may be missing initial lock of ragfair, i have SVM ragfair level requirement set to lvl99, so if ragfair config is missing this bodge won't ragfair lock