Skip to content

Commit

Permalink
Add modified teleportCollections requirements to BikeShedder
Browse files Browse the repository at this point in the history
  • Loading branch information
blakephillips committed Dec 3, 2024
1 parent 6e02c5a commit ebfaab3
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@

import com.google.common.collect.ImmutableMap;
import com.questhelper.collections.ItemCollections;
import com.questhelper.collections.TeleportCollections;
import com.questhelper.panel.PanelDetails;
import com.questhelper.questhelpers.BasicQuestHelper;
import com.questhelper.requirements.item.ItemRequirement;
@@ -47,6 +48,7 @@
import net.runelite.api.coords.WorldPoint;
import net.runelite.api.widgets.ComponentID;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import static com.questhelper.requirements.util.LogicHelper.or;
@@ -65,6 +67,10 @@ public class BikeShedder extends BasicQuestHelper
private ObjectStep useCoinOnBush;
private ObjectStep useManyCoinsOnBush;

private ItemRequirement varrockTeleport;
private ItemRequirement ardougneTeleport;
private ItemRequirement faladorTeleport;

private Zone conditionalRequirementZone;
private ZoneRequirement conditionalRequirementZoneRequirement;
private ZoneRequirement conditionalRequirementZoneSouthRequirement;
@@ -116,6 +122,10 @@ protected void setupRequirements()
useLogOnBush = new ObjectStep(this, NullObjectID.NULL_10778, new WorldPoint(3223, 3217, 0), "Use log on bush", anyLog);
useLogOnBush.addIcon(ItemID.LOGS);

varrockTeleport = TeleportCollections.VARROCK_TELEPORT.getItemRequirement();
ardougneTeleport = TeleportCollections.ARDOUGNE_TELEPORT.getItemRequirement();
faladorTeleport = TeleportCollections.FALADOR_TELEPORT.getItemRequirement();

oneCoin = new ItemRequirement("Coins", ItemCollections.COINS, 1);
oneCoin.setHighlightInInventory(true);
useCoinOnBush = new ObjectStep(this, NullObjectID.NULL_10778, new WorldPoint(3223, 3217, 0), "Use coins on the bush.", oneCoin);
@@ -154,6 +164,11 @@ protected void setupRequirements()
goDownstairsInSunrisePalace = new ObjectStep(getQuest().getQuestHelper(), ObjectID.STAIRCASE_52627, new WorldPoint(1690, 3164, 1), "Climb downstairs, ensure stairs are well highlighted!");
}

@Override
public List<ItemRequirement> getItemRecommended() {
return Arrays.asList(varrockTeleport, ardougneTeleport, faladorTeleport);
}

@Override
public List<PanelDetails> getPanels()
{

0 comments on commit ebfaab3

Please sign in to comment.