event updating

This commit is contained in:
trashmasteruni 2026-10-10 22:52:02 +02:00
parent 0a1f4595df
commit e8f9381e3a
20 changed files with 6143 additions and 19667 deletions

View file

@ -1070,29 +1070,30 @@ coronation_events.0110 = {
# Other
triggered_desc = {
trigger = {
scope:host = {
ai_compassion >= low_positive_ai_value
}
}
desc = coronation_events.0110.desc.fallback_compassionate
}
triggered_desc = {
trigger = {
scope:host = {
ai_honor > low_positive_ai_value
}
}
desc = coronation_events.0110.desc.fallback_honorable
}
triggered_desc = {
trigger = {
scope:host = {
ai_energy < low_negative_ai_value
}
}
desc = coronation_events.0110.desc.fallback_feckless
}
trigger = {
scope:host = {
ai_compassion >= low_positive_ai_value
}
}
desc = coronation_events.0110.desc.fallback_compassionate
}
triggered_desc = {
trigger = {
scope:host = {
ai_honor > low_positive_ai_value
}
}
desc = coronation_events.0110.desc.fallback_honorable
}
triggered_desc = {
trigger = {
scope:host = {
ai_energy < low_negative_ai_value
}
}
desc = coronation_events.0110.desc.fallback_feckless
}
desc = coronation_events.0110.desc.fallback
}
desc = coronation_events.0110.desc.outro
}
@ -1392,7 +1393,7 @@ coronation_events.0150 = {
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss
honest = medium_stress_impact_gain
ambitious = minor_stress_impact_gain
@ -1461,7 +1462,7 @@ coronation_events.0175 = {
add_character_modifier = oath_of_purge_pretenders
if = {
limit = {
government_has_flag = government_is_administrative
government_has_mechanic = administrative
}
house ?= {
add_house_modifier = oath_of_purge_pretenders_house
@ -1520,7 +1521,7 @@ coronation_events.0175 = {
option = {
name = coronation_events.0175.a
stress_impact = { base = medium_stress_loss }
stress_and_fulfillment_impact = { base = medium_stress_loss }
if = {
limit = {
@ -1715,10 +1716,9 @@ coronation_events.0200 = {
option = coronation_type_anointment
}
any_attending_character = {
this = scope:host.faith.religious_head
scope:activity.var:anointment_authority ?= this
is_alive = yes
is_imprisoned = no
}
}
}
@ -1746,7 +1746,7 @@ coronation_events.0200 = {
option = coronation_type_anointment
}
any_attending_character = {
this = scope:host.faith.religious_head
scope:activity.var:anointment_authority ?= this
is_alive = yes
is_imprisoned = no
}
@ -1755,9 +1755,9 @@ coronation_events.0200 = {
involved_activity = {
set_variable = {
name = officiator
value = scope:host.faith.religious_head
value = scope:activity.var:anointment_authority
}
scope:host.faith.religious_head = {
scope:activity.var:anointment_authority = {
add_character_flag = {
flag = coronation_officiator
years = 2
@ -1786,9 +1786,9 @@ scripted_trigger coronation_events_0205_audience = {
this = root
trigger_if = {
limit = {
exists = scope:activity.special_guest:priest
exists = scope:activity.special_guest:coronation_hof_guest
}
this = scope:activity.special_guest:priest
this = scope:activity.special_guest:coronation_hof_guest
}
is_spouse_of = scope:host
is_close_family_of = scope:host
@ -2248,6 +2248,7 @@ coronation_events.0205 = {
location = scope:location
culture = scope:host.culture
faith = scope:host.faith
rite = scope:host.rite
gender_female_chance = scope_value_target_soldier_female_chance
save_scope_as = audience_1
}
@ -2256,6 +2257,7 @@ coronation_events.0205 = {
location = scope:location
culture = scope:host.culture
faith = scope:host.faith
rite = scope:host.rite
gender_female_chance = scope_value_target_soldier_female_chance
save_scope_as = audience_2
}
@ -2266,6 +2268,7 @@ coronation_events.0205 = {
location = scope:location
culture = scope:location.culture
faith = scope:location.faith
rite = scope:location.rite
save_scope_as = audience_1
}
create_character = {
@ -2273,6 +2276,7 @@ coronation_events.0205 = {
location = scope:location
culture = scope:location.culture
faith = scope:location.faith
rite = scope:location.rite
save_scope_as = audience_2
}
}
@ -2380,7 +2384,7 @@ coronation_events.0205 = {
limit = {
scope:activity.var:activity_special_type_progression < 25
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
shy = miniscule_stress_impact_gain
@ -2439,7 +2443,7 @@ coronation_events.0205 = {
limit = {
scope:activity.var:activity_special_type_progression < 25
}
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain
craven = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
@ -2450,7 +2454,7 @@ coronation_events.0205 = {
limit = {
scope:activity.var:activity_special_type_progression < 75
}
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_gain
}
}
@ -2505,7 +2509,7 @@ coronation_events.0205 = {
limit = {
scope:activity.var:activity_special_type_progression >= 25
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
}
}
@ -2665,12 +2669,12 @@ coronation_events.0205 = {
}
if = {
limit = { is_ai = no }
stress_impact = {
stress_and_fulfillment_impact = {
base = massive_stress_impact_gain
}
}
else = {
stress_impact = {
stress_and_fulfillment_impact = {
base = major_stress_impact_gain
}
}
@ -2897,7 +2901,7 @@ coronation_events.0210 = {
trigger = {
scope:activity.activity_host = root
}
stress_impact = {
stress_and_fulfillment_impact = {
base = miniscule_stress_impact_loss
gluttonous = minor_stress_impact_loss
gregarious = miniscule_stress_impact_loss
@ -2909,7 +2913,7 @@ coronation_events.0210 = {
trigger = {
scope:activity.activity_host != root
}
stress_impact = {
stress_and_fulfillment_impact = {
gluttonous = minor_stress_impact_loss
gregarious = miniscule_stress_impact_loss
}
@ -3058,7 +3062,10 @@ coronation_events.0300 = {
scope:chaplain = {
if = {
limit = {
this = faith.religious_head
OR = {
this = religious_head_or_challenger
scope:activity.var:anointment_authority ?= this
}
}
root = { add_piety = medium_piety_gain }
}
@ -3108,7 +3115,10 @@ coronation_events.0300 = {
scope:alternative_1 = {
if = {
limit = {
this = faith.religious_head
OR = {
this = religious_head_or_challenger
scope:activity.var:anointment_authority ?= this
}
}
root = { add_piety = medium_piety_gain }
}
@ -3158,7 +3168,10 @@ coronation_events.0300 = {
scope:alternative_2 = {
if = {
limit = {
this = faith.religious_head
OR = {
this = religious_head_or_challenger
scope:activity.var:anointment_authority ?= this
}
}
root = { add_piety = medium_piety_gain }
}
@ -3201,9 +3214,9 @@ coronation_events.0300 = {
#No effect if you are head of faith
if = {
limit = {
NAND = {
exists = faith.religious_head
this = faith.religious_head
NOR = {
religious_head_or_challenger ?= this
scope:activity.var:anointment_authority ?= this
}
}
if = {
@ -3325,6 +3338,7 @@ coronation_events.0301 = {
location = scope:activity.activity_location
culture = scope:activity.activity_location.culture
faith = root.faith
rite = root.rite
save_scope_as = first_candidate
}
}
@ -3345,15 +3359,31 @@ coronation_events.0301 = {
}
if = {
limit = {
faith.religious_head = { #when in Rome
scope:activity = {
has_activity_option = {
category = special_type
option = coronation_type_anointment
}
}
}
coronation_save_anointment_authority_effect = { SCOPE = current_coronation_authority }
}
else_if = {
limit = { exists = religious_head_or_challenger }
religious_head_or_challenger = { save_scope_as = current_coronation_authority }
}
if = {
limit = {
exists = scope:current_coronation_authority
scope:current_coronation_authority = { #when in the authority's realm
location.county = root.location.county
NOT = {
this = scope:first_candidate
}
}
}
}
faith.religious_head = {
scope:current_coronation_authority = {
save_scope_as = second_candidate
}
}
@ -3398,7 +3428,7 @@ coronation_events.0301 = {
option = coronation_type_anointment
}
}
scope:second_candidate ?= root.faith.religious_head
scope:second_candidate ?= scope:current_coronation_authority
}
}
@ -3410,7 +3440,7 @@ coronation_events.0301 = {
option = coronation_type_anointment
}
}
scope:second_candidate ?= root.faith.religious_head
scope:second_candidate ?= scope:current_coronation_authority
}
}
@ -3445,9 +3475,7 @@ coronation_events.0301 = {
option = coronation_type_anointment
}
}
NOT = {
scope:second_candidate = root.faith.religious_head #Whomst to prevent a new pope from blessing you
}
NOT = { scope:second_candidate = scope:current_coronation_authority }
}
scope:second_candidate.piety_level >= 4
@ -3514,9 +3542,7 @@ coronation_events.0301 = {
}
piety_level <= 3
is_ai = no
NOT = {
scope:second_candidate ?= root.faith.religious_head
}
NOT = { scope:second_candidate ?= scope:current_coronation_authority }
}
add_piety_level = -1
@ -4750,7 +4776,6 @@ coronation_events.0310 = {
exists = scope:exalt_crown
any_character_artifact = {
count >= 3
exists = this
}
}
switch = {
@ -5159,12 +5184,6 @@ coronation_events.0312 = { #Guest ending event
}
immediate = {
create_character_memory = {
type = witnessed_a_coronation_memory
participants = {
host = scope:activity.activity_host
}
}
if = {
limit = {
OR = {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff