• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Jaol

Kapudan Pasha
56 Badges
Jan 24, 2011
3.755
314
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • For the Motherland
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars: First Colony Edition
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Victoria 2 Beta
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
This mod makes the events where a ward takes on the religion/culture of his or her guardian more context-dependent. Instead of happening 100% of the time, it now depends on things such as traits, location, the religion/culture of the child's parents, etc.

For example, zealous priests will almost always convert their wards, while cynical guardians will usually ignore questions about religion. And wards who already possess a landed title containing a province of their own culture will generally not adopt their guardian's culture, unless one of their parents was also of the guardian's culture and the guardian is their liege.

I can upload it as a mod, if anyone wants that, but I figure most people who are interested in these events will be adding them to a larger mod. So I've just put the relevant section from the guardian_events file below. You need to replace events 38101 and 38100 (there is one event in between, which I've included to make cutting and pasting easier).

Code:
# Guardian chooses whether to convert the child
character_event = {
	id = 38101
	desc = "EVTDESC38101"
	picture = "GFX_evt_child_play"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA38101" # Teach the child the true faith
		
		ai_chance = {
			factor = 2
			modifier = {
				factor = 5
				trait = zealous
			}
			modifier = {
				factor = 2
				is_priest = yes
			}
			modifier = {
				factor = 1.5
				FROM = { 
					OR = {
						father = { religion = ROOT }
						mother = { religion = ROOT }
					}
				}
			}
			modifier = {
				factor = 1.5
				location = { religion = ROOT }
			}
			modifier = {
				factor = 1.5
				FROM = {
					is_vassal_or_below = ROOT 
				}
			}
			
		}
		
		FROM = {
			character_event = {
				id = 38102
				tooltip = "EVTTOOLTIP38102"
			}
		}
	}
	
	option = {
		name = "EVTOPTB38101" # He/she will sort it out...
		ai_chance = {
			factor = 1
			modifier = {
				factor = 5
				trait = cynical
			}
			modifier = {
				factor = 2
				location = { religion = FROM }
			}
		}
		trigger = {
			OR = {
				top_liege = { religion = FROM }
				liege = { religion = FROM }
				trait = cynical
			}
		}
		piety = -5
	}
}

# Guardian chooses whether to convert the child
character_event = {
	id = 38102
	desc = "EVTDESC38102"
	picture = "GFX_evt_guardian"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA38102" # Conversion
		religion = FROM
	}
}

###################################

# Child is influenced by the culture of his or her guardian
character_event = {
	id = 38110
	desc = "EVTDESC38110"
	picture = "GFX_evt_guardian"
	
	max_age = 15
	
	trigger = {
		has_guardian = yes
		guardian = { 
			NOT = { culture = ROOT}
		}
	}
	
	mean_time_to_happen = {
		months = 120
		modifier = {
			factor = 0.5
			guardian = {
				trait = diligent
			}
		}
		modifier = {
			factor = 0.5
			guardian = {
				trait = gregarious
			}
		}
		modifier = {
			factor = 2.0
			guardian = {
				trait = shy
			}
		}
		modifier = {
			factor = 2.0
			guardian = {
				trait = slothful
			}
		}
	}
	
	option = {
		name = "EVTOPTA38110"
		ai_chance = { 
			factor = 2
			
			modifier = {
				factor = 2
				OR = {
					mother = {
						guardian = { 
							culture = PREV 
						}
					}
					father = {
						guardian = { 
							culture = PREV 
						}
					}
				}
			}
			modifier = {
				factor = 1.5
				guardian = {
					is_liege_of = ROOT
					}
				}
			}
		}
		guardian = {
			reverse_culture = ROOT
			hidden_tooltip = {
				character_event = {
					id = 38111
				}
			}
		}
	}
	option = {
		name = "EVTOPTB38100" # Go play with my friends
		ai_chance = { 
			factor = 1
			
			modifier = {
				factor = 2
				location = {
					culture = ROOT 
				}
			}
			modifier = {
				factor = 1.5
				has_landed_title = no
				num_of_claims = 1
				any_claim = {
					location = {
						culture = ROOT 
					}
				}
			}
			modifier = {
				factor = 5
				has_landed_title = yes
				any_demesne_province = {
					culture = ROOT 
				}
			}
		}
	}
}