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
 

Veldmaarschalk

Very old guard
Super Moderator
Moderator
149 Badges
Apr 20, 2003
30.027
1.263
  • Europa Universalis IV
  • 200k Club
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • 500k Club
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 }
	}
}