Colonial.txt

(17 KB) Pobierz
namespace = colonial

province_event = {
	id =  colonial.1
	title = "EVTNAME6138"
	desc = "EVTDESC6138"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		owner = { has_idea_group = exploration_ideas }
		has_empty_adjacent_province = yes
		owner = { NOT = { num_of_colonies = 2 } }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA6138"
		random_empty_neighbor_province = {
			create_colony = 200
		}
	}
	option = {
		name = "EVTOPTB6138"
		trigger = {
			owner = {
			num_of_colonies = 1
			}
		}
		owner = {
			random_owned_province = {
				limit = {
					is_colony = yes
				}
				add_colonysize = 50
			}
		}
	}
}


### Events to give more fun for overseas in the late game ###

province_event = {
	id =  colonial.2
	title = "EVTNAME1420"
	desc = "EVTDESC1420"
	picture = ELECTION_REPUBLICAN_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		is_year = 1750
		is_overseas = yes
		is_colony = no
		religion_group = christian
		owner = { religion_group = christian }
		NOT = { has_province_modifier = founding_father }
		NOT = { has_province_modifier = loyalist_stronghold }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA1420"
		ai_chance = {
			factor = 100
		}
		add_province_modifier = {
			name = "founding_father"
			duration = -1
		}
	}
	
	option	= {
		name = "EVTOPTB1420"
		owner = {
			add_country_modifier = {
				name = narrowminded_modifier
				duration = 3650
			}
			add_country_modifier = {
				name = serfdom_modifier
				duration = 3650
			}
		}
		owner = { set_country_flag = treat_colonials_harshly }
	}
}

province_event = {
	id =  colonial.3
	title = "EVTNAME1421"
	desc = "EVTDESC1421"
	picture = RELIGION_eventPicture
	
	is_triggered_only = yes

	trigger = {
		is_year = 1750
		is_colony = no
		is_overseas = yes
		religion_group = christian
		owner = { religion_group = christian }
		owner = { has_country_flag = treat_colonials_harshly }
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA1421"
		add_unrest = 3
	}
}

province_event = {
	id =  colonial.4
	title = "EVTNAME1422"
	desc = "EVTDESC1422"
	picture = DIPLOMACY_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		is_year = 1750
		is_overseas = yes
		is_colony = no
		religion_group = christian
		owner = { religion_group = christian }
		NOT = { has_province_modifier = founding_father }
		NOT = { has_province_modifier = loyalist_stronghold }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA1422"
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				NOT = { owner = { treasury = 100 } }
			}
		}
		add_unrest = 1
		owner = { add_treasury = -100 }
		add_province_modifier = {
			name = "loyalist_stronghold"
			duration = -1
		}
	}
	
	option = {
		name = "EVTOPTB1422"
		nationalist_rebels = 1
	}
}


### Events to give persecuted minorities into colonies ###

