A last minute contribution since I didn't see anything in the files, forgive me if there is and I just missed it;
Code:
event = {
id = ???
random = no
country = USA
picture = "news_paper"
trigger = {
government = communist
NOT = {local_flag = ??? } ##prevents a double election
}
offset = 2
name = "ELECTION_TITLE"
desc = ""
date = { day = 3 month = november year = 1936 }
action_a = {
ai_chance = 60
name = "Norman Thomas (SPA)"
command = { type = dissent value = -3 }
command = { type = set_domestic which = democratic value = 6 }
command = { type = set_domestic which = political_left value = 8 }
command = { type = headofstate which = 240021 } #Norman Thomas
command = { type = headofgovernment which = George A. Nelson } #George A. Nelson
command = { type = foreignminister which = ??? }
command = { type = armamentminister which = ??? }
command = { type = ministerofsecurity which = ??? }
command = { type = ministerofintelligence which = ??? }
}
action_b = {
ai_chance = 40
name = "Earl Browder (CPUSA)"
command = { type = dissent value = -3 }
command = { type = set_domestic which = democratic value = 1 }
command = { type = set_domestic which = political_left value = 10 }
command = { type = headofstate which = 240020 } #Browder
command = { type = headofgovernment which = 240392 } #James Ford
command = { type = foreignminister which = ??? }
command = { type = armamentminister which = ??? }
command = { type = ministerofsecurity which = ??? }
command = { type = ministerofintelligence which = ??? }
}
}
event = {
id = ???
random = no
country = USA
picture = "news_paper"
trigger = {
government = communist
NOT = {local_flag = ??? } ##prevents a double election
}
offset = 2
name = "ELECTION_TITLE"
desc = ""
date = { day = 5 month = november year = 1940 }
action_a = {
ai_chance = 40
name = "Norman Thomas (SPA)"
command = { type = dissent value = -3 }
command = { type = set_domestic which = democratic value = 6 }
command = { type = set_domestic which = political_left value = 8 }
command = { type = headofstate which = 240021 } #Norman Thomas
command = { type = headofgovernment which = Maynard C. Krueger } #Maynard C. Krueger
command = { type = foreignminister which = ??? }
command = { type = armamentminister which = ??? }
command = { type = ministerofsecurity which = ??? }
command = { type = ministerofintelligence which = ??? }
}
action_b = {
ai_chance = 60
name = "Earl Browder (CPUSA)"
command = { type = dissent value = -3 }
command = { type = set_domestic which = democratic value = 1 }
command = { type = set_domestic which = political_left value = 10 }
command = { type = headofstate which = 240020 } #Browder
command = { type = headofgovernment which = 240392 } #James Ford
command = { type = foreignminister which = ??? }
command = { type = armamentminister which = ??? }
command = { type = ministerofsecurity which = ??? }
command = { type = ministerofintelligence which = ??? }
}
}
event = {
id = ???
random = no
country = USA
picture = "news_paper"
trigger = {
government = communist
NOT = {local_flag = ??? } ##prevents a double election
}
offset = 2
name = "ELECTION_TITLE"
desc = ""
date = { day = 7 month = november year = 1944 }
action_a = {
ai_chance = 40
name = "Norman Thomas (SPA)"
command = { type = dissent value = -3 }
command = { type = set_domestic which = democratic value = 6 }
command = { type = set_domestic which = political_left value = 8 }
command = { type = headofstate which = 240021 } #Norman Thomas
command = { type = headofgovernment which = Darlington Hoopes } #Darlington Hoopes
command = { type = foreignminister which = ??? }
command = { type = armamentminister which = ??? }
command = { type = ministerofsecurity which = ??? }
command = { type = ministerofintelligence which = ??? }
}
action_b = {
ai_chance = 60
name = "William Z. Foster (CPUSA)"
command = { type = dissent value = -3 }
command = { type = set_domestic which = democratic value = 1 }
command = { type = set_domestic which = political_left value = 10 }
command = { type = headofstate which = 240389 } #William Z. Foster
command = { type = headofgovernment which = 240392 } #James Ford
command = { type = foreignminister which = ??? }
command = { type = armamentminister which = ??? }
command = { type = ministerofsecurity which = ??? }
command = { type = ministerofintelligence which = ??? }
}
}
The Union party ran in 36, but I didn't include them. I'm honestly not sure why they are included in the communist alternative history elections for the USA given their stanch anti-socialist stance.