fix: Consolidates Color/Center html (#1762)
### Summary - Fixes bad color in virtual check gump - Consolidates the Color/Center html strings for all gumps
This commit is contained in:
parent
05535ec9d1
commit
26dfde19ee
109 changed files with 473 additions and 752 deletions
|
|
@ -106,17 +106,7 @@ namespace Server.Engines.Craft
|
|||
}
|
||||
// ****************************************
|
||||
|
||||
if (notice != null)
|
||||
{
|
||||
if (notice.Number > 0)
|
||||
{
|
||||
AddHtmlLocalized(170, 295, 350, 40, notice.Number, LabelColor);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddHtml(170, 295, 350, 40, $"<BASEFONT COLOR=#{FontColor:X6}>{notice.String}</BASEFONT>");
|
||||
}
|
||||
}
|
||||
notice.AddHtmlText(this, 170, 295, 350, 40, numberColor: LabelColor, stringColor: FontColor);
|
||||
|
||||
// If the system has more than one resource
|
||||
if (craftSystem.CraftSubRes.Init)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ using Server.Factions;
|
|||
using Server.Items;
|
||||
using Server.Logging;
|
||||
using Server.Mobiles;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Engines.Craft
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
using Server.Ethics;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Engines.Craft
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ using System;
|
|||
using Server.Engines.BulkOrders;
|
||||
using Server.Items;
|
||||
using Server.Spells;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Engines.Craft;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue