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

Drachenfire

Buckler of Wales
39 Badges
Dec 10, 2004
2.154
0
  • Stellaris: Distant Stars
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Crusader Kings II: Horse Lords
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Heir to the Throne
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Crusader Kings II: Way of Life
When I was creating my suggestions for Jord's 1204 Fourth Crusade scenario, I added Queen Urraca of Leon-Castile, and her father, as ancestors of the scenario's kings of Leon and Castille. When adding them, I added the Emperor trait to them and Urraca's son Alfonso VII as they did claim the "imperial title" of Imperator totius Hispaniae, most often translated to Emperor of All Spain, or King of All Spain, or Queen of All Spain.

But when I was reading the text, I realized that CK only recognizes the HRE as the only legitimate Emperor in the West. Fair enough, because I too did not know of a Spainish Imperial Title until fairly recently. I think I can alter the text. But that is not my question.

We know that the Emperor trait can be earned by a character who has the German, Italian, and Burgandy title, but my question is, how would one go about changing the requirements for the Emperor trait to include the three titles of:

1. Have to have the title of King of Leon
2. Has to have any two of the following titles: Castille, Navarra, Aragon, Portugal, and/or Andalucía.
 
how would one go about changing the requirements for the Emperor trait to include the three titles of:

1. Have to have the title of King of Leon
2. Has to have any two of the following titles: Castille, Navarra, Aragon, Portugal, and/or Andalucía.

You can do it with a long or with all the different combinations.

Code:
		condition = { type = or
			condition = { type = num_king_titles value = 5 } # To allow ahistorical empires for really successful players
			condition = { type = and
				condition = { type = title value = GERM }
				condition = { type = title value = BURG }
				condition = { type = title value = ITAL }
			} # HRE
			# King of Leon plus two of Castille, Navarra, Aragon, Portugal, Andalucia
			condition = { type = and
				condition = { type = title value = LEON }
				condition = { type = or
					condition = { type = and
						condition = { type = title value = CAST }
						condition = { type = title value = NAVA }
					}
					condition = { type = and
						condition = { type = title value = CAST }
						condition = { type = title value = ARAG }
					}
					condition = { type = and
						condition = { type = title value = CAST }
						condition = { type = title value = PORT }
					}
					condition = { type = and
						condition = { type = title value = CAST }
						condition = { type = title value = ANDA }
					}
					condition = { type = and
						condition = { type = title value = NAVA }
						condition = { type = title value = ARAG }
					}
					condition = { type = and
						condition = { type = title value = NAVA }
						condition = { type = title value = PORT }
					}
					condition = { type = and
						condition = { type = title value = NAVA }
						condition = { type = title value = ANDA }
					}
					condition = { type = and
						condition = { type = title value = ARAG }
						condition = { type = title value = PORT }
					}
					condition = { type = and
						condition = { type = title value = ARAG }
						condition = { type = title value = ANDA }
					}
					condition = { type = and
						condition = { type = title value = PORT }
						condition = { type = title value = ANDA }
					}
				}
			}
		}

The above is off the top of my head, so the tags are likely wrong (in particular I'm pretty sure I have no ANDA tag in my game), but the logic should be accurate.