• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(84988)

Colonel
3 Badges
Oct 3, 2007
923
0
  • Hearts of Iron Anthology
  • Europa Universalis III
  • For The Glory
Every time I do this event file, I get an error. This version here dosn't have the changes I made to it, but it's mostly the ones with the trigger conditions. I changed them to have the trigger = { stuff in it, but generally, can somebody just debug this for me and fix it so it'll all work? There are apparently errors all over it...

The one thing I noticed is it only gives the first option in the event, I'm not sure if it's with every one but mostly the first one.

Code:
#
# Balkan War Events
#		by Morgan Brikiin
#

###############################################

###############################################
# First Event
###############################################
event = {
	id = 9900
	random = no
	country = YUG
	date = { day = 10 month = january year = 1936 }
	deathdate = { day = 12 month = january year = 1936 }

	name = "Brikarjik's Revolution"
	desc = "The governments of Yugoslavia and Bulgaria are now in exile.  The nation now rightfully belongs to the people!  Vladimir Brikarjik is now the first president of the new glorious nation!  There are more pressing issues though - we are surrounded to the north by the fascist powers of Austria, Italy, and Hungary.  The capital of Ljubljana would be in great peril in the event of an invasion from one of these nations.  We should move the capital to Belgrade...should we?"
	style = 0
	picture = constitutional

	action_a = {
		name = "Yes, move the capital to Belgrade"
		ai_chance = 80
		command = { type = capital which = 453 }
		command = { type = relation which = ITA value = -30 }
		command = { type = relation which = AUS value = -40 }
	action_b = {
		name = "No, Ljubljana is fine"
		ai_chance = 20
	}
}
###############################################
# Romanian Relations
###############################################
event = {
	id = 9901
	random = no
	country = ROM
	date = { day = 5 month = april year = 1936 }
	deathdate = { day = 10 month = june year = 1936 }

	name = "The Yugoslav Union"
	desc = "Our new neighbor, the Yugoslav Union, has gained stability after years of fighting Yugoslavia and Bulgaria.  Their president, Vladimir Brikarjik, has promised to defend our nation against the forces of Fascism.  We have not yet decided if we should formally recognize their government - should we?"
	style = 0
	picture = yugoslavunion

	action_a = {
		name = "Yes, let us persue good relations with the Yugoslav Union"
		ai_chance = 99
		command = { type = set_relation which = YUG value = 150 }
		command = { type = trigger which = 9902 }

	action_b = {
		name = "No"
		ai_chance = 1
		command = { type = set_relation which = YUG value = -60 }
	}
}

event = {
	id = 9902
	random = no
	country = YUG

	name = "Romania"
	desc = "Romania has formally recognized our right to own the South Slavic lands.  It would be in our best interests to persue diplomatic relations with them, wouldn't you agree?"
	style = 0
	picture = E_Poland_Sov

	action_a = {
		name = "Sure"
		ai_chance = 90
		command = { type = trigger which = 9903 }
		command = { type = relation which = ROM value = 50 }

	action_b = {
		name = "No, we don't need any vampires"
		ai_chance = 10
	}
}

event = {
	id = 9903
	random = no
	country = YUG

	name = "Romanian Relations"
	desc = "President Vladimir Brikarjik has travelled to Bucharest to meet with the Romanian president, to discuss further relations between the two nations.  Among some of the agreements, we have obtained a military alliance with them, and we have guaranteed eachother's independence.  Diplomatic relations may go on eventually, but for now the President is back in the capital."
	style = 0
	picture = yugoslav_romania

	action_a = {
		ai_chance = 100
		command = { type = alliance which = ROM }
		command = { type = guarantee which = YUG where = ROM }
		command = { type = guarantee which = ROM where = YUG }
	}
}
###############################################
# Italy
###############################################
event = {
	id = 9904
	random = no
	country = YUG

	name = "The Italian Agression"
	desc = "Italy has demanded the annexation of Albania - we will not tolerate this!  The Albanians have requested help in defense against the Italians, and many Albanians have already began emigrating to the Yugoslav Union.  Congress is considering taking control of Albania to defend them from the Italians, although this may be too urgent for congress to take it's time.  What should we do?"
	style = 0
	picture = Albania

	action_a = {
		name = "Integrate them into the Union"
		ai_chance = 78
		command = { type = inherit which = ALB }
		command = { type = relation which = ITA value = -50 }
		command = { type = war which = ITA }

	action_b = {
		name = "Declare War!  The Roman Empire will not return to rape the earth"
		ai_chance = 22
		command = { type = war which = ITA }
		command = { type = alliance which = ALB }
	}
}

event = {
	id = 9905
	random = no
	country = YUG
	war = { country = YUG country = ITA }
	AND
	control = { province = 378 data = YUG }
	control = { province = 371 data = YUG }
	control = { province = 370 data = YUG }
	OR
	control = { province = 524 data = YUG }
	control = { province = 523 data = YUG }
	OR
	control = { province = 517 data = YUG }
	control = { province = 520 data = YUG }
	control = { province = 518 data = YUG }
	OR
	control = { province = 534 data = YUG }
	control = { province = 525 data = YUG }
	control = { province = 526 data = YUG }

	name = "Yugoslav-Italian War"
	desc = "The forces of the Yugoslav Union are advancing quickly on the Italian Penninsula.  We have offered to meet them for discussion of a peace agreement.  What should we demand, if anything?"
	style = 0
	picture = italy_surrenders

	action_a = {
		name = "Demand the terretory of Libya and the independence of Ethiopia"
		ai_chance = 60
		command = { type = trigger which = 9906 }

	action_b = {
		name = "Demand their northern industrial provinces and a democratic government"
		ai_chance = 30
		command = { type = trigger which = 9907 }

	action_c = {
		name = "No negotiations!  Freedom for the Italian people!"
		ai_chance = 10
	}
}

event = {
	id = 9906
	random = no
	country = ITA

	name = The Yugoslav Demands"
	desc = "The Yugoslav Union demands our terretories in Libya and the independence of Ethiopia in return for peace.  Should we give in to their demands, or shall we keep on fighting those stupid Slavs?"
	style = 0
	picture = politics2

	action_a = {
		name = "Give in to the demands"
		ai_chance = 90
		command = { type = secedeprovince which = YUG value = 933 }
		command = { type = secedeprovince which = YUG value = 932 }
		command = { type = secedeprovince which = YUG value = 931 }
		command = { type = secedeprovince which = YUG value = 930 }
		command = { type = secedeprovince which = YUG value = 929 }
		command = { type = secedeprovince which = YUG value = 928 }
		command = { type = secedeprovince which = YUG value = 927 }
		command = { type = secedeprovince which = YUG value = 925 }
		command = { type = secedeprovince which = YUG value = 924 }
		command = { type = secedeprovince which = YUG value = 926 }
		command = { type = secedeprovince which = YUG value = 923 }
		command = { type = secedeprovince which = YUG value = 920 }
		command = { type = secedeprovince which = YUG value = 919 }
		command = { type = secedeprovince which = YUG value = 921 }
		command = { type = secedeprovince which = YUG value = 922 }
		command = { type = secedeprovince which = YUG value = 916 }
		command = { type = secedeprovince which = YUG value = 917 }
		command = { type = secedeprovince which = YUG value = 918 }
		command = { type = secedeprovince which = YUG value = 1015 }
		command = { type = secedeprovince which = YUG value = 1016 }
		command = { type = secedeprovince which = YUG value = 1017 }
		command = { type = secedeprovince which = YUG value = 1018 }
		command = { type = independence which = ETH value = 1 when = 1 }
		command = { type = peace which = YUG value = 0 }

	action_b = {
		name = "Never surrender!"
		ai_chance = 10
	}
}

event = {
	id = 9907
	random = no
	country = ITA

	name = "The Yugoslav Demands"
	desc = "The Yugoslav Union has demanded that we secede the provinces of Venice, Trento, Milan, Turin, and Genoa, and that the government steps down and allows free democratic elections, under the supervision of the Yugoslav Union.  Benito Mussolini will be able to step down peacefully, as apposed to being 'Brought before the oppressed people of Italy" as Vladimir Brikarjik put it.  How shall we respond to these demands?"
	style = 0
	picture = defence

	action_a = {
		name = "Give in - we're sure to lose against the YU and Romania"
		ai_chance = 80
		command = { type = secedeprovince which = YUG value = 378 }
		command = { type = secedeprovince which = YUG value = 371 }
		command = { type = secedeprovince which = YUG value = 370 }
		command = { type = secedeprovince which = YUG value = 368 }
		command = { type = make_puppet which = ITA }
		command = { peace which = YUG value = 0 }

	action_b = {
		name = "Tell President Brikarjik to go fuck a lasagne"
		ai_chance = 20
	}
}
###############################################
# Flavor
###############################################
event = {
	id = 9908
	random = no
	country = YUG
	ispuppet = ITA

	name = "Albania"
	desc = "Now that Italy has been defeated, a pressing issue before Congress is if we should give Albania it's independence back.  It's up to you in the end - shall we liberate Albania, or should we just keep their provinces for the greater good of Democracy and Pluralism?"
	style = 0
	picture = alb

	action_a = {
		name = "Give them their country back"
		ai_chance = 90
		command = { type = independence which = ALB value = 1 when = 1

	action_b = {
		name = "Yeah yeah democracy pluralism yeah..."
		ai_chance = 10
	}
}

event = {
	id = 9909
	random = no
	country = YUG
	date = { day = 24 month = december year = 1937 }
	deathdate = { day = 10 month = march year = 1938 }

	name = "Women's Suffrage"
	desc = "There are movements for women's rights in the Union.  Vladimir Brikarjik himself is very focussed on this, seeing it in the sense that a true democracy must have equal rights for men and women.  Most of the conservatives in congress oppose this idea, mostly due to the idea that women in congress would hypothetically be more liberal."
	style = 0
	picture = women_labour

	action_a = {
		name = "Give them the right to vote and other basic civil rights!"
		ai_chance = 80

	action_b = {
		name = "Only give them the right to vote"
		ai_chance = 10
		command = { type = belligerence which = YUG value = 2 }

	action_c = {
		name = "No, I'm a man dammit!"
		command = { type = belligerence which = YUG value = 5 }
	}
}

event = {
	id = 9910
	random = no
	country = YUG
	date = { day = 5 month = february year = 1940 }
	deathdate = { day = 10 month = february year = 1940 }

	name = "Election '40"
	desc = "It is now February, and Vladimir Brikarjik has announced that he will not run for re-election.  Several parties have come forward as popular in the polls.  The Communist party is lead by Krsto Žganec, and promises greater benifits for workers in the Yugoslav Union, while simultaneously avoiding the same mistake the Bolshaviks made, which caused the regime in the Soviet Union.  The Union Party, led by Brikarjik's niece, Sarajevo Brikarjik, promises to continue the current political adgenda of persuing good relations with our neighboors.  The Democratic party, led by Petar Zivic, also hopes to persue democracy in Europe, but with force in necessary."
	style = 0
	picture = election

	action_a = {
		name = "Go Communist"
		ai_chance = 40
		command = { type = headofstate = 10011 }
		command = { type = headofgovernment = 10017 }
		command = { type = foreignminister = 10023 }
		command = { type = armamentminister = 10029 }
		command = { type = ministerofsecurity = 10035 }
		command = { type = ministerofintelligence = 10041 }
		command = { type = chiefofstaff = 10047 }
		command = { type = chiefofarmy = 10052 }
		command = { type = chiefofnavy = 10060 }
		command = { type = chiefofair = 10066 }
		command = { type = domestic which = free_market value = 3 }

	action_b = {
		name = "Go Unionist"
		ai_chance = 40
		command = { type = headofstate = 10010 }
		command = { type = headofgovernment = 10016 }
		command = { type = foreignminister = 10022 }
		command = { type = armamentminister = 10028 }
		command = { type = ministerofsecurity = 10034 }
		command = { type = ministerofintelligence = 10040 }
		command = { type = chiefofstaff = 10046 }
		command = { type = chiefofarmy = 10052 }
		command = { type = chiefofnavy = 10058 }
		command = { type = chiefofair = 10064 }

	action_c = {
		name = "Go Democratic"
		ai_chance = 20
		command = { type = headofstate = 10012 }
		command = { type = headofgovernment = 10018 }
		command = { type = foreignminister = 10024 }
		command = { type = armamentminister = 10030 }
		command = { type = ministerofsecurity = 10036 }
		command = { type = ministerofintelligence = 10042 }
		command = { type = chiefofstaff = 10048 }
		command = { type = chiefofarmy = 10054 }
		command = { type = chiefofnavy = 10060 }
		command = { type = chiefofair = 10066 }

Thanks!
 

Kretoxian

Anon, we are legion
23 Badges
Oct 12, 2005
2.743
2
  • Iron Cross
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Europa Universalis III: Collection
  • 500k Club
  • Semper Fi
  • Majesty 2 Collection
  • Cities in Motion 2
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
I haven't look very closely the rest of the events, but the first one must have at least this:
Code:
action_b = {
		name = "No, Ljubljana is fine"
		ai_chance = 20
                [B]command = { }[/B]
	}

To work, also i don't know if you have done it purposely but the last event is not closed by brackets.

Merry christmas
 

unmerged(84988)

Colonel
3 Badges
Oct 3, 2007
923
0
  • Hearts of Iron Anthology
  • Europa Universalis III
  • For The Glory
Oh, I guessed that, I forgot to add brackets at the end but I'll fix it. Thank you! I didn't know it had to have the "command = { }" in it atleast.

Happy holidays to you too!
 

unmerged(84988)

Colonel
3 Badges
Oct 3, 2007
923
0
  • Hearts of Iron Anthology
  • Europa Universalis III
  • For The Glory
Ahhhh

wtf.jpg


Someone please help! It's so annoying when it dosn't say what's wrong and I have to just stare at it.

Code:
#
# Balkan War Events
#		by Morgan Brikiin
#

###############################################

###############################################
# First Event
###############################################
event = {
	id = 9900
	random = no
	country = YUG
	date = { day = 10 month = january year = 1936 }
	deathdate = { day = 12 month = january year = 1936 }

	name = "Brikarjik's Revolution"
	desc = "The governments of Yugoslavia and Bulgaria are now in exile.  The nation now rightfully belongs to the people!  Vladimir Brikarjik is now the first president of the new glorious nation!  There are more pressing issues though - we are surrounded to the north by the fascist powers of Austria, Italy, and Hungary.  The capital of Ljubljana would be in great peril in the event of an invasion from one of these nations.  We should move the capital to Belgrade...should we?"
	style = 0
	picture = constitutional

	action_a = {
		name = "Yes, move the capital to Belgrade"
		ai_chance = 80
		command = { type = capital which = 453 }
		command = { type = relation which = ITA value = -30 }
		command = { type = relation which = AUS value = -40 }
	}
	action_b = {
		name = "No, Ljubljana is fine"
		ai_chance = 20
		command = { }
	}
}
###############################################
# Romanian Relations
###############################################
event = {
	id = 9901
	random = no
	country = ROM
	date = { day = 5 month = march year = 1936 }
	deathdate = { day = 10 month = april year = 1936 }

	name = "The Yugoslav Union"
	desc = "Our new neighbor, the Yugoslav Union, has gained stability after years of fighting Yugoslavia and Bulgaria.  Their president, Vladimir Brikarjik, has promised to defend our nation against the forces of Fascism.  We have not yet decided if we should formally recognize their government - should we?"
	style = 0
	picture = yugoslavunion

	action_a = {
		name = "Yes, let us persue good relations with the Yugoslav Union"
		ai_chance = 99
		command = { type = set_relation which = YUG value = 150 }
		command = { type = trigger which = 9902 }
	}
	action_b = {
		name = "No"
		ai_chance = 1
		command = { type = set_relation which = YUG value = -60 }
	}
}

event = {
	id = 9902
	random = no
	country = YUG

	name = "Romania"
	desc = "Romania has formally recognized our right to own the South Slavic lands.  It would be in our best interests to persue diplomatic relations with them, wouldn't you agree?"
	style = 0
	picture = E_Poland_Sov
	
	action_a = {
		name = "Sure"
		ai_chance = 90
		command = { type = trigger which = 9903 }
		command = { type = relation which = ROM value = 50 }
	}
	action_b = {
		name = "No, we don't need any vampires"
		ai_chance = 10
		command = { }
	}
}

event = {
	id = 9903
	random = no
	country = YUG

	name = "Romanian Relations"
	desc = "President Vladimir Brikarjik has travelled to Bucharest to meet with the Romanian president, to discuss further relations between the two nations.  Among some of the agreements, we have obtained a military alliance with them, and we have guaranteed eachother's independence.  Diplomatic relations may go on eventually, but for now the President is back in the capital."
	style = 0
	picture = yugoslav_romania

	action_a = {
		name "Wonderful!"
		ai_chance = 100
		command = { type = alliance which = ROM }
		command = { type = guarantee which = YUG where = ROM }
		command = { type = guarantee which = ROM where = YUG }
	}
}
###############################################
# Italy
###############################################
event = {
	id = 9904
	random = no
	country = YUG

	name = "The Italian Agression"
	desc = "Italy has demanded the annexation of Albania - we will not tolerate this!  The Albanians have requested help in defense against the Italians, and many Albanians have already began emigrating to the Yugoslav Union.  Congress is considering taking control of Albania to defend them from the Italians, although this may be too urgent for congress to take it's time.  What should we do?"
	style = 0
	picture = Albania

	action_a = {
		name = "Integrate them into the Union"
		ai_chance = 78
		command = { type = inherit which = ALB }
		command = { type = relation which = ITA value = -50 }
		command = { type = war which = ITA }
	}
	action_b = {
		name = "Declare War!  The Roman Empire will not return to rape the earth"
		ai_chance = 22
		command = { type = war which = ITA }
		command = { type = alliance which = ALB }
	}
}

event = {
	id = 9905
	random = no
	country = YUG
	trigger = {
		AND = {
		war = { country = YUG country = ITA }
		AND = {
			control = { province = 378 data = YUG }
			control = { province = 371 data = YUG }
			control = { province = 370 data = YUG }
		OR = {
			control = { province = 524 data = YUG }
			control = { province = 523 data = YUG }
		OR = {
			control = { province = 517 data = YUG }
			control = { province = 520 data = YUG }
			control = { province = 518 data = YUG }
		OR = {
			control = { province = 534 data = YUG }
			control = { province = 525 data = YUG }
			control = { province = 526 data = YUG }
		}
	}
	
	name = "Yugoslav Italian War"
	desc = "The forces of the Yugoslav Union are advancing quickly on the Italian Penninsula.  We have offered to meet them for discussion of a peace agreement.  What should we demand, if anything?"
	style = 0
	picture = italy_surrenders

	action_a = {
		name = "Demand the terretory of Libya and the independence of Ethiopia"
		ai_chance = 60
		command = { type = trigger which = 9906 }
	}
	action_b = {
		name = "Demand their northern industrial provinces and a democratic government"
		ai_chance = 30
		command = { type = trigger which = 9907 }
	}
	action_c = {
		name = "No negotiations!  Freedom for the Italian people!"
		ai_chance = 10
		command = { }
	}
}

event = {
	id = 9906
	random = no
	country = ITA

	name = The Yugoslav Demands"
	desc = "The Yugoslav Union demands our terretories in Libya and the independence of Ethiopia in return for peace.  Should we give in to their demands, or shall we keep on fighting those stupid Slavs?"
	style = 0
	picture = politics2

	action_a = {
		name = "Give in to the demands"
		ai_chance = 90
		command = { type = secedeprovince which = YUG value = 933 }
		command = { type = secedeprovince which = YUG value = 932 }
		command = { type = secedeprovince which = YUG value = 931 }
		command = { type = secedeprovince which = YUG value = 930 }
		command = { type = secedeprovince which = YUG value = 929 }
		command = { type = secedeprovince which = YUG value = 928 }
		command = { type = secedeprovince which = YUG value = 927 }
		command = { type = secedeprovince which = YUG value = 925 }
		command = { type = secedeprovince which = YUG value = 924 }
		command = { type = secedeprovince which = YUG value = 926 }
		command = { type = secedeprovince which = YUG value = 923 }
		command = { type = secedeprovince which = YUG value = 920 }
		command = { type = secedeprovince which = YUG value = 919 }
		command = { type = secedeprovince which = YUG value = 921 }
		command = { type = secedeprovince which = YUG value = 922 }
		command = { type = secedeprovince which = YUG value = 916 }
		command = { type = secedeprovince which = YUG value = 917 }
		command = { type = secedeprovince which = YUG value = 918 }
		command = { type = secedeprovince which = YUG value = 1015 }
		command = { type = secedeprovince which = YUG value = 1016 }
		command = { type = secedeprovince which = YUG value = 1017 }
		command = { type = secedeprovince which = YUG value = 1018 }
		command = { type = independence which = ETH value = 1 when = 1 }
		command = { type = peace which = YUG value = 0 }
		command = { type = secedeprovince which = YUG value = 1033 }
		command = { type = secedeprovince which = YUG value = 1039 }
		command = { type = secedeprovince which = YUG value = 1038 }
		command = { type = secedeprovince which = YUG value = 1055 }
		command = { type = secedeprovince which = YUG value = 1058 }
		command = { type = secedeprovince which = YUG value = 1056 }
		command = { type = secedeprovince which = YUG value = 1034 }
		command = { type = trigger which = 9916 }
	}
	action_b = {
		name = "Never surrender!"
		ai_chance = 10
		command = { }
	}
}

event = {
	id = 9907
	random = no
	country = ITA

	name = "The Yugoslav Demands"
	desc = "The Yugoslav Union has demanded that we secede the provinces of Venice, Trento, Milan, Turin, and Genoa, and that the government steps down and allows free democratic elections, under the supervision of the Yugoslav Union.  Benito Mussolini will be able to step down peacefully, as apposed to being 'Brought before the oppressed people of Italy" as Vladimir Brikarjik put it.  How shall we respond to these demands?"
	style = 0
	picture = defence

	action_a = {
		name = "Give in - we're sure to lose against the YU and Romania"
		ai_chance = 80
		command = { type = secedeprovince which = YUG value = 378 }
		command = { type = secedeprovince which = YUG value = 371 }
		command = { type = secedeprovince which = YUG value = 370 }
		command = { type = secedeprovince which = YUG value = 368 }
		command = { type = make_puppet which = ITA }
		command = { peace which = YUG value = 0 }
	}
	action_b = {
		name = "Tell President Brikarjik to go fuck a lasagne"
		ai_chance = 20
		command = { }
	}
}
###############################################
# Flavor
###############################################
event = {
	id = 9908
	random = no
	country = YUG
	trigger = {
	AND = {
		atwar = no
	AND = {
		owned = { province = 390 data = YUG }
		owned = { province = 391 data = YUG }
		}
	}
	
	name = "Albania"
	desc = "Now that Italy has been defeated, a pressing issue before Congress is if we should give Albania it's independence back.  It's up to you in the end - shall we liberate Albania, or should we just keep their provinces for the greater good of Democracy and Pluralism?"
	style = 0
	picture = alb

	action_a = {
		name = "Give them their country back"
		ai_chance = 90
		command = { type = independence which = ALB value = 1 when = 1
	}
	action_b = {
		name = "Yeah yeah democracy pluralism yeah..."
		ai_chance = 10
		command = { type = dissent value = 2 }
	}
}

event = {
	id = 9909
	random = no
	country = YUG
	date = { day = 24 month = december year = 1937 }
	deathdate = { day = 10 month = march year = 1938 }

	name = "Women's Suffrage"
	desc = "There are movements for women's rights in the Union.  Vladimir Brikarjik himself is very focussed on this, seeing it in the sense that a true democracy must have equal rights for men and women.  Most of the conservatives in congress oppose this idea, mostly due to the idea that women in congress would hypothetically be more liberal."
	style = 0
	picture = women_labour

	action_a = {
		name = "Give them the right to vote and other basic civil rights!"
		ai_chance = 80
	}
	action_b = {
		name = "Only give them the right to vote"
		ai_chance = 10
		command = { type = belligerence which = YUG value = 2 }
	}
	action_c = {
		name = "No, I'm a man dammit!"
		ai_chance = 10
		command = { type = belligerence which = YUG value = 5 }
	}
}

event = {
	id = 9910
	random = no
	country = YUG
	date = { day = 5 month = february year = 1940 }
	deathdate = { day = 10 month = february year = 1940 }

	name = "Election '40"
	desc = "It is now February, and Vladimir Brikarjik has announced that he will not run for re-election.  Several parties have come forward as popular in the polls.  The Communist party is lead by Krsto Žganec, and promises greater benifits for workers in the Yugoslav Union, while simultaneously avoiding the same mistake the Bolshaviks made, which caused the regime in the Soviet Union.  The Union Party, led by Brikarjik's niece, Sarajevo Brikarjik, promises to continue the current political adgenda of persuing good relations with our neighboors.  The Democratic party, led by Petar Zivic, also hopes to persue democracy in Europe, but with force in necessary."
	style = 0
	picture = election

	action_a = {
		name = "Go Communist"
		ai_chance = 40
		command = { type = headofstate = 10011 }
		command = { type = headofgovernment = 10017 }
		command = { type = foreignminister = 10023 }
		command = { type = armamentminister = 10029 }
		command = { type = ministerofsecurity = 10035 }
		command = { type = ministerofintelligence = 10041 }
		command = { type = chiefofstaff = 10047 }
		command = { type = chiefofarmy = 10052 }
		command = { type = chiefofnavy = 10060 }
		command = { type = chiefofair = 10066 }
		command = { type = domestic which = free_market value = 3 }
	}
	action_b = {
		name = "Go Unionist"
		ai_chance = 40
		command = { type = headofstate = 10010 }
		command = { type = headofgovernment = 10016 }
		command = { type = foreignminister = 10022 }
		command = { type = armamentminister = 10028 }
		command = { type = ministerofsecurity = 10034 }
		command = { type = ministerofintelligence = 10040 }
		command = { type = chiefofstaff = 10046 }
		command = { type = chiefofarmy = 10052 }
		command = { type = chiefofnavy = 10058 }
		command = { type = chiefofair = 10064 }
	}
	action_c = {
		name = "Go Democratic"
		ai_chance = 20
		command = { type = headofstate = 10012 }
		command = { type = headofgovernment = 10018 }
		command = { type = foreignminister = 10024 }
		command = { type = armamentminister = 10030 }
		command = { type = ministerofsecurity = 10036 }
		command = { type = ministerofintelligence = 10042 }
		command = { type = chiefofstaff = 10048 }
		command = { type = chiefofarmy = 10054 }
		command = { type = chiefofnavy = 10060 }
		command = { type = chiefofair = 10066 }
	}
}
###############################################
# Yugoslav Highway
###############################################
event = {
	id = 9909
	random = no
	country = YUG
	date = { day = 10 month = february year = 1936 }
	deathdate = { day = 3 month = march year = 1936 }

	name = "Belgrade-Sofia Highway"
	desc = "Belgrade and Sofia lack an efficient link.  Developers in the two cities have proposed a road similar to that of the German Autobahn, which will lead to the construction of similar roads all over the Yugoslav Union.  The downside is that we are still in the process of recovering economically from the Civil War."
	style = 0
	picture = lincolntunnel

	action_a = {
		name = "You forgot to mention the good sides..."
		ai_chance = 70
		command = { type = supplies value = -1 where = 418 }
		command = { type = manpower value = -10 }
		command = { type = trigger which = 9910 }
	}
	action_b = {
		name = "We need to recover economically first"
		ai_chance = 30
		command = { type = dissent value = 1 }
	}
}

event = {
	id = 9910
	random = no
	country = YUG
	date = { day = 4 month = december year = 1936 }
	deathdate = { day = 7 month = january year = 1937 }
	trigger = {
		AND = {
		owned = { province = 453 data = YUG }
		owned = { province = 418 data = YUG }
		owned = { province = 417 data = YUG }
		}
	}
	
	name = "Highway Complete"
	desc = "The Belgrade-Sofia highway is now complete, and transportation of goods and people is now easier between the two cities, and the area in between them.  The feasability of building a highway system throught the Union is being considered, and besides the obvious domestic pros, a highway system will allow better defense in the case of war with the fascists surrounding us."
	style = 0
	picture = lincolntunnel

	action_a = {
		name = "Excellent!"
		ai_chance = 100
		command = { type = resource which = supplies value = 1 }
		command = { type = resource which = money value = 1 }
		command = { type = resource which = energypool value = 1 }
		command = { type = trigger which = 9911 }
	}
}

event = {
	id = 9911
	random = no
	country = YUG
	date = { day = 2 month = february year = 1937 }
	deathdate = { day = 20 month = february year = 1937 }

	name = "Highway Expansion"
	desc = "Before Congress is another bill proposing the expansion of the highway.  The proposed expansion would link Belgrade with Ljubljana via two highways, one which goes through Uzice, Mostar, Split, and Rijeka.  The other highway will go through Sarajevo, Zenica, Banja Luka, and Zagreb.  The former will be necessary in the threat of future Italian agression, but it may piss them off."
	style = 0
	picture = lincolntunnel

	action_a = {
		name = "Build It"
		ai_chance = 90
		command = { type = supplies value = -1 where = 452 }
		command = { type = supplies value = -1 where = 380 }
		command = { type = rarematerialspool value = -1 where = 384 }
		command = { type = manpower value = -20 }
		command = { type = trigger which = 9912 }
		command = { type = relation which = ITA value = -80 }
	}
	action_b = {
		name = "Don't build it"
		ai_chance = 10
		command = { }
	}
}

event = {
	id = 9912
	random = no
	country = YUG
	trigger = {
		AND = {
		alliance = { country = YUG country = ROM }
		}
	}
	
	name = "Yugoslav-Romanian Highway"
	desc = "Congress is considering asking the Romanians if they would be interested in the construction of a highway between the two nations.  The proposed highway would link Sofia and Bucharest, and then the Romanians will build their own highway, and after that, we'll make more highway links, which will benifit the alliance between us."
	style = 0
	picture = yugoslav_romania

	action_a = {
		name = "Go for it"
		ai_chance = 98
		command = { type = trigger which = 9913 }
		command = { type = resource which = money value = -1 }
		command = { type = resource which = supplies value = -.5
	}
	action_b = {
		name = "Nah..."
		ai_chance = 2
		command = { }
	}
}

event = {
	id = 9913
	random = no
	country = ROM

	name = "Yugoslav-Romanian Highway"
	desc = "The Yugoslav Union is asking if we'd be interested in a diplomatic agreement, allowing the connection of the two countries via their new highway system.  The new highway will connect the cities of Sofia and Bucharest, allowing easier trade and transport between the two nations."
	style = 0
	picture = yugoslav_romania

	action_a = {
		name = "Go for it"
		ai_chance = 99
		command = { type = resource which = money value = -1 }
		command = { type = resource which = supplies value = -.5 }
		command = { type = trigger which = 9914 }
		command = { type = trigger which = 9915 }
	}
	action_b = {
		name = "I'd rather not"
		ai_chance = 1
		command = { }
	}
}

event = {
	id = 9914
	random = no
	country = ROM
	date = { day = 1 month = july year = 1937 }
	deathdate = { day = 6 month = august year = 1937 }

	name = "Yugoslav-Romanian Highway Complete!"
	desc = "The Yugoslav-Romanian Highway, connecting Sofia and Bucharest, is now complete!"
	style = 0
	picture = yugoslav_romania

	action_a = {
		name = "Sweet"
		ai_chance = 100
		command = { type = resource which = money value = 2 }
		command = { type = resource which = supplies value = 1.5 }
	}
}

event = {
	id = 9915
	random = no
	country = YUG
	date = { day = 1 month = july year = 1937 }
	deathdate = { day = 6 month = august year = 1937 }

	name = "Yugoslav-Romanian Highway Complete!"
	desc = "The Yugoslav-Romanian Highway, connecting Sofia and Bucharest, is now complete!"
	style = 0
	picture = yugoslav_romania

	action_a = {
		name = "Sweet"
		ai_chance = 100
		command = { type = resource which = money value = 2 }
		command = { type = resource which = supplies value = 1.5 }
	}
}
###############################################
# Libya and Ethiopia
###############################################
event = {
	id = 9916
	random = no
	country = YUG

	name = "Libya"
	desc = "It has come to the attention of Congress and many others that it is undemocratic to hold colonies.  It is being proposed that we give the Libyans self-rule, with a democratic government under the supervision of the Yugoslav Union.  The issue with the colonies around Ethiopia will be addressed later."
	style = 0
	picture = handshake

	action_a = {
		name = "Give them their independence!"
		ai_chance = 99
		command = { type = independence which = LBY value = 0 when = 1 }
		command = { type = trigger which = 9917 }
	}
	action_b = {
		name = "Nah..."
		ai_chance = 1
		command = { }
	}
}

event = {
	id = 9917
	random = no
	country = YUG

	name = "Ethiopia"
	desc = "Congress has been considering the possibility of giving Ethiopia the provinces we own around the country.  A major alternative is establishing the nation of Somalia in that area, while giving the three northernmost provinces to Ethiopia.  Or should we just keep those provinces?  Either way, adding sovereign African nations to the world is a good thing we are doing."
	style = 0
	picture = handshake

	action_a = {
		name = "Liberate Somalia and all that other stuff"
		ai_chance = 60
		command = { type = independence which = SOM value = 1 when = 1 }
		command = { type = secedeprovince which = ETH value = 1033 }
		command = { type = secedeprovince which = ETH value = 1039 }
		command = { type = secedeprovince which = ETH value = 1038 }
	}
	action_b = {
		name = "Give the terretories to Ethiopia"
		ai_chance = 39
		command = { type = secedeprovince which = ETH value = 1033 }
		command = { type = secedeprovince which = ETH value = 1039 }
		command = { type = secedeprovince which = ETH value = 1038 }
		command = { type = secedeprovince which = ETH value = 1034 }
		command = { type = secedeprovince which = ETH value = 1055 }
		command = { type = secedeprovince which = ETH value = 1056 }
		command = { type = secedeprovince which = ETH value = 1058 }
	}
	action_c = {
		name = "Keep the terretories"
		ai_chance = 1
		command = { }
	}
}
###############################################
# Belgrade Conference
###############################################
event = {
	id = 9918
	random = no
	country = YUG
	trigger = {
		AND {
		war = { country = GER country = POL }
		}
	}
	
	name = "German Agression"
	desc = "Germany and it's fascist government is proceeding to terrorize the free people of Europe, and they must be stopped.  We have a border with Germany, since the annexation of Austria by them.  We must do more than defend ourselves - we must defend freedom and democracy in Europe, namely the Balkans.  Deligates from Greece, Turkey, the Yugoslav Union, Albania, and Romania will be meeting in Belgrade to discuss the issues."
	style = 0
	picture = SS_power

	action_a = {
		name = "Perfect!"
		ai_chance = 100
		command = { type = trigger which = 9919 }
		command = { type = trigger which = 9920 }
		command = { type = relation which = GRE value = 20 }
		command = { type = relation which = TUR value = 20 }
	}
}

event = {
	id = 9919
	random = no
	country = YUG

	name = "Belgrade Pact"
	desc = "The Belgrade Conference is meeting to discuss issues relating to the state of the Balkans, and the world.  The first order of business is to discuss a united defense against attack from Germany.  The deligate from Greece has supported the idea of an alliance between the nations.  Also, "
	style = 0
	picture = belgrade

	action_a = {
		name = "Agreed"
		ai_chance = 90
		command = { type = alliance which = GRE }
		command = { type = alliance which = TUR }
		command = { type = trigger which = 9920 }
	}
	action_b = {
		name = "No"
		ai_chance = 10
		command = { type = trigger which = 9920 }
	}
}