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

vanin

Colonel
65 Badges
May 7, 2008
1.090
510
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Rome Gold
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Heir to the Throne
  • For The Glory
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Arsenal of Democracy
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
I think this could work:


##########################
# The Crown Prince(ss)
##########################
title_crown_prince = {
courtier = yes
grantable = yes
grant_limit = 1

allow = {
country = { government = monarchy }
is_ruler = no
from_ruler_family = yes
}

gain_trigger = {
is_primary_heir = yes
}

gain_effect = {
loyalty = 50
}
lose_trigger = {
OR = {
is_primary_heir = no
country = { NOT = { government = monarchy } }
}
}
dismissal_trigger = {
always = no
}
lose_effect = {
loyalty = -30
}

prominence = 40
monthly_character_wealth = 0.3
monthly_character_loyalty = 1
monthly_character_popularity = 0.05
monthly_character_prominence = 0.3
}


Will add that I haven't tested this yet, will do straight away, just gave it a try as I read this post.
 

mate0815

Field Marshal
62 Badges
Feb 2, 2007
3.165
259
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Sengoku
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III Complete
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Prison Architect
  • Europa Universalis III
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • East India Company
  • Cities in Motion
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
I think this could work:


##########################
# The Crown Prince(ss)
##########################
title_crown_prince = {
courtier = yes
grantable = yes
grant_limit = 1

allow = {
country = { government = monarchy }
is_ruler = no
from_ruler_family = yes
}

gain_trigger = {
is_primary_heir = yes
}

gain_effect = {
loyalty = 50
}
lose_trigger = {
OR = {
is_primary_heir = no
country = { NOT = { government = monarchy } }
}
}
dismissal_trigger = {
always = no
}
lose_effect = {
loyalty = -30
}

prominence = 40
monthly_character_wealth = 0.3
monthly_character_loyalty = 1
monthly_character_popularity = 0.05
monthly_character_prominence = 0.3
}


Will add that I haven't tested this yet, will do straight away, just gave it a try as I read this post.

no way, it doesnt work. the gain_trigger - part let the title give automaticly to the primary_heir. and this one:
Code:
##########################
# The Crown Prince(ss)
##########################
title_crown_prince = {
        grantable = yes
        grant_limit = 1
	
        allow = {
		country = { government = monarchy }
		is_ruler = no
		from_ruler_family = yes
	}
	
	gain_effect = {
		loyalty = 50
	}
	lose_trigger = {
		OR = {
			country = { NOT = { government = monarchy } }
		}
	}
	dismissal_trigger = {
		always = no
	}
	lose_effect = {
		loyalty = -30
	}
	
	prominence = 40
	monthly_character_wealth = 0.3
	monthly_character_loyalty = 1
	monthly_character_popularity = 0.05
	monthly_character_prominence = 0.3
}

works, but it will not change the further primary_heir from his/her position. only the title with the bonuses is given to the grantable character.

it seems, the primary_heir can only be stopped with ingame actions. ;)
 
Last edited:

mate0815

Field Marshal
62 Badges
Feb 2, 2007
3.165
259
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Sengoku
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III Complete
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Prison Architect
  • Europa Universalis III
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • East India Company
  • Cities in Motion
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
Noob? Well, yeah kinda :)

i don´t mean N00b, i meant noway, sorry. i´d never call you n00b, vanin - i know, that you make a good work. most times... ;)
 
Last edited: