From b30bea18f066a012916de613c2a8fa95fbd911dd Mon Sep 17 00:00:00 2001 From: horrible little slime <69secret69email69@gmail.com> Date: Mon, 11 Nov 2024 12:07:48 -0500 Subject: [PATCH] add 151st infantryman and knob perfume to numberology --- src/sections/resources/skill/Numberology.tsx | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/sections/resources/skill/Numberology.tsx b/src/sections/resources/skill/Numberology.tsx index af75098a..fd0d5f94 100644 --- a/src/sections/resources/skill/Numberology.tsx +++ b/src/sections/resources/skill/Numberology.tsx @@ -1,5 +1,6 @@ import { ListItem, Text, UnorderedList } from "@chakra-ui/react"; import { + haveOutfit, myAdventures, myAscensions, myLevel, @@ -9,12 +10,12 @@ import { mySpleenUse, numericModifier, } from "kolmafia"; -import { $path, $skill, get } from "libram"; +import { $effect, $item, $path, $skill, get, have } from "libram"; import Line from "../../../components/Line"; import Tile from "../../../components/Tile"; import { haveUnrestricted } from "../../../util/available"; -import { inRun } from "../../../util/quest"; +import { inRun, questFinished } from "../../../util/quest"; import { plural } from "../../../util/text"; const MOON_SIGN_ID_LOOKUP: Record = { @@ -97,6 +98,21 @@ const Numberology = () => { desiredDigits.push({ digit: 69, reason: "+3 adventures" }); } + if (!haveOutfit("Frat Warrior Fatigues") && !questFinished("questL12War")) { + desiredDigits.push({ + digit: 151, + reason: "frat warrior outfit (fight 151st infantryman)", + }); + } + + if ( + !have($item`Knob Goblin perfume`) && + !have($effect`Knob Goblin Perfume`) && + !questFinished("questL05Goblin") + ) { + desiredDigits.push({ digit: 9, reason: "knob goblin perfume" }); + } + if (inRun()) { desiredDigits.push({ digit: 14,