Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- finish_iberian_conquest = {
- type = country
- category = MIL
- ai_mission = yes
- target_provinces = {
- region = iberian_peninsula
- OR = {
- owner = { religion_group = christian }
- owner = { religion_group = jewish }
- }
- }
- allow = {
- normal_or_historical_nations = yes
- NOT = { has_country_modifier = completing_the_iberian_conquest }
- NOT = { is_year = 1600 }
- OR = {
- tag = GRA
- tag = CRD
- tag = ZRG
- }
- is_subject = no
- is_at_war = no
- religion_group = muslim
- iberian_peninsula = {
- owned_by = ROOT
- }
- iberian_peninsula = {
- OR = {
- owner = { religion_group = christian }
- owner = { religion_group = jewish }
- }
- }
- }
- abort = {
- OR = {
- NOT = { religion_group = muslim }
- NOT = { iberian_peninsula = { owned_by = ROOT } }
- }
- }
- success = {
- iberian_peninsula = {
- type = all
- owner = { NOT = { religion_group = christian } }
- owner = { NOT = { religion_group = jewish } }
- }
- all_target_province = {
- owned_by = ROOT
- }
- }
- immediate = {
- every_target_province = {
- add_claim = ROOT
- }
- }
- abort_effect = {
- every_target_province = {
- remove_claim = ROOT
- }
- }
- chance = {
- factor = 3000
- modifier = {
- factor = 10
- OR = {
- exists = CAS
- exists = POR
- exists = LON
- exists = GAL
- exists = ARA
- }
- iberian_peninsula = {
- owned_by = CAS
- owned_by = POR
- owned_by = LON
- owned_by = GAL
- owned_by = ARA
- }
- }
- }
- effect = {
- add_country_modifier = {
- name = "completing_the_iberian_conquest"
- duration = 3650
- }
- }
- }
- unite_alandalus = {
- type = country
- category = MIL
- ai_mission = yes
- target_provinces = {
- region = iberian_peninsula
- }
- allow = {
- normal_or_historical_nations = yes
- is_subject = no
- OR = {
- tag = GRA
- tag = CRD
- tag = ZRG
- }
- religion_group = muslim
- is_at_war = no
- NOT = {
- iberian_peninsula = {
- owner = { religion_group = christian }
- }
- all_target_province = {
- owned_by = ROOT
- }
- exists = ADU
- }
- }
- abort = {
- is_subject = yes
- }
- success = {
- all_target_province = {
- owned_by = ROOT
- }
- }
- chance = {
- factor = 3000
- }
- immediate = {
- every_target_province = {
- add_claim = ROOT
- }
- }
- abort_effect = {
- every_target_province = {
- remove_claim = ROOT
- }
- }
- effect = {
- add_prestige = 20
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement