diff --git a/config/bots.json b/config/bots.json index 1fb7ff5..8920347 100644 --- a/config/bots.json +++ b/config/bots.json @@ -21,7 +21,7 @@ "pmc": { - "chanceSameSideIsHostile": 50, + "chanceSameSideIsHostile": 80, "containersOnPMCs": true, "isUsec": 50, "lootNValue": 3, @@ -33,23 +33,23 @@ { "assault": { - "min": 15, - "max": 40 + "min": 20, + "max": 30 }, - "cursedAssault": - { - "min": 15, - "max": 40 - }, - "pmcBot": + "cursedassault": { "min": 15, "max": 30 }, - "exUsec": + "pmcbot": + { + "min": 15, + "max": 25 + }, + "exusec": { "min": 5, - "max": 20 + "max": 5 } }, diff --git a/config/insurance.json b/config/insurance.json index fb2b621..b1adc23 100644 --- a/config/insurance.json +++ b/config/insurance.json @@ -7,7 +7,7 @@ "maxHr": 36, "storageMaxHr": 96, "priceCoef": 0.16, - "returnChance": 80 + "returnChance": 75 }, "therapist": diff --git a/config/traders.json b/config/traders.json index 3599a51..f7eb837 100644 --- a/config/traders.json +++ b/config/traders.json @@ -58,10 +58,10 @@ "fence": { "partialRefreshTimeSeconds": 240, "partialRefreshChangePercent": 15, - "assortSize": 120, + "assortSize": 50, "maxPresetsPercent": 5, - "itemPriceMult": 1.2, - "presetPriceMult": 2.5, + "itemPriceMult": 0.8, + "presetPriceMult": 1.5, "regenerateAssortsOnRefresh": false, "itemTypeLimits": { "550aa4bf4bdc2dd6348b456b": 3, diff --git a/package.json b/package.json index 1cccd80..383cd1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Valens-AIO", - "version": "1.8.1", + "version": "1.8.2", "main": "src/mod.js", "license": "CC BY-NC-ND 4.0", "author": "Valens", diff --git a/src/bots.ts b/src/bots.ts index 2eacd39..59bfca6 100644 --- a/src/bots.ts +++ b/src/bots.ts @@ -109,7 +109,7 @@ export class Bots // Adjusts the chance for PMC to spawn instead of the default bot type if configured outside of the default values. if (this.modConfig.pmc.convertIntoPmcChance.assault.min != this.botConfig.pmc.convertIntoPmcChance.assault.min || this.modConfig.pmc.convertIntoPmcChance.assault.max != this.botConfig.pmc.convertIntoPmcChance.assault.max - || this.modConfig.pmc.convertIntoPmcChance.cursedAssault.min != this.botConfig.pmc.convertIntoPmcChance.cursedAssault.min || this.modConfig.pmc.convertIntoPmcChance.cursedAssault.max != this.botConfig.pmc.convertIntoPmcChance.cursedAssault.max + || this.modConfig.pmc.convertIntoPmcChance.cursedassault.min != this.botConfig.pmc.convertIntoPmcChance.cursedassault.min || this.modConfig.pmc.convertIntoPmcChance.cursedassault.max != this.botConfig.pmc.convertIntoPmcChance.cursedassault.max || this.modConfig.pmc.convertIntoPmcChance.pmcBot.min != this.botConfig.pmc.convertIntoPmcChance.pmcBot.min || this.modConfig.pmc.convertIntoPmcChance.pmcBot.max != this.botConfig.pmc.convertIntoPmcChance.pmcBot.max || this.modConfig.pmc.convertIntoPmcChance.exUsec.min != this.botConfig.pmc.convertIntoPmcChance.exUsec.min || this.modConfig.pmc.convertIntoPmcChance.exUsec.max != this.botConfig.pmc.convertIntoPmcChance.exUsec.max) { diff --git a/src/traders.ts b/src/traders.ts index f4602a6..574a9af 100644 --- a/src/traders.ts +++ b/src/traders.ts @@ -86,10 +86,10 @@ export class Traders trader.partialRefreshTimeSeconds = mod.partialRefreshTimeSeconds; trader.partialRefreshChangePercent = mod.partialRefreshChangePercent; - trader.assortSize = mod.assortSize; + trader.discountOptions.assortSize = mod.assortSize; trader.maxPresetsPercent = mod.maxPresetsPercent; - trader.itemPriceMult = mod.itemPriceMult; - trader.presetPriceMult = mod.presetPriceMult; + trader.discountOptions.itemPriceMult = mod.itemPriceMult; + trader.discountOptions.presetPriceMult = mod.presetPriceMult; trader.regenerateAssortsOnRefresh = mod.regenerateAssortsOnRefresh; trader.itemTypeLimits = mod.itemTypeLimits; trader.presetMaxDurabilityPercentMinMax = mod.presetMaxDurabilityPercentMinMax;