using System;
using Server;
using Server.Gumps;
namespace Server.Gumps
{
public class PotGump : Gump
{
public PotGump( int bw, int bp, int bm, int db, int gl, int gs, int gd, int md )
: base( 5, 5 )
{
this.Closable=true;
this.Disposable=true;
this.Dragable=true;
this.Resizable=false;
this.AddPage(0);
//Background
this.AddBackground( 0, 0, 150, 371, 9270 );
this.AddAlphaRegion( 0, 0, 150, 371 );
//End Background
//Item Images
this.AddItem(31, 54, 0xE21);
this.AddItem(31, 93, 0xF0C);
this.AddItem(31, 132, 0xF07);
this.AddItem(31, 168, 0xF09);
this.AddItem(38, 207, 0xF08);
this.AddItem(23, 244, 0xF0B);
this.AddItem(34, 282, 0xF0A);
this.AddItem(36, 316, 0xF06);
//End Item Images
//Reagent Amounts
int hue;
if (bw == 0)
hue = 33;
else if (bw < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 50, hue, @"" +bw);
if (bp == 0)
hue = 33;
else if (bp < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 89, hue, @"" +bp);
if (bm == 0)
hue = 33;
else if (bm < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 128, hue, @"" +bm);
if (db == 0)
hue = 33;
else if (db < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 164, hue, @"" +db);
if (gl == 0)
hue = 33;
else if (gl < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 203, hue, @"" +gl);
if (gs == 0)
hue = 33;
else if (gs < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 240, hue, @"" +gs);
if (gd == 0)
hue = 33;
else if (gd < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 278, hue, @"" +gd);
if (md == 0)
hue = 33;
else if (md < 10)
hue = 1160;
else hue = 1152;
this.AddLabel(80, 312, hue, @"" +md);
//End Reagent Amounts
}
}
}
Total votes: 0
Ultima Online 1 gün önce
Sunucular 2 gün önce
Sunucular 2 gün önce
Ultima Online 2 hafta önce
Counter-Strike 2 hafta önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sohbet & Geyik 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Ultima Online 2 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)