e=campaignTrail_temp RecReading=true e.collect_results=true; e.music = {}; e.music.shuffleEnabled = false; e.music.Volume=0.5; e.music.loopEnabled = false; function headspaceTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #000000; } #game_options h3 { color: #000000; } #running_mate_form h3 { color: #000000; } #candidate_form h3 { color: #000000; } #election_year_form h3 { color: #000000; } #credits { color: #000000; } .footer { border-color: #5800D0; border-style: solid; } hr { border-color: #5800D0; border-style: solid; } #opponent_selection_description_window { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } #inner_window_4 { border-color: #F1BFFF; border-style: solid; } #running_mate_description_window { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } #running_mate_image { border-color: #F2F2F2; border-style: solid; } #inner_window_3 { border-color: #F1BFFF; border-style: solid; } #candidate_description_window { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } #candidate_image { border-color: #F2F2F2; border-style: solid; } #inner_window_1 { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } #election_image img { border-color: #F2F2F2; border-style: solid; } #inner_window_2 { border-color: #F1BFFF; border-style: solid; } #election_description_window { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } #map_container { background-color: #FFFCBD; border-color: #F2F2F2; border-style: solid; } #candidate_pic { border-color: #F2F2F2; border-style: solid; } #running_mate_pic { border-color: #F2F2F2; border-style: solid; } #overall_result { color: #000000; background-color: #FFFCBD; border-color: #F2F2F2; border-style: solid; } #overall_result h3 { color: #FFFFFF; background-color: #5800D0; border-color: #F2F2F2; } #state_info { color: #000000; background-color: #FFFCBD; border-color: #F2F2F2; border-style: solid; } #state_info h3 { color: #FFFFFF; background-color: #5800D0; border-color: #F2F2F2; } #state_result { color: #000000; background-color: #FFFCBD; border-color: #F2F2F2; border-style: solid; } #state_result h3 { color: #FFFFFF; background-color: #5800D0; border-color: #F2F2F2; } #overall_result_container { background-color: #F1BFFF; } #state_result_container { background-color: #F1BFFF; } #menu_container { background-color: #F1BFFF; } .game_header { border-color: #FFFFFF; } .content_single { border-color: #FFFFFF; } .inner_window_question { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } .inner_inner_window h3 { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } .inner_window_sign_display { color: #000000; background-color: #FFFCBD; border-color: #FFFCBD; border-style: solid; } #visit_window { color: #000000; background-color: #FFFCBD; border-color: #F2F2F2; border-style: solid; } #visit_window h3 { color: #FFFFFF; background-color: #6C0FFF; border-color: #F2F2F2; border-style: solid; border-width: 1px; } #visit_window img { border-color: #F2F2F2; border-style: solid; } #election_night_window { color: #000000; background-color: #FFFCBD; border-color: #F2F2F2; border-style: solid; } #election_night_window h3 { color: #FFFFFF; background-color: #6C0FFF; border-color: #F2F2F2; border-style: solid; border-width: 1px; } #election_night_window img { border-color: #F2F2F2; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } function whitespaceTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #000000; } #game_options h3 { color: #000000; } #running_mate_form h3 { color: #000000; } #candidate_form h3 { color: #000000; } #election_year_form h3 { color: #000000; } #credits { color: #000000; } .footer { border-color: #FFFFFF; border-style: solid; } hr { border-color: #FFFFFF; border-style: solid; } #opponent_selection_description_window { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } #inner_window_4 { border-color: #FFFFFF; border-style: solid; } #running_mate_description_window { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } #running_mate_image { border-color: #000000; border-style: solid; } #inner_window_3 { border-color: #FFFFFF; border-style: solid; } #candidate_description_window { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } #candidate_image { border-color: #000000; border-style: solid; } #inner_window_1 { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } #election_image img { border-color: #000000; border-style: solid; } #inner_window_2 { border-color: #FFFFFF; border-style: solid; } #election_description_window { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } #map_container { background-color: #FFFFFF; border-color: #000000; border-style: solid; } #candidate_pic { border-color: #000000; border-style: solid; } #running_mate_pic { border-color: #000000; border-style: solid; } #overall_result { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; } #overall_result h3 { color: #000000; background-color: #FFFFFF; border-color: #000000; } #state_info { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; } #state_info h3 { color: #000000; background-color: #FFFFFF; border-color: #000000; } #state_result { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; } #state_result h3 { color: #000000; background-color: #FFFFFF; border-color: #000000; } #overall_result_container { background-color: #FFFFFF; } #state_result_container { background-color: #FFFFFF; } #menu_container { background-color: #FFFFFF; } .game_header { border-color: #FFFFFF; } .content_single { border-color: #FFFFFF; } .inner_window_question { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } .inner_inner_window h3 { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } .inner_window_sign_display { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } #visit_window { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; } #visit_window h3 { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; border-width: 1px; } #visit_window img { border-color: #000000; border-style: solid; } #election_night_window { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; } #election_night_window h3 { color: #000000; background-color: #FFFFFF; border-color: #000000; border-style: solid; border-width: 1px; } #election_night_window img { border-color: #000000; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } function blackspaceTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #FFFFFF; } #game_options h3 { color: #FFFFFF; } #running_mate_form h3 { color: #FFFFFF; } #candidate_form h3 { color: #FFFFFF; } #election_year_form h3 { color: #FFFFFF; } #credits { color: #FFFFFF; } .footer { border-color: #000000; border-style: solid; } hr { border-color: #000000; border-style: solid; } #opponent_selection_description_window { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } #inner_window_4 { border-color: #000000; border-style: solid; } #running_mate_description_window { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } #running_mate_image { border-color: #FFFFFF; border-style: solid; } #inner_window_3 { border-color: #000000; border-style: solid; } #candidate_description_window { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } #candidate_image { border-color: #FFFFFF; border-style: solid; } #inner_window_1 { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } #election_image img { border-color: #FFFFFF; border-style: solid; } #inner_window_2 { border-color: #000000; border-style: solid; } #election_description_window { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } #map_container { background-color: #000000; border-color: #FFFFFF; border-style: solid; } #candidate_pic { border-color: #FFFFFF; border-style: solid; } #running_mate_pic { border-color: #FFFFFF; border-style: solid; } #overall_result { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #overall_result h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; } #state_info { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #state_info h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; } #state_result { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #state_result h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; } #overall_result_container { background-color: #000000; } #state_result_container { background-color: #000000; } #menu_container { background-color: #000000; } .game_header { border-color: #000000; } .content_single { border-color: #000000; } .inner_window_question { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } .inner_inner_window h3 { color: #000000; background-color: #FFFFFF; border-color: #FFFFFF; border-style: solid; } .inner_window_sign_display { color: #FFFFFF; background-color: #000000; border-color: #000000; border-style: solid; } #visit_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #visit_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; border-width: 1px; } #visit_window img { border-color: #FFFFFF; border-style: solid; } #election_night_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #election_night_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; border-width: 1px; } #election_night_window img { border-color: #FFFFFF; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } function windoseTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #000000; } #game_options h3 { color: #000000; } #running_mate_form h3 { color: #000000; } #candidate_form h3 { color: #000000; } #election_year_form h3 { color: #000000; } #credits { color: #000000; } .footer { border-color: #80FFFF; border-style: solid; } hr { border-color: #E6E6E6; border-style: solid; } #opponent_selection_description_window { color: #000000; background-color: #FFFFFF; border-color: #E6E6E6; border-style: solid; } #inner_window_4 { border-color: #E6E6E6; border-style: solid; } #running_mate_description_window { color: #000000; background-color: #FFFFFF; border-color: #E6E6E6; border-style: solid; } #running_mate_image { border-color: #6629CC; border-style: solid; } #inner_window_3 { border-color: #E6E6E6; border-style: solid; } #candidate_description_window { color: #000000; background-color: #FFFFFF; border-color: #E6E6E6; border-style: solid; } #candidate_image { border-color: #6629CC; border-style: solid; } #inner_window_1 { color: #000000; background-color: #FFFFFF; border-color: #E6E6E6; border-style: solid; } #election_image img { border-color: #6629CC; border-style: solid; } #inner_window_2 { border-color: #E6E6E6; border-style: solid; } #election_description_window { color: #000000; background-color: #FFFFFF; border-color: #E6E6E6; border-style: solid; } #map_container { background-color: #CCFFFF; border-color: #6629CC; border-style: solid; } #candidate_pic { border-color: #6629CC; border-style: solid; } #running_mate_pic { border-color: #6629CC; border-style: solid; } #overall_result { color: #000000; background-color: #CCFFFF; border-color: #6629CC; border-style: solid; } #overall_result h3 { color: #000000; background-color: #FACCFF; border-color: #6629CC; } #state_info { color: #000000; background-color: #CCFFFF; border-color: #6629CC; border-style: solid; } #state_info h3 { color: #000000; background-color: #FACCFF; border-color: #6629CC; } #state_result { color: #000000; background-color: #CCFFFF; border-color: #6629CC; border-style: solid; } #state_result h3 { color: #000000; background-color: #FACCFF; border-color: #6629CC; } #overall_result_container { background-color: #FACCFF; } #state_result_container { background-color: #FACCFF; } #menu_container { background-color: #FACCFF; } .game_header { border-color: #6629CC; } .content_single { border-color: #80FFFF; } .inner_window_question { color: #000000; background-color: #CCFFFF; border-color: #CCFFFF; border-style: solid; } .inner_inner_window h3 { color: #000000; background-color: #FACCFF; border-color: #6629CC; border-style: solid; } .inner_window_sign_display { color: #000000; background-color: #CCFFFF; border-color: #CCFFFF; border-style: solid; } #visit_window { color: #000000; background-color: #CCFFFF; border-color: #6629CC; border-style: solid; } #visit_window h3 { color: #000000; background-color: #FACCFF; border-color: #6629CC; border-style: solid; border-width: 1px; } #visit_window img { border-color: #6629CC; border-style: solid; } #election_night_window { color: #000000; background-color: #CCFFFF; border-color: #6629CC; border-style: solid; } #election_night_window h3 { color: #000000; background-color: #FACCFF; border-color: #6629CC; border-style: solid; border-width: 1px; } #election_night_window img { border-color: #6629CC; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } function metaverseTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #000000; } #game_options h3 { color: #000000; } #running_mate_form h3 { color: #000000; } #candidate_form h3 { color: #000000; } #election_year_form h3 { color: #000000; } #credits { color: #000000; } .footer { border-color: #FFCCF5; border-style: solid; } hr { border-color: #FFCCF5; border-style: solid; } #opponent_selection_description_window { color: #000000; background-color: #FFB3B3; border-color: #ED1159; border-style: solid; } #inner_window_4 { border-color: #FFA3ED; border-style: solid; } #running_mate_description_window { color: #000000; background-color: #FFB3B3; border-color: #ED1159; border-style: solid; } #running_mate_image { border-color: #4088C8; border-style: solid; } #inner_window_3 { border-color: #FFA3ED; border-style: solid; } #candidate_description_window { color: #000000; background-color: #FFB3B3; border-color: #ED1159; border-style: solid; } #candidate_image { border-color: #4088C8; border-style: solid; } #inner_window_1 { color: #000000; background-color: #E1C7F9; border-color: #ED1159; border-style: solid; } #election_image img { border-color: #4088C8; border-style: solid; } #inner_window_2 { border-color: #FFA3ED; border-style: solid; } #election_description_window { color: #000000; background-color: #C8F4FF; border-color: #ED1159; border-style: solid; } #map_container { background-color: #FFFFFF; border-color: #ED1159; border-style: solid; } #candidate_pic { border-color: #4088C8; border-style: solid; } #running_mate_pic { border-color: #4088C8; border-style: solid; } #overall_result { color: #000000; background-color: #AEFFAC; border-color: #ED1159; border-style: solid; } #overall_result h3 { color: #000000; background-color: #E1C7F9; border-color: #ED1159; } #state_info { color: #000000; background-color: #C8F4FF; border-color: #ED1159; border-style: solid; } #state_info h3 { color: #000000; background-color: #FFB3B3; border-color: #ED1159; } #state_result { color: #000000; background-color: #C8F4FF; border-color: #ED1159; border-style: solid; } #state_result h3 { color: #000000; background-color: #FFB3B3; border-color: #ED1159; } #overall_result_container { background-color: #C8F4FF; } #state_result_container { background-color: #C8F4FF; } #menu_container { background-color: #C8F4FF; } .game_header { border-color: #4088C8; } .content_single { border-color: #FFCCF5; } .inner_window_question { color: #000000; background-color: #AEFFAC; border-color: #AEFFAC; border-style: solid; } .inner_inner_window h3 { color: #000000; background-color: #FFFFFF; border-color: #ED1159; border-style: solid; } .inner_window_sign_display { color: #000000; background-color: #AEFFAC; border-color: #AEFFAC; border-style: solid; } #visit_window { color: #000000; background-color: #AEFFAC; border-color: #4088C8; border-style: solid; } #visit_window h3 { color: #000000; background-color: #C8F4FF; border-color: #4088C8; border-style: solid; border-width: 1px; } #visit_window img { border-color: #4088C8; border-style: solid; } #election_night_window { color: #000000; background-color: #AEFFAC; border-color: #4088C8; border-style: solid; } #election_night_window h3 { color: #000000; background-color: #C8F4FF; border-color: #4088C8; border-style: solid; border-width: 1px; } #election_night_window img { border-color: #4088C8; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } function undertaleTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #000000; } #game_options h3 { color: #000000; } #running_mate_form h3 { color: #000000; } #candidate_form h3 { color: #000000; } #election_year_form h3 { color: #000000; } #credits { color: #000000; } .footer { border-color: #C68A53; border-style: solid; } hr { border-color: #2E2244; border-style: solid; } #opponent_selection_description_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #inner_window_4 { border-color: #FFFFFF; border-style: solid; } #running_mate_description_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #running_mate_image { border-color: #FFFFFF; border-style: solid; } #inner_window_3 { border-color: #FFFFFF; border-style: solid; } #candidate_description_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #candidate_image { border-color: #FFFFFF; border-style: solid; } #inner_window_1 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #election_image img { border-color: #FFFFFF; border-style: solid; } #inner_window_2 { border-color: #2E2244; border-style: solid; } #election_description_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #map_container { background-color: #000000; border-color: #FFFFFF; border-style: solid; } #candidate_pic { border-color: #FFFFFF; border-style: solid; } #running_mate_pic { border-color: #FFFFFF; border-style: solid; } #overall_result { color: #FFFFFF; background-color: #000000; border-color: #FFFD00; border-style: solid; } #overall_result h3 { color: #FFFD00; background-color: #000000; border-color: #FFFD00; } #state_info { color: #FFFFFF; background-color: #000000; border-color: #F5B1A3; border-style: solid; } #state_info h3 { color: #F5B1A3; background-color: #000000; border-color: #F5B1A3; } #state_result { color: #FFFFFF; background-color: #000000; border-color: #F5B1A3; border-style: solid; } #state_result h3 { color: #F5B1A3; background-color: #000000; border-color: #F5B1A3; } #overall_result_container { background-color: #D3C6EC; } #state_result_container { background-color: #D3C6EC; } #menu_container { background-color: #D3C6EC; } .game_header { border-color: #2E2244; } .content_single { border-color: #2E2244; } .inner_window_question { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } .inner_inner_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } .inner_window_sign_display { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #visit_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #visit_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; border-width: 1px; } #visit_window img { border-color: #FFFFFF; border-style: solid; } #election_night_window { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; } #election_night_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFFFF; border-style: solid; border-width: 1px; } #election_night_window img { border-color: #FFFFFF; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } function devoTheme() { style_overwrite = document.createElement("style"); style_overwrite.innerHTML = ` #difficulty_level h3 { color: #FFFFFF; } #game_options h3 { color: #FFFFFF; } #running_mate_form h3 { color: #FFFFFF; } #candidate_form h3 { color: #FFFFFF; } #election_year_form h3 { color: #FFFFFF; } #credits { color: #FFFFFF; } .footer { border-color: #000000; border-style: solid; } hr { border-color: #18DC00; border-style: solid; } #opponent_selection_description_window { color: #FFFFFF; background-color: #000000; border-color: #FFFF36; border-style: solid; } #inner_window_4 { border-color: #FFFF36; border-style: solid; } #running_mate_description_window { color: #FFFFFF; background-color: #000000; border-color: #FF141C; border-style: solid; } #running_mate_image { border-color: #18DC00; border-style: solid; } #inner_window_3 { border-color: #FFFF36; border-style: solid; } #candidate_description_window { color: #FFFFFF; background-color: #000000; border-color: #FF141C; border-style: solid; } #candidate_image { border-color: #18DC00; border-style: solid; } #inner_window_1 { color: #FFFFFF; background-color: #000000; border-color: #FF141C; border-style: solid; } #election_image img { border-color: #FFFF36; border-style: solid; } #inner_window_2 { border-color: #FF141C; border-style: solid; } #election_description_window { color: #FFFFFF; background-color: #000000; border-color: #18DC00; border-style: solid; } #map_container { border-color: #FFFF36; border-style: solid; background-color: #000000; } #candidate_pic { border-color: #18DC00; border-style: solid; } #running_mate_pic { border-color: #18DC00; border-style: solid; } #overall_result { color: #FFFFFF; background-color: #000000; border-color: #18DC00; border-style: solid; } #overall_result h3 { color: #FFFFFF; background-color: #000000; border-color: #18DC00; } #state_info { color: #FFFFFF; background-color: #000000; border-color: #18DC00; border-style: solid; } #state_info h3 { color: #FFFFFF; background-color: #000000; border-color: #18DC00; } #state_result { color: #FFFFFF; background-color: #000000; border-color: #18DC00; border-style: solid; } #state_result h3 { color: #FFFFFF; background-color: #000000; border-color: #18DC00; } #overall_result_container { background-color: #000000; } #state_result_container { background-color: #000000; } #menu_container { background-color: #000000; } .game_header { border-color: #2F7EFF; } .content_single { border-color: #18DC00; } .inner_window_question { color: #FFFFFF; background-color: #000000; border-color: #FF141C; border-style: solid; } .inner_inner_window h3 { color: #FFFFFF; background-color: #000000; border-color: #18DC00; border-style: solid; } .inner_window_sign_display { color: #FFFFFF; background-color: #000000; border-color: #2F7EFF; border-style: solid; } #visit_window { color: #FFFFFF; background-color: #000000; border-color: #FFFF36; border-style: solid; } #visit_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFF36; border-width: 1px; } #visit_window img { border-color: #2F7EFF; border-style: solid; } #election_night_window { color: #FFFFFF; background-color: #000000; border-color: #FFFF36; border-style: solid; } #election_night_window h3 { color: #FFFFFF; background-color: #000000; border-color: #FFFF36; border-width: 1px; } #election_night_window img { border-color: #2F7EFF; border-style: solid; } a { color: #000000; } `; document.head.appendChild(style_overwrite); } const gameThemes = { "Headspace" : function() { headspaceTheme() selectedTheme.text_col="black" corrr = `
copyrighted and individual pieces (artwork, music) are owned by their creators.
thank you to Omori, Undertale, Doki Doki Literature Club and Needy Girl Overdose for giving me lots of happiness.
evaline
script (endings)
evaline
max (answer function, question function, music player)
diamondy (music player)
nina (polling function, music player)
max
script
jfnixon
the wonderful community of pabcord!!
2000N (credits page)
2021DE (polling function, music player)
Animal Crossing (music player)
2024 (running mate mid-game, theme selection, endings function)
` changeGameDisp(true); var spacer = document.createElement("amongusspacerthisisntarealelement"); spacer.innerHTML = " "; document .getElementsByClassName("inner_window_w_desc")[0] .children[1].appendChild(spacer); changeGameDisp(true); var menuHeader = document.createElement("div"); var newMenu = document.createElement("div"); newMenu.classList.add("inner_window_front"); newMenu.id = "SOTUmenu"; newMenu.style = `height:430px;width:910px;background-color:#212121;color:white;overflow-y: scroll;`; newMenu.innerHTML = credits_html; let z = document.getElementById("game_window"); var backButton = document.createElement("button"); backButton.style = "position: relative; bottom: -4px; left: -392px; width: 130px; height: 50px;font-size:20px;padding-top:5px;padding-left:8px"; backButton.id = "backSOTUBtn"; backButton.innerHTML = `BACK`; backButton.onclick = function () { document.getElementById("SOTUmenu").remove(); document.getElementById("backSOTUBtn").remove(); changeGameDisp(false); }; z.appendChild(newMenu); z.appendChild(backButton); } campaignTrail_temp.achievements = { // CANDIDATE // // "push, push, struggle" : { "image" : "https://file.garden/ZRcfmLUQNGkxIJds/pushStruggle.jpg", "description" : "shock the nation" }, "the dukakis league" : { "image" : "https://file.garden/ZRcfmLUQNGkxIJds/dukakisLeague.jpg", "description" : "lose to a technocrat" }, "babbitt goes to hollywood" : { "image" : "https://file.garden/ZRcfmLUQNGkxIJds/babbittHollywood.jpg", "description" : "lose to a wonk" }, "material boy" : { "image" : "https://file.garden/ZRcfmLUQNGkxIJds/materialBoy.jpg", "description" : "lose to an idealist" }, // CHALLENGE // // "check the number" : { "image" : "https://file.garden/ZRcfmLUQNGkxIJds/checkNumber.jpg", "description" : "dont back downhenno, hoiiii, haiiiii. thank you so much for considering to play mod!!!!!

