ConversationStates.ATTENDING,
"Wonderful! You must have good #karma.",
new MultipleActions(
new IncreaseKarmaAction(5.0),
new SetQuestAction(QUEST_SLOT, "done"),
new EnableFeatureAction("karma_indicator")));
// player is not willing to help other people
// player gets a little karma removed
npc.add(ConversationStates.QUEST_OFFERED,
ConversationPhrases.NO_MESSAGES, null,
ConversationStates.ATTENDING,
"I knew it ... you probably have bad #karma.",
new MultipleActions(
new DecreaseKarmaAction(10.0),
new SetQuestAction(QUEST_SLOT, "done"),
new EnableFeatureAction("karma_indicator")));
// player wants to know what karma is
npc.add(
ConversationStates.ATTENDING,
"karma",