public CancelGump(PlayerMobile from, ForgedMetalOfArtifacts tool) : base(50, 50) { m_Mobile = from; m_Tool = tool; AddPage(0); AddBackground(0, 0, 400, 155, 0x13BE); AddImageTiled(5, 5, 390, 25, 0xA40); AddHtmlLocalized(5, 8, 390, 25, 1113302, "#1149868", 0x7FFF, false, false); // <CENTER>~1_VAL~</CENTER> AddImageTiled(5, 35, 390, 52, 0xA40); AddHtmlLocalized(10, 40, 380, 52, 1149967, 0x7FFF, false, false); // *CAUTION* You are under the following ENHANCE ITEM buff. Do you want to remove it? AddImageTiled(5, 92, 120, 29, 0xA40); AddHtmlLocalized(10, 97, 120, 29, 1149921, 0x7FFF, false, false); // Skill: AddImageTiled(5, 121, 120, 29, 0xA40); AddHtmlLocalized(10, 126, 120, 29, 1149933, 0x7FFF, false, false); // Success Rate: AddImageTiled(125, 92, 140, 29, 0xA40); AddHtmlLocalized(130, 97, 140, 29, 1114057, "#1149992", 0x7FFF, false, false); // ~1_val~ AddImageTiled(125, 121, 140, 29, 0xA40); AddHtmlLocalized(130, 126, 140, 29, 1149934, "100", 0x7FFF, false, false); // ~1_VAL~% AddImageTiled(270, 92, 125, 58, 0xA40); AddButton(275, 97, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0); AddHtmlLocalized(310, 99, 85, 29, 1149968, 0x7FFF, false, false); // REMOVE }
public InternalGump(PlayerMobile from, ForgedMetalOfArtifacts tool) : base(50, 50) { m_Mobile = from; m_Tool = tool; AddPage(0); AddBackground(0, 0, 400, 230, 0x13BE); AddImageTiled(5, 5, 390, 25, 0xA40); AddHtmlLocalized(5, 8, 390, 25, 1113302, "#1149868", 0x7FFF, false, false); // <CENTER>Forged Metal of Artifacts</CENTER> AddImageTiled(5, 35, 390, 125, 0xA40); /* * The next time that you try to enhance an item the success rate will be the value listed * below regardless of your skill and total intensity of the item. Skill requirements still * apply to material usage. One charge on this item will be consumed per use and only one * instance of this buff can be active at any time. */ AddHtmlLocalized(10, 40, 380, 125, 1149920, 0x7FFF, false, false); AddImageTiled(5, 165, 120, 30, 0xA40); AddHtmlLocalized(10, 170, 120, 30, 1149921, 0x7FFF, false, false); // Skill: AddImageTiled(125, 165, 140, 30, 0xA40); AddHtmlLocalized(130, 170, 140, 30, 1114057, "#1149992", 0x7FFF, false, false); // All Crafting Skills AddImageTiled(5, 195, 120, 30, 0xA40); AddHtmlLocalized(10, 200, 120, 30, 1149933, 0x7FFF, false, false); // Success Rate: AddImageTiled(125, 195, 140, 30, 0xA40); AddHtmlLocalized(130, 200, 140, 30, 1149934, "100", 0x7FFF, false, false); // ~1_VAL~% AddImageTiled(270, 165, 125, 60, 0xA40); AddButton(275, 170, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0); AddHtmlLocalized(310, 172, 85, 30, 1149935, 0x7FFF, false, false); // OKAY AddButton(275, 200, 0xFB1, 0xFB3, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(310, 202, 85, 30, 1060051, 0x7FFF, false, false); // CANCEL }
public InternalGump( PlayerMobile from, ForgedMetalOfArtifacts tool ) : base(50, 50) { m_Mobile = from; m_Tool = tool; AddPage( 0 ); AddBackground( 0, 0, 400, 230, 0x13BE ); AddImageTiled( 5, 5, 390, 25, 0xA40 ); AddHtmlLocalized( 5, 8, 390, 25, 1113302, "#1149868", 0x7FFF, false, false ); // <CENTER>Forged Metal of Artifacts</CENTER> AddImageTiled( 5, 35, 390, 125, 0xA40 ); /* * The next time that you try to enhance an item the success rate will be the value listed * below regardless of your skill and total intensity of the item. Skill requirements still * apply to material usage. One charge on this item will be consumed per use and only one * instance of this buff can be active at any time. */ AddHtmlLocalized( 10, 40, 380, 125, 1149920, 0x7FFF, false, false ); AddImageTiled( 5, 165, 120, 30, 0xA40 ); AddHtmlLocalized( 10, 170, 120, 30, 1149921, 0x7FFF, false, false ); // Skill: AddImageTiled( 125, 165, 140, 30, 0xA40 ); AddHtmlLocalized( 130, 170, 140, 30, 1114057, "#1149992", 0x7FFF, false, false ); // All Crafting Skills AddImageTiled( 5, 195, 120, 30, 0xA40 ); AddHtmlLocalized( 10, 200, 120, 30, 1149933, 0x7FFF, false, false ); // Success Rate: AddImageTiled( 125, 195, 140, 30, 0xA40 ); AddHtmlLocalized( 130, 200, 140, 30, 1149934, "100", 0x7FFF, false, false ); // ~1_VAL~% AddImageTiled( 270, 165, 125, 60, 0xA40 ); AddButton( 275, 170, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0 ); AddHtmlLocalized( 310, 172, 85, 30, 1149935, 0x7FFF, false, false ); // OKAY AddButton( 275, 200, 0xFB1, 0xFB3, 0, GumpButtonType.Reply, 0 ); AddHtmlLocalized( 310, 202, 85, 30, 1060051, 0x7FFF, false, false ); // CANCEL }