npc.add(ConversationStates.QUEST_OFFERED,
ConversationPhrases.YES_MESSAGES, null,
ConversationStates.ATTENDING,
"Oh, great! I am really hungry and thirsty. 3 #sandwiches, 3 bottles of #beer and 3 glasses of #wine should be enough. Please bring it to me and say #food!",
new SetQuestAndModifyKarmaAction(QUEST_SLOT, "start", 5.0));
// Player says no, they've lost karma.
npc.add(ConversationStates.QUEST_OFFERED,
ConversationPhrases.NO_MESSAGES, null, ConversationStates.IDLE,
"Oh, thats not nice... but ok. Maybe the next visitor can help me.",
new SetQuestAndModifyKarmaAction(QUEST_SLOT, "rejected", -10.0));
npc.addReply("beer", "In an INN of course!");
npc.addReply("wine", "In an INN of course!");
npc.addReply(Arrays.asList("sandwiches", "sandwich"), "Come on, ask in a bakery!");
}