mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-16 03:20:19 -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;
|
stage = 23;
|
||||||
break;
|
break;
|
||||||
case 23:
|
case 23:
|
||||||
|
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.");
|
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;
|
stage = 24;
|
||||||
|
} else {
|
||||||
|
end();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 24:
|
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.");
|
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
|
@Override
|
||||||
public boolean handle(Player player, Node node, String option) {
|
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));
|
Consumable consumable = Consumables.forConsumable(((Item) node));
|
||||||
if (consumable == null) {
|
if (consumable == null) {
|
||||||
String name = node.getName().toLowerCase();
|
String name = node.getName().toLowerCase();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue