campaignTrail_temp.opponents_default_json = JSON.parse("[{\"election\": 3, \"candidates\": [16, 17, 18]}]"); e = campaignTrail_temp; nct_stuff.themes[nct_stuff.selectedTheme].coloring_title = "#1e4167"; nct_stuff.themes[nct_stuff.selectedTheme].coloring_window = "#a1b9d5"; document.getElementsByClassName("game_header")[0].style.backgroundColor = nct_stuff.themes[nct_stuff.selectedTheme].coloring_title; $("#game_window")[0].style.backgroundColor = nct_stuff.themes[nct_stuff.selectedTheme].coloring_window; $(".container")[0].style.backgroundColor = "#d8e4e2"; document.getElementById("header").src = "https://i.imgur.com/5JGmj51.png"; document.body.background = "https://i.imgur.com/QG2LrFc.png"; e.election_json = [{"model":"campaign_trail.election","pk":3,"fields":{"year":2012,"summary":"

On August 25th, 2009, Senator Ted Kennedy died of Brain Cancer after serving in the Senate for almost 47 years. Acting Senator Paul Kirk has pledged that he will not be a candidate in the special election, leaving the seat open.

Kennedy's passing comes at a pivotal moment in Obama's presidency as the president tries to push through his healthcare plan. Though the current healthcare bill faces widespread opposition - it seems well on its way to passing. The only way Obama's agenda could be derailed is if Attorney General Martha Coakley - the Democratic nominee for the special election - manages to lose, but such talk is nothing more than a Republican fantasy.

","image_url":"https://i.imgur.com/vFnzU8l.png","winning_electoral_vote_number":270,"advisor_url":"https://i.imgur.com/MK3BqBt.png","recommended_reading":"

Further Reading

Exit poll: Health care mattered
GOP Mass. Senate Candidate Scott Brown: Send Abdulmutallab to Gitmo
G.O.P. Senate Victory Stuns Democrats
'I'm Scott Brown. I'm from Wrentham. I drive a truck'
Sen. Scott Brown: ‘I’m Up Against The Machine’
'A Watershed Senate Race: How Scott Brown Did It'

Final Notes

This is the first mod that I’ve ever completed and released and while I’m well aware there are some issues with it, I’m still proud that I managed to actually complete it. This mod was written entirely by me and I coded most of it minus the state map of Massachusetts and ending codes (from JFNixon's 2022 Ohio), which are TomBox’s work so special thanks to him for allowing me to use them. Shoutouts to ItsAstronomical for helping me fix a major issue with the code one which allowed the mod to see the light of day. Finally, a huge thanks to Diamondy and MassachusettsForStockdale for advice and playtesting.

Till next time!

","has_visits":0,"no_electoral_majority_image":"../static/images/2012-no-majority.jpg"}}];e.temp_election_list = [{"id":3,"year":2012,"is_premium":0,"display_year":"2010MASenate"}];e.credits = "VelvetZer0
Playtested by MassachusettsForStockdale and Diamondy
Map by TomBoxXD
Ending codes from TomBoxXD and JFNixon’s Ohio 2022";e.global_parameter_json = [{"model":"campaign_trail.global_parameter","pk":1,"fields":{"vote_variable":1.125,"max_swing":0.12,"start_point":0.94,"candidate_issue_weight":10,"running_mate_issue_weight":3,"issue_stance_1_max":-0.71,"issue_stance_2_max":-0.3,"issue_stance_3_max":-0.125,"issue_stance_4_max":0.125,"issue_stance_5_max":0.3,"issue_stance_6_max":0.71,"global_variance":0.01,"state_variance":0.005,"question_count":20,"default_map_color_hex":"#C9C9C9","no_state_map_color_hex":"#999999"}}];e.candidate_json = [{"model":"campaign_trail.candidate","pk":16,"fields":{"first_name":"Scott ","last_name":"Brown","election":3,"party":"Republican Party","state":"Wrentham","priority":1,"description":"Scott Brown is the latest candidate put up by the Massachusetts Republican Party in their attempt at gaining congressional representation in the Senate. While the State Senator does have more political experience and holds elected office compared to previous candidates put up by the party, he has little name recognition and is cash-strapped. Oh, and he has a green pickup truck.

Despite everything going against him, Brown believes that he can win. His moderate Republicanism is well suited for deep blue Massachusetts, his opponent has gone to sleep under the belief that the race will be a shoe in for her, and even in Massachusetts Obama’s healthcare plan is widely controversial. If he can play off of these factors, he may just end up pulling off an upset.","color_hex":"#a91423","secondary_color_hex":null,"is_active":1,"image_url":"https://i.imgur.com/8yI2jb7.png","electoral_victory_message":"

The Scott heard around the world

Against all odds, you’ve defeated Coakley and won Kennedy’s seat. It seems like the people have spoken out against the arrogance and irresponsibility of Washington and your victory has certainly sent them a message.

Across the nation, conservatives cheer at the so-called “Massachusetts Miracle” and in time, the Republican party will sweep the 2010 midterms and win control of the House of Representatives. Democrats are in complete disarray as they attempt to salvage the Healthcare bill, while strategists argue whether it was Coakley’s campaigning, or Democratic governance that led them to lose Kennedy’s seat.

Now, you can set out to be the independent voice of the Senate, and hopefully win a full term in 2012.

","electoral_loss_message":"

An expected loss

This isn’t a big surprise, but it still hurts regardless. While your campaign did catch attention in Republican camps outside the nation, it looks like that never translated to success in the state.

With the election over, the Massachusetts Republican organization and your campaign team now look to secure a victory elsewhere, particularly in the upcoming gubernatorial election.

","no_electoral_majority_message":"

Down to the wire

Nobody, not even you, ever expected the race to be this close. Votes are still being counted, let’s hope you eek out a victory Scott.

","description_as_running_mate":null,"candidate_score":1,"running_mate":false,"scrollable":false}},{"model":"campaign_trail.candidate","pk":66,"fields":{"first_name":"Massachusetts","last_name":"GOP","election":3,"party":"Republican Party","state":"Statewide","priority":1,"description":"Since the mid- 20th century, Massachusetts has remained a Democratic stronghold and today Republicans have zero representation in either chamber of Congress and are in the minority in the state legislature. On a presidential level, Ronald Reagan remains the last Republican to win the state. Most Republicans have mostly written off the idea of you winning and only hope for a respectable performance.

However, the state party’s reputation as a moderate force has allowed it to score victories by winning over not just traditionally conservative Republicans but also by winning over independent voters. If you can balance yourself and win over both, you may just pull off one of the greatest upsets in American politics.","color_hex":"#a91423","secondary_color_hex":null,"is_active":0,"image_url":"https://i.imgur.com/M1B3v7N.png","electoral_victory_message":"

REAL PATRIOT DUMMY EXAMPLE SWEEPS

","electoral_loss_message":"

Fake News?

","no_electoral_majority_message":"

DUMMY EXAMPLE RETURNS TO HELL

","description_as_running_mate":"A long time ago, the predominantly white Protestant Republican party dominated Massachusetts, standing tall against Catholic hordes and the Democratic party that represented them. But since the New Deal era, the party has gradually lost its grip on the state. Today, the party is in the minority in the Massachusetts legislature and has zero congressional representation. The last time Republicans won the state in a presidential election was nearly twenty-six years ago.

The Governor’s office is perhaps the only attainable position for the party, mainly won by moderate Republicans with fiscally conservative views - as demonstrated by the victories of Bill Weld, Paul Celluci, and Mitt Romney. Of course, statewide politics does not translate to the national level and you’ll have to exploit the anger among independents and even discontented Democrats if you want to even the polls.","candidate_score":1,"running_mate":true,"scrollable":false,"partner":"0"}},{"model":"campaign_trail.candidate","pk":17,"fields":{"first_name":"Martha","last_name":"Coakley","election":3,"party":"Democratic Party","state":"Medford","priority":1,"description":"The current Attorney General of the state and future Senator

Scott Who? She will win lmao

","color_hex":"#2354a4","secondary_color_hex":null,"is_active":0,"image_url":"https://media.discordapp.net/attachments/965480657151221792/1189714947530301590/image.png?ex=659f2b63&is=658cb663&hm=f4813150b1332d39a19a538efe9daa08abed758df95b66e3c9b51860a832fbe3&=&format=webp&quality=lossless","electoral_victory_message":"

REAL PATRIOT DUMMY EXAMPLE SWEEPS

","electoral_loss_message":"

Fake News?

","no_electoral_majority_message":"

DUMMY EXAMPLE RETURNS TO HELL

","description_as_running_mate":null,"candidate_score":1,"running_mate":false,"scrollable":false}},{"model":"campaign_trail.candidate","pk":67,"fields":{"first_name":"Massachusetts","last_name":"Democrats","election":3,"party":"Democratic Party","state":"Statewide","priority":1,"description":"ALL HAIL THE DEMOCRATS

RULING PARTY OF THE PEOPLES REPUBLIC

","color_hex":"#2354a4","secondary_color_hex":null,"is_active":0,"image_url":"https://media.discordapp.net/attachments/965480657151221792/1189715301496004738/image.png?ex=659f2bb7&is=658cb6b7&hm=ae00c083225669ccf0f0c435f8f0784f21a0ab6805c52c73d6d5481c15d88513&=&format=webp&quality=lossless","electoral_victory_message":"

REAL PATRIOT DUMMY EXAMPLE SWEEPS

","electoral_loss_message":"

Fake News?

","no_electoral_majority_message":"

DUMMY EXAMPLE RETURNS TO HELL

","description_as_running_mate":"ALL HAIL THE DEMOCRATS

RULING PARTY OF THE PEOPLES REPUBLIC

","candidate_score":1,"running_mate":true,"scrollable":false,"partner":"2"}},{"model":"campaign_trail.candidate","pk":18,"fields":{"first_name":"Joseph L.","last_name":"Kennedy","election":3,"party":"Independent","state":"ancapistan","priority":1,"description":"No, he is not related to the kennedys

","color_hex":"#ddc964","secondary_color_hex":null,"is_active":0,"image_url":"https://media.discordapp.net/attachments/965480657151221792/1189716089471500308/image.png?ex=659f2c73&is=658cb773&hm=a88320d119249adc750e6823e2c583aa9544353f4b9871b6c39089db8989a0bd&=&format=webp&quality=lossless","electoral_victory_message":"

REAL PATRIOT DUMMY EXAMPLE SWEEPS

","electoral_loss_message":"

Fake News?

","no_electoral_majority_message":"

DUMMY EXAMPLE RETURNS TO HELL

","description_as_running_mate":null,"candidate_score":1,"running_mate":false,"scrollable":false}},{"model":"campaign_trail.candidate","pk":68,"fields":{"first_name":"Independent","last_name":"Independent","election":3,"party":"Independent","state":"ancapistan","priority":1,"description":"you cant be bothered to win a major party nomination
","color_hex":"#ddc964","secondary_color_hex":null,"is_active":0,"image_url":"https://media.discordapp.net/attachments/965480657151221792/1189716089471500308/image.png?ex=659f2c73&is=658cb773&hm=a88320d119249adc750e6823e2c583aa9544353f4b9871b6c39089db8989a0bd&=&format=webp&quality=lossless","electoral_victory_message":"

REAL PATRIOT DUMMY EXAMPLE SWEEPS

","electoral_loss_message":"

Fake News?

","no_electoral_majority_message":"

DUMMY EXAMPLE RETURNS TO HELL

","description_as_running_mate":"you cant be bothered to win a major party nomination
","candidate_score":1,"running_mate":true,"scrollable":false,"partner":"4"}}];e.running_mate_json = [{"model":"campaign_trail.running_mate","pk":2001,"fields":{"candidate":16,"running_mate":66}},{"model":"campaign_trail.running_mate","pk":2002,"fields":{"candidate":17,"running_mate":67}},{"model":"campaign_trail.running_mate","pk":2003,"fields":{"candidate":18,"running_mate":68}}]; $("#game_window")[0].style.backgroundSize = "cover"; quotes = ["The Scott heard around the world"] customquote = quotes[Math.floor((Math.random() * quotes.length))] corrr = `\n

THE CAMPAIGN TRAIL

` + customquote + `` document.body.style.backgroundSize="cover" campaignTrail_temp.modBoxTheme = { "header_color": "#1e4167", "header_text_color": "#ffffff", "description_text_color": "#000000", "description_background_color": "#d8e4e2", "main_color": "#d8e4e2", "secondary_color": "#1e4167", "ui_text_color": "#FFFFFF" } HistHexcolour=["#a91423","#2354a4","#ddc964","#847286"]; HistName=[" Scott Brown"," Martha Coakley"," Joseph Kennedy"," Others/Write ins"]; HistEV=[7,7,0,0]; HistPV=["1,168,178 ","1,060,861","22,388","2,300"]; HistPVP=["51.83%","47.07%","0.99%","0.1%"]; bannerArr=0 bannerlist=["https://i.imgur.com/5JGmj51.png","https://i.imgur.com/Jfwlm8Z.png"] var changeBanner = () => { bannerArr+=1 document.getElementById("header").src=bannerlist[bannerArr % bannerlist.length] } document.getElementById("header").src=bannerlist[0] footer = $(".footer")[0] var button = document.createElement("button") // button.style = `font-weight: bold; height:19.49px; position: static; right: 770px; top: 0px;` button.innerHTML = "Toggle Banner Text" footer.insertBefore(button, footer.firstChild); button.onclick = changeBanner; RecReading=true