unite_austria = { type = country category = MIL ai_mission = yes target_provinces = { OR = { owned_by = STY owned_by = TIR } } allow = { normal_or_historical_nations = yes tag = HAB NOT = { has_country_flag = austria_reunited } is_subject = no OR = { exists = STY exists = TIR } } abort = { OR = { is_subject = yes AND = { NOT = { exists = STY } NOT = { exists = TIR } } } } success = { NOT = { exists = STY } NOT = { exists = TIR } all_target_province = { owned_by = ROOT } } chance = { factor = 3500 modifier = { factor = 2 TIR = { NOT = { has_opinion = { who = HAB value = 0 } } } } modifier = { factor = 2 STY = { NOT = { has_opinion = { who = HAB value = 0 } } } } } immediate = { every_target_province = { add_claim = ROOT } } abort_effect = { every_target_province = { if = { limit = { NOT = { is_permanent_claim = ROOT } } remove_claim = ROOT } } } effect = { set_country_flag = austria_reunited_flag add_country_modifier = { name = "austria_reunited" duration = 3650 } } } recover_silesia = { type = country category = MIL ai_mission = yes target_provinces = { OR = { province_id = 263 province_id = 264 province_id = 2966 } owner = { NOT = { vassal_of = HAB } NOT = { alliance_with = HAB } } } allow = { normal_or_historical_nations = yes tag = HAB is_subject = no owns = 266 #Prague OR = { owns = 60 owns = 154 owns = 265 owns = 2970 } 263 = { NOT = { owned_by = ROOT } owner = { NOT = { alliance_with = HAB } NOT = { vassal_of = HAB } } } 264 = { NOT = { owned_by = ROOT } owner = { NOT = { alliance_with = HAB } NOT = { vassal_of = HAB } } } 2966 = { NOT = { owned_by = ROOT } owner = { NOT = { alliance_with = HAB } NOT = { vassal_of = HAB } } } } abort = { is_subject = yes } success = { all_target_province = { owned_by = ROOT } } chance = { factor = 3000 modifier = { factor = 2 mil = 4 } } immediate = { every_target_province = { add_claim = ROOT } } abort_effect = { every_target_province = { if = { limit = { NOT = { is_permanent_claim = ROOT } } remove_claim = ROOT } } } effect = { every_target_province = { add_province_modifier = { name = "faster_integration" duration = 3650 } } } } reclaim_the_empire = { type = country category = DIP allow = { normal_or_historical_nations = yes tag = HAB is_emperor = no OR = { allows_female_emperor = yes is_female = no } is_subject = no is_lesser_in_union = no has_regency = no government = monarchy num_of_cities = 6 capital_scope = { is_part_of_hre = yes } OR = { NOT = { has_country_flag = empire_reclaimed } had_country_flag = { flag = empire_reclaimed days = 7300 } } } abort = { OR = { has_regency = yes AND = { is_female = yes allows_female_emperor = no } is_subject = yes is_lesser_in_union = yes NOT = { government = monarchy } capital_scope = { is_part_of_hre = no } } } success = { is_emperor = yes } chance = { factor = 5000 } effect = { add_country_modifier = { name = "succesful_bid_for_imperial_crown" duration = 3650 } } } subjugate_bohemia = { type = country ai_mission = yes category = MIL allow = { normal_or_historical_nations = yes tag = HAB exists = BOH is_year = 1500 is_subject = no BOH = { ai = yes is_subject = no is_emperor = no is_neighbor_of = ROOT NOT = { total_development = 140 } NOT = { num_of_cities = ROOT } } } abort = { OR = { is_subject = yes NOT = { exists = BOH } BOH = { is_subject = yes } } } success = { senior_union_with = BOH } chance = { factor = 3000 modifier = { factor = 2 NOT = { has_opinion = { who = BOH value = 0 } } } } immediate = { add_casus_belli = { type = cb_restore_personal_union months = 300 target = BOH } } abort_effect = { remove_casus_belli = { type = cb_restore_personal_union target = BOH } } effect = { add_prestige = 10 hidden_effect = { remove_casus_belli = { type = cb_restore_personal_union target = BOH } } } } subjugate_hungary = { type = country ai_mission = yes category = MIL allow = { normal_or_historical_nations = yes tag = HAB exists = HUN is_year = 1500 is_subject = no HUN = { ai = yes is_subject = no is_emperor = no is_neighbor_of = ROOT NOT = { total_development = 200 } NOT = { num_of_cities = ROOT } } OR = { transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } southern_transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } slovakia_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } alfold_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } } } abort = { OR = { is_subject = yes NOT = { exists = HUN } HUN = { is_subject = yes } } } success = { senior_union_with = HUN } chance = { factor = 3000 modifier = { factor = 2 NOT = { has_opinion = { who = HUN value = 0 } } } modifier = { factor = 2 alfold_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } southern_transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } } modifier = { factor = 2 slovakia_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } southern_transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } } modifier = { factor = 2 alfold_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } slovakia_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } } modifier = { factor = 3 alfold_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } southern_transylvania_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } slovakia_area = { NOT = { owned_by = HUN } NOT = { owner = { is_subject_of = HUN } } } } } immediate = { add_casus_belli = { type = cb_restore_personal_union months = 300 target = HUN } } abort_effect = { remove_casus_belli = { type = cb_restore_personal_union target = HUN } } effect = { add_prestige = 10 hidden_effect = { remove_casus_belli = { type = cb_restore_personal_union target = HUN } } } } no_ottomans_in_eastern_balkans = { type = country category = MIL target_provinces = { owned_by = TUR OR = { area = wallachia_area area = bulgaria_area } } allow = { normal_or_historical_nations = yes tag = HAB exists = TUR is_subject = no num_of_cities = 25 OR = { owns = 161 owns = 150 owns = 148 owns = 3000 } TUR = { num_of_cities = 15 is_neighbor_of = ROOT NOT = { alliance_with = HAB } } OR = { wallachia_area = { owned_by = TUR } bulgaria_area = { owned_by = TUR } } NOT = { has_country_flag = conquered_eastern_balkans } NOT = { has_country_modifier = drove_back_the_turk } } abort = { is_subject = yes } success = { all_target_province = { owned_by = ROOT } } chance = { factor = 1000 modifier = { factor = 2 TUR = { NOT = { num_of_cities = ROOT } } } modifier = { factor = 3 serbia_area = { type = all owned_by = ROOT } } modifier = { factor = 3 transdanubia_area = { type = all owned_by = ROOT } } } effect = { set_country_flag = conquered_eastern_balkans add_country_modifier = { name = "drove_back_the_turk" duration = 3650 } } } no_ottomans_in_western_balkans = { type = country category = MIL target_provinces = { owned_by = TUR OR = { area = serbia_area area = rascia_area area = bosnia_area } } allow = { normal_or_historical_nations = yes tag = HAB exists = TUR is_subject = no num_of_cities = 25 OR = { owns = 1767 owns = 131 owns = 1826 } TUR = { num_of_cities = 15 is_neighbor_of = ROOT NOT = { alliance_with = HAB } } OR = { bosnia_area = { owned_by = TUR } serbia_area = { owned_by = TUR } ...
prostownik11