Removed cultist circle debug logging
This commit is contained in:
parent
4f65442fe7
commit
44ed6b68b8
@ -397,12 +397,9 @@ export class HideoutHelper {
|
|||||||
if (production.Progress < production.ProductionTime) {
|
if (production.Progress < production.ProductionTime) {
|
||||||
production.Progress += timeElapsedSeconds;
|
production.Progress += timeElapsedSeconds;
|
||||||
|
|
||||||
this.logger.warning(`circle craft progress is now ${production.Progress} of ${production.ProductionTime}`);
|
|
||||||
|
|
||||||
// Check if craft is complete
|
// Check if craft is complete
|
||||||
if (production.Progress >= production.ProductionTime) {
|
if (production.Progress >= production.ProductionTime) {
|
||||||
this.flagCultistCircleCraftAsComplete(production);
|
this.flagCultistCircleCraftAsComplete(production);
|
||||||
this.logger.warning(`circle craft complete, AvailableForFinish set ot true`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -410,8 +407,6 @@ export class HideoutHelper {
|
|||||||
|
|
||||||
// Craft in complete
|
// Craft in complete
|
||||||
this.flagCultistCircleCraftAsComplete(production);
|
this.flagCultistCircleCraftAsComplete(production);
|
||||||
|
|
||||||
this.logger.warning(`circle craft complete, AvailableForFinish set ot true`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected flagCultistCircleCraftAsComplete(production: Productive) {
|
protected flagCultistCircleCraftAsComplete(production: Productive) {
|
||||||
|
@ -116,8 +116,6 @@ export class CircleOfCultistService {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const rewardItemPool = this.getCultistCircleRewardPool(sessionId, pmcData);
|
const rewardItemPool = this.getCultistCircleRewardPool(sessionId, pmcData);
|
||||||
this.logger.warning(`Reward pool item count: ${rewardItemPool.length}`);
|
|
||||||
|
|
||||||
rewards = this.getRewardsWithinBudget(rewardItemPool, rewardAmountRoubles, cultistCircleStashId);
|
rewards = this.getRewardsWithinBudget(rewardItemPool, rewardAmountRoubles, cultistCircleStashId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,7 +131,6 @@ export class CircleOfCultistService {
|
|||||||
|
|
||||||
if (canAddToContainer) {
|
if (canAddToContainer) {
|
||||||
for (const itemToAdd of rewards) {
|
for (const itemToAdd of rewards) {
|
||||||
this.logger.warning(`Placing reward: ${itemToAdd[0]._tpl} in circle grid`);
|
|
||||||
this.inventoryHelper.placeItemInContainer(
|
this.inventoryHelper.placeItemInContainer(
|
||||||
containerGrid,
|
containerGrid,
|
||||||
itemToAdd,
|
itemToAdd,
|
||||||
@ -256,7 +253,6 @@ export class CircleOfCultistService {
|
|||||||
totalCost += this.itemHelper.getItemPrice(randomItemTplFromPool);
|
totalCost += this.itemHelper.getItemPrice(randomItemTplFromPool);
|
||||||
rewards.push([rewardItem]);
|
rewards.push([rewardItem]);
|
||||||
}
|
}
|
||||||
this.logger.warning(`Circle will reward ${itemsRewardedCount} items costing a total of ${totalCost} roubles`);
|
|
||||||
|
|
||||||
return rewards;
|
return rewards;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user