diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index b03508f1..7d938606 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -716,7 +716,8 @@ "64e73909cd54ef0580746af3", "64e74a2fc2b4f829615ec332", "64e74a274d49d23b2c39d317", - "64f09c02b63b74469b6c149f" + "64f09c02b63b74469b6c149f", + "64f07f7726cfa02c506f8ac0" ], "laboratory": [ "6398a4cfb5992f573c6562b3", diff --git a/project/src/helpers/HideoutHelper.ts b/project/src/helpers/HideoutHelper.ts index dba759df..3ceef96c 100644 --- a/project/src/helpers/HideoutHelper.ts +++ b/project/src/helpers/HideoutHelper.ts @@ -292,7 +292,9 @@ export class HideoutHelper // Increment progress by time passed const production = pmcData.Hideout.Production[prodId]; - production.Progress += production.needFuelForAllProductionTime ? 0 : timeElapsed; // Some items NEED power to craft (e.g. DSP) + production.Progress += (production.needFuelForAllProductionTime && !hideoutProperties.isGeneratorOn) + ? 0 + : timeElapsed; // Some items NEED power to craft (e.g. DSP) // Limit progress to total production time if progress is over (dont run for continious crafts)) if (!recipe.continuous)