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": "pmc":
{ {
"chanceSameSideIsHostile": 50, "chanceSameSideIsHostile": 80,
"containersOnPMCs": true, "containersOnPMCs": true,
"isUsec": 50, "isUsec": 50,
"lootNValue": 3, "lootNValue": 3,
@ -33,23 +33,23 @@
{ {
"assault": "assault":
{ {
"min": 15, "min": 20,
"max": 40 "max": 30
}, },
"cursedAssault": "cursedassault":
{
"min": 15,
"max": 40
},
"pmcBot":
{ {
"min": 15, "min": 15,
"max": 30 "max": 30
}, },
"exUsec": "pmcbot":
{
"min": 15,
"max": 25
},
"exusec":
{ {
"min": 5, "min": 5,
"max": 20 "max": 5
} }
}, },

View File

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

View File

@ -58,10 +58,10 @@
"fence": { "fence": {
"partialRefreshTimeSeconds": 240, "partialRefreshTimeSeconds": 240,
"partialRefreshChangePercent": 15, "partialRefreshChangePercent": 15,
"assortSize": 120, "assortSize": 50,
"maxPresetsPercent": 5, "maxPresetsPercent": 5,
"itemPriceMult": 1.2, "itemPriceMult": 0.8,
"presetPriceMult": 2.5, "presetPriceMult": 1.5,
"regenerateAssortsOnRefresh": false, "regenerateAssortsOnRefresh": false,
"itemTypeLimits": { "itemTypeLimits": {
"550aa4bf4bdc2dd6348b456b": 3, "550aa4bf4bdc2dd6348b456b": 3,

View File

@ -1,6 +1,6 @@
{ {
"name": "Valens-AIO", "name": "Valens-AIO",
"version": "1.8.1", "version": "1.8.2",
"main": "src/mod.js", "main": "src/mod.js",
"license": "CC BY-NC-ND 4.0", "license": "CC BY-NC-ND 4.0",
"author": "Valens", "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. // 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 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.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) || 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.partialRefreshTimeSeconds = mod.partialRefreshTimeSeconds;
trader.partialRefreshChangePercent = mod.partialRefreshChangePercent; trader.partialRefreshChangePercent = mod.partialRefreshChangePercent;
trader.assortSize = mod.assortSize; trader.discountOptions.assortSize = mod.assortSize;
trader.maxPresetsPercent = mod.maxPresetsPercent; trader.maxPresetsPercent = mod.maxPresetsPercent;
trader.itemPriceMult = mod.itemPriceMult; trader.discountOptions.itemPriceMult = mod.itemPriceMult;
trader.presetPriceMult = mod.presetPriceMult; trader.discountOptions.presetPriceMult = mod.presetPriceMult;
trader.regenerateAssortsOnRefresh = mod.regenerateAssortsOnRefresh; trader.regenerateAssortsOnRefresh = mod.regenerateAssortsOnRefresh;
trader.itemTypeLimits = mod.itemTypeLimits; trader.itemTypeLimits = mod.itemTypeLimits;
trader.presetMaxDurabilityPercentMinMax = mod.presetMaxDurabilityPercentMinMax; trader.presetMaxDurabilityPercentMinMax = mod.presetMaxDurabilityPercentMinMax;