FlavorHAB.txt

(35 KB) Pobierz
########################################
# Major Flavor Events  #
########################################

namespace = flavor_hab
normal_or_historical_nations = yes

# The Imperial Parliament at Augsburg
country_event = {
	id = flavor_hab.3188
	title = "flavor_hab.EVTNAME3188"
	desc = "flavor_hab.EVTDESC3188"
	picture = HRE_eventPicture


	fire_only_once = yes

	trigger = {
		tag = HAB
		is_year = 1550
		NOT = { is_year = 1650 }
		
		is_emperor = yes
		is_religion_enabled = protestant
		any_country = {
			is_part_of_hre = yes
			religion = protestant
		}
		any_country = {
			is_part_of_hre = yes
			religion = catholic
		}
	}

	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = 0.75
			religion = catholic
		}
	}
	option = {			# Find a middle ground
		name = "flavor_hab.EVTOPTA3188"
		ai_chance = {
			factor = 50
		}
		add_prestige = -20
		every_country = {
			limit = {
				is_part_of_hre = yes
			}
			add_opinion = {
				who = ROOT
				modifier = religious_compromise
			}
		}
	}
	option = {			# Support Catholics
		name = "flavor_hab.EVTOPTB3188"
		add_papal_influence = 25
		ai_chance = {
			factor = 25
			modifier = {
				factor = 0
				religion = protestant
			}
		}
		every_country = {
			limit = {
				is_part_of_hre = yes
				religion = catholic
			}
			add_opinion = {
				who = ROOT
				modifier = favors_catholics_catholics
			}
		}
		every_country = {
			limit = {
				is_part_of_hre = yes
				religion = protestant
			}
			add_opinion = {
				who = ROOT
				modifier = favors_catholics_protestants
			}
		}
	}
	option = {			# Support Protestants
		name = "flavor_hab.EVTOPTC3188"
		ai_chance = {
			factor = 25
			modifier = {
				factor = 0
				religion = catholic
			}
		}
		add_papal_influence = -50
		every_country = {
			limit = {
				is_part_of_hre = yes
				religion = protestant
			}
			add_opinion = {
				who = ROOT
				modifier = favors_protestants_protestants
			}
		}
		every_country = {
			limit = {
				is_part_of_hre = yes
				religion = catholic
			}
			add_opinion = {
				who = ROOT
				modifier = favors_protestants_catholics
			}
		}
	}
}

# The Royal Letter of Bohemia
country_event = {
	id = flavor_hab.3193
	title = "flavor_hab.EVTNAME3193"
	desc = "flavor_hab.EVTDESC3193"
	picture = REFORM_eventPicture


	fire_only_once = yes
	
	trigger = {
		tag = HAB
		is_year = 1600
		NOT = { is_year = 1650 }
		exists = BOH
		NOT = { has_country_flag = HAB_had_event_3194 }
		is_emperor = yes
		is_religion_enabled = protestant
		BOH = {
			religion = protestant
			junior_union_with = HAB
		}
	}

	mean_time_to_happen = {
		months = 100
		modifier = {
			factor = 0.75
			dynasty = "von Habsburg"
		}
	}

	

	option = {		# Issue it
		name = "flavor_hab.EVTOPTA3193"
		set_country_flag = royal_letter_of_bohemia
		BOH = {
			add_opinion = {
				who = ROOT
				modifier = royal_letter_of_bohemia
			}
		}
	}
	option = {		# Do not issue it
		name = "flavor_hab.EVTOPTB3193"
		set_country_flag = refused_royal_letter_of_bohemia
		BOH = {
			add_opinion = {
				who = ROOT
				modifier = refused_royal_letter_of_bohemia
			}
		}
	}
}

# The Defenstration of Prague
country_event = {
	id = flavor_hab.3194
	title = "flavor_hab.EVTNAME3194"
	desc = "flavor_hab.EVTDESC3194"
	picture = LIBERUM_VETO_eventPicture
	
	fire_only_once = yes

	trigger = {
		tag = HAB
		is_year = 1600
		NOT = { is_year = 1650 }
		NOT = { has_country_flag = royal_letter_of_bohemia }
		is_emperor = yes
		religion = catholic
		is_religion_enabled = protestant
		OR = {
			AND = {
				NOT = { senior_union_with = BOH }
				266 = {	# Bohemia
					owned_by = ROOT
					religion = protestant
				}
			}
			BOH = {
				exists = yes
				religion = protestant
				junior_union_with = HAB
			}
		}
	}
	mean_time_to_happen = {
		months = 100
		modifier = {
			factor = 0.75
			dynasty = "von Habsburg"
		}
		modifier = {
			factor = 0.25
			has_country_flag = refused_royal_letter_of_bohemia
		}
	}
	
	immediate = {
		set_country_flag = HAB_had_event_3194
	}

	option = {		# Not good at all
		name = "flavor_hab.EVTOPTA3194"

		if = {
			limit = {
				NOT = { senior_union_with = BOH }
				266 = {	# Bohemia
					owned_by = ROOT
					religion = protestant
				}
			}
			266 = {
				spawn_rebels = {
					type = nationalist_rebels
					size = 3
					friend = BOH
				}
			}
		}
		if = {
			limit = {
				senior_union_with = BOH
			}
			BOH = { break_union = HAB }
		}
	}
}

# Peasant Revolt in Austria
country_event = {
	id = flavor_hab.3195
	title = "flavor_hab.EVTNAME3195"
	desc = "flavor_hab.EVTDESC3195"
	picture = ANGRY_MOB_eventPicture
	
	fire_only_once = yes
	
	trigger = {
		tag = HAB
		is_year = 1600
		NOT = { is_year = 1650 }
		NOT = { stability = 3 }
	}

	mean_time_to_happen = {
		months = 100
	}
	
	option = {		# They must be crushed
		name = "flavor_hab.EVTOPTA3195"
		add_stability = -1
		random_owned_province = {
			spawn_rebels = {
				type = anti_tax_rebels
				size = 3
			}
		}
	}
}

