public override void OnMovement(Mobile m, Point3D oldLocation) { if (this.SoundSquelch) { return; } //Don't trigger statuettes by hidden staff members if (m.AccessLevel >= AccessLevel.Counselor && m.Hidden) { return; } if (m.InRange(this, 2)) { StatuetteInfo info = StatuetteInfo.GetInfo(m_Type); int random = Utility.Random(info.SoundID.Length); Effects.PlaySound(this, this.Map, info.SoundID[random]); } }
public void Rebuild() { this.ItemID = StatuetteInfo.GetInfo(m_Type).ModelID; }