final SpeakerNPC npc = npcs.get("Balduin");
npc.add(ConversationStates.IDLE,
ConversationPhrases.GREETING_MESSAGES,
new AndCondition(new GreetingMatchesNameCondition(npc.getName()),
new QuestActiveCondition(QUEST_SLOT)),
ConversationStates.QUEST_ITEM_QUESTION,
"Did you bring me that very rare item I asked you for?",
null);
npc.add(ConversationStates.QUEST_ITEM_QUESTION,
ConversationPhrases.YES_MESSAGES,
new AndCondition(new QuestActiveCondition(QUEST_SLOT),
new NotCondition(new PlayerHasRecordedItemWithHimCondition(QUEST_SLOT))),
ConversationStates.ATTENDING,
null,
new SayRequiredItemAction(QUEST_SLOT, "Hm, no, you don't have [item], don't try to fool me!"));
npc.add(ConversationStates.QUEST_ITEM_QUESTION,
ConversationPhrases.YES_MESSAGES,
new AndCondition(new QuestActiveCondition(QUEST_SLOT),
new PlayerHasRecordedItemWithHimCondition(QUEST_SLOT)),
ConversationStates.ATTENDING,
"Wow, it's incredible to see this close up! Many thanks. Now, perhaps we can #deal together.",
new MultipleActions(new DropRecordedItemAction(QUEST_SLOT),
new SetQuestAction(QUEST_SLOT, "done"),