﻿
# Events dealing with Austrian expansion and domestic changes

add_namespace = austrian_expansion

# Croatia

news_event = {
	id = austrian_expansion.1
	title = austrian_expansion1title
	desc = austrian_expansion1desc
	
	picture = GFX_news_event_003
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion1opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion1optb
		trigger = { original_tag = CRO }
	}
	option = {
		name = austrian_expansion1optc
		trigger = {
			NOT = {
				OR = {
					original_tag = AUS
					original_tag = CRO
				}
			}
		}
	}
}

# Hungary

news_event = {
	id = austrian_expansion.2
	title = austrian_expansion2title
	desc = austrian_expansion2desc
	
	picture = GFX_news_event_003
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion2opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion2optb
		trigger = { original_tag = HUN }
	}
	option = {
		name = austrian_expansion2optc
		trigger = {
			NOT = {
				OR = {
					original_tag = AUS
					original_tag = HUN
				}
			}
		}
	}
}


# Italy

news_event = {
	id = austrian_expansion.3
	title = austrian_expansion3title
	desc = austrian_expansion3desc
	
	picture = GFX_news_event_003
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion3opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion3optb
		trigger = { original_tag = ITA }
	}
	option = {
		name = austrian_expansion3optc
		trigger = {
			NOT = {
				OR = {
					original_tag = AUS
					original_tag = ITA
				}
			}
		}
	}
}


# Poland

news_event = {
	id = austrian_expansion.4
	title = austrian_expansion4title
	desc = austrian_expansion4desc
	
	picture = GFX_news_event_003
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion4opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion4optb
		trigger = { original_tag = POL }
	}
	option = {
		name = austrian_expansion4optc
		trigger = {
			NOT = {
				OR = {
					original_tag = AUS
					original_tag = POL
				}
			}
		}
	}
}

# Germany

news_event = {
	id = austrian_expansion.5
	title = austrian_expansion5title
	desc = austrian_expansion5desc
	
	picture = GFX_news_event_003
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion5opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion5optb
		trigger = {
			OR = {
				original_tag = GER
				original_tag = DDR
				original_tag = WGR
			}
		}
	}
	option = {
		name = austrian_expansion5optc
		trigger = {
			NOT = {
				OR = {
					original_tag = AUS
					original_tag = GER
					original_tag = DDR
					original_tag = WGR
				}
			}
		}
	}
}

# Austria controls Hungary and forms Austria-Hungary/Greater Austrian Reich

# Radical variant

news_event = {
	id = austrian_expansion.6
	title = austrian_expansion6title
	desc = austrian_expansion6desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion6opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion6optb
		trigger = {
			has_government = communism
			NOT = { original_tag = AUS }
		}
	}
	option = {
		name = austrian_expansion6optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion6optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion6opte
		trigger = {
			has_government = fascism
		}
	}
}

# democratic variant

news_event = {
	id = austrian_expansion.7
	title = austrian_expansion7title
	desc = austrian_expansion7desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion7opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion7optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion7optc
		trigger = {
			has_government = democratic
			NOT = { original_tag = AUS }
		}
	}
	option = {
		name = austrian_expansion7optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion7opte
		trigger = {
			has_government = fascism
		}
	}
}

# neutrality variant

news_event = {
	id = austrian_expansion.8
	title = austrian_expansion8title
	desc = austrian_expansion8desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion8opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion8optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion8optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion8optd
		trigger = {
			has_government = neutrality
			NOT = { original_tag = AUS }
		}
	}
	option = {
		name = austrian_expansion8opte
		trigger = {
			has_government = fascism
		}
	}
}

# fascism variant

news_event = {
	id = austrian_expansion.9
	title = austrian_expansion9title
	desc = austrian_expansion9desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion9opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion9optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion9optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion9optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion9opte
		trigger = {
			has_government = fascism
			NOT = { original_tag = AUS }
		}
	}
}

# Hitler has been made a minister and now he launches a coup attempt

