henry.add(ConversationStates.QUEST_OFFERED,
ConversationPhrases.YES_MESSAGES, null,
ConversationStates.ATTENDING,
"Thank you! I'll be waiting for your return.",
new SetQuestAndModifyKarmaAction(QUEST_SLOT, "start", 5.0));
henry.add(
ConversationStates.QUEST_OFFERED,
"group",
null,
ConversationStates.QUEST_OFFERED,
"The General sent five of us to explore this area in search for #treasure. So, will you help me find them?",
null);
henry.add(
ConversationStates.QUEST_OFFERED,
"treasure",
null,
ConversationStates.QUEST_OFFERED,
"A big treasure is rumored to be #somewhere in this dungeon. Will you help me find my group?",
null);
henry.add(ConversationStates.QUEST_OFFERED,
ConversationPhrases.NO_MESSAGES, null,
ConversationStates.ATTENDING,
"OK. I understand. I'm scared of the #dwarves myself.",
new SetQuestAndModifyKarmaAction(QUEST_SLOT, "rejected", -5.0));
final List<ChatAction> actions = new LinkedList<ChatAction>();
actions.add(new IncreaseXPAction(2500));
actions.add(new DropInfostringItemAction("leather legs","tom"));
actions.add(new DropInfostringItemAction("scale armor","peter"));