mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-15 11:00:17 -07:00
parent
73e0500c30
commit
6708039fe4
2 changed files with 11 additions and 2 deletions
|
|
@ -156,8 +156,12 @@ public final class MissSchismDialogue extends DialoguePlugin {
|
|||
stage = 23;
|
||||
break;
|
||||
case 23:
|
||||
interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Well, now that I've cleared the vampire out of the manor,", "I guess you won't have to mutch trouble turning it into a", "museum.");
|
||||
stage = 24;
|
||||
if(player.getQuestRepository().isComplete("Vampire Slayer")) {
|
||||
interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Well, now that I've cleared the vampire out of the manor,", "I guess you won't have to mutch trouble turning it into a", "museum.");
|
||||
stage = 24;
|
||||
} else {
|
||||
end();
|
||||
}
|
||||
break;
|
||||
case 24:
|
||||
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "That's all very well dear, but no vampire was ever going to", "stop me making it a museum.");
|
||||
|
|
|
|||
|
|
@ -26,6 +26,11 @@ public final class EmptyOptionPlugin extends OptionHandler {
|
|||
|
||||
@Override
|
||||
public boolean handle(Player player, Node node, String option) {
|
||||
if(node.getId() == 2329){
|
||||
player.getInventory().remove(new Item(2329));
|
||||
player.getInventory().add(new Item(2313));
|
||||
}
|
||||
|
||||
Consumable consumable = Consumables.forConsumable(((Item) node));
|
||||
if (consumable == null) {
|
||||
String name = node.getName().toLowerCase();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue