Pikacuq is tweaking A-Bot :)

If I’m not mistaken, I also mentioned the need to expand this ShipManeuverTypeEnum. Then the problem was solved as suggested by the kaboonus: by the caption.

var isAligning = memoryMeasurement?.ShipUi?.Indication?.LabelText?.Any(
		text => text?.Text?.RegexMatchSuccess("aligning", System.Text.RegularExpressions.RegexOptions.IgnoreCase) ?? false) ?? false;

if (!isAligning)
{
	yield return new MenuPathTask
	{
		RootUIElement = memoryMeasurement?.InfoPanelCurrentSystem?.ListSurroundingsButton,
		Bot = Bot,
		ListMenuListPriorityEntryRegexPattern = new[] { new[] { retreatBookmark }, new[] { @"align", ParseStatic.MenuEntryWarpToAtLeafRegexPattern } },
	};
}

Offtop: guys, read this thread.

1 Like