particularist.txt

(3 KB) Pobierz
######################################################################
# Particularist rebels. Decentralizers.
######################################################################
particularist_rebels = {
	
	color = { 120 195 120 }
	
	area = nation 					# Stays within the nation
	government = any				# Don't care about gov type				
	defection = none				# Will not defect
	independence = none				# Does not strive for independence
	gfx_type = culture_province
	will_relocate = yes	

	resilient = no					# Can retreat
	reinforcing = yes				# Can reinforce
	general = yes					# Does use generals
	smart = yes						# Do assault forts, tactically withdraw from battle, etc.
	unit_transfer = no				# Units do not remain after enforcing demands.
	
	artillery = 0.0
	infantry = 0.7
	cavalry = 0.3
	
	morale = 0.75
	
	# 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 = 2
		modifier = {
			factor = 0
			owner = { 
				NOT = { num_of_cities = 5 }
			}
		}
		
		modifier = {
			factor = 20.0
			owner = { 
				has_disaster = the_dacke_feud
			}
		}		
		modifier = {
			factor = 0.2
			is_core = owner
		}
		modifier = {
			factor = 0.5
			is_overseas = yes # Prefer other types overseas
		}
		modifier = {
			factor = 0.5
			owner = {
				primary_culture = ROOT
			}
		}
		modifier = {
			factor = 0.8
			religion = owner
		}


		modifier = {
			factor = 1.25
			owner = { 
				num_of_cities = 12
			}
		}
		modifier = {
			factor = 1.25
			owner = { 
				num_of_cities = 18
			}
		}
		modifier = {
			factor = 1.5
			owner = { 
				num_of_cities = 24
			}
		}
		modifier = {
			factor = 1.5
			owner = { 
				num_of_cities = 30
			}
		}
		modifier = {
			factor = 1.5
			owner = { 
				num_of_cities = 40
			}
		}
		modifier = {
			factor = 2.0
			owner = { 
				num_of_cities = 50
			}
		}
		modifier = {
			factor = 2.0
			owner = {
				OR = {
					government = tribal_despotism
					government = tribal_federation
				}
			}
		}
		modifier = {
			factor = 10
			has_estate = estate_burghers
		}
	}
 
 	# 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 = 2.0
			is_capital = yes
		}
		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 = "particularist_rebels_demand"
	
	# Country scope
	demands_enforced_effect = {
		every_owned_province = {
			limit = {
				has_rebel_faction = REB
			}
			add_local_autonomy = 30
		}	
		add_prestige = -20
		if = {
			limit = {
				has_dlc = "The Cossacks"
				has_estate = estate_burghers
				NOT = {
					has_estate_influence_modifier = {
						estate = estate_burghers
						modifier = EST_VAL_SUCCESFUL_PARTICULARISTS
					}
				}
			}
			add_estate_influence_modifier = {
				estate = estate_burghers
				duration = 5475
				influence = 15
				desc = EST_VAL_SUCCESFUL_PARTICULARISTS
			}
		}
		
	}
}
Zgłoś jeśli naruszono regulamin