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.
In config\law_names.csv:
In db\laws.txt:
In config\mod_text.csv:
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: