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

unmerged(226921)

Banned
4 Badges
Sep 14, 2010
246
0
  • Deus Vult
  • For The Glory
  • Penumbra - Black Plague
  • Sword of the Stars
While I know how to create new traits and apply them to the game properly, I was wondering if it was possible for an event to assign the trait once an individual becomes King? I imagine if so, it ties into tiers and the like.

If not, is there any way I can get around it beyond manually adding the trait to Kings I notice? I want to add this trait so I know who to add regnal numbers too, as it becomes quite hard to pay attention to the other Kingdoms the entire game and even if you did, I'm not so sure you'd remember every King of France :)

The Great
 
I haven't tested this, but I think it should work
Code:
character_event = {
	id = ######

	picture = "event_claim"

	trigger = {
		condition = { type = kingdom }
		condition = { type = not value = { type = trait value = user_defined_a } }
		}
	immidiate = { 
		effect = { type = add_trait value = user_defined_a }
	}
}