Went another route and it got a bit more complicated but it is doable. I went through an event. I'm just not strong enough on changing scopes. Maybe when I get stronger on it I'll be able to do it right out of a decision. As it stands, I did a decision and shot an event out. A few minor quirks to do here but I'll get those fixed as I work on them.
DECISION IS:
Code:
decisions = {
assign_salerno = {
potential = {
tier = duke
has_landed_title = c_salerno
}
allow = {
}
effect = {
create_character = {
attributes = {
diplomacy = 20
martial = 10
stewardship =10
intrigue = 5
learning = 10
}
age = 20
religion = ROOT
culture = ROOT
dynasty = random
trait = grey_eminence
trait = fair
trait = genius
trait = poet
trait = fashion
trait = charitable
trait = diligent
trait = kind
trait = patient
trait = honest
trait = gregarious
trait = trusting
trait = sociable
trait = observant
trait = calm
trait = loyal
trait = bible
trait = idealistic
trait = constant
trait = oldfashioned
trait = lively
trait = eloquent
trait = friendly
trait = goodintuition
trait = reliable
trait = graceful
trait = quipster
trait = submissive
trait = magnetic
trait = tolerant
trait = optimistic
trait = funny
trait = melodious_voice
}
new_character = {
character_event = { id = 2000000000 }
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 0
}
}
}
THE EVENTS ARE:
Code:
character_event = {
id = 2000000000
desc = "GAIN SALERNO"
picture = "GFX_evt_vassal_gains_county"
is_triggered_only = yes
option = {
name = "I am going to be given Salerno"
liege = {
character_event = { id = 2000000001 }
}
}
}
character_event = {
id = 2000000001
desc = "GAIN SALERNO"
picture = "GFX_evt_vassal_gains_county"
is_triggered_only = yes
option = {
name = "I will give her Salerno"
random_demesne_title = {
limit = {
title = c_salerno
}
grant_title = FROM
}
}
}
Good new is... THIS WORKS... Bad news is... IT'S MORE WORK THAN I THOUGHT. This is going to take quite some time to do all of the counties and even longer if baronies also.