public override void OnDoubleClick( Mobile from ) { Eggs eg = new Eggs(); eg.MoveToWorld( this.Location, this.Map ); }
protected override void OnTick() { if (Mare.Map != Map.Internal) { Eggs eggs = new Eggs(); eggs.MoveToWorld( Mare.Location, Mare.Map ); Effects.PlaySound( Mare.Location, Mare.Map, 110);//Can change number of sound played 110 = chicken cluck Mare.PublicOverheadMessage( MessageType.Regular, 62, true, "Cluck" );//FYI: Mare.PublicOverheadMessage( MessageType.Regular, 62 this is for the hue colot, true is for cursive, "Cluck" ); } else { Effects.PlaySound( Mare.Location, Mare.Map, 130);//Can change number of sound played, 130 = Moose sound Mare.PublicOverheadMessage( MessageType.Regular, 38, true, "Eggs spawning on internal Map. Tell a GM." ); } }