﻿
# Poland/Hungary centric events for factions and wars

add_namespace = central_powers

# Poland influences Balkan states (usually fascism)

country_event = {
	id = central_powers.1
	title = central_powers1title
	desc = {
		text = central_powers1desccommunism
		trigger = { FROM = { has_government = communism } }
	}
	desc = {
		text = central_powers1descdemocratic
		trigger = { FROM = { has_government = democratic } }
	}
	desc = {
		text = central_powers1descneutrality
		trigger = { FROM = { has_government = neutrality } }
	}
	desc = {
		text = central_powers1descfascism
		trigger = { FROM = { has_government = fascism } }
	}
	
	picture = GFX_report_event_communist_leader
	
    is_triggered_only = yes
	
	option = {
		name = central_powers1opt
		
		if = {
			limit = { FROM = { has_government = communism } }
			add_timed_idea = { idea = deluge_communism_influence_idea days = 720 }
		}
		
		if = {
			limit = { FROM = { has_government = democratic } }
			add_timed_idea = { idea = deluge_democratic_influence_idea days = 720 }
		}
		
		if = {
			limit = { FROM = { has_government = neutrality } }
			add_timed_idea = { idea = deluge_neutrality_influence_idea days = 720 }
		}
		
		if = {
			limit = { FROM = { has_government = fascism } }
			add_timed_idea = { idea = deluge_fascism_influence_idea days = 720 }
		}
		
	}
}

# Poland trying to befriend Croatia

country_event = {
	id = central_powers.2
	title = central_powers2title
	desc = central_powers2desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers2opta
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = POL }
		}

		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		POL = {
			add_to_faction = CRO
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.24 }
		}
		
		ai_chance = {
			factor = 5
			
			modifier = {
				factor = 2
				CRO = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				CRO = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				CRO = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				CRO = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
	
	option = {
		name = central_powers2optb
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}
		
		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 2
				CRO = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				CRO = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				CRO = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				CRO = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers2optc
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

# Poland trying to befriend Serbia

country_event = {
	id = central_powers.3
	title = central_powers3title
	desc = central_powers3desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers3opta
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = POL }
		}

		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		POL = {
			add_to_faction = SER
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.24 }
		}
		
		ai_chance = {
			factor = 5
			
			modifier = {
				factor = 2
				SER = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				SER = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				SER = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				SER = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
	
	option = {
		name = central_powers3optb
		
		trigger = {
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}

		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 2
				SER = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				SER = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				SER = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				SER = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers3optc
				
		ai_chance = {
			factor = 0
		}
	}
}

# Poland trying to befriend Austria

country_event = {
	id = central_powers.4
	title = central_powers4title
	desc = central_powers4desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers4opta
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = POL }
		}

		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		ITA = {
			if = {
				limit = {
					is_in_faction = no
				}
				country_event = { days = 1 id = central_powers.5 }
			}
		}
		
		POL = {
			add_to_faction = AUS
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.24 }
		}
		
		ai_chance = {
			factor = 5
			
			modifier = {
				factor = 2
				AUS = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
	
	option = {
		name = central_powers4optb
		
		trigger = {
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}

		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 2
				AUS = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers4optc
		
		trigger = { 
			is_in_faction = no
		}

		create_faction = "factionAustrianBloc"
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.27 }
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers4optd
		
		ai_chance = {
			factor = 0
		}
	}
}

# Italy tries to join France in response

country_event = {
	id = central_powers.5
	title = central_powers5title
	desc = central_powers5desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers5opta
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}

		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 2
			
			modifier = {
				factor = 2
				ITA = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
	
	option = {
		name = central_powers5optb
		
		trigger = {
			is_in_faction = no
		}
		
		if = {
			limit = {
				has_government = fascism
			}
			create_faction = "factionRomanBloc"
		}
		
		if = {
			limit = {
				NOT = { has_government = fascism }
			}
			create_faction = "factionItalianBloc"
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.28 }
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers5optc
		
		ai_chance = {
			factor = 1
		}
	}
}

# Poland trying to befriend Italy

