Scripted effect
game_rule_full_gender_equality_effect
game_rule_full_gender_equality_effect = yesgame/common/scripted_effects/00_game_rule_effects.txt, line 402 (67 lines). No parameters.
game_rule_full_gender_equality_effect is a scripted effect in Crusader Kings III, written at line 402 of its file. It takes no parameters: game_rule_full_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.
The comment above it in the file
Full equality
What it does
- Every religion global › Every faith › Every faith rite:
change_rite_doctrine = doctrine_gender_equalchange_rite_doctrine = doctrine_clerical_gender_eitherIf
One of these
- Has the Accepted Doctrine
Then
change_rite_doctrine = doctrine_adultery_men_acceptedchange_rite_doctrine = doctrine_adultery_women_accepted
- Every ruler:
If
One of these
- Has the Male Preference Law
or
Has the Female Preference Lawor
Has the Female Only Lawor
Has the Male Only Law
Then
- Every culture global:
If
One of these
- Their Culture has the Men Only Cultural Pillar
or
Their Culture has the Women Only Cultural Pillar
Then
set_culture_pillar = martial_custom_equal
• 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 (67 lines of game script)
game_rule_full_gender_equality_effect = {
every_religion_global = {
every_faith = {
every_faith_rite = {
change_rite_doctrine = doctrine_gender_equal
change_rite_doctrine = doctrine_clerical_gender_either
## DOCTRINE_ADULTERY_MEN & DOCTRINE_ADULTERY_WOMEN
#Makes the adultery doctrine same for both genders (picks lesser version)
#Any of them accepted? Both should be accepted
if = {
limit = {
OR = {
rite_has_doctrine = doctrine_adultery_men_accepted
rite_has_doctrine = doctrine_adultery_women_accepted
}
}
change_rite_doctrine = doctrine_adultery_men_accepted
change_rite_doctrine = doctrine_adultery_women_accepted
}
##Any of them shunned? Both should be shunned
else_if = {
limit = {
OR = {
rite_has_doctrine = doctrine_adultery_men_shunned
rite_has_doctrine = doctrine_adultery_women_shunned
}
}
change_rite_doctrine = doctrine_adultery_men_shunned
change_rite_doctrine = doctrine_adultery_women_shunned
}
##Else: they're both criminal, nothing to do here
}
}
}
## REALM LAW
every_ruler = {
if = {
limit = {
OR = {
has_realm_law = male_preference_law
has_realm_law = female_preference_law
has_realm_law = female_only_law
has_realm_law = male_only_law
}
}
add_realm_law = equal_law
}
}
## CULTURES - MARTIAL CUSTOM
every_culture_global = {
if = {
limit = {
OR = {
has_cultural_pillar = martial_custom_male_only
has_cultural_pillar = martial_custom_female_only
}
}
set_culture_pillar = martial_custom_equal
}
}
#Specific titles' 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_full_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.