political_decisions = {
	enact_dual_monarchy = {
		potential = {
			tag = AUS
			war = no
			OR = {
				government = absolute_monarchy
				government = hms_government
				government = prussian_constitutionalism
			}
			any_owned_province = {
				is_core = HUN
			}
			NOT = {
				has_country_flag = dual_monarchy_done
			}
			
		}
	
		allow = {
			exists = ITA
			OR = {
			exists = NGF
			exists = GER }
			NOT = {
				OR = {
					exists = HUN
					exists = KUK
					average_militancy = 5
				}
			}
			nationalism_n_imperialism = 1
		}
	
		effect = {
			all_core = {
				add_core = KUK
			}
			all_core = {
				limit = {
					NOT = {
						culture = south_german
					}
				}
				remove_core = AUS
			}
		    	HUN = { all_core = { add_core = KUK } }
			GLO = { all_core = { add_core = KUK } }
			CRO = { all_core = { add_core = KUK } }
			KRA = { all_core = { add_core = KUK } }
		    	SER = { all_core = { remove_core = AUS } }
		    	CRO = { all_core = { remove_core = AUS } }
		    	BOS = { all_core = { remove_core = AUS } }
		    	BOH = { all_core = { remove_core = AUS } }
			any_pop = {
				limit = {
					culture = hungarian
				}
				militancy = -2
			}
			any_pop = {
				limit = {
					NOT = {
						OR = {
							culture = hungarian
							culture = south_german
						}
					}
				}
				militancy = 2
			}
						
			add_accepted_culture = hungarian
			change_tag = KUK
			set_country_flag = dual_monarchy_done
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	the_grunderzeit = {
		potential = {
			OR = {
				tag = AUS
				tag = KUK
			}
			owns = 619
			NOT = {
				has_country_flag = grunderzeit_we_have_done
			}
		}
		allow = {
			iron_railroad = 1
			cheap_iron = 1
		}
		effect = {
			619 = {
				any_pop = {
					ideology = {
						value = liberal
						factor = 0.2
					}
				}
				life_rating = 5
			}
			prestige = 10
			set_country_flag = grunderzeit_we_have_done
		}
	}
	Annexation_of_Bosnia = {
		picture = bosniaannex
		potential = {
			year = 1870
			OR = {
			tag = AUS
			tag = KUK }
			NOT = {
				has_country_flag = austria_gains_bosnia
			}
		}
		
		allow = {
			exists = BOS
			OR = { AND = {
			revolution_n_counterrevolution = 1
			owns = 771
			owns = 782
			BOS = { 	OR = {
				in_sphere = AUS

				in_sphere = KUK }
			} }
			has_country_flag = happy_austria
		} }
		
		effect = {
			set_country_flag = austria_gains_bosnia
			inherit = BOS
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 804
                    TUR = { exists = yes owns = 802 owns = 803 }
                }
                secede_province = TUR
            }
            random_owned = {
                limit = {
                    NOT = { is_core = THIS }
                    NOT = { any_core = { primary_culture = THIS } }
                    province_id = 2577
                    TUR = { exists = yes owns = 802 owns = 803 }
                }
                secede_province = TUR
            }
			prestige = 20
			badboy = 5
		}
	}
	allow_czech_language = {
	picture = austriabohemia
		potential = {
			tag = KUK
			NOT = { exists = CZE }
			NOT = {
				has_country_flag = aus_cze
			}
			nationalism_n_imperialism = 1
		}
		
		allow = {
			owns = 625
			ai = no
			NOT = { exists = CZE } 
			ruling_party_ideology = liberal 
		}
		
		effect = {
			set_country_flag = aus_cze
			add_accepted_culture = czech
			prestige = 5
			}
		}
	Annexation_of_Romania = {
		picture = bosniaannex
		potential = {
			year = 1870
			OR = {
			tag = AUS
			tag = KUK }
			NOT = {
				has_country_flag = austria_gains_rom
			}
			has_country_flag = happy_austria
		}
		
		allow = {
			exists = ROM
			has_country_flag = happy_austria
		 }
		
		effect = {
			set_country_flag = austria_gains_rom
			inherit = ROM
			BUL = { all_core = { secede_province = BUL } }
			GRE = { all_core = { secede_province = GRE } }
			prestige = 20
			badboy = 5
		}
	}
	Rename_Pest = {
		potential = {
			owns = 641
			NOT = {
				has_country_flag = budapest_renamed
			}
		}
		
		allow = {
			expressionism = 1
		}
		
		effect = {
			prestige = 5
			641 = {
				change_province_name = "Budapest"
			life_rating = 4
			}
			set_country_flag = budapest_renamed
		}
	}	
	Osterreich = {
		potential = {
			tag = AUS
		OR = {
			KUK = { owns = 619 }
			DNB = { owns = 619 } }
			exists = HUN
			NOT = {
				has_country_flag = aus_re
			}
		}
		
		allow = {
			owns = 613
			owns = 617
		}
		
		effect = {
			inherit = KUK
			inherit = DNB
			DNB = { all_core = { remove_core = DNB } }
			KUK = { all_core = { remove_core = KUK } }
			set_country_flag = aus_re
		}
	}
	south_tirol_compromise = {
        picture = south_tirol_propaganda
        potential = {
            owns = 734 #Trentin
            owns = 735 #Bozen
            OR = {
                734 = { is_core = THIS }
                735 = { is_core = THIS }
            }
            any_neighbor_country = {
                OR = {
                    is_core = 734
                    is_core = 735
                }
                OR = {
                    AND = {
                        tag = ITA
                        owns = 730
                        owns = 728
                    }
                    AND = {
                        is_culture_group = germanic
                        owns = 612
                        owns = 615
                    }
                }
            }
            NOT = { has_global_flag = south_tirol_compromise_attempted }
        }

        allow = {
            great_wars_enabled = yes
            war = no
            any_neighbor_country = {
                NOT = { truce_with = THIS }
                war = no
                relation = { who = THIS value = 0 }
                OR = {
                    is_core = 734
                    is_core = 735
                }
                OR = {
                    AND = {
                        OR = {
                            primary_culture = north_italian
                            primary_culture = south_italian
                        }
                        owns = 730
                        owns = 728
                    }
                    AND = {
                        OR = {
                            primary_culture = north_german
                            primary_culture = south_german
                        }
                        owns = 612
                        owns = 615
                    }
                }
            }
        }

        effect = {
            set_global_flag = south_tirol_compromise_attempted
            badboy = -1
            random_country = {
                limit = {
                    neighbour = THIS
                    NOT = {
                        owns = 734 #Trentin
                        owns = 735 #Bozen
                    }
                    OR = {
                        AND = {
                            tag = ITA
                            owns = 730
                            owns = 728
                        }
                        AND = {
                            is_culture_group = germanic
                            owns = 612
                            owns = 615
                        }
                    }
                }
                country_event = 110089
            }
        }

        ai_will_do = {
            factor = 1 
        }
    }
}