country_event = {
	id = central_powers.6
	title = central_powers6title
	desc = central_powers6desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers6opta
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = POL }
		}

		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		POL = {
			add_to_faction = ITA
		}
		
		AUS = {
			if = {
				limit = {
					is_in_faction = no
				}
				country_event = { days = 1 id = central_powers.7 }
			}
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.24 }
		}
		
		ai_chance = {
			factor = 5
			
			modifier = {
				factor = 2
				ITA = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
	
	option = {
		name = central_powers6optb
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}

		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 2
				ITA = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				ITA = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers6optc
		
		trigger = {
			is_in_faction = no
		}

		if = {
			limit = {
				has_government = fascism
			}
			create_faction = "factionRomanBloc"
		}
		
		if = {
			limit = {
				NOT = { has_government = fascism }
			}
			create_faction = "factionItalianBloc"
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.28 }
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers6optd
				
		ai_chance = {
			factor = 0
		}
	}
}

# Austria tries to join France in response

country_event = {
	id = central_powers.7
	title = central_powers7title
	desc = central_powers7desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers7opta
		
		trigger = { 
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}

		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 2
			
			modifier = {
				factor = 2
				AUS = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				AUS = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
	
	option = {
		name = central_powers7optb
		
		trigger = { 
			is_in_faction = no
		}

		create_faction = "factionAustrianBloc"
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.27 }
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers7optc
				
		ai_chance = {
			factor = 1
		}
	}
}

# France will accept all applicants

country_event = {
	id = central_powers.8
	title = central_powers8title
	desc = central_powers8desc
	
	picture = GFX_report_event_pierre_laval
		
	is_triggered_only = yes
	
	option = {
		name = central_powers8opta
		
		add_to_faction = FROM
		
		FROM = {
			add_ai_strategy = {
				type = alliance
				id = "FRA"
				value = 9999
			}
			hidden_effect = {
				country_event = { days = 1 id = central_powers.25 }
			}
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers8optb
				
		ai_chance = {
			factor = 0
		}
	}
}

# Ultranationalist coup to keep monarchists in the Central Powers
# Player can choose to keep the monarchy but AI will always go Ultranationalist

country_event = {
	id = central_powers.9
	title = central_powers9title
	desc = central_powers9desc
	
	picture = GFX_report_event_german_troops
	
	trigger = {
		NOT = { has_government = fascism }
		is_subject = no
		is_in_faction_with = POL
		POL = {
			has_government = fascism
			is_faction_leader = yes
		}
		NOT = { has_country_flag = flag_central_powers_coup }
	}
	
	mean_time_to_happen = {
		months = 1
	}
	
	immediate = {
		set_country_flag = flag_central_powers_coup
	}
	
	option = {
		name = central_powers9opta
		
		add_popularity = {
			ideology = fascism
			popularity = 0.25
		}
		
		set_politics = {
			ruling_party = fascism
			elections_allowed = no
		}
		
		add_ideas = novote
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers9optb
		
		trigger = {
			has_government = neutrality
		}
		
		add_popularity = {
			ideology = fascism
			popularity = 0.05
		}

		add_timed_idea = { idea = deluge_neutrality_crackdown_idea days = 360 }
		
		ai_chance = {
			factor = 0
		}
	}
}

# Serbia is in the Polish faction and requests permission to attack Albania with Greek help

country_event = {
	id = central_powers.10
	title = central_powers10title
	desc = central_powers10desc
	
	picture = GFX_report_event_bunker_01
	
	fire_only_once = yes

	trigger = {
		TAG = SER
		OR = {
			has_country_flag = flag_central_powers_coup
			has_government = fascism
		}
		country_exists = ALB
		is_subject = no
		is_in_faction_with = POL
		NOT = { is_in_faction_with = ALB }
		NOT = { has_war_with = ALB }
		POL = {
			is_faction_leader = yes
			has_government = fascism
		}
		NOT = { 801 = { is_owned_by = ROOT } }
		NOT = { 105 = { is_owned_by = ROOT } }
		NOT = { 44 = { is_owned_by = ROOT } }
	}
	
	mean_time_to_happen = {
		months = 1
	}
	
	option = {
		name = central_powers10opta
		
		add_popularity = {
			ideology = fascism
			popularity = 0.05
		}
		
		POL = {
			country_event = central_powers.11
		}

		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers10optb
		
		add_named_threat = { threat = -3 name = deluge_neutrality_threat }
		
		ai_chance = {
			factor = 0
		}
	}
}

# AI Poland will accept

country_event = {
	id = central_powers.11
	title = central_powers11title
	desc = central_powers11desc
	
	picture = GFX_report_event_bunker_01
		
	is_triggered_only = yes
	
	option = {
		name = central_powers11opta
		
		trigger = {
			NOT = { has_war_with = GRE }
			GRE = {
				OR = {
					is_in_faction = no
					is_in_faction_with = POL
				}
			}
		}
		
		GRE = {
			country_event = central_powers.12
		}
		
		SER = {
			country_event = central_powers.13
		}
		
		ai_chance = {
			factor = 100
		}
	}
	
	option = {
		name = central_powers11optb
		
		SER = {
			country_event = central_powers.13
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = central_powers11optc
		
		add_named_threat = { threat = -3 name = deluge_neutrality_threat }
		
		SER = {
			country_event = central_powers.14
		}
		
		ai_chance = {
			factor = 0
		}
	}
}

# Greece is asked if they want to join the attack

country_event = {
	id = central_powers.12
	title = central_powers12title
	desc = central_powers12desc
	
	picture = GFX_report_event_bunker_01
		
	is_triggered_only = yes
	
	option = {
		name = central_powers12opta
		
		add_popularity = {
			ideology = fascism
			popularity = 0.2
		}
		
		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		POL = {
			add_to_faction = GRE
		}
		
		add_state_claim = 44
		
		create_wargoal = {
			type = take_state_focus
			target = ALB
			generator = { 185 }
		}
		
		hidden_effect = {
			news_event = { days = 1 id = central_powers.24 }
		}
		
		ai_chance = {
			factor = 10
			
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			
			modifier = {
				factor = 2
				GRE = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers12optb
		
		add_named_threat = { threat = -3 name = deluge_neutrality_threat }
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 10
				has_war = yes
			}
			modifier = {
				factor = 10
				GRE = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = communism
				}
				ALB = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = democratic
				}
				ALB = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = neutrality
				}
				ALB = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				GRE = {
					has_government = fascism
				}
				ALB = {
					has_government = fascism
				}
			}
		}
	}
}

