I just fixed two small bugs I've encountered using the mod with 3.8.3
Line 1557-1575: (fixes insurance to do exactly what it says)
Code
if (config.InsuranceChanges.enabled) {
// Redo insurance. Prapor in an instant return with 50% chance, costs 10% of item value, Therapist has 2 hour return with 80% chance, costs 20%.
try {
prapor.base.insurance.min_return_hour = 0;
prapor.base.insurance.max_return_hour = 0;
prapor.base.insurance.max_storage_time = 720;
therapist.base.insurance.min_return_hour = 2;
therapist.base.insurance.max_return_hour = 2;
therapist.base.insurance.max_storage_time = 720;
insuranceConfig.insuranceMultiplier["54cb50c76803fa8b248b4571"] = 0.10;
insuranceConfig.insuranceMultiplier["54cb57776803fa99248b456e"] = 0.20;
insuranceConfig.returnChancePercent["54cb50c76803fa8b248b4571"] = 50;
insuranceConfig.returnChancePercent["54cb57776803fa99248b456e"] = 80;
}
catch (error) {
logger.warning("\nInsuranceChanges failed. Send bug report. Continue safely.");
log(error);
}
}
Display More
Line 1846: (fixes ID for skier to sell Euros for Rubles)
Code
if (skier.assort.barter_scheme[barter][0][0]._tpl == "5449016a4bdc2d6f028b456f" && barter != "65cb81e2321bfcd99d00f9c9") {
Loving your mod, just posting here in case someone wants this fix.