vassalize_navarra = { type = country category = MIL ai_mission = yes allow = { normal_or_historical_nations = yes NOT = { has_country_modifier = military_vassalization } tag = ARA exists = NAV is_subject = no NAV = { is_subject = no is_neighbor_of = ROOT NOT = { num_of_cities = ROOT } NOT = { total_development = 50 } NOT = { government = imperial_city } } } abort = { OR = { is_subject = yes NOT = { exists = NAV } NAV = { is_subject = yes } NOT = { has_casus_belli = { type = cb_vassalize_mission target = NAV } } } } success = { NAV = { vassal_of = ARA } } chance = { factor = 2000 modifier = { factor = 2 NOT = { has_opinion = { who = NAV value = 0 } } } } immediate = { add_casus_belli = { type = cb_vassalize_mission months = 300 target = NAV } } abort_effect = { remove_casus_belli = { type = cb_vassalize_mission target = NAV } } effect = { add_country_modifier = { name = military_vassalization duration = 3650 } hidden_effect = { remove_casus_belli = { type = cb_vassalize_mission target = NAV } } } } conquer_sardinia = { type = country category = MIL ai_mission = yes allow = { normal_or_historical_nations = yes tag = ARA is_subject = no NOT = { owns = 127 } NOT = { owns = 2986 } 127 = { owner = { NOT = { alliance_with = ROOT } NOT = { vassal_of = ROOT } } } 2986 = { owner = { NOT = { alliance_with = ROOT } NOT = { vassal_of = ROOT } } } NOT = { has_country_flag = conquest_of_sardinia_ara } NOT = { has_country_modifier = mediterranean_ambition } } abort = { is_subject = yes } success = { owns = 127 owns = 2986 } chance = { factor = 3000 modifier = { factor = 2 mil = 4 } } immediate = { add_claim = 127 add_claim = 2986 } abort_effect = { 127 = { if = { limit = { NOT = { is_permanent_claim = ROOT } } remove_claim = ROOT } } 2986 = { if = { limit = { NOT = { is_permanent_claim = ROOT } } remove_claim = ROOT } } } effect = { set_country_flag = conquest_of_sardinia_ara add_country_modifier = { name = "mediterranean_ambition" duration = 3650 } } } conquer_sicily = { type = country category = MIL ai_mission = yes target_provinces = { area = sicily_area NOT = { owner = { alliance_with = ROOT } owner = { vassal_of = ROOT } } } allow = { normal_or_historical_nations = yes tag = ARA NOT = { has_country_modifier = mediterranean_ambition } NOT = { has_country_flag = conquest_of_sicily_ara } is_subject = no sicily_area = { NOT = { owned_by = ROOT } owner = { NOT = { war_with = ROOT } NOT = { alliance_with = ROOT } NOT = { is_subject_of = ROOT } } } } abort = { is_subject = yes } success = { all_target_province = { owned_by = ROOT } } chance = { factor = 3500 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 = { set_country_flag = conquest_of_sicily_ara add_country_modifier = { name = "mediterranean_ambition" duration = 3650 } } } conquer_naples = { type = country category = MIL ai_mission = yes target_provinces = { owned_by = NAP } allow = { normal_or_historical_nations = yes tag = ARA exists = NAP NOT = { has_country_modifier = mediterranean_ambition } NOT = { has_country_flag = conquered_naples_ara } is_subject = no NAP = { NOT = { is_subject_of = ARA } NOT = { alliance_with = ARA } } NOT = { exists = SIC } owns = 125 # Palermo } abort = { is_subject = yes } success = { NOT = { exists = NAP } 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 = { set_country_flag = conquered_naples_ara add_country_modifier = { name = "mediterranean_ambition" duration = 3650 } } } become_king_of_gonder = { type = country category = MIL allow = { normal_or_historical_nations = yes tag = ARA NOT = { has_country_modifier = military_victory } is_subject = no has_discovered = 1224 NOT = { owns = 1224 } 1224 = { NOT = { owner = { alliance_with = ROOT } } } } abort = { is_subject = yes } success = { owns = 1224 } chance = { factor = 1000 modifier = { factor = 2 mil = 4 } } immediate = { add_claim = 1224 } abort_effect = { 1224 = { if = { limit = { NOT = { is_permanent_claim = ROOT } } remove_claim = ROOT } } } effect = { add_country_modifier = { name = "military_victory" duration = 3650 } } } defeat_saruhan = { type = country category = MIL target_provinces = { owned_by = SRU } allow = { normal_or_historical_nations = yes NOT = { has_country_modifier = military_victory } tag = ARA exists = SRU is_subject = no SRU = { owns = 318 } owns = 121 owns = 125 owns = 127 NOT = { alliance_with = SRU } NOT = { owns = 1224 } } abort = { OR = { is_subject = yes NOT = { exists = SRU } } } success = { NOT = { exists = SRU } all_target_province = { owned_by = ROOT } } chance = { factor = 1000 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 = { add_country_modifier = { name = "military_victory" duration = 3650 } } }
prostownik11