public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; switch (info.ButtonID) { case 0: { from.CloseGump(typeof(RunicGump)); break; } case 1: { Item item = new RunicHammer(CraftResource.DullCopper, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 2: { Item item = new RunicHammer(CraftResource.ShadowIron, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 3: { Item item = new RunicHammer(CraftResource.Copper, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 4: { Item item = new RunicHammer(CraftResource.Bronze, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 5: { Item item = new RunicHammer(CraftResource.Gold, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 6: { Item item = new RunicHammer(CraftResource.Agapite, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 7: { Item item = new RunicHammer(CraftResource.Verite, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 8: { Item item = new RunicHammer(CraftResource.Valorite, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 9: { Item item = new RunicSewingKit(CraftResource.SpinedLeather, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 10: { Item item = new RunicSewingKit(CraftResource.HornedLeather, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 11: { Item item = new RunicSewingKit(CraftResource.BarbedLeather, 100); item.LootType = LootType.Blessed; from.AddToBackpack(item); break; } case 12: { Item item = new RunicBag(); from.AddToBackpack(item); break; } } }
public override void OnResponse( NetState state, RelayInfo info ) { Mobile from = state.Mobile; switch( info.ButtonID ) { case 0: { from.CloseGump( typeof( RunicGump ) ); break; } case 1: { Item item = new RunicHammer( CraftResource.DullCopper, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 2: { Item item = new RunicHammer( CraftResource.ShadowIron, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 3: { Item item = new RunicHammer( CraftResource.Copper, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 4: { Item item = new RunicHammer( CraftResource.Bronze, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 5: { Item item = new RunicHammer( CraftResource.Gold, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 6: { Item item = new RunicHammer( CraftResource.Agapite, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 7: { Item item = new RunicHammer( CraftResource.Verite, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 8: { Item item = new RunicHammer( CraftResource.Valorite, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 9: { Item item = new RunicSewingKit( CraftResource.SpinedLeather, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 10: { Item item = new RunicSewingKit( CraftResource.HornedLeather, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 11: { Item item = new RunicSewingKit( CraftResource.BarbedLeather, 100 ); item.LootType = LootType.Blessed; from.AddToBackpack( item ); break; } case 12: { Item item = new RunicBag(); from.AddToBackpack( item ); break; } } }