From b922a2f9b63703ed17537f270d0890d94a180233 Mon Sep 17 00:00:00 2001 From: Greekman Date: Wed, 25 Nov 2026 01:20:15 +0000 Subject: [PATCH] fixing ecumenical councils, again, change guy to break them is being hang --- .../activity_types/ecumenical_council.txt | 80 +- .../NEOW_religion_effects.txt | 8 +- .../pam_ecumenical_council_effects.txt | 10 +- .../pam_scripted_triggers.txt | 14 +- .../pam_ecumenical_council_events.txt | 15816 ++++++++++++++++ .../pam_ecumenical_council_events_josh.txt | 4461 ----- 6 files changed, 15859 insertions(+), 4530 deletions(-) create mode 100644 events/activities/ecumenical_council_activity/pam_ecumenical_council_events.txt diff --git a/common/activities/activity_types/ecumenical_council.txt b/common/activities/activity_types/ecumenical_council.txt index 5a31ea2f5..537a49ad6 100644 --- a/common/activities/activity_types/ecumenical_council.txt +++ b/common/activities/activity_types/ecumenical_council.txt @@ -593,51 +593,46 @@ } if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_monogamy scope:ec_debate_topic_3 = doctrine:doctrine_polygamy scope:ec_debate_topic_3 = doctrine:doctrine_concubines } } - trigger_event = ecumenical_council_events_josh.0200 + trigger_event = ecumenical_council_events.0050 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_divorce_disallowed scope:ec_debate_topic_3 = doctrine:doctrine_divorce_approval scope:ec_debate_topic_3 = doctrine:doctrine_divorce_allowed } } - trigger_event = ecumenical_council_events_josh.0201 + trigger_event = ecumenical_council_events.0051 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_bastardry_none scope:ec_debate_topic_3 = doctrine:doctrine_bastardry_legitimization scope:ec_debate_topic_3 = doctrine:doctrine_bastardry_all } } - trigger_event = ecumenical_council_events_josh.0202 + trigger_event = ecumenical_council_events.0052 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_homosexuality_crime scope:ec_debate_topic_3 = doctrine:doctrine_homosexuality_shunned scope:ec_debate_topic_3 = doctrine:doctrine_homosexuality_accepted } } - trigger_event = ecumenical_council_events_josh.0203 + trigger_event = ecumenical_council_events.0053 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_deviancy_crime scope:ec_debate_topic_3 = doctrine:doctrine_deviancy_shunned @@ -645,33 +640,30 @@ scope:ec_debate_topic_3 = doctrine:doctrine_deviancy_virtuous } } - trigger_event = ecumenical_council_events_josh.0204 + trigger_event = ecumenical_council_events.0054 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_adultery_men_crime scope:ec_debate_topic_3 = doctrine:doctrine_adultery_men_shunned scope:ec_debate_topic_3 = doctrine:doctrine_adultery_men_accepted } } - trigger_event = ecumenical_council_events_josh.0205 + trigger_event = ecumenical_council_events.0055 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_adultery_women_crime scope:ec_debate_topic_3 = doctrine:doctrine_adultery_women_shunned scope:ec_debate_topic_3 = doctrine:doctrine_adultery_women_accepted } } - trigger_event = ecumenical_council_events_josh.0206 + trigger_event = ecumenical_council_events.0056 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_kinslaying_any_dynasty_member_crime scope:ec_debate_topic_3 = doctrine:doctrine_kinslaying_extended_family_crime @@ -680,11 +672,10 @@ scope:ec_debate_topic_3 = doctrine:doctrine_kinslaying_accepted } } - trigger_event = ecumenical_council_events_josh.0207 + trigger_event = ecumenical_council_events.0057 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_witchcraft_crime scope:ec_debate_topic_3 = doctrine:doctrine_witchcraft_shunned @@ -692,22 +683,20 @@ scope:ec_debate_topic_3 = doctrine:doctrine_witchcraft_virtuous } } - trigger_event = ecumenical_council_events_josh.0208 + trigger_event = ecumenical_council_events.0058 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_gender_male_dominated scope:ec_debate_topic_3 = doctrine:doctrine_gender_equal scope:ec_debate_topic_3 = doctrine:doctrine_gender_female_dominated } } - trigger_event = ecumenical_council_events_josh.0209 + trigger_event = ecumenical_council_events.0059 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_consanguinity_dynastic scope:ec_debate_topic_3 = doctrine:doctrine_consanguinity_restricted @@ -716,75 +705,68 @@ scope:ec_debate_topic_3 = doctrine:doctrine_consanguinity_unrestricted } } - trigger_event = ecumenical_council_events_josh.0210 + trigger_event = ecumenical_council_events.0060 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_pluralism_fundamentalist scope:ec_debate_topic_3 = doctrine:doctrine_pluralism_righteous scope:ec_debate_topic_3 = doctrine:doctrine_pluralism_pluralistic } } - trigger_event = ecumenical_council_events_josh.0211 + trigger_event = ecumenical_council_events.0061 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_theocracy_temporal scope:ec_debate_topic_3 = doctrine:doctrine_theocracy_lay_clergy } } - trigger_event = ecumenical_council_events_josh.0212 + trigger_event = ecumenical_council_events.0062 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_no_head scope:ec_debate_topic_3 = doctrine:doctrine_spiritual_head scope:ec_debate_topic_3 = doctrine:doctrine_temporal_head } } - trigger_event = ecumenical_council_events_josh.0213 + trigger_event = ecumenical_council_events.0063 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_clerical_function_taxation scope:ec_debate_topic_3 = doctrine:doctrine_clerical_function_alms_and_pacification scope:ec_debate_topic_3 = doctrine:doctrine_clerical_function_recruitment } } - trigger_event = ecumenical_council_events_josh.0214 + trigger_event = ecumenical_council_events.0064 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_clerical_gender_male_only scope:ec_debate_topic_3 = doctrine:doctrine_clerical_gender_female_only scope:ec_debate_topic_3 = doctrine:doctrine_clerical_gender_either } } - trigger_event = ecumenical_council_events_josh.0215 + trigger_event = ecumenical_council_events.0065 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_clerical_marriage_allowed scope:ec_debate_topic_3 = doctrine:doctrine_clerical_marriage_disallowed } } - trigger_event = ecumenical_council_events_josh.0216 + trigger_event = ecumenical_council_events.0066 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_clerical_succession_temporal_appointment scope:ec_debate_topic_3 = doctrine:doctrine_clerical_succession_spiritual_appointment @@ -793,11 +775,10 @@ scope:ec_debate_topic_3 = doctrine:doctrine_clerical_succession_conditional } } - trigger_event = ecumenical_council_events_josh.0217 + trigger_event = ecumenical_council_events.0067 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_pilgrimage_forbidden scope:ec_debate_topic_3 = doctrine:doctrine_pilgrimage_encouraged @@ -806,11 +787,10 @@ scope:ec_debate_topic_3 = doctrine:doctrine_pilgrimage_mandatory_hajj } } - trigger_event = ecumenical_council_events_josh.0218 + trigger_event = ecumenical_council_events.0068 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_funeral_stoic scope:ec_debate_topic_3 = doctrine:doctrine_funeral_bewailment @@ -820,32 +800,29 @@ scope:ec_debate_topic_3 = doctrine:doctrine_family_rites } } - trigger_event = ecumenical_council_events_josh.0219 + trigger_event = ecumenical_council_events.0069 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_no_anointment scope:ec_debate_topic_3 = doctrine:doctrine_anointment_permitted scope:ec_debate_topic_3 = doctrine:doctrine_imperial_anointment } } - trigger_event = ecumenical_council_events_josh.0220 + trigger_event = ecumenical_council_events.0070 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_monotheist scope:ec_debate_topic_3 = doctrine:doctrine_polytheist } } - trigger_event = ecumenical_council_events_josh.0221 + trigger_event = ecumenical_council_events.0071 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_monasticism_encouraged scope:ec_debate_topic_3 = doctrine:doctrine_monasticism_accepted @@ -853,17 +830,16 @@ scope:ec_debate_topic_3 = doctrine:doctrine_monasticism_forbidden } } - trigger_event = ecumenical_council_events_josh.0222 + trigger_event = ecumenical_council_events.0072 } else_if = { limit = { - exists = scope:ec_debate_topic_3 OR = { scope:ec_debate_topic_3 = doctrine:doctrine_sacraments_central scope:ec_debate_topic_3 = doctrine:doctrine_sacraments_absent } } - trigger_event = ecumenical_council_events_josh.0223 + trigger_event = ecumenical_council_events.0073 } else_if = { limit = { @@ -884,7 +860,7 @@ scope:ec_debate_topic_3 = doctrine:doctrine_liturgical_language_esperanto } } - trigger_event = ecumenical_council_events_josh.0224 + trigger_event = ecumenical_council_events.0074 } else_if = { limit = { @@ -896,7 +872,7 @@ scope:ec_debate_topic_3 = doctrine:doctrine_usury_forbidden } } - trigger_event = ecumenical_council_events_josh.0225 + trigger_event = ecumenical_council_events.0075 } else_if = { limit = { @@ -911,7 +887,7 @@ scope:ec_debate_topic_3 = doctrine:special_doctrine_nothing_of_the_slain } } - trigger_event = ecumenical_council_events_josh.0226 + trigger_event = ecumenical_council_events.0076 } else_if = { limit = { @@ -922,7 +898,7 @@ scope:ec_debate_topic_3 = doctrine:special_doctrine_alcohol_forbidden } } - trigger_event = ecumenical_council_events_josh.0227 + trigger_event = ecumenical_council_events.0077 } else = { trigger_event = ecumenical_council_events_josh.0228 } } diff --git a/common/scripted_effects/NEOW_religion_effects.txt b/common/scripted_effects/NEOW_religion_effects.txt index 6a2900267..8156bd989 100644 --- a/common/scripted_effects/NEOW_religion_effects.txt +++ b/common/scripted_effects/NEOW_religion_effects.txt @@ -1479,7 +1479,7 @@ neow_set_rite_liturgical_court_language_effect = { } } -# Pan-Orthodox Synod: promulgate an approved doctrinal ruling within the +# Ecumenical Council / Pan-Orthodox Synod: promulgate a doctrinal ruling within the # hosting faith AND every one of its rites. This does not change other faiths. neow_pan_orthodox_synod_promulgate_doctrine_effect = { scope:host.faith = { @@ -1495,6 +1495,12 @@ neow_pan_orthodox_synod_promulgate_doctrine_effect = { $DOCTRINE$ = doctrine:doctrine_temporal_head } } + main_rite ?= { + if = { + limit = { NOT = { rite_has_doctrine = $DOCTRINE$ } } + change_rite_doctrine = $DOCTRINE$ + } + } every_faith_rite = { limit = { NOT = { rite_has_doctrine = $DOCTRINE$ } } change_rite_doctrine = $DOCTRINE$ diff --git a/common/scripted_effects/pam_ecumenical_council_effects.txt b/common/scripted_effects/pam_ecumenical_council_effects.txt index ee7914be8..b49813a92 100644 --- a/common/scripted_effects/pam_ecumenical_council_effects.txt +++ b/common/scripted_effects/pam_ecumenical_council_effects.txt @@ -873,11 +873,7 @@ ecumenical_council_apply_debate_outcome_effect = { custom_tooltip = { text = ecumenical_council_adopts_doctrine_tt hidden_effect = { - if = { - limit = { scope:host = { religion = religion:eastern_orthodox_religion } } - neow_pan_orthodox_synod_promulgate_doctrine_effect = { DOCTRINE = scope:ec_proposal_doctrine } - } - else = { change_doctrine = scope:ec_proposal_doctrine } + neow_pan_orthodox_synod_promulgate_doctrine_effect = { DOCTRINE = scope:ec_proposal_doctrine } # Conditional is crisis-wide, not per-rite if = { limit = { @@ -891,10 +887,6 @@ ecumenical_council_apply_debate_outcome_effect = { } } } - if = { - limit = { scope:host = { NOT = { religion = religion:eastern_orthodox_religion } } } - ecumenical_council_host_rite_adopt_doctrine_effect = yes - } # Immediately update alignment after any approved doctrine change. scope:host.faith = { every_faith_rite = { neow_sync_rite_liturgical_alignment_effect = yes } } } diff --git a/common/scripted_triggers/pam_scripted_triggers.txt b/common/scripted_triggers/pam_scripted_triggers.txt index 31f32022b..72c3b3983 100644 --- a/common/scripted_triggers/pam_scripted_triggers.txt +++ b/common/scripted_triggers/pam_scripted_triggers.txt @@ -129,13 +129,13 @@ can_hold_ecumenical_council_trigger = { } } -#has_current_phase_any_debate_trigger = { -# OR = { -# has_current_phase = ecumenical_council_phase_first_debate -# has_current_phase = ecumenical_council_phase_second_debate -# has_current_phase = ecumenical_council_phase_third_debate -# } -#} +has_current_phase_any_debate_trigger = { + OR = { + has_current_phase = ecumenical_council_phase_first_debate + has_current_phase = ecumenical_council_phase_second_debate + has_current_phase = ecumenical_council_phase_third_debate + } +} pam_is_clerical_region_holder_trigger = { any_held_title = { diff --git a/events/activities/ecumenical_council_activity/pam_ecumenical_council_events.txt b/events/activities/ecumenical_council_activity/pam_ecumenical_council_events.txt new file mode 100644 index 000000000..7f45ec9c8 --- /dev/null +++ b/events/activities/ecumenical_council_activity/pam_ecumenical_council_events.txt @@ -0,0 +1,15816 @@ +namespace = ecumenical_council_events + +########################################## +## ecumenical_council_events.0001 - Enter passive state - you arrived +## ecumenical_council_events.0002 - The Summons start +## ecumenical_council_events.0010 - The First Debate starts - Host +## ecumenical_council_events.0011 - The First Debate starts - Guest +## ecumenical_council_events.0020 - The Second Debate starts - Host +## ecumenical_council_events.0021 - The Second Debate starts - Guest +## ecumenical_council_events.0031 - The Third Debate starts - Guest +## ecumenical_council_events.0040 - Conclusion event - Host +## ecumenical_council_events.0041 - Conclusion event - Guest +## ecumenical_council_events.0050-0073 - Third Debate per-doctrine-group stance picks (change / keep / strengthen) +## ecumenical_council_events.0080 - Debate vote resolution - Host (tally + apply outcome) +## ecumenical_council_events.0081 - Debate vote resolution - Guest +## ecumenical_council_events.0101-0129 - Themed "sway the group" debate phase pulse events (grouped by a shared attendee feature) +########################################## + +# Makes scopes: lead_innovator, lead_conservative and court_chaplain always available in all events +scripted_effect save_major_scopes_effect = { + save_scope_as = actor # needed for values + scope:activity = { + random_in_list = { + variable = major_innovator + limit = { + this != scope:actor + } + save_scope_as = lead_innovator + } + random_in_list = { + variable = major_conservative + limit = { + this != scope:actor + } + save_scope_as = lead_conservative + } + # Fallback + if = { + limit = { + NOT = { exists = scope:lead_innovator } + } + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != scope:actor + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + is_clergy = yes + } + save_scope_as = lead_innovator + } + } + if = { + limit = { + NOT = { exists = scope:lead_conservative } + } + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != scope:actor + trigger_if = { + limit = { + exists = scope:lead_innovator + } + this != scope:lead_innovator + } + is_clergy = yes + } + save_scope_as = lead_conservative + } + } + } + # Save for portrait + if = { + limit = { + scope:lead_innovator.piety >= scope:lead_conservative.piety + } + scope:lead_innovator = { + save_scope_as = lead_portrait + } + } + else = { + scope:lead_conservative = { + save_scope_as = lead_portrait + } + } + cp:councillor_court_chaplain ?= { + save_scope_as = court_chaplain + } + if = { + limit = { + NOT = { exists = scope:court_chaplain } + } + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != scope:actor + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + trigger_if = { + limit = { + exists = scope:lead_innovator + } + this != scope:lead_innovator + } + is_clergy = yes + } + save_scope_as = court_chaplain + } + } +} + +# Ecumenical Council themed sway events (ecumenical_council_events.0101-0129): +# shared groupings for each event's trigger gate and immediate selection. +# Evaluated on an attending character; root is the event root (the persuading player). +# Kept as named scripted_triggers because save_sway_guests_scopes_effect takes TRIGGER= via $TRIGGER$. +scripted_trigger ecumenical_council_is_learned_trigger = { + OR = { + has_trait = erudite + has_trait = theologian + has_trait = lifestyle_mystic + learning >= high_skill_rating + has_trait = education_learning_5 + } +} + +scripted_trigger ecumenical_council_is_devout_trigger = { + OR = { + has_trait = zealous + has_trait = devoted + piety_level >= high_piety_level + } +} + +scripted_trigger ecumenical_council_is_worldly_trigger = { + OR = { + has_trait = greedy + has_trait = cynical + } +} + +scripted_trigger ecumenical_council_is_confidant_trigger = { + OR = { + has_relation_friend = root + has_relation_lover = root + } +} + +scripted_trigger ecumenical_council_has_plague_struck_realm_trigger = { + any_realm_province = { + any_province_epidemic = { + exists = this + } + } +} + +scripted_trigger ecumenical_council_has_besieged_faithful_trigger = { + save_temporary_scope_as = ec_besieged_ruler + top_liege ?= { + any_character_war = { + primary_defender = scope:ec_besieged_ruler.top_liege + any_war_attacker = { + faith != scope:ec_besieged_ruler.faith + } + } + } +} + +scripted_trigger ecumenical_council_is_warrior_trigger = { + OR = { + has_trait = faith_warrior + has_trait = holy_warrior + has_trait = order_member + has_trait = lifestyle_blademaster + has_trait = knight_errant + has_trait = gallant + has_trait = berserker + has_trait = shieldmaiden + has_trait = despoiler_of_byzantium + any_killed_character = { + OR = { + death_reason = death_battle + death_reason = death_head_ripped_off + death_reason = death_cloven_in_half + death_reason = death_viciously_dismembered + death_reason = death_ripped_apart_limb_by_limb + death_reason = death_chopped_to_pieces + death_reason = death_heart_ripped_out + death_reason = death_fear + death_reason = death_skull_cracked_open + death_reason = death_strangled_with_own_intestines + death_reason = death_decapitated + death_reason = death_piteously_cut_down + } + } + any_character_trait = { + has_trait_flag = commander_trait_flag + } + martial >= high_skill_rating + has_trait = education_martial_5 + AND = { + is_knight = yes + prowess > decent_skill_rating + } + } +} + +scripted_trigger ecumenical_council_is_high_intrigue_trigger = { + OR = { + intrigue >= high_skill_rating + has_trait = education_intrigue_5 + } +} + +scripted_trigger ecumenical_council_is_high_stewardship_trigger = { + OR = { + stewardship >= high_skill_rating + has_trait = education_stewardship_5 + } +} + +scripted_trigger ecumenical_council_is_high_diplomacy_trigger = { + OR = { + diplomacy >= high_skill_rating + has_trait = education_diplomacy_5 + } +} + +scripted_trigger ecumenical_council_is_ailing_trigger = { + any_character_trait = { + OR = { + has_trait_flag = illness + has_trait_flag = age_related_ailment + } + } +} + +scripted_trigger ecumenical_council_is_dynasty_member_trigger = { + dynasty = root.dynasty +} + +scripted_trigger ecumenical_council_is_same_culture_trigger = { + culture = root.culture +} + +# Attendees whose customs feel distant from root: other culture, plus heritage, language, or realm distance. +scripted_trigger ecumenical_council_is_distant_custom_trigger = { + NOT = { culture = root.culture } + OR = { + NOT = { culture = { has_same_culture_heritage = root.culture } } + NOT = { knows_language_of_culture = root.culture } + top_liege != root.top_liege + } +} + +scripted_trigger ecumenical_council_is_vassal_trigger = { + is_vassal_of = root +} + +scripted_trigger ecumenical_council_is_ally_trigger = { + is_allied_to = root +} + +scripted_trigger ecumenical_council_is_rival_trigger = { + has_relation_rival = root +} + +scripted_trigger ecumenical_council_dreads_root_trigger = { + has_dread_level_towards = { target = root level >= 1 } +} + +scripted_trigger ecumenical_council_is_young_trigger = { + age < 30 +} + +scripted_trigger ecumenical_council_is_elderly_trigger = { + age >= 50 +} + +scripted_trigger ecumenical_council_is_ambitious_trigger = { + has_trait = ambitious +} + +scripted_trigger ecumenical_council_is_prestigious_trigger = { + prestige_level >= high_prestige_level +} + +scripted_trigger ecumenical_council_has_desired_tenet_trigger = { + any_desired_tenet = { always = yes } +} + +# EXPECTS: event root, scope:activity, TRIGGER= same scripted_trigger passed to save_sway +scripted_effect ecumenical_council_ensure_themed_leads_effect = { + if = { + limit = { + NOT = { + scope:lead_conservative ?= { + $TRIGGER$ = yes + } + } + } + clear_saved_scope = lead_conservative + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = conservative } + $TRIGGER$ = yes + } + save_scope_as = lead_conservative + } + } + } + if = { + limit = { + NOT = { + scope:lead_innovator ?= { + $TRIGGER$ = yes + } + } + } + clear_saved_scope = lead_innovator + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = innovator } + $TRIGGER$ = yes + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + } + save_scope_as = lead_innovator + } + } + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + scope:host = { $TRIGGER$ = yes } + scope:host != root + } + scope:host = { + save_scope_as = lead_innovator + } + } +} + +# Makes scopes: lead_innovator, lead_conservative and court_chaplain always available in all sway guests events, scope actor for tenet popularity values, and saves 2 sizes of the swayed group: full and halved as feature_innovators_size, feature_innovators_size_halved and feature_conservatives_size, feature_conservatives_size_halved. +scripted_effect save_sway_guests_scopes_effect = { + save_scope_as = actor # needed for values + scope:activity = { + var:current_topic ?= { save_scope_as = ec_current_topic } + every_guest_subset = { + name = conservative + if = { + limit = { + $TRIGGER$ = yes + is_ai = yes + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + # The AI cannot win back attendees already swayed this debate + trigger_if = { + limit = { scope:actor = { is_ai = yes } } + NOT = { + scope:activity = { + is_target_in_variable_list = { + name = locked_into_conservatives + target = prev + } + } + } + } + } + add_to_list = feature_conservatives + } + } + every_guest_subset = { + name = innovator + if = { + limit = { + $TRIGGER$ = yes + scope:host != this + is_ai = yes + trigger_if = { + limit = { scope:actor = { is_ai = yes } } + NOT = { + scope:activity = { + is_target_in_variable_list = { + name = locked_into_innovators + target = prev + } + } + } + } + } + add_to_list = feature_innovators + } + } + ordered_in_list = { + list = feature_conservatives + order_by = highest_held_title_tier + limit = { + this != scope:actor + is_clergy = yes + } + save_scope_as = lead_conservative + } + if = { + limit = { + NOT = { exists = scope:lead_conservative } + } + ordered_in_list = { + list = feature_conservatives + order_by = highest_held_title_tier + limit = { + this != scope:actor + } + save_scope_as = lead_conservative + } + } + # Do not fall back to unthemed attendees; that cast wrong faces into themed sway events. + ordered_in_list = { + list = feature_innovators + order_by = highest_held_title_tier + limit = { + this != scope:actor + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + is_clergy = yes + } + save_scope_as = lead_innovator + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + } + ordered_in_list = { + list = feature_innovators + order_by = highest_held_title_tier + limit = { + this != scope:actor + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + } + save_scope_as = lead_innovator + } + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + scope:host = { $TRIGGER$ = yes } + scope:host != root + } + scope:host = { + save_scope_as = lead_innovator + } + } + + } + cp:councillor_court_chaplain ?= { + save_scope_as = court_chaplain + } + if = { + limit = { + NOT = { exists = scope:court_chaplain } + } + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != scope:actor + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + trigger_if = { + limit = { + exists = scope:lead_innovator + } + this != scope:lead_innovator + } + is_clergy = yes + } + save_scope_as = court_chaplain + } + } + save_scope_value_as = { + name = ec_sway_change_tier + value = ecumenical_council_sway_change_tier_value + } + save_scope_value_as = { + name = ec_sway_duel_penalty + value = ecumenical_council_sway_duel_penalty_value + } + save_scope_value_as = { + name = feature_conservatives_size + value = list_size:feature_conservatives + } + save_scope_value_as = { + name = feature_conservatives_size_halved + value = { + value = list_size:feature_conservatives + multiply = 0.5 + floor = yes + } + } + save_scope_value_as = { + name = feature_conservatives_free_max + value = ecumenical_council_sway_free_max_conservatives_value + } + save_scope_value_as = { + name = feature_innovators_size + value = list_size:feature_innovators + } + save_scope_value_as = { + name = feature_innovators_size_halved + value = { + value = list_size:feature_innovators + multiply = 0.5 + floor = yes + } + } +} + +# Tracks the court chaplain's highest-scoring selectable (non-current) doctrine as scope:ec_chaplain_pick +# Ties intentionally keep the first candidate, matching the visible option order. +scripted_effect ec_chaplain_consider_doctrine_effect = { + if = { + limit = { + NOT = { scope:ec_debate_topic_3 = doctrine:$DOCTRINE$ } + } + save_scope_value_as = { + name = ec_chaplain_candidate_value + value = { + value = 0 + doctrine:$DOCTRINE$ = { + save_temporary_scope_as = doctrine + } + add = scope:court_chaplain.ecumenical_council_doctrine_desire_value + } + } + if = { + limit = { + OR = { + NOT = { exists = scope:ec_chaplain_pick } + scope:ec_chaplain_candidate_value > scope:ec_chaplain_pick_value + } + } + doctrine:$DOCTRINE$ = { + save_scope_as = ec_chaplain_pick + } + save_scope_value_as = { + name = ec_chaplain_pick_value + value = scope:ec_chaplain_candidate_value + } + } + } +} + +# Enter passive state - you arrived +ecumenical_council_events.0001 = { + type = activity_event + title = ecumenical_council_events.0001 + desc = { + desc = ecumenical_council_events.0001.desc_intro + first_valid = { + triggered_desc = { + trigger = { + this = scope:host + } + desc = ecumenical_council_events.0001.host + } + triggered_desc = { + trigger = { + this != scope:host + OR = { + has_relation_rival = scope:activity.activity_host + reverse_opinion = { + target = scope:activity.activity_host + value < 0 + } + } + } + desc = ecumenical_council_events.0001.dislikes_host + } + triggered_desc = { + trigger = { + this != scope:host + OR = { + has_relation_rival = scope:activity.activity_host + reverse_opinion = { + target = scope:activity.activity_host + value >= 40 + } + } + } + desc = ecumenical_council_events.0001.likes_host + } + triggered_desc = { + trigger = { + this != scope:host + } + desc = ecumenical_council_events.0001.neutral + } + } + first_valid = { + triggered_desc = { + trigger = { + intent_target.location ?= root.location + } + desc = ecumenical_council_events.0001.intent_arrived + } + triggered_desc = { + trigger = { exists = intent_target } + desc = ecumenical_council_events.0001.waiting_for_intent + } + desc = ecumenical_council_events.0001.no_intent_target + } + } + theme = ecumenical_council + left_portrait = { + character = root + triggered_animation = { + trigger = { + this != scope:host + opinion = { + target = scope:activity.activity_host + value < 0 + } + } + animation = boredom + } + triggered_animation = { + trigger = { + this = scope:host + } + animation = personality_zealous + } + animation = happiness + } + center_portrait = { + trigger = { root != scope:host } + character = scope:host + animation = personality_zealous + } + right_portrait = { + character = scope:center_portrait + animation = debating + } + cooldown = { years = 5 } + + immediate = { + location = { save_scope_as = my_location } + if = { + limit = { + exists = intent_target + } + intent_target = { save_scope_as = intent_target } + } + if = { + limit = { + involved_activity = { + any_attending_character = { + is_adult = yes + NOR = { + this = root + this = scope:host + } + is_travelling = no + } + } + } + involved_activity = { + random_attending_character = { + limit = { + is_adult = yes + NOR = { + this = root + this = scope:host + } + is_travelling = no + } + save_scope_as = center_portrait + } + } + } + } + + option = { + name = { + trigger = { + opinion = { + target = scope:activity.activity_host + value < 0 + } + } + text = ecumenical_council_events.0001.a.bad + } + name = { + trigger = { + opinion = { + target = scope:activity.activity_host + value >= 0 + } + } + text = ecumenical_council_events.0001.a.good + } + add_piety = miniscule_piety_gain + + ai_chance = { + base = 100 + } + } +} + +# The Summons start +ecumenical_council_events.0002 = { + type = activity_event + title = ecumenical_council_events.0002.t + + immediate = { + play_music_cue = "mx_cue_councils_judgement" + if = { + limit = { + NOT = { has_global_variable = pam_great_schism_decision_taken } + situation:the_christian_church ?= { + situation_current_phase = saeculum_obscurum + } + } + scope:activity = { set_variable = pam_schism_crisis_council } + } + involved_activity = { + activity_tenet:1 = { + save_scope_as = ec_debate_topic_1 + } + } + } + + desc = { + desc = ecumenical_council_events.0002.desc_intro + desc = ecumenical_council_events.0002.reformist + triggered_desc = { + trigger = { scope:activity = { has_variable = pam_schism_crisis_council } } + desc = ecumenical_council_events.schism_crisis_intro + } + triggered_desc = { + trigger = { + exists = scope:ec_debate_topic_1 + } + desc = ecumenical_council_events.0002.first_tenet + } + first_valid = { + triggered_desc = { + trigger = { + this = scope:host + } + desc = ecumenical_council_events.0002.host + } + desc = ecumenical_council_events.0002.guest + } + } + theme = ecumenical_council + left_portrait = { + character = root + triggered_animation = { + trigger = { + this = scope:host + } + animation = acknowledging_crozier + } + animation = interested + } + center_portrait = { + trigger = { root != scope:host } + character = scope:host + animation = acknowledging + } + cooldown = { years = 5 } + + option = { + name = ecumenical_council_events.0002.a + + ai_chance = { + base = 100 + } + } +} + +# Start of First Debate - Host, decide what you want to say about this tenet +ecumenical_council_events.0010 = { + type = activity_event + title = ecumenical_council_events.0010.t + desc = { + desc = ecumenical_council_events.0010.desc.intro + # What the tenet is about from lead_portrait + first_valid = { + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_peace_of_god + } + desc = ecumenical_council_events.0010.desc.peace_of_god.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_dulia + } + desc = ecumenical_council_events.0010.desc.dulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_transubstantiation + } + desc = ecumenical_council_events.0010.desc.transubstantiation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ora_et_labora + } + desc = ecumenical_council_events.0010.desc.ora_et_labora.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_hyperdulia + } + desc = ecumenical_council_events.0010.desc.hyperdulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_simony + } + desc = ecumenical_council_events.0010.desc.simony.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_monophysitism + } + desc = ecumenical_council_events.0010.desc.monophysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_acts_of_apostles + } + desc = ecumenical_council_events.0010.desc.acts_of_apostles.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_purgatory + } + desc = ecumenical_council_events.0010.desc.purgatory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_be_fruitful_and_multiply + } + desc = ecumenical_council_events.0010.desc.be_fruitful_and_multiply.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_apostolic_succession + } + desc = ecumenical_council_events.0010.desc.apostolic_succession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_confession + } + desc = ecumenical_council_events.0010.desc.confession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_original_sin + } + desc = ecumenical_council_events.0010.desc.original_sin.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_celestial_hierarchy + } + desc = ecumenical_council_events.0010.desc.celestial_hierarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_miles_christi + } + desc = ecumenical_council_events.0010.desc.miles_christi.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_scholasticism + } + desc = ecumenical_council_events.0010.desc.scholasticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_adoptionism + } + desc = ecumenical_council_events.0010.desc.adoptionism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_love_thy_neighbour + } + desc = ecumenical_council_events.0010.desc.love_thy_neighbour.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_divine_liturgy + } + desc = ecumenical_council_events.0010.desc.divine_liturgy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_miaphysitism + } + desc = ecumenical_council_events.0010.desc.miaphysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_hesychasm + } + desc = ecumenical_council_events.0010.desc.hesychasm.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_anachoresis + } + desc = ecumenical_council_events.0010.desc.anachoresis.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mortification_of_the_flesh + } + desc = ecumenical_council_events.0010.desc.mortification_of_the_flesh.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_holy_myron + } + desc = ecumenical_council_events.0010.desc.holy_myron.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_khachkar + } + desc = ecumenical_council_events.0010.desc.khachkar.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_philanthropia + } + desc = ecumenical_council_events.0010.desc.philanthropia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_aniconism + } + desc = ecumenical_council_events.0010.desc.aniconism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_alexandrian_catechism + } + desc = ecumenical_council_events.0010.desc.alexandrian_catechism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_armed_pilgrimages + } + desc = ecumenical_council_events.0010.desc.armed_pilgrimages.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_carnal_exaltation + } + desc = ecumenical_council_events.0010.desc.carnal_exaltation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_communal_identity + } + desc = ecumenical_council_events.0010.desc.communal_identity.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_communion + } + desc = ecumenical_council_events.0010.desc.communion.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_consolamentum + } + desc = ecumenical_council_events.0010.desc.consolamentum.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_divine_marriage + } + desc = ecumenical_council_events.0010.desc.divine_marriage.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_gnosticism + } + desc = ecumenical_council_events.0010.desc.gnosticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mendicant_preachers + } + desc = ecumenical_council_events.0010.desc.mendicant_preachers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pacifism + } + desc = ecumenical_council_events.0010.desc.pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pentarchy + } + desc = ecumenical_council_events.0010.desc.pentarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_unrelenting_faith + } + desc = ecumenical_council_events.0010.desc.unrelenting_faith.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_vows_of_poverty + } + desc = ecumenical_council_events.0010.desc.vows_of_poverty.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pastoral_isolation + } + desc = ecumenical_council_events.0010.desc.pastoral_isolation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_adaptive + } + desc = ecumenical_council_events.0010.desc.adaptive.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_esotericism + } + desc = ecumenical_council_events.0010.desc.esotericism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_legalism + } + desc = ecumenical_council_events.0010.desc.legalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_literalism + } + desc = ecumenical_council_events.0010.desc.literalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_reincarnation + } + desc = ecumenical_council_events.0010.desc.reincarnation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_religious_legal_pronouncements + } + desc = ecumenical_council_events.0010.desc.religious_legal_pronouncements.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_struggle_submission + } + desc = ecumenical_council_events.0010.desc.struggle_submission.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_false_conversion_sanction + } + desc = ecumenical_council_events.0010.desc.false_conversion_sanction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_tax_nonbelievers + } + desc = ecumenical_council_events.0010.desc.tax_nonbelievers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_asceticism + } + desc = ecumenical_council_events.0010.desc.asceticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_bhakti + } + desc = ecumenical_council_events.0010.desc.bhakti.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_dharmic_pacifism + } + desc = ecumenical_council_events.0010.desc.dharmic_pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_inner_journey + } + desc = ecumenical_council_events.0010.desc.inner_journey.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ritual_hospitality + } + desc = ecumenical_council_events.0010.desc.ritual_hospitality.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_adorcism + } + desc = ecumenical_council_events.0010.desc.adorcism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ancestor_worship + } + desc = ecumenical_council_events.0010.desc.ancestor_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_astrology + } + desc = ecumenical_council_events.0010.desc.astrology.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_hedonistic + } + desc = ecumenical_council_events.0010.desc.hedonistic.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_human_sacrifice + } + desc = ecumenical_council_events.0010.desc.human_sacrifice.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mystical_birthright + } + desc = ecumenical_council_events.0010.desc.mystical_birthright.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ritual_celebrations + } + desc = ecumenical_council_events.0010.desc.ritual_celebrations.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacred_childbirth + } + desc = ecumenical_council_events.0010.desc.sacred_childbirth.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sanctity_of_nature + } + desc = ecumenical_council_events.0010.desc.sanctity_of_nature.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sun_worship + } + desc = ecumenical_council_events.0010.desc.sun_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_warmonger + } + desc = ecumenical_council_events.0010.desc.warmonger.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_gruesome_festivals + } + desc = ecumenical_council_events.0010.desc.gruesome_festivals.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_cthonic_redoubts + } + desc = ecumenical_council_events.0010.desc.cthonic_redoubts.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_household_gods + } + desc = ecumenical_council_events.0010.desc.household_gods.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sinitic_syncretism + } + desc = ecumenical_council_events.0010.desc.sinitic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_eastern_syncretism + } + desc = ecumenical_council_events.0010.desc.eastern_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_unreformed_syncretism + } + desc = ecumenical_council_events.0010.desc.unreformed_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_christian_syncretism + } + desc = ecumenical_council_events.0010.desc.christian_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_islamic_syncretism + } + desc = ecumenical_council_events.0010.desc.islamic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_jewish_syncretism + } + desc = ecumenical_council_events.0010.desc.jewish_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_exaltation_of_pain + } + desc = ecumenical_council_events.0010.desc.exaltation_of_pain.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_natural_primitivism + } + desc = ecumenical_council_events.0010.desc.natural_primitivism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pursuit_of_power + } + desc = ecumenical_council_events.0010.desc.pursuit_of_power.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ritual_cannibalism + } + desc = ecumenical_council_events.0010.desc.ritual_cannibalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacred_shadows + } + desc = ecumenical_council_events.0010.desc.sacred_shadows.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_polyamory + } + desc = ecumenical_council_events.0010.desc.polyamory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacrificial_ceremonies + } + desc = ecumenical_council_events.0010.desc.sacrificial_ceremonies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_megaliths + } + desc = ecumenical_council_events.0010.desc.megaliths.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_communal_possessions + } + desc = ecumenical_council_events.0010.desc.communal_possessions.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pure_land + } + desc = ecumenical_council_events.0010.desc.pure_land.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_no_mind + } + desc = ecumenical_council_events.0010.desc.no_mind.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mountain_worship + } + desc = ecumenical_council_events.0010.desc.mountain_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_extinction_of_dharma + } + desc = ecumenical_council_events.0010.desc.extinction_of_dharma.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_cranial_trophies + } + desc = ecumenical_council_events.0010.desc.cranial_trophies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pursuit_of_knowledge + } + desc = ecumenical_council_events.0010.desc.pursuit_of_knowledge.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_benevolent_governance + } + desc = ecumenical_council_events.0010.desc.benevolent_governance.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_filial_piety + } + desc = ecumenical_council_events.0010.desc.filial_piety.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_harmonious_society + } + desc = ecumenical_council_events.0010.desc.harmonious_society.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacred_destruction + } + desc = ecumenical_council_events.0010.desc.sacred_destruction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_preservation + } + desc = ecumenical_council_events.0010.desc.preservation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_takamin + } + desc = ecumenical_council_events.0010.desc.takamin.explanation + } + # Fallback for any debatable tenet outside the list above + desc = ecumenical_council_events.0010.desc.fallback.explanation + } + # Arguments from Court Chaplain + triggered_desc = { + trigger = { + faith.main_rite = { + OR = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = permitted + } + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = known + } + } + } + "faith.tenet_popularity(scope:ec_debate_topic_1)" > tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0010.desc.intro_permit_promote + } + triggered_desc = { + trigger = { + faith.main_rite = { + OR = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = permitted + } + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = known + } + } + } + "faith.tenet_popularity(scope:ec_debate_topic_1)" <= tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0010.desc.intro_permit_demote + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = core + } + } + "faith.tenet_popularity(scope:ec_debate_topic_1)" > tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0010.desc.intro_core_demote_bad + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = core + } + } + "faith.tenet_popularity(scope:ec_debate_topic_1)" <= tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0010.desc.intro_core_demote_good + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = prohibited + } + } + "faith.tenet_popularity(scope:ec_debate_topic_1)" > tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0010.desc.intro_prohibited_promote_good + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = prohibited + } + } + "faith.tenet_popularity(scope:ec_debate_topic_1)" <= tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0010.desc.intro_prohibited_promote_bad + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:court_chaplain + animation = throne_room_conversation_1 + } + right_portrait = { + character = scope:lead_portrait + animation = page_flipping + } + theme = ecumenical_council + + immediate = { + # For MP + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + scope:ec_debate_topic_1 = { + save_scope_as = current_topic + } + random_character_tenet = { + status = core + faith_filter = root.faith + save_scope_as = current_core_1 + } + random_character_tenet = { + status = core + faith_filter = root.faith + limit = { + this != scope:current_core_1 + } + save_scope_as = current_core_2 + } + random_character_tenet = { + status = core + faith_filter = root.faith + limit = { + this != scope:current_core_1 + this != scope:current_core_2 + } + save_scope_as = current_core_3 + } + } + + # Core + option = { + name = ecumenical_council_events.0010.a_1 + trigger = { + exists = scope:current_core_1 + scope:ec_debate_topic_1 != scope:current_core_1 + faith.main_rite = { + rite_can_choose_tenet = scope:ec_debate_topic_1 + } + } + show_as_unavailable = { + exists = scope:current_core_1 + scope:ec_debate_topic_1 != scope:current_core_1 + } + show_as_tooltip = { + ecumenical_council_make_core_preview_effect = { + DEMOTED = scope:current_core_1 + PROMOTED = scope:ec_debate_topic_1 + } + } + scope:activity = { + set_variable = { + name = core_tenet_to_swap_1 + value = scope:current_core_1 + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:make_core } + } + ai_will_select = { + value = 10 + add = scope:current_core_1.pam_tenet_unpopularity_impact_value + add = scope:ec_debate_topic_1.pam_tenet_popularity_impact_value + add = scope:ec_debate_topic_1.pam_christian_vice_restraint_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = prohibited + } + } + } + multiply = 0 + } + } + } + # Core + option = { + name = ecumenical_council_events.0010.a_2 + trigger = { + exists = scope:current_core_2 + scope:ec_debate_topic_1 != scope:current_core_2 + faith.main_rite = { + rite_can_choose_tenet = scope:ec_debate_topic_1 + } + } + show_as_unavailable = { + exists = scope:current_core_2 + scope:ec_debate_topic_1 != scope:current_core_2 + } + show_as_tooltip = { + ecumenical_council_make_core_preview_effect = { + DEMOTED = scope:current_core_2 + PROMOTED = scope:ec_debate_topic_1 + } + } + scope:activity = { + set_variable = { + name = core_tenet_to_swap_1 + value = scope:current_core_2 + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:make_core } + } + ai_will_select = { + value = 10 + add = scope:current_core_2.pam_tenet_unpopularity_impact_value + add = scope:ec_debate_topic_1.pam_tenet_popularity_impact_value + add = scope:ec_debate_topic_1.pam_christian_vice_restraint_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = prohibited + } + } + } + multiply = 0 + } + } + } + # Core + option = { + name = ecumenical_council_events.0010.a_3 + trigger = { + exists = scope:current_core_3 + scope:ec_debate_topic_1 != scope:current_core_3 + faith.main_rite = { + rite_can_choose_tenet = scope:ec_debate_topic_1 + } + } + show_as_unavailable = { + exists = scope:current_core_3 + scope:ec_debate_topic_1 != scope:current_core_3 + } + show_as_tooltip = { + ecumenical_council_make_core_preview_effect = { + DEMOTED = scope:current_core_3 + PROMOTED = scope:ec_debate_topic_1 + } + } + scope:activity = { + set_variable = { + name = core_tenet_to_swap_1 + value = scope:current_core_3 + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:make_core } + } + ai_will_select = { + value = 10 + add = scope:current_core_3.pam_tenet_unpopularity_impact_value + add = scope:ec_debate_topic_1.pam_tenet_popularity_impact_value + add = scope:ec_debate_topic_1.pam_christian_vice_restraint_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = prohibited + } + } + } + multiply = 0 + } + } + } + + # Prohibit + option = { + name = ecumenical_council_events.0010.b + trigger = { + faith.main_rite = { + NOT = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = prohibited + } + } + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:prohibit } + } + custom_tooltip = ecumenical_council_outcome_preview_prohibited_tt + ai_will_select = { + value = 10 + add = scope:ec_debate_topic_1.pam_tenet_unpopularity_impact_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = core + } + } + } + multiply = 0 + } + if = { + limit = { + scope:ec_debate_topic_1 = { tenet_is_intrinsic_to_faith_trigger = { FAITH = root.faith } } + } + multiply = 0 + } + } + } + # Permit + option = { + name = ecumenical_council_events.0010.c + trigger = { + faith.main_rite = { + NOT = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = permitted + } + } + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:permit } + } + custom_tooltip = ecumenical_council_outcome_preview_permitted_tt + ai_will_select = { + value = scope:ec_debate_topic_1.pam_ec_permit_option_ai_weight_value + } + } + # Learn + option = { + name = ecumenical_council_events.0010.d + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_1 + status = unknown + } + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:learn } + } + custom_tooltip = ecumenical_council_outcome_preview_learned_tt + ai_will_select = { + value = 100 + } + } + + after = { + # For MP + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0011 # ecumenical_council_events.0011 + } + } +} + +# Start of First Debate - Guest, this is what the host decided we're debating +ecumenical_council_events.0011 = { + type = activity_event + title = ecumenical_council_events.0011.t + desc = { + desc = ecumenical_council_events.0011.desc.intro + # What the tenet is about from lead_portrait + first_valid = { + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_peace_of_god + } + desc = ecumenical_council_events.0010.desc.peace_of_god.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_dulia + } + desc = ecumenical_council_events.0010.desc.dulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_transubstantiation + } + desc = ecumenical_council_events.0010.desc.transubstantiation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ora_et_labora + } + desc = ecumenical_council_events.0010.desc.ora_et_labora.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_hyperdulia + } + desc = ecumenical_council_events.0010.desc.hyperdulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_simony + } + desc = ecumenical_council_events.0010.desc.simony.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_monophysitism + } + desc = ecumenical_council_events.0010.desc.monophysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_acts_of_apostles + } + desc = ecumenical_council_events.0010.desc.acts_of_apostles.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_purgatory + } + desc = ecumenical_council_events.0010.desc.purgatory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_be_fruitful_and_multiply + } + desc = ecumenical_council_events.0010.desc.be_fruitful_and_multiply.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_apostolic_succession + } + desc = ecumenical_council_events.0010.desc.apostolic_succession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_confession + } + desc = ecumenical_council_events.0010.desc.confession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_original_sin + } + desc = ecumenical_council_events.0010.desc.original_sin.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_celestial_hierarchy + } + desc = ecumenical_council_events.0010.desc.celestial_hierarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_miles_christi + } + desc = ecumenical_council_events.0010.desc.miles_christi.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_scholasticism + } + desc = ecumenical_council_events.0010.desc.scholasticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_adoptionism + } + desc = ecumenical_council_events.0010.desc.adoptionism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_love_thy_neighbour + } + desc = ecumenical_council_events.0010.desc.love_thy_neighbour.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_divine_liturgy + } + desc = ecumenical_council_events.0010.desc.divine_liturgy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_miaphysitism + } + desc = ecumenical_council_events.0010.desc.miaphysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_hesychasm + } + desc = ecumenical_council_events.0010.desc.hesychasm.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_anachoresis + } + desc = ecumenical_council_events.0010.desc.anachoresis.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mortification_of_the_flesh + } + desc = ecumenical_council_events.0010.desc.mortification_of_the_flesh.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_holy_myron + } + desc = ecumenical_council_events.0010.desc.holy_myron.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_khachkar + } + desc = ecumenical_council_events.0010.desc.khachkar.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_philanthropia + } + desc = ecumenical_council_events.0010.desc.philanthropia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_aniconism + } + desc = ecumenical_council_events.0010.desc.aniconism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_alexandrian_catechism + } + desc = ecumenical_council_events.0010.desc.alexandrian_catechism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_armed_pilgrimages + } + desc = ecumenical_council_events.0010.desc.armed_pilgrimages.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_carnal_exaltation + } + desc = ecumenical_council_events.0010.desc.carnal_exaltation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_communal_identity + } + desc = ecumenical_council_events.0010.desc.communal_identity.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_communion + } + desc = ecumenical_council_events.0010.desc.communion.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_consolamentum + } + desc = ecumenical_council_events.0010.desc.consolamentum.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_divine_marriage + } + desc = ecumenical_council_events.0010.desc.divine_marriage.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_gnosticism + } + desc = ecumenical_council_events.0010.desc.gnosticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mendicant_preachers + } + desc = ecumenical_council_events.0010.desc.mendicant_preachers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pacifism + } + desc = ecumenical_council_events.0010.desc.pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pentarchy + } + desc = ecumenical_council_events.0010.desc.pentarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_unrelenting_faith + } + desc = ecumenical_council_events.0010.desc.unrelenting_faith.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_vows_of_poverty + } + desc = ecumenical_council_events.0010.desc.vows_of_poverty.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pastoral_isolation + } + desc = ecumenical_council_events.0010.desc.pastoral_isolation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_adaptive + } + desc = ecumenical_council_events.0010.desc.adaptive.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_esotericism + } + desc = ecumenical_council_events.0010.desc.esotericism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_legalism + } + desc = ecumenical_council_events.0010.desc.legalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_literalism + } + desc = ecumenical_council_events.0010.desc.literalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_reincarnation + } + desc = ecumenical_council_events.0010.desc.reincarnation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_religious_legal_pronouncements + } + desc = ecumenical_council_events.0010.desc.religious_legal_pronouncements.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_struggle_submission + } + desc = ecumenical_council_events.0010.desc.struggle_submission.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_false_conversion_sanction + } + desc = ecumenical_council_events.0010.desc.false_conversion_sanction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_tax_nonbelievers + } + desc = ecumenical_council_events.0010.desc.tax_nonbelievers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_asceticism + } + desc = ecumenical_council_events.0010.desc.asceticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_bhakti + } + desc = ecumenical_council_events.0010.desc.bhakti.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_dharmic_pacifism + } + desc = ecumenical_council_events.0010.desc.dharmic_pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_inner_journey + } + desc = ecumenical_council_events.0010.desc.inner_journey.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ritual_hospitality + } + desc = ecumenical_council_events.0010.desc.ritual_hospitality.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_adorcism + } + desc = ecumenical_council_events.0010.desc.adorcism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ancestor_worship + } + desc = ecumenical_council_events.0010.desc.ancestor_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_astrology + } + desc = ecumenical_council_events.0010.desc.astrology.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_hedonistic + } + desc = ecumenical_council_events.0010.desc.hedonistic.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_human_sacrifice + } + desc = ecumenical_council_events.0010.desc.human_sacrifice.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mystical_birthright + } + desc = ecumenical_council_events.0010.desc.mystical_birthright.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ritual_celebrations + } + desc = ecumenical_council_events.0010.desc.ritual_celebrations.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacred_childbirth + } + desc = ecumenical_council_events.0010.desc.sacred_childbirth.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sanctity_of_nature + } + desc = ecumenical_council_events.0010.desc.sanctity_of_nature.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sun_worship + } + desc = ecumenical_council_events.0010.desc.sun_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_warmonger + } + desc = ecumenical_council_events.0010.desc.warmonger.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_gruesome_festivals + } + desc = ecumenical_council_events.0010.desc.gruesome_festivals.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_cthonic_redoubts + } + desc = ecumenical_council_events.0010.desc.cthonic_redoubts.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_household_gods + } + desc = ecumenical_council_events.0010.desc.household_gods.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sinitic_syncretism + } + desc = ecumenical_council_events.0010.desc.sinitic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_eastern_syncretism + } + desc = ecumenical_council_events.0010.desc.eastern_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_unreformed_syncretism + } + desc = ecumenical_council_events.0010.desc.unreformed_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_christian_syncretism + } + desc = ecumenical_council_events.0010.desc.christian_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_islamic_syncretism + } + desc = ecumenical_council_events.0010.desc.islamic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_jewish_syncretism + } + desc = ecumenical_council_events.0010.desc.jewish_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_exaltation_of_pain + } + desc = ecumenical_council_events.0010.desc.exaltation_of_pain.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_natural_primitivism + } + desc = ecumenical_council_events.0010.desc.natural_primitivism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pursuit_of_power + } + desc = ecumenical_council_events.0010.desc.pursuit_of_power.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_ritual_cannibalism + } + desc = ecumenical_council_events.0010.desc.ritual_cannibalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacred_shadows + } + desc = ecumenical_council_events.0010.desc.sacred_shadows.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_polyamory + } + desc = ecumenical_council_events.0010.desc.polyamory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacrificial_ceremonies + } + desc = ecumenical_council_events.0010.desc.sacrificial_ceremonies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_megaliths + } + desc = ecumenical_council_events.0010.desc.megaliths.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_communal_possessions + } + desc = ecumenical_council_events.0010.desc.communal_possessions.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pure_land + } + desc = ecumenical_council_events.0010.desc.pure_land.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_no_mind + } + desc = ecumenical_council_events.0010.desc.no_mind.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_mountain_worship + } + desc = ecumenical_council_events.0010.desc.mountain_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_extinction_of_dharma + } + desc = ecumenical_council_events.0010.desc.extinction_of_dharma.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_cranial_trophies + } + desc = ecumenical_council_events.0010.desc.cranial_trophies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_pursuit_of_knowledge + } + desc = ecumenical_council_events.0010.desc.pursuit_of_knowledge.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_benevolent_governance + } + desc = ecumenical_council_events.0010.desc.benevolent_governance.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_filial_piety + } + desc = ecumenical_council_events.0010.desc.filial_piety.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_harmonious_society + } + desc = ecumenical_council_events.0010.desc.harmonious_society.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_sacred_destruction + } + desc = ecumenical_council_events.0010.desc.sacred_destruction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_preservation + } + desc = ecumenical_council_events.0010.desc.preservation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_1 = tenet:tenet_takamin + } + desc = ecumenical_council_events.0010.desc.takamin.explanation + } + # Fallback for any debatable tenet outside the list above + desc = ecumenical_council_events.0010.desc.fallback.explanation + } + desc = ecumenical_council_events.0011.desc.outro + first_valid = { + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:permit } + desc = ecumenical_council_events.0011.desc.permit + } + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:prohibit } + desc = ecumenical_council_events.0011.desc.prohibit + } + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:learn } + desc = ecumenical_council_events.0011.desc.learn + } + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:make_core } + desc = ecumenical_council_events.0011.desc.make_core + } + } + } + left_portrait = { + character = root + animation = pondering + } + right_portrait = { + character = scope:host + animation = acknowledging + } + theme = ecumenical_council + + immediate = { + scope:activity.var:core_tenet_to_swap_1 ?= { + save_scope_as = core_tenet_to_swap + } + } + + option = { + name = ecumenical_council_events.0011.a + ecumenical_council_log_stance_effect = { SIDE = innovator } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0011.b + ecumenical_council_log_stance_effect = { SIDE = conservative } + ai_chance = { + base = 100 + } + } +} + +# Start of Second Debate - Host, decide what you want to say about this tenet +ecumenical_council_events.0020 = { + type = activity_event + title = ecumenical_council_events.0020.t + desc = { + desc = ecumenical_council_events.0020.desc.intro + # What the tenet is about from lead_portrait + first_valid = { + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_peace_of_god + } + desc = ecumenical_council_events.0020.desc.peace_of_god.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_dulia + } + desc = ecumenical_council_events.0020.desc.dulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_transubstantiation + } + desc = ecumenical_council_events.0020.desc.transubstantiation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ora_et_labora + } + desc = ecumenical_council_events.0020.desc.ora_et_labora.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_hyperdulia + } + desc = ecumenical_council_events.0020.desc.hyperdulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_simony + } + desc = ecumenical_council_events.0020.desc.simony.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_monophysitism + } + desc = ecumenical_council_events.0020.desc.monophysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_acts_of_apostles + } + desc = ecumenical_council_events.0020.desc.acts_of_apostles.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_purgatory + } + desc = ecumenical_council_events.0020.desc.purgatory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_be_fruitful_and_multiply + } + desc = ecumenical_council_events.0020.desc.be_fruitful_and_multiply.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_apostolic_succession + } + desc = ecumenical_council_events.0020.desc.apostolic_succession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_confession + } + desc = ecumenical_council_events.0020.desc.confession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_original_sin + } + desc = ecumenical_council_events.0020.desc.original_sin.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_celestial_hierarchy + } + desc = ecumenical_council_events.0020.desc.celestial_hierarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_miles_christi + } + desc = ecumenical_council_events.0020.desc.miles_christi.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_scholasticism + } + desc = ecumenical_council_events.0020.desc.scholasticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_adoptionism + } + desc = ecumenical_council_events.0020.desc.adoptionism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_love_thy_neighbour + } + desc = ecumenical_council_events.0020.desc.love_thy_neighbour.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_divine_liturgy + } + desc = ecumenical_council_events.0020.desc.divine_liturgy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_miaphysitism + } + desc = ecumenical_council_events.0020.desc.miaphysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_hesychasm + } + desc = ecumenical_council_events.0020.desc.hesychasm.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_anachoresis + } + desc = ecumenical_council_events.0020.desc.anachoresis.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mortification_of_the_flesh + } + desc = ecumenical_council_events.0020.desc.mortification_of_the_flesh.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_holy_myron + } + desc = ecumenical_council_events.0020.desc.holy_myron.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_khachkar + } + desc = ecumenical_council_events.0020.desc.khachkar.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_philanthropia + } + desc = ecumenical_council_events.0020.desc.philanthropia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_aniconism + } + desc = ecumenical_council_events.0020.desc.aniconism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_alexandrian_catechism + } + desc = ecumenical_council_events.0020.desc.alexandrian_catechism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_armed_pilgrimages + } + desc = ecumenical_council_events.0020.desc.armed_pilgrimages.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_carnal_exaltation + } + desc = ecumenical_council_events.0020.desc.carnal_exaltation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_communal_identity + } + desc = ecumenical_council_events.0020.desc.communal_identity.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_communion + } + desc = ecumenical_council_events.0020.desc.communion.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_consolamentum + } + desc = ecumenical_council_events.0020.desc.consolamentum.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_divine_marriage + } + desc = ecumenical_council_events.0020.desc.divine_marriage.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_gnosticism + } + desc = ecumenical_council_events.0020.desc.gnosticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mendicant_preachers + } + desc = ecumenical_council_events.0020.desc.mendicant_preachers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pacifism + } + desc = ecumenical_council_events.0020.desc.pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pentarchy + } + desc = ecumenical_council_events.0020.desc.pentarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_unrelenting_faith + } + desc = ecumenical_council_events.0020.desc.unrelenting_faith.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_vows_of_poverty + } + desc = ecumenical_council_events.0020.desc.vows_of_poverty.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pastoral_isolation + } + desc = ecumenical_council_events.0020.desc.pastoral_isolation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_adaptive + } + desc = ecumenical_council_events.0020.desc.adaptive.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_esotericism + } + desc = ecumenical_council_events.0020.desc.esotericism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_legalism + } + desc = ecumenical_council_events.0020.desc.legalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_literalism + } + desc = ecumenical_council_events.0020.desc.literalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_reincarnation + } + desc = ecumenical_council_events.0020.desc.reincarnation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_religious_legal_pronouncements + } + desc = ecumenical_council_events.0020.desc.religious_legal_pronouncements.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_struggle_submission + } + desc = ecumenical_council_events.0020.desc.struggle_submission.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_false_conversion_sanction + } + desc = ecumenical_council_events.0020.desc.false_conversion_sanction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_tax_nonbelievers + } + desc = ecumenical_council_events.0020.desc.tax_nonbelievers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_asceticism + } + desc = ecumenical_council_events.0020.desc.asceticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_bhakti + } + desc = ecumenical_council_events.0020.desc.bhakti.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_dharmic_pacifism + } + desc = ecumenical_council_events.0020.desc.dharmic_pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_inner_journey + } + desc = ecumenical_council_events.0020.desc.inner_journey.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ritual_hospitality + } + desc = ecumenical_council_events.0020.desc.ritual_hospitality.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_adorcism + } + desc = ecumenical_council_events.0020.desc.adorcism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ancestor_worship + } + desc = ecumenical_council_events.0020.desc.ancestor_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_astrology + } + desc = ecumenical_council_events.0020.desc.astrology.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_hedonistic + } + desc = ecumenical_council_events.0020.desc.hedonistic.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_human_sacrifice + } + desc = ecumenical_council_events.0020.desc.human_sacrifice.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mystical_birthright + } + desc = ecumenical_council_events.0020.desc.mystical_birthright.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ritual_celebrations + } + desc = ecumenical_council_events.0020.desc.ritual_celebrations.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacred_childbirth + } + desc = ecumenical_council_events.0020.desc.sacred_childbirth.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sanctity_of_nature + } + desc = ecumenical_council_events.0020.desc.sanctity_of_nature.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sun_worship + } + desc = ecumenical_council_events.0020.desc.sun_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_warmonger + } + desc = ecumenical_council_events.0020.desc.warmonger.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_gruesome_festivals + } + desc = ecumenical_council_events.0020.desc.gruesome_festivals.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_cthonic_redoubts + } + desc = ecumenical_council_events.0020.desc.cthonic_redoubts.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_household_gods + } + desc = ecumenical_council_events.0020.desc.household_gods.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sinitic_syncretism + } + desc = ecumenical_council_events.0020.desc.sinitic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_eastern_syncretism + } + desc = ecumenical_council_events.0020.desc.eastern_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_unreformed_syncretism + } + desc = ecumenical_council_events.0020.desc.unreformed_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_christian_syncretism + } + desc = ecumenical_council_events.0020.desc.christian_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_islamic_syncretism + } + desc = ecumenical_council_events.0020.desc.islamic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_jewish_syncretism + } + desc = ecumenical_council_events.0020.desc.jewish_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_exaltation_of_pain + } + desc = ecumenical_council_events.0020.desc.exaltation_of_pain.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_natural_primitivism + } + desc = ecumenical_council_events.0020.desc.natural_primitivism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pursuit_of_power + } + desc = ecumenical_council_events.0020.desc.pursuit_of_power.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ritual_cannibalism + } + desc = ecumenical_council_events.0020.desc.ritual_cannibalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacred_shadows + } + desc = ecumenical_council_events.0020.desc.sacred_shadows.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_polyamory + } + desc = ecumenical_council_events.0020.desc.polyamory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacrificial_ceremonies + } + desc = ecumenical_council_events.0020.desc.sacrificial_ceremonies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_megaliths + } + desc = ecumenical_council_events.0020.desc.megaliths.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_communal_possessions + } + desc = ecumenical_council_events.0020.desc.communal_possessions.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pure_land + } + desc = ecumenical_council_events.0020.desc.pure_land.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_no_mind + } + desc = ecumenical_council_events.0020.desc.no_mind.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mountain_worship + } + desc = ecumenical_council_events.0020.desc.mountain_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_extinction_of_dharma + } + desc = ecumenical_council_events.0020.desc.extinction_of_dharma.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_cranial_trophies + } + desc = ecumenical_council_events.0020.desc.cranial_trophies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pursuit_of_knowledge + } + desc = ecumenical_council_events.0020.desc.pursuit_of_knowledge.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_benevolent_governance + } + desc = ecumenical_council_events.0020.desc.benevolent_governance.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_filial_piety + } + desc = ecumenical_council_events.0020.desc.filial_piety.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_harmonious_society + } + desc = ecumenical_council_events.0020.desc.harmonious_society.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacred_destruction + } + desc = ecumenical_council_events.0020.desc.sacred_destruction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_preservation + } + desc = ecumenical_council_events.0020.desc.preservation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_takamin + } + desc = ecumenical_council_events.0020.desc.takamin.explanation + } + # Fallback for any debatable tenet outside the list above + desc = ecumenical_council_events.0020.desc.fallback.explanation + } + # Arguments from Court Chaplain + triggered_desc = { + trigger = { + faith.main_rite = { + OR = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = permitted + } + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = known + } + } + } + "faith.tenet_popularity(scope:ec_debate_topic_2)" > tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0020.desc.intro_permit_promote + } + triggered_desc = { + trigger = { + faith.main_rite = { + OR = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = permitted + } + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = known + } + } + } + "faith.tenet_popularity(scope:ec_debate_topic_2)" <= tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0020.desc.intro_permit_demote + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = core + } + } + "faith.tenet_popularity(scope:ec_debate_topic_2)" > tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0020.desc.intro_core_demote_bad + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = core + } + } + "faith.tenet_popularity(scope:ec_debate_topic_2)" <= tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0020.desc.intro_core_demote_good + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = prohibited + } + } + "faith.tenet_popularity(scope:ec_debate_topic_2)" > tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0020.desc.intro_prohibited_promote_good + } + triggered_desc = { + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = prohibited + } + } + "faith.tenet_popularity(scope:ec_debate_topic_2)" <= tenet_popularity_neutral_threshold + } + desc = ecumenical_council_events.0020.desc.intro_prohibited_promote_bad + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_innovator + animation = throne_room_conversation_1 + } + right_portrait = { + character = scope:lead_conservative + animation = page_flipping + } + theme = ecumenical_council + + immediate = { + # For MP + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + scope:ec_debate_topic_2 = { + save_scope_as = current_topic + } + random_character_tenet = { + status = core + faith_filter = root.faith + limit = { + this != scope:ec_debate_topic_2 + # Don't swap a tenet the first debate just enshrined as core + trigger_if = { + limit = { + scope:activity.var:first_debate_proposal ?= flag:make_core + scope:activity.var:first_debate_resolution ?= flag:passed + } + this != scope:activity.activity_tenet:1 + } + } + save_scope_as = current_core_1 + } + random_character_tenet = { + status = core + faith_filter = root.faith + limit = { + this != scope:ec_debate_topic_2 + this != scope:current_core_1 + trigger_if = { + limit = { + scope:activity.var:first_debate_proposal ?= flag:make_core + scope:activity.var:first_debate_resolution ?= flag:passed + } + this != scope:activity.activity_tenet:1 + } + } + save_scope_as = current_core_2 + } + random_character_tenet = { + status = core + faith_filter = root.faith + limit = { + this != scope:ec_debate_topic_2 + this != scope:current_core_1 + this != scope:current_core_2 + trigger_if = { + limit = { + scope:activity.var:first_debate_proposal ?= flag:make_core + scope:activity.var:first_debate_resolution ?= flag:passed + } + this != scope:activity.activity_tenet:1 + } + } + save_scope_as = current_core_3 + } + } + + # Core + option = { + name = ecumenical_council_events.0020.a_1 + trigger = { + exists = scope:current_core_1 + scope:ec_debate_topic_2 != scope:current_core_1 + faith.main_rite = { + rite_can_choose_tenet = scope:ec_debate_topic_2 + } + } + show_as_unavailable = { + exists = scope:current_core_1 + scope:ec_debate_topic_2 != scope:current_core_1 + } + show_as_tooltip = { + ecumenical_council_make_core_preview_effect = { + DEMOTED = scope:current_core_1 + PROMOTED = scope:ec_debate_topic_2 + } + } + scope:activity = { + set_variable = { + name = core_tenet_to_swap_2 + value = scope:current_core_1 + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:make_core } + } + ai_will_select = { + value = 10 + add = scope:current_core_1.pam_tenet_unpopularity_impact_value + add = scope:ec_debate_topic_2.pam_tenet_popularity_impact_value + add = scope:ec_debate_topic_2.pam_christian_vice_restraint_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = prohibited + } + } + } + multiply = 0 + } + } + } + # Core + option = { + name = ecumenical_council_events.0020.a_2 + trigger = { + exists = scope:current_core_2 + scope:ec_debate_topic_2 != scope:current_core_2 + faith.main_rite = { + rite_can_choose_tenet = scope:ec_debate_topic_2 + } + } + show_as_unavailable = { + exists = scope:current_core_2 + scope:ec_debate_topic_2 != scope:current_core_2 + } + show_as_tooltip = { + ecumenical_council_make_core_preview_effect = { + DEMOTED = scope:current_core_2 + PROMOTED = scope:ec_debate_topic_2 + } + } + scope:activity = { + set_variable = { + name = core_tenet_to_swap_2 + value = scope:current_core_2 + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:make_core } + } + ai_will_select = { + value = 10 + add = scope:current_core_2.pam_tenet_unpopularity_impact_value + add = scope:ec_debate_topic_2.pam_tenet_popularity_impact_value + add = scope:ec_debate_topic_2.pam_christian_vice_restraint_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = prohibited + } + } + } + multiply = 0 + } + } + } + # Core + option = { + name = ecumenical_council_events.0020.a_3 + trigger = { + exists = scope:current_core_3 + scope:ec_debate_topic_2 != scope:current_core_3 + faith.main_rite = { + rite_can_choose_tenet = scope:ec_debate_topic_2 + } + } + show_as_unavailable = { + exists = scope:current_core_3 + scope:ec_debate_topic_2 != scope:current_core_3 + } + show_as_tooltip = { + ecumenical_council_make_core_preview_effect = { + DEMOTED = scope:current_core_3 + PROMOTED = scope:ec_debate_topic_2 + } + } + scope:activity = { + set_variable = { + name = core_tenet_to_swap_2 + value = scope:current_core_3 + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:make_core } + } + ai_will_select = { + value = 10 + add = scope:current_core_3.pam_tenet_unpopularity_impact_value + add = scope:ec_debate_topic_2.pam_tenet_popularity_impact_value + add = scope:ec_debate_topic_2.pam_christian_vice_restraint_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = prohibited + } + } + } + multiply = 0 + } + } + } + # Prohibit + option = { + name = ecumenical_council_events.0020.b + trigger = { + faith.main_rite = { + NOT = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = prohibited + } + } + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:prohibit } + } + custom_tooltip = ecumenical_council_outcome_preview_prohibited_tt + ai_will_select = { + value = 10 + add = scope:ec_debate_topic_2.pam_tenet_unpopularity_impact_value + # Go in increments, don't jump to the extreme status immediately + if = { + limit = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = core + } + } + } + multiply = 0 + } + if = { + limit = { + scope:ec_debate_topic_2 = { tenet_is_intrinsic_to_faith_trigger = { FAITH = root.faith } } + } + multiply = 0 + } + } + } + # Permit + option = { + name = ecumenical_council_events.0020.c + trigger = { + faith.main_rite = { + NOT = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = permitted + } + } + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:permit } + } + custom_tooltip = ecumenical_council_outcome_preview_permitted_tt + ai_will_select = { + value = scope:ec_debate_topic_2.pam_ec_permit_option_ai_weight_value + } + } + # Learn + option = { + name = ecumenical_council_events.0020.d + trigger = { + faith.main_rite = { + has_tenet_status = { + tenet = scope:ec_debate_topic_2 + status = unknown + } + } + } + hidden_effect = { + ecumenical_council_set_proposal_effect = { PROPOSAL = flag:learn } + } + custom_tooltip = ecumenical_council_outcome_preview_learned_tt + ai_will_select = { + value = 100 + } + } + + after = { + # For MP + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0021 # ecumenical_council_events.0021 + } + } +} + +# Start of Second Debate - Guest, this is what the host decided we're debating +ecumenical_council_events.0021 = { + type = activity_event + title = ecumenical_council_events.0021.t + desc = { + desc = ecumenical_council_events.0021.desc.intro + # What the tenet is about from lead_portrait + first_valid = { + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_peace_of_god + } + desc = ecumenical_council_events.0020.desc.peace_of_god.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_dulia + } + desc = ecumenical_council_events.0020.desc.dulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_transubstantiation + } + desc = ecumenical_council_events.0020.desc.transubstantiation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ora_et_labora + } + desc = ecumenical_council_events.0020.desc.ora_et_labora.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_hyperdulia + } + desc = ecumenical_council_events.0020.desc.hyperdulia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_simony + } + desc = ecumenical_council_events.0020.desc.simony.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_monophysitism + } + desc = ecumenical_council_events.0020.desc.monophysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_acts_of_apostles + } + desc = ecumenical_council_events.0020.desc.acts_of_apostles.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_purgatory + } + desc = ecumenical_council_events.0020.desc.purgatory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_be_fruitful_and_multiply + } + desc = ecumenical_council_events.0020.desc.be_fruitful_and_multiply.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_apostolic_succession + } + desc = ecumenical_council_events.0020.desc.apostolic_succession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_confession + } + desc = ecumenical_council_events.0020.desc.confession.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_original_sin + } + desc = ecumenical_council_events.0020.desc.original_sin.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_celestial_hierarchy + } + desc = ecumenical_council_events.0020.desc.celestial_hierarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_miles_christi + } + desc = ecumenical_council_events.0020.desc.miles_christi.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_scholasticism + } + desc = ecumenical_council_events.0020.desc.scholasticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_adoptionism + } + desc = ecumenical_council_events.0020.desc.adoptionism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_love_thy_neighbour + } + desc = ecumenical_council_events.0020.desc.love_thy_neighbour.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_divine_liturgy + } + desc = ecumenical_council_events.0020.desc.divine_liturgy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_miaphysitism + } + desc = ecumenical_council_events.0020.desc.miaphysitism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_hesychasm + } + desc = ecumenical_council_events.0020.desc.hesychasm.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_anachoresis + } + desc = ecumenical_council_events.0020.desc.anachoresis.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mortification_of_the_flesh + } + desc = ecumenical_council_events.0020.desc.mortification_of_the_flesh.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_holy_myron + } + desc = ecumenical_council_events.0020.desc.holy_myron.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_khachkar + } + desc = ecumenical_council_events.0020.desc.khachkar.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_philanthropia + } + desc = ecumenical_council_events.0020.desc.philanthropia.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_aniconism + } + desc = ecumenical_council_events.0020.desc.aniconism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_alexandrian_catechism + } + desc = ecumenical_council_events.0020.desc.alexandrian_catechism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_armed_pilgrimages + } + desc = ecumenical_council_events.0020.desc.armed_pilgrimages.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_carnal_exaltation + } + desc = ecumenical_council_events.0020.desc.carnal_exaltation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_communal_identity + } + desc = ecumenical_council_events.0020.desc.communal_identity.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_communion + } + desc = ecumenical_council_events.0020.desc.communion.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_consolamentum + } + desc = ecumenical_council_events.0020.desc.consolamentum.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_divine_marriage + } + desc = ecumenical_council_events.0020.desc.divine_marriage.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_gnosticism + } + desc = ecumenical_council_events.0020.desc.gnosticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mendicant_preachers + } + desc = ecumenical_council_events.0020.desc.mendicant_preachers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pacifism + } + desc = ecumenical_council_events.0020.desc.pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pentarchy + } + desc = ecumenical_council_events.0020.desc.pentarchy.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_unrelenting_faith + } + desc = ecumenical_council_events.0020.desc.unrelenting_faith.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_vows_of_poverty + } + desc = ecumenical_council_events.0020.desc.vows_of_poverty.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pastoral_isolation + } + desc = ecumenical_council_events.0020.desc.pastoral_isolation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_adaptive + } + desc = ecumenical_council_events.0020.desc.adaptive.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_esotericism + } + desc = ecumenical_council_events.0020.desc.esotericism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_legalism + } + desc = ecumenical_council_events.0020.desc.legalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_literalism + } + desc = ecumenical_council_events.0020.desc.literalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_reincarnation + } + desc = ecumenical_council_events.0020.desc.reincarnation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_religious_legal_pronouncements + } + desc = ecumenical_council_events.0020.desc.religious_legal_pronouncements.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_struggle_submission + } + desc = ecumenical_council_events.0020.desc.struggle_submission.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_false_conversion_sanction + } + desc = ecumenical_council_events.0020.desc.false_conversion_sanction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_tax_nonbelievers + } + desc = ecumenical_council_events.0020.desc.tax_nonbelievers.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_asceticism + } + desc = ecumenical_council_events.0020.desc.asceticism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_bhakti + } + desc = ecumenical_council_events.0020.desc.bhakti.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_dharmic_pacifism + } + desc = ecumenical_council_events.0020.desc.dharmic_pacifism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_inner_journey + } + desc = ecumenical_council_events.0020.desc.inner_journey.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ritual_hospitality + } + desc = ecumenical_council_events.0020.desc.ritual_hospitality.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_adorcism + } + desc = ecumenical_council_events.0020.desc.adorcism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ancestor_worship + } + desc = ecumenical_council_events.0020.desc.ancestor_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_astrology + } + desc = ecumenical_council_events.0020.desc.astrology.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_hedonistic + } + desc = ecumenical_council_events.0020.desc.hedonistic.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_human_sacrifice + } + desc = ecumenical_council_events.0020.desc.human_sacrifice.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mystical_birthright + } + desc = ecumenical_council_events.0020.desc.mystical_birthright.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ritual_celebrations + } + desc = ecumenical_council_events.0020.desc.ritual_celebrations.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacred_childbirth + } + desc = ecumenical_council_events.0020.desc.sacred_childbirth.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sanctity_of_nature + } + desc = ecumenical_council_events.0020.desc.sanctity_of_nature.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sun_worship + } + desc = ecumenical_council_events.0020.desc.sun_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_warmonger + } + desc = ecumenical_council_events.0020.desc.warmonger.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_gruesome_festivals + } + desc = ecumenical_council_events.0020.desc.gruesome_festivals.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_cthonic_redoubts + } + desc = ecumenical_council_events.0020.desc.cthonic_redoubts.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_household_gods + } + desc = ecumenical_council_events.0020.desc.household_gods.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sinitic_syncretism + } + desc = ecumenical_council_events.0020.desc.sinitic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_eastern_syncretism + } + desc = ecumenical_council_events.0020.desc.eastern_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_unreformed_syncretism + } + desc = ecumenical_council_events.0020.desc.unreformed_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_christian_syncretism + } + desc = ecumenical_council_events.0020.desc.christian_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_islamic_syncretism + } + desc = ecumenical_council_events.0020.desc.islamic_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_jewish_syncretism + } + desc = ecumenical_council_events.0020.desc.jewish_syncretism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_exaltation_of_pain + } + desc = ecumenical_council_events.0020.desc.exaltation_of_pain.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_natural_primitivism + } + desc = ecumenical_council_events.0020.desc.natural_primitivism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pursuit_of_power + } + desc = ecumenical_council_events.0020.desc.pursuit_of_power.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_ritual_cannibalism + } + desc = ecumenical_council_events.0020.desc.ritual_cannibalism.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacred_shadows + } + desc = ecumenical_council_events.0020.desc.sacred_shadows.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_polyamory + } + desc = ecumenical_council_events.0020.desc.polyamory.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacrificial_ceremonies + } + desc = ecumenical_council_events.0020.desc.sacrificial_ceremonies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_megaliths + } + desc = ecumenical_council_events.0020.desc.megaliths.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_communal_possessions + } + desc = ecumenical_council_events.0020.desc.communal_possessions.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pure_land + } + desc = ecumenical_council_events.0020.desc.pure_land.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_no_mind + } + desc = ecumenical_council_events.0020.desc.no_mind.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_mountain_worship + } + desc = ecumenical_council_events.0020.desc.mountain_worship.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_extinction_of_dharma + } + desc = ecumenical_council_events.0020.desc.extinction_of_dharma.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_cranial_trophies + } + desc = ecumenical_council_events.0020.desc.cranial_trophies.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_pursuit_of_knowledge + } + desc = ecumenical_council_events.0020.desc.pursuit_of_knowledge.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_benevolent_governance + } + desc = ecumenical_council_events.0020.desc.benevolent_governance.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_filial_piety + } + desc = ecumenical_council_events.0020.desc.filial_piety.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_harmonious_society + } + desc = ecumenical_council_events.0020.desc.harmonious_society.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_sacred_destruction + } + desc = ecumenical_council_events.0020.desc.sacred_destruction.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_preservation + } + desc = ecumenical_council_events.0020.desc.preservation.explanation + } + triggered_desc = { + trigger = { + scope:ec_debate_topic_2 = tenet:tenet_takamin + } + desc = ecumenical_council_events.0020.desc.takamin.explanation + } + # Fallback for any debatable tenet outside the list above + desc = ecumenical_council_events.0020.desc.fallback.explanation + } + desc = ecumenical_council_events.0021.desc.outro + first_valid = { + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:permit } + desc = ecumenical_council_events.0021.desc.permit + } + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:prohibit } + desc = ecumenical_council_events.0021.desc.prohibit + } + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:learn } + desc = ecumenical_council_events.0021.desc.learn + } + triggered_desc = { + trigger = { scope:activity.var:current_debate_proposal ?= flag:make_core } + desc = ecumenical_council_events.0021.desc.make_core + } + } + } + left_portrait = { + character = root + animation = pondering + } + right_portrait = { + character = scope:host + animation = acknowledging + } + theme = ecumenical_council + + immediate = { + scope:activity.var:core_tenet_to_swap_2 ?= { + save_scope_as = core_tenet_to_swap + } + } + + option = { + name = ecumenical_council_events.0021.a + ecumenical_council_log_stance_effect = { SIDE = innovator } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0021.b + ecumenical_council_log_stance_effect = { SIDE = conservative } + ai_chance = { + base = 100 + } + } +} + +# Start of Third Debate - Guest, this is what the host decided we're debating +ecumenical_council_events.0031 = { + type = activity_event + title = ecumenical_council_events.0031.t + desc = { + desc = ecumenical_council_events.0031.desc.intro + desc = ecumenical_council_events.0031.desc.proposal + } + left_portrait = { + character = root + animation = pondering + } + right_portrait = { + character = scope:host + animation = acknowledging + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + scope:activity = { + var:third_debate_proposal ?= { save_scope_as = ec_proposed_doctrine } + } + } + + option = { + name = ecumenical_council_events.0031.a + ecumenical_council_log_stance_effect = { SIDE = innovator } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0031.b + ecumenical_council_log_stance_effect = { SIDE = conservative } + ai_chance = { + base = 100 + } + } +} + +# Conclusion event - Host +ecumenical_council_events.0040 = { + type = activity_event + title = ecumenical_council_events.0040.t + desc = { + desc = ecumenical_council_events.0040.desc + first_valid = { + triggered_desc = { + trigger = { + OR = { + scope:activity.var:first_debate_resolution ?= flag:passed + scope:activity.var:second_debate_resolution ?= flag:passed + scope:activity.var:third_debate_resolution ?= flag:passed + } + } + desc = ecumenical_council_events.0040.desc.change + } + desc = ecumenical_council_events.0040.desc.status_quo + } + triggered_desc = { + trigger = { scope:activity = { has_variable = pam_schism_crisis_council } } + desc = ecumenical_council_events.schism_crisis_end + } + } + theme = ecumenical_council + left_portrait = { + character = root + animation = thinking + } + + option = { + name = ecumenical_council_events.0040.a + disburse_ecumenical_council_activity_rewards = yes + ai_chance = { + base = 100 + } + } +} + +# Conclusion event - Guest +ecumenical_council_events.0041 = { + type = activity_event + title = ecumenical_council_events.0041.t + desc = { + desc = ecumenical_council_events.0041.desc + first_valid = { + triggered_desc = { + trigger = { + OR = { + scope:activity.var:first_debate_resolution ?= flag:passed + scope:activity.var:second_debate_resolution ?= flag:passed + scope:activity.var:third_debate_resolution ?= flag:passed + } + } + desc = ecumenical_council_events.0041.desc.change + } + desc = ecumenical_council_events.0041.desc.status_quo + } + triggered_desc = { + trigger = { scope:activity = { has_variable = pam_schism_crisis_council } } + desc = ecumenical_council_events.schism_crisis_end + } + } + theme = ecumenical_council + left_portrait = { + character = root + animation = thinking + } + + option = { + name = ecumenical_council_events.0041.a + disburse_ecumenical_council_activity_rewards = yes + ai_chance = { + base = 100 + } + } +} + +# Debate vote resolution - Host. Tallies the innovator and conservative guest subsets, +# applies the proposed change when innovators are at least as numerous as conservatives, +# then dispatches the guest resolution event. +ecumenical_council_events.0080 = { + type = activity_event + title = ecumenical_council_events.0080.t + desc = { + first_valid = { + triggered_desc = { + trigger = { scope:activity.var:last_debate_passed ?= flag:passed } + desc = ecumenical_council_events.0080.desc.passed + } + desc = ecumenical_council_events.0080.desc.failed + } + triggered_desc = { + trigger = { + exists = scope:ec_current_topic + NOT = { exists = scope:activity.var:third_debate_resolution } + } + desc = { + # Mechanical tenet outcome line: topic + proposed status. + first_valid = { + triggered_desc = { + trigger = { + scope:activity.var:last_debate_passed ?= flag:passed + scope:activity.var:current_debate_proposal ?= flag:make_core + exists = scope:core_tenet_to_swap + } + desc = ecumenical_council_events.0080.desc.outcome.passed.make_core + } + triggered_desc = { + trigger = { + scope:activity.var:last_debate_passed ?= flag:passed + OR = { + scope:activity.var:current_debate_proposal ?= flag:permit + scope:activity.var:current_debate_proposal ?= flag:prohibit + scope:activity.var:current_debate_proposal ?= flag:learn + scope:activity.var:current_debate_proposal ?= flag:make_core + } + } + desc = ecumenical_council_events.0080.desc.outcome.passed + } + triggered_desc = { + trigger = { + OR = { + scope:activity.var:current_debate_proposal ?= flag:permit + scope:activity.var:current_debate_proposal ?= flag:prohibit + scope:activity.var:current_debate_proposal ?= flag:learn + scope:activity.var:current_debate_proposal ?= flag:make_core + } + } + desc = ecumenical_council_events.0080.desc.outcome.failed + } + } + } + } + } + theme = ecumenical_council + left_portrait = { + character = root + animation = personality_zealous + } + right_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + + immediate = { + save_major_scopes_effect = yes + scope:activity = { + var:current_topic ?= { save_scope_as = ec_current_topic } + every_guest_subset = { + name = innovator + add_to_list = ec_innovators + } + every_guest_subset = { + name = conservative + add_to_list = ec_conservatives + } + } + # Saved values, not activity variables: the tally is only read by loc, and an unused variable is a startup error; 0081 inherits them + save_scope_value_as = { + name = ec_vote_for + value = list_size:ec_innovators + } + save_scope_value_as = { + name = ec_vote_against + value = list_size:ec_conservatives + } + if = { + limit = { exists = scope:activity.var:core_tenet_to_swap_2 } + scope:activity.var:core_tenet_to_swap_2 = { save_scope_as = core_tenet_to_swap } + } + else = { + scope:activity.var:core_tenet_to_swap_1 ?= { save_scope_as = core_tenet_to_swap } + } + if = { + limit = { list_size:ec_innovators >= list_size:ec_conservatives } + scope:activity = { set_variable = { name = last_debate_passed value = flag:passed } } + if = { + limit = { exists = scope:activity.var:current_debate_proposal } + scope:activity = { + add_activity_log_entry = { + key = ecumenical_council_debate_outcome_log + score = 80 + tags = { completed } + show_in_conclusion = yes + character = scope:host + location = scope:host.location + ecumenical_council_apply_debate_outcome_effect = yes + } + } + # Announced once per council, not once per debate; the letter covers the rest at the end. + if = { + limit = { NOT = { exists = scope:activity.var:ec_ruling_announced } } + scope:activity = { + set_variable = { + name = ec_ruling_announced + value = yes + } + } + # Only players engaged with the Christian Church. + every_player = { + limit = { + faith = scope:host.faith + NOT = { involved_activity ?= scope:activity } + any_character_situation = { + this = situation:the_christian_church + } + } + send_interface_message = { + type = msg_ecumenical_council_ruling + left_icon = scope:host + } + } + } + } + } + else = { + scope:activity = { + add_activity_log_entry = { + key = ecumenical_council_debate_outcome_log + score = 80 + tags = { completed } + show_in_conclusion = yes + character = scope:host + location = scope:host.location + set_variable = { name = last_debate_passed value = flag:failed } + if = { + limit = { + NOT = { exists = var:first_debate_resolution } + } + set_variable = { + name = first_debate_resolution + value = flag:failed + } + custom_tooltip = first_debate_resolultion_failed_tt + } + else_if = { + limit = { + NOT = { exists = var:second_debate_resolution } + } + set_variable = { + name = second_debate_resolution + value = flag:failed + } + custom_tooltip = second_debate_resolultion_failed_tt + } + else = { + set_variable = { + name = third_debate_resolution + value = flag:failed + } + custom_tooltip = third_debate_resolultion_failed_tt + } + } + } + } + } + + option = { + name = ecumenical_council_events.0080.a + custom_tooltip = ecumenical_council_vote_tally_tt + show_as_tooltip = { + ecumenical_council_current_debate_personal_tenet_fulfillment_effect = yes + } + ai_chance = { + base = 100 + } + } + + after = { + scope:activity = { + every_attending_character = { + limit = { + this != scope:host + + } + trigger_event = ecumenical_council_events.0081 + } + } + } +} + +# Debate vote resolution - Guest. Shows the outcome from the guest's side, branching on +# whether they argued with the innovators or the conservatives and whether the vote passed. +ecumenical_council_events.0081 = { + type = activity_event + title = ecumenical_council_events.0081.t + desc = { + first_valid = { + triggered_desc = { + trigger = { + is_in_guest_subset = { name = innovator } + scope:activity.var:last_debate_passed ?= flag:passed + } + desc = ecumenical_council_events.0081.desc.innovator_passed + } + triggered_desc = { + trigger = { + is_in_guest_subset = { name = innovator } + scope:activity.var:last_debate_passed ?= flag:failed + } + desc = ecumenical_council_events.0081.desc.innovator_failed + } + triggered_desc = { + trigger = { + is_in_guest_subset = { name = conservative } + scope:activity.var:last_debate_passed ?= flag:passed + } + desc = ecumenical_council_events.0081.desc.conservative_passed + } + triggered_desc = { + trigger = { + is_in_guest_subset = { name = conservative } + scope:activity.var:last_debate_passed ?= flag:failed + } + desc = ecumenical_council_events.0081.desc.conservative_failed + } + desc = ecumenical_council_events.0081.desc.neutral + } + } + theme = ecumenical_council + left_portrait = { + character = root + animation = pondering + } + right_portrait = { + character = scope:host + animation = acknowledging + } + + option = { + name = ecumenical_council_events.0081.a + custom_tooltip = ecumenical_council_vote_tally_tt + show_as_tooltip = { + ecumenical_council_current_debate_personal_tenet_fulfillment_effect = yes + } + ai_chance = { + base = 100 + } + } +} + +# The chaplain's account of a council their liege sat out, sent whether or not anything changed. +ecumenical_council_events.0082 = { + type = letter_event + opening = ecumenical_council_events.0082.opening + sender = scope:ec_reporter + + immediate = { + scope:ec_council = { + activity_tenet:1 ?= { save_scope_as = ec_letter_tenet_1 } + activity_tenet:2 ?= { save_scope_as = ec_letter_tenet_2 } + activity_doctrine:1 ?= { save_scope_as = ec_letter_doctrine_1 } + } + } + + desc = { + first_valid = { + triggered_desc = { + trigger = { + scope:ec_council ?= { + NOR = { + var:first_debate_resolution ?= flag:passed + var:second_debate_resolution ?= flag:passed + var:third_debate_resolution ?= flag:passed + } + } + } + desc = ecumenical_council_events.0082.desc.unchanged + } + desc = ecumenical_council_events.0082.desc + } + } + + # The letter stays in the chaplain's voice; what actually moved sits under the option. + option = { + name = ecumenical_council_events.0082.a + if = { + limit = { + exists = scope:ec_letter_tenet_1 + scope:ec_council.var:first_debate_resolution ?= flag:passed + } + custom_tooltip = ecumenical_council_events.0082.a.tt.tenet_1 + show_as_tooltip = { + ecumenical_council_personal_tenet_fulfillment_effect = { + TOPIC = scope:ec_letter_tenet_1 + PROPOSAL = scope:ec_council.var:first_debate_proposal + SWAPPED = scope:ec_council.var:core_tenet_to_swap_1 + RITE = scope:ec_council_faith.main_rite + } + } + } + if = { + limit = { + exists = scope:ec_letter_tenet_2 + scope:ec_council.var:second_debate_resolution ?= flag:passed + } + custom_tooltip = ecumenical_council_events.0082.a.tt.tenet_2 + show_as_tooltip = { + ecumenical_council_personal_tenet_fulfillment_effect = { + TOPIC = scope:ec_letter_tenet_2 + PROPOSAL = scope:ec_council.var:second_debate_proposal + SWAPPED = scope:ec_council.var:core_tenet_to_swap_2 + RITE = scope:ec_council_faith.main_rite + } + } + } + if = { + limit = { + exists = scope:ec_letter_doctrine_1 + scope:ec_council.var:third_debate_resolution ?= flag:passed + } + custom_tooltip = ecumenical_council_events.0082.a.tt.doctrine_1 + } + } +} + +########################################## +## Third Debate per-doctrine-group stance picks. +## Each event is triggered directly from the activity's Third Debate phase on_enter (host branch) based on the +## group of scope:ec_debate_topic_3. The host picks a stance (change / keep / strengthen) +## which is stored in scope:activity.var:current_debate_proposal and read by the guest event 0031. +########################################## + +# Third Debate - doctrine_marriage_type (monogamy / polygamy / concubines) +ecumenical_council_events.0050 = { + type = activity_event + title = ecumenical_council_events.0050.t + desc = { + desc = ecumenical_council_events.0050.desc.intro + desc = ecumenical_council_events.0050.desc.doctrine_marriage_type_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0050.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + # For MP + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_monogamy = { + save_scope_as = doctrine_monogamy + } + save_scope_value_as = { + name = doctrine_monogamy_value + value = { + value = 0 + doctrine:doctrine_monogamy = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_polygamy = { + save_scope_as = doctrine_polygamy + } + save_scope_value_as = { + name = doctrine_polygamy_value + value = { + value = 0 + doctrine:doctrine_polygamy = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_concubines = { + save_scope_as = doctrine_concubines + } + save_scope_value_as = { + name = doctrine_concubines_value + value = { + value = 0 + doctrine:doctrine_concubines = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monogamy } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_polygamy } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_concubines } + } + + # Push for monogamy + option = { + name = ecumenical_council_events.0050.doctrine_monogamy + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_monogamy + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monogamy } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_monogamy + } + doctrine:doctrine_monogamy = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monogamy } + ai_will_select = { + value = 100 + add = scope:doctrine_monogamy_value + } + } + # Push for polygamy + option = { + name = ecumenical_council_events.0050.doctrine_polygamy + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_polygamy + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_polygamy } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_polygamy + } + doctrine:doctrine_polygamy = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_polygamy } + ai_will_select = { + value = 100 + add = scope:doctrine_polygamy_value + } + } + # Push for concubines + option = { + name = ecumenical_council_events.0050.doctrine_concubines + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_concubines + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_concubines } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_concubines + } + doctrine:doctrine_concubines = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_concubines } + ai_will_select = { + value = 100 + add = scope:doctrine_concubines_value + } + } + + after = { + # For MP + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_divorce (disallowed / approval / allowed) +ecumenical_council_events.0051 = { + type = activity_event + title = ecumenical_council_events.0051.t + desc = { + desc = ecumenical_council_events.0051.desc.intro + desc = ecumenical_council_events.0051.desc.doctrine_divorce_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0051.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_divorce_disallowed = { + save_scope_as = doctrine_divorce_disallowed + } + save_scope_value_as = { + name = doctrine_divorce_disallowed_value + value = { + value = 0 + doctrine:doctrine_divorce_disallowed = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_divorce_approval = { + save_scope_as = doctrine_divorce_approval + } + save_scope_value_as = { + name = doctrine_divorce_approval_value + value = { + value = 0 + doctrine:doctrine_divorce_approval = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_divorce_allowed = { + save_scope_as = doctrine_divorce_allowed + } + save_scope_value_as = { + name = doctrine_divorce_allowed_value + value = { + value = 0 + doctrine:doctrine_divorce_allowed = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_divorce_disallowed } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_divorce_approval } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_divorce_allowed } + } + + # Push for divorce disallowed + option = { + name = ecumenical_council_events.0051.doctrine_divorce_disallowed + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_divorce_disallowed + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_divorce_disallowed } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_divorce_disallowed + } + doctrine:doctrine_divorce_disallowed = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_divorce_disallowed } + ai_will_select = { + value = 100 + add = scope:doctrine_divorce_disallowed_value + } + } + # Push for divorce by approval + option = { + name = ecumenical_council_events.0051.doctrine_divorce_approval + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_divorce_approval + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_divorce_approval } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_divorce_approval + } + doctrine:doctrine_divorce_approval = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_divorce_approval } + ai_will_select = { + value = 100 + add = scope:doctrine_divorce_approval_value + } + } + # Push for divorce allowed + option = { + name = ecumenical_council_events.0051.doctrine_divorce_allowed + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_divorce_allowed + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_divorce_allowed } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_divorce_allowed + } + doctrine:doctrine_divorce_allowed = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_divorce_allowed } + ai_will_select = { + value = 100 + add = scope:doctrine_divorce_allowed_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_bastardry (none / legitimization / all) +ecumenical_council_events.0052 = { + type = activity_event + title = ecumenical_council_events.0052.t + desc = { + desc = ecumenical_council_events.0052.desc.intro + desc = ecumenical_council_events.0052.desc.doctrine_bastardry_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0052.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_bastardry_none = { + save_scope_as = doctrine_bastardry_none + } + save_scope_value_as = { + name = doctrine_bastardry_none_value + value = { + value = 0 + doctrine:doctrine_bastardry_none = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_bastardry_legitimization = { + save_scope_as = doctrine_bastardry_legitimization + } + save_scope_value_as = { + name = doctrine_bastardry_legitimization_value + value = { + value = 0 + doctrine:doctrine_bastardry_legitimization = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_bastardry_all = { + save_scope_as = doctrine_bastardry_all + } + save_scope_value_as = { + name = doctrine_bastardry_all_value + value = { + value = 0 + doctrine:doctrine_bastardry_all = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_bastardry_none } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_bastardry_legitimization } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_bastardry_all } + } + + # Push for no bastardry status + option = { + name = ecumenical_council_events.0052.doctrine_bastardry_none + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_none + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_bastardry_none } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_none + } + doctrine:doctrine_bastardry_none = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_bastardry_none } + ai_will_select = { + value = 100 + add = scope:doctrine_bastardry_none_value + } + } + # Push for bastardry legitimization + option = { + name = ecumenical_council_events.0052.doctrine_bastardry_legitimization + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_legitimization + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_bastardry_legitimization } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_legitimization + } + doctrine:doctrine_bastardry_legitimization = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_bastardry_legitimization } + ai_will_select = { + value = 100 + add = scope:doctrine_bastardry_legitimization_value + } + } + # Push for full bastardry acceptance + option = { + name = ecumenical_council_events.0052.doctrine_bastardry_all + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_all + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_bastardry_all } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_all + } + doctrine:doctrine_bastardry_all = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_bastardry_all } + ai_will_select = { + value = 100 + add = scope:doctrine_bastardry_all_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_homosexuality (crime / shunned / accepted) +ecumenical_council_events.0053 = { + type = activity_event + title = ecumenical_council_events.0053.t + desc = { + desc = ecumenical_council_events.0053.desc.intro + desc = ecumenical_council_events.0053.desc.doctrine_homosexuality_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0053.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_homosexuality_crime = { + save_scope_as = doctrine_homosexuality_crime + } + save_scope_value_as = { + name = doctrine_homosexuality_crime_value + value = { + value = 0 + doctrine:doctrine_homosexuality_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_homosexuality_shunned = { + save_scope_as = doctrine_homosexuality_shunned + } + save_scope_value_as = { + name = doctrine_homosexuality_shunned_value + value = { + value = 0 + doctrine:doctrine_homosexuality_shunned = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_homosexuality_accepted = { + save_scope_as = doctrine_homosexuality_accepted + } + save_scope_value_as = { + name = doctrine_homosexuality_accepted_value + value = { + value = 0 + doctrine:doctrine_homosexuality_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_homosexuality_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_homosexuality_shunned } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_homosexuality_accepted } + } + + # Push for homosexuality as crime + option = { + name = ecumenical_council_events.0053.doctrine_homosexuality_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_homosexuality_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_crime + } + doctrine:doctrine_homosexuality_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_homosexuality_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_homosexuality_crime_value + } + } + # Push for homosexuality shunned + option = { + name = ecumenical_council_events.0053.doctrine_homosexuality_shunned + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_shunned + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_homosexuality_shunned } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_shunned + } + doctrine:doctrine_homosexuality_shunned = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_homosexuality_shunned } + ai_will_select = { + value = 100 + add = scope:doctrine_homosexuality_shunned_value + } + } + # Push for homosexuality accepted + option = { + name = ecumenical_council_events.0053.doctrine_homosexuality_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_homosexuality_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_accepted + } + doctrine:doctrine_homosexuality_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_homosexuality_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_homosexuality_accepted_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_deviancy (crime / shunned / accepted / virtuous) +ecumenical_council_events.0054 = { + type = activity_event + title = ecumenical_council_events.0054.t + desc = { + desc = ecumenical_council_events.0054.desc.intro + desc = ecumenical_council_events.0054.desc.doctrine_deviancy_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0054.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_deviancy_crime = { + save_scope_as = doctrine_deviancy_crime + } + save_scope_value_as = { + name = doctrine_deviancy_crime_value + value = { + value = 0 + doctrine:doctrine_deviancy_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_deviancy_shunned = { + save_scope_as = doctrine_deviancy_shunned + } + save_scope_value_as = { + name = doctrine_deviancy_shunned_value + value = { + value = 0 + doctrine:doctrine_deviancy_shunned = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_deviancy_accepted = { + save_scope_as = doctrine_deviancy_accepted + } + save_scope_value_as = { + name = doctrine_deviancy_accepted_value + value = { + value = 0 + doctrine:doctrine_deviancy_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_deviancy_virtuous = { + save_scope_as = doctrine_deviancy_virtuous + } + save_scope_value_as = { + name = doctrine_deviancy_virtuous_value + value = { + value = 0 + doctrine:doctrine_deviancy_virtuous = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_shunned } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_accepted } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_virtuous } + } + + # Push for deviancy as crime + option = { + name = ecumenical_council_events.0054.doctrine_deviancy_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_crime + } + doctrine:doctrine_deviancy_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_deviancy_crime_value + } + } + # Push for deviancy shunned + option = { + name = ecumenical_council_events.0054.doctrine_deviancy_shunned + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_shunned + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_shunned } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_shunned + } + doctrine:doctrine_deviancy_shunned = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_shunned } + ai_will_select = { + value = 100 + add = scope:doctrine_deviancy_shunned_value + } + } + # Push for deviancy accepted + option = { + name = ecumenical_council_events.0054.doctrine_deviancy_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_accepted + } + doctrine:doctrine_deviancy_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_deviancy_accepted_value + } + } + # Push for deviancy as virtuous + option = { + name = ecumenical_council_events.0054.doctrine_deviancy_virtuous + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_virtuous + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_virtuous } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_virtuous + } + doctrine:doctrine_deviancy_virtuous = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_virtuous } + ai_will_select = { + value = 100 + add = scope:doctrine_deviancy_virtuous_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_adultery_men (crime / shunned / accepted) +ecumenical_council_events.0055 = { + type = activity_event + title = ecumenical_council_events.0055.t + desc = { + desc = ecumenical_council_events.0055.desc.intro + desc = ecumenical_council_events.0055.desc.doctrine_adultery_men_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0055.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_adultery_men_crime = { + save_scope_as = doctrine_adultery_men_crime + } + save_scope_value_as = { + name = doctrine_adultery_men_crime_value + value = { + value = 0 + doctrine:doctrine_adultery_men_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_adultery_men_shunned = { + save_scope_as = doctrine_adultery_men_shunned + } + save_scope_value_as = { + name = doctrine_adultery_men_shunned_value + value = { + value = 0 + doctrine:doctrine_adultery_men_shunned = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_adultery_men_accepted = { + save_scope_as = doctrine_adultery_men_accepted + } + save_scope_value_as = { + name = doctrine_adultery_men_accepted_value + value = { + value = 0 + doctrine:doctrine_adultery_men_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_men_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_men_shunned } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_men_accepted } + } + + # Push for male adultery as crime + option = { + name = ecumenical_council_events.0055.doctrine_adultery_men_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_men_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_crime + } + doctrine:doctrine_adultery_men_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_men_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_adultery_men_crime_value + } + } + # Push for male adultery shunned + option = { + name = ecumenical_council_events.0055.doctrine_adultery_men_shunned + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_shunned + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_men_shunned } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_shunned + } + doctrine:doctrine_adultery_men_shunned = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_men_shunned } + ai_will_select = { + value = 100 + add = scope:doctrine_adultery_men_shunned_value + } + } + # Push for male adultery accepted + option = { + name = ecumenical_council_events.0055.doctrine_adultery_men_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_men_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_accepted + } + doctrine:doctrine_adultery_men_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_men_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_adultery_men_accepted_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_adultery_women (crime / shunned / accepted) +ecumenical_council_events.0056 = { + type = activity_event + title = ecumenical_council_events.0056.t + desc = { + desc = ecumenical_council_events.0056.desc.intro + desc = ecumenical_council_events.0056.desc.doctrine_adultery_women_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0056.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_adultery_women_crime = { + save_scope_as = doctrine_adultery_women_crime + } + save_scope_value_as = { + name = doctrine_adultery_women_crime_value + value = { + value = 0 + doctrine:doctrine_adultery_women_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_adultery_women_shunned = { + save_scope_as = doctrine_adultery_women_shunned + } + save_scope_value_as = { + name = doctrine_adultery_women_shunned_value + value = { + value = 0 + doctrine:doctrine_adultery_women_shunned = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_adultery_women_accepted = { + save_scope_as = doctrine_adultery_women_accepted + } + save_scope_value_as = { + name = doctrine_adultery_women_accepted_value + value = { + value = 0 + doctrine:doctrine_adultery_women_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_women_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_women_shunned } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_women_accepted } + } + + # Push for female adultery as crime + option = { + name = ecumenical_council_events.0056.doctrine_adultery_women_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_women_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_crime + } + doctrine:doctrine_adultery_women_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_women_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_adultery_women_crime_value + } + } + # Push for female adultery shunned + option = { + name = ecumenical_council_events.0056.doctrine_adultery_women_shunned + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_shunned + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_women_shunned } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_shunned + } + doctrine:doctrine_adultery_women_shunned = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_women_shunned } + ai_will_select = { + value = 100 + add = scope:doctrine_adultery_women_shunned_value + } + } + # Push for female adultery accepted + option = { + name = ecumenical_council_events.0056.doctrine_adultery_women_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_women_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_accepted + } + doctrine:doctrine_adultery_women_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_women_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_adultery_women_accepted_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_kinslaying (any_dynasty / extended / close_kin / shunned / accepted) +ecumenical_council_events.0057 = { + type = activity_event + title = ecumenical_council_events.0057.t + desc = { + desc = ecumenical_council_events.0057.desc.intro + desc = ecumenical_council_events.0057.desc.doctrine_kinslaying_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0057.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_kinslaying_any_dynasty_member_crime = { + save_scope_as = doctrine_kinslaying_any_dynasty_member_crime + } + save_scope_value_as = { + name = doctrine_kinslaying_any_dynasty_member_crime_value + value = { + value = 0 + doctrine:doctrine_kinslaying_any_dynasty_member_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_kinslaying_extended_family_crime = { + save_scope_as = doctrine_kinslaying_extended_family_crime + } + save_scope_value_as = { + name = doctrine_kinslaying_extended_family_crime_value + value = { + value = 0 + doctrine:doctrine_kinslaying_extended_family_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_kinslaying_close_kin_crime = { + save_scope_as = doctrine_kinslaying_close_kin_crime + } + save_scope_value_as = { + name = doctrine_kinslaying_close_kin_crime_value + value = { + value = 0 + doctrine:doctrine_kinslaying_close_kin_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_kinslaying_shunned = { + save_scope_as = doctrine_kinslaying_shunned + } + save_scope_value_as = { + name = doctrine_kinslaying_shunned_value + value = { + value = 0 + doctrine:doctrine_kinslaying_shunned = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_kinslaying_accepted = { + save_scope_as = doctrine_kinslaying_accepted + } + save_scope_value_as = { + name = doctrine_kinslaying_accepted_value + value = { + value = 0 + doctrine:doctrine_kinslaying_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_any_dynasty_member_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_extended_family_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_close_kin_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_shunned } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_accepted } + } + + # Push for any-dynasty-member kinslaying as crime + option = { + name = ecumenical_council_events.0057.doctrine_kinslaying_any_dynasty_member_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_any_dynasty_member_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_any_dynasty_member_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_any_dynasty_member_crime + } + doctrine:doctrine_kinslaying_any_dynasty_member_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_any_dynasty_member_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_kinslaying_any_dynasty_member_crime_value + } + } + # Push for extended-family kinslaying as crime + option = { + name = ecumenical_council_events.0057.doctrine_kinslaying_extended_family_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_extended_family_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_extended_family_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_extended_family_crime + } + doctrine:doctrine_kinslaying_extended_family_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_extended_family_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_kinslaying_extended_family_crime_value + } + } + # Push for close-kin kinslaying as crime + option = { + name = ecumenical_council_events.0057.doctrine_kinslaying_close_kin_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_close_kin_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_close_kin_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_close_kin_crime + } + doctrine:doctrine_kinslaying_close_kin_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_close_kin_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_kinslaying_close_kin_crime_value + } + } + # Push for kinslaying shunned + option = { + name = ecumenical_council_events.0057.doctrine_kinslaying_shunned + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_shunned + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_shunned } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_shunned + } + doctrine:doctrine_kinslaying_shunned = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_shunned } + ai_will_select = { + value = 100 + add = scope:doctrine_kinslaying_shunned_value + } + } + # Push for kinslaying accepted + option = { + name = ecumenical_council_events.0057.doctrine_kinslaying_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_accepted + } + doctrine:doctrine_kinslaying_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_kinslaying_accepted_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_witchcraft (crime / shunned / accepted / virtuous) +ecumenical_council_events.0058 = { + type = activity_event + title = ecumenical_council_events.0058.t + desc = { + desc = ecumenical_council_events.0058.desc.intro + desc = ecumenical_council_events.0058.desc.doctrine_witchcraft_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0058.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_witchcraft_crime = { + save_scope_as = doctrine_witchcraft_crime + } + save_scope_value_as = { + name = doctrine_witchcraft_crime_value + value = { + value = 0 + doctrine:doctrine_witchcraft_crime = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_witchcraft_shunned = { + save_scope_as = doctrine_witchcraft_shunned + } + save_scope_value_as = { + name = doctrine_witchcraft_shunned_value + value = { + value = 0 + doctrine:doctrine_witchcraft_shunned = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_witchcraft_accepted = { + save_scope_as = doctrine_witchcraft_accepted + } + save_scope_value_as = { + name = doctrine_witchcraft_accepted_value + value = { + value = 0 + doctrine:doctrine_witchcraft_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_witchcraft_virtuous = { + save_scope_as = doctrine_witchcraft_virtuous + } + save_scope_value_as = { + name = doctrine_witchcraft_virtuous_value + value = { + value = 0 + doctrine:doctrine_witchcraft_virtuous = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_crime } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_shunned } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_accepted } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_virtuous } + } + + # Push for witchcraft as crime + option = { + name = ecumenical_council_events.0058.doctrine_witchcraft_crime + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_crime + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_crime } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_crime + } + doctrine:doctrine_witchcraft_crime = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_crime } + ai_will_select = { + value = 100 + add = scope:doctrine_witchcraft_crime_value + } + } + # Push for witchcraft shunned + option = { + name = ecumenical_council_events.0058.doctrine_witchcraft_shunned + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_shunned + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_shunned } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_shunned + } + doctrine:doctrine_witchcraft_shunned = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_shunned } + ai_will_select = { + value = 100 + add = scope:doctrine_witchcraft_shunned_value + } + } + # Push for witchcraft accepted + option = { + name = ecumenical_council_events.0058.doctrine_witchcraft_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_accepted + } + doctrine:doctrine_witchcraft_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_witchcraft_accepted_value + } + } + # Push for witchcraft as virtuous + option = { + name = ecumenical_council_events.0058.doctrine_witchcraft_virtuous + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_virtuous + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_virtuous } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_virtuous + } + doctrine:doctrine_witchcraft_virtuous = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_virtuous } + ai_will_select = { + value = 100 + add = scope:doctrine_witchcraft_virtuous_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_gender (male_dominated / equal / female_dominated) +ecumenical_council_events.0059 = { + type = activity_event + title = ecumenical_council_events.0059.t + desc = { + desc = ecumenical_council_events.0059.desc.intro + desc = ecumenical_council_events.0059.desc.doctrine_gender_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0059.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_gender_male_dominated = { + save_scope_as = doctrine_gender_male_dominated + } + save_scope_value_as = { + name = doctrine_gender_male_dominated_value + value = { + value = 0 + doctrine:doctrine_gender_male_dominated = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_gender_equal = { + save_scope_as = doctrine_gender_equal + } + save_scope_value_as = { + name = doctrine_gender_equal_value + value = { + value = 0 + doctrine:doctrine_gender_equal = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_gender_female_dominated = { + save_scope_as = doctrine_gender_female_dominated + } + save_scope_value_as = { + name = doctrine_gender_female_dominated_value + value = { + value = 0 + doctrine:doctrine_gender_female_dominated = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_gender_male_dominated } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_gender_equal } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_gender_female_dominated } + } + + # Push for male-dominated gender norms + option = { + name = ecumenical_council_events.0059.doctrine_gender_male_dominated + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_gender_male_dominated + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_gender_male_dominated } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_gender_male_dominated + } + doctrine:doctrine_gender_male_dominated = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_gender_male_dominated } + ai_will_select = { + value = 100 + add = scope:doctrine_gender_male_dominated_value + } + } + # Push for equal gender norms + option = { + name = ecumenical_council_events.0059.doctrine_gender_equal + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_gender_equal + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_gender_equal } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_gender_equal + } + doctrine:doctrine_gender_equal = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_gender_equal } + ai_will_select = { + value = 100 + add = scope:doctrine_gender_equal_value + } + } + # Push for female-dominated gender norms + option = { + name = ecumenical_council_events.0059.doctrine_gender_female_dominated + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_gender_female_dominated + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_gender_female_dominated } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_gender_female_dominated + } + doctrine:doctrine_gender_female_dominated = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_gender_female_dominated } + ai_will_select = { + value = 100 + add = scope:doctrine_gender_female_dominated_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_consanguinity (dynastic / restricted / cousins / aunt_nephew_and_uncle_niece / unrestricted) +ecumenical_council_events.0060 = { + type = activity_event + title = ecumenical_council_events.0060.t + desc = { + desc = ecumenical_council_events.0060.desc.intro + desc = ecumenical_council_events.0060.desc.doctrine_consanguinity_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0060.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_consanguinity_dynastic = { + save_scope_as = doctrine_consanguinity_dynastic + } + save_scope_value_as = { + name = doctrine_consanguinity_dynastic_value + value = { + value = 0 + doctrine:doctrine_consanguinity_dynastic = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_consanguinity_restricted = { + save_scope_as = doctrine_consanguinity_restricted + } + save_scope_value_as = { + name = doctrine_consanguinity_restricted_value + value = { + value = 0 + doctrine:doctrine_consanguinity_restricted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_consanguinity_cousins = { + save_scope_as = doctrine_consanguinity_cousins + } + save_scope_value_as = { + name = doctrine_consanguinity_cousins_value + value = { + value = 0 + doctrine:doctrine_consanguinity_cousins = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece = { + save_scope_as = doctrine_consanguinity_aunt_nephew_and_uncle_niece + } + save_scope_value_as = { + name = doctrine_consanguinity_aunt_nephew_and_uncle_niece_value + value = { + value = 0 + doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_consanguinity_unrestricted = { + save_scope_as = doctrine_consanguinity_unrestricted + } + save_scope_value_as = { + name = doctrine_consanguinity_unrestricted_value + value = { + value = 0 + doctrine:doctrine_consanguinity_unrestricted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_dynastic } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_restricted } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_cousins } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_unrestricted } + } + + # Push for lineal prohibition (same-dynasty and close/extended-family marriage forbidden) + option = { + name = ecumenical_council_events.0060.doctrine_consanguinity_dynastic + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_dynastic + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_dynastic } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_dynastic + } + doctrine:doctrine_consanguinity_dynastic = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_dynastic } + ai_will_select = { + value = 100 + add = scope:doctrine_consanguinity_dynastic_value + } + } + # Push for restricted consanguinity + option = { + name = ecumenical_council_events.0060.doctrine_consanguinity_restricted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_restricted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_restricted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_restricted + } + doctrine:doctrine_consanguinity_restricted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_restricted } + ai_will_select = { + value = 100 + add = scope:doctrine_consanguinity_restricted_value + } + } + # Push for cousins-allowed consanguinity + option = { + name = ecumenical_council_events.0060.doctrine_consanguinity_cousins + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_cousins + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_cousins } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_cousins + } + doctrine:doctrine_consanguinity_cousins = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_cousins } + ai_will_select = { + value = 100 + add = scope:doctrine_consanguinity_cousins_value + } + } + # Push for aunt/nephew & uncle/niece consanguinity + option = { + name = ecumenical_council_events.0060.doctrine_consanguinity_aunt_nephew_and_uncle_niece + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece + } + doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece } + ai_will_select = { + value = 100 + add = scope:doctrine_consanguinity_aunt_nephew_and_uncle_niece_value + } + } + # Push for unrestricted consanguinity + option = { + name = ecumenical_council_events.0060.doctrine_consanguinity_unrestricted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_unrestricted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_unrestricted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_unrestricted + } + doctrine:doctrine_consanguinity_unrestricted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_unrestricted } + ai_will_select = { + value = 100 + add = scope:doctrine_consanguinity_unrestricted_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_pluralism (fundamentalist / righteous / pluralistic) +ecumenical_council_events.0061 = { + type = activity_event + title = ecumenical_council_events.0061.t + desc = { + desc = ecumenical_council_events.0061.desc.intro + desc = ecumenical_council_events.0061.desc.doctrine_pluralism_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0061.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_pluralism_fundamentalist = { + save_scope_as = doctrine_pluralism_fundamentalist + } + save_scope_value_as = { + name = doctrine_pluralism_fundamentalist_value + value = { + value = 0 + doctrine:doctrine_pluralism_fundamentalist = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_pluralism_righteous = { + save_scope_as = doctrine_pluralism_righteous + } + save_scope_value_as = { + name = doctrine_pluralism_righteous_value + value = { + value = 0 + doctrine:doctrine_pluralism_righteous = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_pluralism_pluralistic = { + save_scope_as = doctrine_pluralism_pluralistic + } + save_scope_value_as = { + name = doctrine_pluralism_pluralistic_value + value = { + value = 0 + doctrine:doctrine_pluralism_pluralistic = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pluralism_fundamentalist } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pluralism_righteous } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pluralism_pluralistic } + } + + # Push for fundamentalist pluralism + option = { + name = ecumenical_council_events.0061.doctrine_pluralism_fundamentalist + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_fundamentalist + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pluralism_fundamentalist } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_fundamentalist + } + doctrine:doctrine_pluralism_fundamentalist = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pluralism_fundamentalist } + ai_will_select = { + value = 100 + add = scope:doctrine_pluralism_fundamentalist_value + } + } + # Push for righteous pluralism + option = { + name = ecumenical_council_events.0061.doctrine_pluralism_righteous + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_righteous + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pluralism_righteous } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_righteous + } + doctrine:doctrine_pluralism_righteous = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pluralism_righteous } + ai_will_select = { + value = 100 + add = scope:doctrine_pluralism_righteous_value + } + } + # Push for full pluralism + option = { + name = ecumenical_council_events.0061.doctrine_pluralism_pluralistic + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_pluralistic + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pluralism_pluralistic } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_pluralistic + } + doctrine:doctrine_pluralism_pluralistic = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pluralism_pluralistic } + ai_will_select = { + value = 100 + add = scope:doctrine_pluralism_pluralistic_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_theocracy (temporal / lay_clergy) +ecumenical_council_events.0062 = { + type = activity_event + title = ecumenical_council_events.0062.t + desc = { + desc = ecumenical_council_events.0062.desc.intro + desc = ecumenical_council_events.0062.desc.doctrine_theocracy_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0062.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_theocracy_temporal = { + save_scope_as = doctrine_theocracy_temporal + } + save_scope_value_as = { + name = doctrine_theocracy_temporal_value + value = { + value = 0 + doctrine:doctrine_theocracy_temporal = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_theocracy_lay_clergy = { + save_scope_as = doctrine_theocracy_lay_clergy + } + save_scope_value_as = { + name = doctrine_theocracy_lay_clergy_value + value = { + value = 0 + doctrine:doctrine_theocracy_lay_clergy = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_theocracy_temporal } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_theocracy_lay_clergy } + } + + # redirect to required doctrine if you have no option here. + trigger = { + faith.main_rite = { + trigger_if = { + limit = { rite_has_doctrine = doctrine_theocracy_lay_clergy } + rite_can_choose_doctrine = doctrine:doctrine_theocracy_temporal + } + trigger_else = { + rite_can_choose_doctrine = doctrine:doctrine_theocracy_lay_clergy + } + } + } + on_trigger_fail = { + # i.e. you have doctrine_theocracy_lay_clergy + doctrine_temporal_head. + trigger_event = ecumenical_council_events.0063 # go hof doctrine instead. + } + + # Push for temporal theocracy + option = { + name = ecumenical_council_events.0062.doctrine_theocracy_temporal + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_temporal + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_theocracy_temporal } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_temporal + } + doctrine:doctrine_theocracy_temporal = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_theocracy_temporal } + ai_will_select = { + value = 100 + add = scope:doctrine_theocracy_temporal_value + } + } + # Push for lay clergy + option = { + name = ecumenical_council_events.0062.doctrine_theocracy_lay_clergy + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_lay_clergy + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_theocracy_lay_clergy } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_lay_clergy + } + doctrine:doctrine_theocracy_lay_clergy = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_theocracy_lay_clergy } + ai_will_select = { + value = 100 + add = scope:doctrine_theocracy_lay_clergy_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_head_of_faith (no_head / spiritual_head / temporal_head) +ecumenical_council_events.0063 = { + type = activity_event + title = ecumenical_council_events.0063.t + desc = { + desc = ecumenical_council_events.0063.desc.intro + desc = ecumenical_council_events.0063.desc.doctrine_head_of_faith_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0063.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_no_head = { + save_scope_as = doctrine_no_head + } + save_scope_value_as = { + name = doctrine_no_head_value + value = { + value = 0 + doctrine:doctrine_no_head = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_spiritual_head = { + save_scope_as = doctrine_spiritual_head + } + save_scope_value_as = { + name = doctrine_spiritual_head_value + value = { + value = 0 + doctrine:doctrine_spiritual_head = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_temporal_head = { + save_scope_as = doctrine_temporal_head + } + save_scope_value_as = { + name = doctrine_temporal_head_value + value = { + value = 0 + doctrine:doctrine_temporal_head = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_no_head } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_spiritual_head } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_temporal_head } + } + + # Push for no head of faith + option = { + name = ecumenical_council_events.0063.doctrine_no_head + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_no_head + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_no_head } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_no_head + } + doctrine:doctrine_no_head = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_no_head } + ai_will_select = { + value = 100 + add = scope:doctrine_no_head_value + } + } + # Push for spiritual head of faith + option = { + name = ecumenical_council_events.0063.doctrine_spiritual_head + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_spiritual_head + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_spiritual_head } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_spiritual_head + } + doctrine:doctrine_spiritual_head = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_spiritual_head } + ai_will_select = { + value = 100 + add = scope:doctrine_spiritual_head_value + } + } + # Push for temporal head of faith + option = { + name = ecumenical_council_events.0063.doctrine_temporal_head + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_temporal_head + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_temporal_head } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_temporal_head + } + doctrine:doctrine_temporal_head = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_temporal_head } + ai_will_select = { + value = 100 + add = scope:doctrine_temporal_head_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_clerical_function (taxation / alms_and_pacification / recruitment) +ecumenical_council_events.0064 = { + type = activity_event + title = ecumenical_council_events.0064.t + desc = { + desc = ecumenical_council_events.0064.desc.intro + desc = ecumenical_council_events.0064.desc.doctrine_clerical_function_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0064.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_clerical_function_taxation = { + save_scope_as = doctrine_clerical_function_taxation + } + save_scope_value_as = { + name = doctrine_clerical_function_taxation_value + value = { + value = 0 + doctrine:doctrine_clerical_function_taxation = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_function_alms_and_pacification = { + save_scope_as = doctrine_clerical_function_alms_and_pacification + } + save_scope_value_as = { + name = doctrine_clerical_function_alms_and_pacification_value + value = { + value = 0 + doctrine:doctrine_clerical_function_alms_and_pacification = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_function_recruitment = { + save_scope_as = doctrine_clerical_function_recruitment + } + save_scope_value_as = { + name = doctrine_clerical_function_recruitment_value + value = { + value = 0 + doctrine:doctrine_clerical_function_recruitment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_function_taxation } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_function_alms_and_pacification } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_function_recruitment } + } + + # Push for clerical taxation + option = { + name = ecumenical_council_events.0064.doctrine_clerical_function_taxation + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_taxation + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_function_taxation } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_taxation + } + doctrine:doctrine_clerical_function_taxation = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_function_taxation } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_function_taxation_value + } + } + # Push for clerical alms and pacification + option = { + name = ecumenical_council_events.0064.doctrine_clerical_function_alms_and_pacification + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_alms_and_pacification + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_function_alms_and_pacification } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_alms_and_pacification + } + doctrine:doctrine_clerical_function_alms_and_pacification = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_function_alms_and_pacification } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_function_alms_and_pacification_value + } + } + # Push for clerical recruitment + option = { + name = ecumenical_council_events.0064.doctrine_clerical_function_recruitment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_recruitment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_function_recruitment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_recruitment + } + doctrine:doctrine_clerical_function_recruitment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_function_recruitment } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_function_recruitment_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_clerical_gender (male_only / female_only / either) +ecumenical_council_events.0065 = { + type = activity_event + title = ecumenical_council_events.0065.t + desc = { + desc = ecumenical_council_events.0065.desc.intro + desc = ecumenical_council_events.0065.desc.doctrine_clerical_gender_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0065.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_clerical_gender_male_only = { + save_scope_as = doctrine_clerical_gender_male_only + } + save_scope_value_as = { + name = doctrine_clerical_gender_male_only_value + value = { + value = 0 + doctrine:doctrine_clerical_gender_male_only = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_gender_female_only = { + save_scope_as = doctrine_clerical_gender_female_only + } + save_scope_value_as = { + name = doctrine_clerical_gender_female_only_value + value = { + value = 0 + doctrine:doctrine_clerical_gender_female_only = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_gender_either = { + save_scope_as = doctrine_clerical_gender_either + } + save_scope_value_as = { + name = doctrine_clerical_gender_either_value + value = { + value = 0 + doctrine:doctrine_clerical_gender_either = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_gender_male_only } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_gender_female_only } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_gender_either } + } + + # Push for male-only clergy + option = { + name = ecumenical_council_events.0065.doctrine_clerical_gender_male_only + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_male_only + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_gender_male_only } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_male_only + } + doctrine:doctrine_clerical_gender_male_only = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_gender_male_only } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_gender_male_only_value + } + } + # Push for female-only clergy + option = { + name = ecumenical_council_events.0065.doctrine_clerical_gender_female_only + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_female_only + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_gender_female_only } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_female_only + } + doctrine:doctrine_clerical_gender_female_only = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_gender_female_only } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_gender_female_only_value + } + } + # Push for either-gender clergy + option = { + name = ecumenical_council_events.0065.doctrine_clerical_gender_either + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_either + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_gender_either } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_either + } + doctrine:doctrine_clerical_gender_either = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_gender_either } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_gender_either_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_clerical_marriage (allowed / disallowed) +ecumenical_council_events.0066 = { + type = activity_event + title = ecumenical_council_events.0066.t + desc = { + desc = ecumenical_council_events.0066.desc.intro + desc = ecumenical_council_events.0066.desc.doctrine_clerical_marriage_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0066.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_clerical_marriage_allowed = { + save_scope_as = doctrine_clerical_marriage_allowed + } + save_scope_value_as = { + name = doctrine_clerical_marriage_allowed_value + value = { + value = 0 + doctrine:doctrine_clerical_marriage_allowed = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_marriage_disallowed = { + save_scope_as = doctrine_clerical_marriage_disallowed + } + save_scope_value_as = { + name = doctrine_clerical_marriage_disallowed_value + value = { + value = 0 + doctrine:doctrine_clerical_marriage_disallowed = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_marriage_allowed } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_marriage_disallowed } + } + + # Push for clerical marriage allowed + option = { + name = ecumenical_council_events.0066.doctrine_clerical_marriage_allowed + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_allowed + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_marriage_allowed } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_allowed + } + doctrine:doctrine_clerical_marriage_allowed = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_marriage_allowed } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_marriage_allowed_value + } + } + # Push for clerical marriage disallowed + option = { + name = ecumenical_council_events.0066.doctrine_clerical_marriage_disallowed + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_disallowed + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_marriage_disallowed } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_disallowed + } + doctrine:doctrine_clerical_marriage_disallowed = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_marriage_disallowed } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_marriage_disallowed_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_clerical_succession (temporal / spiritual / temporal_fixed / spiritual_fixed) +ecumenical_council_events.0067 = { + type = activity_event + title = ecumenical_council_events.0067.t + desc = { + desc = ecumenical_council_events.0067.desc.intro + desc = ecumenical_council_events.0067.desc.doctrine_clerical_succession_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0067.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_clerical_succession_temporal_appointment = { + save_scope_as = doctrine_clerical_succession_temporal_appointment + } + save_scope_value_as = { + name = doctrine_clerical_succession_temporal_appointment_value + value = { + value = 0 + doctrine:doctrine_clerical_succession_temporal_appointment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_succession_spiritual_appointment = { + save_scope_as = doctrine_clerical_succession_spiritual_appointment + } + save_scope_value_as = { + name = doctrine_clerical_succession_spiritual_appointment_value + value = { + value = 0 + doctrine:doctrine_clerical_succession_spiritual_appointment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_succession_temporal_fixed_appointment = { + save_scope_as = doctrine_clerical_succession_temporal_fixed_appointment + } + save_scope_value_as = { + name = doctrine_clerical_succession_temporal_fixed_appointment_value + value = { + value = 0 + doctrine:doctrine_clerical_succession_temporal_fixed_appointment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { + save_scope_as = doctrine_clerical_succession_spiritual_fixed_appointment + } + save_scope_value_as = { + name = doctrine_clerical_succession_spiritual_fixed_appointment_value + value = { + value = 0 + doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_temporal_appointment } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_spiritual_appointment } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_temporal_fixed_appointment } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_spiritual_fixed_appointment } + } + + # Push for temporal-appointment clerical succession + option = { + name = ecumenical_council_events.0067.doctrine_clerical_succession_temporal_appointment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_appointment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_temporal_appointment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_appointment + } + doctrine:doctrine_clerical_succession_temporal_appointment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_temporal_appointment } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_succession_temporal_appointment_value + } + } + # Push for spiritual-appointment clerical succession + option = { + name = ecumenical_council_events.0067.doctrine_clerical_succession_spiritual_appointment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_appointment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_spiritual_appointment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_appointment + } + doctrine:doctrine_clerical_succession_spiritual_appointment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_spiritual_appointment } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_succession_spiritual_appointment_value + } + } + # Push for temporal-fixed clerical succession + option = { + name = ecumenical_council_events.0067.doctrine_clerical_succession_temporal_fixed_appointment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_fixed_appointment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_temporal_fixed_appointment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_fixed_appointment + } + doctrine:doctrine_clerical_succession_temporal_fixed_appointment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_temporal_fixed_appointment } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_succession_temporal_fixed_appointment_value + } + } + # Push for spiritual-fixed clerical succession + option = { + name = ecumenical_council_events.0067.doctrine_clerical_succession_spiritual_fixed_appointment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_fixed_appointment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_spiritual_fixed_appointment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_fixed_appointment + } + doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_spiritual_fixed_appointment } + ai_will_select = { + value = 100 + add = scope:doctrine_clerical_succession_spiritual_fixed_appointment_value + } + } + # We adopt conditional appointment so the Investiture cycle can start again + option = { + name = ecumenical_council_events.0067.doctrine_clerical_succession_conditional + trigger = { + has_pam_dlc_trigger = yes + scope:host.faith = { + NOT = { has_doctrine = doctrine_clerical_succession_conditional } + has_doctrine_parameter = has_clerical_regions + } + NOT = { + situation:the_christian_church ?= { + has_situation_top_phase_parameter = the_christian_church_investiture_controversy + } + } + } + doctrine:doctrine_clerical_succession_conditional = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_conditional } + ai_will_select = { + value = 25 # Tunable: AI willingness to restart the Investiture cycle by adopting Conditional. + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_pilgrimage (forbidden / encouraged / local_rites / mandatory / mandatory_hajj) +ecumenical_council_events.0068 = { + type = activity_event + title = ecumenical_council_events.0068.t + desc = { + desc = ecumenical_council_events.0068.desc.intro + desc = ecumenical_council_events.0068.desc.doctrine_pilgrimage_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0068.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_pilgrimage_forbidden = { + save_scope_as = doctrine_pilgrimage_forbidden + } + save_scope_value_as = { + name = doctrine_pilgrimage_forbidden_value + value = { + value = 0 + doctrine:doctrine_pilgrimage_forbidden = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_pilgrimage_encouraged = { + save_scope_as = doctrine_pilgrimage_encouraged + } + save_scope_value_as = { + name = doctrine_pilgrimage_encouraged_value + value = { + value = 0 + doctrine:doctrine_pilgrimage_encouraged = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_pilgrimage_local_rites = { + save_scope_as = doctrine_pilgrimage_local_rites + } + save_scope_value_as = { + name = doctrine_pilgrimage_local_rites_value + value = { + value = 0 + doctrine:doctrine_pilgrimage_local_rites = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_pilgrimage_mandatory = { + save_scope_as = doctrine_pilgrimage_mandatory + } + save_scope_value_as = { + name = doctrine_pilgrimage_mandatory_value + value = { + value = 0 + doctrine:doctrine_pilgrimage_mandatory = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_pilgrimage_mandatory_hajj = { + save_scope_as = doctrine_pilgrimage_mandatory_hajj + } + save_scope_value_as = { + name = doctrine_pilgrimage_mandatory_hajj_value + value = { + value = 0 + doctrine:doctrine_pilgrimage_mandatory_hajj = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_forbidden } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_encouraged } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_local_rites } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_mandatory } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_mandatory_hajj } + } + + # Push for pilgrimage forbidden + option = { + name = ecumenical_council_events.0068.doctrine_pilgrimage_forbidden + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_forbidden + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_forbidden } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_forbidden + } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_forbidden + } + ai_will_select = { + value = 10 + add = scope:doctrine_pilgrimage_forbidden_value + } + } + # Push for pilgrimage encouraged + option = { + name = ecumenical_council_events.0068.doctrine_pilgrimage_encouraged + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_encouraged + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_encouraged } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_encouraged + } + doctrine:doctrine_pilgrimage_encouraged = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_encouraged } + ai_will_select = { + value = 10 + add = scope:doctrine_pilgrimage_encouraged_value + } + } + # Push for pilgrimage as local rites + option = { + name = ecumenical_council_events.0068.doctrine_pilgrimage_local_rites + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_local_rites + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_local_rites } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_local_rites + } + doctrine:doctrine_pilgrimage_local_rites = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_local_rites } + ai_will_select = { + value = 100 + add = scope:doctrine_pilgrimage_local_rites_value + } + } + # Push for pilgrimage mandatory + option = { + name = ecumenical_council_events.0068.doctrine_pilgrimage_mandatory + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_mandatory } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory + } + doctrine:doctrine_pilgrimage_mandatory = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_mandatory } + ai_will_select = { + value = 10 + add = scope:doctrine_pilgrimage_mandatory_value + } + } + # Push for pilgrimage as mandatory hajj + option = { + name = ecumenical_council_events.0068.doctrine_pilgrimage_mandatory_hajj + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory_hajj + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_mandatory_hajj } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory_hajj + } + doctrine:doctrine_pilgrimage_mandatory_hajj = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_mandatory_hajj } + ai_will_select = { + value = 10 + add = scope:doctrine_pilgrimage_mandatory_hajj_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_funeral (stoic / bewailment / cremation / sky_burial / mummification / family_rites) +ecumenical_council_events.0069 = { + type = activity_event + title = ecumenical_council_events.0069.t + desc = { + desc = ecumenical_council_events.0069.desc.intro + desc = ecumenical_council_events.0069.desc.doctrine_funeral_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0069.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_funeral_stoic = { + save_scope_as = doctrine_funeral_stoic + } + save_scope_value_as = { + name = doctrine_funeral_stoic_value + value = { + value = 0 + doctrine:doctrine_funeral_stoic = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_funeral_bewailment = { + save_scope_as = doctrine_funeral_bewailment + } + save_scope_value_as = { + name = doctrine_funeral_bewailment_value + value = { + value = 0 + doctrine:doctrine_funeral_bewailment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_funeral_cremation = { + save_scope_as = doctrine_funeral_cremation + } + save_scope_value_as = { + name = doctrine_funeral_cremation_value + value = { + value = 0 + doctrine:doctrine_funeral_cremation = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_funeral_sky_burial = { + save_scope_as = doctrine_funeral_sky_burial + } + save_scope_value_as = { + name = doctrine_funeral_sky_burial_value + value = { + value = 0 + doctrine:doctrine_funeral_sky_burial = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_funeral_mummification = { + save_scope_as = doctrine_funeral_mummification + } + save_scope_value_as = { + name = doctrine_funeral_mummification_value + value = { + value = 0 + doctrine:doctrine_funeral_mummification = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_family_rites = { + save_scope_as = doctrine_family_rites + } + save_scope_value_as = { + name = doctrine_family_rites_value + value = { + value = 0 + doctrine:doctrine_family_rites = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_stoic } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_bewailment } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_cremation } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_sky_burial } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_mummification } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_family_rites } + } + + # Push for stoic funeral rites + option = { + name = ecumenical_council_events.0069.doctrine_funeral_stoic + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_stoic + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_stoic } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_stoic + } + doctrine:doctrine_funeral_stoic = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_stoic } + ai_will_select = { + value = 100 + add = scope:doctrine_funeral_stoic_value + } + } + # Push for bewailment funeral rites + option = { + name = ecumenical_council_events.0069.doctrine_funeral_bewailment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_bewailment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_bewailment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_bewailment + } + doctrine:doctrine_funeral_bewailment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_bewailment } + ai_will_select = { + value = 100 + add = scope:doctrine_funeral_bewailment_value + } + } + # Push for cremation funeral rites + option = { + name = ecumenical_council_events.0069.doctrine_funeral_cremation + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_cremation + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_cremation } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_cremation + } + doctrine:doctrine_funeral_cremation = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_cremation } + ai_will_select = { + value = 100 + add = scope:doctrine_funeral_cremation_value + } + } + # Push for sky burial funeral rites + option = { + name = ecumenical_council_events.0069.doctrine_funeral_sky_burial + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_sky_burial + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_sky_burial } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_sky_burial + } + doctrine:doctrine_funeral_sky_burial = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_sky_burial } + ai_will_select = { + value = 100 + add = scope:doctrine_funeral_sky_burial_value + } + } + # Push for mummification funeral rites + option = { + name = ecumenical_council_events.0069.doctrine_funeral_mummification + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_mummification + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_mummification } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_funeral_mummification + } + doctrine:doctrine_funeral_mummification = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_mummification } + ai_will_select = { + value = 100 + add = scope:doctrine_funeral_mummification_value + } + } + # Push for family rites + option = { + name = ecumenical_council_events.0069.doctrine_family_rites + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_family_rites + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_family_rites } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_family_rites + } + doctrine:doctrine_family_rites = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_family_rites } + ai_will_select = { + value = 100 + add = scope:doctrine_family_rites_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_coronation (no_anointment / anointment_permitted / imperial_anointment) +ecumenical_council_events.0070 = { + type = activity_event + title = ecumenical_council_events.0070.t + desc = { + desc = ecumenical_council_events.0070.desc.intro + desc = ecumenical_council_events.0070.desc.doctrine_coronation_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0070.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_no_anointment = { + save_scope_as = doctrine_no_anointment + } + save_scope_value_as = { + name = doctrine_no_anointment_value + value = { + value = 0 + doctrine:doctrine_no_anointment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_anointment_permitted = { + save_scope_as = doctrine_anointment_permitted + } + save_scope_value_as = { + name = doctrine_anointment_permitted_value + value = { + value = 0 + doctrine:doctrine_anointment_permitted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_imperial_anointment = { + save_scope_as = doctrine_imperial_anointment + } + save_scope_value_as = { + name = doctrine_imperial_anointment_value + value = { + value = 0 + doctrine:doctrine_imperial_anointment = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_no_anointment } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_anointment_permitted } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_imperial_anointment } + } + + # Push for no anointment + option = { + name = ecumenical_council_events.0070.doctrine_no_anointment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_no_anointment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_no_anointment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_no_anointment + } + doctrine:doctrine_no_anointment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_no_anointment } + ai_will_select = { + value = 100 + add = scope:doctrine_no_anointment_value + } + } + # Push for anointment permitted + option = { + name = ecumenical_council_events.0070.doctrine_anointment_permitted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_anointment_permitted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_anointment_permitted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_anointment_permitted + } + doctrine:doctrine_anointment_permitted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_anointment_permitted } + ai_will_select = { + value = 100 + add = scope:doctrine_anointment_permitted_value + } + } + # Push for imperial anointment + option = { + name = ecumenical_council_events.0070.doctrine_imperial_anointment + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_imperial_anointment + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_imperial_anointment } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_imperial_anointment + } + doctrine:doctrine_imperial_anointment = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_imperial_anointment } + ai_will_select = { + value = 100 + add = scope:doctrine_imperial_anointment_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - doctrine_theism (monotheist / polytheist) +ecumenical_council_events.0071 = { + type = activity_event + title = ecumenical_council_events.0071.t + desc = { + desc = ecumenical_council_events.0071.desc.intro + desc = ecumenical_council_events.0071.desc.doctrine_theism_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0071.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_monotheist = { + save_scope_as = doctrine_monotheist + } + save_scope_value_as = { + name = doctrine_monotheist_value + value = { + value = 0 + doctrine:doctrine_monotheist = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_polytheist = { + save_scope_as = doctrine_polytheist + } + save_scope_value_as = { + name = doctrine_polytheist_value + value = { + value = 0 + doctrine:doctrine_polytheist = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monotheist } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_polytheist } + } + + # Push for monotheism + option = { + name = ecumenical_council_events.0071.doctrine_monotheist + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_monotheist + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monotheist } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_monotheist + } + doctrine:doctrine_monotheist = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monotheist } + ai_will_select = { + value = 100 + add = scope:doctrine_monotheist_value + } + } + # Push for polytheism + option = { + name = ecumenical_council_events.0071.doctrine_polytheist + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_polytheist + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_polytheist } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_polytheist + } + doctrine:doctrine_polytheist = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_polytheist } + ai_will_select = { + value = 100 + add = scope:doctrine_polytheist_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - monasticism_group (encouraged / accepted / absent / forbidden) +ecumenical_council_events.0072 = { + type = activity_event + title = ecumenical_council_events.0072.t + desc = { + desc = ecumenical_council_events.0072.desc.intro + desc = ecumenical_council_events.0072.desc.doctrine_monasticism_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0072.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_monasticism_encouraged = { + save_scope_as = doctrine_monasticism_encouraged + } + save_scope_value_as = { + name = doctrine_monasticism_encouraged_value + value = { + value = 0 + doctrine:doctrine_monasticism_encouraged = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_monasticism_accepted = { + save_scope_as = doctrine_monasticism_accepted + } + save_scope_value_as = { + name = doctrine_monasticism_accepted_value + value = { + value = 0 + doctrine:doctrine_monasticism_accepted = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_monasticism_absent = { + save_scope_as = doctrine_monasticism_absent + } + save_scope_value_as = { + name = doctrine_monasticism_absent_value + value = { + value = 0 + doctrine:doctrine_monasticism_absent = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_monasticism_forbidden = { + save_scope_as = doctrine_monasticism_forbidden + } + save_scope_value_as = { + name = doctrine_monasticism_forbidden_value + value = { + value = 0 + doctrine:doctrine_monasticism_forbidden = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_encouraged } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_accepted } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_absent } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_forbidden } + } + + # Push for monasticism encouraged + option = { + name = ecumenical_council_events.0072.doctrine_monasticism_encouraged + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_encouraged + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_encouraged } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_encouraged + } + doctrine:doctrine_monasticism_encouraged = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_encouraged } + ai_will_select = { + value = 100 + add = scope:doctrine_monasticism_encouraged_value + } + } + # Push for monasticism accepted + option = { + name = ecumenical_council_events.0072.doctrine_monasticism_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_accepted } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_accepted + } + doctrine:doctrine_monasticism_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_accepted } + ai_will_select = { + value = 100 + add = scope:doctrine_monasticism_accepted_value + } + } + # Push for monasticism absent + option = { + name = ecumenical_council_events.0072.doctrine_monasticism_absent + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_absent + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_absent } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_absent + } + doctrine:doctrine_monasticism_absent = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_absent } + ai_will_select = { + value = 100 + add = scope:doctrine_monasticism_absent_value + } + } + # Push for monasticism forbidden + option = { + name = ecumenical_council_events.0072.doctrine_monasticism_forbidden + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_forbidden + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_forbidden } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_forbidden + } + doctrine:doctrine_monasticism_forbidden = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_forbidden } + ai_will_select = { + value = 100 + add = scope:doctrine_monasticism_forbidden_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +# Third Debate - sacraments_group (central / absent) +ecumenical_council_events.0073 = { + type = activity_event + title = ecumenical_council_events.0073.t + desc = { + desc = ecumenical_council_events.0073.desc.intro + desc = ecumenical_council_events.0073.desc.doctrine_sacraments_description + triggered_desc = { + trigger = { + exists = scope:ec_chaplain_pick + } + desc = ecumenical_council_events.0073.desc.chaplain_suggestion + } + } + left_portrait = { + character = root + animation = worry + } + center_portrait = { + character = scope:lead_portrait + animation = preaching_no_book + } + right_portrait = { + character = scope:court_chaplain + animation = thinking + } + theme = ecumenical_council + + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_sacraments_central = { + save_scope_as = doctrine_sacraments_central + } + save_scope_value_as = { + name = doctrine_sacraments_central_value + value = { + value = 0 + doctrine:doctrine_sacraments_central = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + doctrine:doctrine_sacraments_absent = { + save_scope_as = doctrine_sacraments_absent + } + save_scope_value_as = { + name = doctrine_sacraments_absent_value + value = { + value = 0 + doctrine:doctrine_sacraments_absent = { + save_temporary_scope_as = doctrine + } + add = ecumenical_council_doctrine_host_pick_value + } + } + + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_sacraments_central } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_sacraments_absent } + } + + # Push for central sacraments + option = { + name = ecumenical_council_events.0073.doctrine_sacraments_central + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_central + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_sacraments_central } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_central + } + doctrine:doctrine_sacraments_central = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_sacraments_central } + ai_will_select = { + value = 100 + add = scope:doctrine_sacraments_central_value + } + } + # Push for absent sacraments + option = { + name = ecumenical_council_events.0073.doctrine_sacraments_absent + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_absent + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_sacraments_absent } + } + show_as_unavailable = { + scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_absent + } + doctrine:doctrine_sacraments_absent = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_sacraments_absent } + ai_will_select = { + value = 100 + add = scope:doctrine_sacraments_absent_value + } + } + + after = { + ecumenical_council_ready_effect = yes + # Sort into groups and trigger the notification event for other players + pam_sort_guests_into_ecumenical_council_groups_effect = { + NEXT_EVENT = 0031 # ecumenical_council_events.0031 + } + } +} + +################################################# +## ecumenical_council_events.0101-0110 - Themed "sway the group" debate-phase pulse events +## Each event groups swayable attendees by a shared feature (the premise) and reuses +## ecumenical_council_sway_to_innovators_effect / ecumenical_council_sway_to_conservatives_effect. +## As host you may win the grouped Conservatives over to the change; as a guest you may do the +## same or instead turn the grouped Innovators against it. +################################################# + +# The Learned - attendees who weigh doctrine by scholarship and scripture +ecumenical_council_events.0101 = { + type = activity_event + title = ecumenical_council_events.0101.t + desc = ecumenical_council_events.0101.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = page_flipping + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_learned_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_learned_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_learned_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_learned_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_learned_trigger } + } + + # Win the learned over to the change (Conservatives -> Innovators) + option = { + name = ecumenical_council_events.0101.support + trigger = { + has_trait = shrewd + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0101.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0101.support + trigger = { + NOT = { has_trait = shrewd } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + piety >= ecumenical_council_sway_piety_cost_conservatives_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_trait = shrewd } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0101.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_piety = { + value = ecumenical_council_sway_piety_cost_conservatives_value + multiply = -1 + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0101.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0101.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0101.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0101.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0101.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0101.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + # Guests may turn the learned against the change (Innovators -> Conservatives) + option = { + name = ecumenical_council_events.0101.oppose + trigger = { + has_trait = shrewd + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0101.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0101.oppose + trigger = { + NOT = { has_trait = shrewd } + this != scope:host + is_in_guest_subset = { + name = conservative + } + piety >= ecumenical_council_sway_piety_cost_innovators_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_trait = shrewd } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0101.innovators_custom + MAX = scope:feature_innovators_size + } + add_piety = { + value = -40 + multiply = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + honest = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0101.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0101.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0101.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0101.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0101.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0101.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Devout - attendees of fierce zeal or high piety +ecumenical_council_events.0102 = { + type = activity_event + title = ecumenical_council_events.0102.t + desc = ecumenical_council_events.0102.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = preaching_no_book + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = personality_zealous + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_devout_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_devout_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_devout_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_devout_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_devout_trigger } + } + + option = { + name = ecumenical_council_events.0102.support + trigger = { + has_trait = zealous + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0102.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + stress_and_fulfillment_impact = { + cynical = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0102.support + trigger = { + NOT = { has_trait = zealous } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + piety >= ecumenical_council_sway_piety_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = zealous } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0102.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_piety = { + value = ecumenical_council_sway_piety_cost_conservatives_value + multiply = -1 + } + stress_and_fulfillment_impact = { + cynical = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0102.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0102.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0102.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0102.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0102.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0102.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0102.oppose + trigger = { + has_trait = zealous + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0102.innovators_custom + MAX = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + cynical = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0102.oppose + trigger = { + NOT = { has_trait = zealous } + this != scope:host + is_in_guest_subset = { + name = conservative + } + piety >= ecumenical_council_sway_piety_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = zealous } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0102.innovators_custom + MAX = scope:feature_innovators_size + } + add_piety = { + value = -40 + multiply = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0102.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0102.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0102.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0102.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0102.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0102.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Worldly - worldly conservatives demand patronage; innovator face need not be worldly +ecumenical_council_events.0103 = { + type = activity_event + title = ecumenical_council_events.0103.t + desc = ecumenical_council_events.0103.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = personality_greedy + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = anger + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # The desc names the lead conservative's title, so the premise needs a titled worldly conservative + # Innovator face can be any innovator (or the host) + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_worldly_trigger = yes + exists = primary_title + } + # So the player is never shown as their own lead innovator + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + } + scope:host != root + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_worldly_trigger } + # Oppose flips innovators of any kind; expand past the worldly filter used for conservatives. + scope:activity = { + every_guest_subset = { + name = innovator + if = { + limit = { + NOT = { is_in_list = feature_innovators } + this != scope:host + is_ai = yes + } + add_to_list = feature_innovators + } + } + } + save_scope_value_as = { + name = feature_innovators_size + value = list_size:feature_innovators + } + save_scope_value_as = { + name = feature_innovators_size_halved + value = { + value = list_size:feature_innovators + multiply = 0.5 + floor = yes + } + } + # The desc names the lead conservative's title, so a titleless lead is recast + if = { + limit = { + NOT = { + scope:lead_conservative ?= { exists = primary_title } + } + } + clear_saved_scope = lead_conservative + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = conservative } + ecumenical_council_is_worldly_trigger = yes + exists = primary_title + } + save_scope_as = lead_conservative + } + } + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + } + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = innovator } + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + } + save_scope_as = lead_innovator + } + } + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + # Do not cast the viewer as their own lead innovator. + scope:host != root + } + scope:host = { + save_scope_as = lead_innovator + } + } + } + + option = { + name = ecumenical_council_events.0103.support + trigger = { + has_personal_tenet = tenet_simony + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0103.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + stress_and_fulfillment_impact = { + just = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0103.support + trigger = { + NOT = { has_personal_tenet = tenet_simony } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0103.conservatives_custom + MAX = scope:feature_conservatives_size + } + remove_short_term_gold = { + value = medium_gold_value + multiply = ecumenical_council_sway_change_cost_multiplier_value + } + stress_and_fulfillment_impact = { + just = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0103.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = stewardship + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0103.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0103.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0103.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0103.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0103.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0103.oppose + trigger = { + has_personal_tenet = tenet_simony + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0103.innovators_custom + MAX = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + just = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0103.oppose + trigger = { + NOT = { has_personal_tenet = tenet_simony } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0103.innovators_custom + MAX = scope:feature_innovators_size + } + remove_short_term_gold = medium_gold_value + stress_and_fulfillment_impact = { + just = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0103.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = stewardship + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0103.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0103.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0103.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0103.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0103.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# Your Kin - attendees of your own dynasty +ecumenical_council_events.0104 = { + type = activity_event + title = ecumenical_council_events.0104.t + desc = ecumenical_council_events.0104.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = admiration + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + exists = scope:lead_innovator + scope:lead_innovator != root + } + character = scope:lead_innovator + animation = happiness + } + cooldown = { days = 60 } + + trigger = { + # A lowborn root has no dynasty, and the dynasty comparisons below would match every other lowborn + is_lowborn = no + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + dynasty = root.dynasty + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + dynasty = root.dynasty + } + AND = { + scope:host != root + scope:host = { dynasty = root.dynasty } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_dynasty_member_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_dynasty_member_trigger } + } + + option = { + name = ecumenical_council_events.0104.support + trigger = { + has_personal_tenet = tenet_filial_piety + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0104.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + stress_and_fulfillment_impact = { + honest = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0104.support + trigger = { + NOT = { has_personal_tenet = tenet_filial_piety } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_filial_piety } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0104.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + stress_and_fulfillment_impact = { + honest = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0104.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0104.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0104.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0104.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0104.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0104.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0104.oppose + trigger = { + has_personal_tenet = tenet_filial_piety + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0104.innovators_custom + MAX = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + honest = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0104.oppose + trigger = { + NOT = { has_personal_tenet = tenet_filial_piety } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_filial_piety } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0104.innovators_custom + MAX = scope:feature_innovators_size + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + honest = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0104.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0104.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0104.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0104.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0104.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0104.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# Your Countrymen - attendees of your own culture +ecumenical_council_events.0105 = { + type = activity_event + title = ecumenical_council_events.0105.t + desc = ecumenical_council_events.0105.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = personality_honorable + camera = camera_event_center_moved_left + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = happiness + camera = camera_event_very_right_fov35 + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + culture = root.culture + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + culture = root.culture + } + AND = { + scope:host != root + scope:host = { culture = root.culture } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_same_culture_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_same_culture_trigger } + } + + option = { + name = ecumenical_council_events.0105.support + trigger = { + has_personal_tenet = tenet_communal_identity + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0105.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0105.support + trigger = { + NOT = { has_personal_tenet = tenet_communal_identity } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_communal_identity } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0105.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ai_chance = { + base = 0 + } + } + + option = { + name = ecumenical_council_events.0105.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0105.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0105.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0105.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0105.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0105.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + + option = { + name = ecumenical_council_events.0105.oppose + trigger = { + has_personal_tenet = tenet_communal_identity + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0105.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0105.oppose + trigger = { + NOT = { has_personal_tenet = tenet_communal_identity } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_communal_identity } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0105.innovators_custom + MAX = scope:feature_innovators_size + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + honest = minor_stress_impact_gain + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0105.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0105.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0105.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0105.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0105.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0105.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# Your Vassals - attendees who owe you fealty +ecumenical_council_events.0106 = { + type = activity_event + title = ecumenical_council_events.0106.t + desc = { + first_valid = { + #Innovator + triggered_desc = { + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + desc = ecumenical_council_events.0106.desc_innovator + } + desc = ecumenical_council_events.0106.desc + } + } + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = obsequious_bow + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = personality_honorable + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme (host cannot satisfy this filter). + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_vassal_trigger = yes + } + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_vassal_trigger = yes + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_vassal_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_vassal_trigger } + } + + option = { + name = ecumenical_council_events.0106.support + trigger = { + has_trait = just + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0106.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0106.support + trigger = { + NOT = { has_trait = just } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_trait = just } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0106.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0106.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = stewardship + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0106.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0106.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0106.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0106.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0106.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0106.oppose + trigger = { + has_trait = just + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0106.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0106.oppose + trigger = { + NOT = { has_trait = just } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_trait = just } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0106.innovators_custom + MAX = scope:feature_innovators_size + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0106.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = stewardship + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0106.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0106.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0106.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0106.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0106.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Rising Generation - young attendees eager to make their name +ecumenical_council_events.0107 = { + type = activity_event + title = ecumenical_council_events.0107.t + desc = ecumenical_council_events.0107.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = disapproval + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = happiness + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_young_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_young_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_young_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_young_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_young_trigger } + } + + option = { + name = ecumenical_council_events.0107.support + trigger = { + has_trait = ambitious + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0107.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0107.support + trigger = { + NOT = { has_trait = ambitious } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = ambitious } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0107.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0107.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0107.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0107.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0107.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0107.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0107.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0107.oppose + trigger = { + has_trait = ambitious + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0107.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0107.oppose + trigger = { + NOT = { has_trait = ambitious } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = ambitious } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0107.innovators_custom + MAX = scope:feature_innovators_size + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0107.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0107.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0107.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0107.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0107.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0107.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# Friends and Confidants - a friend offers to vote with you; take the promise or release them +ecumenical_council_events.0108 = { + type = activity_event + title = ecumenical_council_events.0108.t + desc = ecumenical_council_events.0108.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + trigger = { + exists = scope:friend + } + character = scope:friend + animation = admiration + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + OR = { + # Host/innovator: need friend conservatives to pull onto the change + AND = { + OR = { + this = scope:host + is_in_guest_subset = { name = innovator } + } + scope:activity = { + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_confidant_trigger = yes + } + } + } + # Conservative guest: need friend innovators to pull against the change + AND = { + this != scope:host + is_in_guest_subset = { name = conservative } + scope:activity = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_confidant_trigger = yes + } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_confidant_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_confidant_trigger } + # Speaking friend is the lead of the camp you can actually pull. + if = { + limit = { + OR = { + this = scope:host + is_in_guest_subset = { name = innovator } + } + } + if = { + limit = { + exists = scope:lead_conservative + } + scope:lead_conservative = { + save_scope_as = friend + } + } + else = { + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = conservative } + ecumenical_council_is_confidant_trigger = yes + } + save_scope_as = friend + } + } + } + } + else_if = { + limit = { + this != scope:host + is_in_guest_subset = { name = conservative } + } + if = { + limit = { + exists = scope:lead_innovator + } + scope:lead_innovator = { + save_scope_as = friend + } + } + else = { + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = innovator } + ecumenical_council_is_confidant_trigger = yes + } + save_scope_as = friend + } + } + } + } + } + + # Take the promise: friends join your side of the vote + option = { + name = ecumenical_council_events.0108.a + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0108.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0108.a + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0108.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 100 + } + } + # Release them: no sway, stress relief for not leaning on the bond + option = { + name = ecumenical_council_events.0108.b + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + modifier = { + add = 50 + has_trait = content + } + modifier = { + add = 25 + has_trait = compassionate + } + } + } +} + +# The Like-Minded - attendees who already chafe at some doctrine of the faith +ecumenical_council_events.0109 = { + type = activity_event + title = ecumenical_council_events.0109.t + desc = ecumenical_council_events.0109.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = scheme + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = scheme + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_has_desired_tenet_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_has_desired_tenet_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_has_desired_tenet_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_has_desired_tenet_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_has_desired_tenet_trigger } + } + + option = { + name = ecumenical_council_events.0109.support + trigger = { + has_trait = cynical + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0109.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0109.support + trigger = { + NOT = { has_trait = cynical } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + piety >= ecumenical_council_sway_piety_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = cynical } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0109.conservatives_custom + MAX = scope:feature_conservatives_size + } + add_piety = { + value = ecumenical_council_sway_piety_cost_conservatives_value + multiply = -1 + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0109.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0109.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0109.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0109.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0109.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0109.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0109.oppose + trigger = { + has_trait = cynical + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0109.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0109.oppose + trigger = { + NOT = { has_trait = cynical } + this != scope:host + is_in_guest_subset = { + name = conservative + } + piety >= ecumenical_council_sway_piety_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = cynical } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0109.innovators_custom + MAX = scope:feature_innovators_size + } + add_piety = { + value = -40 + multiply = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0109.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0109.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0109.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0109.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0109.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0109.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Ambitious - attendees hungry for patronage and advancement +ecumenical_council_events.0110 = { + type = activity_event + title = ecumenical_council_events.0110.t + desc = ecumenical_council_events.0110.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + character = scope:lead_conservative + animation = admiration + camera = camera_event_center_moved_left + } + right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = scheme + camera = camera_event_very_right_fov35 + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + has_trait = ambitious + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + has_trait = ambitious + } + AND = { + scope:host != root + scope:host = { has_trait = ambitious } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_ambitious_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_ambitious_trigger } + } + + option = { + name = ecumenical_council_events.0110.support + trigger = { + has_trait = generous + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0110.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0110.support + trigger = { + NOT = { has_trait = generous } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = generous } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0110.conservatives_custom + MAX = scope:feature_conservatives_size + } + every_in_list = { + list = feature_conservatives + add_opinion = { + target = root + modifier = grateful_opinion + opinion = 15 + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0110.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0110.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0110.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0110.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0110.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0110.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0110.oppose + trigger = { + has_trait = generous + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0110.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0110.oppose + trigger = { + NOT = { has_trait = generous } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = generous } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0110.innovators_custom + MAX = scope:feature_innovators_size + } + every_in_list = { + list = feature_innovators + add_opinion = { + target = root + modifier = grateful_opinion + opinion = 15 + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0110.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0110.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0110.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0110.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0110.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0110.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +################################################# +## ecumenical_council_events.0111-0129 - Themed "sway the group" debate-phase pulse events +################################################# + +# The Elders +ecumenical_council_events.0111 = { + type = activity_event + title = ecumenical_council_events.0111.t + desc = ecumenical_council_events.0111.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = personality_zealous + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_elderly_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_elderly_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_elderly_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_elderly_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_elderly_trigger } + } + + option = { + name = ecumenical_council_events.0111.support + trigger = { + has_trait = patient + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0111.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0111.support + trigger = { + NOT = { has_trait = patient } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_trait = patient } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0111.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0111.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0111.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0111.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0111.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0111.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0111.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0111.oppose + trigger = { + has_trait = patient + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0111.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0111.oppose + trigger = { + NOT = { has_trait = patient } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_trait = patient } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0111.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0111.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0111.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0111.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0111.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0111.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0111.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Plague-Struck +ecumenical_council_events.0112 = { + type = activity_event + title = ecumenical_council_events.0112.t + desc = ecumenical_council_events.0112.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_has_plague_struck_realm_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_has_plague_struck_realm_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_has_plague_struck_realm_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_has_plague_struck_realm_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_has_plague_struck_realm_trigger } + } + + option = { + name = ecumenical_council_events.0112.support + trigger = { + has_trait = compassionate + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0112.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0112.support + trigger = { + NOT = { has_trait = compassionate } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + piety >= ecumenical_council_sway_piety_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = compassionate } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_piety = { + value = ecumenical_council_sway_piety_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0112.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0112.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0112.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0112.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0112.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0112.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0112.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0112.oppose + trigger = { + has_trait = compassionate + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0112.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0112.oppose + trigger = { + NOT = { has_trait = compassionate } + this != scope:host + is_in_guest_subset = { + name = conservative + } + piety >= ecumenical_council_sway_piety_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = compassionate } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_piety = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0112.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0112.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0112.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0112.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0112.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0112.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0112.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Besieged Faithful +ecumenical_council_events.0113 = { + type = activity_event + title = ecumenical_council_events.0113.t + desc = ecumenical_council_events.0113.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_has_besieged_faithful_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_has_besieged_faithful_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_has_besieged_faithful_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_has_besieged_faithful_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_has_besieged_faithful_trigger } + } + + option = { + name = ecumenical_council_events.0113.support + trigger = { + has_trait = brave + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0113.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0113.support + trigger = { + NOT = { has_trait = brave } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + piety >= ecumenical_council_sway_piety_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = brave } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_piety = { + value = ecumenical_council_sway_piety_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0113.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0113.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = martial + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0113.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0113.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0113.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0113.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0113.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0113.oppose + trigger = { + has_trait = brave + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0113.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0113.oppose + trigger = { + NOT = { has_trait = brave } + this != scope:host + is_in_guest_subset = { + name = conservative + } + piety >= ecumenical_council_sway_piety_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = brave } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_piety = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0113.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0113.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = martial + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0113.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0113.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0113.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0113.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0113.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Warriors +ecumenical_council_events.0114 = { + type = activity_event + title = ecumenical_council_events.0114.t + desc = { + desc = ecumenical_council_events.0114.desc.intro + first_valid = { + triggered_desc = { + trigger = { + exists = scope:ec_hostile_faith + } + desc = ecumenical_council_events.0114.desc.conservative + } + desc = ecumenical_council_events.0114.desc.conservative_generic + } + } + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = personality_bold + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_warrior_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_warrior_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_warrior_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_warrior_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_warrior_trigger } + # Prefer a neighboring realm faith hostile to ROOT; else a pagan faith; else a Muslim faith. + if = { + limit = { + any_neighboring_and_across_water_top_liege_realm_owner = { + faith = { + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + } + } + random_neighboring_and_across_water_top_liege_realm_owner = { + limit = { + faith = { + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + } + faith = { save_scope_as = ec_hostile_faith } + } + } + else_if = { + limit = { + any_religion_global = { + is_in_family = rf_pagan + any_faith = { + this != root.faith + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + } + } + random_religion_global = { + limit = { + is_in_family = rf_pagan + any_faith = { + this != root.faith + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + } + random_faith = { + limit = { + this != root.faith + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + save_scope_as = ec_hostile_faith + } + } + } + else_if = { + limit = { + religion:islam_religion = { + any_faith = { + this != root.faith + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + } + } + religion:islam_religion = { + random_faith = { + limit = { + this != root.faith + faith_hostility_level = { + target = root.faith + value >= faith_hostile_level + } + } + save_scope_as = ec_hostile_faith + } + } + } + # Loc names both leads; force cast picks if the feature lists alone do not supply them. + } + + option = { + name = ecumenical_council_events.0114.support + trigger = { + has_personal_tenet = tenet_warmonger + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0114.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0114.support + trigger = { + NOT = { has_personal_tenet = tenet_warmonger } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_warmonger } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0114.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0114.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = martial + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0114.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0114.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0114.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0114.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0114.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0114.oppose + trigger = { + has_personal_tenet = tenet_warmonger + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0114.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0114.oppose + trigger = { + NOT = { has_personal_tenet = tenet_warmonger } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_warmonger } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0114.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0114.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = martial + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0114.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0114.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0114.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0114.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0114.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Cunning +ecumenical_council_events.0115 = { + type = activity_event + title = ecumenical_council_events.0115.t + desc = ecumenical_council_events.0115.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_high_intrigue_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_high_intrigue_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_high_intrigue_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_high_intrigue_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_high_intrigue_trigger } + } + + option = { + name = ecumenical_council_events.0115.support + trigger = { + has_trait = deceitful + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0115.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0115.support + trigger = { + NOT = { has_trait = deceitful } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = deceitful } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0115.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0115.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0115.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0115.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0115.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0115.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0115.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0115.oppose + trigger = { + has_trait = deceitful + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0115.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0115.oppose + trigger = { + NOT = { has_trait = deceitful } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = deceitful } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0115.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0115.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0115.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0115.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0115.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0115.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0115.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Stewards +ecumenical_council_events.0116 = { + type = activity_event + title = ecumenical_council_events.0116.t + desc = ecumenical_council_events.0116.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_high_stewardship_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_high_stewardship_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_high_stewardship_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_high_stewardship_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_high_stewardship_trigger } + } + + option = { + name = ecumenical_council_events.0116.support + trigger = { + has_trait = diligent + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0116.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0116.support + trigger = { + NOT = { has_trait = diligent } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = diligent } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0116.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0116.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = stewardship + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0116.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0116.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0116.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0116.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0116.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0116.oppose + trigger = { + has_trait = diligent + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0116.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0116.oppose + trigger = { + NOT = { has_trait = diligent } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = diligent } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0116.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0116.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = stewardship + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0116.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0116.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0116.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0116.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0116.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Silver-Tongued +ecumenical_council_events.0117 = { + type = activity_event + title = ecumenical_council_events.0117.t + desc = ecumenical_council_events.0117.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_high_diplomacy_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_high_diplomacy_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_high_diplomacy_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_high_diplomacy_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_high_diplomacy_trigger } + } + + option = { + name = ecumenical_council_events.0117.support + trigger = { + has_trait = gregarious + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0117.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0117.support + trigger = { + NOT = { has_trait = gregarious } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = gregarious } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0117.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0117.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0117.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0117.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0117.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0117.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0117.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0117.oppose + trigger = { + has_trait = gregarious + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0117.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0117.oppose + trigger = { + NOT = { has_trait = gregarious } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = gregarious } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0117.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0117.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0117.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0117.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0117.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0117.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0117.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# Distant Custom +ecumenical_council_events.0118 = { + type = activity_event + title = ecumenical_council_events.0118.t + desc = ecumenical_council_events.0118.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + trigger = { + exists = scope:lead_conservative + } + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_right + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = personality_zealous + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Distant conservatives are the theme; innovator preacher need not be distant. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_distant_custom_trigger = yes + } + # A distinct innovator face must exist so the player is never shown as their own innovator + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + } + scope:host != root + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_distant_custom_trigger } + # Oppose flips innovators of any kind; expand past the distant filter used for conservatives. + scope:activity = { + every_guest_subset = { + name = innovator + if = { + limit = { + NOT = { is_in_list = feature_innovators } + this != scope:host + is_ai = yes + } + add_to_list = feature_innovators + } + } + } + save_scope_value_as = { + name = feature_innovators_size + value = list_size:feature_innovators + } + save_scope_value_as = { + name = feature_innovators_size_halved + value = { + value = list_size:feature_innovators + multiply = 0.5 + floor = yes + } + } + if = { + limit = { + NOT = { + scope:lead_conservative ?= { + ecumenical_council_is_distant_custom_trigger = yes + } + } + } + clear_saved_scope = lead_conservative + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = conservative } + ecumenical_council_is_distant_custom_trigger = yes + } + save_scope_as = lead_conservative + } + } + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + } + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = innovator } + trigger_if = { + limit = { + exists = scope:lead_conservative + } + this != scope:lead_conservative + } + } + save_scope_as = lead_innovator + } + } + } + if = { + limit = { + NOT = { exists = scope:lead_innovator } + # Do not cast the viewer as their own lead innovator. + scope:host != root + } + scope:host = { + save_scope_as = lead_innovator + } + } + } + + option = { + name = ecumenical_council_events.0118.support + trigger = { + has_personal_tenet = tenet_adaptive + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0118.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0118.support + trigger = { + NOT = { has_personal_tenet = tenet_adaptive } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_adaptive } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0118.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0118.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0118.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0118.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0118.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0118.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0118.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0118.oppose + trigger = { + has_personal_tenet = tenet_adaptive + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0118.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0118.oppose + trigger = { + NOT = { has_personal_tenet = tenet_adaptive } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + learning >= high_skill_rating + } + show_as_unavailable = { + NOT = { has_personal_tenet = tenet_adaptive } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0118.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0118.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0118.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0118.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0118.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0118.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0118.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Glorious +ecumenical_council_events.0120 = { + type = activity_event + title = ecumenical_council_events.0120.t + desc = ecumenical_council_events.0120.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + prestige_level >= high_prestige_level + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + prestige_level >= high_prestige_level + } + AND = { + scope:host != root + scope:host = { prestige_level >= high_prestige_level } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_prestigious_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_prestigious_trigger } + } + + option = { + name = ecumenical_council_events.0120.support + trigger = { + has_trait = arrogant + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0120.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0120.support + trigger = { + NOT = { has_trait = arrogant } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = arrogant } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0120.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0120.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0120.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0120.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0120.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0120.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0120.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0120.oppose + trigger = { + has_trait = arrogant + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0120.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0120.oppose + trigger = { + NOT = { has_trait = arrogant } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = arrogant } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0120.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0120.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0120.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0120.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0120.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0120.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0120.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Ailing +ecumenical_council_events.0122 = { + type = activity_event + title = ecumenical_council_events.0122.t + desc = ecumenical_council_events.0122.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme; host may front innovators only if themed. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_ailing_trigger = yes + } + OR = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_ailing_trigger = yes + } + AND = { + scope:host != root + scope:host = { ecumenical_council_is_ailing_trigger = yes } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_ailing_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_ailing_trigger } + } + + option = { + name = ecumenical_council_events.0122.support + trigger = { + has_trait = compassionate + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + scope:feature_conservatives_size >= 1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0122.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0122.support + trigger = { + NOT = { has_trait = compassionate } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + scope:feature_conservatives_size >= 1 + piety >= ecumenical_council_sway_piety_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = compassionate } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + scope:feature_conservatives_size >= 1 + } + add_piety = { + value = ecumenical_council_sway_piety_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0122.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0122.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + scope:feature_conservatives_size >= 1 + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0122.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0122.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0122.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0122.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0122.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0122.oppose + trigger = { + has_trait = compassionate + this != scope:host + is_in_guest_subset = { + name = conservative + } + scope:feature_innovators_size >= 1 + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0122.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0122.oppose + trigger = { + NOT = { has_trait = compassionate } + this != scope:host + is_in_guest_subset = { + name = conservative + } + scope:feature_innovators_size >= 1 + piety >= ecumenical_council_sway_piety_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = compassionate } + this != scope:host + is_in_guest_subset = { + name = conservative + } + scope:feature_innovators_size >= 1 + } + add_piety = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0122.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0122.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + scope:feature_innovators_size >= 1 + } + duel = { + skill = learning + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0122.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0122.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0122.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0122.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0122.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Allied +ecumenical_council_events.0123 = { + type = activity_event + title = ecumenical_council_events.0123.t + desc = ecumenical_council_events.0123.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + lower_right_portrait = { + trigger = { + root != scope:host + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Both debate faces must match the theme (host cannot satisfy this filter). + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + is_allied_to = root + } + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + is_allied_to = root + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_ally_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_ally_trigger } + } + + option = { + name = ecumenical_council_events.0123.support + trigger = { + has_trait = honest + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0123.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0123.support + trigger = { + NOT = { has_trait = honest } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + prestige >= ecumenical_council_sway_prestige_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = honest } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_prestige = { + value = ecumenical_council_sway_prestige_cost_conservatives_value + multiply = -1 + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0123.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0123.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0123.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0123.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0123.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0123.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0123.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0123.oppose + trigger = { + has_trait = honest + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0123.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0123.oppose + trigger = { + NOT = { has_trait = honest } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = honest } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0123.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0123.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = diplomacy + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0123.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0123.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0123.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0123.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0123.oppose_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + +# The Rivals - a rival threatens to vote against you; challenge the spite, refuse to rise to it, or murder them while distracted +ecumenical_council_events.0126 = { + type = activity_event + title = ecumenical_council_events.0126.t + desc = ecumenical_council_events.0126.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + right_portrait = { + trigger = { + exists = scope:rival + } + character = scope:rival + animation = disapproval + camera = camera_event_center_pointing_left + } + cooldown = { days = 60 } + + trigger = { + OR = { + AND = { + OR = { + this = scope:host + is_in_guest_subset = { name = innovator } + } + scope:activity = { + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + ecumenical_council_is_rival_trigger = yes + } + } + } + AND = { + this != scope:host + is_in_guest_subset = { name = conservative } + scope:activity = { + any_attending_character = { + is_in_guest_subset = { name = innovator } + is_ai = yes + this != root + ecumenical_council_is_rival_trigger = yes + } + } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_is_rival_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_is_rival_trigger } + # Speaking rival is the lead of the camp you can actually pull. + if = { + limit = { + OR = { + this = scope:host + is_in_guest_subset = { name = innovator } + } + } + if = { + limit = { + exists = scope:lead_conservative + } + scope:lead_conservative = { + save_scope_as = rival + } + } + else = { + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = conservative } + ecumenical_council_is_rival_trigger = yes + } + save_scope_as = rival + } + } + } + } + else_if = { + limit = { + this != scope:host + is_in_guest_subset = { name = conservative } + } + if = { + limit = { + exists = scope:lead_innovator + } + scope:lead_innovator = { + save_scope_as = rival + } + } + else = { + scope:activity = { + ordered_attending_character = { + order_by = highest_held_title_tier + limit = { + this != root + is_ai = yes + is_in_guest_subset = { name = innovator } + ecumenical_council_is_rival_trigger = yes + } + save_scope_as = rival + } + } + } + } + } + + # Challenge the spite: pull their camp onto your side of the vote + option = { + name = ecumenical_council_events.0126.a + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0126.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0126.a + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0126.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 100 + } + } + # Refuse to rise to it + option = { + name = ecumenical_council_events.0126.b + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + modifier = { + add = 50 + has_trait = content + } + modifier = { + add = 25 + has_trait = compassionate + } + } + } + # Murder them while distracted + option = { + name = ecumenical_council_events.0126.c + trigger = { + exists = scope:rival + can_start_scheme = { + type = murder + target_character = scope:rival + } + } + add_internal_flag = dangerous + start_scheme = { + type = murder + target_character = scope:rival + } + custom_tooltip = ecumenical_council_events.0126.c.tt + hidden_effect = { + random_scheme = { + limit = { + scheme_type = murder + scheme_target_character = scope:rival + } + add_scheme_modifier = { + type = extra_success_chance_modifier + } + } + } + stress_and_fulfillment_impact = { + callous = minor_stress_impact_loss + sadistic = minor_stress_impact_loss + compassionate = medium_stress_impact_gain + } + ai_chance = { + base = 0 + modifier = { + add = 50 + has_trait = callous + } + modifier = { + add = 50 + has_trait = sadistic + } + modifier = { + add = 25 + has_trait = vengeful + } + } + } +} + +# The Cowed +ecumenical_council_events.0129 = { + type = activity_event + title = ecumenical_council_events.0129.t + desc = ecumenical_council_events.0129.desc + theme = ecumenical_council + left_portrait = { + character = root + animation = interested + camera = camera_event_crowd + } + center_portrait = { + character = scope:lead_conservative + animation = debating + camera = camera_event_center_pointing_left + } + right_portrait = { + trigger = { + exists = scope:lead_innovator + } + character = scope:lead_innovator + animation = interested + } + cooldown = { days = 60 } + + trigger = { + scope:activity = { + # Loc fronts an intimidated conservative; require that face. + any_attending_character = { + is_in_guest_subset = { name = conservative } + is_ai = yes + this != root + NOT = { pam_ec_is_active_counterplayer_trigger = yes } + has_dread_level_towards = { target = root level >= 1 } + } + } + } + + immediate = { + save_sway_guests_scopes_effect = { TRIGGER = ecumenical_council_dreads_root_trigger } + ecumenical_council_ensure_themed_leads_effect = { TRIGGER = ecumenical_council_dreads_root_trigger } + } + + option = { + name = ecumenical_council_events.0129.support + trigger = { + has_trait = wrathful + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + stress_and_fulfillment_impact = { + compassionate = minor_stress_impact_gain + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0129.conservatives_custom_capped + MAX = scope:feature_conservatives_free_max + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0129.support + trigger = { + NOT = { has_trait = wrathful } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + dread >= ecumenical_council_sway_dread_cost_conservatives_value + } + show_as_unavailable = { + NOT = { has_trait = wrathful } + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + add_dread = { + value = ecumenical_council_sway_dread_cost_conservatives_value + multiply = -1 + } + stress_and_fulfillment_impact = { + compassionate = minor_stress_impact_gain + } + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0129.conservatives_custom + MAX = scope:feature_conservatives_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0129.support_duel + trigger = { + OR = { + this = scope:host + is_in_guest_subset = { + name = innovator + } + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = -1 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0129.support_duel.success + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0129.conservatives_custom + MAX = scope:feature_conservatives_size + } + } + 50 = { + trigger = { + scope:feature_conservatives_size_halved >= 1 + } + desc = ecumenical_council_events.0129.support_duel.success_halved + ecumenical_council_sway_to_innovators_effect = { + LIST = feature_conservatives + CUSTOM = ecumenical_council_events.0129.conservatives_custom_halved + MAX = scope:feature_conservatives_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + compare_modifier = { + value = scope:ec_sway_duel_penalty + multiplier = 1 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0129.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ecumenical_council_events.0129.oppose + trigger = { + has_trait = wrathful + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + stress_and_fulfillment_impact = { + compassionate = minor_stress_impact_gain + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0129.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0129.oppose + trigger = { + NOT = { has_trait = wrathful } + this != scope:host + is_in_guest_subset = { + name = conservative + } + prestige >= ecumenical_council_sway_prestige_cost_innovators_value + } + show_as_unavailable = { + NOT = { has_trait = wrathful } + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + add_prestige = { + value = -40 + multiply = scope:feature_innovators_size + } + stress_and_fulfillment_impact = { + compassionate = minor_stress_impact_gain + } + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0129.innovators_custom + MAX = scope:feature_innovators_size + } + ai_chance = { + base = 0 + } + } + option = { + name = ecumenical_council_events.0129.oppose_duel + trigger = { + this != scope:host + is_in_guest_subset = { + name = conservative + } + } + duel = { + skill = intrigue + value = high_skill_rating + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + # The debated tenet's faith (un)popularity nudges the sway in the same direction. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = -0.1 + min = -49 + } + desc = ecumenical_council_events.0129.oppose_duel.success + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0129.innovators_custom + MAX = scope:feature_innovators_size + } + } + 50 = { + trigger = { + scope:feature_innovators_size_halved >= 1 + } + desc = ecumenical_council_events.0129.oppose_duel.success_halved + ecumenical_council_sway_to_conservatives_effect = { + LIST = feature_innovators + CUSTOM = ecumenical_council_events.0129.innovators_custom_halved + MAX = scope:feature_innovators_size_halved + } + } + 50 = { + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + # ...and correspondingly makes the sway less likely to fail. + compare_modifier = { + value = pam_ec_sway_tenet_impact_value + multiplier = 0.1 + min = -49 + } + desc = ecumenical_council_events.0129.support_duel.failure + } + } + ai_chance = { + base = 100 + } + } + option = { + name = ec_sway_leave + add_piety = 10 + stress_and_fulfillment_impact = { + content = minor_stress_impact_loss + } + ai_chance = { + base = 0 + } + } +} + + + +ecumenical_council_events.0074 = { + type = activity_event + title = ecumenical_council_events_josh.0224.t + desc = ecumenical_council_events_josh.0224.desc + theme = ecumenical_council + left_portrait = { character = root animation = worry } + center_portrait = { character = scope:lead_portrait animation = preaching_no_book } + right_portrait = { character = scope:court_chaplain animation = thinking } + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_liturgical_language_none = { save_scope_as = doctrine_liturgical_language_none } + save_scope_value_as = { + name = doctrine_liturgical_language_none_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_none = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_none } + doctrine:doctrine_liturgical_language_latin = { save_scope_as = doctrine_liturgical_language_latin } + save_scope_value_as = { + name = doctrine_liturgical_language_latin_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_latin = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_latin } + doctrine:doctrine_liturgical_language_koine = { save_scope_as = doctrine_liturgical_language_koine } + save_scope_value_as = { + name = doctrine_liturgical_language_koine_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_koine = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_koine } + doctrine:doctrine_liturgical_language_church_slavonic = { save_scope_as = doctrine_liturgical_language_church_slavonic } + save_scope_value_as = { + name = doctrine_liturgical_language_church_slavonic_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_church_slavonic = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_church_slavonic } + doctrine:doctrine_liturgical_language_irish = { save_scope_as = doctrine_liturgical_language_irish } + save_scope_value_as = { + name = doctrine_liturgical_language_irish_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_irish = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_irish } + doctrine:doctrine_liturgical_language_armenian = { save_scope_as = doctrine_liturgical_language_armenian } + save_scope_value_as = { + name = doctrine_liturgical_language_armenian_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_armenian = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_armenian } + doctrine:doctrine_liturgical_language_syriac = { save_scope_as = doctrine_liturgical_language_syriac } + save_scope_value_as = { + name = doctrine_liturgical_language_syriac_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_syriac = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_syriac } + doctrine:doctrine_liturgical_language_coptic = { save_scope_as = doctrine_liturgical_language_coptic } + save_scope_value_as = { + name = doctrine_liturgical_language_coptic_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_coptic = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_coptic } + doctrine:doctrine_liturgical_language_classical_georgian = { save_scope_as = doctrine_liturgical_language_classical_georgian } + save_scope_value_as = { + name = doctrine_liturgical_language_classical_georgian_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_classical_georgian = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_classical_georgian } + doctrine:doctrine_liturgical_language_church_romanian = { save_scope_as = doctrine_liturgical_language_church_romanian } + save_scope_value_as = { + name = doctrine_liturgical_language_church_romanian_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_church_romanian = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_church_romanian } + doctrine:doctrine_liturgical_language_arabic = { save_scope_as = doctrine_liturgical_language_arabic } + save_scope_value_as = { + name = doctrine_liturgical_language_arabic_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_arabic = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_arabic } + doctrine:doctrine_liturgical_language_hebrew = { save_scope_as = doctrine_liturgical_language_hebrew } + save_scope_value_as = { + name = doctrine_liturgical_language_hebrew_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_hebrew = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_hebrew } + doctrine:doctrine_liturgical_language_esperanto = { save_scope_as = doctrine_liturgical_language_esperanto } + save_scope_value_as = { + name = doctrine_liturgical_language_esperanto_value + value = { + value = 0 + doctrine:doctrine_liturgical_language_esperanto = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_esperanto } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_none + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_none + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_none } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_none } + doctrine:doctrine_liturgical_language_none = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_none } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_none_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_latin + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_latin + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_latin } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_latin } + doctrine:doctrine_liturgical_language_latin = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_latin } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_latin_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_koine + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_koine + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_koine } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_koine } + doctrine:doctrine_liturgical_language_koine = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_koine } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_koine_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_church_slavonic + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_slavonic + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_church_slavonic } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_slavonic } + doctrine:doctrine_liturgical_language_church_slavonic = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_church_slavonic } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_church_slavonic_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_irish + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_irish + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_irish } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_irish } + doctrine:doctrine_liturgical_language_irish = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_irish } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_irish_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_armenian + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_armenian + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_armenian } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_armenian } + doctrine:doctrine_liturgical_language_armenian = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_armenian } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_armenian_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_syriac + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_syriac + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_syriac } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_syriac } + doctrine:doctrine_liturgical_language_syriac = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_syriac } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_syriac_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_coptic + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_coptic + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_coptic } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_coptic } + doctrine:doctrine_liturgical_language_coptic = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_coptic } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_coptic_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_classical_georgian + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_classical_georgian + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_classical_georgian } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_classical_georgian } + doctrine:doctrine_liturgical_language_classical_georgian = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_classical_georgian } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_classical_georgian_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_church_romanian + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_romanian + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_church_romanian } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_romanian } + doctrine:doctrine_liturgical_language_church_romanian = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_church_romanian } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_church_romanian_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_arabic + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_arabic + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_arabic } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_arabic } + doctrine:doctrine_liturgical_language_arabic = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_arabic } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_arabic_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_hebrew + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_hebrew + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_hebrew } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_hebrew } + doctrine:doctrine_liturgical_language_hebrew = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_hebrew } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_hebrew_value } + } + option = { + name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_esperanto + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_esperanto + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_esperanto } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_esperanto } + doctrine:doctrine_liturgical_language_esperanto = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_esperanto } + ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_esperanto_value } + } + + option = { + name = neow_council_retain_current_doctrine + trigger = { exists = scope:ec_debate_topic_3 } + scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } + ai_will_select = { value = 1 } + } + + after = { + ecumenical_council_ready_effect = yes + pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } + } +} + +ecumenical_council_events.0075 = { + type = activity_event + title = ecumenical_council_events_josh.0225.t + desc = ecumenical_council_events_josh.0225.desc + theme = ecumenical_council + left_portrait = { character = root animation = worry } + center_portrait = { character = scope:lead_portrait animation = preaching_no_book } + right_portrait = { character = scope:court_chaplain animation = thinking } + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_usury_accepted = { save_scope_as = doctrine_usury_accepted } + save_scope_value_as = { + name = doctrine_usury_accepted_value + value = { + value = 0 + doctrine:doctrine_usury_accepted = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_accepted } + doctrine:doctrine_usury_discouraged = { save_scope_as = doctrine_usury_discouraged } + save_scope_value_as = { + name = doctrine_usury_discouraged_value + value = { + value = 0 + doctrine:doctrine_usury_discouraged = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_discouraged } + doctrine:doctrine_usury_outsiders_only = { save_scope_as = doctrine_usury_outsiders_only } + save_scope_value_as = { + name = doctrine_usury_outsiders_only_value + value = { + value = 0 + doctrine:doctrine_usury_outsiders_only = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_outsiders_only } + doctrine:doctrine_usury_forbidden = { save_scope_as = doctrine_usury_forbidden } + save_scope_value_as = { + name = doctrine_usury_forbidden_value + value = { + value = 0 + doctrine:doctrine_usury_forbidden = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_forbidden } + } + option = { + name = ecumenical_council_events_josh.0225.doctrine_usury_accepted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_usury_accepted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_accepted } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_accepted } + doctrine:doctrine_usury_accepted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_accepted } + ai_will_select = { value = 100 add = scope:doctrine_usury_accepted_value } + } + option = { + name = ecumenical_council_events_josh.0225.doctrine_usury_discouraged + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_usury_discouraged + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_discouraged } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_discouraged } + doctrine:doctrine_usury_discouraged = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_discouraged } + ai_will_select = { value = 100 add = scope:doctrine_usury_discouraged_value } + } + option = { + name = ecumenical_council_events_josh.0225.doctrine_usury_outsiders_only + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_usury_outsiders_only + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_outsiders_only } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_outsiders_only } + doctrine:doctrine_usury_outsiders_only = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_outsiders_only } + ai_will_select = { value = 100 add = scope:doctrine_usury_outsiders_only_value } + } + option = { + name = ecumenical_council_events_josh.0225.doctrine_usury_forbidden + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_usury_forbidden + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_forbidden } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_forbidden } + doctrine:doctrine_usury_forbidden = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_forbidden } + ai_will_select = { value = 100 add = scope:doctrine_usury_forbidden_value } + } + + option = { + name = neow_council_retain_current_doctrine + trigger = { exists = scope:ec_debate_topic_3 } + scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } + ai_will_select = { value = 1 } + } + + after = { + ecumenical_council_ready_effect = yes + pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } + } +} + +ecumenical_council_events.0076 = { + type = activity_event + title = ecumenical_council_events_josh.0226.t + desc = ecumenical_council_events_josh.0226.desc + theme = ecumenical_council + left_portrait = { character = root animation = worry } + center_portrait = { character = scope:lead_portrait animation = preaching_no_book } + right_portrait = { character = scope:court_chaplain animation = thinking } + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:special_doctrine_meat_only = { save_scope_as = special_doctrine_meat_only } + save_scope_value_as = { + name = special_doctrine_meat_only_value + value = { + value = 0 + doctrine:special_doctrine_meat_only = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_only } + doctrine:doctrine_diet_unrestricted = { save_scope_as = doctrine_diet_unrestricted } + save_scope_value_as = { + name = doctrine_diet_unrestricted_value + value = { + value = 0 + doctrine:doctrine_diet_unrestricted = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_diet_unrestricted } + doctrine:special_doctrine_meat_forbidden_temples = { save_scope_as = special_doctrine_meat_forbidden_temples } + save_scope_value_as = { + name = special_doctrine_meat_forbidden_temples_value + value = { + value = 0 + doctrine:special_doctrine_meat_forbidden_temples = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden_temples } + doctrine:special_doctrine_meat_forbidden_temples_fish = { save_scope_as = special_doctrine_meat_forbidden_temples_fish } + save_scope_value_as = { + name = special_doctrine_meat_forbidden_temples_fish_value + value = { + value = 0 + doctrine:special_doctrine_meat_forbidden_temples_fish = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden_temples_fish } + doctrine:special_doctrine_meat_forbidden_fish = { save_scope_as = special_doctrine_meat_forbidden_fish } + save_scope_value_as = { + name = special_doctrine_meat_forbidden_fish_value + value = { + value = 0 + doctrine:special_doctrine_meat_forbidden_fish = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden_fish } + doctrine:special_doctrine_meat_forbidden = { save_scope_as = special_doctrine_meat_forbidden } + save_scope_value_as = { + name = special_doctrine_meat_forbidden_value + value = { + value = 0 + doctrine:special_doctrine_meat_forbidden = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden } + doctrine:special_doctrine_nothing_of_the_slain = { save_scope_as = special_doctrine_nothing_of_the_slain } + save_scope_value_as = { + name = special_doctrine_nothing_of_the_slain_value + value = { + value = 0 + doctrine:special_doctrine_nothing_of_the_slain = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_nothing_of_the_slain } + } + option = { + name = ecumenical_council_events_josh.0226.special_doctrine_meat_only + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_only + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_only } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_only } + doctrine:special_doctrine_meat_only = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_only } + ai_will_select = { value = 100 add = scope:special_doctrine_meat_only_value } + } + option = { + name = ecumenical_council_events_josh.0226.doctrine_diet_unrestricted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_diet_unrestricted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_diet_unrestricted } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_diet_unrestricted } + doctrine:doctrine_diet_unrestricted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_diet_unrestricted } + ai_will_select = { value = 100 add = scope:doctrine_diet_unrestricted_value } + } + option = { + name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden_temples + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden_temples } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples } + doctrine:special_doctrine_meat_forbidden_temples = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden_temples } + ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_temples_value } + } + option = { + name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden_temples_fish + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples_fish + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden_temples_fish } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples_fish } + doctrine:special_doctrine_meat_forbidden_temples_fish = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden_temples_fish } + ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_temples_fish_value } + } + option = { + name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden_fish + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_fish + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden_fish } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_fish } + doctrine:special_doctrine_meat_forbidden_fish = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden_fish } + ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_fish_value } + } + option = { + name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden } + doctrine:special_doctrine_meat_forbidden = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden } + ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_value } + } + option = { + name = ecumenical_council_events_josh.0226.special_doctrine_nothing_of_the_slain + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_nothing_of_the_slain + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_nothing_of_the_slain } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_nothing_of_the_slain } + doctrine:special_doctrine_nothing_of_the_slain = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_nothing_of_the_slain } + ai_will_select = { value = 100 add = scope:special_doctrine_nothing_of_the_slain_value } + } + + option = { + name = neow_council_retain_current_doctrine + trigger = { exists = scope:ec_debate_topic_3 } + scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } + ai_will_select = { value = 1 } + } + + after = { + ecumenical_council_ready_effect = yes + pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } + } +} + +ecumenical_council_events.0077 = { + type = activity_event + title = ecumenical_council_events_josh.0227.t + desc = ecumenical_council_events_josh.0227.desc + theme = ecumenical_council + left_portrait = { character = root animation = worry } + center_portrait = { character = scope:lead_portrait animation = preaching_no_book } + right_portrait = { character = scope:court_chaplain animation = thinking } + immediate = { + ecumenical_council_busy_effect = yes + save_major_scopes_effect = yes + doctrine:doctrine_alcohol_permitted = { save_scope_as = doctrine_alcohol_permitted } + save_scope_value_as = { + name = doctrine_alcohol_permitted_value + value = { + value = 0 + doctrine:doctrine_alcohol_permitted = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_alcohol_permitted } + doctrine:doctrine_alcohol_highborn_only = { save_scope_as = doctrine_alcohol_highborn_only } + save_scope_value_as = { + name = doctrine_alcohol_highborn_only_value + value = { + value = 0 + doctrine:doctrine_alcohol_highborn_only = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_alcohol_highborn_only } + doctrine:special_doctrine_alcohol_forbidden = { save_scope_as = special_doctrine_alcohol_forbidden } + save_scope_value_as = { + name = special_doctrine_alcohol_forbidden_value + value = { + value = 0 + doctrine:special_doctrine_alcohol_forbidden = { save_temporary_scope_as = doctrine } + add = ecumenical_council_doctrine_host_pick_value + } + } + ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_alcohol_forbidden } + } + option = { + name = ecumenical_council_events_josh.0227.doctrine_alcohol_permitted + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_permitted + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_alcohol_permitted } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_permitted } + doctrine:doctrine_alcohol_permitted = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_alcohol_permitted } + ai_will_select = { value = 100 add = scope:doctrine_alcohol_permitted_value } + } + option = { + name = ecumenical_council_events_josh.0227.doctrine_alcohol_highborn_only + trigger = { + scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_highborn_only + faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_alcohol_highborn_only } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_highborn_only } + doctrine:doctrine_alcohol_highborn_only = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_alcohol_highborn_only } + ai_will_select = { value = 100 add = scope:doctrine_alcohol_highborn_only_value } + } + option = { + name = ecumenical_council_events_josh.0227.special_doctrine_alcohol_forbidden + trigger = { + scope:ec_debate_topic_3 != doctrine:special_doctrine_alcohol_forbidden + faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_alcohol_forbidden } + } + show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_alcohol_forbidden } + doctrine:special_doctrine_alcohol_forbidden = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_alcohol_forbidden } + ai_will_select = { value = 100 add = scope:special_doctrine_alcohol_forbidden_value } + } + + option = { + name = neow_council_retain_current_doctrine + trigger = { exists = scope:ec_debate_topic_3 } + scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } + ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } + ai_will_select = { value = 1 } + } + + after = { + ecumenical_council_ready_effect = yes + pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } + } +} diff --git a/events/activities/ecumenical_council_activity/pam_ecumenical_council_events_josh.txt b/events/activities/ecumenical_council_activity/pam_ecumenical_council_events_josh.txt index e78308c97..8b990a806 100644 --- a/events/activities/ecumenical_council_activity/pam_ecumenical_council_events_josh.txt +++ b/events/activities/ecumenical_council_activity/pam_ecumenical_council_events_josh.txt @@ -2059,4467 +2059,6 @@ ecumenical_council_events_josh.0025 = { } } -ecumenical_council_events_josh.0200 = { - type = activity_event - title = ecumenical_council_events.0050.t - desc = { - desc = ecumenical_council_events.0050.desc.intro - desc = ecumenical_council_events.0050.desc.doctrine_marriage_type_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0050.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - # For MP - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_monogamy = { - save_scope_as = doctrine_monogamy - } - save_scope_value_as = { - name = doctrine_monogamy_value - value = { - value = 0 - doctrine:doctrine_monogamy = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_polygamy = { - save_scope_as = doctrine_polygamy - } - save_scope_value_as = { - name = doctrine_polygamy_value - value = { - value = 0 - doctrine:doctrine_polygamy = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_concubines = { - save_scope_as = doctrine_concubines - } - save_scope_value_as = { - name = doctrine_concubines_value - value = { - value = 0 - doctrine:doctrine_concubines = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monogamy } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_polygamy } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_concubines } - } - - # Push for monogamy - option = { - name = ecumenical_council_events.0050.doctrine_monogamy - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_monogamy - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monogamy } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_monogamy - } - doctrine:doctrine_monogamy = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monogamy } - ai_will_select = { - value = 100 - add = scope:doctrine_monogamy_value - } - } - # Push for polygamy - option = { - name = ecumenical_council_events.0050.doctrine_polygamy - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_polygamy - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_polygamy } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_polygamy - } - doctrine:doctrine_polygamy = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_polygamy } - ai_will_select = { - value = 100 - add = scope:doctrine_polygamy_value - } - } - # Push for concubines - option = { - name = ecumenical_council_events.0050.doctrine_concubines - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_concubines - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_concubines } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_concubines - } - doctrine:doctrine_concubines = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_concubines } - ai_will_select = { - value = 100 - add = scope:doctrine_concubines_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - # For MP - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0201 = { - type = activity_event - title = ecumenical_council_events.0051.t - desc = { - desc = ecumenical_council_events.0051.desc.intro - desc = ecumenical_council_events.0051.desc.doctrine_divorce_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0051.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_divorce_disallowed = { - save_scope_as = doctrine_divorce_disallowed - } - save_scope_value_as = { - name = doctrine_divorce_disallowed_value - value = { - value = 0 - doctrine:doctrine_divorce_disallowed = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_divorce_approval = { - save_scope_as = doctrine_divorce_approval - } - save_scope_value_as = { - name = doctrine_divorce_approval_value - value = { - value = 0 - doctrine:doctrine_divorce_approval = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_divorce_allowed = { - save_scope_as = doctrine_divorce_allowed - } - save_scope_value_as = { - name = doctrine_divorce_allowed_value - value = { - value = 0 - doctrine:doctrine_divorce_allowed = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_divorce_disallowed } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_divorce_approval } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_divorce_allowed } - } - - # Push for divorce disallowed - option = { - name = ecumenical_council_events.0051.doctrine_divorce_disallowed - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_divorce_disallowed - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_divorce_disallowed } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_divorce_disallowed - } - doctrine:doctrine_divorce_disallowed = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_divorce_disallowed } - ai_will_select = { - value = 100 - add = scope:doctrine_divorce_disallowed_value - } - } - # Push for divorce by approval - option = { - name = ecumenical_council_events.0051.doctrine_divorce_approval - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_divorce_approval - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_divorce_approval } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_divorce_approval - } - doctrine:doctrine_divorce_approval = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_divorce_approval } - ai_will_select = { - value = 100 - add = scope:doctrine_divorce_approval_value - } - } - # Push for divorce allowed - option = { - name = ecumenical_council_events.0051.doctrine_divorce_allowed - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_divorce_allowed - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_divorce_allowed } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_divorce_allowed - } - doctrine:doctrine_divorce_allowed = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_divorce_allowed } - ai_will_select = { - value = 100 - add = scope:doctrine_divorce_allowed_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0202 = { - type = activity_event - title = ecumenical_council_events.0052.t - desc = { - desc = ecumenical_council_events.0052.desc.intro - desc = ecumenical_council_events.0052.desc.doctrine_bastardry_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0052.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_bastardry_none = { - save_scope_as = doctrine_bastardry_none - } - save_scope_value_as = { - name = doctrine_bastardry_none_value - value = { - value = 0 - doctrine:doctrine_bastardry_none = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_bastardry_legitimization = { - save_scope_as = doctrine_bastardry_legitimization - } - save_scope_value_as = { - name = doctrine_bastardry_legitimization_value - value = { - value = 0 - doctrine:doctrine_bastardry_legitimization = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_bastardry_all = { - save_scope_as = doctrine_bastardry_all - } - save_scope_value_as = { - name = doctrine_bastardry_all_value - value = { - value = 0 - doctrine:doctrine_bastardry_all = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_bastardry_none } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_bastardry_legitimization } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_bastardry_all } - } - - # Push for no bastardry status - option = { - name = ecumenical_council_events.0052.doctrine_bastardry_none - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_none - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_bastardry_none } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_none - } - doctrine:doctrine_bastardry_none = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_bastardry_none } - ai_will_select = { - value = 100 - add = scope:doctrine_bastardry_none_value - } - } - # Push for bastardry legitimization - option = { - name = ecumenical_council_events.0052.doctrine_bastardry_legitimization - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_legitimization - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_bastardry_legitimization } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_legitimization - } - doctrine:doctrine_bastardry_legitimization = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_bastardry_legitimization } - ai_will_select = { - value = 100 - add = scope:doctrine_bastardry_legitimization_value - } - } - # Push for full bastardry acceptance - option = { - name = ecumenical_council_events.0052.doctrine_bastardry_all - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_all - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_bastardry_all } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_bastardry_all - } - doctrine:doctrine_bastardry_all = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_bastardry_all } - ai_will_select = { - value = 100 - add = scope:doctrine_bastardry_all_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0203 = { - type = activity_event - title = ecumenical_council_events.0053.t - desc = { - desc = ecumenical_council_events.0053.desc.intro - desc = ecumenical_council_events.0053.desc.doctrine_homosexuality_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0053.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_homosexuality_crime = { - save_scope_as = doctrine_homosexuality_crime - } - save_scope_value_as = { - name = doctrine_homosexuality_crime_value - value = { - value = 0 - doctrine:doctrine_homosexuality_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_homosexuality_shunned = { - save_scope_as = doctrine_homosexuality_shunned - } - save_scope_value_as = { - name = doctrine_homosexuality_shunned_value - value = { - value = 0 - doctrine:doctrine_homosexuality_shunned = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_homosexuality_accepted = { - save_scope_as = doctrine_homosexuality_accepted - } - save_scope_value_as = { - name = doctrine_homosexuality_accepted_value - value = { - value = 0 - doctrine:doctrine_homosexuality_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_homosexuality_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_homosexuality_shunned } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_homosexuality_accepted } - } - - # Push for homosexuality as crime - option = { - name = ecumenical_council_events.0053.doctrine_homosexuality_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_homosexuality_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_crime - } - doctrine:doctrine_homosexuality_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_homosexuality_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_homosexuality_crime_value - } - } - # Push for homosexuality shunned - option = { - name = ecumenical_council_events.0053.doctrine_homosexuality_shunned - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_shunned - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_homosexuality_shunned } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_shunned - } - doctrine:doctrine_homosexuality_shunned = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_homosexuality_shunned } - ai_will_select = { - value = 100 - add = scope:doctrine_homosexuality_shunned_value - } - } - # Push for homosexuality accepted - option = { - name = ecumenical_council_events.0053.doctrine_homosexuality_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_homosexuality_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_homosexuality_accepted - } - doctrine:doctrine_homosexuality_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_homosexuality_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_homosexuality_accepted_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0204 = { - type = activity_event - title = ecumenical_council_events.0054.t - desc = { - desc = ecumenical_council_events.0054.desc.intro - desc = ecumenical_council_events.0054.desc.doctrine_deviancy_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0054.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_deviancy_crime = { - save_scope_as = doctrine_deviancy_crime - } - save_scope_value_as = { - name = doctrine_deviancy_crime_value - value = { - value = 0 - doctrine:doctrine_deviancy_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_deviancy_shunned = { - save_scope_as = doctrine_deviancy_shunned - } - save_scope_value_as = { - name = doctrine_deviancy_shunned_value - value = { - value = 0 - doctrine:doctrine_deviancy_shunned = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_deviancy_accepted = { - save_scope_as = doctrine_deviancy_accepted - } - save_scope_value_as = { - name = doctrine_deviancy_accepted_value - value = { - value = 0 - doctrine:doctrine_deviancy_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_deviancy_virtuous = { - save_scope_as = doctrine_deviancy_virtuous - } - save_scope_value_as = { - name = doctrine_deviancy_virtuous_value - value = { - value = 0 - doctrine:doctrine_deviancy_virtuous = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_shunned } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_accepted } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_deviancy_virtuous } - } - - # Push for deviancy as crime - option = { - name = ecumenical_council_events.0054.doctrine_deviancy_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_crime - } - doctrine:doctrine_deviancy_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_deviancy_crime_value - } - } - # Push for deviancy shunned - option = { - name = ecumenical_council_events.0054.doctrine_deviancy_shunned - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_shunned - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_shunned } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_shunned - } - doctrine:doctrine_deviancy_shunned = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_shunned } - ai_will_select = { - value = 100 - add = scope:doctrine_deviancy_shunned_value - } - } - # Push for deviancy accepted - option = { - name = ecumenical_council_events.0054.doctrine_deviancy_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_accepted - } - doctrine:doctrine_deviancy_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_deviancy_accepted_value - } - } - # Push for deviancy as virtuous - option = { - name = ecumenical_council_events.0054.doctrine_deviancy_virtuous - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_virtuous - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_deviancy_virtuous } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_deviancy_virtuous - } - doctrine:doctrine_deviancy_virtuous = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_deviancy_virtuous } - ai_will_select = { - value = 100 - add = scope:doctrine_deviancy_virtuous_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0205 = { - type = activity_event - title = ecumenical_council_events.0055.t - desc = { - desc = ecumenical_council_events.0055.desc.intro - desc = ecumenical_council_events.0055.desc.doctrine_adultery_men_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0055.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_adultery_men_crime = { - save_scope_as = doctrine_adultery_men_crime - } - save_scope_value_as = { - name = doctrine_adultery_men_crime_value - value = { - value = 0 - doctrine:doctrine_adultery_men_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_adultery_men_shunned = { - save_scope_as = doctrine_adultery_men_shunned - } - save_scope_value_as = { - name = doctrine_adultery_men_shunned_value - value = { - value = 0 - doctrine:doctrine_adultery_men_shunned = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_adultery_men_accepted = { - save_scope_as = doctrine_adultery_men_accepted - } - save_scope_value_as = { - name = doctrine_adultery_men_accepted_value - value = { - value = 0 - doctrine:doctrine_adultery_men_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_men_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_men_shunned } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_men_accepted } - } - - # Push for male adultery as crime - option = { - name = ecumenical_council_events.0055.doctrine_adultery_men_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_men_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_crime - } - doctrine:doctrine_adultery_men_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_men_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_adultery_men_crime_value - } - } - # Push for male adultery shunned - option = { - name = ecumenical_council_events.0055.doctrine_adultery_men_shunned - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_shunned - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_men_shunned } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_shunned - } - doctrine:doctrine_adultery_men_shunned = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_men_shunned } - ai_will_select = { - value = 100 - add = scope:doctrine_adultery_men_shunned_value - } - } - # Push for male adultery accepted - option = { - name = ecumenical_council_events.0055.doctrine_adultery_men_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_men_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_men_accepted - } - doctrine:doctrine_adultery_men_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_men_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_adultery_men_accepted_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0206 = { - type = activity_event - title = ecumenical_council_events.0056.t - desc = { - desc = ecumenical_council_events.0056.desc.intro - desc = ecumenical_council_events.0056.desc.doctrine_adultery_women_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0056.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_adultery_women_crime = { - save_scope_as = doctrine_adultery_women_crime - } - save_scope_value_as = { - name = doctrine_adultery_women_crime_value - value = { - value = 0 - doctrine:doctrine_adultery_women_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_adultery_women_shunned = { - save_scope_as = doctrine_adultery_women_shunned - } - save_scope_value_as = { - name = doctrine_adultery_women_shunned_value - value = { - value = 0 - doctrine:doctrine_adultery_women_shunned = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_adultery_women_accepted = { - save_scope_as = doctrine_adultery_women_accepted - } - save_scope_value_as = { - name = doctrine_adultery_women_accepted_value - value = { - value = 0 - doctrine:doctrine_adultery_women_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_women_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_women_shunned } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_adultery_women_accepted } - } - - # Push for female adultery as crime - option = { - name = ecumenical_council_events.0056.doctrine_adultery_women_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_women_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_crime - } - doctrine:doctrine_adultery_women_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_women_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_adultery_women_crime_value - } - } - # Push for female adultery shunned - option = { - name = ecumenical_council_events.0056.doctrine_adultery_women_shunned - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_shunned - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_women_shunned } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_shunned - } - doctrine:doctrine_adultery_women_shunned = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_women_shunned } - ai_will_select = { - value = 100 - add = scope:doctrine_adultery_women_shunned_value - } - } - # Push for female adultery accepted - option = { - name = ecumenical_council_events.0056.doctrine_adultery_women_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_adultery_women_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_adultery_women_accepted - } - doctrine:doctrine_adultery_women_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_adultery_women_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_adultery_women_accepted_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0207 = { - type = activity_event - title = ecumenical_council_events.0057.t - desc = { - desc = ecumenical_council_events.0057.desc.intro - desc = ecumenical_council_events.0057.desc.doctrine_kinslaying_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0057.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_kinslaying_any_dynasty_member_crime = { - save_scope_as = doctrine_kinslaying_any_dynasty_member_crime - } - save_scope_value_as = { - name = doctrine_kinslaying_any_dynasty_member_crime_value - value = { - value = 0 - doctrine:doctrine_kinslaying_any_dynasty_member_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_kinslaying_extended_family_crime = { - save_scope_as = doctrine_kinslaying_extended_family_crime - } - save_scope_value_as = { - name = doctrine_kinslaying_extended_family_crime_value - value = { - value = 0 - doctrine:doctrine_kinslaying_extended_family_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_kinslaying_close_kin_crime = { - save_scope_as = doctrine_kinslaying_close_kin_crime - } - save_scope_value_as = { - name = doctrine_kinslaying_close_kin_crime_value - value = { - value = 0 - doctrine:doctrine_kinslaying_close_kin_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_kinslaying_shunned = { - save_scope_as = doctrine_kinslaying_shunned - } - save_scope_value_as = { - name = doctrine_kinslaying_shunned_value - value = { - value = 0 - doctrine:doctrine_kinslaying_shunned = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_kinslaying_accepted = { - save_scope_as = doctrine_kinslaying_accepted - } - save_scope_value_as = { - name = doctrine_kinslaying_accepted_value - value = { - value = 0 - doctrine:doctrine_kinslaying_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_any_dynasty_member_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_extended_family_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_close_kin_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_shunned } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_kinslaying_accepted } - } - - # Push for any-dynasty-member kinslaying as crime - option = { - name = ecumenical_council_events.0057.doctrine_kinslaying_any_dynasty_member_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_any_dynasty_member_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_any_dynasty_member_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_any_dynasty_member_crime - } - doctrine:doctrine_kinslaying_any_dynasty_member_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_any_dynasty_member_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_kinslaying_any_dynasty_member_crime_value - } - } - # Push for extended-family kinslaying as crime - option = { - name = ecumenical_council_events.0057.doctrine_kinslaying_extended_family_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_extended_family_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_extended_family_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_extended_family_crime - } - doctrine:doctrine_kinslaying_extended_family_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_extended_family_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_kinslaying_extended_family_crime_value - } - } - # Push for close-kin kinslaying as crime - option = { - name = ecumenical_council_events.0057.doctrine_kinslaying_close_kin_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_close_kin_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_close_kin_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_close_kin_crime - } - doctrine:doctrine_kinslaying_close_kin_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_close_kin_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_kinslaying_close_kin_crime_value - } - } - # Push for kinslaying shunned - option = { - name = ecumenical_council_events.0057.doctrine_kinslaying_shunned - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_shunned - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_shunned } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_shunned - } - doctrine:doctrine_kinslaying_shunned = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_shunned } - ai_will_select = { - value = 100 - add = scope:doctrine_kinslaying_shunned_value - } - } - # Push for kinslaying accepted - option = { - name = ecumenical_council_events.0057.doctrine_kinslaying_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_kinslaying_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_kinslaying_accepted - } - doctrine:doctrine_kinslaying_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_kinslaying_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_kinslaying_accepted_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0208 = { - type = activity_event - title = ecumenical_council_events.0058.t - desc = { - desc = ecumenical_council_events.0058.desc.intro - desc = ecumenical_council_events.0058.desc.doctrine_witchcraft_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0058.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_witchcraft_crime = { - save_scope_as = doctrine_witchcraft_crime - } - save_scope_value_as = { - name = doctrine_witchcraft_crime_value - value = { - value = 0 - doctrine:doctrine_witchcraft_crime = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_witchcraft_shunned = { - save_scope_as = doctrine_witchcraft_shunned - } - save_scope_value_as = { - name = doctrine_witchcraft_shunned_value - value = { - value = 0 - doctrine:doctrine_witchcraft_shunned = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_witchcraft_accepted = { - save_scope_as = doctrine_witchcraft_accepted - } - save_scope_value_as = { - name = doctrine_witchcraft_accepted_value - value = { - value = 0 - doctrine:doctrine_witchcraft_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_witchcraft_virtuous = { - save_scope_as = doctrine_witchcraft_virtuous - } - save_scope_value_as = { - name = doctrine_witchcraft_virtuous_value - value = { - value = 0 - doctrine:doctrine_witchcraft_virtuous = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_crime } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_shunned } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_accepted } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_witchcraft_virtuous } - } - - # Push for witchcraft as crime - option = { - name = ecumenical_council_events.0058.doctrine_witchcraft_crime - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_crime - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_crime } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_crime - } - doctrine:doctrine_witchcraft_crime = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_crime } - ai_will_select = { - value = 100 - add = scope:doctrine_witchcraft_crime_value - } - } - # Push for witchcraft shunned - option = { - name = ecumenical_council_events.0058.doctrine_witchcraft_shunned - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_shunned - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_shunned } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_shunned - } - doctrine:doctrine_witchcraft_shunned = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_shunned } - ai_will_select = { - value = 100 - add = scope:doctrine_witchcraft_shunned_value - } - } - # Push for witchcraft accepted - option = { - name = ecumenical_council_events.0058.doctrine_witchcraft_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_accepted - } - doctrine:doctrine_witchcraft_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_witchcraft_accepted_value - } - } - # Push for witchcraft as virtuous - option = { - name = ecumenical_council_events.0058.doctrine_witchcraft_virtuous - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_virtuous - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_witchcraft_virtuous } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_witchcraft_virtuous - } - doctrine:doctrine_witchcraft_virtuous = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_witchcraft_virtuous } - ai_will_select = { - value = 100 - add = scope:doctrine_witchcraft_virtuous_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0209 = { - type = activity_event - title = ecumenical_council_events.0059.t - desc = { - desc = ecumenical_council_events.0059.desc.intro - desc = ecumenical_council_events.0059.desc.doctrine_gender_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0059.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_gender_male_dominated = { - save_scope_as = doctrine_gender_male_dominated - } - save_scope_value_as = { - name = doctrine_gender_male_dominated_value - value = { - value = 0 - doctrine:doctrine_gender_male_dominated = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_gender_equal = { - save_scope_as = doctrine_gender_equal - } - save_scope_value_as = { - name = doctrine_gender_equal_value - value = { - value = 0 - doctrine:doctrine_gender_equal = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_gender_female_dominated = { - save_scope_as = doctrine_gender_female_dominated - } - save_scope_value_as = { - name = doctrine_gender_female_dominated_value - value = { - value = 0 - doctrine:doctrine_gender_female_dominated = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_gender_male_dominated } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_gender_equal } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_gender_female_dominated } - } - - # Push for male-dominated gender norms - option = { - name = ecumenical_council_events.0059.doctrine_gender_male_dominated - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_gender_male_dominated - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_gender_male_dominated } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_gender_male_dominated - } - doctrine:doctrine_gender_male_dominated = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_gender_male_dominated } - ai_will_select = { - value = 100 - add = scope:doctrine_gender_male_dominated_value - } - } - # Push for equal gender norms - option = { - name = ecumenical_council_events.0059.doctrine_gender_equal - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_gender_equal - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_gender_equal } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_gender_equal - } - doctrine:doctrine_gender_equal = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_gender_equal } - ai_will_select = { - value = 100 - add = scope:doctrine_gender_equal_value - } - } - # Push for female-dominated gender norms - option = { - name = ecumenical_council_events.0059.doctrine_gender_female_dominated - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_gender_female_dominated - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_gender_female_dominated } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_gender_female_dominated - } - doctrine:doctrine_gender_female_dominated = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_gender_female_dominated } - ai_will_select = { - value = 100 - add = scope:doctrine_gender_female_dominated_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0210 = { - type = activity_event - title = ecumenical_council_events.0060.t - desc = { - desc = ecumenical_council_events.0060.desc.intro - desc = ecumenical_council_events.0060.desc.doctrine_consanguinity_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0060.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_consanguinity_dynastic = { - save_scope_as = doctrine_consanguinity_dynastic - } - save_scope_value_as = { - name = doctrine_consanguinity_dynastic_value - value = { - value = 0 - doctrine:doctrine_consanguinity_dynastic = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_consanguinity_restricted = { - save_scope_as = doctrine_consanguinity_restricted - } - save_scope_value_as = { - name = doctrine_consanguinity_restricted_value - value = { - value = 0 - doctrine:doctrine_consanguinity_restricted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_consanguinity_cousins = { - save_scope_as = doctrine_consanguinity_cousins - } - save_scope_value_as = { - name = doctrine_consanguinity_cousins_value - value = { - value = 0 - doctrine:doctrine_consanguinity_cousins = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece = { - save_scope_as = doctrine_consanguinity_aunt_nephew_and_uncle_niece - } - save_scope_value_as = { - name = doctrine_consanguinity_aunt_nephew_and_uncle_niece_value - value = { - value = 0 - doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_consanguinity_unrestricted = { - save_scope_as = doctrine_consanguinity_unrestricted - } - save_scope_value_as = { - name = doctrine_consanguinity_unrestricted_value - value = { - value = 0 - doctrine:doctrine_consanguinity_unrestricted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_dynastic } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_restricted } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_cousins } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_consanguinity_unrestricted } - } - - # Push for lineal prohibition (same-dynasty and close/extended-family marriage forbidden) - option = { - name = ecumenical_council_events.0060.doctrine_consanguinity_dynastic - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_dynastic - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_dynastic } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_dynastic - } - doctrine:doctrine_consanguinity_dynastic = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_dynastic } - ai_will_select = { - value = 100 - add = scope:doctrine_consanguinity_dynastic_value - } - } - # Push for restricted consanguinity - option = { - name = ecumenical_council_events.0060.doctrine_consanguinity_restricted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_restricted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_restricted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_restricted - } - doctrine:doctrine_consanguinity_restricted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_restricted } - ai_will_select = { - value = 100 - add = scope:doctrine_consanguinity_restricted_value - } - } - # Push for cousins-allowed consanguinity - option = { - name = ecumenical_council_events.0060.doctrine_consanguinity_cousins - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_cousins - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_cousins } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_cousins - } - doctrine:doctrine_consanguinity_cousins = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_cousins } - ai_will_select = { - value = 100 - add = scope:doctrine_consanguinity_cousins_value - } - } - # Push for aunt/nephew & uncle/niece consanguinity - option = { - name = ecumenical_council_events.0060.doctrine_consanguinity_aunt_nephew_and_uncle_niece - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece - } - doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_aunt_nephew_and_uncle_niece } - ai_will_select = { - value = 100 - add = scope:doctrine_consanguinity_aunt_nephew_and_uncle_niece_value - } - } - # Push for unrestricted consanguinity - option = { - name = ecumenical_council_events.0060.doctrine_consanguinity_unrestricted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_unrestricted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_consanguinity_unrestricted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_consanguinity_unrestricted - } - doctrine:doctrine_consanguinity_unrestricted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_consanguinity_unrestricted } - ai_will_select = { - value = 100 - add = scope:doctrine_consanguinity_unrestricted_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0211 = { - type = activity_event - title = ecumenical_council_events.0061.t - desc = { - desc = ecumenical_council_events.0061.desc.intro - desc = ecumenical_council_events.0061.desc.doctrine_pluralism_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0061.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_pluralism_fundamentalist = { - save_scope_as = doctrine_pluralism_fundamentalist - } - save_scope_value_as = { - name = doctrine_pluralism_fundamentalist_value - value = { - value = 0 - doctrine:doctrine_pluralism_fundamentalist = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_pluralism_righteous = { - save_scope_as = doctrine_pluralism_righteous - } - save_scope_value_as = { - name = doctrine_pluralism_righteous_value - value = { - value = 0 - doctrine:doctrine_pluralism_righteous = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_pluralism_pluralistic = { - save_scope_as = doctrine_pluralism_pluralistic - } - save_scope_value_as = { - name = doctrine_pluralism_pluralistic_value - value = { - value = 0 - doctrine:doctrine_pluralism_pluralistic = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pluralism_fundamentalist } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pluralism_righteous } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pluralism_pluralistic } - } - - # Push for fundamentalist pluralism - option = { - name = ecumenical_council_events.0061.doctrine_pluralism_fundamentalist - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_fundamentalist - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pluralism_fundamentalist } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_fundamentalist - } - doctrine:doctrine_pluralism_fundamentalist = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pluralism_fundamentalist } - ai_will_select = { - value = 100 - add = scope:doctrine_pluralism_fundamentalist_value - } - } - # Push for righteous pluralism - option = { - name = ecumenical_council_events.0061.doctrine_pluralism_righteous - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_righteous - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pluralism_righteous } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_righteous - } - doctrine:doctrine_pluralism_righteous = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pluralism_righteous } - ai_will_select = { - value = 100 - add = scope:doctrine_pluralism_righteous_value - } - } - # Push for full pluralism - option = { - name = ecumenical_council_events.0061.doctrine_pluralism_pluralistic - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_pluralistic - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pluralism_pluralistic } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pluralism_pluralistic - } - doctrine:doctrine_pluralism_pluralistic = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pluralism_pluralistic } - ai_will_select = { - value = 100 - add = scope:doctrine_pluralism_pluralistic_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0212 = { - type = activity_event - title = ecumenical_council_events.0062.t - desc = { - desc = ecumenical_council_events.0062.desc.intro - desc = ecumenical_council_events.0062.desc.doctrine_theocracy_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0062.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_theocracy_temporal = { - save_scope_as = doctrine_theocracy_temporal - } - save_scope_value_as = { - name = doctrine_theocracy_temporal_value - value = { - value = 0 - doctrine:doctrine_theocracy_temporal = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_theocracy_lay_clergy = { - save_scope_as = doctrine_theocracy_lay_clergy - } - save_scope_value_as = { - name = doctrine_theocracy_lay_clergy_value - value = { - value = 0 - doctrine:doctrine_theocracy_lay_clergy = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_theocracy_temporal } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_theocracy_lay_clergy } - } - - # Push for temporal theocracy - option = { - name = ecumenical_council_events.0062.doctrine_theocracy_temporal - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_temporal - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_theocracy_temporal } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_temporal - } - doctrine:doctrine_theocracy_temporal = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_theocracy_temporal } - ai_will_select = { - value = 100 - add = scope:doctrine_theocracy_temporal_value - } - } - # Push for lay clergy - option = { - name = ecumenical_council_events.0062.doctrine_theocracy_lay_clergy - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_lay_clergy - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_theocracy_lay_clergy } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_theocracy_lay_clergy - } - doctrine:doctrine_theocracy_lay_clergy = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_theocracy_lay_clergy } - ai_will_select = { - value = 100 - add = scope:doctrine_theocracy_lay_clergy_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0213 = { - type = activity_event - title = ecumenical_council_events.0063.t - desc = { - desc = ecumenical_council_events.0063.desc.intro - desc = ecumenical_council_events.0063.desc.doctrine_head_of_faith_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0063.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_no_head = { - save_scope_as = doctrine_no_head - } - save_scope_value_as = { - name = doctrine_no_head_value - value = { - value = 0 - doctrine:doctrine_no_head = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_spiritual_head = { - save_scope_as = doctrine_spiritual_head - } - save_scope_value_as = { - name = doctrine_spiritual_head_value - value = { - value = 0 - doctrine:doctrine_spiritual_head = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_temporal_head = { - save_scope_as = doctrine_temporal_head - } - save_scope_value_as = { - name = doctrine_temporal_head_value - value = { - value = 0 - doctrine:doctrine_temporal_head = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_no_head } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_spiritual_head } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_temporal_head } - } - - # Push for no head of faith - option = { - name = ecumenical_council_events.0063.doctrine_no_head - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_no_head - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_no_head } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_no_head - } - doctrine:doctrine_no_head = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_no_head } - ai_will_select = { - value = 100 - add = scope:doctrine_no_head_value - } - } - # Push for spiritual head of faith - option = { - name = ecumenical_council_events.0063.doctrine_spiritual_head - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_spiritual_head - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_spiritual_head } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_spiritual_head - } - doctrine:doctrine_spiritual_head = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_spiritual_head } - ai_will_select = { - value = 100 - add = scope:doctrine_spiritual_head_value - } - } - # Push for temporal head of faith - option = { - name = ecumenical_council_events.0063.doctrine_temporal_head - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_temporal_head - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_temporal_head } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_temporal_head - } - doctrine:doctrine_temporal_head = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_temporal_head } - ai_will_select = { - value = 100 - add = scope:doctrine_temporal_head_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0214 = { - type = activity_event - title = ecumenical_council_events.0064.t - desc = { - desc = ecumenical_council_events.0064.desc.intro - desc = ecumenical_council_events.0064.desc.doctrine_clerical_function_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0064.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_clerical_function_taxation = { - save_scope_as = doctrine_clerical_function_taxation - } - save_scope_value_as = { - name = doctrine_clerical_function_taxation_value - value = { - value = 0 - doctrine:doctrine_clerical_function_taxation = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_function_alms_and_pacification = { - save_scope_as = doctrine_clerical_function_alms_and_pacification - } - save_scope_value_as = { - name = doctrine_clerical_function_alms_and_pacification_value - value = { - value = 0 - doctrine:doctrine_clerical_function_alms_and_pacification = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_function_recruitment = { - save_scope_as = doctrine_clerical_function_recruitment - } - save_scope_value_as = { - name = doctrine_clerical_function_recruitment_value - value = { - value = 0 - doctrine:doctrine_clerical_function_recruitment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_function_taxation } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_function_alms_and_pacification } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_function_recruitment } - } - - # Push for clerical taxation - option = { - name = ecumenical_council_events.0064.doctrine_clerical_function_taxation - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_taxation - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_function_taxation } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_taxation - } - doctrine:doctrine_clerical_function_taxation = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_function_taxation } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_function_taxation_value - } - } - # Push for clerical alms and pacification - option = { - name = ecumenical_council_events.0064.doctrine_clerical_function_alms_and_pacification - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_alms_and_pacification - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_function_alms_and_pacification } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_alms_and_pacification - } - doctrine:doctrine_clerical_function_alms_and_pacification = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_function_alms_and_pacification } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_function_alms_and_pacification_value - } - } - # Push for clerical recruitment - option = { - name = ecumenical_council_events.0064.doctrine_clerical_function_recruitment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_recruitment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_function_recruitment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_function_recruitment - } - doctrine:doctrine_clerical_function_recruitment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_function_recruitment } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_function_recruitment_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0215 = { - type = activity_event - title = ecumenical_council_events.0065.t - desc = { - desc = ecumenical_council_events.0065.desc.intro - desc = ecumenical_council_events.0065.desc.doctrine_clerical_gender_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0065.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_clerical_gender_male_only = { - save_scope_as = doctrine_clerical_gender_male_only - } - save_scope_value_as = { - name = doctrine_clerical_gender_male_only_value - value = { - value = 0 - doctrine:doctrine_clerical_gender_male_only = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_gender_female_only = { - save_scope_as = doctrine_clerical_gender_female_only - } - save_scope_value_as = { - name = doctrine_clerical_gender_female_only_value - value = { - value = 0 - doctrine:doctrine_clerical_gender_female_only = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_gender_either = { - save_scope_as = doctrine_clerical_gender_either - } - save_scope_value_as = { - name = doctrine_clerical_gender_either_value - value = { - value = 0 - doctrine:doctrine_clerical_gender_either = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_gender_male_only } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_gender_female_only } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_gender_either } - } - - # Push for male-only clergy - option = { - name = ecumenical_council_events.0065.doctrine_clerical_gender_male_only - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_male_only - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_gender_male_only } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_male_only - } - doctrine:doctrine_clerical_gender_male_only = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_gender_male_only } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_gender_male_only_value - } - } - # Push for female-only clergy - option = { - name = ecumenical_council_events.0065.doctrine_clerical_gender_female_only - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_female_only - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_gender_female_only } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_female_only - } - doctrine:doctrine_clerical_gender_female_only = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_gender_female_only } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_gender_female_only_value - } - } - # Push for either-gender clergy - option = { - name = ecumenical_council_events.0065.doctrine_clerical_gender_either - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_either - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_gender_either } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_gender_either - } - doctrine:doctrine_clerical_gender_either = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_gender_either } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_gender_either_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0216 = { - type = activity_event - title = ecumenical_council_events.0066.t - desc = { - desc = ecumenical_council_events.0066.desc.intro - desc = ecumenical_council_events.0066.desc.doctrine_clerical_marriage_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0066.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_clerical_marriage_allowed = { - save_scope_as = doctrine_clerical_marriage_allowed - } - save_scope_value_as = { - name = doctrine_clerical_marriage_allowed_value - value = { - value = 0 - doctrine:doctrine_clerical_marriage_allowed = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_marriage_disallowed = { - save_scope_as = doctrine_clerical_marriage_disallowed - } - save_scope_value_as = { - name = doctrine_clerical_marriage_disallowed_value - value = { - value = 0 - doctrine:doctrine_clerical_marriage_disallowed = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_marriage_allowed } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_marriage_disallowed } - } - - # Push for clerical marriage allowed - option = { - name = ecumenical_council_events.0066.doctrine_clerical_marriage_allowed - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_allowed - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_marriage_allowed } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_allowed - } - doctrine:doctrine_clerical_marriage_allowed = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_marriage_allowed } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_marriage_allowed_value - } - } - # Push for clerical marriage disallowed - option = { - name = ecumenical_council_events.0066.doctrine_clerical_marriage_disallowed - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_disallowed - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_marriage_disallowed } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_marriage_disallowed - } - doctrine:doctrine_clerical_marriage_disallowed = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_marriage_disallowed } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_marriage_disallowed_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0217 = { - type = activity_event - title = ecumenical_council_events.0067.t - desc = { - desc = ecumenical_council_events.0067.desc.intro - desc = ecumenical_council_events.0067.desc.doctrine_clerical_succession_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0067.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_clerical_succession_temporal_appointment = { - save_scope_as = doctrine_clerical_succession_temporal_appointment - } - save_scope_value_as = { - name = doctrine_clerical_succession_temporal_appointment_value - value = { - value = 0 - doctrine:doctrine_clerical_succession_temporal_appointment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_succession_spiritual_appointment = { - save_scope_as = doctrine_clerical_succession_spiritual_appointment - } - save_scope_value_as = { - name = doctrine_clerical_succession_spiritual_appointment_value - value = { - value = 0 - doctrine:doctrine_clerical_succession_spiritual_appointment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_succession_temporal_fixed_appointment = { - save_scope_as = doctrine_clerical_succession_temporal_fixed_appointment - } - save_scope_value_as = { - name = doctrine_clerical_succession_temporal_fixed_appointment_value - value = { - value = 0 - doctrine:doctrine_clerical_succession_temporal_fixed_appointment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { - save_scope_as = doctrine_clerical_succession_spiritual_fixed_appointment - } - save_scope_value_as = { - name = doctrine_clerical_succession_spiritual_fixed_appointment_value - value = { - value = 0 - doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_temporal_appointment } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_spiritual_appointment } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_temporal_fixed_appointment } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_clerical_succession_spiritual_fixed_appointment } - } - - # Push for temporal-appointment clerical succession - option = { - name = ecumenical_council_events.0067.doctrine_clerical_succession_temporal_appointment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_appointment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_temporal_appointment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_appointment - } - doctrine:doctrine_clerical_succession_temporal_appointment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_temporal_appointment } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_succession_temporal_appointment_value - } - } - # Push for spiritual-appointment clerical succession - option = { - name = ecumenical_council_events.0067.doctrine_clerical_succession_spiritual_appointment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_appointment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_spiritual_appointment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_appointment - } - doctrine:doctrine_clerical_succession_spiritual_appointment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_spiritual_appointment } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_succession_spiritual_appointment_value - } - } - # Push for temporal-fixed clerical succession - option = { - name = ecumenical_council_events.0067.doctrine_clerical_succession_temporal_fixed_appointment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_fixed_appointment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_temporal_fixed_appointment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_temporal_fixed_appointment - } - doctrine:doctrine_clerical_succession_temporal_fixed_appointment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_temporal_fixed_appointment } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_succession_temporal_fixed_appointment_value - } - } - # Push for spiritual-fixed clerical succession - option = { - name = ecumenical_council_events.0067.doctrine_clerical_succession_spiritual_fixed_appointment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_fixed_appointment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_clerical_succession_spiritual_fixed_appointment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_clerical_succession_spiritual_fixed_appointment - } - doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_spiritual_fixed_appointment } - ai_will_select = { - value = 100 - add = scope:doctrine_clerical_succession_spiritual_fixed_appointment_value - } - } - # We adopt conditional appointment so the Investiture cycle can start again - option = { - name = ecumenical_council_events.0067.doctrine_clerical_succession_conditional - trigger = { - has_pam_dlc_trigger = yes - scope:host.faith = { - NOT = { has_doctrine = doctrine_clerical_succession_conditional } - has_doctrine_parameter = has_clerical_regions - } - NOT = { - situation:the_christian_church ?= { - has_situation_top_phase_parameter = the_christian_church_investiture_controversy - } - } - } - doctrine:doctrine_clerical_succession_conditional = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_clerical_succession_conditional } - ai_will_select = { - value = 25 # Tunable: AI willingness to restart the Investiture cycle by adopting Conditional. - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0218 = { - type = activity_event - title = ecumenical_council_events.0068.t - desc = { - desc = ecumenical_council_events.0068.desc.intro - desc = ecumenical_council_events.0068.desc.doctrine_pilgrimage_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0068.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_pilgrimage_forbidden = { - save_scope_as = doctrine_pilgrimage_forbidden - } - save_scope_value_as = { - name = doctrine_pilgrimage_forbidden_value - value = { - value = 0 - doctrine:doctrine_pilgrimage_forbidden = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_pilgrimage_encouraged = { - save_scope_as = doctrine_pilgrimage_encouraged - } - save_scope_value_as = { - name = doctrine_pilgrimage_encouraged_value - value = { - value = 0 - doctrine:doctrine_pilgrimage_encouraged = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_pilgrimage_local_rites = { - save_scope_as = doctrine_pilgrimage_local_rites - } - save_scope_value_as = { - name = doctrine_pilgrimage_local_rites_value - value = { - value = 0 - doctrine:doctrine_pilgrimage_local_rites = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_pilgrimage_mandatory = { - save_scope_as = doctrine_pilgrimage_mandatory - } - save_scope_value_as = { - name = doctrine_pilgrimage_mandatory_value - value = { - value = 0 - doctrine:doctrine_pilgrimage_mandatory = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_pilgrimage_mandatory_hajj = { - save_scope_as = doctrine_pilgrimage_mandatory_hajj - } - save_scope_value_as = { - name = doctrine_pilgrimage_mandatory_hajj_value - value = { - value = 0 - doctrine:doctrine_pilgrimage_mandatory_hajj = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_forbidden } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_encouraged } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_local_rites } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_mandatory } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_pilgrimage_mandatory_hajj } - } - - # Push for pilgrimage forbidden - option = { - name = ecumenical_council_events.0068.doctrine_pilgrimage_forbidden - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_forbidden - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_forbidden } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_forbidden - } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_forbidden - } - ai_will_select = { - value = 10 - add = scope:doctrine_pilgrimage_forbidden_value - } - } - # Push for pilgrimage encouraged - option = { - name = ecumenical_council_events.0068.doctrine_pilgrimage_encouraged - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_encouraged - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_encouraged } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_encouraged - } - doctrine:doctrine_pilgrimage_encouraged = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_encouraged } - ai_will_select = { - value = 10 - add = scope:doctrine_pilgrimage_encouraged_value - } - } - # Push for pilgrimage as local rites - option = { - name = ecumenical_council_events.0068.doctrine_pilgrimage_local_rites - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_local_rites - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_local_rites } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_local_rites - } - doctrine:doctrine_pilgrimage_local_rites = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_local_rites } - ai_will_select = { - value = 100 - add = scope:doctrine_pilgrimage_local_rites_value - } - } - # Push for pilgrimage mandatory - option = { - name = ecumenical_council_events.0068.doctrine_pilgrimage_mandatory - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_mandatory } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory - } - doctrine:doctrine_pilgrimage_mandatory = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_mandatory } - ai_will_select = { - value = 10 - add = scope:doctrine_pilgrimage_mandatory_value - } - } - # Push for pilgrimage as mandatory hajj - option = { - name = ecumenical_council_events.0068.doctrine_pilgrimage_mandatory_hajj - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory_hajj - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_pilgrimage_mandatory_hajj } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_pilgrimage_mandatory_hajj - } - doctrine:doctrine_pilgrimage_mandatory_hajj = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_pilgrimage_mandatory_hajj } - ai_will_select = { - value = 10 - add = scope:doctrine_pilgrimage_mandatory_hajj_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0219 = { - type = activity_event - title = ecumenical_council_events.0069.t - desc = { - desc = ecumenical_council_events.0069.desc.intro - desc = ecumenical_council_events.0069.desc.doctrine_funeral_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0069.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_funeral_stoic = { - save_scope_as = doctrine_funeral_stoic - } - save_scope_value_as = { - name = doctrine_funeral_stoic_value - value = { - value = 0 - doctrine:doctrine_funeral_stoic = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_funeral_bewailment = { - save_scope_as = doctrine_funeral_bewailment - } - save_scope_value_as = { - name = doctrine_funeral_bewailment_value - value = { - value = 0 - doctrine:doctrine_funeral_bewailment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_funeral_cremation = { - save_scope_as = doctrine_funeral_cremation - } - save_scope_value_as = { - name = doctrine_funeral_cremation_value - value = { - value = 0 - doctrine:doctrine_funeral_cremation = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_funeral_sky_burial = { - save_scope_as = doctrine_funeral_sky_burial - } - save_scope_value_as = { - name = doctrine_funeral_sky_burial_value - value = { - value = 0 - doctrine:doctrine_funeral_sky_burial = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_funeral_mummification = { - save_scope_as = doctrine_funeral_mummification - } - save_scope_value_as = { - name = doctrine_funeral_mummification_value - value = { - value = 0 - doctrine:doctrine_funeral_mummification = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_family_rites = { - save_scope_as = doctrine_family_rites - } - save_scope_value_as = { - name = doctrine_family_rites_value - value = { - value = 0 - doctrine:doctrine_family_rites = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_stoic } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_bewailment } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_cremation } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_sky_burial } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_funeral_mummification } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_family_rites } - } - - # Push for stoic funeral rites - option = { - name = ecumenical_council_events.0069.doctrine_funeral_stoic - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_stoic - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_stoic } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_stoic - } - doctrine:doctrine_funeral_stoic = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_stoic } - ai_will_select = { - value = 100 - add = scope:doctrine_funeral_stoic_value - } - } - # Push for bewailment funeral rites - option = { - name = ecumenical_council_events.0069.doctrine_funeral_bewailment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_bewailment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_bewailment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_bewailment - } - doctrine:doctrine_funeral_bewailment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_bewailment } - ai_will_select = { - value = 100 - add = scope:doctrine_funeral_bewailment_value - } - } - # Push for cremation funeral rites - option = { - name = ecumenical_council_events.0069.doctrine_funeral_cremation - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_cremation - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_cremation } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_cremation - } - doctrine:doctrine_funeral_cremation = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_cremation } - ai_will_select = { - value = 100 - add = scope:doctrine_funeral_cremation_value - } - } - # Push for sky burial funeral rites - option = { - name = ecumenical_council_events.0069.doctrine_funeral_sky_burial - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_sky_burial - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_sky_burial } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_sky_burial - } - doctrine:doctrine_funeral_sky_burial = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_sky_burial } - ai_will_select = { - value = 100 - add = scope:doctrine_funeral_sky_burial_value - } - } - # Push for mummification funeral rites - option = { - name = ecumenical_council_events.0069.doctrine_funeral_mummification - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_mummification - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_funeral_mummification } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_funeral_mummification - } - doctrine:doctrine_funeral_mummification = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_funeral_mummification } - ai_will_select = { - value = 100 - add = scope:doctrine_funeral_mummification_value - } - } - # Push for family rites - option = { - name = ecumenical_council_events.0069.doctrine_family_rites - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_family_rites - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_family_rites } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_family_rites - } - doctrine:doctrine_family_rites = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_family_rites } - ai_will_select = { - value = 100 - add = scope:doctrine_family_rites_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0220 = { - type = activity_event - title = ecumenical_council_events.0070.t - desc = { - desc = ecumenical_council_events.0070.desc.intro - desc = ecumenical_council_events.0070.desc.doctrine_coronation_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0070.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_no_anointment = { - save_scope_as = doctrine_no_anointment - } - save_scope_value_as = { - name = doctrine_no_anointment_value - value = { - value = 0 - doctrine:doctrine_no_anointment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_anointment_permitted = { - save_scope_as = doctrine_anointment_permitted - } - save_scope_value_as = { - name = doctrine_anointment_permitted_value - value = { - value = 0 - doctrine:doctrine_anointment_permitted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_imperial_anointment = { - save_scope_as = doctrine_imperial_anointment - } - save_scope_value_as = { - name = doctrine_imperial_anointment_value - value = { - value = 0 - doctrine:doctrine_imperial_anointment = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_no_anointment } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_anointment_permitted } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_imperial_anointment } - } - - # Push for no anointment - option = { - name = ecumenical_council_events.0070.doctrine_no_anointment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_no_anointment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_no_anointment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_no_anointment - } - doctrine:doctrine_no_anointment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_no_anointment } - ai_will_select = { - value = 100 - add = scope:doctrine_no_anointment_value - } - } - # Push for anointment permitted - option = { - name = ecumenical_council_events.0070.doctrine_anointment_permitted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_anointment_permitted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_anointment_permitted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_anointment_permitted - } - doctrine:doctrine_anointment_permitted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_anointment_permitted } - ai_will_select = { - value = 100 - add = scope:doctrine_anointment_permitted_value - } - } - # Push for imperial anointment - option = { - name = ecumenical_council_events.0070.doctrine_imperial_anointment - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_imperial_anointment - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_imperial_anointment } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_imperial_anointment - } - doctrine:doctrine_imperial_anointment = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_imperial_anointment } - ai_will_select = { - value = 100 - add = scope:doctrine_imperial_anointment_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0221 = { - type = activity_event - title = ecumenical_council_events.0071.t - desc = { - desc = ecumenical_council_events.0071.desc.intro - desc = ecumenical_council_events.0071.desc.doctrine_theism_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0071.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_monotheist = { - save_scope_as = doctrine_monotheist - } - save_scope_value_as = { - name = doctrine_monotheist_value - value = { - value = 0 - doctrine:doctrine_monotheist = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_polytheist = { - save_scope_as = doctrine_polytheist - } - save_scope_value_as = { - name = doctrine_polytheist_value - value = { - value = 0 - doctrine:doctrine_polytheist = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monotheist } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_polytheist } - } - - # Push for monotheism - option = { - name = ecumenical_council_events.0071.doctrine_monotheist - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_monotheist - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monotheist } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_monotheist - } - doctrine:doctrine_monotheist = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monotheist } - ai_will_select = { - value = 100 - add = scope:doctrine_monotheist_value - } - } - # Push for polytheism - option = { - name = ecumenical_council_events.0071.doctrine_polytheist - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_polytheist - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_polytheist } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_polytheist - } - doctrine:doctrine_polytheist = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_polytheist } - ai_will_select = { - value = 100 - add = scope:doctrine_polytheist_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0222 = { - type = activity_event - title = ecumenical_council_events.0072.t - desc = { - desc = ecumenical_council_events.0072.desc.intro - desc = ecumenical_council_events.0072.desc.doctrine_monasticism_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0072.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_monasticism_encouraged = { - save_scope_as = doctrine_monasticism_encouraged - } - save_scope_value_as = { - name = doctrine_monasticism_encouraged_value - value = { - value = 0 - doctrine:doctrine_monasticism_encouraged = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_monasticism_accepted = { - save_scope_as = doctrine_monasticism_accepted - } - save_scope_value_as = { - name = doctrine_monasticism_accepted_value - value = { - value = 0 - doctrine:doctrine_monasticism_accepted = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_monasticism_absent = { - save_scope_as = doctrine_monasticism_absent - } - save_scope_value_as = { - name = doctrine_monasticism_absent_value - value = { - value = 0 - doctrine:doctrine_monasticism_absent = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_monasticism_forbidden = { - save_scope_as = doctrine_monasticism_forbidden - } - save_scope_value_as = { - name = doctrine_monasticism_forbidden_value - value = { - value = 0 - doctrine:doctrine_monasticism_forbidden = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_encouraged } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_accepted } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_absent } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_monasticism_forbidden } - } - - # Push for monasticism encouraged - option = { - name = ecumenical_council_events.0072.doctrine_monasticism_encouraged - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_encouraged - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_encouraged } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_encouraged - } - doctrine:doctrine_monasticism_encouraged = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_encouraged } - ai_will_select = { - value = 100 - add = scope:doctrine_monasticism_encouraged_value - } - } - # Push for monasticism accepted - option = { - name = ecumenical_council_events.0072.doctrine_monasticism_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_accepted } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_accepted - } - doctrine:doctrine_monasticism_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_accepted } - ai_will_select = { - value = 100 - add = scope:doctrine_monasticism_accepted_value - } - } - # Push for monasticism absent - option = { - name = ecumenical_council_events.0072.doctrine_monasticism_absent - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_absent - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_absent } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_absent - } - doctrine:doctrine_monasticism_absent = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_absent } - ai_will_select = { - value = 100 - add = scope:doctrine_monasticism_absent_value - } - } - # Push for monasticism forbidden - option = { - name = ecumenical_council_events.0072.doctrine_monasticism_forbidden - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_forbidden - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_monasticism_forbidden } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_monasticism_forbidden - } - doctrine:doctrine_monasticism_forbidden = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_monasticism_forbidden } - ai_will_select = { - value = 100 - add = scope:doctrine_monasticism_forbidden_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0223 = { - type = activity_event - title = ecumenical_council_events.0073.t - desc = { - desc = ecumenical_council_events.0073.desc.intro - desc = ecumenical_council_events.0073.desc.doctrine_sacraments_description - triggered_desc = { - trigger = { - exists = scope:ec_chaplain_pick - } - desc = ecumenical_council_events.0073.desc.chaplain_suggestion - } - } - left_portrait = { - character = root - animation = worry - } - center_portrait = { - character = scope:lead_portrait - animation = preaching_no_book - } - right_portrait = { - character = scope:court_chaplain - animation = thinking - } - theme = ecumenical_council - - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_sacraments_central = { - save_scope_as = doctrine_sacraments_central - } - save_scope_value_as = { - name = doctrine_sacraments_central_value - value = { - value = 0 - doctrine:doctrine_sacraments_central = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - doctrine:doctrine_sacraments_absent = { - save_scope_as = doctrine_sacraments_absent - } - save_scope_value_as = { - name = doctrine_sacraments_absent_value - value = { - value = 0 - doctrine:doctrine_sacraments_absent = { - save_temporary_scope_as = doctrine - } - add = ecumenical_council_doctrine_host_pick_value - } - } - - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_sacraments_central } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_sacraments_absent } - } - - # Push for central sacraments - option = { - name = ecumenical_council_events.0073.doctrine_sacraments_central - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_central - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_sacraments_central } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_central - } - doctrine:doctrine_sacraments_central = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_sacraments_central } - ai_will_select = { - value = 100 - add = scope:doctrine_sacraments_central_value - } - } - # Push for absent sacraments - option = { - name = ecumenical_council_events.0073.doctrine_sacraments_absent - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_absent - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_sacraments_absent } - } - show_as_unavailable = { - scope:ec_debate_topic_3 != doctrine:doctrine_sacraments_absent - } - doctrine:doctrine_sacraments_absent = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_sacraments_absent } - ai_will_select = { - value = 100 - add = scope:doctrine_sacraments_absent_value - } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - # Sort into groups and trigger the notification event for other players - pam_sort_guests_into_ecumenical_council_groups_effect = { - NEXT_EVENT = 0031 # ecumenical_council_events.0031 - } - } -} - -ecumenical_council_events_josh.0224 = { - type = activity_event - title = ecumenical_council_events_josh.0224.t - desc = ecumenical_council_events_josh.0224.desc - theme = ecumenical_council - left_portrait = { character = root animation = worry } - center_portrait = { character = scope:lead_portrait animation = preaching_no_book } - right_portrait = { character = scope:court_chaplain animation = thinking } - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_liturgical_language_none = { save_scope_as = doctrine_liturgical_language_none } - save_scope_value_as = { - name = doctrine_liturgical_language_none_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_none = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_none } - doctrine:doctrine_liturgical_language_latin = { save_scope_as = doctrine_liturgical_language_latin } - save_scope_value_as = { - name = doctrine_liturgical_language_latin_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_latin = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_latin } - doctrine:doctrine_liturgical_language_koine = { save_scope_as = doctrine_liturgical_language_koine } - save_scope_value_as = { - name = doctrine_liturgical_language_koine_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_koine = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_koine } - doctrine:doctrine_liturgical_language_church_slavonic = { save_scope_as = doctrine_liturgical_language_church_slavonic } - save_scope_value_as = { - name = doctrine_liturgical_language_church_slavonic_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_church_slavonic = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_church_slavonic } - doctrine:doctrine_liturgical_language_irish = { save_scope_as = doctrine_liturgical_language_irish } - save_scope_value_as = { - name = doctrine_liturgical_language_irish_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_irish = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_irish } - doctrine:doctrine_liturgical_language_armenian = { save_scope_as = doctrine_liturgical_language_armenian } - save_scope_value_as = { - name = doctrine_liturgical_language_armenian_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_armenian = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_armenian } - doctrine:doctrine_liturgical_language_syriac = { save_scope_as = doctrine_liturgical_language_syriac } - save_scope_value_as = { - name = doctrine_liturgical_language_syriac_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_syriac = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_syriac } - doctrine:doctrine_liturgical_language_coptic = { save_scope_as = doctrine_liturgical_language_coptic } - save_scope_value_as = { - name = doctrine_liturgical_language_coptic_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_coptic = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_coptic } - doctrine:doctrine_liturgical_language_classical_georgian = { save_scope_as = doctrine_liturgical_language_classical_georgian } - save_scope_value_as = { - name = doctrine_liturgical_language_classical_georgian_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_classical_georgian = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_classical_georgian } - doctrine:doctrine_liturgical_language_church_romanian = { save_scope_as = doctrine_liturgical_language_church_romanian } - save_scope_value_as = { - name = doctrine_liturgical_language_church_romanian_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_church_romanian = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_church_romanian } - doctrine:doctrine_liturgical_language_arabic = { save_scope_as = doctrine_liturgical_language_arabic } - save_scope_value_as = { - name = doctrine_liturgical_language_arabic_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_arabic = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_arabic } - doctrine:doctrine_liturgical_language_hebrew = { save_scope_as = doctrine_liturgical_language_hebrew } - save_scope_value_as = { - name = doctrine_liturgical_language_hebrew_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_hebrew = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_hebrew } - doctrine:doctrine_liturgical_language_esperanto = { save_scope_as = doctrine_liturgical_language_esperanto } - save_scope_value_as = { - name = doctrine_liturgical_language_esperanto_value - value = { - value = 0 - doctrine:doctrine_liturgical_language_esperanto = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_liturgical_language_esperanto } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_none - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_none - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_none } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_none } - doctrine:doctrine_liturgical_language_none = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_none } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_none_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_latin - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_latin - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_latin } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_latin } - doctrine:doctrine_liturgical_language_latin = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_latin } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_latin_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_koine - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_koine - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_koine } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_koine } - doctrine:doctrine_liturgical_language_koine = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_koine } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_koine_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_church_slavonic - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_slavonic - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_church_slavonic } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_slavonic } - doctrine:doctrine_liturgical_language_church_slavonic = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_church_slavonic } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_church_slavonic_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_irish - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_irish - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_irish } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_irish } - doctrine:doctrine_liturgical_language_irish = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_irish } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_irish_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_armenian - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_armenian - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_armenian } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_armenian } - doctrine:doctrine_liturgical_language_armenian = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_armenian } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_armenian_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_syriac - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_syriac - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_syriac } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_syriac } - doctrine:doctrine_liturgical_language_syriac = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_syriac } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_syriac_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_coptic - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_coptic - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_coptic } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_coptic } - doctrine:doctrine_liturgical_language_coptic = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_coptic } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_coptic_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_classical_georgian - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_classical_georgian - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_classical_georgian } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_classical_georgian } - doctrine:doctrine_liturgical_language_classical_georgian = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_classical_georgian } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_classical_georgian_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_church_romanian - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_romanian - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_church_romanian } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_church_romanian } - doctrine:doctrine_liturgical_language_church_romanian = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_church_romanian } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_church_romanian_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_arabic - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_arabic - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_arabic } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_arabic } - doctrine:doctrine_liturgical_language_arabic = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_arabic } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_arabic_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_hebrew - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_hebrew - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_hebrew } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_hebrew } - doctrine:doctrine_liturgical_language_hebrew = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_hebrew } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_hebrew_value } - } - option = { - name = ecumenical_council_events_josh.0224.doctrine_liturgical_language_esperanto - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_esperanto - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_liturgical_language_esperanto } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_liturgical_language_esperanto } - doctrine:doctrine_liturgical_language_esperanto = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_liturgical_language_esperanto } - ai_will_select = { value = 100 add = scope:doctrine_liturgical_language_esperanto_value } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } - } -} - -ecumenical_council_events_josh.0225 = { - type = activity_event - title = ecumenical_council_events_josh.0225.t - desc = ecumenical_council_events_josh.0225.desc - theme = ecumenical_council - left_portrait = { character = root animation = worry } - center_portrait = { character = scope:lead_portrait animation = preaching_no_book } - right_portrait = { character = scope:court_chaplain animation = thinking } - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_usury_accepted = { save_scope_as = doctrine_usury_accepted } - save_scope_value_as = { - name = doctrine_usury_accepted_value - value = { - value = 0 - doctrine:doctrine_usury_accepted = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_accepted } - doctrine:doctrine_usury_discouraged = { save_scope_as = doctrine_usury_discouraged } - save_scope_value_as = { - name = doctrine_usury_discouraged_value - value = { - value = 0 - doctrine:doctrine_usury_discouraged = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_discouraged } - doctrine:doctrine_usury_outsiders_only = { save_scope_as = doctrine_usury_outsiders_only } - save_scope_value_as = { - name = doctrine_usury_outsiders_only_value - value = { - value = 0 - doctrine:doctrine_usury_outsiders_only = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_outsiders_only } - doctrine:doctrine_usury_forbidden = { save_scope_as = doctrine_usury_forbidden } - save_scope_value_as = { - name = doctrine_usury_forbidden_value - value = { - value = 0 - doctrine:doctrine_usury_forbidden = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_usury_forbidden } - } - option = { - name = ecumenical_council_events_josh.0225.doctrine_usury_accepted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_usury_accepted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_accepted } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_accepted } - doctrine:doctrine_usury_accepted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_accepted } - ai_will_select = { value = 100 add = scope:doctrine_usury_accepted_value } - } - option = { - name = ecumenical_council_events_josh.0225.doctrine_usury_discouraged - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_usury_discouraged - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_discouraged } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_discouraged } - doctrine:doctrine_usury_discouraged = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_discouraged } - ai_will_select = { value = 100 add = scope:doctrine_usury_discouraged_value } - } - option = { - name = ecumenical_council_events_josh.0225.doctrine_usury_outsiders_only - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_usury_outsiders_only - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_outsiders_only } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_outsiders_only } - doctrine:doctrine_usury_outsiders_only = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_outsiders_only } - ai_will_select = { value = 100 add = scope:doctrine_usury_outsiders_only_value } - } - option = { - name = ecumenical_council_events_josh.0225.doctrine_usury_forbidden - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_usury_forbidden - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_usury_forbidden } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_usury_forbidden } - doctrine:doctrine_usury_forbidden = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_usury_forbidden } - ai_will_select = { value = 100 add = scope:doctrine_usury_forbidden_value } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } - } -} - -ecumenical_council_events_josh.0226 = { - type = activity_event - title = ecumenical_council_events_josh.0226.t - desc = ecumenical_council_events_josh.0226.desc - theme = ecumenical_council - left_portrait = { character = root animation = worry } - center_portrait = { character = scope:lead_portrait animation = preaching_no_book } - right_portrait = { character = scope:court_chaplain animation = thinking } - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:special_doctrine_meat_only = { save_scope_as = special_doctrine_meat_only } - save_scope_value_as = { - name = special_doctrine_meat_only_value - value = { - value = 0 - doctrine:special_doctrine_meat_only = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_only } - doctrine:doctrine_diet_unrestricted = { save_scope_as = doctrine_diet_unrestricted } - save_scope_value_as = { - name = doctrine_diet_unrestricted_value - value = { - value = 0 - doctrine:doctrine_diet_unrestricted = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_diet_unrestricted } - doctrine:special_doctrine_meat_forbidden_temples = { save_scope_as = special_doctrine_meat_forbidden_temples } - save_scope_value_as = { - name = special_doctrine_meat_forbidden_temples_value - value = { - value = 0 - doctrine:special_doctrine_meat_forbidden_temples = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden_temples } - doctrine:special_doctrine_meat_forbidden_temples_fish = { save_scope_as = special_doctrine_meat_forbidden_temples_fish } - save_scope_value_as = { - name = special_doctrine_meat_forbidden_temples_fish_value - value = { - value = 0 - doctrine:special_doctrine_meat_forbidden_temples_fish = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden_temples_fish } - doctrine:special_doctrine_meat_forbidden_fish = { save_scope_as = special_doctrine_meat_forbidden_fish } - save_scope_value_as = { - name = special_doctrine_meat_forbidden_fish_value - value = { - value = 0 - doctrine:special_doctrine_meat_forbidden_fish = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden_fish } - doctrine:special_doctrine_meat_forbidden = { save_scope_as = special_doctrine_meat_forbidden } - save_scope_value_as = { - name = special_doctrine_meat_forbidden_value - value = { - value = 0 - doctrine:special_doctrine_meat_forbidden = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_meat_forbidden } - doctrine:special_doctrine_nothing_of_the_slain = { save_scope_as = special_doctrine_nothing_of_the_slain } - save_scope_value_as = { - name = special_doctrine_nothing_of_the_slain_value - value = { - value = 0 - doctrine:special_doctrine_nothing_of_the_slain = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_nothing_of_the_slain } - } - option = { - name = ecumenical_council_events_josh.0226.special_doctrine_meat_only - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_only - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_only } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_only } - doctrine:special_doctrine_meat_only = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_only } - ai_will_select = { value = 100 add = scope:special_doctrine_meat_only_value } - } - option = { - name = ecumenical_council_events_josh.0226.doctrine_diet_unrestricted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_diet_unrestricted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_diet_unrestricted } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_diet_unrestricted } - doctrine:doctrine_diet_unrestricted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_diet_unrestricted } - ai_will_select = { value = 100 add = scope:doctrine_diet_unrestricted_value } - } - option = { - name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden_temples - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden_temples } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples } - doctrine:special_doctrine_meat_forbidden_temples = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden_temples } - ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_temples_value } - } - option = { - name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden_temples_fish - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples_fish - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden_temples_fish } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_temples_fish } - doctrine:special_doctrine_meat_forbidden_temples_fish = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden_temples_fish } - ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_temples_fish_value } - } - option = { - name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden_fish - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_fish - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden_fish } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden_fish } - doctrine:special_doctrine_meat_forbidden_fish = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden_fish } - ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_fish_value } - } - option = { - name = ecumenical_council_events_josh.0226.special_doctrine_meat_forbidden - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_meat_forbidden } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_meat_forbidden } - doctrine:special_doctrine_meat_forbidden = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_meat_forbidden } - ai_will_select = { value = 100 add = scope:special_doctrine_meat_forbidden_value } - } - option = { - name = ecumenical_council_events_josh.0226.special_doctrine_nothing_of_the_slain - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_nothing_of_the_slain - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_nothing_of_the_slain } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_nothing_of_the_slain } - doctrine:special_doctrine_nothing_of_the_slain = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_nothing_of_the_slain } - ai_will_select = { value = 100 add = scope:special_doctrine_nothing_of_the_slain_value } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } - } -} - -ecumenical_council_events_josh.0227 = { - type = activity_event - title = ecumenical_council_events_josh.0227.t - desc = ecumenical_council_events_josh.0227.desc - theme = ecumenical_council - left_portrait = { character = root animation = worry } - center_portrait = { character = scope:lead_portrait animation = preaching_no_book } - right_portrait = { character = scope:court_chaplain animation = thinking } - immediate = { - ecumenical_council_busy_effect = yes - save_major_scopes_effect = yes - scope:host = { save_scope_as = actor } - doctrine:doctrine_alcohol_permitted = { save_scope_as = doctrine_alcohol_permitted } - save_scope_value_as = { - name = doctrine_alcohol_permitted_value - value = { - value = 0 - doctrine:doctrine_alcohol_permitted = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_alcohol_permitted } - doctrine:doctrine_alcohol_highborn_only = { save_scope_as = doctrine_alcohol_highborn_only } - save_scope_value_as = { - name = doctrine_alcohol_highborn_only_value - value = { - value = 0 - doctrine:doctrine_alcohol_highborn_only = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = doctrine_alcohol_highborn_only } - doctrine:special_doctrine_alcohol_forbidden = { save_scope_as = special_doctrine_alcohol_forbidden } - save_scope_value_as = { - name = special_doctrine_alcohol_forbidden_value - value = { - value = 0 - doctrine:special_doctrine_alcohol_forbidden = { save_temporary_scope_as = doctrine } - add = ecumenical_council_doctrine_host_pick_value - } - } - ec_chaplain_consider_doctrine_effect = { DOCTRINE = special_doctrine_alcohol_forbidden } - } - option = { - name = ecumenical_council_events_josh.0227.doctrine_alcohol_permitted - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_permitted - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_alcohol_permitted } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_permitted } - doctrine:doctrine_alcohol_permitted = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_alcohol_permitted } - ai_will_select = { value = 100 add = scope:doctrine_alcohol_permitted_value } - } - option = { - name = ecumenical_council_events_josh.0227.doctrine_alcohol_highborn_only - trigger = { - scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_highborn_only - faith.main_rite = { rite_can_choose_doctrine = doctrine:doctrine_alcohol_highborn_only } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:doctrine_alcohol_highborn_only } - doctrine:doctrine_alcohol_highborn_only = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:doctrine_alcohol_highborn_only } - ai_will_select = { value = 100 add = scope:doctrine_alcohol_highborn_only_value } - } - option = { - name = ecumenical_council_events_josh.0227.special_doctrine_alcohol_forbidden - trigger = { - scope:ec_debate_topic_3 != doctrine:special_doctrine_alcohol_forbidden - faith.main_rite = { rite_can_choose_doctrine = doctrine:special_doctrine_alcohol_forbidden } - } - show_as_unavailable = { scope:ec_debate_topic_3 != doctrine:special_doctrine_alcohol_forbidden } - doctrine:special_doctrine_alcohol_forbidden = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = doctrine:special_doctrine_alcohol_forbidden } - ai_will_select = { value = 100 add = scope:special_doctrine_alcohol_forbidden_value } - } - - option = { - name = neow_council_retain_current_doctrine - trigger = { exists = scope:ec_debate_topic_3 } - scope:ec_debate_topic_3 = { save_scope_as = ec_proposal_doctrine } - ecumenical_council_set_proposal_effect = { PROPOSAL = scope:ec_debate_topic_3 } - ai_will_select = { value = 1 } - } - - after = { - ecumenical_council_ready_effect = yes - pam_sort_guests_into_ecumenical_council_groups_effect = { NEXT_EVENT = 0031 } - } -} - ecumenical_council_events_josh.0228 = { type = activity_event title = neow_council_no_topic.t