• Header: Paradox Halloween Sale has arrived! Up to 75% off!

    Enjoy some seriously spooky prices in the Paradox Halloween Sale! Our entire catalog of games is on sale until 2nd of November at 17:00 CET / 09:00 PDT.


    Oct 25th - Nov 2nd

jordarkelf

01_TITLE_STRING
156 Badges
Jul 13, 2005
8.040
635
erbkaiser.nl
  • Impire
  • 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
  • For the Motherland
  • Galactic Assault
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Iron Cross
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Island Bound
  • Crusader Kings II: Sons of Abraham
  • Ancient Space
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • A Game of Dwarves
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • Dungeonland
  • East India Company
  • East India Company Collection
  • Europa Universalis III
DVIP Addon default female inheritance law, this will allow a ruler to switch to cognatic primogeniture if the following conditions are met:
1) Ruler is a female OR ruler is a male with no male heirs,
2) Realm law is not elective or salic,
3) Ruler is not jewish or muslim
4) Realm is not in trouble

This event replaces the monastic supremacy church law.

Code:
character_event = { # Female inheritance law 
    id = 23230 
    picture = "event_law" 
    trigger = {
        condition = { type = ruler } 
        condition = { type = not value = { type = trait value = stubborn } } 
        condition = { type = form_of_goverment value = feudal } 
        condition = { type = not value = { type = religion value = moslem } } 
        condition = { type = not value = { type = religion value = jewish } } 
		condition = { type = or
			condition = { type = gender value = female } #Ruler is a woman
			condition = { type = and
				condition = { type = gender value = male } #Ruler is a man with no male heirs
				condition = { type = and 
					condition = { type = any_child
						condition = { type = gender value = male }
						condition = { type = not value = { type = trait value = bastard } }
						condition = { type = not value = { type = ruler_child } } 
						condition = { type = save_target }
					}
					condition = { type = not value = { type = has_target } }
				}
			}
		}
		condition = { type = any_child #Has a legitimate daughter
			condition = { type = gender value = female }
			condition = { type = not value = { type = trait value = bastard } }
		}
		condition = { type = not value = { type = has_law value = { elective_law = yes } } } 
		condition = { type = not value = { type = has_law value = { salic_primogeniture_law = yes } } } 
		condition = { type = not value = { type = has_law value = { salic_consanguinity_law = yes } } } 
		condition = { type = not value = { type = has_law value = { salic_gavelkind_law = yes } } }
		condition = { type = not value = { type = has_law value = { monastic_supremacy = yes } } }
    }
    mean_time_to_happen = { 
        months = 24 
    } 
    action_a = { #Don't change 
        ai_chance = 60 
        effect = { type = add_trait value = stubborn } 
    } 
    action_b = { #Change to female inheritance 
        ai_chance = 40 
            modifier = { 
                condition = { type = or 
                    condition = { type = culture value = saxon }	#England 
                    condition = { type = culture value = english }	#England 
                    condition = { type = culture value = norman }	#England, Crusader realms 
                    condition = { type = culture value = castillan } #Iberia 
                    condition = { type = culture value = catalan}	#Iberia 
                    condition = { type = culture value = scottish}	#Scotland 
                    condition = { type = culture value = latin }	#Occitania and Crusader realms 
                    condition = { type = culture value = danish }	#Denmark 
                    condition = { type = culture value = celtic }	#Brittany 
                    condition = { type = culture value = italian }	#Tuscany 
                    condition = { type = culture value = georgian }	#Georgia 
                } 
				factor = 1.6
			} 
        effect = { type = set_law value = monastic_supremacy }
    } 
}

In config\law_names.csv:
Code:
MONASTIC_SUPREMACY;Cognatic Primogeniture;;;;;;;;;;X
MONASTIC_SUPREMACY_DESC;Rule of inheritance whereby land descends through the line of oldest living son. However should there exist no male then it goes to the oldest daughter. The effect of this rule was to keep the father's land for the support of the son who rendered the required military service. Church opposes:  clergy power  will give you gold instead of troops. Church Donations slider limited by (Min.50 Max.100). Bishops appointment chances as follows (Ruler 30/Pope 70).;;;;;;;;;;X

In db\laws.txt:
Code:
monastic_supremacy = {
	[B]group = 0[/B]
}

In config\mod_text.csv:
Code:
EVT_23230_NAME;You are without an heir, maybe you should open the succession to women?;;;;;;;;;;X
ACTIONNAME23230A;Never!;;;;;;;;;;X
ACTIONNAME23230B;Good idea!;;;;;;;;;;X
 
Last edited:

jordarkelf

01_TITLE_STRING
156 Badges
Jul 13, 2005
8.040
635
erbkaiser.nl
  • Impire
  • 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
  • For the Motherland
  • Galactic Assault
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Iron Cross
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Island Bound
  • Crusader Kings II: Sons of Abraham
  • Ancient Space
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • A Game of Dwarves
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • Dungeonland
  • East India Company
  • East India Company Collection
  • Europa Universalis III
Variant event, this one has other triggers:

1) Ruler does not have traditional custom or royal preorgatory law
2) Realm law is not elective or salic,
3) Ruler is not jewish or muslim
4) Realm is not in trouble
5) Ruler has a weak heir

