Hotfixes for update to v1.8.3/ Compatible with AKI 3.5.0

* Bots.json
* Insurance.json
* Traders.json
This commit is contained in:
Valens 2023-02-13 17:53:02 -05:00
parent 90db74d535
commit cc58998345
6 changed files with 20 additions and 20 deletions

View File

@ -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
}
},

View File

@ -7,7 +7,7 @@
"maxHr": 36,
"storageMaxHr": 96,
"priceCoef": 0.16,
"returnChance": 80
"returnChance": 75
},
"therapist":

View File

@ -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,

View File

@ -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",

View File

@ -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)
{

View File

@ -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;