fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -772,8 +772,6 @@ heresy_historical.0011 = {
}
immediate = {
clear_saved_scope = convert_ruler
scope:origin_faith = {
random_faith_ruler = {
limit = {
@ -873,7 +871,7 @@ heresy_historical.0011 = {
}
if = {
limit = { exists = scope:convert_ruler }
limit = { scope:convert_ruler ?= { rite != scope:new_rite } }
if = {
limit = {

View file

@ -49,9 +49,9 @@ pam_antipope_events.0001 = {
scope:pope = {
if = {
limit = { can_set_relation_rival_trigger = { CHARACTER = root } }
set_relation_rival = {
target = root
reason = rival_declared_antipope
set_relation_rival_effect = {
TARGET = root
REASON = rival_declared_antipope
}
}
}
@ -64,9 +64,9 @@ pam_antipope_events.0001 = {
scope:pope = {
if = {
limit = { can_set_relation_rival_trigger = { CHARACTER = scope:antipope } }
set_relation_rival = {
target = scope:antipope
reason = rival_declared_antipope
set_relation_rival_effect = {
TARGET = scope:antipope
REASON = rival_declared_antipope
}
}
add_opinion = {

View file

@ -1 +1,61 @@
# please replace and fix up vanilla in the future
# please replace and fix up vanilla in the future
# NEOW: Retain disabled historical situation chain. Only the new 1.21 catalyst event is available.
namespace = pam_the_christian_church
pam_the_christian_church.0064 = {
type = character_event
queue_icon = "gfx/interface/icons/situation_types/christian_church.dds"
queue_name = the_christian_church
override_sound = { reference = "event:/DLC/CE3/SFX/Stingers/ce3_mx_sting_ChristianSituation_Crisis" }
title = pam_the_christian_church.0064.t
desc = {
first_valid = {
triggered_desc = {
trigger = {
scope:schism_mainline_head ?= this
}
desc = pam_the_christian_church.0064.desc.opening.self_mainline
}
triggered_desc = {
trigger = {
scope:schism_competitor_head ?= this
}
desc = pam_the_christian_church.0064.desc.opening.self_competitor
}
desc = pam_the_christian_church.0064.desc.opening
}
desc = pam_the_christian_church.0064.desc
}
theme = christian
left_portrait = {
trigger = { exists = scope:schism_mainline_head }
character = scope:schism_mainline_head
animation = personality_zealous
}
right_portrait = {
trigger = { exists = scope:schism_competitor_head }
character = scope:schism_competitor_head
animation = disapproval
}
immediate = {
play_music_cue = mx_cue_the_shepherds_flock
save_christian_church_scopes_effect = yes
situation:the_christian_church = {
save_scope_as = situation
if = {
limit = { situation_top_has_catalyst = catalyst_the_christian_church_great_schism }
trigger_situation_catalyst = catalyst_the_christian_church_great_schism
}
}
}
option = {
name = pam_the_christian_church.0064.a
custom_tooltip = pam_the_christian_church.0064.a.tt
custom_tooltip = GREAT_SCHISM_PROGRESS_EFFECT_TT
clicksound = "event:/DLC/FP2/SFX/UI/fp2_struggle_start_select"
}
}

View file

@ -17,7 +17,7 @@ pam_clergy_events.0001 = {
trigger = {
is_ai = no
primary_title = title:k_papal_state
has_title = title:k_papal_state
exists = cp:councillor_court_chaplain
}
@ -121,7 +121,7 @@ pam_clergy_events.0010 = {
first_valid = {
triggered_desc = {
trigger = {
scope:cardinal_improve_development = yes
scope:cardinal_improve_prosperity = yes
}
desc = pam_clergy_events.0010.desc.develop
}
@ -508,6 +508,37 @@ pam_clergy_events.0043 = {
}
}
scripted_effect pam_clear_clerical_region_treasury_effect = {
if = {
limit = {
primary_title = scope:title
has_treasury = yes
}
empty_treasury_effect = yes
}
}
# Clerical region destroy events
# HoF cannot convert and they stay alive even if landless
pam_clergy_events.0050 = {
theme = christian
type = character_event
title = pam_clergy_events.0052.t
desc = pam_clergy_events.0052.desc
trigger = {
government_has_flag = government_is_theocracy
OR = {
faith.religious_head ?= this
is_proto_hof_trigger = yes
}
}
option = {
name = pam_clergy_events.0052.a
pam_clear_clerical_region_treasury_effect = yes
destroy_title = scope:title
}
}
###################################################################
## 0051 - Clerical region capital converts (player holder) ## ##
###################################################################
@ -523,6 +554,7 @@ scripted_effect pam_strip_personal_landed_titles_effect = {
scope:reason != flag:character_converted
}
has_clerical_region = no
pam_title_is_clerical_elector_trigger = no
}
}
}
@ -533,8 +565,8 @@ scripted_effect pam_strip_personal_landed_titles_effect = {
}
if = {
limit = { exists = root.var:old_rite }
root.var:old_rite = { save_scope_as = pam_strip_see_rite }
limit = { exists = scope:old_rite }
scope:old_rite = { save_scope_as = pam_strip_see_rite }
}
else_if = {
limit = { exists = scope:county.rite }
@ -620,6 +652,7 @@ scripted_effect pam_strip_personal_landed_titles_effect = {
scope:reason != flag:character_converted
}
has_clerical_region = no
pam_title_is_clerical_elector_trigger = no
}
}
change_title_holder_include_vassals = {
@ -781,6 +814,11 @@ pam_clergy_events.0051 = {
}
resolve_title_and_vassal_change = scope:pam_translation_change
if = {
limit = { primary_title = scope:title }
set_primary_title_to = scope:translation_see
}
hidden_effect = { pam_clear_clerical_region_treasury_effect = yes }
destroy_title = scope:title
pam_strip_personal_landed_titles_effect = yes
}
@ -792,10 +830,11 @@ pam_clergy_events.0051 = {
custom_tooltip = pam_clergy_events.0051.c.tt
pam_strip_personal_landed_titles_effect = yes
pam_clear_clerical_region_treasury_effect = yes
destroy_title = scope:title
hidden_effect = {
if = {
limit = { has_dlc_feature = roads_to_power }
limit = { has_playable_adventurer_dlc_trigger = yes }
create_landless_adventurer_title_effect = {
REASON = flag:wanderer
FLAVOR_CHAR = root
@ -835,11 +874,12 @@ pam_clergy_events.0052 = {
pam_strip_personal_landed_titles_effect = yes
if = {
limit = { scope:reason != flag:character_converted }
pam_clear_clerical_region_treasury_effect = yes
destroy_title = scope:title
}
hidden_effect = {
if = {
limit = { has_dlc_feature = roads_to_power }
limit = { has_playable_adventurer_dlc_trigger = yes }
create_landless_adventurer_title_effect = {
REASON = flag:wanderer
FLAVOR_CHAR = root

View file

@ -555,6 +555,10 @@ pam_decision_events.0001 = {
}
set_variable = { # To check what they asked you to do
name = pam_confession_penalty_var
value = flag:conversion
}
set_variable = {
name = pam_confession_penalty_target
value = scope:target
}
}
@ -779,9 +783,9 @@ pam_decision_events.0003 = {
NOT = { has_relation_grudge = scope:target_child }
}
scope:target_child = {
set_relation_grudge = {
target = root
reason = grudge_pressured_me_sp
set_relation_grudge_effect = {
TARGET = root
REASON = grudge_pressured_me_sp
}
}
}
@ -1084,7 +1088,7 @@ pam_decision_events.0005 = {
cp:councillor_court_chaplain ?= { save_scope_as = confessor }
}
#Find a different clergy member in the area
else_if = {
if = {
limit = {
NOT = {
exists = scope:confessor
@ -1100,8 +1104,13 @@ pam_decision_events.0005 = {
save_scope_as = confessor
}
}
else = {
#make a priest
#make a priest
if = {
limit = {
NOT = {
exists = scope:confessor
}
}
create_character = {
template = virtuous_priest_character_template
dynasty = none
@ -1111,9 +1120,11 @@ pam_decision_events.0005 = {
rite = root.rite
save_scope_as = confessor
}
add_character_flag = {
flag = fake_confessor
days = 10
scope:confessor = {
add_character_flag = {
flag = fake_confessor
days = 10
}
}
}
#Find Player Heir
@ -1483,7 +1494,7 @@ pam_decision_events.0007 = {
#Find holding to give to Monastic order
ordered_held_title = {
order_by = {
value = county.development_level
value = county.prosperity_level
if = {
limit = {
title_province = {
@ -1502,7 +1513,7 @@ pam_decision_events.0007 = {
}
ordered_held_title = {
order_by = {
value = county.development_level
value = county.prosperity_level
if = {
limit = {
title_province = {
@ -1871,7 +1882,7 @@ pam_decision_events.0009 = {
}
}
order_by = {
value = county.development_level
value = county.prosperity_level
if = {
limit = {
title_province = {

View file

@ -1221,9 +1221,9 @@ pam_interactions_events.0032 = {
this = scope:recipient.primary_title
}
}
set_relation_rival = {
target = scope:recipient
reason = rival_quarreled_over_land
set_relation_rival_effect = {
TARGET = scope:recipient
REASON = rival_quarreled_over_land
}
}
else = {
@ -1604,13 +1604,11 @@ pam_interactions_events.0033 = {
show_as_tooltip = {
if = {
limit = {
scope:target = {
this = scope:recipient.primary_title
}
scope:target = { this = scope:recipient.primary_title }
}
set_relation_rival = {
target = scope:recipient
reason = rival_quarreled_over_land
set_relation_rival_effect = {
TARGET = scope:recipient
REASON = rival_quarreled_over_land
}
}
else = {
@ -3000,7 +2998,7 @@ pam_interactions_events.0036 = {
else = {
scope:target = {
ordered_de_jure_county = {
order_by = development_level
order_by = prosperity_level
limit = {
OR = {
holder = scope:recipient
@ -3347,6 +3345,11 @@ pam_interactions_events.0050 = {
sender = scope:puppet_or_actor
desc = pam_interactions_events.0050.desc
trigger = {
scope:puppet_or_actor = { is_alive = yes }
scope:secondary_recipient = { is_alive = yes }
}
#Become celibate, obviously
option = {
trigger = {
@ -3433,7 +3436,7 @@ pam_interactions_events.0050 = {
}
if = {
limit = {
NOT = { has_relation_lover = scope:secondary_recipient }
can_set_relation_lover_trigger = { CHARACTER = scope:secondary_recipient }
scope:secondary_recipient = {
is_ai = yes
}
@ -5205,7 +5208,7 @@ pam_interactions_events.0095 = {
immediate = {
custom_tooltip = de_jure_clergy_past_tense_effect_tt
ordered_sub_realm_county = {
order_by = development_level
order_by = prosperity_level
limit = {
any_this_title_or_de_jure_above = {
this = scope:target

View file

@ -2696,7 +2696,7 @@ pam_secular_faith_events.0020 = {
option = { # Endow it richly - the parish quickens the county
name = pam_secular_faith_events.0020.b
scope:consecrated_county = {
change_development_progress = major_development_progress_gain
change_prosperity_progress = major_prosperity_progress_gain
add_county_modifier = {
modifier = pam_sf_consecrated_county_modifier
years = 10
@ -5053,7 +5053,6 @@ pam_secular_faith_events.0035 = {
increase_wounds_effect = { REASON = whipping }
scope:sufferer = {
add_piety = major_piety_gain
change_spiritual_fulfillment = major_spiritual_fulfillment_value
increase_wounds_effect = { REASON = whipping }
}
stress_and_fulfillment_impact = {
@ -5080,7 +5079,6 @@ pam_secular_faith_events.0035 = {
add_piety = minor_piety_gain
scope:sufferer = {
add_piety = major_piety_gain
change_spiritual_fulfillment = major_spiritual_fulfillment_value
increase_wounds_effect = { REASON = whipping }
}
stress_and_fulfillment_impact = {
@ -7785,8 +7783,7 @@ pam_secular_faith_events.0057 = {
any_held_title = {
tier = tier_county
any_county_province = {
has_holding_type = church_holding
has_building_or_higher = breweries_01
pam_sf_monastic_brewery_province_trigger = yes
}
}
}
@ -7797,16 +7794,14 @@ pam_secular_faith_events.0057 = {
limit = {
tier = tier_county
any_county_province = {
has_holding_type = church_holding
has_building_or_higher = breweries_01
pam_sf_monastic_brewery_province_trigger = yes
}
}
save_scope_as = ale_county
save_scope_as = holy_site_scope
random_county_province = {
limit = {
has_holding_type = church_holding
has_building_or_higher = breweries_01
pam_sf_monastic_brewery_province_trigger = yes
}
barony = { save_scope_as = ale_church }
}
@ -8057,6 +8052,7 @@ pam_secular_faith_events.0059 = {
# The sighted game must have somewhere in the domain to be.
any_held_title = {
tier = tier_county
is_landless_type_title = no
hunt_activity_recent_hunt_sighting_trigger = no
}
}
@ -8067,6 +8063,7 @@ pam_secular_faith_events.0059 = {
every_held_title = {
limit = {
tier = tier_county
is_landless_type_title = no
hunt_activity_recent_hunt_sighting_trigger = no
}
add_to_list = sighting_counties
@ -8087,6 +8084,10 @@ pam_secular_faith_events.0059 = {
}
save_scope_as = sighting_province
}
if = {
limit = { NOT = { exists = scope:sighting_province } }
title_province = { save_scope_as = sighting_province }
}
}
scope:sighting_county = {
hunt_activity_standard_game_effect = { PROVINCE = scope:sighting_province HUNTER = root }
@ -8241,6 +8242,9 @@ pam_secular_faith_events.0060 = {
rite = root.location.county.rite
culture = root.location.county.culture
save_scope_as = hermit
after_creation = {
add_character_flag = created
}
}
random_tenet = {
limit = {

View file

@ -13,9 +13,13 @@
## pam_theocratic_ruler_events.0010 - The Sword or the Crozier
## pam_theocratic_ruler_events.0011 - Sword of the Fallen Knight
## pam_theocratic_ruler_events.0012 - A Sacred Grove (travel)
## pam_theocratic_ruler_events.0013 - An Angelic Anthem
## pam_theocratic_ruler_events.0013 - An Angelic Inspiration
## pam_theocratic_ruler_events.0014 - A Convert's Plea
## pam_theocratic_ruler_events.0015 - Prayer Hearing
## pam_theocratic_ruler_events.0015 - Readiness to Rule
## pam_theocratic_ruler_events.0016 - Bishops Breaking Bread
## pam_theocratic_ruler_events.0017 - Honest Intentions
## pam_theocratic_ruler_events.0018 - Bishop or Merchant
## pam_theocratic_ruler_events.0019 - In the Midst of Animosity
############################
@ -1456,7 +1460,7 @@ pam_theocratic_ruler_events.0007 = {
is_in_debt = no
NOT = {
any_sub_realm_county = {
county_control <= 90
county_control < county_control_baseline
}
}
exists = liege
@ -1626,7 +1630,7 @@ pam_theocratic_ruler_events.0008 = {
title_held_years <= 15
any_county_province = {
has_holding_type = castle_holding
has_building_or_higher = curtain_walls_01
has_building_or_higher = outer_walls_1
}
}
}
@ -1638,24 +1642,24 @@ pam_theocratic_ruler_events.0008 = {
title_held_years <= 15
any_county_province = {
has_holding_type = castle_holding
has_building_or_higher = curtain_walls_01
has_building_or_higher = outer_walls_1
}
}
save_scope_as = inherited_stone_county
random_county_province = {
limit = {
has_holding_type = castle_holding
has_building_or_higher = curtain_walls_01
has_building_or_higher = outer_walls_1
}
weight = {
base = 1
modifier = {
add = 5
has_building_or_higher = curtain_walls_05
has_building_or_higher = outer_walls_5
}
modifier = {
add = 3
has_building_or_higher = curtain_walls_03
has_building_or_higher = outer_walls_3
}
}
save_scope_as = stone_province
@ -1686,7 +1690,7 @@ pam_theocratic_ruler_events.0008 = {
option = {
name = pam_theocratic_ruler_events.0008.b
scope:stone_province = {
destroy_or_downgrade_building_effect = { BUILDING = curtain_walls }
destroy_or_downgrade_district_building_effect = { BUILDING = outer_walls }
}
domicile ?= {
switch = {
@ -2454,7 +2458,7 @@ pam_theocratic_ruler_events.0012 = {
}
###########################
## pam_theocratic_ruler_events.0013 — An Angelic Anthem
## pam_theocratic_ruler_events.0013 — An Angelic Inspiration
############################
pam_theocratic_ruler_events.0013 = {
@ -2649,9 +2653,25 @@ pam_theocratic_ruler_events.0013 = {
## pam_theocratic_ruler_events.0014 — A Convert's Plea
############################
scripted_trigger pam_theocratic_ruler_0014_offerable_tenet_trigger = {
save_temporary_scope_as = candidate_tenet
root = {
NOR = {
has_personal_tenet = scope:candidate_tenet
rite = { rite_has_tenet = scope:candidate_tenet }
}
}
}
scripted_trigger pam_theocratic_ruler_0014_neighbour_county_trigger = {
culture != root.culture
faith != root.faith
faith.main_rite = {
any_rite_tenet = {
status = core
pam_theocratic_ruler_0014_offerable_tenet_trigger = yes
}
}
}
scripted_effect pam_theocratic_ruler_events_0014_grant_mass_conversion_discount_effect = {
@ -2741,17 +2761,7 @@ pam_theocratic_ruler_events.0014 = {
random_rite_tenet = {
status = core
limit = {
NOT = { root = { has_personal_tenet = this } }
NOT = {
root = {
rite = {
has_tenet_status = {
tenet = this
status = core
}
}
}
}
pam_theocratic_ruler_0014_offerable_tenet_trigger = yes
}
save_scope_as = offered_tenet_a
}
@ -2763,17 +2773,7 @@ pam_theocratic_ruler_events.0014 = {
status = core
limit = {
this != scope:offered_tenet_a
NOT = { root = { has_personal_tenet = this } }
NOT = {
root = {
rite = {
has_tenet_status = {
tenet = this
status = core
}
}
}
}
pam_theocratic_ruler_0014_offerable_tenet_trigger = yes
}
save_scope_as = offered_tenet_b
}
@ -2949,7 +2949,7 @@ pam_theocratic_ruler_events.0014 = {
}
###########################
## pam_theocratic_ruler_events.0015 — Prayer Hearing
## pam_theocratic_ruler_events.0015 — Readiness to Rule
############################
scripted_effect pam_theocratic_ruler_events_0015_highest_clerical_skill_point_effect = {
@ -3147,3 +3147,764 @@ pam_theocratic_ruler_events.0015 = {
}
}
}
###########################
## pam_theocratic_ruler_events.0016 — Bishops Breaking Bread
############################
scripted_trigger pam_theocratic_ruler_events_0016_subordinate_clergy_trigger = {
this != root
is_available_adult = yes
faith = root.faith
}
pam_theocratic_ruler_events.0016 = {
type = character_event
title = pam_theocratic_ruler_events.0016.t
desc = pam_theocratic_ruler_events.0016.desc
theme = faith
window = big_event_window
override_background = { reference = feast }
left_portrait = {
character = root
animation = toast
camera = camera_event_center_close_to_right
}
center_portrait = {
character = scope:subordinate_bishop_1
animation = debating
camera = camera_event_center_pointing_forward_fov35
}
right_portrait = {
character = scope:subordinate_bishop_2
animation = chaplain
camera = camera_event_center_pointing_forward_fov35
}
cooldown = { years = 10 }
trigger = {
pam_government_is_religious_playable_trigger = yes
is_landed = yes
is_available_adult = yes
any_subordinate = {
count >= 2
pam_theocratic_ruler_events_0016_subordinate_clergy_trigger = yes
}
}
immediate = {
every_subordinate = {
limit = {
pam_theocratic_ruler_events_0016_subordinate_clergy_trigger = yes
}
add_to_list = pam_theocratic_ruler_events_0016_bishop_candidates
}
if = {
limit = {
list_size = {
name = pam_theocratic_ruler_events_0016_bishop_candidates
value >= 2
}
}
random_in_list = {
list = pam_theocratic_ruler_events_0016_bishop_candidates
save_scope_as = subordinate_bishop_1
}
random_in_list = {
list = pam_theocratic_ruler_events_0016_bishop_candidates
limit = {
this != scope:subordinate_bishop_1
}
save_scope_as = subordinate_bishop_2
}
}
if = {
limit = {
scope:subordinate_bishop_1 = {
has_relation_friend = root
}
}
scope:subordinate_bishop_1 = {
save_scope_as = friend_subordinate_bishop
}
}
else_if = {
limit = {
scope:subordinate_bishop_2 = {
has_relation_friend = root
}
}
scope:subordinate_bishop_2 = {
save_scope_as = friend_subordinate_bishop
}
}
if = {
limit = {
scope:subordinate_bishop_1 = {
ecumenical_shareable_unknown_tenet_for_root_trigger = yes
}
scope:subordinate_bishop_2 = {
ecumenical_shareable_unknown_tenet_for_root_trigger = yes
}
}
random_list = {
50 = {
scope:subordinate_bishop_1 = {
save_scope_as = tenet_teacher_bishop
}
}
50 = {
scope:subordinate_bishop_2 = {
save_scope_as = tenet_teacher_bishop
}
}
}
}
else_if = {
limit = {
scope:subordinate_bishop_1 = {
ecumenical_shareable_unknown_tenet_for_root_trigger = yes
}
}
scope:subordinate_bishop_1 = {
save_scope_as = tenet_teacher_bishop
}
}
else_if = {
limit = {
scope:subordinate_bishop_2 = {
ecumenical_shareable_unknown_tenet_for_root_trigger = yes
}
}
scope:subordinate_bishop_2 = {
save_scope_as = tenet_teacher_bishop
}
}
if = {
limit = {
exists = scope:tenet_teacher_bishop
}
scope:tenet_teacher_bishop = {
random_character_tenet = {
knowledge_filter = known
limit = {
save_temporary_scope_as = pam_theocratic_ruler_events_0016_tenet_candidate
NOT = { root = { knows_tenet = scope:pam_theocratic_ruler_events_0016_tenet_candidate } }
root.faith.main_rite = {
has_tenet_status = {
tenet = scope:pam_theocratic_ruler_events_0016_tenet_candidate
status = unknown
}
}
}
save_scope_as = shared_tenet
}
}
}
}
# Accept a friend's pledge of support.
option = {
name = pam_theocratic_ruler_events.0016.a
reason = friend
trigger = {
exists = scope:friend_subordinate_bishop
}
add_piety = medium_piety_value
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
generous = minor_stress_impact_loss
}
ai_chance = {
base = 35
ai_value_modifier = {
ai_zeal = 0.35
ai_compassion = 0.2
}
}
}
# Let us speak of wise stewardship.
option = {
name = pam_theocratic_ruler_events.0016.b
skill = stewardship
duel = {
skill = stewardship
value = medium_skill_rating
60 = {
desc = pam_theocratic_ruler_events.0016.b.success
compare_modifier = {
value = scope:duel_value
multiplier = 3.5
}
send_interface_toast = {
type = event_toast_effect_good
title = pam_theocratic_ruler_events.0016.b.toast.success
left_icon = scope:subordinate_bishop_1
right_icon = scope:subordinate_bishop_2
add_stewardship_lifestyle_xp = minor_lifestyle_xp
scope:subordinate_bishop_1 = {
add_stewardship_skill = 1
}
scope:subordinate_bishop_2 = {
add_stewardship_skill = 1
}
}
}
40 = {
desc = pam_theocratic_ruler_events.0016.b.failure
compare_modifier = {
value = scope:duel_value
multiplier = -3.5
}
send_interface_toast = {
type = event_toast_effect_neutral
title = pam_theocratic_ruler_events.0016.b.toast.failure
left_icon = root
add_stress = minor_stress_gain
}
}
}
stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss
lazy = minor_stress_impact_gain
}
ai_chance = {
base = 30
ai_value_modifier = {
ai_rationality = 0.3
}
}
}
# Learn a tenet one bishop knows.
option = {
name = pam_theocratic_ruler_events.0016.c
trigger = {
exists = scope:shared_tenet
}
add_known_tenet = scope:shared_tenet
add_learning_lifestyle_xp = minor_lifestyle_xp
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain
}
ai_chance = {
base = 25
ai_value_modifier = {
ai_zeal = 0.3
ai_rationality = 0.25
}
}
}
# Break bread and deepen bonds.
option = {
name = pam_theocratic_ruler_events.0016.d
trigger = {
NOT = { exists = scope:friend_subordinate_bishop }
}
progress_towards_friend_effect = {
REASON = friend_broke_bread_over_faith_reason
CHARACTER = scope:subordinate_bishop_1
OPINION = 0
}
progress_towards_friend_effect = {
REASON = friend_broke_bread_over_faith_reason
CHARACTER = scope:subordinate_bishop_2
OPINION = 0
}
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
shy = minor_stress_impact_gain
}
ai_chance = {
base = 30
ai_value_modifier = {
ai_compassion = 0.35
ai_sociability = 0.25
}
}
}
}
###########################
## pam_theocratic_ruler_events.0017 — Honest Intentions
############################
pam_theocratic_ruler_events.0017 = {
type = character_event
title = pam_theocratic_ruler_events.0017.t
desc = pam_theocratic_ruler_events.0017.desc
theme = faith
override_background = { reference = council_chamber }
left_portrait = {
character = root
animation = priest_good
}
lower_center_portrait = {
character = scope:church_authority
animation = zealous_superior
}
right_portrait = {
character = cp:councillor_chancellor
animation = chancellor
}
cooldown = { years = 10 }
trigger = {
pam_government_is_religious_playable_trigger = yes
is_landed = yes
is_available_adult = yes
exists = top_participant_group:the_christian_church
is_decision_on_cooldown = pam_shape_the_christian_church_decision
OR = {
exists = superior
NOT = {
faith.main_rite = {
head_of_rite ?= root
}
}
}
cp:councillor_chancellor ?= {
is_available_adult = yes
}
faith = {
OR = {
religious_head ?= {
NOT = { this = root }
is_available_adult = yes
}
main_rite = {
head_of_rite ?= {
NOT = { this = root }
is_available_adult = yes
}
}
}
}
}
immediate = {
cp:councillor_chancellor = { save_scope_as = chancellor }
if = {
limit = {
faith.religious_head ?= {
NOT = { this = root }
is_available_adult = yes
}
}
faith.religious_head = { save_scope_as = church_authority }
}
else = {
faith.main_rite.head_of_rite = { save_scope_as = church_authority }
}
}
# I could do so much more.
option = {
name = pam_theocratic_ruler_events.0017.a
trigger = {
has_trait = ambitious
}
custom_tooltip = {
text = pam_theocratic_ruler_events.0017.a.cooldown_tt
remove_decision_cooldown = pam_shape_the_christian_church_decision
}
scope:church_authority = {
add_opinion = {
modifier = grateful_opinion
target = root
opinion = 10
}
}
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_loss
zealous = minor_stress_impact_loss
}
ai_chance = {
base = 40
ai_value_modifier = {
ai_zeal = 0.35
ai_boldness = 0.25
}
}
}
# I am but a servant
option = {
name = pam_theocratic_ruler_events.0017.b
add_piety = medium_piety_value
scope:church_authority = {
add_opinion = {
modifier = grateful_opinion
target = root
opinion = 5
}
}
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain
humble = minor_stress_impact_loss
}
ai_chance = {
base = 30
ai_value_modifier = {
ai_zeal = 0.3
}
}
}
# No one questions my convictions.
option = {
name = pam_theocratic_ruler_events.0017.c
add_prestige = medium_prestige_gain
scope:church_authority = {
add_opinion = {
modifier = disappointed_opinion
target = root
opinion = -15
}
}
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
deceitful = minor_stress_impact_loss
humble = minor_stress_impact_gain
}
ai_chance = {
base = 20
ai_value_modifier = {
ai_honor = -0.2
ai_boldness = 0.15
}
}
}
}
###########################
## pam_theocratic_ruler_events.0018 — Bishop or Merchant
############################
scripted_trigger pam_theocratic_ruler_events_0018_political_bishop_trigger = {
this != root
is_available_adult = yes
faith = root.faith
NOT = { has_trait = zealous }
OR = {
has_trait = greedy
has_trait = cynical
stewardship > learning
}
}
pam_theocratic_ruler_events.0018 = {
type = character_event
title = pam_theocratic_ruler_events.0018.t
desc = pam_theocratic_ruler_events.0018.desc
theme = faith
override_background = { reference = council_chamber }
left_portrait = {
character = root
animation = villain
camera = camera_event_center_pointing_right
}
right_portrait = {
character = scope:political_bishop
animation = debating
}
cooldown = { years = 8 }
trigger = {
pam_government_is_religious_playable_trigger = yes
is_landed = yes
is_available_adult = yes
any_subordinate = {
pam_theocratic_ruler_events_0018_political_bishop_trigger = yes
}
}
immediate = {
every_subordinate = {
limit = {
pam_theocratic_ruler_events_0018_political_bishop_trigger = yes
}
add_to_list = pam_theocratic_ruler_events_0018_bishop_candidates
}
if = {
limit = {
list_size = {
name = pam_theocratic_ruler_events_0018_bishop_candidates
value >= 1
}
}
ordered_in_list = {
list = pam_theocratic_ruler_events_0018_bishop_candidates
order_by = stewardship
save_scope_as = political_bishop
}
}
}
# Praise the bishop's stewardship.
option = {
name = pam_theocratic_ruler_events.0018.a
add_character_modifier = {
modifier = pam_bishop_or_merchant_modifier
years = 5
}
scope:political_bishop = {
add_opinion = {
modifier = pleased_opinion
target = root
opinion = 10
}
}
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss
cynical = minor_stress_impact_loss
zealous = minor_stress_impact_gain
}
ai_chance = {
base = 35
ai_value_modifier = {
ai_rationality = 0.3
ai_sociability = 0.25
}
}
}
# Demand a return to spiritual duty.
option = {
name = pam_theocratic_ruler_events.0018.b
add_piety = medium_piety_gain
scope:political_bishop = {
add_opinion = {
modifier = disappointed_opinion
target = root
opinion = -10
}
add_stress = minor_stress_gain
}
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
diligent = minor_stress_impact_loss
cynical = minor_stress_impact_gain
}
ai_chance = {
base = 40
ai_value_modifier = {
ai_zeal = 0.4
ai_honor = 0.2
}
}
}
}
###########################
## pam_theocratic_ruler_events.0019 — In the Midst of Animosity
############################
pam_theocratic_ruler_events.0019 = {
type = character_event
title = pam_theocratic_ruler_events.0019.t
desc = pam_theocratic_ruler_events.0019.desc
theme = faith
override_background = { reference = council_chamber }
left_portrait = {
character = root
animation = chess_certain_win
}
lower_center_portrait = {
character = scope:animosity_liege
animation = disapproval
}
lower_right_portrait = {
character = scope:animosity_superior
animation = zealous_superior
}
cooldown = { years = 25 }
trigger = {
pam_government_is_religious_playable_trigger = yes
is_landed = yes
is_available_adult = yes
exists = liege
exists = superior
liege != superior
liege = {
is_available_adult = yes
this != root
}
superior = {
is_available_adult = yes
this != root
}
liege = {
opinion = {
target = root.superior
value <= -25
}
}
superior = {
opinion = {
target = root.liege
value <= -25
}
}
}
immediate = {
liege = { save_scope_as = animosity_liege }
superior = { save_scope_as = animosity_superior }
}
# Play them against each other.
option = {
name = pam_theocratic_ruler_events.0019.c
flavor = pam_theocratic_ruler_events.0019.c.flavor
skill = intrigue
trigger = {
intrigue >= high_skill_rating
}
show_as_unavailable = {
always = yes
}
add_intrigue_lifestyle_xp = major_lifestyle_xp
scope:animosity_liege = {
add_opinion = {
modifier = disappointed_opinion
target = scope:animosity_superior
opinion = -15
}
}
scope:animosity_superior = {
add_opinion = {
modifier = disappointed_opinion
target = scope:animosity_liege
opinion = -15
}
}
stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss
ambitious = minor_stress_impact_loss
honest = minor_stress_impact_gain
just = minor_stress_impact_gain
}
ai_chance = {
base = 25
ai_value_modifier = {
ai_honor = -0.4
ai_rationality = 0.2
}
}
}
# Help them find common ground.
option = {
name = pam_theocratic_ruler_events.0019.d
flavor = pam_theocratic_ruler_events.0019.d.flavor
skill = diplomacy
trigger = {
diplomacy >= high_skill_rating
}
show_as_unavailable = {
always = yes
}
add_diplomacy_lifestyle_xp = major_lifestyle_xp
scope:animosity_liege = {
add_opinion = {
modifier = grateful_opinion
target = scope:animosity_superior
opinion = 15
}
}
scope:animosity_superior = {
add_opinion = {
modifier = grateful_opinion
target = scope:animosity_liege
opinion = 15
}
}
stress_and_fulfillment_impact = {
diplomat = minor_stress_impact_loss
compassionate = minor_stress_impact_loss
wrathful = minor_stress_impact_gain
}
ai_chance = {
base = 25
ai_value_modifier = {
ai_compassion = 0.3
ai_rationality = 0.25
}
}
}
# Openly support my liege.
option = {
name = pam_theocratic_ruler_events.0019.a
add_prestige = medium_prestige_gain
scope:animosity_liege = {
add_opinion = {
modifier = pleased_opinion
target = root
opinion = 10
}
}
scope:animosity_superior = {
add_opinion = {
modifier = disappointed_opinion
target = root
opinion = -10
}
}
stress_and_fulfillment_impact = {
ambitious = minor_stress_impact_loss
craven = minor_stress_impact_gain
}
ai_chance = {
base = 30
ai_value_modifier = {
ai_boldness = 0.25
ai_zeal = -0.15
}
}
}
# Openly support my superior.
option = {
name = pam_theocratic_ruler_events.0019.b
add_piety = medium_piety_gain
scope:animosity_superior = {
add_opinion = {
modifier = pleased_opinion
target = root
opinion = 10
}
}
scope:animosity_liege = {
add_opinion = {
modifier = disappointed_opinion
target = root
opinion = -10
}
}
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
craven = minor_stress_impact_gain
}
ai_chance = {
base = 30
ai_value_modifier = {
ai_zeal = 0.3
ai_boldness = 0.15
}
}
}
}