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

ecumenical_council_become_conservative_effect

ecumenical_council_become_conservative_effect = { CHARACTER = … }

game/common/scripted_effects/pam_ecumenical_council_effects.txt, line 256 (120 lines). Parameters: $CHARACTER$.

ecumenical_council_become_conservative_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 256 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them Like Thunder (event ecumenical_council_events_josh.0011), Where Do You Stand? (event pam_investiture_council_events.0031) and ecumenical_council_sway_to_conservatives_effect (scripted effect). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_ecumenical_council_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (120 lines of game script)
ecumenical_council_become_conservative_effect = {
	scope:activity.var:current_topic ?= { save_scope_as = ec_current_topic }
	$CHARACTER$ = {
		save_scope_as = ec_switch_stance
		if = {
			limit = {
				scope:activity = {
					is_target_in_variable_list = {
						name = major_innovator
						target = $CHARACTER$
					}
				}
			}
			scope:activity = {
				remove_list_variable = {
					name = major_innovator
					target = $CHARACTER$
				}
			}
		}
		if = {
			limit = {
				is_in_guest_subset = {
					name = innovator
				}
			}
			custom_tooltip = ec_innovator_becomes_conservative_tt
		}
		else = {
			custom_tooltip = ec_becomes_conservative_tt
		}
		if = {
			limit = {
				is_in_guest_subset = {
					name = innovator
				}
			}
			scope:activity = {
				remove_from_guest_subset = {
					name = innovator
					target = $CHARACTER$
				}
				add_to_variable_list = {
					name = blocked_from_innovators
					target = $CHARACTER$
				}
				if = {
					limit = {
						has_variable_list = locked_into_innovators
					}
					remove_list_variable = {
						name = locked_into_innovators
						target = $CHARACTER$
					}
				}
			}
		}
		#Not a innovator? Make them a innovator
		if = {
			limit = {
				NOT = {
					is_in_guest_subset = {
						name = conservative
					}
				}
			}
			scope:activity = {
				add_to_guest_subset = {
					name = conservative
					target = $CHARACTER$
				}
				add_to_variable_list = {
					name = locked_into_conservatives
					target = $CHARACTER$
				}
				if = {
					limit = {
						has_variable_list = blocked_from_conservatives
					}
					remove_list_variable = {
						name = blocked_from_conservatives
						target = $CHARACTER$
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					scope:activity = {
						any_in_list = {
							variable = major_conservative
							count = all
							ecumenical_council_conservative_sort_value > $CHARACTER$.ecumenical_council_conservative_sort_value
						}
					}
				}
			}
			scope:activity = {
				ordered_in_list = {
					variable = major_conservative
					order_by = {
						value = ecumenical_council_conservative_sort_value
						multiply = -1
					}
					scope:activity = {
						remove_list_variable = {
							name = major_conservative
							target = prev
						}
					}
				}
				add_to_variable_list = {
					name = major_conservative
					target = $CHARACTER$
				}
			}
		}
	}
}

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

Where it is used

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

Events (2)

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