npc.add(ConversationStates.QUESTION_1, "blue striped cloak", new QuestInStateCondition(mithrilcloak.getQuestSlot(), "taking_striped_cloak"),
ConversationStates.QUESTION_1, null,
new ChatAction() {
public void fire(final Player player, final Sentence sentence, final EventRaiser npc) {
if (player.drop("blue striped cloak")) {
npc.say("Oh, wait, that's from Ida isn't it?! Oh yay! Thank you! Please tell her thanks from me!!");
player.setQuest(mithrilcloak.getQuestSlot(), "gave_striped_cloak");
npc.setCurrentState(ConversationStates.ATTENDING);
} else {
npc.say("You don't have a blue striped cloak with you.");
}