orthodox Encyclicals to go with papal bulls

This commit is contained in:
Greekman 2026-10-31 20:19:55 +00:00
parent 0013e9987a
commit 8130b1aad1
6 changed files with 1422 additions and 7 deletions

View file

@ -3572,3 +3572,370 @@ pam_decision_events.0032 = {
}
}
}
# Orthodox Encyclical event outcomes. The first choice uses the decision widget,
# so there is no separate initial event to interrupt the second-step selector.
# Solemn Orthodox encyclicals: formal promulgation events after the selected action.
# The decisions apply their effects immediately; these events record the proclamation.
pam_decision_events.0410 = {
type = character_event
window = big_event_window
theme = christian
title = pam_decision_events.0410.t
desc = {
desc = neow_encyclical.desc.intro
desc = pam_decision_events.0410.desc
desc = neow_encyclical.desc.outro
}
override_background = { reference = holy_site_unique }
override_effect_2d = { reference = legend_glow }
left_portrait = {
character = scope:crusader_1
animation = sword_shield_aggressive
hide_info = yes
}
center_portrait = { character = root animation = preaching }
right_portrait = {
character = scope:crusader_2
animation = celebrate_sword
hide_info = yes
}
immediate = {
save_scope_as = neow_encyclical_issuer
play_music_cue = "mx_cue_crusade_starts"
hidden_effect = {
create_character = {
location = root.location
template = pam_crusader_template
faith = root.faith
rite = root.rite
culture = root.culture
save_scope_as = crusader_1
}
create_character = {
location = root.location
template = pam_crusader_template
faith = root.faith
rite = root.rite
culture = root.culture
save_scope_as = crusader_2
}
scope:crusader_1 = { add_character_flag = need_military_outfit }
scope:crusader_2 = { add_character_flag = need_military_outfit }
}
}
option = {
name = pam_decision_events.0410.a
flavor = neow_encyclical.option.flavor
# Native Bull GHW machinery uses this flag internally, with our Orthodox target.
set_variable = { name = ghw_through_bull_var years = 1 }
pam_start_bull_great_holy_war_effect = { GHW_SPONSOR = root FAITH = faith }
custom_tooltip = neow_pick_crusade_target_encyclical_decision_effect_tt
}
after = {
hidden_effect = {
scope:crusader_1 = { move_to_pool = yes }
scope:crusader_2 = { move_to_pool = yes }
}
}
}
pam_decision_events.0411 = {
type = character_event
window = big_event_window
theme = christian
title = pam_decision_events.0411.t
desc = {
desc = neow_encyclical.desc.intro
desc = pam_decision_events.0411.desc
desc = neow_encyclical.desc.outro
}
override_background = { reference = holy_site_unique }
override_effect_2d = { reference = legend_glow }
left_portrait = { character = root animation = preaching }
lower_right_portrait = {
trigger = { exists = scope:heresiarch }
character = scope:heresiarch
}
immediate = {
save_scope_as = neow_encyclical_issuer
save_scope_as = bull_issuer # required by PAM heresy effect
play_music_cue = "mx_cue_councils_judgement"
if = {
limit = { NOT = { exists = scope:heresy_rite } exists = scope:selected_item }
scope:selected_item = { save_scope_as = heresy_rite }
}
if = {
limit = { exists = scope:heresy_rite.head_of_rite }
scope:heresy_rite.head_of_rite = { save_scope_as = heresiarch }
}
}
option = {
name = pam_decision_events.0411.a
flavor = neow_encyclical.option.flavor
pam_declare_rite_heresy_effect = yes
}
after = {
faith = {
every_faith_character = {
limit = { is_ruler = yes this != scope:neow_encyclical_issuer }
trigger_event = { id = pam_decision_events.0401 days = 1 }
}
}
if = {
limit = { exists = scope:heresy_rite }
hidden_effect = {
if = {
limit = {
scope:heresy_rite.faith.religious_head ?= { NOT = { has_trait = heresiarch } }
}
scope:heresy_rite.faith.religious_head = { add_trait = heresiarch }
}
else_if = {
limit = {
scope:heresy_rite.main_rite.head_of_rite ?= { NOT = { has_trait = heresiarch } }
}
scope:heresy_rite.main_rite.head_of_rite = { add_trait = heresiarch }
}
if = {
limit = {
scope:heresy_rite.faith = { has_doctrine = special_doctrine_ecumenical_christian }
}
scope:heresy_rite.faith = { remove_doctrine = special_doctrine_ecumenical_christian }
}
}
}
}
}
pam_decision_events.0412 = {
type = character_event
window = big_event_window
theme = christian
title = pam_decision_events.0412.t
desc = {
desc = neow_encyclical.desc.intro
desc = pam_decision_events.0412.desc
desc = neow_encyclical.desc.outro
}
override_background = { reference = holy_site_unique }
override_effect_2d = { reference = legend_glow }
widget = {
gui = "event_window_widget_rite"
container = "custom_widgets_container"
}
left_portrait = { character = root animation = preaching }
immediate = {
save_scope_as = neow_encyclical_issuer
play_music_cue = "mx_cue_epic_sacral_moment"
if = {
limit = { exists = scope:pam_tenet_stance_tenet }
scope:pam_tenet_stance_tenet = { save_scope_as = tenet_scope }
}
else_if = {
limit = { exists = scope:selected_item }
scope:selected_item = { save_scope_as = tenet_scope }
}
}
option = {
name = pam_decision_events.0412.a
flavor = neow_encyclical.option.flavor
faith = {
set_tenet_status = { tenet = scope:tenet_scope status = permitted }
change_fervor = { value = significant_fervor_loss desc = fervor_loss_pam_tenet_permitted }
if = {
limit = { has_tenet_popularity_trigger = yes }
change_tenet_popularity = { target = scope:tenet_scope change = medium_tenet_popularity_gain }
}
pam_faith_cleanup_forbidden_personal_tenet_secrets_effect = yes
}
}
after = {
faith = {
every_faith_character = {
limit = { is_ruler = yes this != scope:neow_encyclical_issuer }
trigger_event = { id = pam_decision_events.0402 days = 1 }
}
}
}
}
pam_decision_events.0413 = {
type = character_event
window = big_event_window
theme = christian
title = pam_decision_events.0413.t
desc = {
desc = neow_encyclical.desc.intro
desc = pam_decision_events.0413.desc
desc = neow_encyclical.desc.outro
}
override_background = { reference = holy_site_unique }
override_effect_2d = { reference = legend_glow }
widget = {
gui = "event_window_widget_rite"
container = "custom_widgets_container"
}
left_portrait = { character = root animation = preaching }
immediate = {
save_scope_as = neow_encyclical_issuer
play_music_cue = "mx_cue_epic_sacral_moment"
if = {
limit = { exists = scope:pam_tenet_stance_tenet }
scope:pam_tenet_stance_tenet = { save_scope_as = tenet_scope }
}
else_if = {
limit = { exists = scope:selected_item }
scope:selected_item = { save_scope_as = tenet_scope }
}
}
option = {
name = pam_decision_events.0413.a
flavor = neow_encyclical.option.flavor
faith = {
set_tenet_status = { tenet = scope:tenet_scope status = prohibited }
change_fervor = { value = notable_fervor_value desc = fervor_gain_pam_tenet_prohibited }
if = {
limit = { has_tenet_popularity_trigger = yes }
change_tenet_popularity = { target = scope:tenet_scope change = major_tenet_popularity_loss }
}
pam_faith_grant_forbidden_personal_tenet_secrets_effect = { TENET = scope:tenet_scope }
}
}
after = {
faith = {
every_faith_character = {
limit = { is_ruler = yes this != scope:neow_encyclical_issuer }
trigger_event = { id = pam_decision_events.0402 days = 1 }
}
}
}
}
pam_decision_events.0401 = {
type = letter_event
opening = pam_decision_events.0401.opening
desc = pam_decision_events.0401.desc
sender = scope:bull_issuer
option = {
name = pam_decision_events.0401.a
custom_tooltip = pam_declare_rite_heresy_effect_tt
}
}
pam_decision_events.0402 = {
type = letter_event
opening = pam_decision_events.0402.opening
desc = {
first_valid = {
triggered_desc = {
trigger = { exists = scope:pam_tenet_stance_permit }
desc = pam_decision_events.0402.desc.permitted
}
triggered_desc = {
trigger = { exists = scope:pam_tenet_stance_prohibit }
desc = pam_decision_events.0402.desc.prohibited
}
desc = pam_decision_events.0402.desc.fallback
}
}
sender = scope:pam_tenet_stance_issuer
option = {
trigger = {
NAND = {
exists = scope:pam_tenet_stance_prohibit
has_personal_tenet = scope:pam_tenet_stance_tenet
}
}
name = {
trigger = {
exists = scope:pam_tenet_stance_permit
has_personal_tenet = scope:pam_tenet_stance_tenet
}
text = pam_tenet_stance_judgement_personal_permit
}
name = {
trigger = {
exists = scope:pam_tenet_stance_permit
any_desired_tenet = {
this = scope:pam_tenet_stance_tenet
}
}
text = pam_tenet_stance_judgement_aligned_permit
}
name = {
trigger = {
exists = scope:pam_tenet_stance_prohibit
any_desired_tenet = {
this = scope:pam_tenet_stance_tenet
}
}
text = pam_tenet_stance_judgement_aligned_prohibit
}
name = {
trigger = { exists = scope:pam_tenet_stance_permit }
text = pam_tenet_stance_judgement_distant_permit
}
name = {
trigger = { exists = scope:pam_tenet_stance_prohibit }
text = pam_tenet_stance_judgement_distant_prohibit
}
name = pam_tenet_stance_judgement_neutral
show_as_tooltip = {
if = {
limit = {
exists = scope:pam_tenet_stance_permit
}
faith = {
set_tenet_status = {
tenet = scope:selected_item
status = permitted
}
change_fervor = {
value = significant_fervor_loss
desc = fervor_loss_pam_tenet_permitted
}
}
}
else = {
faith = {
set_tenet_status = {
tenet = scope:selected_item
status = prohibited
}
change_fervor = {
value = notable_fervor_value
desc = fervor_gain_pam_tenet_prohibited
}
}
}
}
}
option = {
trigger = {
exists = scope:pam_tenet_stance_prohibit
has_personal_tenet = scope:pam_tenet_stance_tenet
}
name = pam_decision_events.0011.b
show_as_tooltip = {
faith = {
set_tenet_status = {
tenet = scope:selected_item
status = prohibited
}
change_fervor = {
value = notable_fervor_value
desc = fervor_gain_pam_tenet_prohibited
}
}
}
add_stress = medium_stress_gain
}
}