(f41a05165) Change the debug text colors.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:20:03 +03:00
parent 0df7ed4ac0
commit cb0a1dc681
12 changed files with 335 additions and 143 deletions
@@ -105,6 +105,9 @@ namespace Barotrauma
{
if (IsTakenBySomeone(targetItem))
{
#if DEBUG
DebugConsole.NewMessage($"{character.Name}: Found an item, but it's equipped by someone else. Aborting.", Color.Yellow);
#endif
abandon = true;
}
else
@@ -172,7 +175,7 @@ namespace Barotrauma
if (targetItem == null)
{
#if DEBUG
DebugConsole.NewMessage($"{character.Name}: Cannot find the item, because neither identifiers nor item is was defined.");
DebugConsole.NewMessage($"{character.Name}: Cannot find the item, because neither identifiers nor item is was defined.", Color.Red);
#endif
abandon = true;
}
@@ -212,7 +215,7 @@ namespace Barotrauma
if (currSearchIndex >= Item.ItemList.Count - 1 && targetItem == null)
{
#if DEBUG
DebugConsole.NewMessage($"{character.Name}: Cannot find the item with the following identifier(s): {string.Join(", ", itemIdentifiers)}");
DebugConsole.NewMessage($"{character.Name}: Cannot find the item with the following identifier(s): {string.Join(", ", itemIdentifiers)}", Color.Red);
#endif
abandon = true;
}