Skip to content

Commit

Permalink
fix: incorrect expected items for raw snails in "In Aid of the Myrequ…
Browse files Browse the repository at this point in the history
…e" (#1861)

* fix raw snail item ids in FillBurghCrate.java

* fix raw snail item id in InAidOfTheMyreque.java
  • Loading branch information
mateuscv authored Nov 24, 2024
1 parent 9eeba0c commit 321a8f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class FillBurghCrate extends DetailedQuestStep
tinderbox3 = new ItemRequirement("Tinderbox", ItemID.TINDERBOX, 3);
bronzeAxe10 = new ItemRequirement("Bronze axe", ItemID.BRONZE_AXE, 10);
rawSnailsOrMackerel = new ItemRequirement("Raw mackerel or raw snail meat (random for each player)", ItemID.RAW_MACKEREL, 10);
rawSnailsOrMackerel.addAlternates(ItemID.THIN_SNAIL_MEAT, ItemID.LEAN_SNAIL_MEAT, ItemID.FAT_SNAIL_MEAT);
rawSnailsOrMackerel.addAlternates(ItemID.THIN_SNAIL, ItemID.LEAN_SNAIL, ItemID.FAT_SNAIL);
rawSnailsOrMackerel.setDisplayMatchedItemName(true);
}

Expand Down Expand Up @@ -85,7 +85,7 @@ protected void updateSteps()
else
{
this.setText("Fill the crate with 3 tinderboxes, 10 bronze axes, and 10 raw snails (can be lean, thin or fat).");
rawSnailsOrMackerel.setDisplayItemId(ItemID.FAT_SNAIL_MEAT);
rawSnailsOrMackerel.setDisplayItemId(ItemID.FAT_SNAIL);
this.setRequirements(Arrays.asList(crate, tinderbox3, bronzeAxe10, rawSnailsOrMackerel));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ protected void setupRequirements()
planks11 = new ItemRequirement("Plank", ItemID.PLANK, 11);
nails44 = new ItemRequirement("Any nails", ItemCollections.NAILS, 44);
swampPaste = new ItemRequirement("Swamp paste", ItemID.SWAMP_PASTE, 2);
snails10 = new ItemRequirement("Raw snail", ItemID.THIN_SNAIL_MEAT);
snails10.addAlternates(ItemID.FAT_SNAIL_MEAT, ItemID.LEAN_SNAIL_MEAT);
snails10 = new ItemRequirement("Raw snail", ItemID.THIN_SNAIL);
snails10.addAlternates(ItemID.FAT_SNAIL, ItemID.LEAN_SNAIL);
mackerel10 = new ItemRequirement("Raw mackerel", ItemID.RAW_MACKEREL, 10);
rawMackerelOrSnail10 = new ItemRequirements("10 Raw mackerel or raw snail meat (random for each player)",
mackerel10,
Expand Down

0 comments on commit 321a8f7

Please sign in to comment.