Skip to content

Commit

Permalink
fix: Add weight requirement to door in WGS text (#1804)
Browse files Browse the repository at this point in the history
Indicate to the player they need to weight >= 0kg to enter Movario's lair in WGS.
  • Loading branch information
Zoinkwiz authored Oct 19, 2024
1 parent 83ec409 commit fe68075
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
import com.questhelper.requirements.item.ItemRequirements;
import com.questhelper.requirements.item.NoItemRequirement;
import com.questhelper.requirements.npc.NpcRequirement;
import com.questhelper.requirements.player.FreeInventorySlotRequirement;
import com.questhelper.requirements.player.SkillRequirement;
import com.questhelper.requirements.player.SpellbookRequirement;
import com.questhelper.requirements.player.WarriorsGuildAccessRequirement;
import com.questhelper.requirements.player.*;
import com.questhelper.requirements.quest.QuestPointRequirement;
import com.questhelper.requirements.quest.QuestRequirement;
import com.questhelper.requirements.util.ItemSlots;
Expand Down Expand Up @@ -93,7 +90,7 @@ public class WhileGuthixSleeps extends BasicQuestHelper
ItemRequirement antipoison, burthorpeTeleport, khazardTeleport, feldipHillsTeleport, faladorTeleport, staminaPotion, superRestore,
camelotTeleport, lobster, restorePotion, gamesNecklace, spade, hammer, chisel, food, prayerPotions, taverleyTeleport;

Requirement lunarSpellbook, normalSpellbook;
Requirement lunarSpellbook, normalSpellbook, weighOver0Kg;

// Quest items
ItemRequirement dirtyShirt, unconsciousBroav, broav, movariosNotesV1, movariosNotesV2, wastePaperBasket, rubyKey, movariosNotesV1InBank, movariosNotesV2InBank, teleorb, pinkDye,
Expand Down Expand Up @@ -472,6 +469,8 @@ public Map<Integer, QuestStep> loadSteps()
steps.put(650, goWitnessTrueTerror);
steps.put(660, goWitnessTrueTerror);

weighOver0Kg = new WeightRequirement(0, Operation.GREATER_EQUAL);

steps.put(670, talkToIdriaAfterChapel);
steps.put(680, talkToIdriaAfterChapel);

Expand Down Expand Up @@ -1201,7 +1200,8 @@ public void setupSteps()
new ObjectStep(this, ObjectID.BOOKCASE_53920, new WorldPoint(4187, 4962, 0), "Search the eastern bookcase in the room."),
"Solve the electric door puzzle.");

enterDoorToLibrary = new ObjectStep(this, NullObjectID.NULL_54089, new WorldPoint(4210, 4974, 0), "Enter the old battered door.");
enterDoorToLibrary = new ObjectStep(this, NullObjectID.NULL_54089, new WorldPoint(4210, 4974, 0), "Enter the old battered door. You must weight over " +
"0kg to enter.", weighOver0Kg);

solveElectricityPuzzle = new DetailedQuestStep(this, "Solve the electricity puzzle.");
solveElectricityPuzzle.addSubSteps(searchBookcase1, searchBookcase2, searchBookcase3, searchBookcase4, searchBookcase5, searchBookcase6, searchBookcase7);
Expand Down

0 comments on commit fe68075

Please sign in to comment.