This commit is contained in:
Ceikry 2020-03-27 23:39:52 -05:00
parent 73e0500c30
commit 6708039fe4
2 changed files with 11 additions and 2 deletions

View file

@ -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.");

View file

@ -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();