diff --git a/src/mahoji/commands/chop.ts b/src/mahoji/commands/chop.ts index 535a54bc86..fb1431c02c 100644 --- a/src/mahoji/commands/chop.ts +++ b/src/mahoji/commands/chop.ts @@ -110,7 +110,7 @@ export const chopCommand: OSBMahojiCommand = { { type: ApplicationCommandOptionType.String, name: 'twitchers_gloves', - description: "Change the settings of your Twitcher's gloves. (default off, optional)", + description: "Change the settings of your Twitcher's gloves. (default egg, optional)", required: false, choices: TWITCHERS_GLOVES.map(i => ({ name: `${i} nest`, value: i })) } diff --git a/src/tasks/minions/woodcuttingActivity.ts b/src/tasks/minions/woodcuttingActivity.ts index 9cf844b73e..bd8ade1b75 100644 --- a/src/tasks/minions/woodcuttingActivity.ts +++ b/src/tasks/minions/woodcuttingActivity.ts @@ -1,7 +1,7 @@ import { percentChance, randInt, Time } from 'e'; import { Bank, LootTable } from 'oldschooljs'; -import { Emoji, Events } from '../../lib/constants'; +import { Emoji, Events, TwitcherGloves } from '../../lib/constants'; import { MediumSeedPackTable } from '../../lib/data/seedPackTables'; import addSkillingClueToLoot from '../../lib/minions/functions/addSkillingClueToLoot'; import { eggNest } from '../../lib/simulation/birdsNest'; @@ -236,7 +236,7 @@ export const woodcuttingTask: MinionTask = { let strungRabbitFoot = user.hasEquipped('Strung rabbit foot'); let twitchersEquipped = user.hasEquipped("twitcher's gloves"); - let twitcherSetting = undefined; + let twitcherSetting: TwitcherGloves | undefined = 'egg'; let xpReceived = quantity * log.xp; let bonusXP = 0; let rationUsed = 0; @@ -306,7 +306,11 @@ export const woodcuttingTask: MinionTask = { // Check for twitcher gloves if (twitchersEquipped) { - twitcherSetting = twitchers; + if (twitchers !== undefined) { + twitcherSetting = twitchers; + } + } else { + twitcherSetting = undefined; } // Add clue scrolls & nests