Exemplo n.º 1
0
            /*this is my problem's how to give the items properties to the target ?*/
            /*reponse faut tous refaire ou presque ,c'est simple il parait....    ?*/

            public InternalInTarget(Mobile from, FermentationBarrel t)
                : base(10, false, TargetFlags.None)
            {
                this.from           = from;
                this.barrel         = t;
                Quantity            = t.quantity;
                QuantityMax         = t.quantitymax;
                IdIngredient        = t.idingredient;
                FermentationEnCours = t.fermentationencours;
            }
Exemplo n.º 2
0
            public Rename(Mobile m, FermentationBarrel barrel)
                : base(1157233, 2) // Rename Vintage
            {
                m_Mobile = m;
                _Barrel  = barrel;

                if (_Barrel.Fermenting)
                {
                    Flags |= CMEFlags.Disabled;
                }
            }
Exemplo n.º 3
0
            public BeginFermentation(Mobile m, FermentationBarrel barrel)
                : base(1157231, 2) // Begin Fermentation
            {
                m_Mobile = m;
                _Barrel  = barrel;

                if (_Barrel.Fermenting)
                {
                    Flags |= CMEFlags.Disabled;
                }
            }
Exemplo n.º 4
0
 public InternalOutTarget(Mobile from, FermentationBarrel t)
     : base(5, false, TargetFlags.None)
 {
     this.from           = from;
     this.barrel         = t;
     Quantity            = t.quantity;
     QuantityMax         = t.quantitymax;
     IdIngredient        = t.idingredient;
     FermentationEnCours = t.fermentationencours;
     FermentationSuccess = t.fermentationsuccess;
     FermentationDone    = t.fermentationdone;
 }
Exemplo n.º 5
0
            public RenameGump(FermentationBarrel barrel)
                : base(0, 0)
            {
                _Barrel = barrel;

                AddBackground(50, 50, 400, 200, 0xA28);

                AddPage(0);

                AddHtmlLocalized(125, 70, 400, 20, 1157242, 0x0, false, false); // What do you wish to call this vintage?
                AddButton(125, 200, 0x81A, 0x81B, 1, GumpButtonType.Reply, 0);
                AddButton(320, 200, 0x819, 0x818, 0, GumpButtonType.Reply, 0);
                AddImageTiled(75, 125, 350, 40, 0xDB0);
                AddImageTiled(76, 125, 350, 2, 0x23C5);
                AddImageTiled(75, 125, 2, 40, 0x23C3);
                AddImageTiled(75, 165, 350, 2, 0x23C5);
                AddImageTiled(425, 125, 2, 42, 0x23C3);
                AddTextEntry(78, 126, 343, 37, 0x47D, 15, "", 20);
            }
Exemplo n.º 6
0
 public EmptyBarrel(Mobile m, FermentationBarrel barrel)
     : base(1157232, 2) // Empty Barrel
 {
     m_Mobile = m;
     _Barrel  = barrel;
 }
Exemplo n.º 7
0
 public InternalOutTarget(Mobile from, FermentationBarrel t)
     : base(5, false, TargetFlags.None)
 {
     this.from = from;
     this.barrel = t;
     Quantity = t.quantity;
     QuantityMax = t.quantitymax;
     IdIngredient = t.idingredient;
     FermentationEnCours = t.fermentationencours;
     FermentationSuccess = t.fermentationsuccess;
     FermentationDone = t.fermentationdone;
 }
Exemplo n.º 8
0
            /*this is my problem's how to give the items properties to the target ?*/
            /*reponse faut tous refaire ou presque ,c'est simple il parait....    ?*/

            public InternalInTarget(Mobile from, FermentationBarrel t)
                : base(10, false, TargetFlags.None)
            {
                this.from = from;
                this.barrel = t;
                Quantity = t.quantity;
                QuantityMax = t.quantitymax;
                IdIngredient = t.idingredient;
                FermentationEnCours = t.fermentationencours;

            }
Exemplo n.º 9
0
        public timerDistillerie(FermentationBarrel m_TimerDistillerie)  : base(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(10), 100)
            //base( TimeSpan.FromSeconds(delai avant premier tick),TimeSpan.FromSeconds(durée du tick),nombre de répétition)
		{
			Priority = TimerPriority. FiftyMS ;
            barrelDistiTimer = m_TimerDistillerie;
		}
Exemplo n.º 10
0
 public timerDistillerie(FermentationBarrel m_TimerDistillerie)  : base(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(10), 100)
     //base( TimeSpan.FromSeconds(delai avant premier tick),TimeSpan.FromSeconds(durée du tick),nombre de répétition)
 {
     Priority         = TimerPriority.FiftyMS;
     barrelDistiTimer = m_TimerDistillerie;
 }