I thought it would be handy to be able to create a cadet branch of your dynasty if you are a bastard, legitimised bastard or kinslayer.
Below is the code I can only think to create a random dynasty, unless anyone knows it to be possible I would assume that triggering the dynasty creator page from the Ruler Designer DLC is impossible as its hard coded?
Any ideas? Otherwise I will just go with a random dynasty....
I only really mod in my spare time just to see what I can. I can't seem to make this work though... don't know what I am missing.
I think that a decision like this would be excellent in the game as quite a few cadet branches became prominent (the Plantagenets for example).
Perhaps an idea for the next update???
Below is the code I can only think to create a random dynasty, unless anyone knows it to be possible I would assume that triggering the dynasty creator page from the Ruler Designer DLC is impossible as its hard coded?
Code:
dynasty_decisions = {
create_cadet_branch = {
is_high_prio = yes
potential = {
AND = {
NOT = has_character_flag = cadet_branch_created
OR = {
has_trait = legit_bastard
has_trait = bastard
has_trait = kinslayer
}
}
}
allow = {
FROM = { prestige = 100 }
is_adult = yes
prisoner = no
war = no
male = yes
is_father = no
is_primary_heir = no
capable_only = yes
}
effect = {
FROM = { prestige = -20 }
FROM = { dynasty = random }
#or somehow decide on a dynasty name etc.
#has_dlc = ruler_designer
recalc_succession = yes
add_character_flag = cadet_branch_created
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
modifier = {
factor = 0.1
OR = {
is_landed = yes
is_independant = yes
AND = { has_trait = kinslayer
NOT = { has_trait = legit_bastard }
NOT = { has_trait = bastard }
}
}
}
}
}
}
Any ideas? Otherwise I will just go with a random dynasty....
I only really mod in my spare time just to see what I can. I can't seem to make this work though... don't know what I am missing.
I think that a decision like this would be excellent in the game as quite a few cadet branches became prominent (the Plantagenets for example).
Perhaps an idea for the next update???