# Serbia is granted permission and gets a wargoal against Albania

country_event = {
	id = central_powers.13
	title = central_powers13title
	desc = central_powers13desc
	
	picture = GFX_report_event_bunker_01
		
	is_triggered_only = yes
	
	option = {
		name = central_powers13opt
		
		news_event = { days = 1 id = central_powers.15 }
		
		add_state_claim = 44
		
		create_wargoal = {
			type = take_state_focus
			target = ALB
			generator = { 801 }
		}
		
		ai_chance = {
			factor = 1
		}
	}
}

# Serbia is denied permission, but can choose to attack anyway

country_event = {
	id = central_powers.14
	title = central_powers14title
	desc = central_powers14desc
	
	picture = GFX_report_event_bunker_01
		
	is_triggered_only = yes
	
	option = {
		name = central_powers14opta
		
		news_event = { days = 1 id = central_powers.15 }
		
		POL = {
			remove_from_faction = SER
		}
		
		add_state_claim = 44
		
		create_wargoal = {
			type = take_state_focus
			target = ALB
			generator = { 801 }
		}
		
		ai_chance = {
			factor = 2
		}
	}
	
	option = {
		name = central_powers14optb
		
		add_named_threat = { threat = -3 name = deluge_neutrality_threat }
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 10
				has_war = yes
			}
		}
	}
}

# News event that Serbia is planning an attack

news_event = {
	id = central_powers.15
	title = central_powers15title
	desc = central_powers15desc
	
	picture = GFX_news_event_056
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers15opta
		trigger = {
			OR = {
				TAG = SER
				is_in_faction_with = SER
			}
		}
	}
	option = {
		name = central_powers15optb
		trigger = {
			OR = {
				TAG = ALB
				is_in_faction_with = ALB
			}
		}
	}
	option = {
		name = central_powers15optc
		trigger = {
			NOT = {
				OR = {
					TAG = SER
					is_in_faction_with = SER
					TAG = ALB
					is_in_faction_with = ALB
				}
			}
		}
	}
}

# Hungarian king reaches age of maturity and Regent Horthy is asked to step down
# AI will prefer to keep the fascisms in power

