public override void OnDoubleClick(Mobile from)
 {
     if (IsChildOf(from.Backpack))
     {
         ColoredAnvil anvil = new ColoredAnvil(Hue);
         from.Backpack.DropItem(anvil);
     }
     else
     {
         from.SendLocalizedMessage(1042001);                   // That must be in your pack for you to use it.
     }
 }
Beispiel #2
0
 public override void OnDoubleClick( Mobile from )
 {
     if ( IsChildOf( from.Backpack ) )
     {
         ColoredAnvil anvil = new ColoredAnvil( Hue );
         from.Backpack.DropItem( anvil );
         this.Delete();
     }
     else
     {
         from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
     }
 }