npc.add(ConversationStates.ATTENDING, Arrays.asList("salva","knife","potion"),
new AndCondition(new QuestInStateCondition(QUEST_SLOT, "knife"),
new PlayerHasItemWithHimCondition("knife")),
ConversationStates.ATTENDING, "Very good! Now I need the items to make the love #potion. I need 3 lilia flowers, 1 sprig of kokuda, 1 glass of wine and 1 black pearl. Please bring them all together at once and then ask me to make the #potion.",
new MultipleActions(new SetQuestAction(QUEST_SLOT, "potion"), new DropItemAction("knife")));
npc.add(ConversationStates.ATTENDING, Arrays.asList("salva","knife","potion"),
new AndCondition(new QuestInStateCondition(QUEST_SLOT, "knife"),
new NotCondition(new PlayerHasItemWithHimCondition("knife"))),
ConversationStates.ATTENDING, "I see you have been to Hackim, but where is the magic knife?",
null);
final List<ChatAction> potionactions = new LinkedList<ChatAction>();
potionactions.add(new DropItemAction("lilia",3));
potionactions.add(new DropItemAction("kokuda"));
potionactions.add(new DropItemAction("wine"));
potionactions.add(new DropItemAction("black pearl"));
potionactions.add(new EquipItemAction("love potion"));
potionactions.add(new IncreaseXPAction(100));
potionactions.add(new SetQuestAction(QUEST_SLOT, "gotpotion"));
// don't make player wait for potion - could add this in later if wanted