• 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.

Me_

Myself
82 Badges
Jan 14, 2011
9.625
12.309
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Europa Universalis: Rome
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
This is an ancient event that has a disturbingly large number of problems

here's the event from byzantine_events:
Code:
### The Varangian and the Princess

# AI Event for Daughter
character_event = {
	id = LoR.845
	hide_window = yes
	
	ai = yes
	
	trigger = {
		has_dlc = "Legacy of Rome"
		is_female = yes
		age = 16
		father = {
			ai = no
			OR = {
				has_landed_title = e_byzantium
				has_landed_title = e_roman_empire
			}
			any_vassal = {
				has_landed_title = d_varangian_guard
			}
			NOT = { trait = incapable }
			prisoner = no
		}
		is_married = no
		NOT = { trait = celibate }
		NOT = { trait = chaste }
		NOT = { trait = homosexual }
	}
	
	mean_time_to_happen = {
		months = 400
		
		modifier = {
			factor = 0.5
			trait = lustful
		}
	}
	
	immediate = {
		hidden_tooltip = {
			father = { 
				character_event = { id = LoR.846 days = 3 }
			}
		}
	}
	
	option = {
		name = OK
	}
}

# Your Daughter Approaches
character_event = {
	id = LoR.846
	desc =*EVTDESCLoR.846
	picture = GFX_evt_princess_byzantine
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTALoR.846
		create_character = {
			random_traits = yes
			dynasty = NONE
			female = no
			age = 22
			religion = ROOT
			culture = swedish
		}
		new_character = {
			add_spouse_matrilineal = FROM
			hidden_tooltip = {
				add_lover = FROM
			}
			opinion = {
				modifier = opinion_grateful
				who = ROOT
			}
		}
		FROM = {
			opinion = {
				modifier = opinion_grateful
				who = ROOT
			}
		}
	}
	option = {
		name = EVTOPTBLoR.846
		FROM = {
			opinion = {
				modifier = opinion_unhappy
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTCLoR.846
		FROM = {
			opinion = {
				modifier = evil_murderer
				who = ROOT
				years = 6
			}
		}
	}
}

The problems:
  • the event does not check if the Princess is in your court - I had the event fire for my daughter who got married off to Castille, her husband died and she stayed there as a regent, yet somehow managed to fall in love with a varangian and asked for my blessing - from half of Europe away;
  • the event created varangian is always Swedish, even if this culture does not exist yet;
  • the varangian that the event generates does not have the varangian trait - what kind of a varangian is that? - if he wants to marry my daughter at least he could have the decency to be a proper varangian.
 
Upvote 0