Module:Mayor/Elections

local currentMayor = 'Foxy'

-- stores information about previous elections -- note: this is the standard way of record for maximum accuracy: -- [year] = { date = , data = { Candidate1 = { votes =, perks = , order = }, } }, -- the order in 'perks' here will affect tooltip outputs, so please crosscheck the perks with the order listed on Mayor Elections -- 'order' is the order of candidate listing, from left to right -- note: this is the standard way of record for good accuracy (if you only know vote result but without initial order and individual perks): -- [year] = { date = , result = { }, perks =  }, -- note: this is the compromised version if data is not enough (if you only know the winner stats): -- [year] = { date = , mayor = , percent =, votes = , perks = '' }, -- append 'ui = true' only when a ui subpage is created -- note that 'percent' is only needed for the last case; otherwise it can be calculated with each candidate's votes

-- for copy: data for an election in progress	[] = { control = 'in-progress', data = {		 = { votes = nil, perks = , order = 1, last = },		 = { votes = nil, perks = , order = 2, last =  },		 = { votes = nil, perks = , order = 3, last =  },		 = { votes = nil, perks = , order = 4, last =  },		 = { votes = nil, perks = '', order = 5, last =  },	}}, -- local elections = { [184] = { control = 'in-progress', data = { Marina = { votes = nil, perks = '3', order = 1, last = 1 }, Cole = { votes = nil, perks = '1', order = 2, last = 3 }, Barry = { votes = nil, perks = '2', order = 3, last = nil }, Diana = { votes = nil, perks = '12', order = 4, last = 5 }, Jerry = { votes = nil, perks = '123', order = 5, last = nil }, }},	[183] = { date = 'Jan 13, 2022', ui = true, data = { Diaz = { votes = 74551, perks = '12', order = 1, last = 37 }, Cole = { votes = 18020, perks = '1', order = 2, last = 2 }, Diana = { votes = 39344, perks = '1', order = 3, last = 4 }, Barry = { votes = 24583, perks = '2', order = 4, last = nil }, Foxy = { votes = 410018, perks = '321', note = 'Mining Fiesta', order = 5, last = nil }, }},	[182] = { date = 'Jan 8, 2022', ui = true, data = { Foxy = { votes = 66262, perks = '321', note = 'Fishing Festival', order = 1, last = 9 }, Barry = { votes = 23393, perks = '2', order = 2, last = nil }, Diana = { votes = 40311, perks = '1', order = 3, last = 3 }, Diaz = { votes = 59730, perks = '12', order = 4, last = 36 }, Marina = { votes = 389494, perks = '32', order = 5, last = nil }, }},	[181] = { date = 'Jan 3, 2022', ui = true, data = { Marina = { votes = 57908, perks = '3', order = 1, last = 1 }, Diana = { votes = 31952, perks = '1', order = 2, last = 2 }, Aatrox = { votes = 409849, perks = '3', order = 3, last = nil }, Diaz = { votes = 114173, perks = '12', order = 4, last = 35 }, Barry = { votes = 34088, perks = '2', order = 5, last = nil }, }},	[180] = { date = 'Dec 28, 2021', ui = true, data = { Foxy = { votes = 72419, perks = '231', note = 'Mining Fiesta', order = 1, last = 7 }, Cole = { votes = 386156, perks = '23', order = 2, last = nil }, Diana = { votes = 26092, perks = '1', order = 3, last = 1 }, Paul = { votes = 76621, perks = '1', order = 4, last = 2 }, Diaz = { votes = 45120, perks = '12', order = 5, last = 34 }, }},	[179] = { date = 'Dec 23, 2021', ui = true, data = { Marina = { votes = 320482, perks = '23', order = 1, last = nil }, Aatrox = { votes = 57159, perks = '3', order = 2, last = 7 }, Foxy = { votes = 56331, perks = '213', note = 'Sweet Tooth', order = 3, last = 6 }, Diaz = { votes = 46531, perks = '12', order = 4, last = 33 }, Paul = { votes = 78195, perks = '1', order = 5, last = 1 }, }},	[178] = { date = 'Dec 18, 2021', ui = true, data = { Marina = { votes = 18157, perks = '2', order = 1, last = 2 }, Foxy = { votes = 19344, perks = '32', order = 2, last = 5 }, Diana = { votes = 346605, perks = '32', order = 3, last = nil }, Diaz = { votes = 58980, perks = '12', order = 4, last = 32 }, Aatrox = { votes = 113477, perks = '3', order = 5, last = 6 }, }},	[177] = { date = 'Dec 13, 2021', result = { Paul = 523537, Diana = 80536, Barry = 37658, Marina = 23228, Foxy = 19512 }, perks = '12', ui = true }, [176] = { date = 'Dec 8, 2021', mayor = 'Derpy', percent = 92.4, votes = 606504, perks = '*' }, [175] = { date = 'Dec 3, 2021', mayor = 'Marina', percent = 67.9, votes = 341366, perks = '13' }, [174] = { date = 'Nov 27, 2021', mayor = 'Diana', percent = 78.5, votes = 418973, perks = '23' }, [173] = { date = 'Nov 22, 2021', mayor = 'Paul', percent = 67.7, votes = 383152, perks = '23' }, [172] = { date = 'Nov 17, 2021', mayor = 'Foxy', percent = 67.1, votes = 360343, perks = '*', note = 'Mining Fiesta' }, [171] = { date = 'Nov 12, 2021', ui = true, data = { Foxy = { votes = 15643, perks = '32', note = 'Fishing Festival', order = 1, last = 6 }, Cole = { votes = 17227, perks = '2', order = 2, last = 9 }, Aatrox = { votes = 438718, perks = '13', order = 3, last = nil }, Marina = { votes = 13558, perks = '1', order = 4, last = 1 }, Diaz = { votes = 50822, perks = '12', order = 5, last = 25 }, }},	[170] = { date = 'Nov 7, 2021', ui = true, data = { Diana = { votes = 464113, perks = '123', order = 1, last = nil }, Foxy = { votes = 9756, perks = '32', note = 'Spooky Festival', order = 2, last = 5 }, Paul = { votes = 37226, perks = '2', order = 3, last = 3 }, Barry = { votes = 14737, perks = '2', order = 4, last = nil }, Diaz = { votes = 54668, perks = '12', order = 5, last = 24 }, }},	[169] = { date = 'Nov 1, 2021', ui = true, data = { Cole = { votes = 39851, perks = '2', order = 1, last = 7 }, Barry = { votes = 21237, perks = '2', order = 2, last = nil }, Marina = { votes = 458017, perks = '31', order = 3, last = nil }, Foxy = { votes = 15823, perks = '3', note = 'Spooky Festival', order = 4, last = 4 }, Aatrox = { votes = 106467, perks = '1', order = 5, last = 1 }, }},	[168] = { date = 'Oct 27, 2021', ui = true, data = { Diaz = { votes = 4032, perks = '12', order = 1, last = 22 }, Marina = { votes = 2605, perks = '3', order = 2, last = 2 }, Paul = { votes = 4535, perks = '2', order = 3, last = 1 }, Barry = { votes = 2567, perks = '2', order = 4, last = nil }, Scorpius = { votes = 753675, perks = '12', order = 5, last = nil }, }},	[167] = { date = 'Oct 22, 2021', ui = true, data = { Diana = { votes = 112531, perks = '21', order = 1, last = 3 }, Diaz = { votes = 90524, perks = '12', order = 2, last = 21 }, Barry = { votes = 22968, perks = '2', order = 3, last = nil }, Foxy = { votes = 11820, perks = '3', note = 'Fishing Festival', order = 4, last = 2 }, Aatrox = { votes = 289552, perks = '2', order = 5, last = nil }, }},	[166] = { date = 'Oct 17, 2021', ui = true, data = { Diaz = { votes = 65692, perks = '12', order = 1, last = 20 }, Foxy = { votes = 10292, perks = '1', note = 'Spooky Festival', order = 2, last = 1 }, Cole = { votes = 27743, perks = '2', order = 3, last = 4 }, Diana = { votes = 16358, perks = '2', order = 4, last = 2 }, Paul = { votes = 450206, perks = '12', order = 5, last = nil }, }},	[165] = { date = 'Oct 12, 2021', ui = true, data = { Diana = { votes = 22821, perks = '2', order = 1, last = 1 }, Paul = { votes = 70438, perks = '1', order = 2, last = 6 }, Marina = { votes = 374768, perks = '32', order = 3, last = nil }, Diaz = { votes = 76404, perks = '12', order = 4, last = 19 }, Barry = { votes = 28964, perks = '2', order = 5, last = nil }, }},	[164] = { date = 'Oct 7, 2021', ui = true, data = { Diaz = { votes = 82332, perks = '12', order = 1, last = 18 }, Marina = { votes = 29961, perks = '3', order = 2, last = 1 }, Barry = { votes = 25508, perks = '2', order = 3, last = nil }, Cole = { votes = 27329, perks = '2', order = 4, last = 2 }, Foxy = { votes = 355085, perks = '213', note = 'Fishing Festival', order = 5, last = nil }, }},	[163] = { date = 'Oct 1, 2021', ui = true, data = { Diana = { votes = 336437, perks = '31', order = 1, last = nil }, Foxy = { votes = 14536, perks = '32', note = 'Spooky Festival', order = 2, last = 5 }, Aatrox = { votes = 30891, perks = '2', order = 3, last = 6 }, Paul = { votes = 54270, perks = '1', order = 4, last = 4 }, Diaz = { votes = 74215, perks = '12', order = 5, last = 17}, }},	[162] = { date = 'Sep 26, 2021', ui = true, data = { Aatrox = { votes = 50799, perks = '2', order = 1, last = 5 }, Foxy = { votes = 16826, perks = '32', note = 'Spooky Festival', order = 2, last = 4 }, Marina = { votes = 427152, perks = '13', order = 3, last = nil }, Barry = { votes = 26724, perks = '2', order = 4, last = nil }, Diana = { votes = 73331, perks = '3', order = 5, last = 2 }, }},	[161] = { date = 'Sep 21, 2021', ui = true, data = { Diaz = { votes = 43158, perks = '12', order = 1, last = 15 }, Paul = { votes = 50530, perks = '1', order = 2, last = 2 }, Foxy = { votes = 10005, perks = '3', note = 'Spooky Festival', order = 3, last = 3 }, Cole = { votes = 392948, perks = '321', order = 4, last = nil }, Marina = { votes = 124329, perks = '13', order = 5, last = 5 }, }},	[160] = { date = 'Sep 16, 2021', ui = true, data = { Barry = { votes = 17723, perks = '2', order = 1, last = nil }, Cole = { votes = 7353, perks = '23', order = 2, last = 6 }, Diaz = { votes = 7846, perks = '12', order = 3, last = 14 }, Marina = { votes = 6336, perks = '1', order = 4, last = 4 }, Jerry = { votes = 633419, perks = '123', order = 5, last = nil }, }},	[159] = { date = 'Sep 11, 2021', ui = true, data = { Diana = { votes = 444084, perks = '213', order = 1, last = nil }, Cole = { votes = 45616, perks = '23', order = 2, last = 5 }, Marina = { votes = 20737, perks = '1', order = 3, last = 3 }, Aatrox = { votes = 20948, perks = '2', order = 4, last = 2 }, Diaz = { votes = 42200, perks = '12', order = 5, last = 13 }, }},	[158] = { date = 'Sep 6, 2021', ui = true, data = { Paul = { votes = 409663, perks = '23', order = 1, last = nil }, Cole = { votes = 92372, perks = '23', order = 2, last = 4 }, Diana = { votes = 32965, perks = '12', order = 3, last = 3 }, Marina = { votes = 20420, perks = '1', order = 4, last = 2 }, Diaz = { votes = 62283, perks = '12', order = 5, last = 12 }, }},	[157] = { date = 'Aug 31, 2021', ui = true, data = { Barry = { votes = 28549, perks = '2', order = 1, last = nil }, Foxy = { votes = 386577, perks = '312', note = 'Mining Fiesta', order = 2, last = nil }, Diana = { votes = 58372, perks = '12', order = 3, last = 2 }, Marina = { votes = 30181, perks = '1', order = 4, last = 1 }, Diaz = { votes = 109925, perks = '12', order = 5, last = 11 }, }},	[156] = { date = 'Aug 26, 2021', ui = true, data = { Barry = { votes = 21437, perks = '2', order = 1, last = nil }, Aatrox = { votes = 432231, perks = '12', order = 2, last = nil }, Cole = { votes = 26493, perks = '2', order = 3, last = 2 }, Diana = { votes = 17865, perks = '1', order = 4, last = 1 }, Diaz = { votes = 98486, perks = '12', order = 5, last = 10 }, }},	[155] = { date = 'Aug 21, 2021', ui = true, data = { Marina = { votes = 348347, perks = '23', order = 1, last = nil }, Aatrox = { votes = 139085, perks = '12', order = 2, last = 3 }, Barry = { votes = 24349, perks = '2', order = 3, last = nil }, Diaz = { votes = 45494, perks = '12', order = 4, last = 9 }, Foxy = { votes = 55452, perks = '312', note = 'Spooky Festival', order = 5, last = 6 }, }},	[154] = { date = 'Aug 16, 2021', ui = true, data = { Aatrox = { votes = 24446, perks = '1', order = 1, last = 2 }, Diana = { votes = 328361, perks = '32', order = 2, last = 4 }, Paul = { votes = 191798, perks = '23', order = 3, last = 3 }, Foxy = { votes = 61257, perks = '312', note = 'Mining Fiesta', order = 4, last = 5 }, Diaz = { votes = 54069, perks = '12', order = 5, last = 8 }, }},	[153] = { date = 'Aug 11, 2021', ui = true, data = { Marina = { votes = 105132, perks = '23', order = 1, last = 6 }, Cole = { votes = 552813, perks = '213', order = 2, last = nil }, Diaz = { votes = 59974, perks = '12', order = 3, last = 7 }, Barry = { votes = 27100, perks = '2', order = 4, last = nil }, Foxy = { votes = 22862, perks = '31', note = 'Mining Fiesta', order = 5, last = 4 }, }},	[152] = { date = 'Aug 6, 2021', ui = true, data = { Paul = { votes = 11086, perks = '2', order = 1, last = 1 }, Barry = { votes = 12511, perks = '2', order = 2, last = nil }, Marina = { votes = 23490, perks = '23', order = 3, last = 5 }, Foxy = { votes = 4650, perks = '3', note = 'Fishing Festival', order = 4, last = 3 }, Derpy = { votes = 674947, perks = '1234', order = 5, last = nil }, }},	[151] = { date = 'Jul 31, 2021', mayor = 'Aatrox', percent = 83.4, votes = 486404, perks = '*' }, [150] = { date = 'Jul 26, 2021', mayor = 'Paul', percent = 61.0, votes = 359767, perks = '13' }, [149] = { date = 'Jul 21, 2021', mayor = 'Diana', percent = 84.6, votes = 485581, perks = '*' }, [148] = { date = 'Jul 16, 2021', mayor = 'Foxy', percent = 68.1, votes = 400083, perks = '*', note = 'Fishing Festival' }, [147] = { date = 'Jul 11, 2021', mayor = 'Aatrox', percent = 77.2, votes = 473244, perks = '23' }, [146] = { date = 'Jul 6, 2021', mayor = 'Marina', percent = 74.9, votes = 491876, perks = '*' }, [145] = { date = 'Jun 30, 2021', mayor = 'Diaz', percent = 76.9, votes = 530249, perks = '*', ui = true, data = { Cole = { votes = nil, perks = '2', order = 1, last = 18 }, Diana = { votes = nil, perks = '1', order = 2, last = 1 }, Diaz = { votes = nil, perks = '12', order = 3, last = nil }, Paul = { votes = nil, perks = '3', order = 4, last = 2 }, Aatrox = { votes = nil, perks = '2', order = 5, last = 3 }, }},	[144] = { date = 'Jun 25, 2021', mayor = 'Scorpius', percent = 97.3, votes = 806292, perks = '*' }, [143] = { date = 'Jun 20, 2021', mayor = 'Diana', percent = 60.4, votes = 163389, perks = '13' }, [142] = { date = 'Jun 15, 2021', mayor = 'Paul', percent = 57.0, votes = 353926, perks = '12' }, [141] = { date = 'Jun 10, 2021', mayor = 'Aatrox', percent = 58.4, votes = 343088, perks = '1' }, [140] = { date = 'Jun 5, 2021', mayor = 'Foxy', percent = 68.1, votes = 413784, perks = '*', note = 'Spooky Festival' }, [139] = { date = 'May 30, 2021', mayor = 'Diana', percent = 79.7, votes = 520685, perks = '*' }, [138] = { date = 'May 25, 2021', mayor = 'Paul', percent = 57.1, votes = 356631, perks = '*' }, [137] = { date = 'May 20, 2021', mayor = 'Aatrox', percent = 61.7, votes = 392482, perks = '*' }, [136] = { date = 'May 15, 2021', result = { Jerry = 663250, Diana = 23932, Paul = 9323, Diaz = 8800, Barry = 7272 }, perks = '*' }, [135] = { date = 'May 10, 2021', mayor = 'Foxy', percent = 67.0, votes = 408061, perks = '*', note = 'Mining Fiesta' }, [134] = { date = 'May 5, 2021', mayor = 'Marina', percent = 73.1, votes = 435879, perks = '*' }, [133] = { date = 'Apr 29, 2021', mayor = 'Paul', percent = 60.6, votes = 376514, perks = '*' }, [132] = { date = 'Apr 24, 2021', mayor = 'Diana', percent = 68.6, votes = 463145, perks = '*', ui = true, data = { Cole = { votes = nil, perks = '2', order = 1, last = 5 }, Diana = { votes = nil, perks = '123', order = 2, last = nil }, Diaz = { votes = nil, perks = '12', order = 3, last = nil }, Marina = { votes = nil, perks = '312', order = 4, last = 7 }, Aatrox = { votes = nil, perks = '23', order = 5, last = 4 }, }},	[131] = { date = 'Apr 19, 2021', control = 'collapsedown' }, [130] = { date = 'Apr 16, 2021', mayor = 'Technoblade', percent = 76.2, votes = 180340, perks = '*', ui = true }, [129] = { date = 'Apr 9, 2021', control = 'collapsedown dante-election' }, [128] = { date = 'Apr 4, 2021', mayor = 'Dante', percent = 90.3, votes = 605734, perks = '*', ui = true }, [127] = { date = 'Mar 29, 2021', mayor = 'Aatrox', percent = 84.0, votes = 256890, perks = '*', ui = true, data = { Aatrox = { votes = nil, perks = '213', order = 1, last = nil }, Foxy = { votes = nil, perks = '1', order = 2, last = 3 }, Diaz = { votes = nil, perks = '12', order = 3, last = nil }, Paul = { votes = nil, perks = '1', order = 4, last = 1 }, Diana = { votes = nil, perks = '1', order = 5, last = 5 }, }},	[126] = { date = 'Mar 24, 2021', mayor = 'Cole', percent = 79.4, votes = 328141, perks = '*' }, [125] = { date = 'Mar 19, 2021', mayor = 'Paul', percent = nil, votes = nil, perks = nil }, [124] = { date = 'Mar 14, 2021', mayor = 'Marina', percent = nil, votes = nil, perks = nil }, [123] = { date = 'Mar 9, 2021', mayor = 'Foxy', percent = nil, votes = nil, perks = '231', note = 'Fishing Festival', ui = true, data = { Marina = { votes = nil, perks = '1', order = 1, last = 4 }, Barry = { votes = nil, perks = '1', order = 2, last = nil }, Diana = { votes = nil, perks = '1', order = 3, last = 1 }, Diaz = { votes = nil, perks = '12', order = 4, last = nil }, Foxy = { votes = nil, perks = '231', note = 'Fishing Festival', order = 5, last = nil }, }},	[122] = { date = 'Mar 4, 2021', mayor = 'Paul'--unconfirmed, percent = nil, votes = nil, perks = nil, ui = true, data = { Aatrox = { votes = nil, perks = '1', order = 1, last = 2 }, Paul = { votes = nil, perks = '23', order = 2, last = nil }, Barry = { votes = nil, perks = '1', order = 3, last = nil }, Cole = { votes = nil, perks = '312', order = 4, last = 5 }, Marina = { votes = nil, perks = '1', order = 5, last = 3 }, }},	[121] = { date = 'Feb 26, 2021', mayor = 'Diana', percent = nil, votes = nil, perks = nil }, [120] = { date = 'Feb 21, 2021', ui = true, data = { Foxy = { votes = 2877, perks = '32', note = 'Mining Fiesta', order = 1, last = 10 }, Cole = { votes = 3559, perks = '13', order = 2, last = 3 }, Marina = { votes = 4113, perks = '1', order = 3, last = 1 }, Barry = { votes = 2138, perks = '1', order = 4, last = nil }, Scorpius = { votes = 609488, perks = '12', order = 5, last = nil }, }},	[119] = { date = 'Feb 16, 2021', mayor = 'Aatrox', percent = nil, votes = nil, perks = nil }, [118] = { date = 'Feb 11, 2021', mayor = 'Marina', percent = nil, votes = nil, perks = nil }, [117] = { date = 'Feb 6, 2021', mayor = 'Diana', percent = nil, votes = nil, perks = nil }, [116] = { date = 'Feb 1, 2021', mayor = 'Cole', percent = 57.5, votes = 234094, perks = '3' }, [115] = { date = 'Jan 26, 2021', mayor = 'Marina', percent = nil, votes = nil, perks = nil }, [114] = { date = 'Jan 21, 2021', mayor = 'Paul', percent = nil, votes = nil, perks = nil }, [113] = { date = 'Jan 16, 2021', mayor = 'Cole', percent = 43.9, votes = 206449, perks = '31' }, [112] = { date = 'Jan 11, 2021', mayor = 'Jerry', percent = 94.1, votes = 475399, perks = '*', ui = true, data = { Marina = { votes = nil, perks = '13', order = 1, last = 6 }, Cole = { votes = nil, perks = '31', order = 2, last = 3 }, Foxy = { votes = nil, perks = '3', note = 'Mining Fiesta', order = 3, last = 2 }, Diaz = { votes = nil, perks = '12', order = 4, last = nil }, Jerry = { votes = nil, perks = '123', order = 5, last = nil }, }},	[111] = { date = 'Jan 6, 2021', mayor = 'Aatrox', percent = 71.8, votes = 298528, perks = '*', ui = true, data = { Cole = { votes = nil, perks = '31', order = 1, last = 2 }, Marina = { votes = nil, perks = '13', order = 2, last = 5 }, Diaz = { votes = nil, perks = '12', order = 3, last = nil }, Barry = { votes = nil, perks = '1', order = 4, last = nil }, Aatrox = { votes = nil, perks = '123', order = 5, last = nil }, }},	[110] = { date = 'Jan 1, 2021', mayor = 'Diana', percent = 69.1, votes = 282779, perks = '3' }, [109] = { date = 'Dec 26, 2020', mayor = 'Foxy', percent = 73.5, votes = 300567, perks = '*', note = 'Mining Fiesta', ui = true, data = { Foxy = { votes = nil, perks = '312', note = 'Mining Fiesta', order = 1, last = nil }, Marina = { votes = nil, perks = '1', order = 2, last = 3 }, Paul = { votes = nil, perks = '3', order = 3, last = 1 }, Barry = { votes = nil, perks = '1', order = 4, last = nil }, Diaz = { votes = nil, perks = '12', order = 5, last = nil }, }},	[108] = { date = 'Dec 21, 2020', mayor = 'Cole', percent = 59.7, votes = 258051, perks = '3' }, [107] = { date = 'Dec 16, 2020', mayor = 'Paul', percent = 55.0, votes = 299388, perks = '12', ui = true, data = { Marina = { votes = nil, perks = '1', order = 1, last = 1 }, Cole = { votes = nil, perks = '3', order = 2, last = 5 }, Paul = { votes = nil, perks = '1', order = 3, last = nil }, Diana = { votes = nil, perks = '3', order = 4, last = 3 }, Barry = { votes = nil, perks = '1', order = 5, last = nil }, }},	[106] = { date = 'Dec 11, 2020', mayor = 'Aatrox', percent = 77.7, votes = 302950, perks = '*', ui = true, data = { Foxy = { votes = nil, perks = '32', note = 'Spooky Festival', order = 1, last = 3 }, Diaz = { votes = nil, perks = '12', order = 2, last = nil }, Aatrox = { votes = nil, perks = '123', order = 3, last = nil }, Cole = { votes = nil, perks = '3', order = 4, last = 4 }, Barry = { votes = nil, perks = '1', order = 5, last = nil }, }},	[105] = { date = 'Dec 6, 2020', mayor = 'Marina', percent = 71.8, votes = 334535, perks = '*', ui = true, data = { Paul = { votes = nil, perks = '12', order = 1, last = 4 }, Barry = { votes = nil, perks = '1', order = 2, last = nil }, Foxy = { votes = nil, perks = '3', note = 'Mining Festival', order = 3, last = 2 }, Cole = { votes = nil, perks = '3', order = 4, last = 3 }, Marina = { votes = nil, perks = '312', order = 5, last = nil }, }},	[104] = { date = 'Dec 1, 2020', mayor = 'Derpy', percent = 87.8, votes = 391177, perks = '*', ui = true, data = { Marina = { votes = nil, perks = '13', order = 1, last = 6 }, Barry = { votes = nil, perks = '1', order = 2, last = nil }, Aatrox = { votes = nil, perks = '21', order = 3, last = 5 }, Foxy = { votes = nil, perks = '3', note = 'Fishing Festival', order = 4, last = 1 }, Derpy = { votes = nil, perks = '1234', order = 5, last = nil }, }},	[103] = { date = 'Nov 25, 2020', mayor = 'Diana', percent = 71.7, votes = 265129, perks = '23', ui = true, data = { Marina = { votes = nil, perks = '31', order = 1, last = 5 }, Diana = { votes = nil, perks = '23', order = 2, last = nil }, Barry = { votes = nil, perks = '1', order = 3, last = nil }, Paul = { votes = nil, perks = '12', order = 4, last = 2 }, Cole = { votes = nil, perks = '3', order = 5, last = 1 }, }},	[102] = { date = 'Nov 20, 2020', mayor = 'Foxy', percent = 59.7, votes = 211464, perks = '13', note = 'Spooky Festival', ui = true, data = { Diaz = { votes = nil, perks = '12', order = 1, last = nil }, Paul = { votes = nil, perks = '1', order = 2, last = 1 }, Aatrox = { votes = nil, perks = '2', order = 3, last = 3 }, Foxy = { votes = nil, perks = '31', note = 'Spooky Festival', order = 4, last = nil }, Barry = { votes = nil, perks = '1', order = 5, last = nil }, }},	[101] = { date = 'Nov 15, 2020', mayor = 'Cole', percent = 81.7, votes = 299797, perks = '*', ui = true, data = { Marina = { votes = nil, perks = '1', order = 1, last = 3 }, Cole = { votes = nil, perks = '132', order = 2, last = nil }, Diaz = { votes = nil, perks = '12', order = 3, last = nil }, Barry = { votes = nil, perks = '1', order = 4, last = nil }, Foxy = { votes = nil, perks = '1', order = 5, last = 1 }, }},	[100] = { date = 'Nov 10, 2020', mayor = 'Paul', percent = 65.8, votes = 243789, perks = '*' }, [99] = { date = 'Nov 5, 2020', mayor = 'Foxy', percent = 64.8, votes = 226569, perks = '*', note = 'Spooky Festival', ui = true, data = { Diaz = { votes = nil, perks = '12', order = 1, last = nil }, Cole = { votes = nil, perks = '12', order = 2, last = 7 }, Foxy = { votes = nil, perks = '231', note = 'Spooky Festival', order = 3, last = nil }, Paul = { votes = nil, perks = '31', order = 4, last = 3 }, Diana = { votes = nil, perks = '2', order = 5, last = 4 }, }},	[98] = { date = 'Oct 31, 2020', mayor = 'Aatrox', percent = 60.3, votes = 193190, perks = '13' }, [97] = { date = 'Oct 25, 2020', mayor = 'Marina', percent = 57.0, votes = 188282, perks = '23' }, [96] = { date = 'Oct 20, 2020', mayor = 'Scorpius', percent = 96.5, votes = 319595, perks = '*' }, [95] = { date = 'Oct 15, 2020', mayor = 'Paul', percent = 44.8, votes = 104475, perks = '12', ui = true, data = { Diaz = { votes = nil, perks = '12', order = 1, last = nil }, Aatrox = { votes = nil, perks = '3', order = 2, last = 2 }, Paul = { votes = nil, perks = '12', order = 3, last = nil }, Cole = { votes = nil, perks = '12', order = 4, last = 3 }, Foxy = { votes = nil, perks = '3', note = 'Spooky Festival', order = 5, last = 4 }, }},	[94] = { date = 'Oct 10, 2020', mayor = 'Diana', percent = 74.3, votes = 176051, perks = '*' }, [93] = { date = 'Oct 5, 2020', mayor = 'Marina', percent = 56.0, votes = 139734, perks = '3' }, [92] = { date = 'Sep 30, 2020', mayor = 'Aatrox', percent = 61.8, votes = 149173, perks = '23' }, [91] = { date = 'Sep 24, 2020', mayor = 'Cole', percent = 52.1, votes = 119598, perks = '12' }, [90] = { date = 'Sep 19, 2020', mayor = 'Foxy', percent = 64.4, votes = 152292, perks = '3', note = 'Mining Fiesta', }, [89] = { date = 'Sep 14, 2020', mayor = 'Marina', percent = 52.5, votes = 127251, perks = '3' }, [88] = { date = 'Sep 9, 2020', result = { Diana = 97247, Cole = 27232, Marina = 13178, Paul = 2192, Barry = 2057 }, perks = '3', ui = true }, [1] = { date = 'June 11, 2019', mayor = 'Seraphine', control = 'novote' }, }

for i = 2, 87 do	elections[i] = { control = 'collapsedown' } end

local uiSpecialCases = { [129] = {		{ 'Dante', dt = { perks = '123', order = 1 }}, { 'Dante', dt = { perks = '123', order = 2 }}, { 'Dante', dt = { perks = '123', order = 3 }}, { 'Dante', dt = { perks = '123', order = 4 }}, { 'Dante', dt = { perks = '123', order = 5 }}, } }

return { currentMayor = currentMayor, elections = elections, uiSpecialCases = uiSpecialCases, }