diff --git a/Questionable/Controller/MiniTaskController.cs b/Questionable/Controller/MiniTaskController.cs index c9aec197..949c1915 100644 --- a/Questionable/Controller/MiniTaskController.cs +++ b/Questionable/Controller/MiniTaskController.cs @@ -68,7 +68,7 @@ internal abstract class MiniTaskController : IDisposable { _logger.LogError(e, "Failed to start task {TaskName}", upcomingTask.ToString()); _chatGui.PrintError( - $"[Questionable] Failed to start task '{upcomingTask}', please check /xllog for details."); + $"Failed to start task '{upcomingTask}', please check /xllog for details.", CommandHandler.MessageTag, CommandHandler.TagColor); Stop("Task failed to start"); return; } @@ -93,7 +93,7 @@ internal abstract class MiniTaskController : IDisposable _logger.LogError(e, "Failed to update task {TaskName}", _taskQueue.CurrentTaskExecutor.CurrentTask.ToString()); _chatGui.PrintError( - $"[Questionable] Failed to update task '{_taskQueue.CurrentTaskExecutor.CurrentTask}', please check /xllog for details."); + $"Failed to update task '{_taskQueue.CurrentTaskExecutor.CurrentTask}', please check /xllog for details.", CommandHandler.MessageTag, CommandHandler.TagColor); Stop("Task failed to update"); return; } diff --git a/Questionable/Controller/QuestController.cs b/Questionable/Controller/QuestController.cs index d514f267..2c522556 100644 --- a/Questionable/Controller/QuestController.cs +++ b/Questionable/Controller/QuestController.cs @@ -623,7 +623,7 @@ internal sealed class QuestController : MiniTaskController, IDi catch (Exception e) { _logger.LogError(e, "Failed to create tasks"); - _chatGui.PrintError("[Questionable] Failed to start next task sequence, please check /xllog for details."); + _chatGui.PrintError("Failed to start next task sequence, please check /xllog for details.", CommandHandler.MessageTag, CommandHandler.TagColor); Stop("Tasks failed to create"); } } diff --git a/Questionable/Controller/Steps/Interactions/AetherCurrent.cs b/Questionable/Controller/Steps/Interactions/AetherCurrent.cs index 7632e574..7c1f6338 100644 --- a/Questionable/Controller/Steps/Interactions/AetherCurrent.cs +++ b/Questionable/Controller/Steps/Interactions/AetherCurrent.cs @@ -26,7 +26,8 @@ internal static class AetherCurrent if (!aetherCurrentData.IsValidAetherCurrent(step.TerritoryId, step.AetherCurrentId.Value)) { chatGui.PrintError( - $"[Questionable] Aether current with id {step.AetherCurrentId} is referencing an invalid aether current, will skip attunement"); + $"Aether current with id {step.AetherCurrentId} is referencing an invalid aether current, will skip attunement", + CommandHandler.MessageTag, CommandHandler.TagColor); return null; } diff --git a/Questionable/Controller/Steps/Interactions/EquipRecommended.cs b/Questionable/Controller/Steps/Interactions/EquipRecommended.cs index 295bb8cc..3e008cca 100644 --- a/Questionable/Controller/Steps/Interactions/EquipRecommended.cs +++ b/Questionable/Controller/Steps/Interactions/EquipRecommended.cs @@ -40,7 +40,8 @@ internal static class EquipRecommended public override string ToString() => "EquipRecommended"; } - internal sealed unsafe class DoEquipRecommended(IClientState clientState, IChatGui chatGui, ICondition condition) : TaskExecutor + internal sealed unsafe class DoEquipRecommended(IClientState clientState, IChatGui chatGui, ICondition condition) + : TaskExecutor { private bool _equipped; @@ -88,7 +89,7 @@ internal static class EquipRecommended if (!isAllEquipped) { - chatGui.Print("Equipping recommended gear.", "Questionable"); + chatGui.Print("Equipping recommended gear.", CommandHandler.MessageTag, CommandHandler.TagColor); recommendedEquipModule->EquipRecommendedGear(); } diff --git a/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs b/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs index b2748b18..4a56e929 100644 --- a/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs +++ b/Questionable/Controller/Steps/Shared/AetheryteShortcut.cs @@ -201,7 +201,7 @@ internal static class AetheryteShortcut if (!aetheryteFunctions.IsAetheryteUnlocked(Task.TargetAetheryte)) { - chatGui.PrintError($"[Questionable] Aetheryte {Task.TargetAetheryte} is not unlocked."); + chatGui.PrintError($"Aetheryte {Task.TargetAetheryte} is not unlocked.", CommandHandler.MessageTag, CommandHandler.TagColor); throw new TaskException("Aetheryte is not unlocked"); } @@ -215,7 +215,7 @@ internal static class AetheryteShortcut } else { - chatGui.Print("[Questionable] Unable to teleport to aetheryte."); + chatGui.Print("Unable to teleport to aetheryte.", CommandHandler.MessageTag, CommandHandler.TagColor); throw new TaskException("Unable to teleport to aetheryte"); } }