country_event = {
	id = central_powers.16
	title = central_powers16title
	desc = central_powers16desc
	
	picture = GFX_report_event_fascist_gathering
	
	fire_only_once = yes

	trigger = {
		TAG = HUN
		has_government = fascism
		date > 1938.1.5
	}
	
	mean_time_to_happen = {
		months = 1
	}
	
	option = {
		name = central_powers16opta
		trigger = {
			has_war = yes
		}
		
		add_timed_idea = { idea = deluge_fascism_crackdown_idea days = 360 }
		
		news_event = { days = 1 id = central_powers.17 }

		ai_chance = {
			factor = 3
		}
	}
	
	option = {
		name = central_powers16optb
		trigger = {
			has_war = no
		}
		
		add_timed_idea = { idea = deluge_fascism_crackdown_idea days = 360 }
		
		news_event = { days = 1 id = central_powers.18 }

		ai_chance = {
			factor = 3
		}
	}
	
	option = {
		name = central_powers16optc
		
		set_country_flag = flag_central_powers_coup
		
		add_popularity = {
			ideology = fascism
			popularity = -0.25
		}
		
		add_popularity = {
			ideology = neutrality
			popularity = 0.25
		}
		
		set_politics = {
			ruling_party = neutrality
			elections_allowed = yes
		}
		
		add_ideas = landed
		
		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		news_event = { days = 1 id = central_powers.19 }

		ai_chance = {
			factor = 1
		}
	}
}

# News event for Horthy refusing (has a war)

news_event = {
	id = central_powers.17
	title = central_powers17title
	desc = central_powers17desc
	
	picture = GFX_news_event_german_inspect_troops
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers17opta
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = central_powers17optb
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = central_powers17optc
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = central_powers17optd
		trigger = {
			has_government = fascism
		}
	}
}

# News event for Horthy refusing (no war)

news_event = {
	id = central_powers.18
	title = central_powers18title
	desc = central_powers18desc
	
	picture = GFX_news_event_german_inspect_troops
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers18opta
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = central_powers18optb
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = central_powers18optc
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = central_powers18optd
		trigger = {
			has_government = fascism
		}
	}
}

# News event for Horthy accepting

news_event = {
	id = central_powers.19
	title = central_powers19title
	desc = central_powers19desc
	
	picture = GFX_news_event_german_inspect_troops
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers19opta
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = central_powers19optb
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = central_powers19optc
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = central_powers19optd
		trigger = {
			has_government = fascism
		}
	}
}

# Romania is asked to help destroy Bulgaria by Poland

