disaster_eng_civil_war.txt

(14 KB) Pobierz
########################################
# English Civil War
########################################

namespace = english_civil_war

# The English Civil War
country_event = {
	id = english_civil_war.1
	title = "flavor_eng.EVTNAME9225"
	desc = "flavor_eng.EVTDESC9225"
	picture = CIVIL_WAR_eventPicture

	major = yes
	
	is_triggered_only = yes
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		hidden_effect = {
			set_country_flag = eng_civil_war_happened
			add_stability = -3
		}
	}
	
	option = {			# Parliamentarians
		name = "flavor_eng.EVTOPTA9225"
		ai_chance = { factor = 50 }
		set_country_flag = supports_parliamentarians
		add_manpower = -0.25
		remove_country_modifier = eng_court_star_chamber
		if = {
			limit = { has_heir = yes }
			hidden_effect = {
				kill_heir = yes
			}
		}
		define_ruler = {
			name = "Oliver"
			dynasty = Cromwell
			MIL = 4
		}
		set_ruler_flag = cromwell_flag
		change_government = republican_dictatorship
		random_owned_province = {
			limit = {
				region = british_isles_region
				NOT = { area = eastern_ireland_area }
				NOT = { area = western_ireland_area }
				NOT = { units_in_province = 1 }
				is_capital = no
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 6
			}
		}
	}
	option = {			# Royalists
		name = "flavor_eng.EVTOPTB9225"
		ai_chance = { factor = 50 }
		set_country_flag = supports_royalists
		add_manpower = -0.25
		random_owned_province = {
			limit = {
				region = british_isles_region
				NOT = { area = eastern_ireland_area }
				NOT = { area = western_ireland_area }
				NOT = { units_in_province = 1 }
				is_capital = no
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 6
				leader = "Oliver Cromwell"
			}
		}
	}
}

# Self-denying Ordinance and New Model Army
country_event = {
	id = english_civil_war.2
	title = "flavor_eng.EVTNAME9226"
	desc = "flavor_eng.EVTDESC9226"
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		has_country_flag = supports_parliamentarians
		NOT = { has_country_flag = ENG_had_event_9226 }
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9226
	}
	
	option = {			# Pass the Ordinance and reform the army
		name = "flavor_eng.EVTOPTA9226"
		ai_chance = { factor = 90 }
		add_country_modifier = {
			name = new_model_army
			duration = 3650
		}
	}
	option = {			# It is not needed
		name = "flavor_eng.EVTOPTB9226"
		ai_chance = { factor = 10 }
		add_stability_or_adm_power = yes
		add_manpower = 2
	}
}

# New Model Army
country_event = {
	id = english_civil_war.3
	title = "flavor_eng.EVTNAME9227"
	desc = "flavor_eng.EVTDESC9227"
	picture = MILITARY_CAMP_eventPicture

	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = ENG_had_event_9227 }
		has_country_flag = supports_royalists
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9227
	}
	
	option = {			# Pass the Ordinance and reform the army
		name = "flavor_eng.EVTOPTA9227"
		ai_chance = { factor = 90 }
		add_country_modifier = {
			name = new_model_army
			duration = 7300
		}
	}
	option = {			# It is not needed
		name = "flavor_eng.EVTOPTB9227"
		ai_chance = { factor = 10 }
		add_stability_or_adm_power = yes
		add_manpower = 2
	}
}

# Treaty with the Scots
country_event = {
	id = english_civil_war.4
	title = "flavor_eng.EVTNAME9228"
	desc = "flavor_eng.EVTDESC9228"
	picture = DIPLOMACY_eventPicture

	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = ENG_had_event_9228 }
		has_country_flag = supports_parliamentarians
		religion = catholic
		NOT = { exists = SCO }
		OR = {
			any_owned_province = {
				area = highlands_area
				religion = catholic
			}
			any_owned_province = {
				area = lowlands_area
				religion = catholic
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9228
	}
	
	option = {			# Give in to their demands
		name = "flavor_eng.EVTOPTA9228"
		ai_chance = { factor = 50 }
		if = {
			limit = {
				any_owned_province = {
					area = highlands_area
					religion = catholic
				}
			}
			every_owned_province = {
				limit = {
					area = highlands_area
					religion = catholic
				}
				change_religion = protestant
			}
		}
		if = {
			limit = {
				any_owned_province = {
					area = lowlands_area
					religion = catholic
				}
			}
			every_owned_province = {
				limit = {
					area = lowlands_area
					religion = catholic
				}
				change_religion = protestant
			}
		}
	}
	option = {			# Who are they to demand anything!
		name = "flavor_eng.EVTOPTB9228"
		ai_chance = { factor = 50 }
		every_owned_province = {
			limit = {
				OR = {
					area = highlands_area
					area = lowlands_area
				}
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 1
			}
		}
	}
}

