public override void OnDoubleClick( Mobile m ) { Map map = m.Map; int MX = m.X; int MY = m.Y; int MZ = m.Z; if ( map != null ) { for ( int x = 0; x <= 99; ++x ) { for ( int y = 0; y <= 29; ++y ) { SpecialHueListItem cake = new SpecialHueListItem( ((100 * y) + x), this.ItemID); cake.Name = "Hue = " + Convert.ToString(cake.Hue); cake.Movable = false; if (cake != null) cake.MoveToWorld( new Point3D( (MX + (2* x)), (MY + (2 * y)), MZ ), map ); } } } }
public override void OnDoubleClick(Mobile m) { Map map = m.Map; int MX = m.X; int MY = m.Y; int MZ = m.Z; if (map != null) { for (int x = 0; x <= 99; ++x) { for (int y = 0; y <= 29; ++y) { SpecialHueListItem cake = new SpecialHueListItem(((100 * y) + x), this.ItemID); cake.Name = "Hue = " + Convert.ToString(cake.Hue); cake.Movable = false; if (cake != null) { cake.MoveToWorld(new Point3D((MX + (2 * x)), (MY + (2 * y)), MZ), map); } } } } }
public SpecialHueListItemTarget( SpecialHueListItem dyetub ) : base( 12, false, TargetFlags.None ) { m_Tub = dyetub; theHue = (int) dyetub.Hue; }
public SpecialHueListItemTarget(SpecialHueListItem dyetub) : base(12, false, TargetFlags.None) { m_Tub = dyetub; theHue = (int)dyetub.Hue; }