beachhead_mission = {
type = our_provinces
allow = {
has_province_flag = the_beachhead # set in SRI_Maintenance
NOT = { is_core = THIS }
OR = {
owner = { NOT = { units_in_province = 1 } }
NOT = { has_building = fort1 }
}
}
abort = { NOT = { owned_by = THIS } }
success = {
units_in_province = this
has_building = fort1
controlled_by = owner
has_siege = no
looted = no
is_blockaded = no
owned_by = THIS
}
chance = {
factor = 1
modifier = {
factor = 2000
owner = { ai = yes }
}
}
effect = {
random_owned = {
limit = {
has_province_flag = the_beachhead
owner = { ai = yes }
has_empty_adjacent_province = yes
}
any_neighbor_province = {
limit = { empty = yes }
set_province_flag = colonize_prov
set_global_flag = colonize_prov
}
owner = { country_event = 296000 }
}
random_owned = {
limit = { has_province_flag = the_beachhead }
add_core = THIS
clr_province_flag = the_beachhead
}
}
}