public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadEncodedInt(); m_Organ = reader.ReadItem <PlagueBeastOrgan>(); }
public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadEncodedInt(); m_Organ = reader.ReadItem<PlagueBeastOrgan>(); }
public override bool OnDragLift(Mobile from) { if (IsAccessibleTo(from)) { if (m_Organ != null && m_Organ.OnLifted(from, this)) { from.SendLocalizedMessage(IsGland ? 1071895 : 1071914, null, 0x3B2); // * You rip the organ out of the plague beast's flesh * if (m_Organ.Components.Contains(this)) { m_Organ.Components.Remove(this); } m_Organ = null; from.PlaySound(0x1CA); } return(true); } return(false); }
public override bool OnDragLift(Mobile from) { if (this.IsAccessibleTo(from)) { if (this.m_Organ != null && this.m_Organ.OnLifted(from, this)) { from.SendLocalizedMessage(this.IsGland ? 1071895 : 1071914, null, 0x3B2); // * You rip the organ out of the plague beast's flesh * if (this.m_Organ.Components.Contains(this)) this.m_Organ.Components.Remove(this); this.m_Organ = null; from.PlaySound(0x1CA); } return true; } return false; }