# Treaty with the Scots
country_event = {
	id = english_civil_war.5
	title = "flavor_eng.EVTNAME9229"
	desc = "flavor_eng.EVTDESC9229"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = ENG_had_event_9229 }
		has_country_flag = supports_royalists
		religion = catholic
		NOT = { exists = SCO }
		OR = {
			any_owned_province = {
				area = highlands_area
				religion = catholic
			}
			any_owned_province = {
				area = lowlands_area
				religion = catholic
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9229
	}
	
	option = {			# Give in to their demands
		name = "flavor_eng.EVTOPTA9229"
		ai_chance = { factor = 50 }
		if = {
			limit = {
				any_owned_province = {
					area = highlands_area
					religion = catholic
				}
			}
			every_owned_province = {
				limit = {
					area = highlands_area
					religion = catholic
				}
				change_religion = protestant
			}
		}
		if = {
			limit = {
				any_owned_province = {
					area = lowlands_area
					religion = catholic
				}
			}
			every_owned_province = {
				limit = {
					area = lowlands_area
					religion = catholic
				}
				change_religion = protestant
			}
		}
	}

	option = {			# Who are they to demand anything!
		name = "flavor_eng.EVTOPTB9229"
		ai_chance = { factor = 50 }
		every_owned_province = {
			limit = {
				OR = {
					area = highlands_area
					area = lowlands_area
				}
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 1
			}
		}
	}
}

# The Rebellion in Wales
country_event = {
	id = english_civil_war.6
	title = "flavor_eng.EVTNAME9230"
	desc = "flavor_eng.EVTDESC9230"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = ENG_had_event_9230 }
		has_country_flag = supports_parliamentarians
		any_owned_province = {
			area = wales_area
			unrest = 1
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9230
	}
	
	option = {			# Pay them
		name = "flavor_eng.EVTOPTA9230"
		ai_chance = { factor = 50 }
		add_years_of_income = -0.25
	}
	option = {			# Let them revolt
		name = "flavor_eng.EVTOPTB9230"
		ai_chance = { factor = 50 }
		every_owned_province = {
			limit = {
				area = wales_area
				unrest = 1
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 2
			}
		}
	}
}

# The Rebellion in Wales
country_event = {
	id = english_civil_war.7
	title = "flavor_eng.EVTNAME9231"
	desc = "flavor_eng.EVTDESC9231"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = ENG_had_event_9231 }
		has_country_flag = supports_royalists
		any_owned_province = {
			area = wales_area
			unrest = 1
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9231
	}
	
	option = {			# Pay them
		name = "flavor_eng.EVTOPTA9231"
		ai_chance = { factor = 50 }
		add_years_of_income = -0.25
	}
	option = {			# Let them revolt
		name = "flavor_eng.EVTOPTB9231"
		ai_chance = { factor = 50 }
		every_owned_province = {
			limit = {
				area = wales_area
				unrest = 1
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 2
			}
		}
	}
}

# The Rebellion in Ireland
country_event = {
	id = english_civil_war.8
	title = "flavor_eng.EVTNAME9232"
	desc = "flavor_eng.EVTDESC9232"
	picture = ANGRY_MOB_eventPicture

	is_triggered_only = yes
	
	trigger = {
		NOT = { has_country_flag = ENG_had_event_9232 }
		has_country_flag = supports_parliamentarians
		any_owned_province = {
			OR = {
				area = eastern_ireland_area
				area = western_ireland_area
			}
			unrest = 1
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		set_country_flag = ENG_had_event_9232
		random_owned_province = {
			limit = {
				area = eastern_ireland_area
				unrest = 1
			}
			set_province_flag = irish_rebellion
		}
		random_owned_province = {
			limit = {
				area = western_ireland_area
				unrest = 1
			}
			set_province_flag = irish_rebellion
		}
	}
	
	option = {			# Pay them
		name = "flavor_eng.EVTOPTA9232"
		ai_chance = { factor = 50 }
		add_years_of_income = -0.25
	}
	option = {			# Let them revolt
		name = "flavor_eng.EVTOPTB9232"
		ai_chance = { factor = 50 }
		every_owned_province = {
			limit = {
				has_province_flag = irish_rebellion
			}
			spawn_rebels = {
				type = pretender_rebels
				size = 1
			}
			clr_province_flag = irish_rebellion
		}
	}
}

# The Rebellion in Ireland
country_event = {
	id = engl...
Zgłoś jeśli naruszono regulamin