noble.txt

(3 KB) Pobierz
######################################################################
# Disgruntled nobles.
######################################################################
noble_rebels = {

	color = { 179 75 75 }

	area = nation 					# Stays within the nation
	government = monarchy			# Likes monarchy
	defection = none				# Does not defect
	independence = none				# Does not strive for independence
	unit_transfer = no
	gfx_type = culture_owner	
	will_relocate = yes	
	
	resilient = no
	reinforcing = yes
	general = yes
	smart = yes
	
	artillery = 0.0
	infantry = 0.6
	cavalry = 0.4
	
	morale = 1.0
	
	# Possible handle actions
	handle_action_negotiate = yes
	handle_action_stability = yes
	handle_action_build_core = yes
	handle_action_send_missionary = yes		
	
	# The rebel type with the highest modifier for this province gets picked
	spawn_chance = {
		factor = 1
		modifier = {
			factor = 0.01
			is_overseas = yes
		}
		modifier = {
			factor = 0
			owner = { primary_culture = polish }
		}
		modifier = {
			factor = 0.0
			owner = {
				is_colonial_nation = yes
			}
		}
		modifier = {
			factor = 0.0
			owner = {
				government = republic
				republican_tradition = 80
			}
		}
		modifier = {
			factor = 20
			owner = {
				has_disaster = counts_feud
				has_country_flag = pretender_flag
			}
		}	
		modifier = {
			factor = 10
			has_estate = estate_nobles
		}
		
		modifier = {
			factor = 2.5
			owner = {
				government = republic
				NOT = { republican_tradition = 33 }
			}
		}
		modifier = {
			factor = 2.5
			owner = {
				government = republic
				NOT = { republican_tradition = 66 }
			}
		}
	}
 
 	# This is checked for EACH province in the Area of Operations
	movement_evaluation = {
		factor = 1
		modifier = {
			factor = 0.1
			units_in_province = 1
		}
		modifier = {
			factor = 0.001
			controlled_by = REB
		}
		modifier = {
			factor = 1.5
			unrest = 2
		}
		modifier = {
			factor = 1.5
			unrest = 4
		}
		modifier = {
			factor = 1.5
			unrest = 6
		}
	}
 
 	# Province Scope
 	siege_won_trigger = {
		NOT = { local_autonomy = 50 }
	}
	siege_won_effect = {
		add_local_autonomy = 10
	}
	
	# Country scope
	can_negotiate_trigger = {
		always = yes
	}
	
	# Country scope
	can_enforce_trigger = {
		always = yes
	}
	
	# Localisation for their demands
	demands_description = "noble_rebels_demand"
	
	# Country Scope	
	demands_enforced_effect = {
		if = {
			limit = {
				has_dlc = "The Cossacks"
				has_estate = estate_nobles
				NOT = {
					has_estate_influence_modifier = {
						estate = estate_nobles
						modifier = EST_VAL_NOBLES_EXTORTED_RIGHTS
					}
				}
			}
			add_estate_influence_modifier = {
				estate = estate_nobles
				desc = EST_VAL_NOBLES_EXTORTED_RIGHTS
				influence = 15
				duration = 5475
			}
		}
		every_owned_province = {
			limit = {
				has_rebel_faction = REB
			}
			add_local_autonomy = 20
		}	
		add_prestige = -20
		add_legitimacy = -20
		add_horde_unity = -20
		if = {
			limit = { has_disaster = counts_feud }
			end_disaster = counts_feud
			clr_country_flag = pretender_flag
			clr_country_flag = monarch_flag
		}
	}
}
Zgłoś jeśli naruszono regulamin