It's 1971, and South Korea's already unstable democracy is in a huge crisis. President Park Chung-hee passed a constitutional amendment for a third term two years ago, and this year, he challenges a third term according to the new constitution. Kim Dae-jung is a young candidate of the NDP, the main opposition party, and he is trying to protect democracy against President Park.
This year's election is predicted to be extremely competitive. Two candidates shall do everything to win this race. Literally everything.
Hi. It's me, Kim Jong-pil. Thank you for playing the first mod made by FlongydOlson.
In real history, President Park managed to beat Kim Dae-jung to win the election. But despite the victory, Park was not satisfied at all. His government was in a major economic and diplomatic crisis, which threatened his political status. Park wanted to gain dictatorial power to overcome this situation and rule stably, and in 1972, he eventually disbanded the National Assembly and suspended the Constitution, by staging a self-coup called the October Restoration.
Park revised the Constitution once again and served as president for another seven years under the new Constitution, but was eventually shot and assassinated by Kim Jae-gyu in 1979. What happened to Kim Dae-jung? Even after Park's death, Kim went through many hardships working hard for democratization, but he was eventually elected president in 1997. If you want to know more about the life of Kim and the history of Korean democracy, see the following article.
Park Chung-hee was elected president in 1963, after overthrowing an unpopular government in 1961 through a coup. He is supported by many people for leading the industrialization and economic growth of South Korea, which was devastated by the Korean War, but on the other hand, he is criticized by many people too, for trying to undermine democracy.
In the beginning, it seems like Kim Dae-jung's popularity is higher than yours, but don't worry. You have a strong organization and numerous strategies, and if you use them effectively, you can continue your third term...
Congratulations! You have won the 1976 Presidential Election.
Hopefully you can make good on your promises to clean up Washington and change the political and moral culture of the country. If you are successful, there is no reason you cannot run for reelection in 1980. Just be wary of any economic problems, or of some foreign policy crisis that could dent your popularity.
\", \"electoral_loss_message\": \"
Sorry, you have lost the 1976 Presidential Election.
As an outsider candidate, this was really your moment to make an impact on American politics and to win a national election. The beltway gossip already has it that Ted Kennedy is the frontrunner for the 1980 nomination. Perhaps you can run again for Governor of Georgia, or make an impact in some other way.
\", \"no_electoral_majority_message\": \"
Wow! You have won in a squeaker.
While the Electoral College ended in a tie, the Democrats have a huge advantage in the House of Representatives and are sure to elect you in that manner. Hopefully the closeness of this election doesn't undermine your promises to clean up Washington and unite the people of this country.
Kim Dae-jung is a young member of the National Assembly, who is 47 in 1971. Along with Kim Young-sam and Yi Cheol-seung, Kim participated in the primary, advocating the '40s Candidate Theory', which argued that young candidate should challenge Park in the upcoming presidential election. And after fierce competition with Kim Young-sam, he was nominated as the NDP's presidential candidate. He is also well known as a strong supporter of democracy and one of Park's main rivals.
Thanks to this reputation, you have an early lead in the election, but beware of Park's aggressive attacks. He and his supporters will devise all sorts of schemes to defeat you...
Congratulations! You have won the 1976 Presidential Election.
Hopefully you can continue to help the United States recover from the Watergate Scandal, the recent recession, and the debacle of Vietnam. In either case, this will be your final term as President. Speculation is sure to be intense on who will replace you. Will it be Ronald Reagan? Ted Kennedy? Or someone else entirely?
\", \"electoral_loss_message\": \"
Sorry, you have lost the 1976 Presidential Election.
Hopefully your opponent can make good on his promises to clean up Washington and change the political and moral culture of the country. Perhaps you can still play a role in 1980, or seek your old Congressional leadership positions. In any case, you can still take solace in the fact that you did the right thing by pardoning Nixon and moving the country beyond the Watergate episode.
\", \"no_electoral_majority_message\": \"
Sorry, you have lost the 1976 Presidential Election.
While the Electoral College ended in a tie, the Democrats have a huge advantage in the House of Representatives and are sure to elect your opponent in that manner. Perhaps you can still play a role in 1980, or seek your old Congressional leadership positions. In any case, you can still take solace in the fact that you did the right thing by pardoning Nixon and moving the country beyond the Watergate episode.
The Democratic-Republican Party (DRP) is the first political party in Korea to have a systematic organization. It is also the conservative ruling party of the current government, but there is some backlash from within as a result of Park's attempts to ignore the party and strengthen his own power.
So please be careful when dealing with DRP, even though they will support your campaign after all...
The New Democratic Party (NDP) is the main opposition party in South Korea. There is not much difference ideologically between DRP and NDP, but NDP focuses on democracy heavily and struggles to defend democracy against the Park government.
With elections ahead, the party seems to be united for now, but everything might change if you make a severe mistake...
Use the default method of deciding the winner in the Korean presidential election.
In the Korean presidential election, the candidate who receives votes more than any other opponents is elected president. Regardless of the majority, you just need to have the most to win. For example, in the 1963 presidential election, Park Chung-hee won 46.6 percent of the vote, beating Yun Po-sun, who won only 45.1 percent of the vote.
`;
} catch {}
}
window.setInterval(changeOpponentSelectionDescription,200)
RecReading=true
campaignTrail_temp.temp_election_list = [{"id": 10, "year": 1971, "is_premium": 0, "display_year": "1971Korea"}];
campaignTrail_temp.show_premium = true;
campaignTrail_temp.premier_ab_test_version = -1;
campaignTrail_temp.credits = "FlongydOlson, ";
credits = function() {
credits = [""]
text = "CODE CREDITS:\n1964 Draft Lodge (Color Setting Codes)\n2000N (Soundtrack Code)\n2025 Netherlands (Several Codes)\nAnd Decstar for Map Background Code\n\nHAVE FUN!"
for (i in credits) {
text += credits[i]
}
alert(text)
}
nct_stuff.themes[nct_stuff.selectedTheme].coloring_title = "#000000";
nct_stuff.themes[nct_stuff.selectedTheme].coloring_window = "#969696";
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 = "#282828";
bannerlist=["https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/71bannerpark.png", "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/71bannerkim.png"]
document.getElementById("header").src = bannerlist[Math.floor((Math.random() * bannerlist.length))]
document.body.background = "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/71back.png";
$(".footer a").css({"color":"#ffffff"});
nct_stuff.themes[nct_stuff.selectedTheme].text_col = "#000000"
let style = document.createElement('style');
style.type = 'text/css';
style.id = 'dynamic-style';
style.innerHTML = `
.campaign_trail_start_emphasis {
background-color: #000000;
}
a:-webkit-any-link {
color: #000000;
}
`;
document.head.appendChild(style);
quotes = ["“We have been born into this land, charged with the historic mission of regenerating the nation.” - Park Chung-hee", "“We Koreans were like frogs in a well.” - Park Chung-hee", "“I will never ask you to vote for me again!” - Park Chung-hee", "“Life is beautiful, and history develops.” - Kim Dae-jung", "“I have lived, and continue to live, in the belief that God is always with me.” - Kim Dae-jung", "“Democracy and the market economy are two sides of a coin or two wheels of a cart.” - Kim Dae-jung"]
customquote = quotes[Math.floor((Math.random() * quotes.length))]
corrr=`\n
제7대 대통령 선거
`+customquote+``
musicMode = () => {
// Initialise custom music
$("#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.style = `
text-align:left;
border-style:solid;
border-width:3px;
height:150px;
width:200px;
background-color:#999999;
float:right;
padding: 10px;
`
$("#trackSelParent")[0].prepend(timeTracker);
$("#trackSelParent")[0].prepend(document.createElement("br"));
// Create a new element to display the current position of the audio
var positionDisplay = document.createElement("gg");
positionDisplay.id = "position-display";
// Create a new slider element to change the time
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.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 volumeLabel = document.createElement("gg");
volumeLabel.id = "volume-label";
volumeLabel.innerHTML = " Volume: "
var volumeSlider = document.createElement("input");
volumeSlider.type = "range";
volumeSlider.min = 0;
volumeSlider.max = 1;
volumeSlider.step = 0.001;
volumeSlider.value = 0;
volumeSlider.style.width = "200px";
volumeSlider.id = "volume-slider";
volumeSlider.value = audio.volume;
timeTracker.appendChild(pausePlay);
timeTracker.appendChild(document.createElement("br"));
timeTracker.appendChild(document.createElement("br"));
timeTracker.appendChild(positionDisplay);
timeTracker.appendChild(timeSlider);
timeTracker.appendChild(volumeLabel);
timeTracker.appendChild(volumeSlider);
updatePositionDisplay();
//for (let i = 0; i < 10; i++)
//timeTracker.append(document.createElement("br"));
// Function to update the position display
function updatePositionDisplay() {
positionDisplay.innerHTML = "Time: " + toTime(audio.currentTime) + " ";
timeSlider.value = audio.duration ? audio.currentTime / audio.duration : 0;
}
// Function to change the time of the audio
function changeTime() {
positionDisplay.innerHTML = "Time: " + toTime(audio.currentTime) + " ";
audio.currentTime = timeSlider.value * audio.duration;
}
updateVolume = event => {
audio.volume = event.target.value;
}
// Update the position display and slider every second
setInterval(updatePositionDisplay, 1000);
// Listen for changes to the time slider and change the time of the audio
timeSlider.addEventListener("input", changeTime);
volumeSlider.addEventListener("input", updateVolume)
}
function newMusicPlayer() {
trackSel = document.createElement("div");
trackSel.id = "trackSelParent"
let z = `
`
z += `
`
//
for (i in soundtracks[e.selectedSoundtrack].tracklist) {
let a = soundtracks[e.selectedSoundtrack].tracklist[i]
let b = ` `
z += b
}
z += "
"
trackSel.innerHTML = z
// select correct song
musicBox.appendChild(trackSel);
Array.from(document.getElementById("trackSel").children).filter(f => {
return f.tagName == "LABEL"
}).map(f => f.children[0])[0].checked = true
// set soundtrack changer
soundtrackSelector = document.getElementById("selectSoundtrack")
soundtrackSelector.onchange = function() {
for (i in soundtracks) {
if (soundtracks[i].name == soundtrackSelector.value) {
e.selectedSoundtrack = i
break
}
}
document.getElementById("trackSelParent").remove()
newMusicPlayer()
}
var matches = document.querySelectorAll('.trackSelector');
for (match in matches) {
matches[match].onchange = function() {
audio = $("#campaigntrailmusic")[0];
audio.src = soundtracks[e.selectedSoundtrack].tracklist[this.value].url
audio.currentTime = 0
}
}
musicBox.children[2].loop = false
musicBox.children[2].src = soundtracks[e.selectedSoundtrack].tracklist[0].url
musicBox.children[2].onended = function() {
console.log("next track")
let selected = Number(document.querySelector('input[name="trackSelector"]:checked').value);
let newSel = clamp(selected + 1, soundtracks[e.selectedSoundtrack].tracklist.length - 1, 0)
let buttons = Array.from(document.getElementById("trackSel").children).filter(f => {
return f.tagName == "LABEL"
}).map(f => f.children[0])
//let selectedIndex = buttons.map(f=>f.children[0]).map(f=>f.checked)
buttons[newSel].click()
}
for (w = 0; w < 7; w++) {
document.getElementById("trackSelParent").appendChild(document.createElement("br"))
}
generateTime();
}
clamp = function(a, max, min, overflow = true) {
if (overflow) {
return a > max ? min : a < min ? max : a;
}
return a > max ? max : a < min ? min : a;
}
// Track list
var soundtracks = {
0: {
name: "Intro Music",
tracklist: [
{
"name": "Beautiful Rivers and Mountains - Shin Joong-hyun",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Beautiful_Rivers_and_Mountains.mp3"
}
]
},
1: {
name: "Leader of the Country",
tracklist: [
{
"name": "My Fatherland - Park Chung-hee",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/My_Fatherland.mp3"
},
{
"name": "Song of Saemaul - Park Chung-hee",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Song_of_Saemaul.mp3"
},
{
"name": "Ode to the Fatherland - Kim Dong-jin",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/OdetotheFatherland.mp3"
},
{
"name": "Live Well - Kim Hee-jo",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Live_Well.mp3"
}
]
},
2: {
name: "Leader of the People",
tracklist: [
{
"name": "Morning Dew - Yang Hee-eun",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Morning_Dew.mp3"
},
{
"name": "Evergreen - Kim Min-gi",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Evergreen.mp3"
},
{
"name": "Fog - Jung Hoon-hee",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Fog.mp3"
},
{
"name": "Please give me a water - Han Dae-soo",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/Please_give_me_a_water.mp3"
}
]
}
}
// Set up new music player
newMusicPlayer()
}
$("#game_start").click((event) => {
event.preventDefault();
$("#election_id_button").click((event) => {
musicMode()
setInterval(changeFontColour, 200)
})
})
HistHexcolour=["#835b39","#dc352a","#350887","#88c8c8"];
HistName=[" Park Chung-hee"," Kim Dae-jung"," Jin Bok-gi"," Other Candidates"];
HistEV=[0,0,0,0];
HistPV=["6,342,828","5,395,900","122,914","61,576"];
HistPVP=["53.2%","45.3%","1.0%","0.5%"];
$("#game_window")[0].style.backgroundImage = "url(https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/1971%20Korea/71bgimg.png)"
campaignTrail_temp.modBoxTheme = {
"header_color": "#000000",
"header_text_color": "#dc352a",
"description_text_color": "#000000",
"description_background_color": "#969696",
"main_color": "#282828",
"secondary_color": "#dc352a",
"ui_text_color": "#FFFFFF"
}