province_event = {
	id =  colonial.5
	title = "EVTNAME1423"
	desc = "EVTDESC1423"
	picture = STREET_SPEECH_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		is_overseas = yes
		is_colony = yes
		colonysize = 600
		OR = {
			religion = catholic
			religion = protestant
		}
		owner = { 
			OR = {
				religion = catholic
				religion = protestant
			}
			any_owned_province = {
				is_overseas = no
				religion = reformed
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA1423"
		change_religion = reformed
		change_culture = owner
		add_colonysize = 400
		add_province_modifier = {
			name = "religious_migration"
			duration = 8760
		}
	}
}

province_event = {
	id =  colonial.6
	title = "EVTNAME1423"
	desc = "EVTDESC1424"
	picture = REFORM_eventPicture
	
	is_triggered_only = yes

	trigger = {
		is_overseas = yes
		is_colony = yes
		colonysize = 600
		OR = {
			religion = catholic
			religion = reformed
		}
		owner = { 
			OR = {
				religion = catholic
				religion = reformed
			}
			any_owned_province = {
				is_overseas = no
				religion = protestant
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA1423"
		change_religion = protestant
		change_culture = owner
		add_colonysize = 400
		add_province_modifier = {
			name = "religious_migration"
			duration = 8760
		}
	}
}

province_event = {
	id =  colonial.7
	title = "EVTNAME1423"
	desc = "EVTDESC1425"
	picture = REFORM_eventPicture
	
	is_triggered_only = yes

	trigger = {
		is_overseas = yes
		is_colony = yes
		colonysize = 600
		OR = {
			religion = protestant
			religion = reformed
		}
		owner = { 
			OR = {
				religion = protestant
				religion = reformed
			}
			any_owned_province = {
				is_overseas = no
				religion = catholic
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA1423"
		change_religion = catholic
		change_culture = owner
		add_colonysize = 400
		add_province_modifier = {
			name = "religious_migration"
			duration = 8760
		}
	}
}

province_event = {
	id =  colonial.20
	title = "EVTNAME1423"
	desc = "colonial.EVTDESC20"
	picture = STREET_SPEECH_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		is_colony = yes
		colonysize = 600
		OR = {
			continent = north_america
			continent = south_america
		}
		OR = {
			religion = catholic
			religion = protestant
		}
		owner = {
			is_colonial_nation = yes
			OR = {
				religion = catholic
				religion = protestant
			}
			colonial_parent = {
				OR = {
					religion = catholic
					religion = protestant
				}
			}
			any_owned_province = {
				is_overseas = no
				religion = reformed
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA1423"
		change_religion = reformed
		change_culture = owner
		add_colonysize = 400
		add_province_modifier = {
			name = "religious_migration"
			duration = 8760
		}
	}
}

province_event = {
	id =  colonial.21
	title = "EVTNAME1423"
	desc = "colonial.EVTDESC21"
	picture = REFORM_eventPicture
	
	is_triggered_only = yes

	trigger = {
		is_overseas = yes
		is_colony = yes
		colonysize = 600
		OR = {
			continent = north_america
			continent = south_america
			continent = new_world
		}
		OR = {
			religion = catholic
			religion = reformed
		}
		owner = {
			is_colonial_nation = yes
			OR = {
				religion = catholic
				religion = reformed
			}
			colonial_parent = {
				OR = {
					religion = catholic
					religion = protestant
				}
			}
			any_owned_province = {
				is_overseas = no
				religion = protestant
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA1423"
		change_religion = protestant
		change_culture = owner
		add_colonysize = 400
		add_province_modifier = {
			name = "religious_migration"
			duration = 8760
		}
	}
}

province_event = {
	id =  colonial.22
	title = "EVTNAME1423"
	desc = "colonial.EVTDESC22"
	picture = REFORM_eventPicture
	
	is_triggered_only = yes

	trigger = {
		is_overseas = yes
		is_colony = yes
		colonysize = 600
		OR = {
			continent = north_america
			continent = south_america
			continent = new_world
		}
		OR = {
			religion = protestant
			religion = reformed
		}
		owner = {
			is_colonial_nation = yes
			OR = {
				religion = protestant
				religion = reformed
			}
			colonial_parent = {
				OR = {
					religion = catholic
					religion = protestant
				}
			}
			any_owned_province = {
				is_overseas = no
				religion = catholic
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVTOPTA1423"
		change_religion = catholic
		change_culture = owner
		add_colonysize = 400
		add_province_modifier = {
			name = "religious_migration"
			duration = 8760
		}
	}
}

### Scripted by Sara Wendel-?rtqvist ###

# A Witch!
province_event = {
	id = colonial.8
	title = "colonial.EVTNAME8"
	desc = "colonial.EVTDESC8"
	picture = ANGRY_MOB_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		OR = {
			province_id = 968 # Massachusets
			province_id = 965 # Manhattan
			province_id = 966 # Connecticut
			province_id = 967 # Narraganset
		}
		is_year = 1600
		owner = {
			religion_group = christian
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "colonial.EVTOPTA8"
		owner = {
			add_stability_or_adm_power = yes
		}
	}
	option = {
		name = "colonial.EVTOPTB8"
		owner = {
			add_dip_power = 50
		}
	}
}

# Rival Settlements
province_event = {
	id = colonial.9
	title = "colonial.EVTNAME9"
	desc = "colonial.EVTDESC9"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes

	trigger = {
		NOT = { has_province_flag = rival_settlements }
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "colonial.EVTOPTA9"
		owner = { add_prestige = 10 }
	}
	option = {
		name = "colonial.EVTOPTB9"
		add_base_tax = 1	
		set_province_flag = rival_settlements
	}
}

# Rival Settlements
province_event = {
	id = colonial.10
	title = "colonial.EVTNAME10"
	desc = "colonial.EVTDESC10"
	picture = COLONIZATION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		has_province_flag = rival_settlements
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "colonial.EVTOPTA10"
		owner = {  add_dip_power = 10 }
	}
	option = {
		name = "colonial.EVTOPTB10"
		owner = {  add_adm_power = 10 }
	}	
}

# Rival Settlements
province_event = {
	id = colonial.11
	title = "colonial.EVTNAME11"
	de...
Zgłoś jeśli naruszono regulamin