AFK Macro

Idle Mafia Macro/Source/src/ui/MainWindow.xaml

MainWindow.xaml

The window's layout · 2,094 lines · 178 KB

<!-- Idle Mafia Bot main window. Loaded at runtime (no code-behind); UiWindow.cs finds the
named elements and wires them up. Layout: the rail on the left (Home, Tasks, Settings), a top bar
that is also the window's title bar, one page per rail item, and a task's options in a small
window over the page. On the first start the welcome covers it all. -->
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"
Title="Idle Mafia Bot" Width="1260" Height="840" ResizeMode="NoResize"
Background="{StaticResource Bg}" WindowStartupLocation="CenterScreen"
FontFamily="{StaticResource Sans}" UseLayoutRounding="True" TextOptions.TextFormattingMode="Display">
<Grid x:Name="Root">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- (the left bar went on 15-10: the pages are tabs in the top bar; the run lamp is kept for the code, the state pill shows it) -->
<Grid Visibility="Collapsed">
<Ellipse x:Name="RunGlow" Width="22" Height="22" Fill="{StaticResource Text3}" Opacity="0.18"/>
<Ellipse x:Name="RunLamp" Width="10" Height="10" Fill="{StaticResource Text3}"/>
</Grid>
<!-- ============================================================ main -->
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="84"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- the city at night along the foot of every page (15-10), behind the cards -->
<Viewbox Grid.RowSpan="3" Stretch="UniformToFill" VerticalAlignment="Bottom" Height="250" IsHitTestVisible="False" Opacity="0.6">
<Canvas Width="1600" Height="240">
<Path Data="{StaticResource SkylineFar}" Fill="{StaticResource SkylineFarFill}"/>
<Path Data="{StaticResource SkylineNear}" Fill="{StaticResource SkylineNearFill}"/>
<Path x:Name="SkyWinBack" Data="{StaticResource SkylineWindows}" Fill="{StaticResource SkylineWinFill}" Opacity="0.3">
<Path.Triggers>
<EventTrigger RoutedEvent="Path.Loaded">
<BeginStoryboard>
<Storyboard RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" RepeatBehavior="Forever">
<DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0.3"/>
<LinearDoubleKeyFrame KeyTime="0:0:0.5" Value="0.36"/>
<DiscreteDoubleKeyFrame KeyTime="0:0:1.1" Value="0.24"/>
<LinearDoubleKeyFrame KeyTime="0:0:1.4" Value="0.33"/>
<DiscreteDoubleKeyFrame KeyTime="0:0:2.2" Value="0.28"/>
<LinearDoubleKeyFrame KeyTime="0:0:3.1" Value="0.3"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Path.Triggers>
</Path>
</Canvas>
</Viewbox>
<Border VerticalAlignment="Bottom" Height="1" Margin="0,0,0,0" IsHitTestVisible="False">
<Border.Background><LinearGradientBrush StartPoint="0,0" EndPoint="1,0"><GradientStop Color="#00D4AF37" Offset="0"/><GradientStop Color="#55D4AF37" Offset="0.2"/><GradientStop Color="#22D4AF37" Offset="0.7"/><GradientStop Color="#00D4AF37" Offset="1"/></LinearGradientBrush></Border.Background>
</Border>
<!-- top bar, doubles as the title bar -->
<Grid x:Name="TopBar" Margin="30,0,10,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<!-- the logo and the three pages as tabs (15-10): Home, Tasks (every task a tile) and Settings. The names stay the old ones
(RailJobs and PageJobs are Tasks); the page's title is the tab now, PageTitle is kept for the code -->
<StackPanel x:Name="TopLeft" Orientation="Horizontal" VerticalAlignment="Top" Margin="0,18,0,0">
<Grid x:Name="LogoIcon" Width="30" Height="30" VerticalAlignment="Top" Margin="0,11,10,0">
<Path Data="{StaticResource IcoFedora}" Fill="{StaticResource Gold}" Stretch="Uniform"/>
</Grid>
<StackPanel VerticalAlignment="Top" Margin="0,3,0,0">
<TextBlock x:Name="LogoText" Text="Idle Mafia" FontFamily="{StaticResource Deco}" FontSize="23" Foreground="{StaticResource Gold}"/>
</StackPanel>
<Border Width="1" Height="24" Background="{StaticResource Line}" Margin="24,8,24,0" VerticalAlignment="Top"/>
<RadioButton x:Name="RailOverview" Style="{StaticResource TopTab}" Tag="Home" IsChecked="True" shell:WindowChrome.IsHitTestVisibleInChrome="True"/>
<RadioButton x:Name="RailJobs" Style="{StaticResource TopTab}" Tag="Tasks" shell:WindowChrome.IsHitTestVisibleInChrome="True"/>
<RadioButton x:Name="RailSettings" Style="{StaticResource TopTab}" Tag="Settings" shell:WindowChrome.IsHitTestVisibleInChrome="True"/>
</StackPanel>
<TextBlock x:Name="PageTitle" Visibility="Collapsed"/>
<StackPanel x:Name="TopRight" Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Top" Margin="0,10,0,0">
<!-- presets (18-10): the preset in use, opens Opt_Presets -->
<Button x:Name="BtnPresets" Style="{StaticResource Btn}" Padding="14,10" Margin="0,4,10,0" VerticalAlignment="Top"
shell:WindowChrome.IsHitTestVisibleInChrome="True" ToolTip="Save your switches as a preset, switch between presets, share one">
<StackPanel Orientation="Horizontal">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoSliders}" Width="16" Height="16" VerticalAlignment="Center"/>
<TextBlock x:Name="PresetNow" Text="Presets" Margin="8,0,0,0" FontWeight="SemiBold" FontSize="13.5" VerticalAlignment="Center" MaxWidth="170" TextTrimming="CharacterEllipsis"/>
</StackPanel>
</Button>
<!-- the Discord on every page (03-10: "make the discord button more visible"); opens the browser only when pressed -->
<Button x:Name="BtnDiscordTop" Style="{StaticResource PrimaryBtn}" Background="#5865F2" Padding="14,10" Margin="0,4,10,0"
VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True" ToolTip="Questions, problems or ideas? Ask in the Discord">
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource IcoDiscord}" Fill="White" Width="18" Height="18" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock x:Name="DiscordTopWord" Text="Discord" Margin="8,0,0,0" FontWeight="Bold" FontSize="13.5" Foreground="White" VerticalAlignment="Center"/>
</StackPanel>
</Button>
<!-- donate on every page, next to the Discord (30-10); opens the browser only when pressed -->
<Button x:Name="BtnDonate" Style="{StaticResource PrimaryBtn}" Background="#FF5E5B" Padding="14,10" Margin="0,4,10,0"
VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True" ToolTip="The bot is free. Like it? Support it on Ko-fi">
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource IcoHeart}" Fill="White" Width="16" Height="16" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock x:Name="DonateWord" Text="Donate" Margin="8,0,0,0" FontWeight="Bold" FontSize="13.5" Foreground="White" VerticalAlignment="Center"/>
</StackPanel>
</Button>
<Border x:Name="StatePill" CornerRadius="17" Background="{StaticResource Panel}" Padding="13,8" Margin="0,4,10,0"
VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True">
<StackPanel Orientation="Horizontal">
<Ellipse x:Name="StateDot" Width="9" Height="9" Fill="{StaticResource Text3}" VerticalAlignment="Center"/>
<TextBlock x:Name="StateText" Text="Stopped" Margin="9,0,0,0" FontWeight="SemiBold" FontSize="13"
Foreground="{StaticResource Text2}" MaxWidth="330"/>
</StackPanel>
</Border>
<Button x:Name="BtnStart" Style="{StaticResource PrimaryBtn}" Padding="18,11" Margin="0,4,16,0" MinWidth="132"
VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True"
ToolTip="Start or stop the bot. With several accounts open in Roblox it asks: only the picked one, or all of them in turns">
<StackPanel Orientation="Horizontal">
<Path x:Name="BtnStartIcon" Data="{StaticResource IcoPlay}" Fill="{StaticResource OnGold}" Width="13" Height="13" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock x:Name="BtnStartText" Text="Start" Margin="9,0,0,0" FontWeight="Bold" FontSize="14.5" Foreground="{StaticResource OnGold}"/>
<Border CornerRadius="5" Background="#22000000" Padding="5,1" Margin="10,0,0,0" VerticalAlignment="Center">
<TextBlock Text="F6" FontSize="11" FontWeight="Bold" Foreground="{StaticResource OnGold}"/>
</Border>
</StackPanel>
</Button>
<Button x:Name="BtnMin" Style="{StaticResource WinBtn}" VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True" ToolTip="Minimize">
<Path Data="M0,0 L10,0" Stroke="{StaticResource Text2}" StrokeThickness="1.2"/>
</Button>
<Button x:Name="BtnClose" Style="{StaticResource CloseBtn}" VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True" ToolTip="Close">
<Path Data="M0,0 L10,10 M10,0 L0,10" Stroke="{StaticResource Text}" StrokeThickness="1.2"/>
</Button>
</StackPanel>
</Grid>
<StackPanel Grid.Row="1">
<!-- several Roblox windows open: a tab per account (whose settings are shown, which window Start plays) -->
<Border x:Name="AccountBar" Style="{StaticResource SegmentBar}" Margin="30,0,30,14" Visibility="Collapsed"
ToolTip="The accounts open in Roblox: pick one to see and change its own settings">
<StackPanel x:Name="AccountTabs" Orientation="Horizontal"/>
</Border>
<Grid>
<!-- what the crew is doing right now -->
<Border x:Name="NowStrip" Margin="30,0,30,14" CornerRadius="12" Background="{StaticResource Panel}"
BorderBrush="{StaticResource LineSoft}" BorderThickness="1" Padding="14,10" Visibility="Collapsed">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Grid Width="16" Height="16" VerticalAlignment="Center">
<Ellipse x:Name="NowGlow" Width="16" Height="16" Fill="{StaticResource Gold}" Opacity="0.25"/>
<Ellipse Width="8" Height="8" Fill="{StaticResource Gold}"/>
</Grid>
<TextBlock x:Name="NowText" Margin="10,0,0,0" FontSize="13.5" Foreground="{StaticResource Text2}" VerticalAlignment="Center"/>
</StackPanel>
<!-- a part that keeps failing: one red line each (Bot.TaskFailed), gone once it works again -->
<TextBlock x:Name="StuckText" Margin="26,6,0,0" FontSize="13" Foreground="{StaticResource Red}" TextWrapping="Wrap" Visibility="Collapsed"/>
<TextBlock x:Name="FullBarsText" Margin="26,6,0,0" FontSize="12.5" Foreground="{StaticResource Text3}" TextWrapping="Wrap" Visibility="Collapsed"/>
</StackPanel>
</Border>
<!-- Windows can't read text (no English OCR): nothing works until it's added, so every page says how. It lies over
the strip above, which only shows for the moment a Start takes to fail, so it's opaque. The text can be
selected, to copy the PowerShell command. The same banner warns without stopping: the bot started from inside
the zip, or text read in another language. -->
<Border x:Name="OcrBanner" Margin="30,0,30,14" CornerRadius="12" Background="#2B1917" BorderBrush="#66C84B3F"
BorderThickness="1" Padding="16,13" Visibility="Collapsed">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoWarn}" Stroke="{StaticResource Red}" VerticalAlignment="Top" Margin="0,0,14,0"/>
<StackPanel Grid.Column="1">
<TextBlock x:Name="OcrTitle" Text="The bot can't read the game yet" FontWeight="Bold" FontSize="15"/>
<TextBox x:Name="OcrText" IsReadOnly="True" TextWrapping="Wrap" Background="Transparent" BorderThickness="0" Padding="0"
Margin="-2,4,0,0" FontSize="13" Foreground="{StaticResource Text2}" CaretBrush="{StaticResource Text}"
SelectionBrush="{StaticResource Gold}"/>
</StackPanel>
<Button x:Name="BtnOcrSettings" Grid.Column="2" Style="{StaticResource Btn}" VerticalAlignment="Top" Margin="16,0,0,0">
<TextBlock Text="Open language settings" FontWeight="SemiBold"/>
</Button>
</Grid>
</Border>
</Grid>
</StackPanel>
<Grid Grid.Row="2">
<!-- ============================================================ overview -->
<!-- Home fills the window instead of scrolling as a whole (03-10): the feed and the right column scroll on their own.
HomeGrid's height follows the page (UiWindow.FitHome), so only a very short window scrolls the page. -->
<ScrollViewer x:Name="PageOverview" VerticalScrollBarVisibility="Auto">
<Grid x:Name="HomeGrid" Margin="30,0,30,16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- "Check my game": offered once to an account without a check; later a gentle "check again?" after level-ups -->
<Border x:Name="CheckCard" Grid.Row="0" Style="{StaticResource Card}" BorderBrush="#66D4AF37" Padding="20,16" Visibility="Collapsed">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Border Width="42" Height="42" CornerRadius="12" Background="{StaticResource GoldSoft}" VerticalAlignment="Center">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoScan}" Stroke="{StaticResource Gold}" Width="20" Height="20"/>
</Border>
<StackPanel Grid.Column="1" Margin="16,0,16,0" VerticalAlignment="Center">
<TextBlock x:Name="CheckCardTitle" Text="Set the bot up for your account?" FontWeight="Bold" FontSize="15"/>
<TextBlock x:Name="CheckCardText" Style="{StaticResource Hint}" Margin="0,3,0,0"/>
</StackPanel>
<StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center">
<Button x:Name="BtnCheckLater" Style="{StaticResource GhostBtn}" Margin="0,0,8,0">
<TextBlock Text="Not now" FontWeight="SemiBold" Foreground="{StaticResource Text2}"/>
</Button>
<Button x:Name="BtnCheckNow" Style="{StaticResource PrimaryBtn}" Padding="18,10">
<TextBlock Text="Check my game" FontWeight="Bold" Foreground="{StaticResource OnGold}"/>
</Button>
</StackPanel>
</Grid>
</Border>
<!-- the player over the city at night (15-10): the level, the name and family, the XP, the cash, the game's three bars,
and (16-10) what the bot is doing with the one Start of Home (the top bar's Start and state hide on Home) -->
<Border Grid.Row="1" CornerRadius="14" BorderBrush="#3A3119" BorderThickness="1" Margin="0,0,0,14" ClipToBounds="True">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#2A2213" Offset="0"/>
<GradientStop Color="#17161A" Offset="0.5"/>
<GradientStop Color="#0F0F12" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<Grid x:Name="HeroScene">
<!-- the moon and its glow, high over the city -->
<Ellipse Width="420" Height="420" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-202,152,0" IsHitTestVisible="False">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop Color="#33F3DFA2" Offset="0"/>
<GradientStop Color="#10F3DFA2" Offset="0.45"/>
<GradientStop Color="#00F3DFA2" Offset="1"/>
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
<Ellipse Width="64" Height="64" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-24,330,0" IsHitTestVisible="False" Opacity="0.85">
<Ellipse.Fill>
<RadialGradientBrush GradientOrigin="0.35,0.35">
<GradientStop Color="#F6E9C0" Offset="0"/>
<GradientStop Color="#D9C48A" Offset="0.8"/>
<GradientStop Color="#B9A46C" Offset="1"/>
</RadialGradientBrush>
</Ellipse.Fill>
<Ellipse.Effect><DropShadowEffect Color="#F3DFA2" BlurRadius="40" ShadowDepth="0" Opacity="0.6"/></Ellipse.Effect>
</Ellipse>
<!-- the skyline along the card's foot, lit windows, and a dark band under the "right now" line -->
<Viewbox Stretch="UniformToFill" VerticalAlignment="Bottom" Height="190" IsHitTestVisible="False">
<Canvas Width="1600" Height="240">
<Path Data="{StaticResource SkylineFar}" Fill="{StaticResource SkylineFarFill}"/>
<Path Data="{StaticResource SkylineNear}" Fill="{StaticResource SkylineNearFill}"/>
<Path Data="{StaticResource SkylineWindows}" Fill="{StaticResource SkylineWinFill}" Opacity="0.75"/>
</Canvas>
</Viewbox>
<Border VerticalAlignment="Bottom" Height="110" IsHitTestVisible="False">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#000C0C0E" Offset="0"/>
<GradientStop Color="#D90C0C0E" Offset="0.55"/>
<GradientStop Color="#F00C0C0E" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
<StackPanel Margin="24,20,20,16">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Border Width="64" Height="64" CornerRadius="14" BorderBrush="{StaticResource Gold}" BorderThickness="1.5">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="{StaticResource LvlA}" Offset="0"/>
<GradientStop Color="{StaticResource LvlB}" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<Border.Effect><DropShadowEffect Color="{StaticResource LvlGlow}" BlurRadius="18" ShadowDepth="0" Opacity="0.45"/></Border.Effect>
<Grid>
<StackPanel VerticalAlignment="Center">
<TextBlock x:Name="LevelText" Text="?" FontFamily="{StaticResource Deco}" FontSize="26"
Foreground="{StaticResource Gold}" HorizontalAlignment="Center" Margin="0,-2,0,0"/>
<TextBlock Text="LEVEL" FontSize="8.5" FontWeight="Bold" Foreground="{StaticResource LvlSub}" HorizontalAlignment="Center" Margin="0,-3,0,0"/>
</StackPanel>
</Grid>
</Border>
<StackPanel Grid.Column="1" Margin="18,0,28,0" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal">
<TextBlock x:Name="PlayerName" Text="Waiting for Roblox" FontFamily="{StaticResource Deco}" FontSize="30"/>
<TextBlock x:Name="PlayerFamily" Text="" FontFamily="{StaticResource Serif}" Foreground="{StaticResource Gold}" FontSize="16"
Margin="14,11,0,0"/>
</StackPanel>
<Grid Margin="0,10,0,0" Height="24">
<Border CornerRadius="7" Background="{StaticResource Track}"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition x:Name="XpA" Width="0*"/>
<ColumnDefinition x:Name="XpB" Width="1*"/>
</Grid.ColumnDefinitions>
<Border CornerRadius="7" Background="{StaticResource Xp}"/>
</Grid>
<TextBlock x:Name="XpText" Text="" FontWeight="Bold" FontSize="12.5" Margin="11,0" VerticalAlignment="Center"/>
</Grid>
</StackPanel>
<StackPanel Grid.Column="2" VerticalAlignment="Center">
<TextBlock x:Name="CashText" Text="-" FontFamily="{StaticResource Deco}" FontSize="38" Foreground="{StaticResource Green}" HorizontalAlignment="Right">
<TextBlock.Effect><DropShadowEffect Color="#7EBE5A" BlurRadius="16" ShadowDepth="0" Opacity="0.35"/></TextBlock.Effect>
</TextBlock>
<TextBlock x:Name="BankText" Text="" FontSize="12.5" Foreground="{StaticResource Text2}" HorizontalAlignment="Right" Margin="0,-2,0,0"/>
</StackPanel>
</Grid>
<Grid Margin="0,20,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="22"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="22"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel>
<Grid>
<TextBlock x:Name="EnergyText" Text="-" FontSize="13" FontWeight="SemiBold"/>
<TextBlock Text="Energy" FontSize="12" Foreground="{StaticResource Energy}" HorizontalAlignment="Right"/>
</Grid>
<Grid Height="8" Margin="0,7,0,0">
<Border CornerRadius="4" Background="#0B0B0C"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition x:Name="EnergyA" Width="0*"/><ColumnDefinition x:Name="EnergyB" Width="1*"/></Grid.ColumnDefinitions>
<Border CornerRadius="4" Background="{StaticResource Energy}">
<Border.Effect><DropShadowEffect Color="#E08C32" BlurRadius="10" ShadowDepth="0" Opacity="0.6"/></Border.Effect>
</Border>
</Grid>
</Grid>
<TextBlock x:Name="EnergyTick" Text="" FontSize="11.5" Foreground="{StaticResource Text3}" Margin="0,5,0,0"/>
</StackPanel>
<StackPanel Grid.Column="2">
<Grid>
<TextBlock x:Name="StaminaText" Text="-" FontSize="13" FontWeight="SemiBold"/>
<TextBlock Text="Stamina" FontSize="12" Foreground="#6FA6D2" HorizontalAlignment="Right"/>
</Grid>
<Grid Height="8" Margin="0,7,0,0">
<Border CornerRadius="4" Background="#0B0B0C"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition x:Name="StaminaA" Width="0*"/><ColumnDefinition x:Name="StaminaB" Width="1*"/></Grid.ColumnDefinitions>
<Border CornerRadius="4" Background="{StaticResource Stamina}">
<Border.Effect><DropShadowEffect Color="#5B8FB9" BlurRadius="10" ShadowDepth="0" Opacity="0.6"/></Border.Effect>
</Border>
</Grid>
</Grid>
<TextBlock x:Name="StaminaTick" Text="" FontSize="11.5" Foreground="{StaticResource Text3}" Margin="0,5,0,0"/>
</StackPanel>
<StackPanel Grid.Column="4">
<Grid>
<TextBlock x:Name="HealthText" Text="-" FontSize="13" FontWeight="SemiBold"/>
<TextBlock Text="Health" FontSize="12" Foreground="#D2645A" HorizontalAlignment="Right"/>
</Grid>
<Grid Height="8" Margin="0,7,0,0">
<Border CornerRadius="4" Background="#0B0B0C"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition x:Name="HealthA" Width="0*"/><ColumnDefinition x:Name="HealthB" Width="1*"/></Grid.ColumnDefinitions>
<Border CornerRadius="4" Background="{StaticResource Health}">
<Border.Effect><DropShadowEffect Color="#BA4A3E" BlurRadius="10" ShadowDepth="0" Opacity="0.6"/></Border.Effect>
</Border>
</Grid>
</Grid>
<TextBlock x:Name="PointsText" Text="" FontSize="11.5" Foreground="{StaticResource Gold}" Margin="0,5,0,0"/>
</StackPanel>
</Grid>
<!-- right now: what the bot is doing, and Home's Start -->
<Grid Margin="0,22,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Grid Width="18" Height="18" VerticalAlignment="Center">
<Ellipse x:Name="HomeNowGlow" Width="18" Height="18" Fill="{StaticResource Text3}" Opacity="0.2"/>
<Ellipse x:Name="HomeNowDot" Width="8" Height="8" Fill="{StaticResource Text3}"/>
</Grid>
<StackPanel Grid.Column="1" Margin="14,0,16,0" VerticalAlignment="Center">
<TextBlock x:Name="HomeNowTitle" Text="Stopped" FontFamily="{StaticResource Deco}" FontSize="20"/>
<TextBlock x:Name="HomeNow" Text="Press Start and the bot plays for you." FontSize="13" Foreground="{StaticResource Text2}" TextWrapping="Wrap" TextTrimming="None" Margin="0,2,0,0"/>
</StackPanel>
<Button x:Name="BtnStartBig" Grid.Column="2" Style="{StaticResource PrimaryBtn}" Padding="28,13" MinWidth="170" VerticalAlignment="Center">
<Button.Effect><DropShadowEffect Color="#D4AF37" BlurRadius="22" ShadowDepth="0" Opacity="0.45"/></Button.Effect>
<StackPanel Orientation="Horizontal">
<Path x:Name="BtnStartBigIcon" Data="{StaticResource IcoPlay}" Fill="{StaticResource OnGold}" Width="14" Height="14" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock x:Name="BtnStartBigText" Text="Start" Margin="10,0,0,0" FontWeight="Bold" FontSize="16" Foreground="{StaticResource OnGold}"/>
<Border CornerRadius="5" Background="#22000000" Padding="5,1" Margin="12,0,0,0" VerticalAlignment="Center">
<TextBlock Text="F6" FontSize="11" FontWeight="Bold" Foreground="{StaticResource OnGold}"/>
</Border>
</StackPanel>
</Button>
</Grid>
</StackPanel>
</Grid>
</Border>
<Grid Grid.Row="3">
<Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition Height="Auto"/><RowDefinition Height="*"/></Grid.RowDefinitions>
<!-- this session's numbers or the account's all-time ones -->
<DockPanel Grid.Row="0" Margin="0,0,0,8">
<Border Style="{StaticResource SegmentBar}" DockPanel.Dock="Right">
<StackPanel Orientation="Horizontal">
<RadioButton x:Name="TotSpanSession" GroupName="totspan" Style="{StaticResource Segment}" Content="This session" IsChecked="True"/>
<RadioButton x:Name="TotSpanAll" GroupName="totspan" Style="{StaticResource Segment}" Content="All time"/>
</StackPanel>
</Border>
<TextBlock x:Name="TotSpanNote" Text="" FontSize="12" Foreground="{StaticResource Text3}" VerticalAlignment="Center"/>
</DockPanel>
<!-- the numbers, each in its own colour (16-10) -->
<UniformGrid Grid.Row="1" Columns="6" Margin="0,0,-10,14">
<ContentControl Style="{StaticResource StatTile}" Tag="{StaticResource IcoJobs}">
<ContentControl.Resources>
<SolidColorBrush x:Key="TileAccent" Color="#E8953C"/>
<PathGeometry x:Key="Blood1" Figures="M4,0 L10,0 C9,8 9.2,10 8.6,14 C8,20 8.6,24 7,27 C5.4,24 6,20 5.4,14 C4.8,10 5,8 4,0 Z"/>
<PathGeometry x:Key="Blood2" Figures="M2,0 L12,0 C12,8 13,12 13,16 C13,23 10,28 7,28 C4,28 1,23 1,16 C1,12 2,8 2,0 Z"/>
<PathGeometry x:Key="Blood3" Figures="M5,0 L9,0 L8.2,18 L7,28 L5.8,18 Z"/>
</ContentControl.Resources>
<StackPanel><TextBlock x:Name="TotJobs" Text="0" FontFamily="{StaticResource Deco}" FontSize="24"/>
<TextBlock Text="jobs" FontSize="12" Foreground="{StaticResource Text2}"/></StackPanel>
</ContentControl>
<ContentControl Style="{StaticResource StatTile}" Tag="{StaticResource IcoHeist}">
<ContentControl.Resources>
<SolidColorBrush x:Key="TileAccent" Color="#B08AE6"/>
<PathGeometry x:Key="Blood1" Figures="M3,0 L11,0 L10,11 L12.5,21 L9.5,19 L7,26 L4.5,19 L1.5,21 L4,11 Z"/>
<PathGeometry x:Key="Blood2" Figures="M6.4,0 L7.6,0 L7.6,24 L6.4,24 Z M4,4 a3,3 0 1,0 6,0 a3,3 0 1,0 -6,0 M4.5,11.5 a2.5,2.5 0 1,0 5,0 a2.5,2.5 0 1,0 -5,0 M5,18.5 a2,2 0 1,0 4,0 a2,2 0 1,0 -4,0"/>
<PathGeometry x:Key="Blood3" Figures="M4,0 L10,0 C9,8 9.2,10 8.6,14 C8,20 8.6,24 7,27 C5.4,24 6,20 5.4,14 C4.8,10 5,8 4,0 Z"/>
</ContentControl.Resources>
<StackPanel><TextBlock x:Name="TotHelps" Text="0" FontFamily="{StaticResource Deco}" FontSize="24"/>
<TextBlock Text="heist helps" FontSize="12" Foreground="{StaticResource Text2}"/></StackPanel>
</ContentControl>
<ContentControl Style="{StaticResource StatTile}" Tag="{StaticResource IcoCrown}">
<ContentControl.Resources>
<SolidColorBrush x:Key="TileAccent" Color="#5FA0D6"/>
<PathGeometry x:Key="Blood1" Figures="M2,0 L12,0 C12,8 13,12 13,16 C13,23 10,28 7,28 C4,28 1,23 1,16 C1,12 2,8 2,0 Z"/>
<PathGeometry x:Key="Blood2" Figures="M0,0 L14,0 L14,4 L11,4 L11,14 C11,18 10.4,20 9.6,20 C8.8,20 8.4,18 8.4,14 L8.4,4 L5.6,4 L5.6,10 C5.6,13 5.2,14.5 4.6,14.5 C4,14.5 3.6,13 3.6,10 L3.6,4 L0,4 Z"/>
<PathGeometry x:Key="Blood3" Figures="M6.4,0 L7.6,0 L7.6,24 L6.4,24 Z M4,4 a3,3 0 1,0 6,0 a3,3 0 1,0 -6,0 M4.5,11.5 a2.5,2.5 0 1,0 5,0 a2.5,2.5 0 1,0 -5,0 M5,18.5 a2,2 0 1,0 4,0 a2,2 0 1,0 -4,0"/>
</ContentControl.Resources>
<StackPanel><TextBlock x:Name="TotBoss" Text="0" FontFamily="{StaticResource Deco}" FontSize="24"/>
<TextBlock Text="boss hits" FontSize="12" Foreground="{StaticResource Text2}"/></StackPanel>
</ContentControl>
<ContentControl Style="{StaticResource StatTile}" Tag="{StaticResource IcoSwords}">
<ContentControl.Resources>
<SolidColorBrush x:Key="TileAccent" Color="#E05A4C"/>
<PathGeometry x:Key="Blood1" Figures="M0,0 L14,0 L14,4 L11,4 L11,14 C11,18 10.4,20 9.6,20 C8.8,20 8.4,18 8.4,14 L8.4,4 L5.6,4 L5.6,10 C5.6,13 5.2,14.5 4.6,14.5 C4,14.5 3.6,13 3.6,10 L3.6,4 L0,4 Z"/>
<PathGeometry x:Key="Blood2" Figures="M3,0 L11,0 L10,11 L12.5,21 L9.5,19 L7,26 L4.5,19 L1.5,21 L4,11 Z"/>
<PathGeometry x:Key="Blood3" Figures="M2,0 L12,0 C12,8 13,12 13,16 C13,23 10,28 7,28 C4,28 1,23 1,16 C1,12 2,8 2,0 Z"/>
</ContentControl.Resources>
<StackPanel><TextBlock x:Name="TotFights" Text="0" FontFamily="{StaticResource Deco}" FontSize="24"/>
<TextBlock x:Name="TotFightsSub" Text="fights" FontSize="12" Foreground="{StaticResource Text2}"/></StackPanel>
</ContentControl>
<ContentControl Style="{StaticResource StatTile}" Tag="{StaticResource IcoBank}">
<ContentControl.Resources>
<SolidColorBrush x:Key="TileAccent" Color="#86C95F"/>
<PathGeometry x:Key="Blood1" Figures="M5,0 L9,0 L8.2,18 L7,28 L5.8,18 Z"/>
<PathGeometry x:Key="Blood2" Figures="M4,0 L10,0 C9,8 9.2,10 8.6,14 C8,20 8.6,24 7,27 C5.4,24 6,20 5.4,14 C4.8,10 5,8 4,0 Z"/>
<PathGeometry x:Key="Blood3" Figures="M0,0 L14,0 L14,4 L11,4 L11,14 C11,18 10.4,20 9.6,20 C8.8,20 8.4,18 8.4,14 L8.4,4 L5.6,4 L5.6,10 C5.6,13 5.2,14.5 4.6,14.5 C4,14.5 3.6,13 3.6,10 L3.6,4 L0,4 Z"/>
</ContentControl.Resources>
<StackPanel><TextBlock x:Name="TotDeposits" Text="0" FontFamily="{StaticResource Deco}" FontSize="24"/>
<TextBlock Text="deposits" FontSize="12" Foreground="{StaticResource Text2}"/></StackPanel>
</ContentControl>
<ContentControl Style="{StaticResource StatTile}" Tag="{StaticResource IcoGift}">
<ContentControl.Resources>
<SolidColorBrush x:Key="TileAccent" Color="#E2BD45"/>
<PathGeometry x:Key="Blood1" Figures="M6.4,0 L7.6,0 L7.6,24 L6.4,24 Z M4,4 a3,3 0 1,0 6,0 a3,3 0 1,0 -6,0 M4.5,11.5 a2.5,2.5 0 1,0 5,0 a2.5,2.5 0 1,0 -5,0 M5,18.5 a2,2 0 1,0 4,0 a2,2 0 1,0 -4,0"/>
<PathGeometry x:Key="Blood2" Figures="M5,0 L9,0 L8.2,18 L7,28 L5.8,18 Z"/>
<PathGeometry x:Key="Blood3" Figures="M3,0 L11,0 L10,11 L12.5,21 L9.5,19 L7,26 L4.5,19 L1.5,21 L4,11 Z"/>
</ContentControl.Resources>
<StackPanel><TextBlock x:Name="TotRewards" Text="0" FontFamily="{StaticResource Deco}" FontSize="24"/>
<TextBlock Text="rewards" FontSize="12" Foreground="{StaticResource Text2}"/></StackPanel>
</ContentControl>
</UniformGrid>
<!-- the bot's messages: one line each, newest on top -->
<Border Grid.Row="2" Style="{StaticResource Card}" Padding="0,14,0,6" Background="#B31A1A1C">
<DockPanel>
<Grid DockPanel.Dock="Top" Margin="20,0,20,0">
<TextBlock Text="Activity" FontFamily="{StaticResource Deco}" FontSize="17" VerticalAlignment="Center"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
<TextBlock x:Name="FeedCount" Text="" FontSize="12" Foreground="{StaticResource Text3}" VerticalAlignment="Center" Margin="0,0,12,0"/>
<ComboBox x:Name="FeedFilter" Width="130" Height="30" VerticalAlignment="Center" ToolTip="Show only one part's messages"/>
</StackPanel>
</Grid>
<TextBlock x:Name="FeedEmpty" DockPanel.Dock="Top" Style="{StaticResource Hint}" Margin="20,12,20,4"
Text="Nothing yet. Press Start and everything the bot does shows up here."/>
<ScrollViewer x:Name="FeedScroll" VerticalScrollBarVisibility="Auto" Margin="0,8,0,0">
<ItemsControl x:Name="Feed" Margin="0,0,0,0">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border BorderBrush="#222225" BorderThickness="0,1,0,0" Padding="20,9,20,9">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="30"/>
<ColumnDefinition Width="72"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Path Data="{Binding Icon}" Stroke="{Binding Color}" StrokeThickness="1.8" Width="15" Height="15" Stretch="Uniform"
StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeEndLineCap="Round" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,2,0,0"/>
<TextBlock Grid.Column="1" Text="{Binding Who}" Foreground="{Binding Color}" FontWeight="SemiBold" FontSize="13" VerticalAlignment="Top"/>
<TextBlock Grid.Column="2" Text="{Binding Text}" TextWrapping="Wrap" TextTrimming="None" FontSize="13" Foreground="#D9D3C1" Margin="0,0,14,0"/>
<TextBlock Grid.Column="3" Text="{Binding Time}" Foreground="#6F6B61" FontSize="12" VerticalAlignment="Top" Margin="0,1,0,0"/>
</Grid>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</DockPanel>
</Border>
</Grid>
<!-- the report button of Home's old Help card: kept for the code, not shown (Settings has its own) -->
<StackPanel x:Name="HomeHidden" Visibility="Collapsed">
<Button x:Name="BtnReportHome"><TextBlock x:Name="ReportHomeText"/></Button>
</StackPanel>
</Grid>
</ScrollViewer>
<!-- ============================================================ tasks (15-10): every task a tile in one screen, a card per
group in its own colour (16-10), the cards' widths by their tiles so the rows end level; a click turns a tile on or
off, its ••• opens its options (OptionsLayer). The tooltip says what it does.
27-10: ready-made presets on top, a Simple view of six parts (each turns its group's
tasks on or off, UiWindow.WireSimple), and the Full view with the small tasks folded into their parent's options -->
<ScrollViewer x:Name="PageJobs" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
<!-- (a little room on top: a tile grows under the mouse and the busy one glows, and the page's edge cut them off) -->
<StackPanel Margin="30,8,18,16">
<Grid Margin="0,4,12,14">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<TextBlock Text="Quick start" FontFamily="{StaticResource Deco}" FontSize="16" VerticalAlignment="Center" Margin="2,0,16,0"/>
<!-- the ready-made presets' buttons (UiWindow.ShowQuickPresets) -->
<WrapPanel x:Name="QuickPresets" VerticalAlignment="Center"/>
</StackPanel>
<Border Grid.Column="1" Style="{StaticResource SegmentBar}" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal">
<RadioButton x:Name="TasksView_Simple" GroupName="tasksview" Style="{StaticResource Segment}" Content="Simple" ToolTip="Six big switches"/>
<RadioButton x:Name="TasksView_Full" GroupName="tasksview" Style="{StaticResource Segment}" Content="Full" ToolTip="Every task on its own"/>
</StackPanel>
</Border>
</Grid>
<!-- Simple: one tile per group; on while any of its tasks is, a click turns them all off or the usual ones on -->
<StackPanel x:Name="TasksSimpleView">
<UniformGrid Columns="3" Margin="0,0,2,0">
<CheckBox x:Name="grp_Energy" Style="{StaticResource TaskTile}" Height="128" FontSize="18" Tag="{StaticResource IcoJobs}" Uid="1" Content="Jobs and heists">
<CheckBox.Resources><SolidColorBrush x:Key="TileAccent" Color="#E8953C"/></CheckBox.Resources></CheckBox>
<CheckBox x:Name="grp_Stamina" Style="{StaticResource TaskTile}" Height="128" FontSize="18" Tag="{StaticResource IcoSwords}" Uid="1" Content="Bosses and fights">
<CheckBox.Resources><SolidColorBrush x:Key="TileAccent" Color="#5FA0D6"/></CheckBox.Resources></CheckBox>
<CheckBox x:Name="grp_Crew" Style="{StaticResource TaskTile}" Height="128" FontSize="18" Tag="{StaticResource IcoCrew}" Uid="1" Content="Crew">
<CheckBox.Resources><SolidColorBrush x:Key="TileAccent" Color="#E8769F"/></CheckBox.Resources></CheckBox>
<CheckBox x:Name="grp_Family" Style="{StaticResource TaskTile}" Height="128" FontSize="18" Tag="{StaticResource IcoFamily}" Uid="1" Content="Family">
<CheckBox.Resources><SolidColorBrush x:Key="TileAccent" Color="#4FC2B1"/></CheckBox.Resources></CheckBox>
<CheckBox x:Name="grp_Cash" Style="{StaticResource TaskTile}" Height="128" FontSize="18" Tag="{StaticResource IcoBank}" Uid="1" Content="Money">
<CheckBox.Resources><SolidColorBrush x:Key="TileAccent" Color="#86C95F"/></CheckBox.Resources></CheckBox>
<CheckBox x:Name="grp_Rewards" Style="{StaticResource TaskTile}" Height="128" FontSize="18" Tag="{StaticResource IcoGift}" Uid="1" Content="Rewards">
<CheckBox.Resources><SolidColorBrush x:Key="TileAccent" Color="#B08AE6"/></CheckBox.Resources></CheckBox>
</UniformGrid>
<TextBlock Style="{StaticResource Hint}" Margin="2,4,0,0" TextWrapping="Wrap"
Text="A click turns a whole part on or off. Its ••• opens the Full view, where every task has its own switch and options."/>
</StackPanel>
<StackPanel x:Name="TasksFullView">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="2*"/><ColumnDefinition Width="3*"/><ColumnDefinition Width="5*"/></Grid.ColumnDefinitions>
<HeaderedContentControl x:Name="grpcard_Energy" Style="{StaticResource TaskGroup}" Header="Energy">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#E8953C"/></HeaderedContentControl.Resources>
<UniformGrid Columns="2" Rows="1">
<CheckBox x:Name="sw_Jobs" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoJobs}" Uid="1" Content="Do jobs" ToolTip="Each job costs energy and gives cash, XP and mastery."/>
<CheckBox x:Name="sw_Heists" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoHeist}" Uid="1" Content="Help heists" ToolTip="Your family's first, then only the ones worth more XP."/>
</UniformGrid>
</HeaderedContentControl>
<HeaderedContentControl x:Name="grpcard_Stamina" Grid.Column="1" Style="{StaticResource TaskGroup}" Header="Stamina">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#5FA0D6"/></HeaderedContentControl.Resources>
<UniformGrid Columns="3" Rows="1">
<CheckBox x:Name="sw_Bosses" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoCrown}" Uid="1" Content="Fight bosses" ToolTip="Climbs the stages, again after the daily reset."/>
<CheckBox x:Name="sw_Fights" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoSwords}" Uid="1" Content="Attack players" ToolTip="Lowest level first, each player once, then a new list. Hitting big wins again is in its options."/>
<CheckBox x:Name="sw_GlobalBoss" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoFlag}" Uid="1" Content="Global Boss" ToolTip="Looks every 30 minutes. While one is up it comes first and all stamina goes on it; the rest only plays while it can't be hit; the 2X EXP waits for it."/>
</UniformGrid>
</HeaderedContentControl>
<HeaderedContentControl x:Name="grpcard_Crew" Grid.Column="2" Style="{StaticResource TaskGroup}" Header="Crew">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#E8769F"/></HeaderedContentControl.Resources>
<UniformGrid Columns="5" Rows="1">
<CheckBox x:Name="sw_CrewFill" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoCrew}" Uid="1" Content="Hire into empty slots" ToolTip="With the hire you pick, or a cheaper one."/>
<CheckBox x:Name="tile_Reroll" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoReroll}" Uid="1" Content="Reroll the worst" ToolTip="Dismisses your worst henchman and hires again, until the crew is the best the hire can reach."/>
<CheckBox x:Name="sw_TrainCrew" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoStar}" Uid="1" Content="Train the crew" ToolTip="Epic and up. Costs cash and time, with the No Bank Fees pass your bank too."/>
<!-- (04-11, audit-3 #25: from Free rewards' options, so the Rewards switches leave it alone; rerolls by own stats need it) -->
<CheckBox x:Name="sw_EquipBest" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoGear}" Content="Equip the best gear" ToolTip="The best items on your crew, then the spare ones go into the collection."/>
<CheckBox x:Name="sw_Animals" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoStar}" Uid="1" Content="Animals" ToolTip="Feeds and trains your animal, and buys from the animal shop. Its boost adds to your attack and defense."/>
</UniformGrid>
</HeaderedContentControl>
</Grid>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="6*"/><ColumnDefinition Width="2*"/></Grid.ColumnDefinitions>
<HeaderedContentControl x:Name="grpcard_Cash" Style="{StaticResource TaskGroup}" Header="Cash">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#86C95F"/></HeaderedContentControl.Resources>
<UniformGrid Columns="6" Rows="1">
<CheckBox x:Name="sw_Properties" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoHome}" Uid="1" Content="Buy properties" ToolTip="The best you can afford, from your cash and your bank. A full block swaps out your weakest for one that earns more: the old one is gone, no refund."/>
<CheckBox x:Name="sw_SafehouseUpgrade" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoCrown}" Content="Upgrade safehouse" ToolTip="Saves up and buys the next level from your cash and your bank, whatever it costs. High levels cost trillions: turn this off to keep your money."/>
<CheckBox x:Name="sw_Bank" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoBank}" Uid="1" Content="Bank my cash" ToolTip="After every round or at an amount you pick, so other players can't take it. 10% a deposit without the No Bank Fees pass. Off: the bot never touches your bank."/>
<CheckBox x:Name="sw_SpendPoints" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoChart}" Uid="1" Content="Spend skill points" ToolTip="On the stat you pick."/>
<CheckBox x:Name="sw_ShopBuy" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoBag}" Uid="1" Content="Buy from the shop" ToolTip="Everything you can pay for, up to your limits. Mythic and up can use your bank too, with the No Bank Fees pass. Never Robux."/>
<CheckBox x:Name="sw_MarketRelist" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoReroll}" Uid="1" Content="Relist my listings" ToolTip="Takes each of your listings out and puts it back, same amount and price, so it shows first again."/>
</UniformGrid>
</HeaderedContentControl>
<HeaderedContentControl x:Name="grpcard_Rewards" Grid.Column="1" Style="{StaticResource TaskGroup}" Header="Rewards">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#B08AE6"/></HeaderedContentControl.Resources>
<UniformGrid Columns="2" Rows="1">
<!-- (27-10) one tile for the small ones, their switches in its options (UiWindow.RewardSwitches) -->
<CheckBox x:Name="tile_Rewards" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoGift}" Uid="1" Content="Free rewards" ToolTip="Playtime rewards, contract tasks, Lucky Briefcases and crates. Pick them one by one in its options."/>
<CheckBox x:Name="sw_Operations" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoHourglass}" Uid="1" Content="Operations" ToolTip="The most XP per hour in every free slot, or the one you pick. Each start costs the cash the game asks."/>
</UniformGrid>
</HeaderedContentControl>
</Grid>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="5*"/><ColumnDefinition Width="3*"/></Grid.ColumnDefinitions>
<HeaderedContentControl x:Name="grpcard_Family" Style="{StaticResource TaskGroup}" Header="Family">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#4FC2B1"/></HeaderedContentControl.Resources>
<UniformGrid Columns="5" Rows="1">
<CheckBox x:Name="sw_FamilyWatch" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoFamily}" Uid="1" Content="Watch my family" ToolTip="Reads the family pages every 3 hours. It only reads."/>
<CheckBox x:Name="sw_GameStats" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoChart}" Content="Read game stats" ToolTip="Opens the menu and reads YOUR STATS every 3 hours. It only reads."/>
<CheckBox x:Name="sw_Takedown" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoTarget}" Uid="1" Content="Takedown attacks" ToolTip="The family's weekly boss, free attacks only, never tickets. It recalls your stationed crew first."/>
<CheckBox x:Name="sw_GiveStamina" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoBolt}" Uid="1" Content="Stamina to perks" ToolTip="All stamina above what you keep goes to your family's perks, before player fights."/>
<CheckBox x:Name="sw_DefendTerritory" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoShield}" Uid="1" Content="Defend districts" ToolTip="When one is attacked: your whole crew to it, recalled after."/>
</UniformGrid>
</HeaderedContentControl>
</Grid>
</StackPanel>
</StackPanel>
</ScrollViewer>
<!-- ============================================================ settings (16-10: group cards like Tasks, the tools as tiles) -->
<ScrollViewer x:Name="PageSettings" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
<StackPanel Margin="30,8,18,16">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="4*"/><ColumnDefinition Width="5*"/></Grid.ColumnDefinitions>
<HeaderedContentControl Style="{StaticResource TaskGroup}" Header="Your PC">
<UniformGrid Columns="4" Rows="1" VerticalAlignment="Top">
<CheckBox x:Name="sw_WaitWhileBusy" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoHourglass}" Content="Wait while I use the PC" ToolTip="It only takes the mouse once you've left the PC alone for 15 seconds."/>
<CheckBox x:Name="sw_GiveFocusBack" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoMonitor}" Content="Give my window back" ToolTip="After each round."/>
<CheckBox x:Name="sw_Rejoin" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoPlug}" Uid="1" Content="Rejoin after a disconnect" ToolTip="Presses Reconnect or starts the game again."/>
<CheckBox x:Name="sw_KeepAlive" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoClock}" Content="Stay in the game" ToolTip="A click after 15 quiet minutes, so Roblox doesn't kick you at 20."/>
</UniformGrid>
</HeaderedContentControl>
<HeaderedContentControl Grid.Column="1" Style="{StaticResource TaskGroup}" Header="Tools">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#D8C79A"/></HeaderedContentControl.Resources>
<StackPanel>
<!-- (Rows only: a hidden tool takes no place) -->
<UniformGrid Rows="1">
<!-- check my game: reads the account (only opening tabs) and suggests settings; nothing changes until you say so -->
<Button x:Name="BtnCheck" Style="{StaticResource ActionTile}" Tag="{StaticResource IcoScan}" Uid="1">
<TextBlock Text="Check my game" TextWrapping="Wrap"/>
</Button>
<Button x:Name="BtnReview" Style="{StaticResource ActionTile}" Tag="{StaticResource IcoChart}">
<TextBlock Text="See the last check" TextWrapping="Wrap"/>
</Button>
<!-- updates: only when pressed, and only the bot's own download page; the new exe goes in place of this one -->
<Grid>
<Button x:Name="BtnUpdate" Style="{StaticResource ActionTile}" Tag="{StaticResource IcoDownload}">
<TextBlock x:Name="UpdateText" Text="Check for updates" TextWrapping="Wrap"/>
</Button>
<!-- a red "new" tag on the tile's corner once a check found a newer version -->
<Border x:Name="UpdateNew" Visibility="Collapsed" IsHitTestVisible="False" Height="16" CornerRadius="8" Padding="7,0"
Background="{StaticResource Red}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-6,4,0">
<TextBlock Text="new" FontSize="10" FontWeight="SemiBold" Foreground="White" VerticalAlignment="Center"/>
</Border>
</Grid>
<Button x:Name="BtnLog" Style="{StaticResource ActionTile}" Tag="{StaticResource IcoLog}">
<TextBlock Text="Open log" TextWrapping="Wrap"/>
</Button>
<Button x:Name="BtnProblems" Style="{StaticResource ActionTile}" Tag="{StaticResource IcoFolder}">
<TextBlock x:Name="ProblemsText" Text="Problems" TextWrapping="Wrap"/>
</Button>
<Button x:Name="BtnReport" Style="{StaticResource ActionTile}" Tag="{StaticResource IcoFlag}">
<TextBlock x:Name="ReportText" Text="Report a problem" TextWrapping="Wrap"/>
</Button>
</UniformGrid>
<Grid Margin="2,2,12,10">
<Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition Height="Auto"/></Grid.RowDefinitions>
<TextBlock Text="Check my game" FontSize="12.5" FontWeight="SemiBold" Foreground="{StaticResource Text2}" Margin="0,0,12,0"/>
<TextBlock x:Name="CheckWhen" Grid.Column="1" Text="" FontSize="12.5" Foreground="{StaticResource Text3}" TextWrapping="Wrap"/>
<TextBlock Grid.Row="1" Text="Updates" FontSize="12.5" FontWeight="SemiBold" Foreground="{StaticResource Text2}" Margin="0,5,12,0"/>
<TextBlock x:Name="UpdateStatus" Grid.Row="1" Grid.Column="1" FontSize="12.5" Foreground="{StaticResource Text3}" TextWrapping="Wrap" Margin="0,5,0,0"
Text="Looks for a new version on afkmacro.com (or the GitHub page), only when you press the button. Your settings stay."/>
</Grid>
</StackPanel>
</HeaderedContentControl>
</Grid>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<!-- a message with a picture of the game in the player's own Discord channel; off (and never online) without a link -->
<HeaderedContentControl Style="{StaticResource TaskGroup}" Header="Discord messages">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#8C96F7"/></HeaderedContentControl.Resources>
<Border Margin="2,0,10,12">
<StackPanel>
<TextBlock Style="{StaticResource Hint}" Text="Messages in your own channel, with a picture of the game only (never your screen). No server? Type /alerts in our Discord."/>
<Grid Margin="0,14,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="40">
<Grid>
<PasswordBox x:Name="DiscordLinkBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}"
CaretBrush="{StaticResource Gold}" FontSize="14" VerticalContentAlignment="Center" Padding="12,0" PasswordChar="●"/>
<TextBlock x:Name="DiscordLinkHint" Text="Paste your webhook link here" Foreground="{StaticResource Text3}"
VerticalAlignment="Center" Margin="14,0" IsHitTestVisible="False"/>
</Grid>
</Border>
<StackPanel x:Name="DiscordButtons" Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="10,0,0,0">
<Button x:Name="BtnDiscordTest" Style="{StaticResource Btn}">
<StackPanel Orientation="Horizontal">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoDiscord}" Width="16" Height="16"/>
<TextBlock Text="Send a test" Margin="8,0,0,0" FontWeight="SemiBold"/>
</StackPanel>
</Button>
<Button x:Name="BtnDiscordClear" Style="{StaticResource GhostBtn}" Margin="6,0,0,0">
<TextBlock Text="Remove" FontWeight="SemiBold" Foreground="{StaticResource Text2}"/>
</Button>
</StackPanel>
</Grid>
<TextBlock x:Name="DiscordStatus" Style="{StaticResource Hint}" Margin="0,8,0,0" Text=""/>
<!-- (26-10) the rest only once a link is saved (UiWindow.ShowWhatMatters) -->
<StackPanel x:Name="DiscordMore">
<!-- the player's Discord user id: an @mention on a bot check (something they must do in the game themselves), a Global Boss and a good shop buy -->
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="40" Margin="0,12,0,0">
<Grid>
<TextBox x:Name="DiscordUserIdBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}"
CaretBrush="{StaticResource Gold}" FontSize="14" VerticalContentAlignment="Center" Padding="10,0" MaxLength="20"/>
<TextBlock x:Name="DiscordUserIdHint" Text="Your Discord user ID, to be @mentioned (optional)" Foreground="{StaticResource Text3}"
VerticalAlignment="Center" Margin="14,0" IsHitTestVisible="False"/>
</Grid>
</Border>
<TextBlock x:Name="DiscordUserIdStatus" Style="{StaticResource Hint}" Margin="0,8,0,0" TextWrapping="Wrap"
Text="Pinged when you must do something in the game yourself (like a bot check), when a Global Boss is up and on a good shop buy. In Discord: Settings, Advanced, Developer Mode on, then right-click your name and Copy User ID."/>
<!-- (14-10: when to send, folded under the link: six switches, "N of 6 on" beside it, UiWindow.DiscordWhenCount) -->
<Border Height="1" Background="{StaticResource LineSoft}" Margin="0,14,0,12"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock Text="When to send a message" FontWeight="SemiBold" FontSize="15" VerticalAlignment="Center"/>
<TextBlock x:Name="DiscordWhenCount" Grid.Column="1" Text="" Style="{StaticResource Label}" VerticalAlignment="Center" Margin="0,0,14,0"/>
<ToggleButton x:Name="Fold_DiscordWhen" Grid.Column="2" Style="{StaticResource Fold}" ToolTip="Show or hide when it sends a message"/>
</Grid>
<Border x:Name="DiscordWhen" Margin="0,14,0,0">
<UniformGrid Columns="3" Margin="0,0,-10,-10">
<CheckBox x:Name="sw_DiscordProblems" Style="{StaticResource OptTile}" Content="Problems" ToolTip="Disconnected, stuck, or the bot stopped by itself."/>
<CheckBox x:Name="sw_DiscordRarity" Style="{StaticResource OptTile}" Content="Mythic or better henchman" ToolTip="A hire or reroll that brings one."/>
<CheckBox x:Name="sw_DiscordProperty" Style="{StaticResource OptTile}" Content="New property" ToolTip="Each property it builds."/>
<CheckBox x:Name="sw_DiscordSummary" Style="{StaticResource OptTile}" Content="Update every 3 hours" ToolTip="Your level, cash and what the bot did."/>
<CheckBox x:Name="sw_DiscordLevel" Style="{StaticResource OptTile}" Content="Level up" ToolTip="Often on a new account: one message per 10 minutes."/>
<CheckBox x:Name="sw_DiscordBoss" Style="{StaticResource OptTile}" Content="Boss beaten" ToolTip="Often: one message per 10 minutes."/>
<CheckBox x:Name="sw_DiscordGlobalBoss" Style="{StaticResource OptTile}" Content="Global Boss is up" ToolTip="Once per boss, with an @mention when your user ID is set."/>
</UniformGrid>
</Border>
</StackPanel>
</StackPanel>
</Border>
</HeaderedContentControl>
<!-- the account's numbers in one message in the bot's Discord server, for its /stats and leaderboard; off (and never online) without the link /link gives -->
<HeaderedContentControl Grid.Column="1" Style="{StaticResource TaskGroup}" Header="Stats in our Discord">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#8C96F7"/></HeaderedContentControl.Resources>
<Border Margin="2,0,10,12">
<StackPanel>
<TextBlock x:Name="StatsHint" Style="{StaticResource Hint}" Text="Your level, cash and crew in our Discord. Type /link there and paste its link here. Only game numbers, never your Roblox name. A picture or report only when you ask for one with /remote."/>
<!-- (04-11) only while more than one Roblox account is open (UiWindow.ShowInstances): the card is the window's account's -->
<TextBlock x:Name="StatsTurnsHint" Style="{StaticResource Hint}" Margin="0,6,0,0" Visibility="Collapsed" TextWrapping="Wrap"
Text="With several accounts in turns, only the one this window shows is in our Discord."/>
<Grid Margin="0,14,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="40">
<Grid>
<PasswordBox x:Name="StatsLinkBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}"
CaretBrush="{StaticResource Gold}" FontSize="14" VerticalContentAlignment="Center" Padding="12,0" PasswordChar="●"/>
<TextBlock x:Name="StatsLinkHint" Text="Paste the link from /link here" Foreground="{StaticResource Text3}"
VerticalAlignment="Center" Margin="14,0" IsHitTestVisible="False"/>
</Grid>
</Border>
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="10,0,0,0">
<Button x:Name="BtnStatsPreview" Style="{StaticResource Btn}">
<StackPanel Orientation="Horizontal">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoScan}" Width="16" Height="16"/>
<TextBlock x:Name="StatsPreviewLabel" Text="What it sends" Margin="8,0,0,0" FontWeight="SemiBold"/>
</StackPanel>
</Button>
<Button x:Name="BtnStatsClear" Style="{StaticResource GhostBtn}" Margin="6,0,0,0">
<TextBlock Text="Remove" FontWeight="SemiBold" Foreground="{StaticResource Text2}"/>
</Button>
</StackPanel>
</Grid>
<TextBlock x:Name="StatsStatus" Style="{StaticResource Hint}" Margin="0,8,0,0" Text=""/>
<!-- remote control from Discord: off until switched on, through the same link (Remote.cs); shown once a link is saved -->
<StackPanel x:Name="RemoteRow">
<Border Height="1" Background="{StaticResource LineSoft}" Margin="0,14,0,12"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="128"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<CheckBox x:Name="sw_RemoteControl" Style="{StaticResource TaskTile}" Tag="{StaticResource IcoPlay}" Content="Remote control from Discord"
ToolTip="/remote in our Discord: start, stop, status, a preset, a problem report or a screenshot only you see. Nothing else."/>
<TextBlock x:Name="RemoteHint" Grid.Column="1" Style="{StaticResource Hint}" Margin="14,0,0,0" VerticalAlignment="Center"
Text="Off. Switch it on to use /remote in our Discord: start, stop, status, a preset, a problem report or a screenshot."/>
</Grid>
</StackPanel>
<Border x:Name="StatsPreviewBox" Visibility="Collapsed" Background="{StaticResource Field}" BorderBrush="{StaticResource Line}"
BorderThickness="1.5" CornerRadius="10" Margin="0,12,0,0" Padding="12,10">
<StackPanel>
<TextBlock Style="{StaticResource Hint}" Text="Exactly what goes to the link, as it is now. Numbers the bot hasn't read yet are left out."/>
<TextBox x:Name="StatsPreview" IsReadOnly="True" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}"
FontFamily="Consolas" FontSize="12.5" TextWrapping="Wrap" Margin="0,8,0,0" MaxHeight="300"
VerticalScrollBarVisibility="Auto"/>
</StackPanel>
</Border>
</StackPanel>
</Border>
</HeaderedContentControl>
</Grid>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<HeaderedContentControl Style="{StaticResource TaskGroup}" Header="What it never presses">
<HeaderedContentControl.Resources><SolidColorBrush x:Key="TileAccent" Color="#E05A4C"/></HeaderedContentControl.Resources>
<Border Margin="2,0,10,12">
<StackPanel>
<!-- 11-10: a short line, the whole list folded under "Show the full list" (UiWindow: BtnNeverList) -->
<Button x:Name="BtnNeverList" Style="{StaticResource Btn}" HorizontalAlignment="Left">
<TextBlock x:Name="NeverListText" Text="Show the full list" FontWeight="SemiBold"/>
</Button>
<StackPanel x:Name="NeverList" Visibility="Collapsed" Margin="0,4,0,0">
<TextBlock Text="Never" FontWeight="SemiBold" FontSize="13.5" Margin="0,12,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• Anything that costs Robux or tickets, and the + refill buttons" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• FINISH NOW, REPLACE, SABOTAGE, DELETE" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• LEAVE FAMILY, MAKE BOSS, DONATE, DECLARE WAR, INVITE, EDIT, SAVE, JOIN" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• A collection card's own DEPOSIT, STOP on a henchman in training, briefcase keys" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• Trade, and buying on the Black Market" Margin="10,4,0,0"/>
<TextBlock Text="Only with its switch on, with your cash and your bank" FontWeight="SemiBold" FontSize="13.5" Margin="0,12,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• BUILD on Properties, UPGRADE on the Safehouse, whatever they cost" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• UNLOCK SLOT and the hires on the Crew, DISMISS on your worst henchman to reroll it, TRAIN" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• AUTO ROLL (with Use the game's Auto Roll on), BUY in the animal shop up to your price" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• WITHDRAW at the bank, for one of those buys, a Mythic or rarer shop item or your own heist's stake" Margin="10,4,0,0"/>
<TextBlock Text="Only in these cases" FontWeight="SemiBold" FontSize="13.5" Margin="0,12,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• DEMOLISH on your weakest property, when a better one is ready to build (no refund)" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• UNEQUIP ALL to read your crew's own stats for rerolls, then AUTO EQUIP BEST" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• SCOUT on a player's profile before a fight (1 stamina, with Scout players first on)" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• START A HEIST and its START, for a heist of your own (with Start my own heist on)" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• STATION ALL in a district of your family under attack, RECALL after, HEAL on its beaten defenders (with Defend districts on)" Margin="10,4,0,0" TextWrapping="Wrap"/>
<TextBlock Style="{StaticResource Hint}" Text="• USE on Bandages and Medkits at the Global Boss (with Use consumables on)" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• Your own Black Market listings, taken out and put back (with Relist my listings on)" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="• CANCEL, to back out of a crew or property window it won't go ahead with" Margin="10,4,0,0"/>
<TextBlock Style="{StaticResource Hint}" Text="In the Shop it buys items priced in cash, and gold items only up to your gold limit. If a Robux purchase window opens, it stops." Margin="0,12,0,0" TextWrapping="Wrap"/>
</StackPanel>
</StackPanel>
</Border>
</HeaderedContentControl>
<HeaderedContentControl Grid.Column="1" Style="{StaticResource TaskGroup}" Header="Help" VerticalAlignment="Top">
<Border Margin="2,0,10,12">
<!-- (MinHeight: as tall as the never-press card beside it, with its list folded: the height of its button) -->
<Grid MinHeight="{Binding ActualHeight, ElementName=BtnNeverList}">
<WrapPanel Margin="-8,0,0,0" VerticalAlignment="Center">
<Button x:Name="BtnDiscord" Style="{StaticResource GhostBtn}" Padding="8,6" ToolTip="Questions, problems or ideas? Ask in the Discord">
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource IcoDiscord}" Fill="#8C96F7" Width="14" Height="14" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock Text="Discord" Margin="6,0,0,0" FontSize="13" Foreground="{StaticResource Text2}"/>
</StackPanel>
</Button>
<Button x:Name="BtnStar" Style="{StaticResource GhostBtn}" Padding="8,6" ToolTip="It's free. A star on GitHub helps other players find it.">
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource IcoStar}" Fill="{StaticResource Gold}" Width="13" Height="13" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock Text="Star on GitHub" Margin="6,0,0,0" FontSize="13" Foreground="{StaticResource Text2}"/>
</StackPanel>
</Button>
<Button x:Name="BtnDownloads" Style="{StaticResource GhostBtn}" Padding="8,6" ToolTip="New versions come out here">
<TextBlock Text="Download page" FontSize="13" Foreground="{StaticResource Text2}"/>
</Button>
</WrapPanel>
<TextBlock x:Name="VersionText" Text="" Style="{StaticResource Label}" HorizontalAlignment="Right" VerticalAlignment="Center"/>
<TextBlock x:Name="SupportVersion" Visibility="Collapsed"/>
</Grid>
</Border>
</HeaderedContentControl>
</Grid>
</StackPanel>
</ScrollViewer>
</Grid>
</Grid>
<!-- ============================================================ a task's options (15-10): a small window over the page, opened by
the ••• on its tile (UiWindow.OpenOptions). One panel per task, Opt_ and the tile's name without sw_; Esc, the cross or a
click beside it closes it -->
<Grid x:Name="OptionsLayer" Grid.ColumnSpan="2" Background="#B3000000" Visibility="Collapsed">
<Border x:Name="OptionsPanel" Width="680" Margin="0,96,0,32" VerticalAlignment="Center" HorizontalAlignment="Center"
CornerRadius="12" BorderBrush="#3A321C" BorderThickness="1">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#221E14" Offset="0"/>
<GradientStop Color="#1A1A1C" Offset="0.25"/>
<GradientStop Color="#18181A" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<DockPanel>
<Grid DockPanel.Dock="Top" Margin="24,18,12,6">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<Path x:Name="OptionsIcon" Stroke="{DynamicResource TileAccent}" Width="20" Height="20" Stretch="Uniform" StrokeThickness="1.8"
StrokeLineJoin="Round" StrokeStartLineCap="Round" StrokeEndLineCap="Round" VerticalAlignment="Center"/>
<TextBlock x:Name="OptionsTitle" Text="" FontFamily="{StaticResource Deco}" FontSize="21" Margin="12,0,0,0" VerticalAlignment="Center"/>
</StackPanel>
<!-- (audit 3) whose settings these are: the account, or every account for the PC's own (UiWindow.ShowOptionsAccount) -->
<TextBlock x:Name="OptionsAccount" Text="" Style="{StaticResource Label}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,58,0" Visibility="Collapsed"/>
<Button x:Name="BtnOptionsClose" Style="{StaticResource WinBtn}" HorizontalAlignment="Right" ToolTip="Close (Esc)">
<Path Data="M0,0 L10,10 M10,0 L0,10" Stroke="{StaticResource Text2}" StrokeThickness="1.4"/>
</Button>
</Grid>
<ScrollViewer x:Name="OptionsScroll" VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="OptionsBody" Margin="24,8,24,20">
<!-- (26-10) a task switched off: its options are hidden and this line says so (UiWindow.ShowWhatMatters) -->
<TextBlock x:Name="OptionsOff" Style="{StaticResource Hint}" Margin="2,0,0,12" TextWrapping="Wrap" Visibility="Collapsed"/>
<!-- presets (18-10): the rows of PresetList are made by UiWindow.ShowPresets -->
<StackPanel x:Name="Opt_Presets" Visibility="Collapsed">
<TextBlock Style="{StaticResource Hint}" TextWrapping="Wrap" Margin="2,0,0,12"
Text="A preset keeps every task switch and its options. Pick one to switch them all at once. Your Discord links, your account and your PC's settings are never in a preset."/>
<TextBlock Text="Your presets" Style="{StaticResource OptHead}" Margin="0,4,0,10"/>
<StackPanel x:Name="PresetList"/>
<TextBlock x:Name="PresetEmpty" Style="{StaticResource Hint}" Margin="2,0,0,10" Text="None yet. Save what's on now below."/>
<TextBlock Text="Save what's on now" Style="{StaticResource OptHead}"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="40">
<Grid>
<TextBox x:Name="PresetNameBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}" MaxLength="30"
CaretBrush="{StaticResource Gold}" FontSize="14" VerticalContentAlignment="Center" Padding="10,0"/>
<TextBlock x:Name="PresetNameHint" Text="A name, like Reroll night" Foreground="{StaticResource Text3}"
VerticalAlignment="Center" Margin="14,0" IsHitTestVisible="False"/>
</Grid>
</Border>
<Button x:Name="BtnPresetSave" Grid.Column="1" Style="{StaticResource PrimaryBtn}" Margin="10,0,0,0" Content="Save"/>
</Grid>
<TextBlock Text="Add a shared code" Style="{StaticResource OptHead}"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="40">
<Grid>
<TextBox x:Name="PresetCodeBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}"
CaretBrush="{StaticResource Gold}" FontSize="13" VerticalContentAlignment="Center" Padding="10,0"/>
<TextBlock x:Name="PresetCodeHint" Text="Paste a code from Discord (IMB-PRESET-...)" Foreground="{StaticResource Text3}"
VerticalAlignment="Center" Margin="14,0" IsHitTestVisible="False"/>
</Grid>
</Border>
<Button x:Name="BtnPresetPaste" Grid.Column="1" Style="{StaticResource Btn}" Margin="10,0,0,0" Content="Paste"/>
</Grid>
<Border x:Name="PresetPreview" Style="{StaticResource OptLine}" Margin="0,10,0,0" Visibility="Collapsed">
<StackPanel>
<TextBlock x:Name="PresetPreviewTitle" FontSize="14.5" FontWeight="SemiBold" TextWrapping="Wrap"/>
<TextBlock x:Name="PresetPreviewOn" FontSize="13" Foreground="{StaticResource Gold}" TextWrapping="Wrap" Margin="0,8,0,0"/>
<TextBlock x:Name="PresetPreviewOff" FontSize="13" Foreground="{StaticResource Text3}" TextWrapping="Wrap" Margin="0,4,0,0"/>
<!-- what it changes that spends money (a line each), and what an older code leaves as it is -->
<TextBlock x:Name="PresetPreviewMoney" FontSize="13" Foreground="{StaticResource Text}" TextWrapping="Wrap" Margin="0,8,0,0" Visibility="Collapsed"/>
<TextBlock x:Name="PresetPreviewLeft" FontSize="13" Foreground="{StaticResource Text3}" TextWrapping="Wrap" Margin="0,8,0,0" Visibility="Collapsed"/>
<StackPanel Orientation="Horizontal" Margin="0,12,0,0">
<Button x:Name="BtnPresetAddUse" Style="{StaticResource PrimaryBtn}" Content="Add and use it"/>
<Button x:Name="BtnPresetAdd" Style="{StaticResource Btn}" Margin="8,0,0,0" Content="Add"/>
</StackPanel>
</StackPanel>
</Border>
<TextBlock x:Name="PresetStatus" Style="{StaticResource Hint}" Margin="2,10,0,0" Text="" TextWrapping="Wrap"/>
</StackPanel>
<StackPanel x:Name="Opt_Rejoin" Visibility="Collapsed">
<Border x:Name="RejoinOpts" Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Played on another device" FontSize="14"/>
<TextBlock Text="When you join the game somewhere else, the bot waits this long, then joins again. That throws the other device out, so pick a time longer than you usually play there." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="seg_OtherDeviceRejoin_Off" GroupName="otherdevice" Style="{StaticResource Segment}" Content="Off"/><RadioButton x:Name="seg_OtherDeviceRejoin_M15" GroupName="otherdevice" Style="{StaticResource Segment}" Content="15 min"/><RadioButton x:Name="seg_OtherDeviceRejoin_M30" GroupName="otherdevice" Style="{StaticResource Segment}" Content="30 min"/><RadioButton x:Name="seg_OtherDeviceRejoin_H1" GroupName="otherdevice" Style="{StaticResource Segment}" Content="1 h"/><RadioButton x:Name="seg_OtherDeviceRejoin_H2" GroupName="otherdevice" Style="{StaticResource Segment}" Content="2 h"/></StackPanel></Border>
</Grid>
</Border>
</StackPanel>
<StackPanel x:Name="Opt_Jobs" Visibility="Collapsed">
<Border Style="{StaticResource OptLine}">
<StackPanel>
<Grid><TextBlock Text="Now" FontSize="12" Foreground="{StaticResource Text3}"/><TextBlock x:Name="JobModeText" Text="" FontSize="12" Foreground="{StaticResource Text3}" HorizontalAlignment="Right"/></Grid>
<TextBlock x:Name="JobName" Text="-" FontSize="14.5" FontWeight="SemiBold" Margin="0,4,0,1" TextWrapping="Wrap" TextTrimming="None"/>
<TextBlock x:Name="JobMeta" Text="" FontSize="12.5" Foreground="{StaticResource Text2}" TextWrapping="Wrap"/>
<Border Margin="0,10,0,0"><Grid Height="4"><Border CornerRadius="2" Background="{StaticResource Track}"/><Grid><Grid.ColumnDefinitions><ColumnDefinition x:Name="JobMasteryA" Width="0*"/><ColumnDefinition x:Name="JobMasteryB" Width="1*"/></Grid.ColumnDefinitions><Border CornerRadius="2" Background="{StaticResource Gold}"/></Grid></Grid></Border>
<TextBlock x:Name="JobMasteryText" Text="" FontSize="12" Foreground="{StaticResource Text3}" Margin="0,6,0,0"/>
</StackPanel>
</Border>
<StackPanel x:Name="JobsOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Which job" FontSize="14"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="seg_JobMode_BestXp" GroupName="jobmode" Style="{StaticResource Segment}" Content="Best XP"/><RadioButton x:Name="seg_JobMode_Mastery" GroupName="jobmode" Style="{StaticResource Segment}" Content="Finish mastery"/><RadioButton x:Name="seg_JobMode_OneJob" GroupName="jobmode" Style="{StaticResource Segment}" Content="One job"/></StackPanel></Border>
</Grid>
</Border>
<TextBlock x:Name="JobModeHint" Style="{StaticResource Hint}" Margin="2,0,0,0"/>
<Border x:Name="OneJobWhyBox" CornerRadius="10" Background="{StaticResource Panel2}" Padding="12,8" Margin="0,12,0,0" HorizontalAlignment="Left" Visibility="Collapsed">
<StackPanel Orientation="Horizontal">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoBolt}" Stroke="{StaticResource Energy}" Width="14" Height="14" VerticalAlignment="Center"/>
<TextBlock x:Name="OneJobWhy" FontSize="13" Foreground="{StaticResource Text}" Margin="8,0,0,0" VerticalAlignment="Center"/>
</StackPanel>
</Border>
</StackPanel>
<Grid Margin="0,18,0,10"><TextBlock Text="Mastery" Style="{StaticResource OptHead}" Margin="0"/><TextBlock x:Name="MasterySummary" Text="" FontSize="12" Foreground="{StaticResource Text3}" HorizontalAlignment="Right" VerticalAlignment="Center"/></Grid>
<TextBlock Style="{StaticResource Hint}" Margin="0,0,0,6" Text="Bronze at 25 jobs, Silver at 50, Gold at 100. Gold gives a skill point. In One job, a click on a job picks it."/>
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,0,-16,0" MaxHeight="340">
<ItemsControl x:Name="JobList" Margin="0,0,16,0">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid>
<!-- a city's bar, like the game's: its name, how far it is, and − / + to fold it (29-09) -->
<Button Command="{Binding Toggle}" Cursor="Hand" Focusable="False" Margin="0,8,0,6" HorizontalContentAlignment="Stretch">
<Button.Style>
<Style TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="Bar" CornerRadius="10" Background="#212123" BorderBrush="#D4AF37" BorderThickness="0,0,0,1.5" Padding="16,10,12,10">
<ContentPresenter HorizontalAlignment="Stretch"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True"><Setter TargetName="Bar" Property="Background" Value="#2A2A2D"/></Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers><DataTrigger Binding="{Binding IsHeader}" Value="False"><Setter Property="Visibility" Value="Collapsed"/></DataTrigger></Style.Triggers>
</Style>
</Button.Style>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock Text="{Binding Header}" FontFamily="Palatino Linotype, Georgia" FontSize="17" Foreground="#D4AF37" VerticalAlignment="Center"/>
<TextBlock Grid.Column="1" Text="{Binding Summary}" FontSize="12.5" Foreground="#A8A292" VerticalAlignment="Center" Margin="0,0,14,0"/>
<Border Grid.Column="2" Width="26" Height="26" CornerRadius="5" BorderBrush="#D4AF37" BorderThickness="1.5">
<TextBlock Text="{Binding Sign}" FontSize="18" FontWeight="Bold" Foreground="#D4AF37" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-3,0,0"/>
</Border>
</Grid>
</Button>
<!-- a job: in One job mode a click picks it (a hand, a lighter row under the mouse; the job picked is gold) -->
<Button Command="{Binding Pick}" IsEnabled="{Binding Pickable}" Focusable="False" Margin="0,0,0,3" HorizontalContentAlignment="Stretch">
<Button.Style>
<Style TargetType="Button">
<Setter Property="Background" Value="{Binding RowBg}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border CornerRadius="10" Padding="12,8" Background="{TemplateBinding Background}">
<ContentPresenter HorizontalAlignment="Stretch"/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding IsHeader}" Value="True"><Setter Property="Visibility" Value="Collapsed"/></DataTrigger>
<DataTrigger Binding="{Binding Pickable}" Value="True"><Setter Property="Cursor" Value="Hand"/></DataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding Hover}" Value="True"/>
<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="True"/>
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="#262628"/>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="170"/>
<ColumnDefinition Width="96"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Name}" FontSize="13.5" Foreground="{Binding NameBrush}" FontWeight="{Binding NameWeight}"/>
<TextBlock Grid.Column="1" Text="{Binding Cost}" FontSize="13" Foreground="#E08C32" HorizontalAlignment="Right"/>
<TextBlock Grid.Column="2" Text="{Binding Xp}" FontSize="13" Foreground="#A8A292" HorizontalAlignment="Right"/>
<Grid Grid.Column="3" Height="8" Margin="18,0,0,0" VerticalAlignment="Center">
<Border CornerRadius="4" Background="#0D0D0E"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="{Binding A}"/><ColumnDefinition Width="{Binding B}"/></Grid.ColumnDefinitions>
<Border CornerRadius="4" Background="{Binding RankBrush}"/>
</Grid>
</Grid>
<TextBlock Grid.Column="4" Text="{Binding Rank}" FontSize="12.5" FontWeight="SemiBold" Foreground="{Binding RankBrush}" HorizontalAlignment="Right"/>
</Grid>
</Button>
</Grid>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</StackPanel>
<StackPanel x:Name="Opt_Heists" Visibility="Collapsed">
<Border Style="{StaticResource OptLine}">
<StackPanel>
<TextBlock Text="Heist favors" FontSize="12" Foreground="{StaticResource Text3}"/>
<TextBlock x:Name="FavorsText" Text="-" FontWeight="SemiBold" FontSize="15" Margin="0,4,0,0"/>
<WrapPanel x:Name="FavorPips" Margin="0,6,0,0" Width="165" HorizontalAlignment="Left"/>
</StackPanel>
</Border>
<StackPanel x:Name="HeistsOpts">
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_HeistsFamilyOnly" Style="{StaticResource OptTile}" Content="Only my family's heists" ToolTip="Skips other families' heists."/>
</UniformGrid>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Start my own heist" FontSize="14"/>
<TextBlock Text="Its stake comes from your cash, with the No Bank Fees pass your bank too. A failed heist loses it. The jobs wait until the bar has its energy." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_StartHeist" Grid.Column="1" Width="300" Height="36" VerticalAlignment="Center" ToolTip="Which heist the bot starts"/>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_Bosses" Visibility="Collapsed">
<Border Style="{StaticResource OptLine}">
<StackPanel>
<TextBlock Text="Next boss" FontSize="12" Foreground="{StaticResource Text3}"/>
<TextBlock x:Name="BossName" Text="-" FontWeight="SemiBold" FontSize="15" Margin="0,4,0,0"/>
<TextBlock x:Name="BossWhen" Text="" FontSize="12.5" Foreground="{StaticResource Text2}"/>
</StackPanel>
</Border>
<UniformGrid x:Name="BossesOpts" Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_BossWeakestFirst" Style="{StaticResource OptTile}" Content="Weakest bosses first" ToolTip="After the reset, starts at the lowest ready stage. Off: the highest first. In the 2X EXP always the lowest first."/>
</UniformGrid>
</StackPanel>
<StackPanel x:Name="Opt_Fights" Visibility="Collapsed">
<!-- (26-10) Off/On/Only first: the rest only shows with fights on (UiWindow.ShowWhatMatters) -->
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Fighting players" FontSize="14"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="FightMode_Off" GroupName="fightmode" Style="{StaticResource Segment}" Content="Off"/><RadioButton x:Name="FightMode_On" GroupName="fightmode" Style="{StaticResource Segment}" Content="On"/><RadioButton x:Name="FightMode_Only" GroupName="fightmode" Style="{StaticResource Segment}" Content="Only"/></StackPanel></Border>
</Grid>
</Border>
<TextBlock x:Name="FightModeHint" Style="{StaticResource Hint}" Margin="2,0,0,8"/>
<StackPanel x:Name="FightsOpts">
<UniformGrid Columns="4" Margin="0,0,-10,0">
<CheckBox x:Name="sw_WarTargetsOnly" Style="{StaticResource OptTile}" Content="Only war targets" ToolTip="During a war, only the war targets."/>
<CheckBox x:Name="sw_ScoutFights" Style="{StaticResource OptTile}" Content="Scout players first" ToolTip="Reads a player's attack and defense first (1 stamina), then attacks only the ones you can beat."/>
<CheckBox x:Name="sw_RememberPlayers" Style="{StaticResource OptTile}" Content="Remember players" ToolTip="A player a big win took from in the last day goes first. Skips who beat you twice, for 2 days."/>
<!-- (27-10: its own tile on the Tasks page until then) -->
<CheckBox x:Name="sw_WhaleHunt" Style="{StaticResource OptTile}" Content="Hit big wins again" ToolTip="Banks (with Bank my cash on), then hits a player again after a big win."/>
</UniformGrid>
<!-- (audit 3) a big win's amount: shown with Hit big wins again or Remember players on, both use it; the hits only with the first -->
<StackPanel x:Name="WhaleOpts">
<TextBlock x:Name="WhaleHint" Text="Hits a player again after a big win, up to 5 times." Style="{StaticResource Hint}" Margin="2,0,0,10"/>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<ComboBox x:Name="cmb_WhaleCash" Height="36" VerticalAlignment="Center" ToolTip="What a win must take to count as a big win"/>
<ContentControl x:Name="num_WhaleHits" Grid.Column="1" Tag="1,20,1,hits" VerticalAlignment="Center" ToolTip="Hits on that player in all, the first win counted. The game's daily limit still stops it."/>
</Grid>
</Border>
</StackPanel>
<!-- (Whale Hunter's window only) -->
<StackPanel x:Name="WhaleOnlyOpts" Visibility="Collapsed">
<UniformGrid Columns="2" Margin="0,0,-10,0">
<CheckBox x:Name="sw_RespectCycle" Style="{StaticResource OptTile}" Content="Respect cycle" ToolTip="At the top limit: crew to your picked district (or your family's lowest), collection out, loses fights to the low limit, then puts it all back."/>
<CheckBox x:Name="sw_FightItems" Style="{StaticResource OptTile}" Content="Use health and stamina items" ToolTip="When stamina runs out or you're in the hospital: items from your inventory, the smallest first."/>
</UniformGrid>
<StackPanel x:Name="RespectOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock Text="Respect limits" FontSize="14" VerticalAlignment="Center"/>
<ContentControl x:Name="num_RespectLow" Grid.Column="1" Tag="500,1000000,500,low" VerticalAlignment="Center" Margin="0,0,10,0" ToolTip="Stop losing here"/>
<ContentControl x:Name="num_RespectHigh" Grid.Column="2" Tag="1000,1000000,500,high" VerticalAlignment="Center" ToolTip="Start losing here"/>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}" Margin="0,8,0,0">
<StackPanel>
<TextBlock Text="Garrison in" FontSize="14"/>
<TextBlock Text="Up to 5 districts, one a line, first choice on top. Taken from your family: the next one. None left: the crew stays with you until you pick again. Empty: your family's lowest district." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="112" Margin="0,8,0,0">
<Grid>
<TextBox x:Name="GarrisonPicksBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}" CaretBrush="{StaticResource Gold}"
FontSize="14" Padding="10,6" AcceptsReturn="True" TextWrapping="NoWrap" VerticalScrollBarVisibility="Auto" MaxLength="400"/>
<TextBlock x:Name="GarrisonPicksHint" Text="Ochre Steps&#10;Awning Lane" Foreground="{StaticResource Text3}" Margin="14,8" IsHitTestVisible="False"/>
</Grid>
</Border>
<TextBlock x:Name="GarrisonPicksCheck" Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap" Margin="2,6,0,0" Text=""/>
</StackPanel>
</Border>
</StackPanel>
</StackPanel>
<UniformGrid x:Name="SpendAllRow" Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_OnlyFightsSpendAll" Style="{StaticResource OptTile}" Content="Spend it all in Only" ToolTip="In Only the bosses don't run, so no stamina is kept for them."/>
</UniformGrid>
<Border x:Name="FightWinRow" Style="{StaticResource OptLine}" Margin="0,8,0,0">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Attack only" FontSize="14"/>
<TextBlock Text="How much stronger than a scouted player you must be." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="seg_FightWinChance_95" GroupName="winchance" Style="{StaticResource Segment}" Content="Sure wins" ToolTip="Only players far weaker than you"/><RadioButton x:Name="seg_FightWinChance_90" GroupName="winchance" Style="{StaticResource Segment}" Content="Likely wins" ToolTip="Players clearly weaker than you"/><RadioButton x:Name="seg_FightWinChance_75" GroupName="winchance" Style="{StaticResource Segment}" Content="Close fights" ToolTip="Also players only a little weaker than you"/></StackPanel></Border>
</Grid>
</Border>
<TextBlock x:Name="FightRespect" Style="{StaticResource Hint}" Margin="2,6,0,0" Text=""/>
<!-- the never-attack list (Settings.NeverAttack, one name a line): players and whole families the bot leaves alone -->
<Border Style="{StaticResource OptLine}" Margin="0,8,0,0">
<StackPanel>
<TextBlock Text="Never attack" FontSize="14"/>
<TextBlock Text="Player or family names, one a line, as the Fight list shows them. For every account." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="96" Margin="0,8,0,0">
<Grid>
<TextBox x:Name="NeverAttackBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}" CaretBrush="{StaticResource Gold}"
FontSize="14" Padding="10,6" AcceptsReturn="True" TextWrapping="NoWrap" VerticalScrollBarVisibility="Auto" MaxLength="2000"/>
<TextBlock x:Name="NeverAttackHint" Text="A family's name&#10;A player's name" Foreground="{StaticResource Text3}" Margin="14,8" IsHitTestVisible="False"/>
</Grid>
</Border>
</StackPanel>
</Border>
<!-- the attack-first list (Settings.AttackFirst, one name a line): players and families attacked before anyone else -->
<Border Style="{StaticResource OptLine}" Margin="0,8,0,0">
<StackPanel>
<TextBlock Text="Attack first" FontSize="14"/>
<TextBlock Text="Player or family names, one a line: when they're on the Fight list, they go first. For every account." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="96" Margin="0,8,0,0">
<Grid>
<TextBox x:Name="AttackFirstBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}" CaretBrush="{StaticResource Gold}"
FontSize="14" Padding="10,6" AcceptsReturn="True" TextWrapping="NoWrap" VerticalScrollBarVisibility="Auto" MaxLength="2000"/>
<TextBlock x:Name="AttackFirstHint" Text="A player's name&#10;A family's name" Foreground="{StaticResource Text3}" Margin="14,8" IsHitTestVisible="False"/>
</Grid>
</Border>
</StackPanel>
</Border>
<!-- Big payers: the remembered players whose biggest win took the amount picked (BigPayerCash), filled by
RefreshBigPayers from the memory only; the cross forgets a player. Folded until opened (14-10) -->
<Border x:Name="BigPayersRow" Style="{StaticResource OptLine}" Margin="0,8,0,0">
<StackPanel>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock Text="Big payers" FontSize="14" VerticalAlignment="Center"/>
<TextBlock x:Name="BigPayersRead" Grid.Column="1" Text="" Style="{StaticResource Label}" VerticalAlignment="Center" Margin="0,0,14,0"/>
<ToggleButton x:Name="Fold_BigPayersBody" Grid.Column="2" Style="{StaticResource Fold}" ToolTip="Show or hide the list"/>
</Grid>
<StackPanel x:Name="BigPayersBody">
<Grid Margin="0,12,0,12">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock Text="Players a win took a lot from, the last 3 days. The amount only filters this list. The cross forgets one." Style="{StaticResource Hint}" VerticalAlignment="Center" Margin="0,0,16,0"/>
<ComboBox x:Name="cmb_BigPayerCash" Width="250" Height="36" Grid.Column="1" VerticalAlignment="Center" ToolTip="Shows the players whose biggest win took this much or more. It changes nothing the bot does."/>
<Button x:Name="BtnBigPayersSave" Grid.Column="2" Style="{StaticResource Btn}" VerticalAlignment="Center" Margin="10,0,0,0" Content="Download" ToolTip="Save this list as a text file, to share it"/>
</Grid>
<Grid x:Name="BigPayersHead" Margin="12,0,12,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="40"/>
</Grid.ColumnDefinitions>
<TextBlock Text="PLAYER" Style="{StaticResource Label}"/>
<TextBlock Grid.Column="1" Text="BIGGEST" Style="{StaticResource Label}" HorizontalAlignment="Right"/>
<TextBlock Grid.Column="2" Text="LAST" Style="{StaticResource Label}" HorizontalAlignment="Right"/>
<TextBlock Grid.Column="3" Text="LAST BIG ONE" Style="{StaticResource Label}" HorizontalAlignment="Right"/>
<TextBlock Grid.Column="4" Text="FIGHTS" Style="{StaticResource Label}" HorizontalAlignment="Right"/>
</Grid>
<TextBlock x:Name="BigPayersEmpty" Text="No player has paid that much in the last 3 days." Style="{StaticResource Hint}" Margin="12,4,0,0"/>
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,0,-16,0" MaxHeight="330">
<ItemsControl x:Name="BigPayerList" Margin="0,0,16,0">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border CornerRadius="10" Padding="12,6" Background="{Binding RowBg}" Margin="0,0,0,3">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="40"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Name}" FontSize="13.5" FontWeight="SemiBold" VerticalAlignment="Center"/>
<TextBlock Grid.Column="1" Text="{Binding Biggest}" FontSize="13" FontWeight="SemiBold" Foreground="#7EBE5A" HorizontalAlignment="Right" VerticalAlignment="Center"/>
<TextBlock Grid.Column="2" Text="{Binding Last}" FontSize="13" Foreground="#A8A292" HorizontalAlignment="Right" VerticalAlignment="Center"/>
<TextBlock Grid.Column="3" Text="{Binding When}" FontSize="13" Foreground="#A8A292" HorizontalAlignment="Right" VerticalAlignment="Center"/>
<TextBlock Grid.Column="4" Text="{Binding Record}" FontSize="12.5" Foreground="#A8A292" HorizontalAlignment="Right" VerticalAlignment="Center" ToolTip="{Binding RecordTip}"/>
<Button Grid.Column="5" Content="✕" Command="{Binding Forget}" Style="{StaticResource GhostBtn}" Padding="6,2" FontSize="12"
HorizontalAlignment="Right" VerticalAlignment="Center" ToolTip="Forget this player"/>
</Grid>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</StackPanel>
</StackPanel>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_CrewFill" Visibility="Collapsed">
<StackPanel x:Name="CrewFillOpts">
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_CrewSlots" Style="{StaticResource OptTile}" Content="Buy new crew slots" ToolTip="From your cash and your bank, after the next property and safehouse level. High slots cost trillions."/>
</UniformGrid>
</StackPanel>
<StackPanel x:Name="HireOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Hire with" FontSize="14"/>
<TextBlock Text="For empty slots and rerolls." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="seg_CrewRollType_Street" GroupName="crewroll" Style="{StaticResource Segment}" Content="Street $10K"/><RadioButton x:Name="seg_CrewRollType_Professional" GroupName="crewroll" Style="{StaticResource Segment}" Content="Pro $10M"/><RadioButton x:Name="seg_CrewRollType_Elite" GroupName="crewroll" Style="{StaticResource Segment}" Content="Elite $10B"/></StackPanel></Border>
</Grid>
</Border>
<WrapPanel x:Name="CrewOdds" Margin="2,0,0,8"/>
<Border x:Name="LuckRow" Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="During Recruitment Luck" FontSize="14"/>
<TextBlock Text="For empty slots and rerolls. Rerolls take cash from the bank for it, but not on Only. Short of cash, it hires as above." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<Border x:Name="LuckRollBar" Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="seg_CrewLuckRoll_Same" GroupName="luckroll" Style="{StaticResource Segment}" Content="Same"/><RadioButton x:Name="seg_CrewLuckRoll_Professional" GroupName="luckroll" Style="{StaticResource Segment}" Content="Pro $10M"/><RadioButton x:Name="seg_CrewLuckRoll_Elite" GroupName="luckroll" Style="{StaticResource Segment}" Content="Elite $10B"/></StackPanel></Border>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_Reroll" Visibility="Collapsed">
<Border Style="{StaticResource OptLine}">
<StackPanel>
<UniformGrid Columns="4">
<StackPanel><TextBlock x:Name="CrewCount" Text="-" FontFamily="{StaticResource Display}" FontWeight="SemiBold" FontSize="20"/><TextBlock Text="henchmen" FontSize="12" Foreground="{StaticResource Text3}"/></StackPanel>
<StackPanel><TextBlock x:Name="CrewAttack" Text="-" FontFamily="{StaticResource Display}" FontWeight="SemiBold" FontSize="20"/><TextBlock Text="crew attack" FontSize="12" Foreground="{StaticResource Text3}"/></StackPanel>
<StackPanel><TextBlock x:Name="CrewDefense" Text="-" FontFamily="{StaticResource Display}" FontWeight="SemiBold" FontSize="20"/><TextBlock Text="crew defense" FontSize="12" Foreground="{StaticResource Text3}"/></StackPanel>
<StackPanel><TextBlock x:Name="CrewSlot" Text="-" FontFamily="{StaticResource Display}" FontWeight="SemiBold" FontSize="20" Foreground="{StaticResource Green}"/><TextBlock Text="next slot" FontSize="12" Foreground="{StaticResource Text3}"/></StackPanel>
</UniformGrid>
<Grid x:Name="CrewBar" Height="8" Margin="0,14,0,0"/>
<WrapPanel x:Name="CrewChips" Margin="0,8,0,0"/>
<TextBlock x:Name="CrewStatus" Style="{StaticResource Hint}" Margin="0,4,0,0" Text="Not read yet. The bot looks at your crew every 30 minutes, every 6 hours with all its tiles off."/>
<TextBlock x:Name="CrewSession" Style="{StaticResource Hint}" Margin="0,2,0,0" Text=""/>
<TextBlock x:Name="CrewWhen" Text="" FontSize="12" Foreground="{StaticResource Text3}" Margin="0,4,0,0"/>
</StackPanel>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Rerolls" FontSize="14"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="RollMode_Off" GroupName="rollmode" Style="{StaticResource Segment}" Content="Off"/><RadioButton x:Name="RollMode_On" GroupName="rollmode" Style="{StaticResource Segment}" Content="On"/><RadioButton x:Name="RollMode_First" GroupName="rollmode" Style="{StaticResource Segment}" Content="First"/><RadioButton x:Name="RollMode_Only" GroupName="rollmode" Style="{StaticResource Segment}" Content="Only"/></StackPanel></Border>
</Grid>
</Border>
<TextBlock x:Name="RollModeHint" Style="{StaticResource Hint}" Margin="2,0,0,4"/>
<StackPanel x:Name="RerollOpts">
<TextBlock x:Name="CrewRollHint" Style="{StaticResource Hint}" Margin="2,0,0,12"/>
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_CrewAutoRoll" Style="{StaticResource OptTile}" Content="Use the game's Auto Roll" ToolTip="Needs the game's Auto Roll pass. The game rolls, the bot restarts it. With the No Bank Fees pass your bank pays too, but not on Only."/>
</UniformGrid>
<Border x:Name="AutoRollLimitRow" Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Auto Roll stops a slot at" FontSize="14"/></StackPanel>
<ComboBox x:Name="cmb_AutoRollLimit" Grid.Column="1" Width="240" Height="36" VerticalAlignment="Center" ToolTip="What a slot's rolls may spend before the bot stops it"/>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="After the best rarity" FontSize="14"/>
<TextBlock Text="Keep rerolling for each one's own attack and defense: 45/45, a Forbidden 70/70. Needs Equip the best gear on." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_CrewRerollStats" Grid.Column="1" Width="240" Height="36" VerticalAlignment="Center"/>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_TrainCrew" Visibility="Collapsed">
<StackPanel x:Name="TrainOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Who first" FontSize="14"/>
<TextBlock Text="The best: the strongest first. Evenly: the lowest level first." Style="{StaticResource Hint}" FontSize="12.5"/></StackPanel>
<Border Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center"><StackPanel Orientation="Horizontal"><RadioButton x:Name="seg_TrainOrder_Best" GroupName="trainorder" Style="{StaticResource Segment}" Content="The best"/><RadioButton x:Name="seg_TrainOrder_Evenly" GroupName="trainorder" Style="{StaticResource Segment}" Content="Everyone evenly"/></StackPanel></Border>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Training at the same time" FontSize="14"/>
<TextBlock Text="2 is faster, but your crew is weaker meanwhile." Style="{StaticResource Hint}" FontSize="12.5"/></StackPanel>
<ContentControl x:Name="num_TrainAtOnce" Grid.Column="1" Tag="1,2,1," VerticalAlignment="Center"/>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_FamilyWatch" Visibility="Collapsed">
<!-- the family as the crew last read it, like the game's own header -->
<Border Style="{StaticResource OptLine}" Padding="16,14">
<StackPanel>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Border Width="70" Height="70" CornerRadius="16" Background="{StaticResource Gold}">
<Border Margin="4" CornerRadius="12" BorderBrush="#55141414" BorderThickness="1.5">
<StackPanel VerticalAlignment="Center">
<TextBlock x:Name="FamLevel" Text="?" FontFamily="{StaticResource Display}" FontWeight="Black" FontSize="27"
Foreground="{StaticResource OnGold}" HorizontalAlignment="Center" Margin="0,-3,0,0"/>
<TextBlock Text="LEVEL" FontSize="9.5" FontWeight="Bold" Foreground="{StaticResource OnGold}" HorizontalAlignment="Center" Margin="0,-4,0,0"/>
</StackPanel>
</Border>
</Border>
<StackPanel Grid.Column="1" Margin="18,0,28,0" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal">
<TextBlock x:Name="FamName" Text="Your family" FontFamily="{StaticResource Serif}" FontSize="25"/>
<TextBlock x:Name="FamTag" Text="" FontFamily="{StaticResource Serif}" Foreground="{StaticResource Gold}" FontSize="18" Margin="12,7,0,0"/>
</StackPanel>
<Grid Margin="0,10,0,0" Height="24">
<Border CornerRadius="7" Background="{StaticResource Track}"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition x:Name="FamXpA" Width="0*"/>
<ColumnDefinition x:Name="FamXpB" Width="1*"/>
</Grid.ColumnDefinitions>
<Border CornerRadius="7" Background="{StaticResource Xp}"/>
</Grid>
<TextBlock x:Name="FamXpText" Text="" FontWeight="Bold" FontSize="12.5" Margin="11,0" VerticalAlignment="Center"/>
</Grid>
</StackPanel>
<StackPanel Grid.Column="2" VerticalAlignment="Center">
<TextBlock Text="Family vault" Style="{StaticResource Label}" HorizontalAlignment="Right"/>
<TextBlock x:Name="FamVault" Text="-" FontFamily="{StaticResource Serif}" FontSize="32" Foreground="{StaticResource Green}"
HorizontalAlignment="Right" Margin="0,-2,0,0"/>
<TextBlock x:Name="FamGold" Text="" FontSize="13" Foreground="{StaticResource Gold}" HorizontalAlignment="Right"/>
</StackPanel>
</Grid>
<UniformGrid Columns="4" Margin="0,18,0,0">
<StackPanel><TextBlock x:Name="FamMembers" Text="-" Style="{StaticResource Big}" FontSize="21"/><TextBlock Text="members" Style="{StaticResource Label}"/></StackPanel>
<StackPanel><TextBlock x:Name="FamRespect" Text="-" Style="{StaticResource Big}" FontSize="21"/><TextBlock Text="family respect" Style="{StaticResource Label}"/></StackPanel>
<StackPanel><TextBlock x:Name="FamPerkLevels" Text="-" Style="{StaticResource Big}" FontSize="21"/><TextBlock Text="perk levels" Style="{StaticResource Label}"/></StackPanel>
<StackPanel><TextBlock x:Name="FamTerritories" Text="-" Style="{StaticResource Big}" FontSize="21"/><TextBlock Text="territories" Style="{StaticResource Label}"/></StackPanel>
</UniformGrid>
<TextBlock x:Name="FamRead" Style="{StaticResource Hint}" Margin="0,16,0,0" Text=""/>
<!-- (14-10: the family's stamina perks folded at the card's foot; the list scrolls inside if the family has many) -->
<Border Height="1" Background="{StaticResource LineSoft}" Margin="0,14,0,14"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock Text="Your family's stamina perks" FontSize="14" VerticalAlignment="Center"/>
<TextBlock x:Name="PerksRead" Grid.Column="1" Text="" Style="{StaticResource Label}" VerticalAlignment="Center" Margin="0,0,14,0"/>
<ToggleButton x:Name="Fold_PerksBody" Grid.Column="2" Style="{StaticResource Fold}" ToolTip="Show or hide the list"/>
</Grid>
<StackPanel x:Name="PerksBody" Margin="0,12,0,0">
<TextBlock x:Name="PerksEmpty" Text="Not read yet." Style="{StaticResource Hint}"/>
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,0,-16,0" MaxHeight="300">
<ItemsControl x:Name="PerkList" Margin="0,0,16,0">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border CornerRadius="10" Padding="12,8" Background="{Binding RowBg}" Margin="0,0,0,3">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="86"/>
<ColumnDefinition Width="110"/>
<ColumnDefinition Width="86"/>
</Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center">
<TextBlock Text="{Binding Name}" FontSize="13.5" Foreground="{Binding NameBrush}" FontWeight="{Binding NameWeight}"/>
<TextBlock Text="{Binding Effect}" FontSize="12" Foreground="#A8A292"/>
</StackPanel>
<TextBlock Grid.Column="1" Text="{Binding Level}" FontSize="13" Foreground="#D4AF37" HorizontalAlignment="Right" VerticalAlignment="Center"/>
<Grid Grid.Column="2" Height="8" Margin="18,0,0,0" VerticalAlignment="Center">
<Border CornerRadius="4" Background="#0D0D0E"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="{Binding A}"/><ColumnDefinition Width="{Binding B}"/></Grid.ColumnDefinitions>
<Border CornerRadius="4" Background="#5B8FB9"/>
</Grid>
</Grid>
<TextBlock Grid.Column="3" Text="{Binding Progress}" FontSize="12.5" FontWeight="SemiBold" Foreground="#A8A292" HorizontalAlignment="Right" VerticalAlignment="Center"/>
</Grid>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</StackPanel>
</StackPanel>
</Border>
</StackPanel>
<StackPanel x:Name="Opt_Takedown" Visibility="Collapsed">
<Border Style="{StaticResource OptLine}" Padding="16,14">
<StackPanel>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="1.25*"/><ColumnDefinition Width="0.85*"/><ColumnDefinition Width="1.5*"/></Grid.ColumnDefinitions>
<StackPanel>
<TextBlock Text="Your damage this week" Style="{StaticResource Label}"/>
<TextBlock x:Name="TdDamage" Text="-" Style="{StaticResource Big}" Margin="0,2,0,0"/>
<TextBlock x:Name="TdPlace" Text="" Style="{StaticResource Hint}"/>
</StackPanel>
<StackPanel Grid.Column="1" Margin="12,0,0,0">
<TextBlock Text="Free attacks" Style="{StaticResource Label}"/>
<TextBlock x:Name="TdFree" Text="-" Style="{StaticResource Big}" Margin="0,2,0,0"/>
<WrapPanel x:Name="TdPips" Margin="0,6,0,0"/>
</StackPanel>
<StackPanel Grid.Column="2" Margin="12,0,0,0">
<TextBlock x:Name="TdStageLabel" Text="Stage" Style="{StaticResource Label}"/>
<TextBlock x:Name="TdStage" Text="-" FontWeight="SemiBold" FontSize="14.5" Margin="0,5,0,0"/>
<Grid Height="8" Margin="0,9,0,0">
<Border CornerRadius="4" Background="{StaticResource Track}"/>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition x:Name="TdHpA" Width="0*"/><ColumnDefinition x:Name="TdHpB" Width="1*"/></Grid.ColumnDefinitions>
<Border CornerRadius="4" Background="{StaticResource Health}"/>
</Grid>
</Grid>
<TextBlock x:Name="TdHp" Text="" Style="{StaticResource Label}" Margin="0,6,0,0" TextWrapping="Wrap"/>
</StackPanel>
</Grid>
<TextBlock x:Name="TdRead" Style="{StaticResource Hint}" Margin="0,16,0,0" Text=""/>
</StackPanel>
</Border>
</StackPanel>
<StackPanel x:Name="Opt_GiveStamina" Visibility="Collapsed">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Keep stamina for bosses" FontSize="14"/>
<TextBlock Text="Gifts, player fights, the Takedown and healing defenders leave this much, also with Stamina to perks off. Half your bar at most." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ContentControl x:Name="num_FightStaminaReserve" Grid.Column="1" Tag="0,500,1," VerticalAlignment="Center"/>
</Grid>
</Border>
<StackPanel x:Name="GiveToOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Give it to" FontSize="14"/></StackPanel>
<ComboBox x:Name="cmb_StaminaPerk" Grid.Column="1" Width="260" Height="36" VerticalAlignment="Center"/>
</Grid>
</Border>
<TextBlock x:Name="PerkHint" Style="{StaticResource Hint}" Margin="2,0,0,0"/>
<Border x:Name="GiveWhyBox" CornerRadius="10" Background="{StaticResource Panel2}" Padding="12,8" Margin="0,12,0,0" HorizontalAlignment="Left" Visibility="Collapsed">
<StackPanel Orientation="Horizontal">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoBolt}" Stroke="{StaticResource Stamina}" Width="14" Height="14" VerticalAlignment="Center"/>
<TextBlock x:Name="GiveWhy" FontSize="13" Foreground="{StaticResource Text}" Margin="8,0,0,0" VerticalAlignment="Center"/>
</StackPanel>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_Animals" Visibility="Collapsed">
<StackPanel x:Name="AnimalOpts">
<TextBlock Text="Every 20 minutes, from the ANIMALS button on the Safehouse page. A hungry animal stops boosting you." Style="{StaticResource Hint}" Margin="2,0,0,10" TextWrapping="Wrap"/>
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_AnimalFeed" Style="{StaticResource OptTile}" Content="Feed it" ToolTip="Under 50% hunger: Animal Food until 80%."/>
<CheckBox x:Name="sw_AnimalPremium" Style="{StaticResource OptTile}" Visibility="Collapsed" Content="Use premium food" ToolTip="At 50% hunger or less: FEED 50% with the premium food you own. Never buys it."/>
<CheckBox x:Name="sw_AnimalTrain" Style="{StaticResource OptTile}" Content="Train it" ToolTip="When it is ready: 10 energy a session, never under 30% hunger."/>
<CheckBox x:Name="sw_AnimalBuyFood" Style="{StaticResource OptTile}" Content="Buy animal food" ToolTip="For cash, with the No Bank Fees pass your bank too, up to the price below. Never Robux."/>
<CheckBox x:Name="sw_AnimalBuyCrates" Style="{StaticResource OptTile}" Content="Buy crates" ToolTip="The Wooden and Epic crates for cash, with the No Bank Fees pass your bank too, up to the price below. Open crates in Rewards opens them. Never Robux."/>
</UniformGrid>
<Border x:Name="AnimalPriceRow" Style="{StaticResource OptLine}" Margin="0,8,0,0">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Most it pays for one" FontSize="14"/>
<TextBlock Text="The price goes up with each buy and resets every day. The bot stops once the next one costs more." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_AnimalMaxPrice" Grid.Column="1" Width="200" Height="36" VerticalAlignment="Center" ToolTip="The most one buy may cost"/>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_GlobalBoss" Visibility="Collapsed">
<UniformGrid x:Name="GlobalBossOpts" Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_GlobalBossConsumables" Style="{StaticResource OptTile}" Content="Use consumables" ToolTip="When stamina or health runs out on the boss: peanuts, sandwich, lunch box, bandages, medkits from your inventory, the smallest first."/>
</UniformGrid>
</StackPanel>
<StackPanel x:Name="Opt_DefendTerritory" Visibility="Collapsed">
<StackPanel x:Name="DefendOpts">
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_DefendHeal" Style="{StaticResource OptTile}" Content="Heal defenders with stamina" ToolTip="During an attack. Keeps the stamina for bosses and fights."/>
</UniformGrid>
<!-- the never-defend list (Settings.NeverDefend, one name a line): families whose attacks the bot doesn't defend -->
<Border Style="{StaticResource OptLine}" Margin="0,8,0,0">
<StackPanel>
<TextBlock Text="Never defend against" FontSize="14"/>
<TextBlock Text="Family names, one a line. When they attack a district, your crew isn't sent there. For every account." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/>
<Border Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="80" Margin="0,8,0,0">
<Grid>
<TextBox x:Name="NeverDefendBox" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}" CaretBrush="{StaticResource Gold}"
FontSize="14" Padding="10,6" AcceptsReturn="True" TextWrapping="NoWrap" VerticalScrollBarVisibility="Auto" MaxLength="1000"/>
<TextBlock x:Name="NeverDefendHint" Text="A family's name" Foreground="{StaticResource Text3}" Margin="14,8" IsHitTestVisible="False"/>
</Grid>
</Border>
</StackPanel>
</Border>
</StackPanel>
</StackPanel>
<!-- the Free rewards tile's five (27-10: each its own tile on the Tasks page until then); Use events under them, which
the tile doesn't switch (04-11, audit-3 #25: it changes how the crew, crates, gifts and operations play) -->
<StackPanel x:Name="Opt_Rewards" Visibility="Collapsed">
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_Playtime" Style="{StaticResource OptTile}" Content="Playtime rewards" ToolTip="At 5, 15, 30, 60 and 120 minutes a day. The 2X EXP one is kept for the finished operations and the bosses. With Fight bosses on, stages 1 to 32 are only brought low before it, finished operations wait for it until health is almost full, and player fights and the Takedown pause around it to save health."/>
<CheckBox x:Name="sw_Contracts" Style="{StaticResource OptTile}" Content="Contract tasks" ToolTip="Daily and weekly."/>
<CheckBox x:Name="sw_Briefcases" Style="{StaticResource OptTile}" Content="Lucky Briefcases" ToolTip="Free picks only, never keys."/>
<CheckBox x:Name="sw_TrickOrTreat" Style="{StaticResource OptTile}" Visibility="Collapsed" Content="Trick or Treat" ToolTip="While the Halloween event runs: spends the free knocks on other families' doors for Candy. A door can trick you instead with a 15-minute curse, like -15% max health."/>
<CheckBox x:Name="sw_Crates" Style="{StaticResource OptTile}" Content="Open crates" ToolTip="All of the same crate at once, animal crates too while Animals is on. With Use events on they wait for Crate Luck, 24 hours at most."/>
</UniformGrid>
<Border Height="1" Background="{StaticResource LineSoft}" Margin="0,2,0,12"/>
<UniformGrid Columns="3" Margin="0,0,-10,0">
<CheckBox x:Name="sw_Events" Style="{StaticResource OptTile}" Content="Use events" ToolTip="Reads the game's events: rerolls first in Recruitment Luck, crates kept up to 24 hours for Crate Luck, stamina kept for the bosses in 2X Boss Damage."/>
</UniformGrid>
<TextBlock Style="{StaticResource Hint}" Margin="2,0,0,4" TextWrapping="Wrap" Text="Free rewards on or off leaves this one as it is."/>
</StackPanel>
<StackPanel x:Name="Opt_Operations" Visibility="Collapsed">
<StackPanel x:Name="OperationsOpts">
<Border Style="{StaticResource OptLine}" Margin="0,0,0,10">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Which operation" FontSize="14"/>
<TextBlock Text="Goes in every free slot. Each start costs the cash the game asks, from the cash on hand. If it can't start, the slot waits for it." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_OperationOnly" Grid.Column="1" Width="300" Height="36" VerticalAlignment="Center" MaxDropDownHeight="420" ToolTip="Which operation the bot starts"/>
</Grid>
</Border>
</StackPanel>
<TextBlock x:Name="OpsEmpty" Text="Not read yet." Style="{StaticResource Hint}" Margin="2,0,0,8"/>
<ItemsControl x:Name="OpsList">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border Background="#1A1A1C" BorderBrush="#222225" BorderThickness="1" CornerRadius="10" Padding="14,10" Margin="0,0,0,8">
<StackPanel>
<Grid>
<TextBlock Text="{Binding Name}" FontSize="13.5" Foreground="#E8E2D0"/>
<TextBlock Text="{Binding Left}" FontSize="12.5" Foreground="#A8A292" HorizontalAlignment="Right"/>
</Grid>
<Grid Height="4" Margin="0,8,0,0">
<Border CornerRadius="2" Background="#0D0D0E"/>
<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="{Binding A}"/><ColumnDefinition Width="{Binding B}"/></Grid.ColumnDefinitions><Border CornerRadius="2" Background="#5B8FB9"/></Grid>
</Grid>
</StackPanel>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
<StackPanel x:Name="Opt_Bank" Visibility="Collapsed">
<StackPanel x:Name="BankOpts">
<TextBlock Text="After every round: the bot banks everything each round, and once a minute between fights. At an amount it only banks when the cash on hand reaches it, so a long fights session doesn't deposit over and over before the money adds up." Style="{StaticResource Hint}" Margin="2,0,0,10"/>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="When to bank" FontSize="14"/>
<TextBlock Text="To turn banking off, untick the task. No buy can take banked money then." Style="{StaticResource Hint}" FontSize="12.5"/></StackPanel>
<Border x:Name="BankModeBar" Style="{StaticResource SegmentBar}" Grid.Column="1" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal">
<RadioButton x:Name="seg_BankMode_Round" GroupName="bankmode" Style="{StaticResource Segment}" Content="After every round"/>
<RadioButton x:Name="seg_BankMode_Amount" GroupName="bankmode" Style="{StaticResource Segment}" Content="At an amount"/>
</StackPanel>
</Border>
</Grid>
</Border>
<Border x:Name="BankAtRow" Style="{StaticResource OptLine}" Visibility="Collapsed">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Bank at this much" FontSize="14"/>
<TextBlock Text="The moment the cash on hand reaches it, the bot banks - also between two attacks while it fights." Style="{StaticResource Hint}" FontSize="12.5"/>
<TextBlock x:Name="BankAtHint" Text="" Style="{StaticResource Hint}" FontSize="12.5" Visibility="Collapsed"/></StackPanel>
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
<Border x:Name="txt_BankAtBox" Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Height="36" Padding="10,0" Visibility="Collapsed">
<TextBox x:Name="txt_BankAt" Width="110" VerticalAlignment="Center" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}"
FontSize="13.5" ToolTip="Your own amount, like 25B, 750M or 2500000000"/>
</Border>
<ComboBox x:Name="cmb_BankAt" Width="190" Height="36" VerticalAlignment="Center" Margin="10,0,0,0" ToolTip="A preset, or My own amount to type one"/>
</StackPanel>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_Properties" Visibility="Collapsed">
<StackPanel x:Name="PropertiesOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Which property to build" FontSize="14"/>
<TextBlock Text="Pick one and the bot only builds that one, also in place of lots that earn less. A gold one goes in place of your cash lots one by one, whatever they earn, and Lots for gold properties no longer counts. Best one: the bot picks." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_PropertyOnly" Grid.Column="1" Width="260" Height="36" VerticalAlignment="Center" MaxDropDownHeight="420" ToolTip="Which property the bot builds"/>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Lots for gold properties" FontSize="14"/>
<TextBlock Text="Lots that get a property making gold bars (level 125+), once the others hold the best. 0 = none." Style="{StaticResource Hint}" FontSize="12.5"/></StackPanel>
<ContentControl x:Name="num_GoldLots" Grid.Column="1" Tag="0,50,1," VerticalAlignment="Center"/>
</Grid>
</Border>
</StackPanel>
<!-- the account, as the Safehouse page shows it (read once a day) -->
<Border Style="{StaticResource OptLine}" Padding="16,14">
<StackPanel>
<Grid>
<TextBlock Text="Your mafia" FontSize="14"/>
<TextBlock x:Name="SafeWhen" Text="read once a day" Style="{StaticResource Label}" HorizontalAlignment="Right" VerticalAlignment="Center"/>
</Grid>
<UniformGrid Columns="3" Margin="0,12,0,0">
<StackPanel Margin="0,0,0,12"><TextBlock x:Name="SafeLevel" Text="-" Style="{StaticResource Big}"/><TextBlock x:Name="SafeLevelSub" Text="safehouse" Style="{StaticResource Label}"/></StackPanel>
<StackPanel Margin="0,0,0,12"><TextBlock x:Name="SafeRespect" Text="-" Style="{StaticResource Big}"/><TextBlock Text="respect" Style="{StaticResource Label}"/></StackPanel>
<StackPanel Margin="0,0,0,12"><TextBlock x:Name="SafeIncome" Text="-" Style="{StaticResource Big}"/><TextBlock Text="income an hour" Style="{StaticResource Label}"/></StackPanel>
<StackPanel><TextBlock x:Name="SafeAttack" Text="-" Style="{StaticResource Big}"/><TextBlock Text="attack power" Style="{StaticResource Label}"/></StackPanel>
<StackPanel><TextBlock x:Name="SafeDefense" Text="-" Style="{StaticResource Big}"/><TextBlock Text="defense power" Style="{StaticResource Label}"/></StackPanel>
<StackPanel><TextBlock x:Name="SafeCrew" Text="-" Style="{StaticResource Big}"/><TextBlock x:Name="SafeCrewSub" Text="henchmen" Style="{StaticResource Label}"/></StackPanel>
</UniformGrid>
</StackPanel>
</Border>
</StackPanel>
<StackPanel x:Name="Opt_SpendPoints" Visibility="Collapsed">
<!-- (audit 3) the stat and its stop, both hidden with the tile off -->
<StackPanel x:Name="PointsOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Spend them on" FontSize="14"/></StackPanel>
<ComboBox x:Name="cmb_PointsStat" Grid.Column="1" Width="240" Height="36" VerticalAlignment="Center"/>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Stop at (optional)" FontSize="14"/>
<TextBlock Text="Spending stops when this number in the game's Skill Points window is reached, and the points stay saved. Leave it empty for no limit." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<Border Grid.Column="1" Width="120" Height="36" VerticalAlignment="Center" Background="{StaticResource Field}" BorderBrush="{StaticResource Line}" BorderThickness="1.5" CornerRadius="10" Padding="10,0">
<TextBox x:Name="txt_PointsStop" VerticalAlignment="Center" Background="Transparent" BorderThickness="0" Foreground="{StaticResource Text}" CaretBrush="{StaticResource Gold}" FontSize="13.5" MaxLength="7"/>
</Border>
</Grid>
</Border>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_ShopBuy" Visibility="Collapsed">
<StackPanel x:Name="ShopOpts">
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Cash" FontSize="14"/>
<TextBlock Text="The most it pays for one item." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_ShopCashMax" Grid.Column="1" Width="290" Height="36" VerticalAlignment="Center"/>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Gold" FontSize="14"/>
<TextBlock Text="The most it pays for one item." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_ShopGoldMax" Grid.Column="1" Width="290" Height="36" VerticalAlignment="Center"/>
</Grid>
</Border>
<Border Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Bank" FontSize="14"/>
<TextBlock Text="What your bank may pay for." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_ShopBankFrom" Grid.Column="1" Width="290" Height="36" VerticalAlignment="Center" ToolTip="Needs the No Bank Fees pass."/>
</Grid>
</Border>
<Border x:Name="ShopPingLine" Style="{StaticResource OptLine}">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel VerticalAlignment="Center" Margin="0,0,16,0"><TextBlock Text="Discord" FontSize="14"/>
<TextBlock Text="A message when it buys something good. For every account." Style="{StaticResource Hint}" FontSize="12.5" TextWrapping="Wrap"/></StackPanel>
<ComboBox x:Name="cmb_ShopPing" Grid.Column="1" Width="290" Height="36" VerticalAlignment="Center"/>
</Grid>
</Border>
<TextBlock x:Name="ShopPingHint" Style="{StaticResource Hint}" TextWrapping="Wrap" Margin="0,0,0,12"/>
</StackPanel>
</StackPanel>
<StackPanel x:Name="Opt_MarketRelist" Visibility="Collapsed">
<StackPanel x:Name="RelistEveryRow">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel>
<TextBlock Text="Relist every" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Text="30 to 60 minutes: the game moves a listing to the top once per 30 minutes. You make the listings, the bot only puts them back up." Style="{StaticResource Hint}" TextWrapping="Wrap"/>
</StackPanel>
<ContentControl x:Name="num_MarketMinutes" Grid.Column="1" Tag="30,60,5,min" VerticalAlignment="Center"/>
</Grid>
</StackPanel>
</StackPanel>
</StackPanel>
</ScrollViewer>
</DockPanel>
</Border>
</Grid>
<!-- big moments (15-10): gold cards that slide in at the top right (UiWindow.ShowMoment) -->
<StackPanel x:Name="Toasts" Grid.ColumnSpan="2" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,96,26,0" Width="350" IsHitTestVisible="False"/>
<!-- ============================================================ review: what "Check my game" found and the settings it
suggests for the focus picked here. Nothing changes until "Use these settings"; a line switched off keeps your own. -->
<Grid x:Name="Review" Grid.ColumnSpan="2" Background="#E6070708" Visibility="Collapsed">
<!-- the title and the buttons stay in sight; what it found and what it suggests scroll between them -->
<Border Style="{StaticResource Card}" MaxWidth="1060" Margin="30" Padding="30,24,30,20" BorderBrush="{StaticResource Line}">
<Grid>
<Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition Height="*"/><RowDefinition Height="Auto"/></Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Border Width="58" Height="58" CornerRadius="16" Background="{StaticResource Rail}">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoScan}" Stroke="{StaticResource Gold}" Width="26" Height="26"/>
</Border>
<StackPanel Grid.Column="1" Margin="16,0,0,0" VerticalAlignment="Center">
<TextBlock Text="Your game, checked" Style="{StaticResource PageTitle}" FontSize="28"/>
<TextBlock x:Name="ReviewSub" Text="" Style="{StaticResource Label}" Margin="1,2,0,0"/>
</StackPanel>
<Button x:Name="BtnReviewClose" Grid.Column="2" Style="{StaticResource WinBtn}" VerticalAlignment="Top" shell:WindowChrome.IsHitTestVisibleInChrome="True" ToolTip="Close (your settings stay as they are)">
<Path Data="M0,0 L10,10 M10,0 L0,10" Stroke="{StaticResource Text2}" StrokeThickness="1.2"/>
</Button>
</Grid>
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" Margin="0,20,-16,0">
<Grid Margin="0,0,16,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="28"/>
<ColumnDefinition Width="3*"/>
</Grid.ColumnDefinitions>
<!-- what the check read, plainly -->
<StackPanel>
<TextBlock Text="WHAT I FOUND" Style="{StaticResource Label}" Foreground="{StaticResource Gold}" Margin="0,0,0,12"/>
<ItemsControl x:Name="FoundList">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid Margin="0,0,0,11">
<Grid.ColumnDefinitions><ColumnDefinition Width="96"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<TextBlock Text="{Binding Title}" FontSize="12.5" FontWeight="SemiBold" Foreground="#6F6B61" Margin="0,1,8,0" TextWrapping="Wrap" TextTrimming="None"/>
<TextBlock Grid.Column="1" Text="{Binding Text}" FontSize="13.5" Foreground="#E8E2D0" TextWrapping="Wrap" TextTrimming="None"/>
</Grid>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
<!-- the settings it suggests: each change as old -> new with its reason, a switch to keep your own -->
<StackPanel Grid.Column="2">
<TextBlock Text="WHAT I'D SET UP" Style="{StaticResource Label}" Foreground="{StaticResource Gold}" Margin="0,0,0,12"/>
<TextBlock Text="Your focus" FontWeight="SemiBold" FontSize="14" Margin="0,0,0,8"/>
<Border Style="{StaticResource SegmentBar}">
<StackPanel Orientation="Horizontal">
<RadioButton x:Name="seg_Focus_Balanced" GroupName="focus" Style="{StaticResource Segment}" Content="Balanced"/>
<RadioButton x:Name="seg_Focus_XP" GroupName="focus" Style="{StaticResource Segment}" Content="XP"/>
<RadioButton x:Name="seg_Focus_Money" GroupName="focus" Style="{StaticResource Segment}" Content="Money"/>
<RadioButton x:Name="seg_Focus_Family" GroupName="focus" Style="{StaticResource Segment}" Content="Family"/>
</StackPanel>
</Border>
<TextBlock x:Name="FocusHint" Style="{StaticResource Hint}" Margin="0,8,0,18"/>
<TextBlock x:Name="ChangesEmpty" Text="Your settings already fit your game." Style="{StaticResource Hint}" Margin="0,0,0,8" Visibility="Collapsed"/>
<ItemsControl x:Name="ChangeList">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border CornerRadius="10" Background="#212123" Padding="14,10" Margin="0,0,0,6">
<Grid>
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<StackPanel>
<WrapPanel>
<TextBlock Text="{Binding Name}" FontSize="14" FontWeight="SemiBold" Foreground="#E8E2D0" Margin="0,0,10,0"/>
<TextBlock Text="{Binding Old}" FontSize="13" Foreground="#6F6B61" TextDecorations="Strikethrough" VerticalAlignment="Bottom"/>
<TextBlock Text=" &#8594; " FontSize="13" Foreground="#6F6B61" VerticalAlignment="Bottom"/>
<TextBlock Text="{Binding New}" FontSize="13" FontWeight="Bold" Foreground="#D4AF37" VerticalAlignment="Bottom"/>
</WrapPanel>
<TextBlock Text="{Binding Reason}" FontSize="12.5" Foreground="#A8A292" TextWrapping="Wrap" TextTrimming="None" Margin="0,4,0,0"/>
<!-- a setting the player changed from its default: its switch starts off -->
<TextBlock Text="{Binding Note}" FontSize="12.5" FontWeight="SemiBold" Foreground="#D4AF37" TextWrapping="Wrap" TextTrimming="None" Margin="0,4,0,0">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Style.Triggers><DataTrigger Binding="{Binding Note}" Value=""><Setter Property="Visibility" Value="Collapsed"/></DataTrigger></Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</StackPanel>
<CheckBox Grid.Column="1" Style="{StaticResource Switch}" IsChecked="{Binding Use, Mode=TwoWay}" VerticalAlignment="Center" Margin="16,0,0,0"
ToolTip="On: use this. Off: keep your own setting."/>
</Grid>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
<TextBlock x:Name="KeptTitle" Text="ALREADY SET LIKE THIS" Style="{StaticResource Label}" Margin="0,16,0,10"/>
<ItemsControl x:Name="KeptList">
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Margin="0,0,0,9">
<WrapPanel>
<TextBlock Text="{Binding Name}" FontSize="13" FontWeight="SemiBold" Foreground="#A8A292" Margin="0,0,8,0"/>
<TextBlock Text="{Binding New}" FontSize="13" Foreground="#A8A292"/>
</WrapPanel>
<TextBlock Text="{Binding Reason}" FontSize="12" Foreground="#6F6B61" TextWrapping="Wrap" TextTrimming="None" Margin="0,2,0,0"/>
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</Grid>
</ScrollViewer>
<Grid Grid.Row="2" Margin="0,16,0,0">
<Border Height="1" Background="{StaticResource LineSoft}" VerticalAlignment="Top" Margin="0,-2,0,0"/>
<Grid Margin="0,16,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<TextBlock x:Name="ReviewNote" Style="{StaticResource Hint}" VerticalAlignment="Center" Margin="0,0,20,0"
Text="Nothing changes until you press Use these settings. Switch a line off to keep your own setting."/>
<StackPanel Grid.Column="1" Orientation="Horizontal">
<Button x:Name="BtnKeepSettings" Style="{StaticResource GhostBtn}" Margin="0,0,10,0">
<TextBlock x:Name="KeepText" Text="Keep my settings" FontWeight="SemiBold" Foreground="{StaticResource Text2}"/>
</Button>
<Button x:Name="BtnUseSettings" Style="{StaticResource PrimaryBtn}" Padding="24,11" MinWidth="180">
<TextBlock x:Name="UseText" Text="Use these settings" FontWeight="Bold" FontSize="14.5" Foreground="{StaticResource OnGold}"/>
</Button>
</StackPanel>
</Grid>
</Grid>
</Grid>
</Border>
</Grid>
<!-- ============================================================ welcome: the first start (until "Let's go") -->
<Grid x:Name="Welcome" Grid.ColumnSpan="2" Background="#E6070708" Visibility="Collapsed">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<Border Style="{StaticResource Card}" Width="760" Margin="30" Padding="36,30" HorizontalAlignment="Center" VerticalAlignment="Center"
BorderBrush="{StaticResource Line}">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Border Width="58" Height="58" CornerRadius="16" Background="{StaticResource Rail}">
<Path Data="{StaticResource IcoFedora}" Fill="{StaticResource Gold}" Width="38" Height="38" Stretch="Uniform"/>
</Border>
<StackPanel Margin="16,0,0,0" VerticalAlignment="Center">
<TextBlock Text="Welcome to Idle Mafia Bot" Style="{StaticResource PageTitle}" FontSize="28"/>
<TextBlock x:Name="WelcomeVersion" Text="" Style="{StaticResource Label}" Margin="1,1,0,0"/>
</StackPanel>
</StackPanel>
<TextBlock Style="{StaticResource Hint}" FontSize="14" Foreground="{StaticResource Text}" Margin="0,20,0,0"
Text="It plays Idle Mafia Game on Roblox for you. Every task is a tile on the Tasks page: gold is on, click it to turn it off."/>
<Grid Margin="0,20,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Data="{StaticResource IcoPlay}" Fill="{StaticResource Gold}" Width="13" Height="13" Stretch="Uniform"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="Start and stop" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="Open the game in Roblox, at any window size, and press Start or F6. While you use the PC it waits, then borrows the mouse for a few seconds."/>
</StackPanel>
</Grid>
<Grid Margin="0,16,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoScan}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="It only looks and clicks" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="It reads the screen and moves the mouse, like you would. It never changes Roblox."/>
</StackPanel>
</Grid>
<Grid Margin="0,16,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoShield}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="What it never presses" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="Anything that costs Robux, and risky buttons like DELETE, SABOTAGE or LEAVE&#160;FAMILY. The full list is in Settings. If a Robux purchase window opens, it stops."/>
</StackPanel>
</Grid>
<!-- a new folder for each update starts from scratch: the settings stay in the old one -->
<TextBlock Style="{StaticResource Hint}" Margin="0,20,0,0"
Text="Updating from an older version? Put this IdleMafiaBot.exe in your old folder, in place of the old one, so your settings stay. After that, Check for updates on the Settings page does it for you."/>
<!-- the Discord on the first start too (03-10), left of "Let's go"; opens the browser only when pressed -->
<Grid Margin="0,26,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Button x:Name="BtnWelcomeDiscord" Style="{StaticResource PrimaryBtn}" Background="#5865F2" Padding="18,11"
ToolTip="Questions, problems or ideas? Ask in the Discord">
<StackPanel Orientation="Horizontal">
<Path Data="{StaticResource IcoDiscord}" Fill="White" Width="20" Height="20" Stretch="Uniform" VerticalAlignment="Center"/>
<TextBlock Text="Join the Discord" Margin="9,0,0,0" FontWeight="Bold" FontSize="14.5" Foreground="White" VerticalAlignment="Center"/>
</StackPanel>
</Button>
<Button x:Name="BtnWelcomeOk" Grid.Column="2" Style="{StaticResource PrimaryBtn}" Padding="24,11" MinWidth="160">
<TextBlock Text="Let's go" FontWeight="Bold" FontSize="14.5" Foreground="{StaticResource OnGold}"/>
</Button>
</Grid>
</StackPanel>
</Border>
</ScrollViewer>
</Grid>
<!-- ============================================================ guidelines: every start, over everything (until "I agree") -->
<!-- Start with several accounts open: only the picked one, or all of them in turns -->
<Grid x:Name="PlayWhich" Grid.ColumnSpan="2" Background="#E6070708" Visibility="Collapsed">
<Border Style="{StaticResource Card}" Width="560" Margin="30" Padding="32,26" HorizontalAlignment="Center" VerticalAlignment="Center"
BorderBrush="{StaticResource Line}">
<StackPanel>
<TextBlock Text="Play which accounts?" Style="{StaticResource PageTitle}" FontSize="26"/>
<TextBlock x:Name="PlayWhichText" Style="{StaticResource Hint}" FontSize="14" Margin="0,12,0,0"/>
<Grid Margin="0,24,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/><ColumnDefinition Width="Auto"/><ColumnDefinition Width="Auto"/></Grid.ColumnDefinitions>
<Button x:Name="BtnPlayCancel" Style="{StaticResource Btn}" Padding="16,11">
<TextBlock Text="Cancel" FontWeight="SemiBold"/>
</Button>
<Button x:Name="BtnPlayOne" Grid.Column="2" Style="{StaticResource Btn}" Padding="18,11" Margin="0,0,10,0">
<TextBlock x:Name="PlayOneText" FontWeight="SemiBold" FontSize="14.5"/>
</Button>
<Button x:Name="BtnPlayAll" Grid.Column="3" Style="{StaticResource PrimaryBtn}" Padding="20,11">
<TextBlock x:Name="PlayAllText" FontWeight="Bold" FontSize="14.5" Foreground="{StaticResource OnGold}"/>
</Button>
</Grid>
</StackPanel>
</Border>
</Grid>
<Grid x:Name="Rules" Grid.ColumnSpan="2" Background="#F0070708" Visibility="Collapsed">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<Border Style="{StaticResource Card}" Width="760" Margin="30" Padding="36,30" HorizontalAlignment="Center" VerticalAlignment="Center"
BorderBrush="{StaticResource Line}">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Border Width="58" Height="58" CornerRadius="16" Background="{StaticResource Rail}">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoShield}" Stroke="{StaticResource Gold}" Width="34" Height="34"/>
</Border>
<StackPanel Margin="16,0,0,0" VerticalAlignment="Center">
<TextBlock Text="Guidelines" Style="{StaticResource PageTitle}" FontSize="28"/>
<TextBlock Text="Shown every time the app starts" Style="{StaticResource Label}" Margin="1,1,0,0"/>
</StackPanel>
</StackPanel>
<TextBlock Style="{StaticResource Hint}" FontSize="14" Foreground="{StaticResource Text}" Margin="0,18,0,0"
Text="Idle Mafia Bot is free and made to keep your own game going while you're away. By using it you agree to these rules."/>
<Grid Margin="0,18,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoCrew}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="Only your own account" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="Play your own game with it. Don't run it on other people's accounts, and don't level up accounts for others."/>
</StackPanel>
</Grid>
<Grid Margin="0,14,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoBank}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="Never sell accounts" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="Don't sell, buy or trade accounts or game items for real money. Roblox doesn't allow it."/>
</StackPanel>
</Grid>
<Grid Margin="0,14,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoFlag}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="Follow Roblox's rules and the game's" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="Stick to the Roblox Terms of Use, the Community Standards and the game's own rules. If they ever say no to macros like this one, stop using it."/>
</StackPanel>
</Grid>
<Grid Margin="0,14,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoLock}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="Keep your account safe" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="Download the bot only from afkmacro.com or github.com/geenusername/IdleMafiaBot. It never asks for your password, so never give it to anyone."/>
</StackPanel>
</Grid>
<Grid Margin="0,14,0,0">
<Grid.ColumnDefinitions><ColumnDefinition Width="48"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions>
<Border Width="34" Height="34" CornerRadius="10" Background="{StaticResource GoldSoft}" VerticalAlignment="Top">
<Path Style="{StaticResource Icon}" Data="{StaticResource IcoDownload}" Stroke="{StaticResource Gold}" Width="18" Height="18"/>
</Border>
<StackPanel Grid.Column="1">
<TextBlock Text="Share it, don't sell it" FontWeight="SemiBold" FontSize="15"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,3,0,0"
Text="The bot is free. Don't sell it or upload copies of it. Send people afkmacro.com instead, and only post it where that's allowed."/>
</StackPanel>
</Grid>
<Border Height="1" Background="{StaticResource LineSoft}" Margin="0,24,0,0"/>
<TextBlock Style="{StaticResource Hint}" Margin="0,16,0,0"
Text="You are responsible for how you use the bot and for your own account. The maker of this app is not responsible for what you do with it. If you don't agree, press Close and the app closes."/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,22,0,0">
<Button x:Name="BtnRulesClose" Style="{StaticResource GhostBtn}" Margin="0,0,10,0">
<TextBlock Text="Close" FontWeight="SemiBold" Foreground="{StaticResource Text2}"/>
</Button>
<Button x:Name="BtnRulesAgree" Style="{StaticResource PrimaryBtn}" Padding="24,11" MinWidth="160">
<TextBlock Text="I agree" FontWeight="Bold" FontSize="14.5" Foreground="{StaticResource OnGold}"/>
</Button>
</StackPanel>
</StackPanel>
</Border>
</ScrollViewer>
</Grid>
</Grid>
</Window>