Skip to content

Commit

Permalink
Fixed requirements for The Heart of Darkness quest. Relocated item re…
Browse files Browse the repository at this point in the history
…quirements for "combat gear, food, and prayer potions" to recommended items section from required items section.

Fixes #1798
  • Loading branch information
Xtra-Crispy committed Oct 26, 2024
1 parent 21479f4 commit 573009b
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ public class TheHeartOfDarkness extends BasicQuestHelper
VarbitRequirement[] activateStatueRequirements = new VarbitRequirement[4];

// Required
ItemRequirement combatGear, food, coins;
ItemRequirement coins;

// Recommended
ItemRequirement quetzalFeed, limestoneBrick, softClay, pickaxe, civitasIllaFortisTeleport, prayerPotions, staminaPotions;
ItemRequirement combatGear, food, quetzalFeed, limestoneBrick, softClay, pickaxe, civitasIllaFortisTeleport, prayerPotions, staminaPotions;

// Quest items
ItemRequirement towerKey, book, poem, scrapOfPaper1, scrapOfPaper2, scrapOfPaper3, completedNote, emissaryHood, emissaryTop, emissaryBottom,
Expand Down Expand Up @@ -364,12 +364,12 @@ public Map<Integer, QuestStep> loadSteps()
protected void setupRequirements()
{
// Required items
combatGear = new ItemRequirement("Combat gear", -1, -1).isNotConsumed();
combatGear.setDisplayItemId(BankSlotIcons.getCombatGear());
food = new ItemRequirement("Food", ItemCollections.GOOD_EATING_FOOD, 10);
coins = new ItemRequirement("Coins", ItemCollections.COINS);

// Recommended items
combatGear = new ItemRequirement("Combat gear", -1, -1).isNotConsumed();
combatGear.setDisplayItemId(BankSlotIcons.getCombatGear());
food = new ItemRequirement("Food", ItemCollections.GOOD_EATING_FOOD, 10);
quetzalFeed = new ItemRequirement("Quetzal feed", ItemID.QUETZAL_FEED_29307);
quetzalFeed.setTooltip("Optional for the Salvager Overlook landing site");
limestoneBrick = new ItemRequirement("Limestone brick", ItemID.LIMESTONE_BRICK);
Expand Down Expand Up @@ -1074,13 +1074,13 @@ private void arrowPuzzleSolutionCheck(WidgetLoaded widgetLoaded)
@Override
public List<ItemRequirement> getItemRequirements()
{
return List.of(coins.quantity(30), combatGear, food, prayerPotions.quantity(2));
return List.of(coins.quantity(30);
}

@Override
public List<ItemRequirement> getItemRecommended()
{
return List.of(quetzalFeed.quantity(10), limestoneBrick.quantity(3), softClay.quantity(4), staminaPotions, civitasIllaFortisTeleport);
return List.of(combatGear, food, quetzalFeed.quantity(10), limestoneBrick.quantity(3), softClay.quantity(4), prayerPotions.quantity(2)), staminaPotions, civitasIllaFortisTeleport);
}

@Override
Expand Down

0 comments on commit 573009b

Please sign in to comment.