this is a scenario that looks into an impossibility of a pat robertson candidacy in the 1988 presidential election.
this mod deals with the following, so i hope this helps:
the views within the mod are not the creators or anyone associated.
"; campaignTrail_temp.election_json = JSON.parse("[{\"model\": \"campaign_trail.election\", \"pk\": 15, \"fields\": {\"year\": 1988, \"summary\": \"As Ronald Reagan's time in office is coming to an end it seems that the presumptive nominee, George Bush, was embarrassed by conservative ideologue Pat Robertson.
Though it's not smooth sailings for the evangelist. A confident Democratic party, deflated Republican party and numerous character issues have put Robertson on the backfoot. Only through determination and shoring up his \\\"Moral Coalition\\\" can he even out the deficit.
This is for all the marbles, can Robertson bring morality to America?
\", \"image_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/rob1988.jpg\", \"winning_electoral_vote_number\": 270, \"advisor_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/nuttleadvisor.jpg\", \"recommended_reading\": \"
Nyalra | Needy Streamer Overdose
OMOCAT | Omori
Deltarune | Undertale
Team Salvato | Doki Doki Literature ClubOperating out of Virginia Beach, the Christian Broadcasting Network has been the premier in Evangelical outreach and it all started from Pat Robertson and a couple of bucks. There's more to the businessman however. Such as his philanthropic efforts, his business acumen, his political activism. Spreading the word of Christ is his mission and he aims to do so on the political scene.
Though the primaries between the candidates got heated, they would all coalesce to the evangelist in the name of party unity. Going into the general election, the polls and what most astute observers believe is a severe deficit for the businessman. The common belief, however, should be ill-considered. Considering there is considerable support for him that just can't be registered. It's now Robertson's job to activate them.
\", \"color_hex\": \"#FA002F\", \"secondary_color_hex\": \"#FF99AC\", \"is_active\": 1, \"image_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/robertson.jpg\", \"electoral_victory_message\": \"\", \"electoral_loss_message\": \"\", \"no_electoral_majority_message\": \"\", \"description_as_running_mate\": \"\", \"candidate_score\": 1.0}}, {\"model\": \"campaign_trail.candidate\", \"pk\": 153, \"fields\": {\"first_name\": \"\", \"last_name\": \"Democratic Party\", \"election\": 15, \"party\": \"Democratic (Democratic National Convention)\", \"state\": \"Atlanta, Georgia\", \"priority\": 1, \"description\": \"In a sigh of relief, the Democrats can look forward to the campaign as a done-deal. While polls have shown them well above their Republican contemporaries, it seems this lead will only be firmly cemented with the Republicans coalescing around televangelist Pat Robertson.
While many Democrats decryed the evangelist as too extreme for office, they certainly aren't complaining as their messaging will seem tame compared to his. Despite this, they should not get complacent. After all, Harry Truman was able to pull off an upset in 1948. Who isn't to say the same can't happen 40 years later?
Kicking off with a bang, Ron Paul has left the Republicans in exchange for the Libertarians. The party achieving little success (besides impressively getting ~1% of the popular vote), they've decided to go with this (now) former Republican to hopefully put up a good performance. If this were any other Republican, he wouldn't be in the conversation but Robertson has flipped the script.
While the chance to get on the electoral map is more than unlikely, Paul's chances are intertwined with the popular vote instead. Polls have shown the Libertarian's getting nearly ~5% of the popular vote, which would show the party's newfound strength. While polls are speculative this early into the election cycle, getting more than one million supporters on Election Day would be impressive.
Various parties want to put their foot at the door and try to make a name for themselves. Trying to put forward their platform and policy prescriptions to push the conversation forward. In all likelihood, many of these parties will not be effective. That doesn't stop the dream of pushing through their individual agendas.
It's not all for nothing however. Lenora Fulani, for example, is one of these people running for president. While they do the routine of talking about winning the presidency, they're not under any delusions of success. However, if there were to be a pivot by the major parties there could be a good opportunity to attain support. Through this line of thinking, Fulani and others should not be written off as an electoral threat.
Similar to Robertson in being an ideologue, Steve Symms would be a complimentary running mate. The problem comes with just that, being complimentary. Having a ticket of fiery conservatives will be sure to get the base moving, but just as much as it can get out the base it can put off moderates and independents. Republican members would also be less likely to help out Robertson, which would be detrimental to him when he'll need everything he can get.
With such a ticket prone to incendiary comments, Symms would truly be a choice for ideological purity.
\", \"candidate_score\": 0.0}}, {\"model\": \"campaign_trail.candidate\", \"pk\": 157, \"fields\": {\"first_name\": \"Dan\", \"last_name\": \"Quayle\", \"election\": 15, \"party\": \"Republican\", \"state\": \"Indiana\", \"priority\": 6, \"description\": \"\", \"color_hex\": \"\", \"secondary_color_hex\": \"\", \"is_active\": 0, \"image_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/quayle.jpg\", \"electoral_victory_message\": \"\", \"electoral_loss_message\": \"\", \"no_electoral_majority_message\": \"\", \"description_as_running_mate\": \"Robertson just doesn't have the respect of the party and with a campaign that's seeming to need every penny they'll get, is devastating. The party donors, the apparatus, the downballot. They would all sooner stay far away from any clear association and they wouldn't be so wrong. However, if he were to calm their fears with a non-offensive running mate it would at least temper tensions. Dan Quayle would be just the man for that and the cherry on top is his strong conservative credentials and youthfulness.
With a party and general population being skeptical of a televangelist, Quayle would be a choice for soothing moderates.
\", \"candidate_score\": 0.0}}, {\"model\": \"campaign_trail.candidate\", \"pk\": 158, \"fields\": {\"first_name\": \"Jack\", \"last_name\": \"Kemp\", \"election\": 15, \"party\": \"Republican\", \"state\": \"New York\", \"priority\": 7, \"description\": \"\", \"color_hex\": \"\", \"secondary_color_hex\": \"\", \"is_active\": 0, \"image_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/kemp.jpg\", \"electoral_victory_message\": \"\", \"electoral_loss_message\": \"\", \"no_electoral_majority_message\": \"\", \"description_as_running_mate\": \"The ultimate wildcard for Robertson is his relative distance from proper politics. Donating and supporting political causes is one thing, actively shaping them is another. With the past eight years dominated by Ronald Reagan, there is still a lot of love for ol' Ronnie. A number of bills have been passed and none has been as instrumental in showcasing what Reaganism truly is like the Kemp-Roth Tax Cut Bill. With Robertson being an unknown anomaly in the political scene, Jack Kemp would be a known quantity that can soothe concerns.
With a ticket leaving people skeptical of how effective it would be in Congress, Kemp would be a useful asset in showing the seriousness that they'll run in an administration.
\", \"candidate_score\": 0.0}}, {\"model\": \"campaign_trail.candidate\", \"pk\": 159, \"fields\": {\"first_name\": \"Paul\", \"last_name\": \"Laxalt\", \"election\": 15, \"party\": \"Republican\", \"state\": \"Nevada\", \"priority\": 8, \"description\": \"\", \"color_hex\": \"\", \"secondary_color_hex\": \"\", \"is_active\": 0, \"image_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/laxalt.jpg\", \"electoral_victory_message\": \"\", \"electoral_loss_message\": \"\", \"no_electoral_majority_message\": \"\", \"description_as_running_mate\": \"What Robertson ultimately needs, if he wants any sort of chance at getting off the ground, is the party. With the presumptive nominee being take away from their hands, they're awfully hesitant to lend any support for his campaign. Ultimately, this is what Robertson should've expected. Campaigning as an outsider could only get him so far, so getting a party insider like Paul Laxalt would help immensely in building a bridge with the national party. Perhaps, even recognition from the president himself.
With a ticket that is not taken seriously by party insiders, Laxalt would be a net positive in showing he's willing to listen to the concerns of Republicans.
\", \"candidate_score\": 0.0}}, {\"model\": \"campaign_trail.candidate\", \"pk\": 160, \"fields\": {\"first_name\": \"George\", \"last_name\": \"Deukmejian\", \"election\": 15, \"party\": \"Republican\", \"state\": \"California\", \"priority\": 9, \"description\": \"\", \"color_hex\": \"\", \"secondary_color_hex\": \"\", \"is_active\": 0, \"image_url\": \"https://file.garden/ZRcfmLUQNGkxIJds/deukmejian.jpg\", \"electoral_victory_message\": \"\", \"electoral_loss_message\": \"\", \"no_electoral_majority_message\": \"\", \"description_as_running_mate\": \"There's not many people that take Robertson seriously. It wouldn't be until the convention that people saw just how serious this supposed movement that he represents truly is. Unfortunately for him, the polls have shown deficits that would make even Goldwater blush. What he needs, is a noncontroversial running mate that'll be willing to act as his conduit to the unsettling influences of the media. What his campaign manager says is the California governor, George Deukmejian, would be the perfect man for that.
The only hard part, is getting the governor to agree to it.
\", \"candidate_score\": 0.0}}]"); campaignTrail_temp.running_mate_json = JSON.parse("[{\"model\": \"campaign_trail.running_mate\", \"pk\": 98, \"fields\": {\"candidate\": 152, \"running_mate\": 156}}, {\"model\": \"campaign_trail.running_mate\", \"pk\": 99, \"fields\": {\"candidate\": 152, \"running_mate\": 157}}, {\"model\": \"campaign_trail.running_mate\", \"pk\": 100, \"fields\": {\"candidate\": 152, \"running_mate\": 158}}, {\"model\": \"campaign_trail.running_mate\", \"pk\": 101, \"fields\": {\"candidate\": 152, \"running_mate\": 159}}, {\"model\": \"campaign_trail.running_mate\", \"pk\": 102, \"fields\": {\"candidate\": 152, \"running_mate\": 160}}]"); campaignTrail_temp.opponents_default_json = JSON.parse("[{\"election\": 15, \"candidates\": [152, 153, 154, 155]}]"); campaignTrail_temp.opponents_weighted_json = JSON.parse("[{\"election\": 15, \"candidates\": [152, 153, 154, 155]}]"); campaignTrail_temp.difficulty_level_json = JSON.parse("[{\"model\": \"campaign_trail.difficulty_level\", \"pk\": 1, \"fields\": {\"name\": \"Realistic\", \"multiplier\": 0.97}}, {\"model\": \"campaign_trail.difficulty_level\", \"pk\": 2, \"fields\": {\"name\": \"Adjusted\", \"multiplier\": 1.02}}, {\"model\": \"campaign_trail.difficulty_level\", \"pk\": 3, \"fields\": {\"name\": \"Elevated\", \"multiplier\": 1.07}}]"); campaignTrail_temp.global_parameter_json = JSON.parse("[{\"model\": \"campaign_trail.global_parameter\", \"pk\": 1, \"fields\": {\"vote_variable\": 1.125, \"max_swing\": 0.12, \"start_point\": 0.94, \"candidate_issue_weight\": 10.0, \"running_mate_issue_weight\": 3.0, \"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.0, \"state_variance\": 0.0, \"question_count\": 35, \"default_map_color_hex\": \"#FFFFFF\", \"no_state_map_color_hex\": \"#999999\"}}]"); campaignTrail_temp.candidate_dropout_json = JSON.parse("[{\"model\": \"campaign_trail.candidate_dropout\", \"pk\": 1, \"fields\": {\"candidate\": 36, \"affected_candidate\": 18, \"probability\": 1.0}}]"); campaignTrail_temp.temp_election_list = [{"id": 15, "year": 1988, "is_premium": 0, "display_year": "1988robertson"}]; campaignTrail_temp.show_premium = true; campaignTrail_temp.premier_ab_test_version = -1; $(document).on('click', '#candidate_id_button', () => { $('#running_mate_id_button').click();}); $(document).on('click', '#opponent_selection_id_back', () => { $('#running_mate_id_back').click();}); $(document).on('click', '#opponent_selection_id_button', () => {}); $("#game_start").click((event) => { event.preventDefault(); musicMode() }) var element = document.getElementById('my-invisible-element'); if (!element) { // Get the reference to the bar var bar = document.getElementById('bottomBar'); // Create the checkbox var checkbox = document.createElement('input'); checkbox.type = 'checkbox'; checkbox.id = 'volumeCheckbox'; checkbox.checked = false; checkbox.style.display = 'none'; // Create the label for the checkbox var label = document.createElement('label'); label.htmlFor = 'volumeCheckbox'; label.style.fontSize = '0px'; // Increase the size of the text label.style.fontWeight = 'bold'; // Make the text bold label.appendChild(document.createTextNode('Enable Volume')); // Wrap the checkbox and label in a div and style it var wrapper = document.createElement('div'); wrapper.style.padding = '0px'; // Add some padding wrapper.style.borderRadius = '0px'; // Round the corners wrapper.style.backgroundColor = '#60DAFF'; // Set the background color to the default button color wrapper.style.border = '0px solid black'; // Add a black border wrapper.appendChild(checkbox); wrapper.appendChild(label); // Position the wrapper in the middle of the bar var div = document.createElement('div'); div.style.position = 'absolute'; div.style.left = '50%'; div.style.transform = 'translate(-50%, 0)'; // Center the div div.appendChild(wrapper); // Add the div to the bar bar.appendChild(div); // Add event listener to the checkbox checkbox.addEventListener('change', function() { if (!this.checked) { e.music.Volume = 0; // Set the initial volume of the music player to 0 } }); let trackIndices; let shuffledIndices; musicMode = () => { $("#music_player")[0].children[0].style.display = "none" $("#music_player")[0].children[1].style.display = "none" document.getElementById("modLoadReveal").style.display = "none" document.getElementById("modloaddiv").style.display = "none" musicBox = document.getElementById("music_player") musicBox.style.display = "" var trackSel; e = campaignTrail_temp e.selectedSoundtrack = 0 toTime = (seconds) => { var date = new Date(null); date.setSeconds(seconds); return date.toISOString().substr(11, 8); } generateTime = () => { // Get the audio element var audio = document.getElementById("campaigntrailmusic"); timeTracker = document.createElement("div"); timeTracker.id ='timeTracker' timeTracker.style = ` text-align:left; border-style:solid; border-width:3px; border-color:#60DAFF; height:200px; width:200px; color: #000000; background-color:#FACCFF; float:right; padding: 10px; ` $("#trackSelParent")[0].prepend(timeTracker); var positionDisplay = document.createElement("gg"); positionDisplay.id = "position-display"; var timeSlider = document.createElement("input"); timeSlider.type = "range"; timeSlider.min = 0; timeSlider.max = 1; timeSlider.step = 0.001; timeSlider.value = 0; timeSlider.style.width = "200px"; timeSlider.id = "time-slider"; var pausePlay = document.createElement("button"); pausePlay.id = "position-display"; pausePlay.innerHTML = "Pause" pausePlay.style.width = "100%"; pausePlay.style.margin = "2px"; pausePlay.addEventListener("click", event => { event.preventDefault(); updatePositionDisplay(); let audio = document.getElementById("campaigntrailmusic"); if (audio.paused) { audio.play(); event.target.innerHTML = "Pause"; return; } audio.pause(); event.target.innerHTML = "Play"; return; }) var shuffleButton = document.createElement("button"); shuffleButton.id = "shuffle-button"; shuffleButton.innerHTML = "Shuffle" shuffleButton.style.width = "100%" shuffleButton.style.margin = "2px";; shuffleButton.addEventListener("click", event => { event.preventDefault(); e.music.shuffleEnabled = !e.music.shuffleEnabled; event.target.innerHTML = e.music.shuffleEnabled ? "Unshuffle" : "Shuffle"; if (e.music.shuffleEnabled) { shuffledIndices = shuffle(trackIndices.slice()); let currentTrackIndex = Number(document.querySelector('input[name="trackSelector"]:checked').value); shuffledIndices = shuffledIndices.filter(index => index !== currentTrackIndex); shuffledIndices.unshift(currentTrackIndex); } }); var skipButton = document.createElement("button"); skipButton.id = "skip-button"; skipButton.innerHTML = "Skip" skipButton.style.width = "100%"; skipButton.style.margin = "2px"; // Add margin skipButton.addEventListener("click", event => { event.preventDefault(); let selected = Number(document.querySelector('input[name="trackSelector"]:checked').value); let newSel; if (e.music.shuffleEnabled) { if (!shuffledIndices) { shuffledIndices = shuffle(trackIndices.slice()); } let currentIndex = shuffledIndices.findIndex(index => index === selected); if (currentIndex === shuffledIndices.length - 1) { shuffledIndices = shuffle(trackIndices.slice()); currentIndex = -1; } newSel = shuffledIndices[currentIndex + 1]; } else { newSel = selected + 1 === soundtracks[e.selectedSoundtrack].tracklist.length ? 0 : selected + 1; } let buttons = Array.from(document.getElementById("trackSel").children).filter(f => { return f.tagName == "LABEL" }).map(f => f.children[0]) buttons[newSel].click() }); skipButton.style.width = "50%"; var loopButton = document.createElement("button"); loopButton.id = "loop-button"; loopButton.innerHTML = e.music.loopEnabled ? "Unloop" : "Loop Song"; // Check the initial loop state loopButton.style.width = "50%"; // Match the width with skipButton loopButton.style.margin = "2px"; loopButton.addEventListener("click", event => { event.preventDefault(); e.music.loopEnabled = !e.music.loopEnabled; let audio = document.getElementById("campaigntrailmusic"); audio.loop = e.music.loopEnabled; // Set the audio's loop property event.target.innerHTML = e.music.loopEnabled ? "Unloop" : "Loop Song"; // Toggle the button text }); var volumeLabel = document.createElement("gg"); volumeLabel.id = "volume-label"; volumeLabel.innerHTML = "