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
Codeif(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
locked flea is just not implemented in PTT at this moment, the NarcoticsConfig config is an old one an have some old fields still in it (from PTTR)
By the way, the code you suggested won't be fika friendly (since the db is mutated globally for every player)