country_event = {
	id = central_powers.20
	title = central_powers20title
	desc = central_powers20desc
	
	picture = GFX_report_event_bunker_01
		
	is_triggered_only = yes
	
	option = {
		name = central_powers20opta
		
		add_popularity = {
			ideology = fascism
			popularity = 0.2
		}
		
		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		POL = {
			add_to_faction = ROM
		}
		
		add_state_claim = 211
		add_state_claim = 212
		
		if = {
			limit = {
				SER = {
					NOT = { is_in_faction_with = POL }
				}
				GRE = {
					NOT = { is_in_faction_with = POL }
				}
			}
			add_state_claim = 48
		}
		
		if = {
			limit = {
				SER = {
					NOT = { is_in_faction_with = POL }
				}
				GRE = {
					NOT = { is_in_faction_with = POL }
				}
				ALB = {
					NOT = { is_in_faction_with = POL }
				}
			}
			add_state_claim = 106
		}
		
		create_wargoal = {
			type = take_state_focus
			target = BUL
			generator = { 211 212 }
		}
		
		news_event = { days = 1 id = central_powers.21 }
		
		ai_chance = {
			factor = 5
			
			modifier = {
				factor = 2
				ROM = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				ROM = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				ROM = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				ROM = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers20optb
		
		trigger = {
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}

		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 2
				ROM = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				ROM = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				ROM = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				ROM = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers20optc
		
		ai_chance = {
			factor = 0
		}
	}
}

# News event for Romania joining Poland in attacking Bulgaria

news_event = {
	id = central_powers.21
	title = central_powers21title
	desc = central_powers21desc
	
	picture = GFX_news_event_german_inspect_troops
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers21opta
		trigger = {
			OR = {
				original_tag = ROM
				original_tag = POL
				is_in_faction_with = POL
			}
		}
	}
	option = {
		name = central_powers21optb
		trigger = { original_tag = BUL }
	}
	option = {
		name = central_powers21optc
		trigger = {
			NOT = {
				OR = {
					original_tag = ROM
					original_tag = POL
					original_tag = BUL
					is_in_faction_with = POL
				}
			}
		}
	}
}

# Bulgaria is asked to help destroy Romania by Poland

country_event = {
	id = central_powers.22
	title = central_powers22title
	desc = central_powers22desc
	
	picture = GFX_report_event_bunker_01
		
	is_triggered_only = yes
	
	option = {
		name = central_powers22opta
		
		add_popularity = {
			ideology = fascism
			popularity = 0.2
		}
		
		add_ai_strategy = {
			type = alliance
			id = POL
			value = 9999
		}
		
		POL = {
			add_to_faction = BUL
		}
		
		add_state_claim = 81
		add_state_claim = 46
				
		create_wargoal = {
			type = take_state_focus
			target = ROM
			generator = { 81 46 }
		}
		
		news_event = { days = 1 id = central_powers.23 }
		
		ai_chance = {
			factor = 5
			
			modifier = {
				factor = 2
				BUL = {
					has_government = communism
				}
				POL = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				BUL = {
					has_government = democratic
				}
				POL = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				BUL = {
					has_government = neutrality
				}
				POL = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				BUL = {
					has_government = fascism
				}
				POL = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers22optb
		
		trigger = {
			is_in_faction = no
			NOT = { has_war_with = FRA }
			FRA = { is_faction_leader = yes }
		}
		
		FRA = {
			country_event = central_powers.8
		}
		
		ai_chance = {
			factor = 1
			
			modifier = {
				factor = 2
				BUL = {
					has_government = communism
				}
				FRA = {
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				BUL = {
					has_government = democratic
				}
				FRA = {
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				BUL = {
					has_government = neutrality
				}
				FRA = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				BUL = {
					has_government = fascism
				}
				FRA = {
					has_government = fascism
				}
			}
		}
	}
	
	option = {
		name = central_powers22optc
		
		ai_chance = {
			factor = 0
		}
	}
}

# News event for Bulgaria joining Poland in attacking Romania

news_event = {
	id = central_powers.23
	title = central_powers23title
	desc = central_powers23desc
	
	picture = GFX_news_event_german_inspect_troops
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers23opta
		trigger = {
			OR = {
				original_tag = BUL
				original_tag = POL
				is_in_faction_with = POL
			}
		}
	}
	option = {
		name = central_powers23optb
		trigger = { original_tag = ROM }
	}
	option = {
		name = central_powers23optc
		trigger = {
			NOT = {
				OR = {
					original_tag = ROM
					original_tag = POL
					original_tag = BUL
					is_in_faction_with = POL
				}
			}
		}
	}
}

# News event for a country joining Poland

news_event = {
	id = central_powers.24
	title = central_powers24title
	desc = central_powers24desc
	
	picture = GFX_news_event_056
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers24opta
		trigger = {
			is_in_faction_with = POL
		}
	}
	option = {
		name = central_powers24optb
		trigger = {
			NOT = {
				is_in_faction_with = POL
			}
		}
	}
}

# Hidden event to create the right FROM

country_event = {
	id = central_powers.25
	title = central_powers25title
	desc = central_powers25desc
	
	picture = GFX_news_event_056
	
	hidden = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers25opt
		news_event = central_powers.26
	}
}

# News event for a country joining France

news_event = {
	id = central_powers.26
	title = central_powers26title
	desc = central_powers26desc
	
	picture = GFX_news_event_056
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers26opta
		trigger = {
			is_in_faction_with = FRA
		}
	}
	option = {
		name = central_powers26optb
		trigger = {
			is_in_faction_with = POL
		}
	}
	option = {
		name = central_powers26optc
		trigger = {
			NOT = {
				is_in_faction_with = FRA
				is_in_faction_with = POL
			}
		}
	}
}

# News event for Austria forming her own faction

news_event = {
	id = central_powers.27
	title = central_powers27title
	desc = central_powers27desc
	
	picture = GFX_news_event_056
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers27opta
		trigger = {
			is_in_faction_with = FRA
		}
	}
	option = {
		name = central_powers27optb
		trigger = {
			is_in_faction_with = POL
		}
	}
	option = {
		name = central_powers27optc
		trigger = {
			NOT = {
				is_in_faction_with = FRA
				is_in_faction_with = POL
				is_in_faction_with = AUS
			}
		}
	}
	option = {
		name = central_powers27optd
		trigger = {
			is_in_faction_with = AUS
		}
	}
}

# News event for Italy forming her own faction

news_event = {
	id = central_powers.28
	title = central_powers28title
	desc = central_powers28desc
	
	picture = GFX_news_event_056
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = central_powers28opta
		trigger = {
			is_in_faction_with = POL
		}
	}
	option = {
		name = central_powers28optb
		trigger = {
			is_in_faction_with = FRA
		}
	}
	option = {
		name = central_powers28optc
		trigger = {
			NOT = {
				is_in_faction_with = FRA
				is_in_faction_with = POL
				is_in_faction_with = ITA
			}
		}
	}
	option = {
		name = central_powers28optd
		trigger = {
			is_in_faction_with = ITA
		}
	}
}
