Heyo-dalee. It'sa my, Jar Jar Binks. Tank yous per playin' anutter mod made by FlongydOlson.
Dis was a completely new attempt per mesa, whosa created duey South Korean mods of da 1963 un 1971 elections. My've alritty tried ta deal witda US election inda grotesque creepypasta mod culled 1968c, buta Mesa wanted ta create a mod dat yousa can actually enjoy many times, notsa sum kind of visual Nobel format liken dat mod. At da same-o time, Mesa taut it would besa betto per mesa, notsa an American, ta start wit a light joke mod rather dan take history seriously, unda result dissen mod, 2000 Palpatine. I'd besa berry smilen iffen yousa enjoyed playin' dis mod.
Lastly, I'd liken ta tank da 2008 Spongebob team un Diamondy per deir hot inspiration per dis. See yousa later!
\", \"site_description\": \"Help me, the Campaign Trail players! Al Gore is taking over!\", \"has_visits\": 1, \"no_electoral_majority_image\": \"https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/deadlock.png\"}}]");
campaignTrail_temp.candidate_json = JSON.parse("[{\"model\": \"campaign_trail.candidate\", \"pk\": 77, \"fields\": {\"first_name\": \"Sheev\", \"last_name\": \"Palpatine\", \"election\": 9, \"party\": \"Republican\", \"state\": \"Naboo\", \"priority\": 1, \"description\": \"
STAR WARS - Fan Fiction
2000 Palpatine
Disaster strikes the galaxy! Sheev Palpatine, Chancellor of the Galactic Republic, suddenly disappeared one day while performing his duties in Coruscant. Everything falls into chaos, and the Republic is in a huge crisis.
Meanwhile, a small country called the United States, on a planet called Earth on the edge of a galaxy, holds huge elections for natives to elect their leaders.
While the Galactic Senate and the Jedi knights struggle to find Chancellor Palpatine, somehow he appears on this planet and challenges the election with one strong follower who serves him...
SINO - Sith in Name Only - is the most suitable nickname for calling Dooku or 'Darth Tyranus', the name given by me. I was forced to take this aged and insidious old Jedi, who is hard to understand, as an apprentice, but I have never trusted him. It's obvious that this old man is going to use me and the power of the dark side to accomplish his own, trivial plan.
But anyway, Tyranus, as my apprentice, has no choice but to obey my orders for now. He's quite good at both political and combat power, so he is probably the best running mate needed for an election here. Yes, choose him. Do it!
Darth Maul is my apprentice who had been raised as a Sith since childhood. I thought he died fighting a young Jedi Padawan, named Obi-wan Kenobi in Naboo. But somehow, Maul returned. It turned out he survived with the power of the dark side, and has lived in seclusion.
Maul is a very great warrior as he always was, and has a great quality to become a Sith lord, since he is skilled in all kinds of intrigues. However, after seeing him for a while since we met again, I found out that he is still blindly loyal to me, but he seems to be a little...distraught due to his revenge on Kenobi. Maul will certainly be an interesting choice, for better or worse.
A strong warrior of the Kaleesh, Qymaen jai Sheelal was badly injured in the accident, and replaced most of his body with machines, becoming a cyborg. This is how General Grievous was born. Grievous was trained in combat by Darth Tyranus, and I and Tyranus planned to use him as the commander of the Droid Army in the coming war.
Grievous knows very little about politics and is not even Force-sensitive, but he is strong, cautious, and will be unlikely to make noticeable mistakes. Furthermore, he brought a legion of droids here, maybe they could be a big help to my campaign. Time to terminate the Democrats, general.
Wait, what happened? WHY ON NABOO IS THIS TALKATIVE, ANNOYING, DISGUSTING GUNGAN IN THE RUNNING MATE SELECTION WINDOW? Just looking at the horrible face of Representative Jar Jar Binks hurts my eyes, and he is the worst idiot in the galaxy who only does things that I can't bear to see. Jar Jar's strength is that...he knows how to talk. The downside is everything else. This living disaster would make me a complete joke candidate! No matter how much I think about it, I don't see any chance of winning with Jar Jar, what should I do...
'Whata??? Chancellor, yousa spaking abouten my now? Iffen yousa do notsa wanten ta campaign wit mesa, My've no choice buta ta tell yousa anutter runnin' mate. Let my introduce, Ro-'
No, no, no! Representative Binks, I'll just go with you. So please stop the bullshit. Do you understand?
Look outside. There's a beautiful blend of untouched natural environments and wonderfully developed buildings, even though they're far short of Coruscant. It's gorgeous, but on the other hand, it's a shame. What a waste to leave a planet like this as the territory of poor natives who don't even sense the Force, what a miserable tragedy.
I love democracy. I love the Republic. I've already joined a faction of natives called the Republican Party, which uses the red color of the proud Sith as a symbol, and have been nominated to run for leadership here. I will defeat those ridiculous and insignificant natives...and be elected overwhelmingly. And this...will be the base for our Sith...to take control of the entire galaxy!
"
document.getElementById("candidate_summary").children[1].innerHTML = text
}
opcrawl = function() {
text = "
STAR WARS - Fan Fiction
2000 Palpatine
Disaster strikes the galaxy! Sheev Palpatine, Chancellor of the Galactic Republic, suddenly disappeared one day while performing his duties in Coruscant. Everything falls into chaos, and the Republic is in a huge crisis.
Meanwhile, a small country called the United States, on a planet called Earth on the edge of a galaxy, holds huge elections for natives to elect their leaders.
While the Galactic Senate and the Jedi knights struggle to find Chancellor Palpatine, somehow he appears on this planet and challenges the election with one strong follower who serves him...
"
document.getElementById("candidate_summary").children[1].innerHTML = text
}
RecReading=true
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 = "#B50945";
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 = "#000000";
$("#game_window")[0].style.borderColor = "#F9CA02"
document.getElementById("header").src = "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/2000pbanner.png"
document.body.background = "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/2000pback.png";
$("#game_window")[0].style.backgroundImage = "url(https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/2000pbgimg.png)"
$(".footer a").css({"color":"#FFFFFF"});
nct_stuff.themes[nct_stuff.selectedTheme].text_col = "#FDDF27"
let style = document.createElement('style');
style.type = 'text/css';
style.id = 'dynamic-style';
style.innerHTML = `
.campaign_trail_start_emphasis {
background-color: #F9CA02;
}
a:-webkit-any-link {
color: #000000;
}
`;
document.head.appendChild(style);
quotes = ["Everything is proceeding as I have foreseen.", "You have paid the price for your lack of vision.", "I love democracy. I love the Republic.", "Do it!", "I am the Senate!", "It's treason, then.", "Power!!! Unlimited... POWER!!!!!!"]
customquote = quotes[Math.floor((Math.random() * quotes.length))]
corrr=`\n
2000 PALPATINE
`+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:#000000;
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": "Star Wars Theme/Cantina Band - Meco",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Star_Wars_Theme_Cantina_Band.mp3"
}
]
},
1: {
name: "Emperor",
tracklist: [
{
"name": "Jedi Rocks - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Jedi_Rocks.mp3"
},
{
"name": "Lapti Nek - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Lapti_Nek.mp3"
},
{
"name": "Emperor's Throne Room - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Emperors_Throne_Room.mp3"
},
{
"name": "Cantina Band #2 - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Cantina_Band_2.mp3"
},
{
"name": "The Battle Of Endor III - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/The_Battle_Of_Endor_III.mp3"
},
{
"name": "Victory Celebration/End Title - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Victory_Celebration_End_Title.mp3"
}
]
},
2: {
name: "Chancellor",
tracklist: [
{
"name": "Duel of the Fates - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Duel_of_the_Fates.mp3"
},
{
"name": "Jango's Escape - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Jangos_Escape.mp3"
},
{
"name": "General Grievous - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/General_Grievous.mp3"
},
{
"name": "Palpatine's Teaching - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Palpatines_Teaching.mp3"
},
{
"name": "Enter Lord Vader - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Enter_Lord_Vader.mp3"
},
{
"name": "Battle of the Heroes - John Williams",
"url": "https://raw.githubusercontent.com/FlongydOlson/OlsonMods/main/2000%20Palpatine/Battle_of_the_Heroes.mp3"
}
]
}
}
// Set up new music player
newMusicPlayer()
}
$("#game_start").click((event) => {
event.preventDefault();
$("#election_id_button").click((event) => {
musicMode()
setInterval(changeFontColour, 200)
})
})
HistHexcolour=["#B82859","#4DC8E6","#45A457","#F9DC38"];
HistName=[" Sheev Palpatine"," Al Gore"," Ralph Nader"," George Lucas"];
HistEV=[290,248,0,0];
HistPV=["50,713,240","49,721,272","3,880,910","1,089,678"];
HistPVP=["48.1%","47.2%","3.7%","1.0%"];
campaignTrail_temp.modBoxTheme = {
"header_color" : "#000000",
"header_text_color" : "#FFE701",
"description_text_color" : "#4DC8E6",
"description_background_color" : "#000000",
"main_color" : "#000000",
"secondary_color" : "#B82859",
"ui_text_color": "#FFFFFF"
}