Skip to content

Commit

Permalink
Show tertiary loot when powerming
Browse files Browse the repository at this point in the history
  • Loading branch information
DayV-git committed Dec 22, 2024
1 parent a2672a1 commit 185317e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tasks/minions/miningActivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ export const miningTask: MinionTask = {
const updateResult = await updateBank.transact(user);
if (typeof updateResult === 'string') throw new Error(updateResult);
let str = `${user}, ${user.minionName} finished mining ${quantity} ${ore.name}. `;
if (!powermine) str += `You received ${updateResult.itemTransactionResult?.itemsAdded} and `;
if (updateResult.itemTransactionResult?.itemsAdded)
str += `You received ${updateResult.itemTransactionResult?.itemsAdded} and `;

str += `${updateBank.xpBank}. ${xpHr} XP/hr`;
if (messages.length > 0) {
Expand Down

0 comments on commit 185317e

Please sign in to comment.