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

Scripted effect · By God Alone files

pam_unite_miaphysite_churches_effect

pam_unite_miaphysite_churches_effect = yes

game/common/scripted_effects/pam_effects.txt, line 7594 (61 lines). No parameters.

pam_unite_miaphysite_churches_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 7594 of its file. It takes no parameters: pam_unite_miaphysite_churches_effect = yes. The game's script calls it in 1 place, among them Unite the Miaphysite Churches (decision). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

Rite followers move with their rites

What it does

  • If their faith is Coptic: … with all of its Rites is folded into … Faith
  • Otherwise: … with all of its Rites is folded into … Faith
  • Their faith: Fervor increases by +25
  • set_nickname_effect = { NICKNAME = nick_the_ecumenist }

• 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 (61 lines of game script)
pam_unite_miaphysite_churches_effect = {
	save_scope_as = unifier
	if = {
		limit = { faith = faith:miaphysitism }
		custom_tooltip = {
			text = pam_unite_miaphysite_churches_effect_tt
			faith = { save_scope_as = uniting_faith }
			faith:armenian_apostolic = {
				save_scope_as = absorbed_faith
				remove_religious_head_title = yes
				every_faith_rite = {
					limit = { faith != scope:uniting_faith }
					set_parent_faith = {
						target = faith:miaphysitism
						main = no
						include_derived = no
					}
				}
			}
		}
	}
	else = {
		custom_tooltip = {
			text = pam_unite_miaphysite_churches_effect_tt
			faith = { save_scope_as = uniting_faith }
			faith:miaphysitism = {
				save_scope_as = absorbed_faith
				remove_religious_head_title = yes
				every_faith_rite = {
					limit = { faith != scope:uniting_faith }
					set_parent_faith = {
						target = faith:armenian_apostolic
						main = no
						include_derived = no
					}
				}
			}
		}
	}
	faith = {
		change_fervor = {
			value = medium_fervor_gain
			desc = fervor_gain_mended_schism
		}
	}
	hidden_effect = {
		every_player = {
			limit = {
				this != root
				faith = scope:uniting_faith
			}
			send_interface_message = {
				type = event_generic_good_with_text
				title = pam_unite_miaphysite_churches_message
				desc = pam_unite_miaphysite_churches_message_desc
				left_icon = scope:unifier
			}
		}
	}
	set_nickname_effect = { NICKNAME = nick_the_ecumenist }
}

As written in game/common/scripted_effects/pam_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls pam_unite_miaphysite_churches_effect.

Source: game/common/scripted_effects/pam_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?