New WIP feature
Prevent mastering Fence option (avoiding getting scavs karma bonuses)
This commit is contained in:
parent
0abe190363
commit
b11c33ea8c
@ -76,6 +76,7 @@
|
||||
},
|
||||
"MaxInsuranceStorageTime": false,
|
||||
"AllTraders4Stars": false,
|
||||
"PreventFenceMastering": true,
|
||||
"Remove FIR condition on quests": false
|
||||
},
|
||||
"raids": {
|
||||
|
@ -104,6 +104,11 @@ class TradersModifications {
|
||||
}
|
||||
|
||||
function lvlUp(traderID, sessionID) {
|
||||
if (config.traders.PreventFenceMastering === true) {
|
||||
if (traderID === "579dc571d53a0658a154fbec") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
let pmcData = ProfileController.getPmcProfile(sessionID);
|
||||
let loyaltyLevels = DatabaseServer.tables.traders[traderID].base.loyalty.loyaltyLevels;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user