ConversationStates.INFORMATION_1,
"Please repeat:\r\n \"A circle is round,\"",
null);
npc.add(ConversationStates.INFORMATION_1,
"",
new TriggerExactlyInListCondition("A circle is round,", "A circle is round"),
ConversationStates.INFORMATION_2, "\"it has no end.\"",
null);
npc.add(ConversationStates.INFORMATION_2,
"",
new TriggerExactlyInListCondition("it has no end.", "it has no end"),
ConversationStates.INFORMATION_3,
"\"That's how long,\"", null);
npc.add(ConversationStates.INFORMATION_3,
"",
new TriggerExactlyInListCondition(
"That's how long,", "That's how long",
"Thats how long,", "Thats how long"),
ConversationStates.INFORMATION_4,
"\"I will be your friend.\"", null);
ChatAction reward = new MultipleActions(new IncreaseKarmaAction(10), new IncreaseXPAction(25), new SetQuestToYearAction("susi"));
npc.add(ConversationStates.INFORMATION_4,
"",
new TriggerExactlyInListCondition("I will be your friend.", "I will be your friend"),
ConversationStates.ATTENDING,
"Yay! We are friends now.",
reward);
}