Ejemplo n.º 1
0
 public ResourceStorageKeyMasonryTarget(ResourceStorageKeyMasonry key)
     : base(18, false, TargetFlags.None)
 {
     m_Key = key;
 }
 public ResourceStorageKeyMasonryTarget(ResourceStorageKeyMasonry key)
     : base(18, false, TargetFlags.None)
 {
     m_Key = key;
 }
Ejemplo n.º 3
0
        public ResourceStorageKeyMasonryGump(PlayerMobile from, ResourceStorageKeyMasonry key)
            : base(25, 25)
        {
            m_From = from;
            m_Key  = key;

            m_From.CloseGump(typeof(ResourceStorageKeyMasonryGump));

            AddPage(0);

            AddBackground(50, 10, 455, 260 + 100, 5054);
            AddImageTiled(58, 20, 438, 241 + 100, 2624);
            AddAlphaRegion(58, 20, 438, 241 + 100);

            AddLabel(227, 25, 88, "Masonry Warehouse");
// Kazuha
            AddLabel(125, 50, 0x486, "Withdraw Increment:");
            AddLabel(275, 50, 0x480, key.WithdrawIncrement.ToString());
            AddButton(330, 50, 4011, 4012, 26, GumpButtonType.Reply, 0);
            AddButton(360, 50, 4011, 4012, 27, GumpButtonType.Reply, 0);
            AddButton(390, 50, 4011, 4012, 28, GumpButtonType.Reply, 0);
// /Kazuha

            AddLabel(125, 75, 0x486, "Granite");
            AddLabel(225, 75, 0x480, key.Granite.ToString());
            AddButton(75, 75, 4005, 4007, 1, GumpButtonType.Reply, 0);

            AddLabel(125, 100, 0x486, "Dull Copper");
            AddLabel(225, 100, 0x480, key.DullCopper.ToString());
            AddButton(75, 100, 4005, 4007, 2, GumpButtonType.Reply, 0);

            AddLabel(125, 125, 0x486, "Shadow Iron");
            AddLabel(225, 125, 0x480, key.ShadowIron.ToString());
            AddButton(75, 125, 4005, 4007, 3, GumpButtonType.Reply, 0);

            AddLabel(125, 150, 0x486, "Copper");
            AddLabel(225, 150, 0x480, key.Copper.ToString());
            AddButton(75, 150, 4005, 4007, 4, GumpButtonType.Reply, 0);

            AddLabel(125, 175, 0x486, "Bronze");
            AddLabel(225, 175, 0x480, key.Bronze.ToString());
            AddButton(75, 175, 4005, 4007, 5, GumpButtonType.Reply, 0);

            AddLabel(125, 200, 0x486, "Gold");
            AddLabel(225, 200, 0x480, key.Gold.ToString());
            AddButton(75, 200, 4005, 4007, 6, GumpButtonType.Reply, 0);

            AddLabel(125, 225, 0x486, "Agapite");
            AddLabel(225, 225, 0x480, key.Agapite.ToString());
            AddButton(75, 225, 4005, 4007, 7, GumpButtonType.Reply, 0);

            AddLabel(125, 250, 0x486, "Verite");
            AddLabel(225, 250, 0x480, key.Verite.ToString());
            AddButton(75, 250, 4005, 4007, 8, GumpButtonType.Reply, 0);

            AddLabel(325, 75, 0x486, "Valorite");
            AddLabel(425, 75, 0x480, key.Valorite.ToString());
            AddButton(275, 75, 4005, 4007, 9, GumpButtonType.Reply, 0);

//            AddLabel(325, 75, 0x486, "Fluorite");
//            AddLabel(425, 75, 0x480, key.Fluorite.ToString());
//            AddButton(275, 75, 4005, 4007, 10, GumpButtonType.Reply, 0);
//
//            AddLabel(325, 100, 0x486, "Platinum");
//            AddLabel(425, 100, 0x480, key.Platinum.ToString());
//            AddButton(275, 100, 4005, 4007, 11, GumpButtonType.Reply, 0);

            AddLabel(325, 275, 88, "Each Max:");
            AddLabel(425, 275, 0x480, key.StorageLimit.ToString());

            AddLabel(325, 300, 88, "Add Granite");
            AddButton(275, 300, 4005, 4007, 15, GumpButtonType.Reply, 0);

            AddLabel(325, 325, 88, "Collect all from backpack");
            AddButton(275, 325, 4005, 4007, 16, GumpButtonType.Reply, 0);
        }
        public ResourceStorageKeyMasonryGump(PlayerMobile from, ResourceStorageKeyMasonry key)
            : base(25, 25)
        {
            m_From = from;
            m_Key = key;

            m_From.CloseGump(typeof(ResourceStorageKeyMasonryGump));

            AddPage(0);

            AddBackground(50, 10, 455, 260 + 100, 5054);
            AddImageTiled(58, 20, 438, 241 + 100, 2624);
            AddAlphaRegion(58, 20, 438, 241 + 100);

            AddLabel(227, 25, 88, "Masonry Warehouse");
// Kazuha 
	    AddLabel(125, 50, 0x486, "Withdraw Increment:");
	    AddLabel(275, 50, 0x480, key.WithdrawIncrement.ToString());
	    AddButton(330, 50, 4011, 4012, 26, GumpButtonType.Reply, 0);
	    AddButton(360, 50, 4011, 4012, 27, GumpButtonType.Reply, 0);
	    AddButton(390, 50, 4011, 4012, 28, GumpButtonType.Reply, 0);
// /Kazuha

            AddLabel(125, 75, 0x486, "Granite");
            AddLabel(225, 75, 0x480, key.Granite.ToString());
            AddButton(75, 75, 4005, 4007, 1, GumpButtonType.Reply, 0);

            AddLabel(125, 100, 0x486, "Dull Copper");
            AddLabel(225, 100, 0x480, key.DullCopper.ToString());
            AddButton(75, 100, 4005, 4007, 2, GumpButtonType.Reply, 0);

            AddLabel(125, 125, 0x486, "Shadow Iron");
            AddLabel(225, 125, 0x480, key.ShadowIron.ToString());
            AddButton(75, 125, 4005, 4007, 3, GumpButtonType.Reply, 0);

            AddLabel(125, 150, 0x486, "Copper");
            AddLabel(225, 150, 0x480, key.Copper.ToString());
            AddButton(75, 150, 4005, 4007, 4, GumpButtonType.Reply, 0);

            AddLabel(125, 175, 0x486, "Bronze");
            AddLabel(225, 175, 0x480, key.Bronze.ToString());
            AddButton(75, 175, 4005, 4007, 5, GumpButtonType.Reply, 0);

            AddLabel(125, 200, 0x486, "Gold");
            AddLabel(225, 200, 0x480, key.Gold.ToString());
            AddButton(75, 200, 4005, 4007, 6, GumpButtonType.Reply, 0);

            AddLabel(125, 225, 0x486, "Agapite");
            AddLabel(225, 225, 0x480, key.Agapite.ToString());
            AddButton(75, 225, 4005, 4007, 7, GumpButtonType.Reply, 0);

            AddLabel(125, 250, 0x486, "Verite");
            AddLabel(225, 250, 0x480, key.Verite.ToString());
            AddButton(75, 250, 4005, 4007, 8, GumpButtonType.Reply, 0);

            AddLabel(325, 75, 0x486, "Valorite");
            AddLabel(425, 75, 0x480, key.Valorite.ToString());
            AddButton(275, 75, 4005, 4007, 9, GumpButtonType.Reply, 0);

//            AddLabel(325, 75, 0x486, "Fluorite");
//            AddLabel(425, 75, 0x480, key.Fluorite.ToString());
//            AddButton(275, 75, 4005, 4007, 10, GumpButtonType.Reply, 0);
//
//            AddLabel(325, 100, 0x486, "Platinum");
//            AddLabel(425, 100, 0x480, key.Platinum.ToString());
//            AddButton(275, 100, 4005, 4007, 11, GumpButtonType.Reply, 0);
			
            AddLabel(325, 275, 88, "Each Max:");
            AddLabel(425, 275, 0x480, key.StorageLimit.ToString());

            AddLabel(325, 300, 88, "Add Granite");
            AddButton(275, 300, 4005, 4007, 15, GumpButtonType.Reply, 0);

            AddLabel(325, 325, 88, "Collect all from backpack");
            AddButton(275, 325, 4005, 4007, 16, GumpButtonType.Reply, 0);
        }