Skip to content

Commit

Permalink
Update Quest Reward (M)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerpackie authored and Zoinkwiz committed Sep 30, 2021
1 parent 3ab379d commit 98ba816
Show file tree
Hide file tree
Showing 12 changed files with 326 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
import com.questhelper.requirements.conditional.ObjectCondition;
import com.questhelper.requirements.util.LogicType;
import com.questhelper.requirements.util.Operation;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.rewards.UnlockReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.ItemStep;
Expand Down Expand Up @@ -590,6 +593,32 @@ public List<String> getCombatRequirements()
return Arrays.asList("Don't Know What (level 163)", "Mother (level 198)");
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(2);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Arrays.asList(
new ExperienceReward(Skill.CONSTRUCTION, 2000),
new ExperienceReward(Skill.FIREMAKING, 5000),
new ExperienceReward(Skill.MINING, 10000),
new ExperienceReward(Skill.AGILITY, 10000));
}

@Override
public List<UnlockReward> getUnlockRewards()
{
return Arrays.asList(
new UnlockReward("Access to the Salt Mines."),
new UnlockReward("Ability to build fire pits"),
new UnlockReward("Ability to tune a house portal to Troll Stronghold."),
new UnlockReward("Access to a disease free herb patch in Weis."));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
import com.questhelper.requirements.var.VarbitRequirement;
import com.questhelper.requirements.ZoneRequirement;
import com.questhelper.requirements.util.ComplexRequirementBuilder;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.DigStep;
import com.questhelper.requirements.conditional.Conditions;
Expand All @@ -52,10 +55,8 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.runelite.api.ItemID;
import net.runelite.api.NpcID;
import net.runelite.api.ObjectID;
import net.runelite.api.QuestState;

import net.runelite.api.*;
import net.runelite.api.coords.WorldPoint;

@QuestDescriptor(
Expand Down Expand Up @@ -268,6 +269,28 @@ public List<ItemRequirement> getItemRecommended()
return reqs;
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(3);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Arrays.asList(
new ExperienceReward(Skill.CRAFTING, 1000),
new ExperienceReward(Skill.PRAYER, 1000));
}

@Override
public List<ItemReward> getItemRewards()
{
return Arrays.asList(
new ItemReward("750 Coins", ItemID.COINS_995, 750),
new ItemReward("An Enchanted Key", ItemID.ENCHANTED_KEY, 1));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
import com.questhelper.requirements.conditional.ObjectCondition;
import com.questhelper.requirements.WidgetTextRequirement;
import com.questhelper.requirements.util.LogicType;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.NpcStep;
Expand Down Expand Up @@ -304,6 +306,18 @@ public List<ItemRequirement> getItemRecommended()
return reqs;
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(6);
}

@Override
public List<ItemReward> getItemRewards()
{
return Collections.singletonList(new ItemReward("Excalibur", ItemID.EXCALIBUR, 1));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
import com.questhelper.requirements.conditional.Conditions;
import com.questhelper.requirements.WidgetTextRequirement;
import com.questhelper.requirements.util.Operation;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.NpcStep;
Expand All @@ -48,10 +51,8 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.runelite.api.ItemID;
import net.runelite.api.NpcID;
import net.runelite.api.NullObjectID;
import net.runelite.api.ObjectID;

import net.runelite.api.*;
import net.runelite.api.coords.WorldPoint;

@QuestDescriptor(
Expand Down Expand Up @@ -365,6 +366,27 @@ public void setupSteps()
"Talk to Mandy just outside the manor to complete the quest.");
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(1);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Collections.singletonList(new ExperienceReward(Skill.CRAFTING, 600));
}

@Override
public List<ItemReward> getItemRewards()
{
return Arrays.asList(
new ItemReward("Uncut Ruby", ItemID.UNCUT_RUBY, 1),
new ItemReward("Uncut Emerald", ItemID.UNCUT_EMERALD, 1),
new ItemReward("Uncut Sapphire", ItemID.UNCUT_SAPPHIRE, 1));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
import com.questhelper.requirements.WidgetTextRequirement;
import com.questhelper.requirements.util.LogicType;
import com.questhelper.requirements.util.Operation;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.rewards.UnlockReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.NpcStep;
Expand Down Expand Up @@ -726,6 +729,29 @@ public List<Requirement> getGeneralRequirements()
return req;
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(3);
}

@Override
public List<ItemReward> getItemRewards()
{
return Arrays.asList(
new ItemReward("55,000 Experience Combat Lamp (Over multiple Skills)", ItemID.ANTIQUE_LAMP, 1), //4447 is placeholder for filter
new ItemReward("10,000 Coins", ItemID.COINS_995, 10000),
new ItemReward("3 Diamonds", ItemID.DIAMOND, 3));
}

@Override
public List<UnlockReward> getUnlockRewards()
{
return Arrays.asList(
new UnlockReward("Ability to purchase and wield the Dragon Scimitar."),
new UnlockReward("Full access to Ape Atoll."));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
import com.questhelper.requirements.WidgetTextRequirement;
import com.questhelper.requirements.util.LogicType;
import com.questhelper.requirements.util.Operation;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.rewards.UnlockReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.ItemStep;
Expand Down Expand Up @@ -666,6 +670,42 @@ public List<String> getCombatRequirements()
return Arrays.asList("Kruk (level 149, flinchable)", "Keef (level 178, safespottable)", "Kob (level 185, safespottable)", "9 Tortured gorillas (level 141)", "2 Demonic Gorillas (level 275)", "Glough (level 378)");
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(4);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Arrays.asList(
new ExperienceReward(Skill.SLAYER, 25000),
new ExperienceReward(Skill.AGILITY, 20000),
new ExperienceReward(Skill.THIEVING, 15000),
new ExperienceReward(Skill.HUNTER, 15000));
}

@Override
public List<ItemReward> getItemRewards()
{
return Arrays.asList(
new ItemReward("2 x 50,000 Experience Lamps (Any Combat Skill)", ItemID.ANTIQUE_LAMP, 2), //4447 is placeholder for filter
new ItemReward("A Royal Seed Pod", ItemID.ROYAL_SEED_POD, 1),
new ItemReward("A pet monkey", ItemID.MONKEY_19556, 1));
}

@Override
public List<UnlockReward> getUnlockRewards()
{
return Arrays.asList(
new UnlockReward("Access to Demonic Gorillas"),
new UnlockReward("A new Gnome Glider location"),
new UnlockReward("Access to a bank on Ape Atoll"),
new UnlockReward("Ability to wield the Heavy Ballista"),
new UnlockReward("Access to Maniacal Monkey hunting area"));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
22 changes: 22 additions & 0 deletions src/main/java/com/questhelper/quests/monksfriend/MonksFriend.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
import com.questhelper.requirements.Requirement;
import com.questhelper.requirements.ZoneRequirement;
import com.questhelper.requirements.conditional.Conditions;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.NpcStep;
Expand All @@ -47,6 +50,7 @@
import net.runelite.api.ItemID;
import net.runelite.api.NpcID;
import net.runelite.api.ObjectID;
import net.runelite.api.Skill;
import net.runelite.api.coords.WorldPoint;

@QuestDescriptor(
Expand Down Expand Up @@ -153,6 +157,24 @@ public List<ItemRequirement> getItemRecommended()
return reqs;
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(1);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Collections.singletonList(new ExperienceReward(Skill.WOODCUTTING, 2000));
}

@Override
public List<ItemReward> getItemRewards()
{
return Collections.singletonList(new ItemReward("8 Law Runes", ItemID.LAW_RUNE, 8));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
import com.questhelper.requirements.ZoneRequirement;
import com.questhelper.requirements.conditional.Conditions;
import com.questhelper.requirements.util.Operation;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.rewards.UnlockReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.NpcStep;
Expand Down Expand Up @@ -398,6 +402,32 @@ public List<Requirement> getGeneralRequirements()
return Collections.singletonList(new SkillRequirement(Skill.AGILITY, 20, true));
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(2);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Arrays.asList(
new ExperienceReward(Skill.ATTACK, 1000),
new ExperienceReward(Skill.PRAYER, 2000));
}

@Override
public List<ItemReward> getItemRewards()
{
return Collections.singletonList(new ItemReward("A Bearhead", ItemID.BEARHEAD, 1));
}

@Override
public List<UnlockReward> getUnlockRewards()
{
return Collections.singletonList(new UnlockReward("Access to the Mountain Camp"));
}

@Override
public List<PanelDetails> getPanels()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
import com.questhelper.requirements.item.ItemOnTileRequirement;
import com.questhelper.requirements.var.VarbitRequirement;
import com.questhelper.requirements.ZoneRequirement;
import com.questhelper.rewards.ExperienceReward;
import com.questhelper.rewards.ItemReward;
import com.questhelper.rewards.QuestPointReward;
import com.questhelper.rewards.UnlockReward;
import com.questhelper.steps.ConditionalStep;
import com.questhelper.steps.DetailedQuestStep;
import com.questhelper.steps.ObjectStep;
Expand Down Expand Up @@ -455,6 +459,33 @@ public List<Requirement> getGeneralRequirements()
return req;
}

@Override
public QuestPointReward getQuestPointReward()
{
return new QuestPointReward(2);
}

@Override
public List<ExperienceReward> getExperienceRewards()
{
return Arrays.asList(
new ExperienceReward(Skill.THIEVING, 25000),
new ExperienceReward(Skill.HITPOINTS, 25000));
}

@Override
public List<ItemReward> getItemRewards()
{
return Collections.singletonList(new ItemReward("Elven Teleport Crystal", ItemID.TELEPORT_CRYSTAL_4, 1));
}

@Override
public List<UnlockReward> getUnlockRewards()
{
return Collections.singletonList(new UnlockReward("Access to the Mourner HQ"));
}


@Override
public List<PanelDetails> getPanels()
{
Expand Down
Loading

0 comments on commit 98ba816

Please sign in to comment.