new NotCondition(new QuestStateStartsWithCondition(QUEST_SLOT, FORGING + "unbound")),
new TimePassedCondition(QUEST_SLOT,1,REQUIRED_MINUTES)),
ConversationStates.ATTENDING,
"I'm pleased to say, your ring of life is fixed! It's good as new now.",
new MultipleActions(
new IncreaseXPAction(500),
new SetQuestAction(QUEST_SLOT, "done"),
new EquipItemAction("emerald ring", 1, true)));
npc.add(ConversationStates.ATTENDING,
Arrays.asList("emerald ring", "life", "emerald"),
new AndCondition(new QuestStateStartsWithCondition(QUEST_SLOT, FORGING),
new QuestStateStartsWithCondition(QUEST_SLOT, FORGING + "unbound"),
new TimePassedCondition(QUEST_SLOT,1,REQUIRED_MINUTES)),
ConversationStates.ATTENDING,
"I'm pleased to say, your ring of life is fixed! It's good as new now.",
new MultipleActions(
new IncreaseXPAction(500),
new SetQuestAction(QUEST_SLOT, "done"),
new EquipItemAction("emerald ring", 1, false)));
npc.add(ConversationStates.ATTENDING,
Arrays.asList("emerald ring", "life", "emerald"),