Dutch_Missions.txt

(16 KB) Pobierz
defend_the_lowlands = {
	
	type = country

	category = MIL
	
	target_provinces = {
		region = low_countries_region
		NOT = { culture = wallonian }
		NOT = { owned_by = ROOT }
		owner = {
			OR = {
				capital_scope = {
					NOT = { region = low_countries_region }
				}
				AND = {
					NOT = { primary_culture = flemish }
					NOT = { primary_culture = dutch }
				}
			}
			NOT = { alliance_with = ROOT }
			NOT = { is_subject_of = ROOT }
		}
	}
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		low_countries_region = {
			NOT = { culture = wallonian }
			owner = {
				OR = {
					capital_scope = {
						NOT = { region = low_countries_region }
					}
					AND = {
						NOT = { primary_culture = flemish }
						NOT = { primary_culture = dutch }
					}
				}
				NOT = { alliance_with = ROOT }
				NOT = { is_subject_of = ROOT }
				NOT = { tag = NED }
			}
		}
		NOT = { has_country_flag = defended_lowlands }
	}
	abort = {
		is_subject = yes
	}
	success = {
		all_target_province = {
			owned_by = NED
		}
	}
	chance = {
		factor = 3000
		modifier = {
			factor = 2
			mil = 4
		}
		modifier = {
			factor = 2
			mil = 5
		}
	}
	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 = defended_lowlands
		add_country_modifier = {
			name = "defended_the_lowlands"
			duration = 3650
		}
	}
}


reconquer_breda = {
	
	type = country

	category = MIL
	
	allow = {
		normal_or_historical_nations = yes
		always = no #Removed
		tag = NED
		exists = SPA
		is_subject = no
		SPA = { owns = 95 }
		NOT = { alliance_with = SPA }
		NOT = { has_country_flag = reconquer_breda }
	}
	abort = {
		OR = {
			is_subject = yes
			AND = {
				SPA = { NOT = { owns = 95 } }
				NOT = { owns = 95 }
			}
		}
	}
	success = {
		owns = 95
	}
	chance = {
		factor = 3000
		modifier = {
			factor = 2
			mil = 4
		}
		modifier = {
			factor = 2
			mil = 5
		}
	}
	immediate = {
		add_claim = 95
	}
	abort_effect = {
		95 = {
			if = {
				limit = {
					NOT = {
						is_permanent_claim = ROOT
					}
				}
				remove_claim = ROOT
			}
		}
	}
	effect = {
		95 = { add_base_manpower = 1 }
		set_country_flag = reconquer_breda
	}
}

the_netherlands_discover_the_carribean = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		has_idea = quest_for_the_new_world
		num_of_ports = 1
		NOT = { carribeans_region = { has_discovered = ROOT } }
		carribeans_region = { range = ROOT }
	}
	abort = {
		OR = {
			NOT = { has_idea = quest_for_the_new_world }
			NOT = { num_of_ports = 1 }
		}
	}
	success = {
		carribeans_region = { has_discovered = ROOT }
	}
	chance = {
		factor = 2000
		modifier = {
			factor = 2
			has_idea = land_of_opportunity
		}
		modifier = {
			factor = 2
			has_idea = colonial_ventures
		}	
	}
	effect = {
		add_dip_power = 25
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 3650
		}
	}
}


dutch_colony_in_the_carribean = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		num_of_ports = 1
		num_of_colonists = 1
		colonial_the_carribean = {
			has_discovered = ROOT
			is_empty = yes
			OR = {
				ROOT = { NOT = { religion = catholic } }
				is_religion_grant_colonial_claim = no
				is_religion_grant_colonial_claim = ROOT
			}
		}
		NOT = {
			colonial_the_carribean = {
				owned_by = ROOT
			}
		}
		NOT = {
			colonial_the_carribean = {
				owner = {
					is_subject_of = ROOT
				}
			}
		}
		NOT = {
			has_country_modifier = "colonial_enthusiasm"
		}
	}
	abort = {
		OR = {
			NOT = { num_of_ports = 1 }
			AND = {
				NOT = { colonial_the_carribean = { owned_by = ROOT } }	
				NOT = { colonial_the_carribean = { is_empty = yes } }
			}
		}
	}
	success = {
		colonial_the_carribean = {
			owned_by = ROOT
			colonysize = 400
		}
	}
	chance = {
		factor = 2000
		modifier = {
			factor = 2
			has_idea = land_of_opportunity
		}
		modifier = {
			factor = 2
			has_idea = colonial_ventures
		}
		modifier = {
			factor = 2
			num_of_colonists = 2
		}
		modifier = {
			factor = 2
			num_of_colonists = 3
		}
	}
	effect = {
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 3650
		}
	}
}


the_netherlands_discover_north_america = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		has_idea = quest_for_the_new_world
		num_of_ports = 1
		NOT = { northeast_america_region = { has_discovered = ROOT } }
		northeast_america_region = { range = ROOT }
		NOT = {
			has_country_modifier = "colonial_enthusiasm"
		}
	}
	abort = {
		OR = {
			NOT = { has_idea = quest_for_the_new_world }
			NOT = { num_of_ports = 1 }
		}
	}
	success = {
		northeast_america_region = { has_discovered = ROOT }
	}
	chance = {
		factor = 2000
		modifier = {
			factor = 2
			has_idea = land_of_opportunity
		}
		modifier = {
			factor = 2
			has_idea = colonial_ventures
		}	
	}
	effect = {
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 3650
		}
	}
}


