public override void OnAccept() { if (m_Boat == null) { RemoveQuest(false); return; } m_Crate = new ShippingCrate(this); if (m_Boat is BaseGalleon) ((BaseGalleon)m_Boat).GalleonHold.DropItem(m_Crate); else m_Boat.Hold.DropItem(m_Crate); base.OnAccept(); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); m_TurnIn = reader.ReadMobile() as FishMonger; m_Boat = reader.ReadItem() as BaseBoat; m_Crate = reader.ReadItem() as ShippingCrate; if (m_Crate != null) m_Crate.AddQuest(this); switch (reader.ReadInt()) { case 0: m_Title = reader.ReadString(); break; case 1: m_Title = reader.ReadInt(); break; } AddReward(new BaseReward(1116510)); //A rare reward from the Order of the Dragonfish. }