Skip to content

Commit

Permalink
Make sure all steps visible in the side panel end with a period
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Oct 1, 2023
1 parent 435d8e3 commit 07539a9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class MonolithPuzzle extends DetailedOwnerStep

public MonolithPuzzle(QuestHelper questHelper)
{
super(questHelper, "Unlock Yewnock's machine room in the Tree Gnome Village dungeon");
super(questHelper, "Unlock Yewnock's machine room in the Tree Gnome Village dungeon.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@ public void setup(ThePathOfGlouphrie quest)

{
var talk = new ObjectStep(quest, NullObjectID.NULL_49598, new WorldPoint(2339, 3111, 0), "");
talkToSpiritTree = new ConditionalStep(quest, talk, "Talk to the Spirit Tree",
talkToSpiritTree = new ConditionalStep(quest, talk, "Talk to the Spirit Tree.",
quest.combatGear, quest.prayerPotions, quest.food, quest.crystalChime);
}

useCrystalChime = new ObjectStep(quest, NullObjectID.NULL_49598, new WorldPoint(2339, 3111, 0),
"Use the Crystal Chime on the Spirit Tree", quest.crystalChime.highlighted());
"Use the Crystal Chime on the Spirit Tree.", quest.crystalChime.highlighted());
useCrystalChime.addIcon(ItemID.CRYSTAL_CHIME);

{
var talk = new ObjectStep(quest, NullObjectID.NULL_49598, new WorldPoint(2339, 3111, 0), "");
talkToSpiritTreeAgain = new ConditionalStep(quest, talk, "Talk to the Spirit Tree again",
talkToSpiritTreeAgain = new ConditionalStep(quest, talk, "Talk to the Spirit Tree again.",
quest.combatGear, quest.prayerPotions, quest.food, quest.crystalChime);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ public void setup(ThePathOfGlouphrie quest)
var exitDungeon = new ObjectStep(quest, ObjectID.LADDER_5251, new WorldPoint(2597, 4435, 0), "Exit the dungeon");
var squeezeThroughRailing = quest.enterTreeGnomeVillageMazeFromMiddle.copy();
squeezeThroughRailing.addTeleport(quest.teleToBolren);
killEvilCreature = new ConditionalStep(quest, kill, "Kill the Evil Creature next to King Bolren");
killEvilCreature = new ConditionalStep(quest, kill, "Kill the Evil Creature next to King Bolren.");
killEvilCreature.addStep(quest.inTreeGnomeVillageDungeon, exitDungeon);
killEvilCreature.addStep(quest.inStoreroom, exitStoreroom);
killEvilCreature.addStep(new Conditions(LogicType.NOR, quest.inTreeGnomeVillageMiddle), squeezeThroughRailing);
}
// Talk to King Bolren
informKingBolren = new NpcStep(quest, NpcID.KING_BOLREN, new WorldPoint(2542, 3169, 0), "Talk to King Bolren about your next step");
informKingBolren = new NpcStep(quest, NpcID.KING_BOLREN, new WorldPoint(2542, 3169, 0), "Talk to King Bolren about your next step.");
informKingBolren.addTeleport(quest.teleToBolren);

var teleToStronghold = new TeleportItemRequirement("Spirit tree to Gnome Stronghold [2]", -1, -1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ public void setup(ThePathOfGlouphrie quest)
{
/// Starting off
// Talk to King Bolren
talkToKingBolren = new NpcStep(quest, NpcID.KING_BOLREN, new WorldPoint(2542, 3169, 0), "Talk to King Bolren in the Tree Gnome Village to start the quest");
talkToKingBolren = new NpcStep(quest, NpcID.KING_BOLREN, new WorldPoint(2542, 3169, 0), "Talk to King Bolren in the Tree Gnome Village to start the quest.");
talkToKingBolren.addDialogSteps("Yes.");
talkToKingBolren.addTeleport(quest.teleToBolren);

// Talk to King Bolren again
talkToKingBolrenAgain = new NpcStep(quest, NpcID.KING_BOLREN, new WorldPoint(2542, 3169, 0), "Talk to King Bolren again");
talkToKingBolrenAgain = new NpcStep(quest, NpcID.KING_BOLREN, new WorldPoint(2542, 3169, 0), "Talk to King Bolren again.");

// TODO: Add step for freeing Golrie if the user hasn't started Roving Elves

Expand All @@ -58,7 +58,7 @@ public void setup(ThePathOfGlouphrie quest)
var talk = new NpcStep(quest, NpcID.GOLRIE, new WorldPoint(2580, 4450, 0), "");
talk.addDialogSteps("I need your help with a device.");
talk.addSubSteps(enterTreeGnomeVillageMazeFromMiddle, climbDownIntoTreeGnomeVillageDungeon);
golrie = new ConditionalStep(quest, climbDownIntoTreeGnomeVillageDungeon, "Talk to Golrie in the Tree Gnome Village dungeon");
golrie = new ConditionalStep(quest, climbDownIntoTreeGnomeVillageDungeon, "Talk to Golrie in the Tree Gnome Village dungeon.");
golrie.addStep(quest.inTreeGnomeVillageDungeon, talk);
golrie.addStep(quest.inTreeGnomeVillageMiddle, enterTreeGnomeVillageMazeFromMiddle);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public class TheWarpedDepths
public void setup(ThePathOfGlouphrie quest)
{
enterSewer = new ObjectStep(quest, ObjectID.SEWER_ENTRANCE, new WorldPoint(2322, 3101, 0),
"Enter the sewer to the west of the Spirit tree");
"Enter the sewer to the west of the Spirit tree.");
enterSewer.addRequirement(quest.combatGear, quest.prayerPotions, quest.food, quest.crystalChime);

sewer1Ladder = new ObjectStep(quest, ObjectID.LADDER_49700, "Climb up the ladder");
sewer1Ladder = new ObjectStep(quest, ObjectID.LADDER_49700, "Climb up the ladder.");
sewer2Ladder = new ObjectStep(quest, ObjectID.LADDER_49701, new WorldPoint(1529, 4236, 1),
"Climb down the ladder.");
sewer2Ladder.addRecommended(quest.protectMissiles);
Expand Down Expand Up @@ -88,7 +88,7 @@ public void setup(ThePathOfGlouphrie quest)
new WorldPoint(1486, 4284, 1)
));
sewer5Ladder = new ObjectStep(quest, ObjectID.LADDER_49700, new WorldPoint(1499, 4282, 0),
"Climb up the ladder");
"Climb up the ladder.");
sewer5Ladder.addRecommended(quest.protectMissiles);
bossDoor = new ObjectStep(quest, ObjectID.METAL_GATE_49889, new WorldPoint(1506, 4319, 1),
"Go to the boss room. Re-activate your run if you step in any puddles.");
Expand Down Expand Up @@ -117,8 +117,8 @@ public void setup(ThePathOfGlouphrie quest)
"Kill the Terrorbirds. You can use the pillars around the room to only fight one at a time. They fight with both Melee and Ranged.");
bossStep.setAllowMultipleHighlights(true);

peekHeavyDoor = new ObjectStep(quest, NullObjectID.NULL_49909, WorldPoint.fromRegion(5955, 49, 31, 1), "Peek the heavy door");
watchFinalCutscene = new DetailedQuestStep(quest, "Watch the final cutscene");
peekHeavyDoor = new ObjectStep(quest, NullObjectID.NULL_49909, WorldPoint.fromRegion(5955, 49, 31, 1), "Peek the heavy door.");
watchFinalCutscene = new DetailedQuestStep(quest, "Watch the final cutscene.");

talkToHazelmere = new NpcStep(quest, NpcID.HAZELMERE, new WorldPoint(2678, 3086, 1),
"Talk to Hazelmere. Any lamps that don't fit in your inventory will land on the ground. You can speak to Hazelmere after the quest to recover any lost lamps.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void setup(ThePathOfGlouphrie quest)
var enter = new ObjectStep(quest, ObjectID.TUNNEL_49620, new WorldPoint(2608, 4451, 0), "");
enter.addSubSteps(squeezeThroughRailing, climbIntoDungeon);

enterStoreroom = new ConditionalStep(quest, climbIntoDungeon, "Enter the storeroom to the east in the Tree Gnome Village dungeon");
enterStoreroom = new ConditionalStep(quest, climbIntoDungeon, "Enter the storeroom to the east in the Tree Gnome Village dungeon.");
enterStoreroom.addStep(quest.inTreeGnomeVillageDungeon, enter);
enterStoreroom.addStep(quest.inTreeGnomeVillageMiddle, squeezeThroughRailing);
}
Expand Down Expand Up @@ -102,8 +102,7 @@ public void setup(ThePathOfGlouphrie quest)
solveYewnocksMachinePuzzleStep.addStep(quest.inStoreroom, solveYewnocksMachinePuzzle);
}


watchCutscene = new DetailedQuestStep(quest, "Watch the cutscene");
watchCutscene = new DetailedQuestStep(quest, "Watch the cutscene.");
}

public List<QuestStep> getSteps()
Expand Down

0 comments on commit 07539a9

Please sign in to comment.