{
_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;
}
_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;
}
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");
}
}
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;
}
public override string ToString() => "EquipRecommended";
}
- internal sealed unsafe class DoEquipRecommended(IClientState clientState, IChatGui chatGui, ICondition condition) : TaskExecutor<EquipTask>
+ internal sealed unsafe class DoEquipRecommended(IClientState clientState, IChatGui chatGui, ICondition condition)
+ : TaskExecutor<EquipTask>
{
private bool _equipped;
if (!isAllEquipped)
{
- chatGui.Print("Equipping recommended gear.", "Questionable");
+ chatGui.Print("Equipping recommended gear.", CommandHandler.MessageTag, CommandHandler.TagColor);
recommendedEquipModule->EquipRecommendedGear();
}
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");
}
}
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");
}
}