# Pan-Nationalist
country_event = {
	title = "EVTNAME11100"
	desc = "EVTDESC11100"
	picture = "Celebration"

	id = 11100

	is_triggered_only = yes

	option = {				# Accept inheritance
		name = "EVTOPTA11100"
		change_tag = culture
		any_country = {
			limit = {
				NOT = {
					tag = THIS
				}
				is_culture_group = THIS
				is_greater_power = no
				OR = {
					in_sphere = THIS
					AND = {
						part_of_sphere = no
						NOT = {
							OR = {
								tag = AUS
								tag = KUK
								}
							}
						}
					tag = WAL
					tag = MOL
					tag = MON
					tag = BOS
					tag = SER
					tag = SLO
					AND = {
						OR = {
							tag = AUS
							tag = KUK
						}
						exists = HUN
						part_of_sphere = no
					}
				}
				num_of_cities = 1
			}
			country_event = { id=11101 days=0 }
		}
		political_reform = wealth_voting
		political_reform = population_equal_weight
		political_reform = yes_meeting
		political_reform = free_press
		political_reform = non_socialist
		political_reform = secret_ballots
		government = hms_government
		add_accepted_culture = union
		prestige = -15
		badboy = 10
		ai_chance = {
			factor = 5
			modifier = {
				factor = 200
				OR = {
					tag = MOL
					tag = WAL
				}
			}
			modifier = {
				factor = 5
				government = hms_government
			}
			modifier = {
				factor = 10
				government = democracy
			}
			modifier = {
				factor = 2
				ruling_party_ideology = liberal
			}
			modifier = {
				factor = 3
				upper_house = {
					ideology = liberal
					value = 0.5
				}
			}
		}
	}

	option = {
		name = "EVTOPTB11100"
		prestige = 2
		ai_chance = {
			factor = 95
			modifier = {
				factor = 1.5
				government = absolute_monarchy
			}
		}
		any_pop = {
			militancy = 1
		}
	}
}

# Event to Inherit
country_event = {
	id = 11101
	title = "EVTNAME11101"
	desc = "EVTDESC11101"
	picture = "Celebration"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA11101"
		FROM = {
			inherit = THIS
		}
		ai_chance = {
			factor = 25
		}
	}

	option = {
		name = "EVTOPTB11101"
		prestige = 1
		relation = {
			who = FROM
			value = -100
		}
		any_pop = {
			militancy = 3
			consciousness = 2
		}
	}
}
# Event to Inherit-Germany
country_event = {
	id = 111010
	title = "EVTNAME111010"
	desc = "EVTDESC111010"
	picture = "Celebration"

	is_triggered_only = yes

	option = {
		name = "EVTOPTA111010"
		remove_core = PRU
		remove_core = SAX
		remove_core = COB
		remove_core = MEI
		remove_core = WEI
		remove_core = LUB
		remove_core = MEC
		remove_core = ANH
		remove_core = HOL
		remove_core = HAM
		remove_core = BRA
		remove_core = HAN
		remove_core = HEK
		remove_core = NAS
		remove_core = LIP
		remove_core = BAD
		remove_core = BAV
		remove_core = WUR
		remove_core = OLD
		remove_core = BRE
		any_owned = {
			limit = {
				is_core = RSM
				NOT = { province_id = 735 }
			}
			secede_province = RSM
		}
		FROM = {
			inherit = THIS
		}
		ai_chance = {
			factor = 25
		}
	}

	option = {
		name = "EVTOPTB111010"
		prestige = 1
		relation = {
			who = FROM
			value = -100
		}
		any_pop = {
			militancy = 3
			consciousness = 2
		}
	}
}

#Italian Red Shirt Unification
country_event = {
    title = "EVTNAME96170"
    desc = "EVTDESC11103"
    picture = "Celebration"

    id = 11103

    is_triggered_only = yes

    option = {                # Accept inheritance
        name = "EVTOPTA11103"
        clr_country_flag = made_the_call_to_union
        add_accepted_culture = south_italian
        add_accepted_culture = north_italian
        random_owned = {
            limit = { owner = { OR = { is_culture_group = italian is_culture_group = germanic } accepted_culture = french } }
            owner = { remove_accepted_culture = french }
        }
        random_owned = {
            limit = { owner = { OR = { is_culture_group = italian is_culture_group = germanic } accepted_culture = south_german } }
            owner = { remove_accepted_culture = south_german }
        }
        random_owned = {
            limit = { owner = { OR = { is_culture_group = italian is_culture_group = germanic } accepted_culture = british } }
            owner = { remove_accepted_culture = british }
        }
        random_owned = {
            limit = { owner = { is_culture_group = germanic accepted_culture = polish } }
            owner = { remove_accepted_culture = polish }
        }
        random_owned = {
            limit = { owner = { primary_culture = polish accepted_culture = south_german } } owner = { remove_accepted_culture = south_german }
        }
        random_owned = {
            limit = { owner = { primary_culture = polish accepted_culture = north_german } } owner = { remove_accepted_culture = north_german }
        }
        random_owned = {
            limit = { owner = { primary_culture = polish accepted_culture = czech } } owner = { remove_accepted_culture = czech }
        }
        all_core = { remove_core = THIS }
        change_tag = culture
        any_country = {
            limit = {
                NOT = {
                    tag = THIS
                    tag = PAP
                }
                NOT = { has_country_flag = post_colonial_country }
                is_culture_group = THIS
                is_greater_power = no
                num_of_cities = 1
            }
            country_event = 11101
        }
        random_country = {
            limit = {
                tag = PAP
                NOT = { tag = THIS }
            }
            relation = {
                who = THIS
                value = -200
            }
            leave_alliance = THIS
            any_owned = {
                limit = {
                    NOT = { province_id = 749 }
                }
                secede_province = THIS
            }
        }
        random_country = {
            limit = { is_sphere_leader_of = PAP }
            set_country_flag = objects_to_italy
            diplomatic_influence = { who = PAP value = -200 }
            leave_alliance = PAP
        }
        any_country = {
            limit = { alliance_with = PAP }
            set_country_flag = objects_to_italy
            diplomatic_influence = { who = PAP value = -100 }
            leave_alliance = PAP
        }
        any_country = {
            limit = {
                NOT = { is_culture_group = italian }
                exists = yes
                OR = {
                    has_country_flag = objects_to_italy
                    tag = FRA
                    tag = AUS
                    tag = KUK
                    AND = {
                        neighbour = ITA
                        is_greater_power = yes
                    }
                }
            }
            country_event = { id = 96165 days = 20 }
        }
        prestige = 10
        ai_chance = {
            factor = 95
        }
    }

    option = {
        name = "EVTOPTB11103"
        prestige = 5
        set_country_flag = does_not_want_to_be_unified
        clr_country_flag = made_the_call_to_union
        any_pop = {
            militancy = 2
        }
        ai_chance = {
            factor = 5
        }
    }
}