forked from 2009Scape/Server
Locked claw smithing behind Death Plateau quest
This commit is contained in:
parent
abe55aa7f3
commit
3b0360eb01
1 changed files with 7 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ import core.game.world.map.Location;
|
|||
import core.game.world.update.flag.context.Animation;
|
||||
import core.tools.StringUtils;
|
||||
|
||||
import static core.api.ContentAPIKt.hasRequirement;
|
||||
import static core.api.ContentAPIKt.sendDialogue;
|
||||
|
||||
/**
|
||||
* Represents the pulse used to smith a bar.
|
||||
*
|
||||
|
|
@ -68,6 +71,10 @@ public class SmithingPulse extends SkillPulse<Item> {
|
|||
player.getDialogueInterpreter().sendDialogue("You need to complete Tourist Trap to smith dart tips.");
|
||||
return false;
|
||||
}
|
||||
if (!hasRequirement(player, "Death Plateau", false) && bar.getSmithingType() == SmithingType.TYPE_CLAWS) {
|
||||
sendDialogue(player, "You need to complete Death Plateau to smith claws.");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue