fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -177,8 +177,8 @@ coronation_events.0100 = {
|
|||
value = oath_university_gold_value
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = learning_oath_temp_development
|
||||
value = oath_university_development_value
|
||||
name = learning_oath_temp_prosperity
|
||||
value = oath_university_prosperity_value
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2087,13 +2087,13 @@ coronation_events.0205 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
animation = jockey_walk
|
||||
animation = jockey_walk # always horse
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
scope:activity.var:activity_special_type_progression >= 25
|
||||
}
|
||||
animation = jockey_wave
|
||||
animation = jockey_wave # always horse
|
||||
}
|
||||
camera = camera_event_horse_left_centered
|
||||
}
|
||||
|
|
@ -2239,51 +2239,58 @@ coronation_events.0205 = {
|
|||
}
|
||||
activity_location = { save_scope_as = location }
|
||||
activity_host = { save_scope_as = bg_override_char }
|
||||
#Guards for orderly east asian ceremonies in the palace
|
||||
if = {
|
||||
limit = {
|
||||
scope:host = {
|
||||
OR = {
|
||||
coronation_host_east_asian_trigger = yes
|
||||
government_has_flag = government_is_steppe_admin
|
||||
}
|
||||
root = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
create_character = {
|
||||
template = mercenary
|
||||
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
|
||||
#Guards for orderly east asian ceremonies in the palace
|
||||
if = {
|
||||
limit = {
|
||||
scope:host = {
|
||||
OR = {
|
||||
coronation_host_east_asian_trigger = yes
|
||||
government_has_flag = government_is_steppe_admin
|
||||
}
|
||||
}
|
||||
}
|
||||
create_character = {
|
||||
template = mercenary
|
||||
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
|
||||
}
|
||||
create_character = {
|
||||
template = mercenary
|
||||
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
|
||||
}
|
||||
}
|
||||
create_character = {
|
||||
template = mercenary
|
||||
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
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_character = {
|
||||
template = generic_peasant_character_no_rags
|
||||
location = scope:location
|
||||
culture = scope:location.culture
|
||||
faith = scope:location.faith
|
||||
rite = scope:location.rite
|
||||
save_scope_as = audience_1
|
||||
}
|
||||
create_character = {
|
||||
template = generic_peasant_character_no_rags
|
||||
location = scope:location
|
||||
culture = scope:location.culture
|
||||
faith = scope:location.faith
|
||||
rite = scope:location.rite
|
||||
save_scope_as = audience_2
|
||||
else = {
|
||||
create_character = {
|
||||
template = generic_peasant_character_no_rags
|
||||
location = scope:location
|
||||
culture = scope:location.culture
|
||||
faith = scope:location.faith
|
||||
rite = scope:location.rite
|
||||
save_scope_as = audience_1
|
||||
}
|
||||
create_character = {
|
||||
template = generic_peasant_character_no_rags
|
||||
location = scope:location
|
||||
culture = scope:location.culture
|
||||
faith = scope:location.faith
|
||||
rite = scope:location.rite
|
||||
save_scope_as = audience_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2730,10 +2737,10 @@ coronation_events.0205 = {
|
|||
# For MP
|
||||
coronation_ready_effect = yes
|
||||
|
||||
scope:audience_1 = {
|
||||
scope:audience_1 ?= {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
scope:audience_2 = {
|
||||
scope:audience_2 ?= {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
#Ask for clergy/nobility approval event
|
||||
|
|
@ -2885,12 +2892,19 @@ coronation_events.0210 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
create_character = {
|
||||
template = bard_template
|
||||
dynasty = none
|
||||
location = root.location
|
||||
gender_female_chance = root_faith_dominant_gender_female_chance
|
||||
save_scope_as = musician
|
||||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
create_character = {
|
||||
template = bard_template
|
||||
dynasty = none
|
||||
location = root.location
|
||||
gender_female_chance = root_faith_dominant_gender_female_chance
|
||||
save_scope_as = musician
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2928,7 +2942,7 @@ coronation_events.0210 = {
|
|||
after = {
|
||||
# For MP
|
||||
coronation_ready_effect = yes
|
||||
scope:musician = {
|
||||
scope:musician ?= {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -2989,7 +3003,7 @@ coronation_events.0300 = {
|
|||
limit = {
|
||||
OR = {
|
||||
cp:councillor_court_chaplain.involved_activity ?= involved_activity
|
||||
cp:councillor_court_chaplain = {
|
||||
cp:councillor_court_chaplain ?= {
|
||||
coronation_events_0200_available_chaplain_trigger = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -4643,7 +4657,7 @@ coronation_events.0310 = {
|
|||
}
|
||||
}
|
||||
|
||||
option = { #embrace_supporters supporter vassals get development boost to their realms
|
||||
option = { #embrace_supporters supporter vassals get prosperity boost to their realms
|
||||
name = coronation_events.0310.h
|
||||
custom_tooltip = coronation_events.0310.h.reward.tooltip
|
||||
trigger = {
|
||||
|
|
@ -4705,7 +4719,7 @@ coronation_events.0310 = {
|
|||
}
|
||||
set_variable = {
|
||||
name = host_had_intent_reward
|
||||
value = flag:vassal_development_boost
|
||||
value = flag:vassal_prosperity_boost
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4844,7 +4858,7 @@ coronation_events.0310 = {
|
|||
}
|
||||
}
|
||||
|
||||
option = { #exalt_crown domain boost development
|
||||
option = { #exalt_crown domain boost prosperity
|
||||
name = coronation_events.0310.k
|
||||
custom_tooltip = coronation_events.0310.k.reward.tooltip
|
||||
trigger = {
|
||||
|
|
@ -4906,7 +4920,7 @@ coronation_events.0310 = {
|
|||
}
|
||||
set_variable = {
|
||||
name = host_had_intent_reward
|
||||
value = flag:host_development_boost
|
||||
value = flag:host_prosperity_boost
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -5213,8 +5227,8 @@ coronation_events.0312 = { #Guest ending event
|
|||
flag:better_councillors = {
|
||||
custom_tooltip = coronation_events.0312.better_councillors
|
||||
}
|
||||
flag:vassal_development_boost = {
|
||||
custom_tooltip = coronation_events.0312.vassal_development_boost
|
||||
flag:vassal_prosperity_boost = {
|
||||
custom_tooltip = coronation_events.0312.vassal_prosperity_boost
|
||||
}
|
||||
flag:vassal_defensive_boost = {
|
||||
custom_tooltip = coronation_events.0312.vassal_defensive_boost
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ coronation_events.1000 = {
|
|||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
has_character_flag = low_county_opinion
|
||||
has_character_flag = low_popular_opinion
|
||||
}
|
||||
desc = coronation_events.1000.low_county_opinion.desc
|
||||
desc = coronation_events.1000.low_popular_opinion.desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -62,7 +62,7 @@ coronation_events.1000 = {
|
|||
}
|
||||
}
|
||||
scope:activity.activity_location.county = {
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
}
|
||||
tyranny >= 20
|
||||
}
|
||||
|
|
@ -102,11 +102,11 @@ coronation_events.1000 = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:activity.activity_location.county = {
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
}
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = low_county_opinion
|
||||
flag = low_popular_opinion
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
@ -265,9 +265,9 @@ coronation_events.1000 = {
|
|||
|
||||
if = {
|
||||
limit = {
|
||||
has_character_flag = low_county_opinion
|
||||
has_character_flag = low_popular_opinion
|
||||
}
|
||||
remove_character_flag = low_county_opinion
|
||||
remove_character_flag = low_popular_opinion
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1874,7 +1874,7 @@ coronation_events.1013 = {
|
|||
trigger = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
involved_activity = {
|
||||
involved_activity ?= {
|
||||
has_activity_type = activity_coronation
|
||||
}
|
||||
}
|
||||
|
|
@ -1887,7 +1887,7 @@ coronation_events.1013 = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
involved_activity = {
|
||||
involved_activity ?= {
|
||||
has_activity_type = activity_feast
|
||||
}
|
||||
}
|
||||
|
|
@ -1902,7 +1902,7 @@ coronation_events.1013 = {
|
|||
NOT = {
|
||||
has_character_flag = poor_activity_option_accident
|
||||
}
|
||||
involved_activity = {
|
||||
involved_activity ?= {
|
||||
any_attending_character = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
|
|
@ -8872,9 +8872,12 @@ coronation_events.1032 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
set_relation_friend = {
|
||||
reason = friend_coronation_honor
|
||||
target = scope:supporter
|
||||
if = {
|
||||
limit = { can_set_relation_friend_trigger = { CHARACTER = scope:supporter } }
|
||||
set_relation_friend = {
|
||||
reason = friend_coronation_honor
|
||||
target = scope:supporter
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
add_opinion = {
|
||||
|
|
@ -9050,9 +9053,9 @@ coronation_events.1033 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
set_relation_nemesis = {
|
||||
target = scope:rival
|
||||
reason = rival_publicly_denounced_at_coronation
|
||||
set_relation_nemesis_effect = {
|
||||
TARGET = scope:rival
|
||||
REASON = rival_publicly_denounced_at_coronation
|
||||
}
|
||||
}
|
||||
else = {
|
||||
|
|
|
|||
|
|
@ -888,9 +888,9 @@ coronation_events.6001 = {
|
|||
}
|
||||
}
|
||||
scope:loyal_vassal = {
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_traitor_to_confederation
|
||||
set_relation_rival_effect = {
|
||||
TARGET = root
|
||||
REASON = rival_traitor_to_confederation
|
||||
}
|
||||
}
|
||||
coronation_move_towards_detractor_effect = { CHARACTER = scope:loyal_vassal }
|
||||
|
|
@ -1591,9 +1591,9 @@ scripted_trigger coronation_events_6011_county_trigger = {
|
|||
any_county_province = {
|
||||
has_holding_type = tribal_holding
|
||||
OR = {
|
||||
has_building_or_higher = palisades_01
|
||||
has_building_or_higher = war_camps_01
|
||||
has_building_or_higher = warrior_lodges_01
|
||||
has_building_or_higher = warrior_households_1
|
||||
has_building_or_higher = fortified_holds_1
|
||||
has_building_or_higher = armed_clans_1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1751,7 +1751,7 @@ coronation_events.6011 = {
|
|||
}
|
||||
else = {
|
||||
ordered_held_title = {
|
||||
order_by = development_level
|
||||
order_by = prosperity_level
|
||||
limit = {
|
||||
tier = tier_county
|
||||
coronation_events_6011_county_trigger = yes
|
||||
|
|
@ -1772,7 +1772,7 @@ coronation_events.6011 = {
|
|||
}
|
||||
else = {
|
||||
ordered_held_title = {
|
||||
order_by = development_level
|
||||
order_by = prosperity_level
|
||||
limit = {
|
||||
tier = tier_county
|
||||
coronation_events_6011_county_trigger = yes
|
||||
|
|
@ -1857,28 +1857,28 @@ coronation_events.6011 = {
|
|||
random_county_province = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_building_or_higher = warrior_lodges_01
|
||||
has_building_or_higher = palisades_01
|
||||
has_building_or_higher = war_camps_01
|
||||
has_building_or_higher = warrior_households_1
|
||||
has_building_or_higher = fortified_holds_1
|
||||
has_building_or_higher = armed_clans_1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_building_or_higher = war_camps_01
|
||||
has_building_or_higher = warrior_households_1
|
||||
}
|
||||
destroy_or_downgrade_tribal_building_effect = { BUILDING = war_camps }
|
||||
destroy_or_downgrade_district_building_effect = { BUILDING = warrior_households }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_building_or_higher = palisades_01
|
||||
has_building_or_higher = fortified_holds_1
|
||||
}
|
||||
destroy_or_downgrade_tribal_building_effect = { BUILDING = palisades }
|
||||
destroy_or_downgrade_district_building_effect = { BUILDING = fortified_holds }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_building_or_higher = warrior_lodges_01
|
||||
has_building_or_higher = armed_clans_1
|
||||
}
|
||||
destroy_or_downgrade_building_effect = { BUILDING = warrior_lodges }
|
||||
destroy_or_downgrade_district_building_effect = { BUILDING = armed_clans }
|
||||
}
|
||||
}
|
||||
random_county_province = {
|
||||
|
|
@ -1893,28 +1893,28 @@ coronation_events.6011 = {
|
|||
random_county_province = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_building_or_higher = warrior_lodges_01
|
||||
has_building_or_higher = palisades_01
|
||||
has_building_or_higher = war_camps_01
|
||||
has_building_or_higher = warrior_households_1
|
||||
has_building_or_higher = fortified_holds_1
|
||||
has_building_or_higher = armed_clans_1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_building_or_higher = war_camps_01
|
||||
has_building_or_higher = warrior_households_1
|
||||
}
|
||||
destroy_or_downgrade_tribal_building_effect = { BUILDING = war_camps }
|
||||
destroy_or_downgrade_district_building_effect = { BUILDING = warrior_households }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_building_or_higher = palisades_01
|
||||
has_building_or_higher = fortified_holds_1
|
||||
}
|
||||
destroy_or_downgrade_tribal_building_effect = { BUILDING = palisades }
|
||||
destroy_or_downgrade_district_building_effect = { BUILDING = fortified_holds }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_building_or_higher = warrior_lodges_01
|
||||
has_building_or_higher = armed_clans_1
|
||||
}
|
||||
destroy_or_downgrade_building_effect = { BUILDING = warrior_lodges }
|
||||
destroy_or_downgrade_district_building_effect = { BUILDING = armed_clans }
|
||||
}
|
||||
}
|
||||
random_county_province = {
|
||||
|
|
@ -2436,7 +2436,7 @@ scripted_trigger coronation_events_6020_supporter_trigger = {
|
|||
}
|
||||
}
|
||||
capital_county ?= {
|
||||
development_level >= 1
|
||||
prosperity_level >= 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2445,15 +2445,15 @@ scripted_effect coronation_events_6020_mass_mobilization_effect = {
|
|||
scope:supporter = {
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = mass_mobilitization_development_progress_value
|
||||
has_variable = mass_mobilitization_prosperity_progress_value
|
||||
}
|
||||
custom_tooltip = mass_mob_dev_progress_tt
|
||||
custom_tooltip = mass_mob_pros_progress_tt
|
||||
hidden_effect = {
|
||||
every_held_title = {
|
||||
limit = {
|
||||
tier = tier_county
|
||||
}
|
||||
change_development_progress_with_overflow = scope:supporter.var:mass_mobilitization_development_progress_value
|
||||
change_prosperity_progress_with_overflow = scope:supporter.var:mass_mobilitization_prosperity_progress_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2473,20 +2473,20 @@ scripted_effect coronation_events_6020_mass_mobilization_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
#Tribal era just does development progress
|
||||
else = {
|
||||
|
||||
custom_tooltip = mass_mob_dev_tt
|
||||
|
||||
custom_tooltip = mass_mob_pros_tt
|
||||
|
||||
hidden_effect = {
|
||||
every_held_title = {
|
||||
limit = {
|
||||
tier = tier_county
|
||||
development_level >= 1
|
||||
prosperity_level >= 1
|
||||
}
|
||||
change_development_level = {
|
||||
add = scope:supporter.var:mass_mobilitization_development_value
|
||||
change_prosperity_level = {
|
||||
add = scope:supporter.var:mass_mobilitization_prosperity_value
|
||||
min = {
|
||||
value = development_level
|
||||
value = prosperity_level
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
|
|
@ -2852,18 +2852,6 @@ scripted_effect coronation_events_6020_declare_war_effect = {
|
|||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_has_mechanic = administrative
|
||||
NOT = {
|
||||
has_variable = admin_permission_to_declare_war
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = admin_gain_war_permission_desc
|
||||
set_variable = admin_permission_to_declare_war
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_feudal
|
||||
vassal_contract_obligation_level:war_declaration_rights < 1
|
||||
|
|
@ -2922,7 +2910,7 @@ scripted_effect coronation_events_6020_declare_war_effect = {
|
|||
ordered_claim = {
|
||||
order_by = tier
|
||||
limit = {
|
||||
holder = {
|
||||
holder ?= {
|
||||
OR = {
|
||||
this ?= $FOE$
|
||||
any_liege_or_above = {
|
||||
|
|
@ -3214,7 +3202,7 @@ coronation_events.6020 = {
|
|||
}
|
||||
scope:supporter = {
|
||||
set_variable = {
|
||||
name = mass_mobilitization_development_progress_value
|
||||
name = mass_mobilitization_prosperity_progress_value
|
||||
value = -50
|
||||
}
|
||||
set_variable = {
|
||||
|
|
@ -3268,7 +3256,7 @@ coronation_events.6020 = {
|
|||
else = {
|
||||
scope:supporter = {
|
||||
set_variable = {
|
||||
name = mass_mobilitization_development_value
|
||||
name = mass_mobilitization_prosperity_value
|
||||
value = {
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3288,7 +3276,7 @@ coronation_events.6020 = {
|
|||
set_variable = {
|
||||
name = mass_mobilitization_total
|
||||
value = {
|
||||
add = var:mass_mobilitization_development_value
|
||||
add = var:mass_mobilitization_prosperity_value
|
||||
multiply = domain_size
|
||||
}
|
||||
}
|
||||
|
|
@ -3360,7 +3348,7 @@ coronation_events.6020 = {
|
|||
trigger = {
|
||||
has_activity_intent = coronation_weaken_detractors
|
||||
}
|
||||
#Increase armies and tank development effect
|
||||
#Increase armies and tank prosperity effect
|
||||
coronation_events_6020_mass_mobilization_effect = yes
|
||||
scope:supporter = {
|
||||
coronation_events_6020_declare_war_effect = { FOE = scope:foe }
|
||||
|
|
@ -3697,8 +3685,8 @@ coronation_events.6020 = {
|
|||
coronation_ready_effect = yes
|
||||
|
||||
scope:supporter = {
|
||||
remove_variable = mass_mobilitization_development_value
|
||||
remove_variable = mass_mobilitization_development_progress_value
|
||||
remove_variable = mass_mobilitization_prosperity_value
|
||||
remove_variable = mass_mobilitization_prosperity_progress_value
|
||||
remove_variable = mass_mobilitization_fertility_value
|
||||
remove_variable = mass_mobilitization_total
|
||||
}
|
||||
|
|
@ -3805,7 +3793,7 @@ coronation_events.6030 = {
|
|||
has_contagious_deadly_disease_trigger = yes
|
||||
has_trait = leper
|
||||
}
|
||||
involved_activity = {
|
||||
involved_activity ?= {
|
||||
activity_host = {
|
||||
OR = {
|
||||
AND = {
|
||||
|
|
@ -5404,7 +5392,7 @@ scripted_effect coronation_events_6101_self_crowning_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:activity.var:anointment_authority ?= {
|
||||
faith.religious_head ?= {
|
||||
save_scope_as = judger
|
||||
}
|
||||
}
|
||||
|
|
@ -8901,48 +8889,22 @@ coronation_events.6121 = {
|
|||
#Break alliance between vassal and foreign ruler
|
||||
scope:vassal_1 = {
|
||||
break_alliance = scope:detractor_ally_1
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_relation_rival = root
|
||||
}
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_accused_of_foreign_collusion
|
||||
}
|
||||
}
|
||||
else = {
|
||||
set_relation_nemesis = {
|
||||
target = root
|
||||
reason = rival_accused_of_foreign_collusion
|
||||
}
|
||||
progress_towards_nemesis_effect = {
|
||||
REASON = rival_accused_of_foreign_collusion
|
||||
CHARACTER = root
|
||||
OPINION = 0
|
||||
}
|
||||
coronation_move_towards_detractor_effect = { CHARACTER = scope:vassal_1 }
|
||||
}
|
||||
scope:vassal_2 = {
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:detractor_ally_2
|
||||
}
|
||||
limit = { exists = scope:detractor_ally_2 }
|
||||
break_alliance = scope:detractor_ally_2
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_relation_rival = root
|
||||
}
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_accused_of_foreign_collusion
|
||||
}
|
||||
}
|
||||
else = {
|
||||
set_relation_nemesis = {
|
||||
target = root
|
||||
reason = rival_accused_of_foreign_collusion
|
||||
}
|
||||
progress_towards_nemesis_effect = {
|
||||
REASON = rival_accused_of_foreign_collusion
|
||||
CHARACTER = root
|
||||
OPINION = 0
|
||||
}
|
||||
coronation_move_towards_detractor_effect = { CHARACTER = scope:vassal_2 }
|
||||
}
|
||||
|
|
@ -8951,7 +8913,7 @@ coronation_events.6121 = {
|
|||
scope:vassal_1 = {
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_influence
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
change_influence = medium_influence_loss
|
||||
}
|
||||
|
|
@ -8962,7 +8924,7 @@ coronation_events.6121 = {
|
|||
scope:vassal_2 = {
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_influence
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
change_influence = medium_influence_loss
|
||||
}
|
||||
|
|
@ -9212,7 +9174,7 @@ coronation_events.6121 = {
|
|||
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_influence
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
}
|
||||
|
|
@ -9228,7 +9190,7 @@ coronation_events.6121 = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_influence
|
||||
government_has_mechanic = administrative
|
||||
top_liege = involved_activity.activity_host
|
||||
}
|
||||
change_influence = minor_influence_gain
|
||||
|
|
@ -9363,16 +9325,6 @@ coronation_events.6121 = {
|
|||
|
||||
|
||||
custom_tooltip = coronation_events.6121_duel_tt
|
||||
configure_start_single_combat_effect = {
|
||||
SC_INITIATOR = root
|
||||
SC_ATTACKER = root
|
||||
SC_DEFENDER = scope:vassal_2
|
||||
FATALITY = always
|
||||
FIXED = no
|
||||
LOCALE = temple
|
||||
OUTPUT_EVENT = single_combat.1006
|
||||
INVALIDATION_EVENT = single_combat.1006
|
||||
}
|
||||
add_dread = major_dread_gain
|
||||
add_prestige = medium_prestige_gain
|
||||
if = {
|
||||
|
|
@ -9394,21 +9346,30 @@ coronation_events.6121 = {
|
|||
}
|
||||
add_tyranny = medium_tyranny_gain
|
||||
}
|
||||
configure_start_single_combat_effect = {
|
||||
SC_INITIATOR = root
|
||||
SC_ATTACKER = root
|
||||
SC_DEFENDER = scope:vassal_2
|
||||
FATALITY = always
|
||||
FIXED = no
|
||||
LOCALE = temple
|
||||
OUTPUT_EVENT = single_combat.1006
|
||||
INVALIDATION_EVENT = single_combat.1006
|
||||
}
|
||||
scope:vassal_2 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
root = { is_alive = yes } # The duel is fatal and can kill root
|
||||
can_set_relation_rival_trigger = { CHARACTER = root }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = rival_duel_attacked
|
||||
set_relation_rival_effect = {
|
||||
TARGET = root
|
||||
REASON = rival_duel_attacked
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
involved_activity ?= scope:activity
|
||||
}
|
||||
limit = { involved_activity ?= scope:activity }
|
||||
coronation_move_towards_detractor_effect = { CHARACTER = scope:vassal_2 }
|
||||
}
|
||||
}
|
||||
|
|
@ -12899,7 +12860,7 @@ scripted_effect coronation_events_6140_spouse_effects = {
|
|||
add_prestige = coronation_spouse_prestige_value
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_influence
|
||||
government_has_mechanic = administrative
|
||||
top_liege.primary_title = scope:host.top_liege.primary_title
|
||||
}
|
||||
change_influence = coronation_spouse_influence_value
|
||||
|
|
@ -13203,7 +13164,6 @@ coronation_events.6140 = {
|
|||
OR = {
|
||||
has_relation_lover = scope:spouse
|
||||
has_relation_crush = scope:spouse
|
||||
has_relation_soulmate = scope:spouse
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13697,7 +13657,6 @@ coronation_events.6140 = {
|
|||
trigger = {
|
||||
OR = {
|
||||
has_relation_lover = scope:spouse
|
||||
has_relation_soulmate = scope:spouse
|
||||
opinion = {
|
||||
target = scope:spouse
|
||||
value >= 90
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue