CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

game_rule_full_gender_equality_effect

game_rule_full_gender_equality_effect = yes

game/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_equal
    • change_rite_doctrine = doctrine_clerical_gender_either
    • If

      • One of these

      Then

      • change_rite_doctrine = doctrine_adultery_men_accepted
      • change_rite_doctrine = doctrine_adultery_women_accepted

      Else if

      Then

      • change_rite_doctrine = doctrine_adultery_men_shunned
      • change_rite_doctrine = doctrine_adultery_women_shunned
  • Every ruler:
  • Every culture global:

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

Spotted a mistake on this page?