# Noble Revolt in Hungary
country_event = {
	id = flavor_hab.3201
	title = "flavor_hab.EVTNAME3201"
	desc = "flavor_hab.EVTDESC3201"
	picture = ANGRY_MOB_eventPicture

	fire_only_once = yes

	trigger = {
		tag = HAB
		any_owned_province = {
			OR = {
				area = transdanubia_area
				area = transylvania_area
				area = southern_transylvania_area
				area = alfold_area
				area = slovakia_area
			}
		}
		NOT = { stability = 1 }
	}

	mean_time_to_happen = {
		months = 250
	}
	
	immediate = {
		set_country_flag = HAB_had_event_3201
		hidden_effect = {
 			random_owned_province = {
				limit = {
					OR = {
						area = transdanubia_area
						area = transylvania_area
						area = southern_transylvania_area
						area = alfold_area
						area = slovakia_area
					}
					development = 10
				}
				set_province_flag = hungarian_revolt
			}
		}
	}

	option = {		# They should learn their place
		name = "flavor_hab.EVTOPTA3201"
	
	
		random_owned_province = {
			limit = {
				has_province_flag = hungarian_revolt
			}
			spawn_rebels = {
				type = noble_rebels
				size = 3
			}
			clr_province_flag = hungarian_revolt
		}
		
		
		every_owned_province = {
			limit = {
				OR = {
					area = transdanubia_area
					area = transylvania_area
					area = alfold_area
					area = slovakia_area
					area = southern_transylvania_area
				}
			}	
			add_unrest = 5
		}
	}
	option = {		# Give more concessions
		name = "flavor_hab.EVTOPTB3201"
		every_owned_province = {
			limit = {
				OR = {
					area = transdanubia_area
					area = transylvania_area
					area = southern_transylvania_area
					area = alfold_area
					area = slovakia_area
				}
				is_capital = no
			}	
			add_local_autonomy = 50
		}
		add_adm_power = -100
		add_dip_power = -100
		add_mil_power = -100
	}
}

# The Purge of the Archbishop of Salzburg
country_event = {
	id = flavor_hab.3203
	title = "flavor_hab.EVTNAME3203"
	desc = "flavor_hab.EVTDESC3203"
	picture = ANGRY_MOB_eventPicture


	fire_only_once = yes
	
	trigger = {
		tag = HAB
		is_year = 1700
		NOT = { exists = SLZ }
		religion = catholic
		owns = 76
		76 = {
			religion = catholic
		}
	}

	mean_time_to_happen = {
		months = 100
	}

	
	option = {		# Let the Archbishop Purge the Protestants
		name = "flavor_hab.EVTOPTA3203"
		ai_chance = {
			factor = 0
		}
		add_stability_or_adm_power = yes
		76 = { add_base_tax = -2 }
	}
	option = {		# Stop the Archbishop's Purge
		name = "flavor_hab.EVTOPTB3203"
		add_stability = -1
	}
}

# Wenzel Anton Kaunitz
country_event = {
	id = flavor_hab.3206
	title = "flavor_hab.EVTNAME3206"
	desc = "flavor_hab.EVTDESC3206"
	picture = ADVISOR_eventPicture
	
	fire_only_once = yes

	trigger = {
		tag = HAB
		is_year = 1741
		NOT = { is_year = 1794 }
		government = monarchy
	}

	mean_time_to_happen = {
		months = 300
	}

	immediate = {
		set_country_flag = HAB_had_event_3206
	}
	
	option = {			# An Excellent Minister!
		name = "EXCELLENTMINISTER"
		add_adm_power = 100
		add_dip_power = 100
		add_mil_power = 100
	}
}

# Metternich
country_event = {
	id = flavor_hab.3208
	title = "flavor_hab.EVTNAME3208"
	desc = "flavor_hab.EVTDESC3208"
	picture = ADVISOR_eventPicture

	trigger = {
		tag = HAB
		is_year = 1803
		government = monarchy
	}

	fire_only_once = yes

	mean_time_to_happen = {
		months = 50
	}

	immediate = {
		set_country_flag = HAB_had_event_3208
	}
	
	option = {			# An Excellent Minister!
		name = "EXCELLENTMINISTER"
		add_adm_power = 100
		add_dip_power = 100
		add_mil_power = 100
	}
}

# The Protestant Rebellion in Hungary
country_event = {
	id = flavor_hab.3099
	title = "flavor_hab.EVTNAME3099"
	desc = "flavor_hab.EVTDESC3099"
	picture = ANGRY_MOB_eventPicture

	trigger = {
		tag = HAB
		NOT = { exists = HUN }
		NOT = { religion = protestant }
		any_owned_province = {
			region = carpathia_region
			NOT = { area = wallachia_area }
			NOT = { area = moldavia_area }
			religion = protestant
		}
	}
	
	fire_only_once = yes


	mean_time_to_happen = {
		months = 500
	}
	
	immediate = {
		hidden_effect = {
			set_country_flag = HAB_had_event_3099
			random_owned_province = {
				limit = {
					region = carpathia_region
					NOT = { area = wallachia_area }
					NOT = { area = moldavia_area }
					religion = protestant
				}
				set_province_flag = hungarian_revolt
			}
			random_owned_province = {
				limit = {
					region = carpathia_region
					NOT = { area = wallachia_area }
				...
Zgłoś jeśli naruszono regulamin