public override bool OnDragDrop( Mobile from, Item dropped ) { Mobile m = from; PlayerMobile mobile = m as PlayerMobile; if( mobile != null ) { if( dropped is Level1Recommendation ) { Mobile NewMobile = new DiseasedRat(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna1Gump( mobile )); return true; } else if( dropped is Level2Recommendation ) { Mobile NewMobile = new BloodBat(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna2Gump( mobile )); return true; } else if( dropped is Level3Recommendation ) { Mobile NewMobile = new VileToad(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna3Gump( mobile )); return true; } else if( dropped is Level4Recommendation ) { Mobile NewMobile = new AlbinoSerpent(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna4Gump( mobile )); return true; } else if( dropped is Level5Recommendation ) { Mobile NewMobile = new EnragedBear(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna5Gump( mobile )); return true; } else if( dropped is Level6Recommendation ) { Mobile NewMobile = new DarkHarpy(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna6Gump( mobile )); return true; } else if( dropped is Level7Recommendation ) { Mobile NewMobile = new Ikitari(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna7Gump( mobile )); return true; } else if( dropped is Level8Recommendation ) { Mobile NewMobile = new Shezothin(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna8Gump( mobile )); return true; } else if( dropped is Level9Recommendation ) { Mobile NewMobile = new Moruli(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna9Gump( mobile )); return true; } else if( dropped is Level10Recommendation ) { Mobile NewMobile = new Argolan(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna10Gump( mobile )); return true; } else if( dropped is MasterRecommendation ) { Mobile NewMobile = new Grianthiam(); NewMobile.MoveToWorld( new Point3D( 6039, 359, 44 ), this.Map ); dropped.Delete(); mobile.SendGump( new Brianna11Gump( mobile )); return true; } else { mobile.SendMessage("I have no need for this item"); } } else { this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState ); } return false; }
public override bool OnDragDrop(Mobile from, Item dropped) { Mobile m = from; PlayerMobile mobile = m as PlayerMobile; if (mobile != null) { if (dropped is Level1Recommendation) { Mobile NewMobile = new DiseasedRat(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna1Gump(mobile)); return(true); } else if (dropped is Level2Recommendation) { Mobile NewMobile = new BloodBat(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna2Gump(mobile)); return(true); } else if (dropped is Level3Recommendation) { Mobile NewMobile = new VileToad(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna3Gump(mobile)); return(true); } else if (dropped is Level4Recommendation) { Mobile NewMobile = new AlbinoSerpent(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna4Gump(mobile)); return(true); } else if (dropped is Level5Recommendation) { Mobile NewMobile = new EnragedBear(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna5Gump(mobile)); return(true); } else if (dropped is Level6Recommendation) { Mobile NewMobile = new DarkHarpy(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna6Gump(mobile)); return(true); } else if (dropped is Level7Recommendation) { Mobile NewMobile = new Ikitari(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna7Gump(mobile)); return(true); } else if (dropped is Level8Recommendation) { Mobile NewMobile = new Shezothin(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna8Gump(mobile)); return(true); } else if (dropped is Level9Recommendation) { Mobile NewMobile = new Moruli(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna9Gump(mobile)); return(true); } else if (dropped is Level10Recommendation) { Mobile NewMobile = new Argolan(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna10Gump(mobile)); return(true); } else if (dropped is MasterRecommendation) { Mobile NewMobile = new Grianthiam(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Brianna11Gump(mobile)); return(true); } else { mobile.SendMessage("Tohle nepotrebuju."); } } else { this.PrivateOverheadMessage(MessageType.Regular, 1153, false, "Tohle nepotrebuju.", mobile.NetState); } return(false); }
public override bool OnDragDrop(Mobile from, Item dropped) { Mobile m = from; PlayerMobile mobile = m as PlayerMobile; if (mobile != null) { if (dropped is Level1GargoyleRecommendation) { Mobile NewMobile = new DiseasedRat(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar1Gump(mobile)); return(true); } else if (dropped is Level2GargoyleRecommendation) { Mobile NewMobile = new BloodBat(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar2Gump(mobile)); return(true); } else if (dropped is Level3GargoyleRecommendation) { Mobile NewMobile = new VileToad(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar3Gump(mobile)); return(true); } else if (dropped is Level4GargoyleRecommendation) { Mobile NewMobile = new AlbinoSerpent(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar4Gump(mobile)); return(true); } else if (dropped is Level5GargoyleRecommendation) { Mobile NewMobile = new EnragedBear(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar5Gump(mobile)); return(true); } else if (dropped is Level6GargoyleRecommendation) { Mobile NewMobile = new DarkHarpy(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar6Gump(mobile)); return(true); } else if (dropped is Level7GargoyleRecommendation) { Mobile NewMobile = new Ikitari(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar7Gump(mobile)); return(true); } else if (dropped is Level8GargoyleRecommendation) { Mobile NewMobile = new Shezothin(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar8Gump(mobile)); return(true); } else if (dropped is Level9GargoyleRecommendation) { Mobile NewMobile = new Moruli(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar9Gump(mobile)); return(true); } else if (dropped is Level10GargoyleRecommendation) { Mobile NewMobile = new Argolan(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar10Gump(mobile)); return(true); } else if (dropped is MasterGargoyleRecommendation) { Mobile NewMobile = new Grianthiam(); NewMobile.MoveToWorld(new Point3D(6039, 359, 44), this.Map); dropped.Delete(); mobile.SendGump(new Jaigar11Gump(mobile)); return(true); } else { mobile.SendMessage("I have no need for this item"); } } else { this.PrivateOverheadMessage(MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState); } return(false); }