<?xml version="1.0" encoding="UTF-8"?>	
<cup>
    <name>League Cup</name>
    <short_name>LC</short_name>
    <sid>scotland_league</sid>
    <symbol>flag_scotland.png</symbol>
    <yellow_red>3</yellow_red>
    <add_week>-1</add_week>
    <last_week>30</last_week>
    <week_gap>1</week_gap>
    <property>national</property>

    <cup_rounds>
        <cup_round>
			<round_name>Group Stage</round_name>
            <new_teams>40</new_teams>
            <number_of_groups>8</number_of_groups>
            <number_of_advance>1</number_of_advance>
            <number_of_best_advance>4</number_of_best_advance>
            <round_robins>1</round_robins>
            <randomise_teams>1</randomise_teams>
            <delay>-21</delay>

            <choose_teams>
                <choose_team>
                    <choose_team_sid>scotland1</choose_team_sid>
                    <number_of_teams>8</number_of_teams>
                    <start_idx>5</start_idx>
                    <end_idx>12</end_idx>
                </choose_team>

                <choose_team>
                    <choose_team_sid>scotland2</choose_team_sid>
                    <number_of_teams>10</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>10</end_idx>
                </choose_team>

                <choose_team>
                    <choose_team_sid>scotland3</choose_team_sid>
                    <number_of_teams>10</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>10</end_idx>
                </choose_team>

                <choose_team>
                    <choose_team_sid>scotland4</choose_team_sid>
                    <number_of_teams>10</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>10</end_idx>
                </choose_team>

                <choose_team>
                    <choose_team_sid>scotland5a</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>1</end_idx>
                </choose_team>

                <choose_team>
                    <choose_team_sid>scotland5b</choose_team_sid>
                    <number_of_teams>1</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>1</end_idx>
                </choose_team>
            </choose_teams>
        </cup_round>

        <cup_round>
            <round_name>2nd Round</round_name>
            <new_teams>-9</new_teams>
            <delay>-12</delay>
            <home_away>0</home_away>
            <add_week>0</add_week>
            <choose_team>
                <choose_team_sid>scotland1</choose_team_sid>
                <number_of_teams>4</number_of_teams>
                <start_idx>1</start_idx>
                <end_idx>4</end_idx>
            </choose_team>
        </cup_round>

        <cup_round>
            <round_name>Quarter Final</round_name>
            <delay>-6</delay>
            <home_away>0</home_away>
        </cup_round>

        <cup_round>
            <round_name>Semi Final</round_name>
            <delay>-3</delay>
            <home_away>0</home_away>
            <neutral>1</neutral>    
        </cup_round>

        <cup_round>
            <round_name>Final</round_name>
            <home_away>0</home_away>
            <neutral>1</neutral>   
        </cup_round>

  </cup_rounds>

</cup>
