Skip to content

Commit

Permalink
Fix up the level requirements for Fremennick Isles (#1801)
Browse files Browse the repository at this point in the history
"Either 8 tin ores, 7 pieces of coal, or 6 mithril ores (depends on your Mining level; level 1 will require tin ore, 2-54 will require coal, and 55-99 require mithril ore). Note: The ores can be noted." from https://oldschool.runescape.wiki/w/The_Fremennik_Isles

Fixes #1799
  • Loading branch information
mrhappyasthma authored Oct 19, 2024
1 parent fe68075 commit 4965f17
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ protected void setupRequirements()

tuna.setTooltip("You can buy some from Flosi in east Jatizso, or fish some from the pier.");

Requirement useMithrilOre = new SkillRequirement(Skill.MINING, 55);
Requirement useCoal = and(new SkillRequirement(Skill.MINING, 10), not(useMithrilOre));
Requirement useTin = not(new SkillRequirement(Skill.MINING, 10));
Requirement useMithrilOre = new SkillRequirement(Skill.MINING, 55); // Level 55+
Requirement useTin = not(new SkillRequirement(Skill.MINING, 2)); // Level 1
Requirement useCoal = and(not(useTin), not(useMithrilOre)); // Levels 2-54
mithrilOre = new ItemRequirement("Mithril ore", ItemID.MITHRIL_ORE, 6).showConditioned(useMithrilOre);
mithrilOre.setTooltip("You can mine some in the underground mine north west of Jatizso.");
coal = new ItemRequirement("Coal", ItemID.COAL, 7).showConditioned(useCoal);
Expand Down

0 comments on commit 4965f17

Please sign in to comment.