Scripted effect
game_rule_lenient_gender_equality_effect
game_rule_lenient_gender_equality_effect = yesgame/common/scripted_effects/00_game_rule_effects.txt, line 733 (24 lines). No parameters.
game_rule_lenient_gender_equality_effect is a scripted effect in Crusader Kings III, written at line 733 of its file. It takes no parameters: game_rule_lenient_gender_equality_effect = yes. The game's script calls it in 1 place, among them on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_game_rule_effects.txt.
What it does
- Every ruler:
- Where: Their government is not a Theocratic-type Government
- Every held title:
- Where:
If
has_title_law = male_only_law
Then
remove_title_law = male_only_lawadd_title_law = male_preference_law
- If has the Male Only Law: Adopts the Male Preference Law
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (24 lines of game script)
game_rule_lenient_gender_equality_effect = {
## REALM LAW
every_ruler = {
# Theocratic gender laws are dictated by the Clerical Gender doctrine, so they have no preference laws to relax into.
limit = {
NOT = { government_has_flag = government_is_theocracy }
}
# Take care of any titles with their own title laws.
every_held_title = {
limit = { can_title_have_law_general_trigger = yes }
# Make male only -> male preference.
if = {
limit = { has_title_law = male_only_law }
remove_title_law = male_only_law
add_title_law = male_preference_law
}
}
# Now realm law.
if = {
limit = { has_realm_law = male_only_law }
add_realm_law = male_preference_law
}
}
}As written in game/common/scripted_effects/00_game_rule_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls game_rule_lenient_gender_equality_effect.
On actions (the game's own hooks) (1)
- on_game_start_after_lobby
Source: game/common/scripted_effects/00_game_rule_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.