dutch_colony_in_north_america = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		num_of_ports = 1
		num_of_colonists = 1
		northeast_america_region = {
			has_discovered = ROOT
			is_empty = yes
		}
		NOT = {
			northeast_america_region = {
				owned_by = ROOT
			}
		}
		NOT = {
			northeast_america_region = {
				owner = {
					is_subject_of = ROOT
				}
			}
		}
		NOT = {
			has_country_modifier = "colonial_enthusiasm"
		}
	}
	abort = {
		OR = {
			NOT = { num_of_ports = 1 }
			AND = {
				NOT = { northeast_america_region = { owned_by = ROOT } }	
				NOT = { northeast_america_region = { is_empty = yes } }
			}
		}
	}
	success = {
		northeast_america_region = { owned_by = ROOT }
	}
	chance = {
		factor = 2000
		modifier = {
			factor = 2
			has_idea = land_of_opportunity
		}
		modifier = {
			factor = 2
			has_idea = colonial_ventures
		}
		modifier = {
			factor = 2
			num_of_colonists = 2
		}
		modifier = {
			factor = 2
			num_of_colonists = 3
		}
	}
	effect = {
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 3650
		}
	}
}


dutch_colony_in_south_africa = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		num_of_colonists = 1
		num_of_ports = 1
		NOT = {
			has_country_modifier = "colonial_enthusiasm"
		}
		OR = {
			833 = { has_discovered = ROOT }
			1177 = { has_discovered = ROOT }
			1179 = { has_discovered = ROOT }
		}
		NOT = { owns = 833 }
		NOT = { owns = 1177 }
		NOT = { owns = 1179 }
		OR = {
			833 = { range = ROOT }
			1177 = { range = ROOT }
			1179 = { range = ROOT }
		}
		OR = {
			833 = { is_empty = yes }
			1177 = { is_empty = yes }
			1179 = { is_empty = yes }
		}
	}
	abort = {
		OR = {
			NOT = { num_of_ports = 1 }
			AND = {
				NOT = { owns_or_vassal_of = 833 }
				NOT = { owns_or_vassal_of = 1177 }
				NOT = { owns_or_vassal_of = 1179 }
				833 = { is_empty = no }
				1177 = { is_empty = no }
				1179 = { is_empty = no }
			}
		}
	}
	success = {
		OR = {
			AND = {
				owns_or_vassal_of = 833
				833 = { colonysize = 400 }
			}
			AND = {
				owns_or_vassal_of = 1177
				1177 = { colonysize = 400 }
			}
			AND = {
				owns_or_vassal_of = 1179
				1179 = { colonysize = 400 }
			}
		}
	}
	chance = {
		factor = 2000
		modifier = {
			factor = 2
			has_idea = land_of_opportunity
		}
		modifier = {
			factor = 2
			has_idea = colonial_ventures
		}
		modifier = {
			factor = 2
			num_of_colonists = 2
		}
		modifier = {
			factor = 2
			num_of_colonists = 3
		}
	}
	effect = {
		add_country_modifier = {
			name = "colonial_enthusiasm"
			duration = 3650
		}
	}
}


dutch_colony_in_indonesia = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		always = no #replaced by general mission to do the same thing.
		tag = NED
		num_of_colonists = 1
		num_of_ports = 1
		malaya_region = {
			has_discovered = ROOT
			is_empty = yes
			range = ROOT
		}
		NOT = {
			malaya_region = {
				owned_by = ROOT
			}
		}
		NOT = {
			malaya_region = {
				owner = {
					is_subject_of = ROOT
				}
			}
		}
		
	}
	abort = {
		OR = {
			NOT = { num_of_ports = 1 }
			AND = {
				NOT = { malaya_region = { owned_by = ROOT } }	
				NOT = { malaya_region = { is_empty = yes } }
			}
		}
	}
	success = {
		malaya_region = {
			owned_by = ROOT
			colonysize = 400
		}
	}
	chance = {
		factor = 1000
		modifier = {
			factor = 2
			has_idea = land_of_opportunity
		}
		modifier = {
			factor = 2
			has_idea = colonial_ventures
		}
		modifier = {
			factor = 2
			num_of_colonists = 2
		}
		modifier = {
			factor = 2
			num_of_colonists = 3
		}
	}
	effect = {
		add_prestige = 10
	}
}


dutch_colony_in_brazil = {
	
	type = country

	category = DIP
	
	allow = {
		normal_or_historical_nations = yes
		tag = NED
		num_of_colonists = 1
		num_of_ports = 1
		NOT = {
			has_country_modifier = "colonial_enthusiasm"
		}
		south_america = {
			has_discovered = ROOT
		}
		NOT = { owns_or_vassal_of = 743 }
		NOT = { owns_or_vassal_of = 744 }
		NOT = { owns_or_vassal_of = 745 }
		NOT = { owns_or...
Zgłoś jeśli naruszono regulamin