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

KiwisFly13

Second Lieutenant
88 Badges
Nov 26, 2012
180
7
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Surviving Mars
  • Cities: Skylines Industries
  • Hearts of Iron IV: No Step Back
  • Prison Architect: Psych Ward
  • Victoria 3 Sign Up
  • Stellaris: Necroids
  • Island Bound
  • Stellaris: Federations
  • Europa Universalis IV: Pre-order
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Hearts of Iron III
  • Stellaris
  • Crusader Kings III
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Stellaris Sign-up
  • Europa Universalis IV
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Cities: Skylines
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?

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???