Code:
character_event = { # Female inheritance law 
    id = 23230 
    picture = "event_law" 
    trigger = {
        condition = { type = ruler } 
        condition = { type = not value = { type = trait value = stubborn } } 
        condition = { type = form_of_goverment value = feudal } 
        condition = { type = not value = { type = religion value = moslem } } 
        condition = { type = not value = { type = religion value = jewish } } 
		condition = { type = not value = { type = atwar } }
		condition = { type = not value = { type = trait value = excommunciated } }
		condition = { type = not value = { type = trait value = realm_duress } }
		condition = { type = not value = { type = trait value = rebellious } }
		condition = { type = not value = { type = has_law value = { royal_preorgatory_law = yes } } }
		condition = { type = not value = { type = has_law value = { traditional_custom_law = yes } } }
		condition = { type = any_child condition = { type = or
			condition = { type = and
				condition = { type = gender value = male }
				condition = { type = not value = { type = trait value = bastard } }
				condition = { type = age value = 16 }
				condition = { type = not value = { type = martial value = 8 } }
				condition = { type = not value = { type = diplomacy value = 8 } }
				condition = { type = not value = { type = intrigue value = 8 } }
				condition = { type = not value = { type = stewardship value = 8 } }
			}
			condition = { type = and
				condition = { type = gender value = male }
				condition = { type = not value = { type = trait value = bastard } }
				condition = { type = age value = 16 }
				condition = { type = or
					condition = { type = not value = { type = martial value = 2 } }
					condition = { type = not value = { type = diplomacy value = 2 } }
					condition = { type = not value = { type = intrigue value = 2 } }
					condition = { type = not value = { type = stewardship value = 2 } }
				}
			}
			condition = { type = and
				condition = { type = not value = { type = age value = 10 } }
				condition = { type = father
					condition = { type = not value = { type = is_receiver } }
				}
			}
		} }
        condition = { type = not value = { type = has_law value = { elective_law = yes } } } 
        condition = { type = not value = { type = has_law value = { salic_primogeniture_law = yes } } } 
        condition = { type = not value = { type = has_law value = { salic_consanguinity_law = yes } } } 
        condition = { type = not value = { type = has_law value = { salic_gavelkind_law = yes } } }
		condition = { type = not value = { type = has_law value = { monastic_supremacy = yes } } }
    }
    mean_time_to_happen = { 
        months = 24 
    } 
    action_a = { #Don't change 
        ai_chance = 60 
        effect = { type = add_trait value = stubborn } 
    } 
    action_b = { #Change to female inheritance 
        ai_chance = 40 
            modifier = { 
                condition = { type = or 
                    condition = { type = culture value = saxon }	#England 
                    condition = { type = culture value = english }	#England 
                    condition = { type = culture value = norman }	#England, Crusader realms 
                    condition = { type = culture value = castillan } #Iberia 
                    condition = { type = culture value = catalan}	#Iberia 
                    condition = { type = culture value = scottish}	#Scotland 
                    condition = { type = culture value = latin }	#Occitania and Crusader realms 
                    condition = { type = culture value = danish }	#Denmark 
                    condition = { type = culture value = celtic }	#Brittany 
                    condition = { type = culture value = italian }	#Tuscany 
                    condition = { type = culture value = georgian }	#Georgia 
                } 
				factor = 1.6
			} 
        effect = { type = set_law value = monastic_supremacy }
    } 
}

In config\mod_text.csv:
Code:
EVT_23230_NAME;Should we open the succession to women?;;;;;;;;;;X
ACTIONNAME23230A;Never!;;;;;;;;;;X
ACTIONNAME23230B;Good idea!;;;;;;;;;;X

This one can be used in place of the default one, if you want more realms to adopt the law.
The same adjustments to db\laws.txt and config\law_names.csv must be made.
 
Last edited:

RuyDiaz

Corporal
49 Badges
Jan 19, 2007
43
0
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Monks and Mystics
  • Victoria 2: A House Divided
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Crusader Kings Complete
  • BATTLETECH
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Sign Up
  • Europa Universalis IV
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Cities in Motion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Victoria 2
I don't think I understand this. It looks like the only effect of changing the inheritance law sets the realm's law to monastic supremacy. I don't see how that lets females inherit. What am I missing?
 

jordarkelf

01_TITLE_STRING
156 Badges
Jul 13, 2005
8.040
635
erbkaiser.nl
  • Impire
  • 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
  • For the Motherland
  • Galactic Assault
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Iron Cross
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Island Bound
  • Crusader Kings II: Sons of Abraham
  • Ancient Space
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • A Game of Dwarves
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • Dungeonland
  • East India Company
  • East India Company Collection
  • Europa Universalis III
It tricks the game into setting a church law as an inheritance law. Since church laws do not do anything about inheritance, it will force the game to use the built-in default inheritance laws, which happen to be doing exactly what we want: male privilege primogeniture, so women can inherit after males.

My first take on this was to just set an invalid law (not using a church law), but that causes a crash on WindowsXP and is only usable on Vista/Win7. It can also not be used in the GUI, whereas the church law trick can.
 

Drachenfire

Buckler of Wales
25 Badges
Dec 10, 2004
2.151
0
  • Europa Universalis III Complete
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Crusader Kings II
  • Europa Universalis III Complete
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Also take a look at Damsels Not In Distress for more guidence on female succession and how that impacts your game. There is a minor tweek to Jord's mode here, if he doesn't mind my plugging that. But you would be able to read that in the Damsels Not In Distress thread. See my signature for the link there.