﻿# please replace and fix up vanilla in the future

# NEOW: Retain disabled historical situation chain. Only the new 1.21 catalyst event is available.
namespace = pam_the_christian_church

pam_the_christian_church.0064 = {
	type = character_event
	queue_icon = "gfx/interface/icons/situation_types/christian_church.dds"
	queue_name = the_christian_church
	override_sound = { reference = "event:/DLC/CE3/SFX/Stingers/ce3_mx_sting_ChristianSituation_Crisis" }
	title = pam_the_christian_church.0064.t
	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					scope:schism_mainline_head ?= this
				}
				desc = pam_the_christian_church.0064.desc.opening.self_mainline
			}
			triggered_desc = {
				trigger = {
					scope:schism_competitor_head ?= this
				}
				desc = pam_the_christian_church.0064.desc.opening.self_competitor
			}
			desc = pam_the_christian_church.0064.desc.opening
		}
		desc = pam_the_christian_church.0064.desc
	}
	theme = christian

	left_portrait = {
		trigger = { exists = scope:schism_mainline_head }
		character = scope:schism_mainline_head
		animation = personality_zealous
	}
	right_portrait = {
		trigger = { exists = scope:schism_competitor_head }
		character = scope:schism_competitor_head
		animation = disapproval
	}

	immediate = {
		play_music_cue = mx_cue_the_shepherds_flock
		save_christian_church_scopes_effect = yes
		situation:the_christian_church = {
			save_scope_as = situation
			if = {
				limit = { situation_top_has_catalyst = catalyst_the_christian_church_great_schism }
				trigger_situation_catalyst = catalyst_the_christian_church_great_schism
			}
		}
	}

	option = {
		name = pam_the_christian_church.0064.a
		custom_tooltip = pam_the_christian_church.0064.a.tt
		custom_tooltip = GREAT_SCHISM_PROGRESS_EFFECT_TT
		clicksound = "event:/DLC/FP2/SFX/UI/fp2_struggle_start_select"
	}
}
