public HerbJarsGump( PlayerMobile from, HerbJars box ) : base( 25, 25 ) { m_From = from; m_Box = box; m_From.CloseGump( typeof( HerbJarsGump ) ); AddPage( 0 ); AddBackground( 12, 19, 425, 380, 9250); AddLabel( 100, 30, 173, @"Herb and Spice Jars"); AddLabel( 60, 50, 32, @"Add Item"); AddButton( 25, 50, 4005, 4007, 1, GumpButtonType.Reply, 0); AddLabel( 60, 75, 32, @"Close"); AddButton( 25, 75, 4005, 4007, 0, GumpButtonType.Reply, 0); AddLabel( 60, 115, 53, @"Anise"); AddLabel( 200, 115, 0x480, box.Anise.ToString() ); AddButton( 25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0); AddLabel( 60, 135, 53, @"Basil"); AddLabel( 200, 135, 0x480, box.Basil.ToString() ); AddButton( 25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0); AddLabel( 60, 155, 53, @"Bay Leaves"); AddLabel( 200, 155, 0x480, box.BayLeaf.ToString() ); AddButton( 25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0); AddLabel( 60, 175, 53, @"Chamomile"); AddLabel( 200, 175, 0x480, box.Chamomile.ToString() ); AddButton( 25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0); AddLabel( 60, 195, 53, @"Caraway"); AddLabel( 200, 195, 0x480, box.Caraway.ToString() ); AddButton( 25, 195, 4005, 4007, 7, GumpButtonType.Reply, 0); AddLabel( 60, 215, 53, @"Cilantro"); AddLabel( 200, 215, 0x480, box.Cilantro.ToString() ); AddButton( 25, 215, 4005, 4007, 8, GumpButtonType.Reply, 0); AddLabel( 60, 235, 53, @"Cinnamon"); AddLabel( 200, 235, 0x480, box.Cinnamon.ToString() ); AddButton( 25, 235, 4005, 4007, 9, GumpButtonType.Reply, 0); AddLabel( 60, 255, 53, @"Clove"); AddLabel( 200, 255, 0x480, box.Clove.ToString() ); AddButton( 25, 255, 4005, 4007, 10, GumpButtonType.Reply, 0); AddLabel( 60, 275, 53, @"Copal"); AddLabel( 200, 275, 0x480, box.Copal.ToString() ); AddButton( 25, 275, 4005, 4007, 11, GumpButtonType.Reply, 0); AddLabel( 60, 295, 53, @"Coriander"); AddLabel( 200, 295, 0x480, box.Coriander.ToString() ); AddButton( 25, 295, 4005, 4007, 12, GumpButtonType.Reply, 0); AddLabel( 60, 315, 53, @"Dill"); AddLabel( 200, 315, 0x480, box.Dill.ToString() ); AddButton( 25, 315, 4005, 4007, 13, GumpButtonType.Reply, 0); AddLabel( 60, 335, 53, @"Lavender"); AddLabel( 200, 335, 0x480, box.Lavender.ToString() ); AddButton( 25, 335, 4005, 4007, 14, GumpButtonType.Reply, 0); AddLabel( 60, 355, 53, @"Marjoram"); AddLabel( 200, 355, 0x480, box.Marjoram.ToString() ); AddButton( 25, 355, 4005, 4007, 15, GumpButtonType.Reply, 0); AddLabel( 260, 115, 53, @"Mint"); AddLabel( 400, 115, 0x480, box.Mint.ToString() ); AddButton( 225, 115, 4005, 4007, 16, GumpButtonType.Reply, 0); AddLabel( 260, 135, 53, @"Mugwort"); AddLabel( 400, 135, 0x480, box.Mugwort.ToString() ); AddButton( 225, 135, 4005, 4007, 17, GumpButtonType.Reply, 0); AddLabel( 260, 155, 53, @"Mustard"); AddLabel( 400, 155, 0x480, box.Mustard.ToString() ); AddButton( 225, 155, 4005, 4007, 18, GumpButtonType.Reply, 0); AddLabel( 260, 175, 53, @"Olive"); AddLabel( 400, 175, 0x480, box.Olive.ToString() ); AddButton( 225, 175, 4005, 4007, 19, GumpButtonType.Reply, 0); AddLabel( 260, 195, 53, @"Oregano"); AddLabel( 400, 195, 0x480, box.Oregano.ToString() ); AddButton( 225, 195, 4005, 4007, 20, GumpButtonType.Reply, 0); AddLabel( 260, 215, 53, @"Peppercorn"); AddLabel( 400, 215, 0x480, box.Peppercorn.ToString() ); AddButton( 225, 215, 4005, 4007, 21, GumpButtonType.Reply, 0); AddLabel( 260, 235, 53, @"Rose"); AddLabel( 400, 235, 0x480, box.RoseHerb.ToString() ); AddButton( 225, 235, 4005, 4007, 22, GumpButtonType.Reply, 0); AddLabel( 260, 255, 53, @"Rosemary"); AddLabel( 400, 255, 0x480, box.Rosemary.ToString() ); AddButton( 225, 255, 4005, 4007, 23, GumpButtonType.Reply, 0); AddLabel( 260, 275, 53, @"Saffron"); AddLabel( 400, 275, 0x480, box.Saffron.ToString() ); AddButton( 225, 275, 4005, 4007, 24, GumpButtonType.Reply, 0); AddLabel( 260, 295, 53, @"Sage"); AddLabel( 400, 295, 0x480, box.Sage.ToString() ); AddButton( 225, 295, 4005, 4007, 25, GumpButtonType.Reply, 0); AddLabel( 260, 315, 53, @"Thyme"); AddLabel( 400, 315, 0x480, box.Thyme.ToString() ); AddButton( 225, 315, 4005, 4007, 26, GumpButtonType.Reply, 0); AddLabel( 260, 335, 53, @"Valerian"); AddLabel( 400, 335, 0x480, box.Valerian.ToString() ); AddButton( 225, 335, 4005, 4007, 27, GumpButtonType.Reply, 0); AddLabel( 260, 355, 53, @"Willow Bark"); AddLabel( 400, 355, 0x480, box.WillowBark.ToString() ); AddButton( 225, 355, 4005, 4007, 28, GumpButtonType.Reply, 0); }
public HerbJarsTarget( HerbJars box ) : base( 18, false, TargetFlags.None ) { m_Box = box; }