Esempio n. 1
0
            public SetClipModeEntry(Clippers clippers, bool enableCutReeds, int number, bool enabled)
                : base(number)
            {
                m_Clippers       = clippers;
                m_EnableCutReeds = enableCutReeds;

                if (!enabled)
                {
                    Flags |= CMEFlags.Disabled;
                }
            }
Esempio n. 2
0
        public TopiaryGump(PlantItem plant, Clippers clippers) : base(0, 0)
        {
            m_plant    = plant;
            m_clippers = clippers;

            AddPage(0);

            AddBackground(50, 89, 508, 195, 2600);

            AddLabel(103, 114, 0, @"Choose a Topiary:");

            AddButton(92, 155, 1209, 1210, 1, GumpButtonType.Reply, 0);
            AddItem(75, 178, 18713);

            AddButton(133, 155, 1209, 1210, 2, GumpButtonType.Reply, 0);
            AddItem(119, 178, 18714);

            AddButton(177, 155, 1209, 1210, 3, GumpButtonType.Reply, 0);
            AddItem(165, 182, 18715);

            AddButton(217, 155, 1209, 1210, 4, GumpButtonType.Reply, 0);
            AddItem(205, 182, 18736);

            AddButton(267, 155, 1209, 1210, 5, GumpButtonType.Reply, 0);
            AddItem(220, 133, 18813);

            AddButton(333, 155, 1209, 1210, 6, GumpButtonType.Reply, 0);
            AddItem(272, 133, 18814);

            AddButton(388, 155, 1209, 1210, 7, GumpButtonType.Reply, 0);
            AddItem(374, 178, 18784);

            AddButton(426, 155, 1209, 1210, 8, GumpButtonType.Reply, 0);
            AddItem(413, 175, 18713);

            AddButton(480, 155, 1209, 1210, 9, GumpButtonType.Reply, 0);
            AddItem(463, 176, 19369);
        }
Esempio n. 3
0
 public InternalTarget(Clippers item)
     : base(2, false, TargetFlags.None)
 {
     this.m_Item = item;
 }
Esempio n. 4
0
        public TopiaryGump(PlantItem plant, Clippers clippers) : base(0, 0)
        {
            m_plant = plant;
            m_clippers = clippers;

            AddPage(0);

            AddBackground(50, 89, 508, 195, 2600);

            AddLabel(103, 114, 0, @"Choose a Topiary:");

            AddButton(92, 155, 1209, 1210, 1, GumpButtonType.Reply, 0);
            AddItem(75, 178, 18713);

            AddButton(133, 155, 1209, 1210, 2, GumpButtonType.Reply, 0);
            AddItem(119, 178, 18714);

            AddButton(177, 155, 1209, 1210, 3, GumpButtonType.Reply, 0);
            AddItem(165, 182, 18715);

            AddButton(217, 155, 1209, 1210, 4, GumpButtonType.Reply, 0);
            AddItem(205, 182, 18736);

            AddButton(267, 155, 1209, 1210, 5, GumpButtonType.Reply, 0);
            AddItem(220, 133, 18813);

            AddButton(333, 155, 1209, 1210, 6, GumpButtonType.Reply, 0);
            AddItem(272, 133, 18814);

            AddButton(388, 155, 1209, 1210, 7, GumpButtonType.Reply, 0);
            AddItem(374, 178, 18784);

            AddButton(426, 155, 1209, 1210, 8, GumpButtonType.Reply, 0);
            AddItem(413, 175, 18713);

            AddButton(480, 155, 1209, 1210, 9, GumpButtonType.Reply, 0);
            AddItem(463, 176, 19369);
        }
Esempio n. 5
0
 public InternalTarget(Clippers clippers)
     : base(1, false, TargetFlags.None)
 {
     m_Clippers = clippers;
 }
Esempio n. 6
0
 public InternalTarget(Clippers item)
     : base(2, false, TargetFlags.None)
 {
     m_Item = item;
 }