From f291aae205f0354160cca51da0ee82048b171569 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sun, 24 Nov 2024 14:41:15 +0100 Subject: [PATCH] unrelated: Add Lightbearer as a requirement to the sidepanel of Bikeshedder --- .../questhelper/playerquests/bikeshedder/BikeShedder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/questhelper/playerquests/bikeshedder/BikeShedder.java b/src/main/java/com/questhelper/playerquests/bikeshedder/BikeShedder.java index 2640f79280..f4dcbbecd7 100644 --- a/src/main/java/com/questhelper/playerquests/bikeshedder/BikeShedder.java +++ b/src/main/java/com/questhelper/playerquests/bikeshedder/BikeShedder.java @@ -77,6 +77,7 @@ public class BikeShedder extends BasicQuestHelper private WidgetTextRequirement lookAtCooksAssistantTextRequirement; private ZoneRequirement byStaircaseInSunrisePalace; private ObjectStep goDownstairsInSunrisePalace; + private ItemRequirement lightbearer; @Override public Map loadSteps() @@ -108,7 +109,7 @@ protected void setupRequirements() confuseHans = new NpcStep(this, NpcID.HANS, new WorldPoint(3221, 3218, 0), "Cast Confuse on Hans", normalSpellbook); confuseHans.addSpellHighlight(NormalSpells.CONFUSE); - var lightbearer = new ItemRequirement("Lightbearer", ItemID.LIGHTBEARER).highlighted(); + lightbearer = new ItemRequirement("Lightbearer", ItemID.LIGHTBEARER).highlighted(); equipLightbearer = new DetailedQuestStep(this, "Equip a Lightbearer", lightbearer.equipped()); anyLog = new ItemRequirement("Any log", ItemCollections.LOGS_FOR_FIRE).highlighted(); @@ -160,7 +161,7 @@ public List getPanels() panels.add(new PanelDetails("Move to Lumbridge", List.of(moveToLumbridge))); panels.add(new PanelDetails("Normal Spellbook", List.of(confuseHans))); - panels.add(new PanelDetails("Equip Lightbearer", List.of(equipLightbearer))); + panels.add(new PanelDetails("Equip Lightbearer", List.of(equipLightbearer), List.of(lightbearer))); panels.add(new PanelDetails("Use log on mysterious bush", List.of(useLogOnBush), List.of(anyLog))); panels.add(new PanelDetails("Use coins on mysterious bush", List.of(useCoinOnBush, useManyCoinsOnBush), List.of(oneCoin, manyCoins))); panels.add(new PanelDetails("Conditional requirement", List.of(conditionalRequirementLookAtCoins), List.of(conditionalRequirementCoins, conditionalRequirementGoldBar)));