public override bool OnDragDropInto(Mobile from, Item dropped, Point3D p) { if (dropped is BaseHighseasFish && m_Quest != null) { FishQuestObjective obj = m_Quest.GetObjective(); if (obj != null && obj.Update(dropped)) { return(base.OnDragDropInto(from, dropped, p)); } } from.SendLocalizedMessage(1072355, null, 0x23); // That item does not match any of your quest criteria return(false); }
public override bool OnDragDropInto(Mobile from, Item dropped, Point3D p) { if (dropped is BaseHighseasFish && Quest != null) { FishQuestObjective obj = Quest.GetObjective(); if (obj != null && obj.CheckLift(dropped) && base.OnDragDropInto(from, dropped, p)) { obj.Update(dropped); InvalidateProperties(); return(true); } } from.SendLocalizedMessage(1116461); // This is not needed to fill the order. return(false); }
public override bool OnDragDrop(Mobile from, Item dropped) { if (dropped is BaseHighseasFish && m_Quest != null) { FishQuestObjective obj = m_Quest.GetObjective(); if (obj != null && obj.CheckLift(dropped) && base.OnDragDrop(from, dropped)) { obj.Update(dropped); InvalidateProperties(); return(true); } } from.SendLocalizedMessage(1072355, null, 0x23); // That item does not match any of your quest criteria return(false); }
public override bool OnStackAttempt(Mobile from, Item stack, Item dropped) { if (dropped is BaseHighseasFish && m_Quest != null) { FishQuestObjective obj = m_Quest.GetObjective(); if (obj != null) { if (obj.Update(dropped) && base.OnStackAttempt(from, stack, dropped)) { return(true); } } } from.SendLocalizedMessage(1072355, null, 0x23); // That item does not match any of your quest criteria return(false); }