]> git.sesse.net Git - ultimatescore/blobdiff - config.js
Make the roster scripts executable.
[ultimatescore] / config.js
index 7987bc54f1d7da9543c5d50be8b26c5d15d1d2b8..d9ef9fa40147e37a951320db749b651aa14b7c06 100644 (file)
--- a/config.js
+++ b/config.js
@@ -53,7 +53,92 @@ var ultimateconfig = {
                        'rank_offset': 12
                },
        },
-       'explain_third_cell': 'Results!S27',
+       'explain_third_cell': 'Results!S26',
+       'group_match_scores': [
+               {
+                       'stream_time_column': 1,  // 0-indexed.
+                       'team1_column': 3,
+                       'team1_score_column': 4,
+                       'team2_score_column': 5,
+                       'team2_column': 6,
+                       'first_row': 7,  // 1-indexed.
+                       'last_row': 19,  // 1-indexed, Inclusive.
+                       'stream_day': 6
+               },
+               {
+                       'team1_column': 8,
+                       'team1_score_column': 9,
+                       'team2_score_column': 10,
+                       'team2_column': 11,
+                       'first_row': 7,
+                       'last_row': 19
+               },
+               {
+                       'team1_column': 13,
+                       'team1_score_column': 14,
+                       'team2_score_column': 15,
+                       'team2_column': 16,
+                       'first_row': 7,
+                       'last_row': 19
+               },
+               // Playoffs 9th–11th. (NOTE: These counts as both playoffs and groups?
+               // Would be problematic for schedules if they were on stream field.)
+               {
+                       'team1_column': 13,
+                       'team1_score_column': 14,
+                       'team2_score_column': 15,
+                       'team2_column': 16,
+                       'first_row': 28,
+                       'last_row': 28,
+                       'group_name': 'Playoffs 9th–11th'
+               },
+               {
+                       'team1_column': 13,
+                       'team1_score_column': 14,
+                       'team2_score_column': 15,
+                       'team2_column': 16,
+                       'first_row': 30,
+                       'last_row': 30,
+                       'group_name': 'Playoffs 9th–11th'
+               },
+               {
+                       'team1_column': 8,
+                       'team1_score_column': 9,
+                       'team2_score_column': 10,
+                       'team2_column': 11,
+                       'first_row': 33,
+                       'last_row': 33,
+                       'group_name': 'Playoffs 9th–11th'
+               },
+               // Playoffs 12th–14th.
+               {
+                       'team1_column': 13,
+                       'team1_score_column': 14,
+                       'team2_score_column': 15,
+                       'team2_column': 16,
+                       'first_row': 29,
+                       'last_row': 29,
+                       'group_name': 'Playoffs 12th–14th'
+               },
+               {
+                       'team1_column': 13,
+                       'team1_score_column': 14,
+                       'team2_score_column': 15,
+                       'team2_column': 16,
+                       'first_row': 31,
+                       'last_row': 31,
+                       'group_name': 'Playoffs 12th–14th'
+               },
+               {
+                       'team1_column': 13,
+                       'team1_score_column': 14,
+                       'team2_score_column': 15,
+                       'team2_column': 16,
+                       'first_row': 33,
+                       'last_row': 33,
+                       'group_name': 'Playoffs 12th–14th'
+               },
+       ],
 
        'playoff_games': [
                // Teams                        Field   Row    Match name     Mark name    Group name              Game day (default 7)