country_event = {
	id = austrian_expansion.10
	title = austrian_expansion10title
	desc = austrian_expansion10desc
	
	picture = GFX_deluge_militia
	
	fire_only_once = yes
	
	trigger = {
		has_government = fascism
		fascism > 0.5
		has_idea = aryan_supremacist
		has_civil_war = no
	}
	
	mean_time_to_happen = {
		months = 6
		
		modifier = {
			factor = 2
			has_war = yes
		}
	}
		
	option = {
		name = austrian_expansion10opta
		
		add_political_power = -50
				
		create_country_leader = {
			name = "Adolf Hitler"
			desc = "aryan_chancellor_desc"
			picture = "gfx/leaders/deluge/germans/hitler.dds"
			expire = "1965.1.1"
			ideology = social_darwinist_ideology
			traits = {
				
			}
		}
		
		swap_ideas = {
			remove_idea = aryan_supremacist
			add_idea = aryan_chancellor
		}
		
		set_party_name = { ideology = fascism name = deluge_austria_nazi_party_short long_name = deluge_austria_nazi_party_long }
		
		hidden_effect = {
			news_event = { days = 1 id = austrian_expansion.11 }
		}
		
		ai_chance = {
			factor = 1
		}
	}
	
	option = {
		name = austrian_expansion10optb
		
		add_political_power = 50
		
		remove_ideas = aryan_supremacist
		
		hidden_effect = {
			news_event = { days = 1 id = austrian_expansion.12 }
		}
		
		ai_chance = {
			factor = 5
		}
	}
}

# News event for Hitler taking power

news_event = {
	id = austrian_expansion.11
	title = austrian_expansion11title
	desc = austrian_expansion11desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion11opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion11optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion11optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion11optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion11opte
		trigger = {
			has_government = fascism
			NOT = { original_tag = AUS }
		}
	}
}

# News event for Hitler being defeated

news_event = {
	id = austrian_expansion.12
	title = austrian_expansion12title
	desc = austrian_expansion12desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion12opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion12optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion12optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion12optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion12opte
		trigger = {
			has_government = fascism
			NOT = { original_tag = AUS }
		}
	}
}

# Austria has formed Greater Germany

# Radical variant

news_event = {
	id = austrian_expansion.13
	title = austrian_expansion13title
	desc = austrian_expansion13desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion13opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion13optb
		trigger = {
			has_government = communism
			NOT = { original_tag = AUS }
		}
	}
	option = {
		name = austrian_expansion13optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion13optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion13opte
		trigger = {
			has_government = fascism
		}
	}
}

# democratic variant

news_event = {
	id = austrian_expansion.14
	title = austrian_expansion14title
	desc = austrian_expansion14desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion14opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion14optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion14optc
		trigger = {
			has_government = democratic
			NOT = { original_tag = AUS }
		}
	}
	option = {
		name = austrian_expansion14optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion14opte
		trigger = {
			has_government = fascism
		}
	}
}

# neutrality variant

news_event = {
	id = austrian_expansion.15
	title = austrian_expansion15title
	desc = austrian_expansion15desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion15opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion15optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion15optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion15optd
		trigger = {
			has_government = neutrality
			NOT = { original_tag = AUS }
		}
	}
	option = {
		name = austrian_expansion14opte
		trigger = {
			has_government = fascism
		}
	}
}

# fascism variant

news_event = {
	id = austrian_expansion.16
	title = austrian_expansion16title
	desc = austrian_expansion16desc
	
	picture = GFX_deluge_hungarian_parliament_building
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = austrian_expansion16opta
		trigger = {
			original_tag = AUS
		}
	}
	option = {
		name = austrian_expansion16optb
		trigger = {
			has_government = communism
		}
	}
	option = {
		name = austrian_expansion16optc
		trigger = {
			has_government = democratic
		}
	}
	option = {
		name = austrian_expansion16optd
		trigger = {
			has_government = neutrality
		}
	}
	option = {
		name = austrian_expansion16opte
		trigger = {
			has_government = fascism
			NOT = { original_tag = AUS }
		}
	}
}


