so much event updating
This commit is contained in:
parent
c4b6d9bdeb
commit
811167944e
135 changed files with 4885 additions and 297691 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -2650,7 +2650,7 @@ ep3_decisions_event.2090 = {
|
|||
remove_variable = confirmation_grace
|
||||
}
|
||||
# Refund any costs
|
||||
add_prestige = standard_activity_cost
|
||||
add_prestige = standard_activity_base_cost
|
||||
}
|
||||
trigger_event = ep3_decisions_event.2080
|
||||
}
|
||||
|
|
@ -4429,6 +4429,12 @@ ep3_decisions_event.4022 = {
|
|||
participants = { missionary = scope:evangelizer sender = scope:sender }
|
||||
}
|
||||
set_character_faith_with_conversion = scope:evangelizer.faith
|
||||
if = {
|
||||
limit = {
|
||||
scope:evangelizer.faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
custom_tooltip = ep3_decisions_event.4022.a.tt
|
||||
custom_tooltip = negotiated_alliance_delay_tt
|
||||
show_as_tooltip = {
|
||||
|
|
@ -5171,6 +5177,23 @@ ep3_decisions_event.4060 = {
|
|||
}
|
||||
add_character_modifier = { modifier = first_admin_emperor }
|
||||
}
|
||||
# NF tooltip
|
||||
if = {
|
||||
limit = { exists = scope:new_title } # some gov types don't need to create a new title
|
||||
get_title = scope:new_title
|
||||
}
|
||||
# Adopting vassal tooltip
|
||||
every_powerful_vassal = {
|
||||
limit = { has_same_government = root }
|
||||
switch = {
|
||||
trigger = has_government
|
||||
japan_administrative_government = { change_government = japan_administrative_government }
|
||||
celestial_government = { change_government = celestial_government }
|
||||
meritocratic_government = { change_government = meritocratic_government }
|
||||
steppe_admin_government = { change_government = steppe_admin_government }
|
||||
fallback = { change_government = administrative_government }
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
ordered_vassal = {
|
||||
|
|
@ -6138,6 +6161,17 @@ ep3_decisions_event.4090 = {
|
|||
desc = appointment_timeout_desc_retired_governor
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
government_is_japanese_trigger = yes
|
||||
}
|
||||
add_gold = major_gold_value
|
||||
change_influence = major_influence_value
|
||||
add_character_modifier = {
|
||||
modifier = renounced_governorship_japan
|
||||
years = 15
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_gold = massive_gold_value
|
||||
add_character_modifier = {
|
||||
|
|
@ -6766,14 +6800,14 @@ ep3_decisions_event.5020 = {
|
|||
ordered_in_list = {
|
||||
list = available_heresies
|
||||
order_by = num_county_followers
|
||||
position = 1
|
||||
position = 0
|
||||
save_scope_as = heresy_1
|
||||
}
|
||||
ordered_in_list = {
|
||||
list = available_heresies
|
||||
limit = { this != scope:heresy_1 }
|
||||
order_by = num_county_followers
|
||||
position = 1
|
||||
position = 0
|
||||
save_scope_as = heresy_2
|
||||
}
|
||||
ordered_in_list = {
|
||||
|
|
@ -6783,7 +6817,7 @@ ep3_decisions_event.5020 = {
|
|||
this != scope:heresy_2
|
||||
}
|
||||
order_by = num_county_followers
|
||||
position = 1
|
||||
position = 0
|
||||
save_scope_as = heresy_3
|
||||
}
|
||||
}
|
||||
|
|
@ -6791,6 +6825,12 @@ ep3_decisions_event.5020 = {
|
|||
option = {
|
||||
name = ep3_decisions_event.5020.a
|
||||
set_character_faith_with_conversion = scope:heresy_1
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy_1 = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
# Otherwise the conversion event will remove the trait
|
||||
add_character_flag = converted_by_heresy_decision
|
||||
|
|
@ -6830,6 +6870,12 @@ ep3_decisions_event.5020 = {
|
|||
exists = scope:heresy_2
|
||||
}
|
||||
set_character_faith_with_conversion = scope:heresy_2
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy_2 = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
# Otherwise the conversion event will remove the trait
|
||||
add_character_flag = converted_by_heresy_decision
|
||||
|
|
@ -6869,6 +6915,12 @@ ep3_decisions_event.5020 = {
|
|||
exists = scope:heresy_3
|
||||
}
|
||||
set_character_faith_with_conversion = scope:heresy_3
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy_3 = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_heresiarch_trait_effect = yes
|
||||
# Otherwise the conversion event will remove the trait
|
||||
add_character_flag = converted_by_heresy_decision
|
||||
|
|
@ -6995,6 +7047,12 @@ ep3_decisions_event.5021 = {
|
|||
root = {
|
||||
primary_title = { set_state_faith = scope:heresy }
|
||||
set_character_faith_with_conversion = scope:heresy
|
||||
if = {
|
||||
limit = {
|
||||
scope:heresy = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:heretic
|
||||
modifier = forced_state_heresy_opinion
|
||||
|
|
@ -7376,9 +7434,22 @@ ep3_decisions_event.6001 = {
|
|||
}
|
||||
}
|
||||
scope:liege = { save_scope_as = new_liege }
|
||||
location.duchy.holder ?= {
|
||||
if = {
|
||||
limit = {
|
||||
this != scope:new_liege
|
||||
can_set_relation_rival_trigger = { CHARACTER = root }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = root
|
||||
reason = seized_my_realm_crime
|
||||
}
|
||||
}
|
||||
}
|
||||
set_variable = separatist_uprising_decision_var
|
||||
set_variable = became_landed_through_separatist_uprising_var
|
||||
location.duchy = {
|
||||
save_scope_as = target
|
||||
add_to_list = transfer_titles
|
||||
# All De Jure Counties held by the liege will be moved over
|
||||
every_de_jure_county = {
|
||||
|
|
@ -7475,11 +7546,12 @@ ep3_decisions_event.6001 = {
|
|||
resolve_title_and_vassal_change = scope:heir_change
|
||||
}
|
||||
}
|
||||
ep3_become_landed_transfer_no_ennobled_modifier_effect = {
|
||||
ep3_become_landed_transfer_effect = {
|
||||
TITLE_RECEIVER = root
|
||||
TITLE_LIST = transfer_titles
|
||||
TYPE = granted
|
||||
REASON = flag:culture_champion
|
||||
ENNOBLED_ADVENTURER = flag:no
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:old_heir ?= {
|
||||
|
|
@ -7536,7 +7608,14 @@ ep3_decisions_event.6001 = {
|
|||
|
||||
option = { # Let me think about it
|
||||
name = ep3_decisions_event.6001.d
|
||||
|
||||
hidden_effect = {
|
||||
send_interface_toast = {
|
||||
title = champion_culture_costs_refunded
|
||||
left_icon = root
|
||||
add_prestige_no_experience = 2000
|
||||
add_short_term_gold = 500
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
##############################
|
||||
# EP3 Admin (Emperor) Events #
|
||||
# by Claudia Baldassi #
|
||||
# 2000 - 2999 #
|
||||
# by Claudia Baldassi #
|
||||
# 2000 - 2999 #
|
||||
##############################
|
||||
|
||||
# Byzantine-only: you have reconquered an important city of the long-lost Empire
|
||||
|
|
@ -161,13 +161,13 @@ ep3_emperor_yearly.2000 = {
|
|||
limit = {
|
||||
scope:county = title:c_tourraine
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_tourraine }
|
||||
NOT = { exists = global_var:ep3_reconquered_tourraine }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_chandax
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_chandax }
|
||||
NOT = { exists = global_var:ep3_reconquered_chandax }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
|
|
@ -176,91 +176,91 @@ ep3_emperor_yearly.2000 = {
|
|||
scope:county = title:c_northumberland
|
||||
}
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_hadrian }
|
||||
NOT = { exists = global_var:ep3_reconquered_hadrian }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_trier
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_trier }
|
||||
NOT = { exists = global_var:ep3_reconquered_trier }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_lombardia
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_lombardia }
|
||||
NOT = { exists = global_var:ep3_reconquered_lombardia }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_murcia
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_murcia }
|
||||
NOT = { exists = global_var:ep3_reconquered_murcia }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tangiers
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_tangiers }
|
||||
NOT = { exists = global_var:ep3_reconquered_tangiers }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tunis
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_tunis }
|
||||
NOT = { exists = global_var:ep3_reconquered_tunis }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_ravenna
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_ravenna }
|
||||
NOT = { exists = global_var:ep3_reconquered_ravenna }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_roma
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_roma }
|
||||
NOT = { exists = global_var:ep3_reconquered_roma }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_siracusa
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_siracusa }
|
||||
NOT = { exists = global_var:ep3_reconquered_siracusa }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_bari
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_bari }
|
||||
NOT = { exists = global_var:ep3_reconquered_bari }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_edessa
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_edessa }
|
||||
NOT = { exists = global_var:ep3_reconquered_edessa }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_abbadan
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_abbadan }
|
||||
NOT = { exists = global_var:ep3_reconquered_abbadan }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_alexandria
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_alexandria }
|
||||
NOT = { exists = global_var:ep3_reconquered_alexandria }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_jerusalem
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_jerusalem }
|
||||
NOT = { exists = global_var:ep3_reconquered_jerusalem }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_antiocheia
|
||||
}
|
||||
NOT = { exists = var:ep3_reconquered_antiocheia }
|
||||
NOT = { exists = global_var:ep3_reconquered_antiocheia }
|
||||
}
|
||||
trigger_else = {
|
||||
always = no
|
||||
|
|
@ -268,6 +268,60 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
switch = {
|
||||
trigger = scope:county
|
||||
title:c_antiocheia = {
|
||||
set_global_variable = ep3_reconquered_antiocheia
|
||||
}
|
||||
title:c_jerusalem = {
|
||||
set_global_variable = ep3_reconquered_jerusalem
|
||||
}
|
||||
title:c_alexandria = {
|
||||
set_global_variable = ep3_reconquered_alexandria
|
||||
}
|
||||
title:c_abbadan = {
|
||||
set_global_variable = ep3_reconquered_abbadan
|
||||
}
|
||||
title:c_edessa = {
|
||||
set_global_variable = ep3_reconquered_edessa
|
||||
}
|
||||
title:c_bari = {
|
||||
set_global_variable = ep3_reconquered_bari
|
||||
}
|
||||
title:c_siracusa = {
|
||||
set_global_variable = ep3_reconquered_siracusa
|
||||
}
|
||||
title:c_roma = {
|
||||
set_global_variable = ep3_reconquered_roma
|
||||
}
|
||||
title:c_ravenna = {
|
||||
set_global_variable = ep3_reconquered_ravenna
|
||||
}
|
||||
title:c_tunis = {
|
||||
set_global_variable = ep3_reconquered_tunis
|
||||
}
|
||||
title:c_tangiers = {
|
||||
set_global_variable = ep3_reconquered_tangiers
|
||||
}
|
||||
title:c_murcia = {
|
||||
set_global_variable = ep3_reconquered_murcia
|
||||
}
|
||||
title:c_lombardia = {
|
||||
set_global_variable = ep3_reconquered_lombardia
|
||||
}
|
||||
title:c_trier = {
|
||||
set_global_variable = ep3_reconquered_trier
|
||||
}
|
||||
title:c_northumberland = {
|
||||
set_global_variable = ep3_reconquered_hadrian
|
||||
}
|
||||
title:c_chandax = {
|
||||
set_global_variable = ep3_reconquered_chandax
|
||||
}
|
||||
title:c_tourraine = {
|
||||
set_global_variable = ep3_reconquered_tourraine
|
||||
}
|
||||
}
|
||||
change_influence = massive_influence_gain
|
||||
add_prestige = major_prestige_gain
|
||||
}
|
||||
|
|
@ -408,112 +462,6 @@ ep3_emperor_yearly.2000 = {
|
|||
}
|
||||
|
||||
after = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:county = title:c_antiocheia
|
||||
}
|
||||
set_global_variable = ep3_reconquered_antiocheia
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_jerusalem
|
||||
}
|
||||
set_global_variable = ep3_reconquered_jerusalem
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_alexandria
|
||||
}
|
||||
set_global_variable = ep3_reconquered_alexandria
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_abbadan
|
||||
}
|
||||
set_global_variable = ep3_reconquered_abbadan
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_edessa
|
||||
}
|
||||
set_global_variable = ep3_reconquered_edessa
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_bari
|
||||
}
|
||||
set_global_variable = ep3_reconquered_bari
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_siracusa
|
||||
}
|
||||
set_global_variable = ep3_reconquered_siracusa
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_roma
|
||||
}
|
||||
set_global_variable = ep3_reconquered_roma
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_ravenna
|
||||
}
|
||||
set_global_variable = ep3_reconquered_ravenna
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tunis
|
||||
}
|
||||
set_global_variable = ep3_reconquered_tunis
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tangiers
|
||||
}
|
||||
set_global_variable = ep3_reconquered_tangiers
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_murcia
|
||||
}
|
||||
set_global_variable = ep3_reconquered_murcia
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_lombardia
|
||||
}
|
||||
set_global_variable = ep3_reconquered_lombardia
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_trier
|
||||
}
|
||||
set_global_variable = ep3_reconquered_trier
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
scope:county = title:c_cumberland
|
||||
scope:county = title:c_northumberland
|
||||
}
|
||||
}
|
||||
set_global_variable = ep3_reconquered_hadrian
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_chandax
|
||||
}
|
||||
set_global_variable = ep3_reconquered_chandax
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county = title:c_tourraine
|
||||
}
|
||||
set_global_variable = ep3_reconquered_tourraine
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
|
|
@ -764,7 +712,7 @@ ep3_emperor_yearly.2020 = {
|
|||
random_character_trait = {
|
||||
limit = {
|
||||
save_temporary_scope_as = temp_trait
|
||||
scoped_trait_is_criminal_in_faith_trigger = { TRAIT = scope:temp_trait FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = scope:temp_trait FAITH = root.faith GENDER_CHARACTER = root }
|
||||
}
|
||||
save_scope_as = target_criminal_trait
|
||||
}
|
||||
|
|
@ -1518,7 +1466,7 @@ ep3_emperor_yearly.2050 = {
|
|||
house = root.house
|
||||
this != root
|
||||
}
|
||||
position = 1
|
||||
position = 0
|
||||
save_scope_as = last_emperor
|
||||
}
|
||||
}
|
||||
|
|
@ -4364,7 +4312,10 @@ ep3_emperor_yearly.2170 = {
|
|||
years = 50
|
||||
}
|
||||
}
|
||||
change_influence = major_influence_gain
|
||||
if = {
|
||||
limit = { government_has_flag = government_has_influence }
|
||||
change_influence = major_influence_gain
|
||||
}
|
||||
stress_impact = {
|
||||
greedy = major_stress_impact_gain
|
||||
paranoid = medium_stress_impact_gain
|
||||
|
|
@ -6214,6 +6165,12 @@ ep3_emperor_yearly.2300 = {
|
|||
faith != liege.primary_title.state_faith
|
||||
}
|
||||
set_character_faith = liege.primary_title.state_faith
|
||||
if = {
|
||||
limit = {
|
||||
liege.primary_title.state_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
stress_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
disloyal = major_stress_impact_gain
|
||||
|
|
@ -6364,6 +6321,12 @@ ep3_emperor_yearly.2310 = {
|
|||
faith != top_liege.primary_title.state_faith
|
||||
}
|
||||
set_character_faith = top_liege.primary_title.state_faith
|
||||
if = {
|
||||
limit = {
|
||||
top_liege.primary_title.state_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
stress_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
|
|
@ -6757,6 +6720,12 @@ ep3_emperor_yearly.2340 = {
|
|||
option = {
|
||||
name = ep3_emperor_yearly.2340.a
|
||||
set_character_faith = top_liege.primary_title.state_faith
|
||||
if = {
|
||||
limit = {
|
||||
top_liege.primary_title.state_faith = { has_doctrine = doctrine_monotheist }
|
||||
}
|
||||
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
top_liege = this
|
||||
|
|
@ -6958,7 +6927,7 @@ ep3_emperor_yearly.2410 = {
|
|||
}
|
||||
send_interface_message = {
|
||||
title = 2410_noble_family_tt
|
||||
type = msg_new_powerful_family
|
||||
type = msg_new_noble_family
|
||||
left_icon = scope:noble_family_head
|
||||
right_icon = scope:new_title
|
||||
desc = 2410_noble_family_tt_desc
|
||||
|
|
@ -7015,6 +6984,7 @@ ep3_emperor_yearly.2420 = {
|
|||
title = 2420_noble_family_tt
|
||||
type = msg_new_powerful_family
|
||||
left_icon = scope:noble_family_head
|
||||
right_icon = scope:noble_family_head.house
|
||||
desc = 2420_noble_family_tt_desc
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -2236,8 +2236,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_incestuous_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = kinslayer
|
||||
|
|
@ -2250,8 +2250,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { has_trait = adulterer }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = fornicator
|
||||
|
|
@ -2263,24 +2263,24 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = deviant
|
||||
NOT = {
|
||||
root = { is_deviant_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = witch
|
||||
NOT = {
|
||||
root = { is_witch_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = sodomite
|
||||
|
|
@ -2292,16 +2292,16 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
has_trait = cannibal
|
||||
NOT = {
|
||||
root = { is_cannibal_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:emperor_temp.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor_temp }
|
||||
}
|
||||
AND = {
|
||||
root.culture = {
|
||||
|
|
@ -2346,8 +2346,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_incestuous_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:incestuous FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2380,8 +2380,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { has_trait = adulterer }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:adulterer FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2401,8 +2401,8 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:fornicator FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2417,8 +2417,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_deviant_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2433,8 +2433,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_witch_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = witch FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2454,8 +2454,8 @@ ep3_governor_yearly.3020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:sodomite FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -2470,8 +2470,8 @@ ep3_governor_yearly.3020 = {
|
|||
NOT = {
|
||||
root = { is_cannibal_trigger = yes }
|
||||
}
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:emperor.faith GENDER_CHARACTER = scope:emperor }
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = scope:emperor }
|
||||
}
|
||||
random_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -5386,7 +5386,7 @@ ep3_governor_yearly.3060 = {
|
|||
trigger = {
|
||||
scope:emperor = {
|
||||
capital_county = title:c_byzantion
|
||||
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
|
||||
religion = religion:christianity_religion
|
||||
NOT = {
|
||||
has_character_flag = ep3_new_emperor_afield
|
||||
}
|
||||
|
|
@ -5399,7 +5399,7 @@ ep3_governor_yearly.3060 = {
|
|||
NOT = {
|
||||
scope:emperor = {
|
||||
capital_county = title:c_byzantion
|
||||
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
|
||||
religion = religion:christianity_religion
|
||||
}
|
||||
}
|
||||
scope:emperor = {
|
||||
|
|
@ -5455,7 +5455,7 @@ ep3_governor_yearly.3060 = {
|
|||
left_portrait = {
|
||||
character = scope:emperor
|
||||
triggered_animation = {
|
||||
trigger = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } }
|
||||
trigger = { religion = religion:christianity_religion }
|
||||
animation = acknowledging # anim uses crucifix scepter
|
||||
}
|
||||
animation = war_over_win
|
||||
|
|
@ -5466,21 +5466,12 @@ ep3_governor_yearly.3060 = {
|
|||
camera = camera_event_right_forward
|
||||
}
|
||||
lower_right_portrait = scope:previous_holder
|
||||
trigger = {
|
||||
exists = scope:emperor
|
||||
scope:emperor = {
|
||||
is_alive = yes
|
||||
}
|
||||
top_liege ?= {
|
||||
this = scope:emperor
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
play_sound_effect = "event:/DLC/EP3/SFX/Stingers/Byzantine_Flavor/ep3_mx_sting_byzantineflavor_become_emperor"
|
||||
tgp_save_realm_ceremonial_liege_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
scope:ceremonial_liege = scope:emperor
|
||||
scope:ceremonial_liege ?= scope:emperor
|
||||
}
|
||||
clear_saved_scope = ceremonial_liege
|
||||
}
|
||||
|
|
@ -5494,7 +5485,7 @@ ep3_governor_yearly.3060 = {
|
|||
is_in_army = yes
|
||||
}
|
||||
#Is not at sea
|
||||
location = {
|
||||
location.county = {
|
||||
exists = holder
|
||||
}
|
||||
}
|
||||
|
|
@ -6896,7 +6887,6 @@ ep3_governor_yearly.3070 = {
|
|||
limit = {
|
||||
ep3_governor_yearly_3070_close_governor_trigger = yes
|
||||
save_temporary_scope_as = temp_vassal
|
||||
ep3_governor_yearly_3070_close_governor_trigger = yes
|
||||
"scope:liege.capital_province.squared_distance(scope:temp_vassal.capital_province)" < 25000
|
||||
}
|
||||
save_scope_as = close_governor
|
||||
|
|
@ -6959,10 +6949,16 @@ ep3_governor_yearly.3070 = {
|
|||
trigger = {
|
||||
is_landed = no
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
domicile = {
|
||||
move_domicile = scope:liege.capital_province
|
||||
custom_tooltip = {
|
||||
text = domicile_move_to_province.tt
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
hidden_effect = {
|
||||
domicile = {
|
||||
move_domicile = scope:liege.capital_province
|
||||
}
|
||||
}
|
||||
|
||||
house = {
|
||||
every_house_member = {
|
||||
custom = custom.every_house_member
|
||||
|
|
|
|||
|
|
@ -767,6 +767,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
|
|||
has_graphical_mena_culture_group_trigger = yes
|
||||
has_graphical_african_culture_group_trigger = yes
|
||||
has_building_gfx = indian_building_gfx
|
||||
has_building_gfx = tibetan_building_gfx
|
||||
}
|
||||
}
|
||||
NOT = { government_has_flag = government_is_tribal }
|
||||
|
|
@ -782,6 +783,7 @@ ep3_interactions_events.0031 = { # By Jason Cantalini
|
|||
has_graphical_mena_culture_group_trigger = yes
|
||||
has_graphical_african_culture_group_trigger = yes
|
||||
has_building_gfx = indian_building_gfx
|
||||
has_building_gfx = tibetan_building_gfx
|
||||
}
|
||||
}
|
||||
government_has_flag = government_is_tribal
|
||||
|
|
@ -1549,6 +1551,13 @@ ep3_interactions_events.0111 = {
|
|||
scope:actor.primary_title ?= this
|
||||
scope:actor.capital_county.de_jure_liege ?= this
|
||||
}
|
||||
any_de_jure_county = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
is_noble_family_title = no
|
||||
is_landless_type_title = no
|
||||
}
|
||||
|
|
@ -1562,16 +1571,26 @@ ep3_interactions_events.0111 = {
|
|||
scope:actor.primary_title ?= this
|
||||
scope:actor.capital_county.de_jure_liege ?= this
|
||||
}
|
||||
any_de_jure_county = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
is_noble_family_title = no
|
||||
is_landless_type_title = no
|
||||
}
|
||||
add_to_list = purchased_titles
|
||||
if = {
|
||||
limit = { tier = tier_duchy }
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
add_to_list = purchased_titles
|
||||
every_de_jure_county = {
|
||||
limit = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1594,7 +1613,13 @@ ep3_interactions_events.0111 = {
|
|||
if = {
|
||||
limit = { tier = tier_duchy }
|
||||
every_de_jure_county = {
|
||||
limit = { ep3_purchase_land_valid_county_trigger = yes }
|
||||
limit = {
|
||||
holder.top_liege = scope:actor
|
||||
NOR = {
|
||||
scope:actor.capital_county ?= this
|
||||
scope:actor.primary_title ?= this
|
||||
}
|
||||
}
|
||||
add_to_list = purchased_titles
|
||||
}
|
||||
}
|
||||
|
|
@ -1608,6 +1633,7 @@ ep3_interactions_events.0111 = {
|
|||
is_landless_type_title = no
|
||||
}
|
||||
save_scope_as = new_primary_title
|
||||
save_scope_as = target
|
||||
}
|
||||
|
||||
scope:actor = {
|
||||
|
|
@ -1617,6 +1643,7 @@ ep3_interactions_events.0111 = {
|
|||
random_character_artifact = {
|
||||
limit = {
|
||||
scope:recipient = { can_equip_artifact = prev }
|
||||
artifact_can_be_gift_to_trigger = { RECIPIENT = scope:recipient }
|
||||
}
|
||||
save_scope_as = actor_artifact
|
||||
}
|
||||
|
|
@ -1671,6 +1698,7 @@ ep3_interactions_events.0111 = {
|
|||
TITLE_LIST = purchased_titles
|
||||
TYPE = granted
|
||||
REASON = flag:purchased
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
|
|
@ -2025,6 +2053,34 @@ ep3_interactions_events.0111 = {
|
|||
}
|
||||
}
|
||||
|
||||
#Refuse all for 5 years
|
||||
option = {
|
||||
name = ep3_interactions_events.0111.refuse_5_years
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
left_icon = scope:actor
|
||||
right_icon = scope:recipient
|
||||
title = ep3_interactions_events.0111.refuse
|
||||
scope:actor = {
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = rejected_hiring_as_mercenaries
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = ep3_interactions_events.0111.refuse_5_years.tt
|
||||
|
||||
add_character_flag = {
|
||||
flag = ai_hire_blocker
|
||||
years = 5
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
|
||||
#Refuse
|
||||
option = {
|
||||
name = ep3_interactions_events.0111.f
|
||||
|
|
@ -2110,6 +2166,7 @@ ep3_interactions_events.0112 = {
|
|||
TITLE_LIST = purchased_titles
|
||||
TYPE = granted
|
||||
REASON = flag:purchased
|
||||
ENNOBLED_ADVENTURER = flag:yes
|
||||
}
|
||||
# Extra purchase land specific
|
||||
scope:actor = {
|
||||
|
|
@ -2179,7 +2236,10 @@ ep3_interactions_events.0112 = {
|
|||
add_defender = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
add_character_flag = joined_as_mercenary
|
||||
set_variable = {
|
||||
name = joined_as_mercenary
|
||||
value = scope:actor
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
|
|
@ -2373,7 +2433,10 @@ ep3_interactions_events.0112 = {
|
|||
add_defender = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
add_character_flag = joined_as_mercenary
|
||||
set_variable = {
|
||||
name = joined_as_mercenary
|
||||
value = scope:actor
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 1000
|
||||
|
|
@ -2436,11 +2499,11 @@ ep3_interactions_events.0121 = {
|
|||
limit = {
|
||||
is_alive = yes
|
||||
}
|
||||
save_temporary_scope_as = laamp_temp
|
||||
save_scope_as = laamp_temp
|
||||
scope:employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = ep3_hire_laamp_mercs_payment_value
|
||||
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
@ -2475,16 +2538,16 @@ ep3_interactions_events.0121 = {
|
|||
limit = {
|
||||
is_alive = yes
|
||||
}
|
||||
save_temporary_scope_as = laamp_temp
|
||||
save_temporary_scope_as = laamp_temp_b
|
||||
save_scope_value_as = {
|
||||
name = war_contribution_value
|
||||
value = "scope:war.war_contribution(scope:laamp_temp)"
|
||||
value = "scope:war.war_contribution(scope:laamp_temp_b)"
|
||||
}
|
||||
scope:employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = {
|
||||
add = ep3_hire_laamp_mercs_payment_value
|
||||
add = scope:laamp_temp_b.ep3_hire_laamp_mercs_payment_value
|
||||
divide = 2
|
||||
}
|
||||
}
|
||||
|
|
@ -2625,7 +2688,7 @@ ep3_interactions_events.0122 = {
|
|||
scope:employer = {
|
||||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = ep3_hire_laamp_mercs_payment_value
|
||||
value = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2636,7 +2699,7 @@ ep3_interactions_events.0122 = {
|
|||
pay_treasury_or_gold = {
|
||||
target = prev
|
||||
value = {
|
||||
add = ep3_hire_laamp_mercs_payment_value
|
||||
add = scope:laamp_temp.ep3_hire_laamp_mercs_payment_value
|
||||
divide = 2
|
||||
}
|
||||
}
|
||||
|
|
@ -2899,10 +2962,10 @@ ep3_interactions_events.0500 = {
|
|||
show_as_unavailable = { always = yes }
|
||||
custom_description_no_bullet = {
|
||||
text = evict_adventurer_consequences_tt
|
||||
object = scope:recipient
|
||||
subject = scope:actor
|
||||
object = scope:actor
|
||||
subject = scope:recipient
|
||||
}
|
||||
custom_tooltip = evict_adventurer_casus_belli_tt
|
||||
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
|
||||
show_as_tooltip = {
|
||||
reverse_add_opinion = {
|
||||
target = scope:actor
|
||||
|
|
@ -2918,17 +2981,20 @@ ep3_interactions_events.0500 = {
|
|||
}
|
||||
custom_description_no_bullet = {
|
||||
text = evict_adventurer_consequences_tt
|
||||
object = scope:recipient
|
||||
subject = scope:actor
|
||||
object = scope:actor
|
||||
subject = scope:recipient
|
||||
}
|
||||
custom_tooltip = evict_adventurer_forced_tt
|
||||
custom_tooltip = evict_adventurer_forced_tt.part_2
|
||||
scope:actor = { custom_tooltip = evict_adventurer_casus_belli_tt }
|
||||
show_as_tooltip = {
|
||||
reverse_add_opinion = {
|
||||
target = scope:actor
|
||||
modifier = eviction_ignored_opinion
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
custom_tooltip = evict_adventurer_forced_tt
|
||||
custom_tooltip = evict_adventurer_forced_tt.part_2
|
||||
}
|
||||
}
|
||||
|
||||
after = { trigger_event = ep3_interactions_events.0502 }
|
||||
|
|
@ -3006,7 +3072,7 @@ ep3_interactions_events.0501 = {
|
|||
interaction = imprison_interaction
|
||||
actor = scope:expeller
|
||||
recipient = scope:adventurer
|
||||
execute_threshold = decline
|
||||
send_threshold = decline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4284,9 +4350,7 @@ ep3_interactions_events.0610 = {
|
|||
ordered_succession_appointment_investors = {
|
||||
candidate = root
|
||||
limit = {
|
||||
NOT = {
|
||||
house ?= root.house
|
||||
}
|
||||
NOT = { house ?= root.house }
|
||||
is_alive = yes
|
||||
is_imprisoned = no
|
||||
NOR = {
|
||||
|
|
@ -4299,34 +4363,18 @@ ep3_interactions_events.0610 = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exists = scope:new_landed_admin
|
||||
}
|
||||
NOT = { exists = scope:new_landed_admin }
|
||||
}
|
||||
save_scope_as = new_landed_admin
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
top_liege != this
|
||||
|
||||
}
|
||||
}
|
||||
scope:recipient.top_liege = {
|
||||
save_scope_as = emperor
|
||||
}
|
||||
limit = { scope:recipient.top_liege != this }
|
||||
scope:recipient.top_liege = { save_scope_as = emperor }
|
||||
}
|
||||
else = {
|
||||
scope:recipient = {
|
||||
save_scope_as = emperor
|
||||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
get_title = primary_title
|
||||
domicile = {
|
||||
add_domicile_building = estate_main_01
|
||||
}
|
||||
scope:recipient = { save_scope_as = emperor }
|
||||
}
|
||||
show_as_tooltip = { get_title = primary_title }
|
||||
}
|
||||
|
||||
#I'm a new kinda landless now
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,328 +0,0 @@
|
|||
namespace = ep3_laamp_flavor_oltner
|
||||
|
||||
scripted_trigger suitable_pool_marriage_trigger = {
|
||||
save_temporary_scope_as = pool_marriage_target
|
||||
is_physically_able_adult = yes
|
||||
allowed_to_marry_character_gender_trigger = { CHARACTER = $FOLLOWER_TARGET$ }
|
||||
$FOLLOWER_TARGET$ ?= { allowed_to_marry_character_gender_trigger = { CHARACTER = prev } }
|
||||
are_characters_sensible_lovers_trigger = { INSTIGATING_LOVER = $FOLLOWER_TARGET$ TARGET_OF_LOVE = scope:pool_marriage_target }
|
||||
is_married = no
|
||||
can_marry_trigger = yes
|
||||
is_concubine = no
|
||||
NOT = {
|
||||
exists = betrothed
|
||||
}
|
||||
has_no_particular_noble_roots_trigger = yes
|
||||
}
|
||||
|
||||
scripted_trigger suitable_follower_marriage_character_trigger = {
|
||||
is_physically_able_adult = yes
|
||||
this != root
|
||||
is_married = no
|
||||
can_marry_trigger = yes
|
||||
is_concubine = no
|
||||
age <= 50
|
||||
health >= fine_health
|
||||
NOR = {
|
||||
house = root.house
|
||||
is_close_family_of = root
|
||||
exists = betrothed
|
||||
has_relation_rival = root
|
||||
}
|
||||
save_temporary_scope_as = entourage_member
|
||||
any_pool_character = {
|
||||
province = root.location
|
||||
age <= 40
|
||||
health >= fine_health
|
||||
suitable_pool_marriage_trigger = { FOLLOWER_TARGET = scope:entourage_member }
|
||||
}
|
||||
}
|
||||
|
||||
# A Follower's Heart
|
||||
ep3_laamp_flavor_oltner.0001 = {
|
||||
type = character_event
|
||||
title = ep3_laamp_flavor_oltner.3001.t
|
||||
desc = ep3_laamp_flavor_oltner.3001.desc
|
||||
theme = marriage
|
||||
override_background = { reference = market_scope }
|
||||
left_portrait = {
|
||||
character = scope:entourage_to_marry_2
|
||||
animation = beg
|
||||
camera = camera_event_very_left
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:marriage_material
|
||||
animation = dismissal
|
||||
camera = camera_event_right_pointing_left
|
||||
}
|
||||
cooldown = { years = 10 }
|
||||
|
||||
trigger = {
|
||||
has_government = landless_adventurer_government
|
||||
location = {
|
||||
has_holding = yes
|
||||
}
|
||||
any_courtier = {
|
||||
suitable_follower_marriage_character_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
save_scope_as = root_char
|
||||
random_courtier = {
|
||||
limit = {
|
||||
suitable_follower_marriage_character_trigger = yes
|
||||
}
|
||||
save_scope_as = entourage_to_marry_2
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.location
|
||||
limit = {
|
||||
suitable_pool_marriage_trigger = { FOLLOWER_TARGET = scope:entourage_to_marry_2 }
|
||||
}
|
||||
save_scope_as = marriage_material
|
||||
}
|
||||
location.county.title_province = { save_scope_as = background_market_scope }
|
||||
}
|
||||
|
||||
option = { # Tell them to pay it themselves
|
||||
name = ep3_laamp_flavor_oltner.0001.a
|
||||
|
||||
trigger = {
|
||||
scope:entourage_to_marry_2.gold >= {
|
||||
add = scope:marriage_material.sum_of_all_skills_and_prowess_value
|
||||
}
|
||||
}
|
||||
|
||||
scope:entourage_to_marry_2 = {
|
||||
remove_short_term_gold = {
|
||||
add = scope:marriage_material.sum_of_all_skills_value
|
||||
add = scope:marriage_material.prowess
|
||||
}
|
||||
}
|
||||
|
||||
add_courtier = scope:marriage_material
|
||||
scope:entourage_to_marry_2 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_female = yes
|
||||
is_lowborn = no
|
||||
scope:marriage_material = {
|
||||
is_lowborn = yes
|
||||
}
|
||||
}
|
||||
marry_matrilineal = scope:marriage_material
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_male = yes
|
||||
is_lowborn = yes
|
||||
scope:marriage_material = {
|
||||
is_lowborn = no
|
||||
}
|
||||
}
|
||||
marry_matrilineal = scope:marriage_material
|
||||
}
|
||||
else = {
|
||||
marry = scope:marriage_material
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Pay the dowry
|
||||
name = ep3_laamp_flavor_oltner.0001.b
|
||||
stress_impact = {
|
||||
generous = massive_stress_impact_loss
|
||||
greedy = medium_stress_impact_gain
|
||||
}
|
||||
|
||||
remove_short_term_gold = {
|
||||
add = scope:marriage_material.sum_of_all_skills_and_prowess_value
|
||||
}
|
||||
|
||||
add_courtier = scope:marriage_material
|
||||
scope:entourage_to_marry_2 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_female = yes
|
||||
is_lowborn = no
|
||||
scope:marriage_material = {
|
||||
is_lowborn = yes
|
||||
}
|
||||
}
|
||||
marry_matrilineal = scope:marriage_material
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_male = yes
|
||||
is_lowborn = yes
|
||||
scope:marriage_material = {
|
||||
is_lowborn = no
|
||||
}
|
||||
}
|
||||
marry_matrilineal = scope:marriage_material
|
||||
}
|
||||
else = {
|
||||
marry = scope:marriage_material
|
||||
}
|
||||
progress_towards_friend_effect = {
|
||||
CHARACTER = root
|
||||
OPINION = 0
|
||||
REASON = friend_helped_me_marry
|
||||
}
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = grateful_opinion
|
||||
opinion = 50
|
||||
}
|
||||
}
|
||||
|
||||
scope:marriage_material = { save_scope_as = relationship_reason_involved_character }
|
||||
|
||||
clear_saved_scope = relationship_reason_involved_character
|
||||
|
||||
ai_chance = {
|
||||
base = 10
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
OR = {
|
||||
has_trait = greedy
|
||||
gold <= {
|
||||
add = scope:marriage_material.sum_of_all_skills_and_prowess_value
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Convince them to run away with you
|
||||
name = ep3_laamp_flavor_oltner.0001.c
|
||||
skill = intrigue
|
||||
stress_impact = {
|
||||
generous = medium_stress_impact_gain
|
||||
}
|
||||
|
||||
duel = {
|
||||
skill = intrigue
|
||||
value = high_skill_rating
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = ep3_laamp_flavor_oltner.0001.c.success
|
||||
send_interface_toast = {
|
||||
title = ep3_laamp_flavor_oltner.0001.c.success
|
||||
left_icon = scope:entourage_to_marry_2
|
||||
right_icon = scope:marriage_material
|
||||
add_courtier = scope:marriage_material
|
||||
scope:entourage_to_marry_2 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_female = yes
|
||||
is_lowborn = no
|
||||
scope:marriage_material = {
|
||||
is_lowborn = yes
|
||||
}
|
||||
}
|
||||
marry_matrilineal = scope:marriage_material
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_male = yes
|
||||
is_lowborn = yes
|
||||
scope:marriage_material = {
|
||||
is_lowborn = no
|
||||
}
|
||||
}
|
||||
marry_matrilineal = scope:marriage_material
|
||||
}
|
||||
else = {
|
||||
marry = scope:marriage_material
|
||||
}
|
||||
progress_towards_friend_effect = {
|
||||
CHARACTER = root
|
||||
OPINION = 0
|
||||
REASON = friend_helped_me_marry
|
||||
}
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = grateful_opinion
|
||||
opinion = 50
|
||||
}
|
||||
}
|
||||
|
||||
scope:marriage_material = { save_scope_as = relationship_reason_involved_character }
|
||||
clear_saved_scope = relationship_reason_involved_character
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = ep3_laamp_flavor_oltner.0001.c.failure
|
||||
send_interface_toast = {
|
||||
title = ep3_laamp_flavor_oltner.0001.c.failure
|
||||
left_icon = scope:entourage_to_marry_2
|
||||
right_icon = scope:marriage_material
|
||||
scope:entourage_to_marry_2 = {
|
||||
add_stress = medium_stress_gain
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = disappointed_opinion
|
||||
opinion = -30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 10
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_trait = generous
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Ignore your follower
|
||||
name = ep3_laamp_flavor_oltner.0001.d
|
||||
stress_impact = {
|
||||
compassionate = medium_stress_impact_gain
|
||||
generous = medium_stress_impact_gain
|
||||
callous = minor_stress_impact_loss
|
||||
sadistic = minor_stress_impact_loss
|
||||
chaste = minor_stress_impact_loss
|
||||
shy = minor_stress_impact_loss
|
||||
}
|
||||
scope:entourage_to_marry_2 = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = heartbroken_opinion
|
||||
opinion = -30
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
OR = {
|
||||
has_trait = compassionate
|
||||
has_trait = generous
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,521 +0,0 @@
|
|||
namespace = ep3_roman_restoration
|
||||
|
||||
#######################################
|
||||
###
|
||||
### EP3 RESTORE ROME STORY CYCLE EVENTS
|
||||
### by Chad Uhl
|
||||
###
|
||||
### 0100 Justinian's Dream
|
||||
### 0101-0109 Rome Reformed Notifications
|
||||
### 0300-0590 Post-Restoration Difficulties
|
||||
###
|
||||
#######################################
|
||||
|
||||
# Justinian's Dream
|
||||
# Event fired on story cycle setup informing the player that they can form the roman empire
|
||||
ep3_roman_restoration.0001 = {
|
||||
type = character_event
|
||||
title = ep3_roman_restoration.0001.t
|
||||
desc = ep3_roman_restoration.0001.desc
|
||||
theme = emperor
|
||||
|
||||
override_background = {
|
||||
trigger = { capital_county = title:c_byzantion }
|
||||
reference = ep3_constantinople
|
||||
}
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = emotion_thinking_scepter
|
||||
}
|
||||
|
||||
trigger = {
|
||||
NOT = { has_global_variable = flag_restored_roman_empire }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_roman_restoration.0001.a
|
||||
custom_tooltip = ep3_roman_restoration.0001.a.tt
|
||||
decision:restore_roman_empire_decision = {
|
||||
open_view_data = {
|
||||
view = decision_detail
|
||||
player = root
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Should I LARP or nah?
|
||||
ep3_roman_restoration.0100 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
title = ep3_roman_restoration.0100.t
|
||||
desc = ep3_roman_restoration.0100.desc
|
||||
theme = emperor
|
||||
override_background = { reference = ep3_fullscreen_restore_rome }
|
||||
|
||||
immediate = {
|
||||
save_scope_as = scoped_emperor
|
||||
}
|
||||
|
||||
option = { # LARP (Hard Mode)
|
||||
name = ep3_roman_restoration.0100.a
|
||||
custom_tooltip = ep3_roman_restoration.hard_mode
|
||||
custom_tooltip = ep3_roman_restoration.end_hard_mode
|
||||
custom_tooltip = ep3_roman_restoration.invasion_cb
|
||||
every_held_title = {
|
||||
limit = {
|
||||
is_head_of_faith = yes
|
||||
}
|
||||
root = {
|
||||
destroy_title = prev
|
||||
}
|
||||
}
|
||||
set_character_faith = faith:hellenic_pagan
|
||||
primary_title = { set_state_faith = faith:hellenic_pagan }
|
||||
every_held_title = {
|
||||
custom = custom.every_held_county
|
||||
title_tier = county
|
||||
set_county_faith = faith:hellenic_pagan
|
||||
}
|
||||
every_vassal = {
|
||||
custom = custom.every_vassal
|
||||
limit = {
|
||||
NOT = {
|
||||
any_held_title = {
|
||||
is_head_of_faith = yes # you cannot convert the Ecumenical Patriarch, sorry
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = may_choose_to_convert_hellenic_desc
|
||||
run_interaction = { # We use the same interaction as when creating a new faith to keep a consistent behaviour, since that is essentially what you're doing here
|
||||
interaction = ask_for_conversion_interaction
|
||||
actor = root
|
||||
recipient = this
|
||||
execute_threshold = accept
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = ep3_roman_restoration.household_gods_tenet
|
||||
set_global_variable = household_gods_tenet_unlocked
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = uses_custom_caesar_flavourization_tt
|
||||
set_variable = uses_custom_caesar_flavourization
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_story = { type = ep3_story_cycle_restoring_rome }
|
||||
}
|
||||
random_owned_story = {
|
||||
type = ep3_story_cycle_restoring_rome
|
||||
set_variable = roman_empire_hard_mode
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Roleplay option (become Hellenic without Hard Mode)
|
||||
name = ep3_roman_restoration.0100.c
|
||||
custom_tooltip = ep3_roman_restoration.easy_mode
|
||||
every_held_title = {
|
||||
limit = {
|
||||
is_head_of_faith = yes
|
||||
}
|
||||
root = {
|
||||
destroy_title = prev
|
||||
}
|
||||
}
|
||||
set_character_faith = faith:hellenic_pagan
|
||||
primary_title = { set_state_faith = faith:hellenic_pagan }
|
||||
every_held_title = {
|
||||
custom = custom.every_held_county
|
||||
title_tier = county
|
||||
set_county_faith = faith:hellenic_pagan
|
||||
}
|
||||
every_vassal = {
|
||||
custom = custom.every_vassal
|
||||
limit = {
|
||||
NOT = {
|
||||
any_held_title = {
|
||||
is_head_of_faith = yes # you cannot convert the Ecumenical Patriarch, sorry
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = may_choose_to_convert_hellenic_desc
|
||||
run_interaction = { # We use the same interaction as when creating a new faith to keep a consistent behaviour, since that is essentially what you're doing here
|
||||
interaction = ask_for_conversion_interaction
|
||||
actor = root
|
||||
recipient = this
|
||||
execute_threshold = accept
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = ep3_roman_restoration.household_gods_tenet
|
||||
set_global_variable = household_gods_tenet_unlocked
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = uses_custom_caesar_flavourization_tt
|
||||
set_variable = uses_custom_caesar_flavourization
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Easy Mode
|
||||
name = ep3_roman_restoration.0100.b
|
||||
custom_tooltip = ep3_roman_restoration.easy_mode
|
||||
}
|
||||
|
||||
after = {
|
||||
create_roman_empire_scripted_effect = yes
|
||||
set_nickname_effect = { NICKNAME = nick_the_glorious }
|
||||
# Send narrative fluff to other players (if any).
|
||||
every_player = {
|
||||
limit = { this != root }
|
||||
trigger_event = ep3_roman_restoration.0101
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Some chucklefuck restored Rome
|
||||
ep3_roman_restoration.0101 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
title = roman_restoration.0002.t
|
||||
desc = {
|
||||
desc = ep3_roman_restoration.0101.intro
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:scoped_emperor.primary_title.state_faith ?= faith:hellenic_pagan }
|
||||
desc = ep3_roman_restoration.0101.hellenic
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:scoped_emperor.primary_title.state_faith ?= faith:orthodox }
|
||||
desc = ep3_roman_restoration.0101.orthodox
|
||||
}
|
||||
desc = ep3_roman_restoration.0101.fallback
|
||||
}
|
||||
desc = ep3_roman_restoration.0101.outro
|
||||
}
|
||||
theme = emperor
|
||||
override_background = { reference = ep3_fullscreen_restore_rome }
|
||||
|
||||
immediate = {
|
||||
#Same-faith non-empire tier rulers are over-awed.
|
||||
if = {
|
||||
limit = { faith = scope:scoped_emperor.primary_title.state_faith }
|
||||
play_music_cue = "mx_cue_epic_sacral_moment"
|
||||
}
|
||||
#Otherwise, this is a tacit statement of imperial threat.
|
||||
else = { play_music_cue = "mx_cue_combat_2" }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_roman_restoration.0101.a
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#######################################
|
||||
### POST-ROME DIFFICULTIES
|
||||
|
||||
# Your inefficient governor messed up, causing mass loss in popular opinion. Can you fix it?
|
||||
ep3_roman_restoration.0300 = {
|
||||
type = character_event
|
||||
title = ep3_roman_restoration.0300.t
|
||||
desc = ep3_roman_restoration.0300.desc
|
||||
theme = emperor
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = anger
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:inefficient_governor
|
||||
animation = shock
|
||||
}
|
||||
|
||||
cooldown = { years = 20 }
|
||||
|
||||
immediate = {
|
||||
ordered_vassal = {
|
||||
limit = {
|
||||
is_governor = yes
|
||||
is_ai = yes
|
||||
}
|
||||
order_by = { # Mostly sort by governor efficiency
|
||||
value = governor_efficiency
|
||||
multiply = -10
|
||||
# Prefer governors with a larger realm size for more difficulty
|
||||
add = sub_realm_size
|
||||
}
|
||||
save_scope_as = inefficient_governor
|
||||
}
|
||||
custom_tooltip = ep3_roman_restoration.0300.efficiency
|
||||
}
|
||||
|
||||
option = { # Stewardship Challenge
|
||||
name = ep3_roman_restoration.0300.a
|
||||
duel = {
|
||||
skill = stewardship
|
||||
value = excellent_skill_level
|
||||
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = ep3_roman_restoration.0300.a.success
|
||||
left_icon = scope:inefficient_governor
|
||||
right_icon = scope:inefficient_governor.primary_title
|
||||
|
||||
scope:inefficient_governor = {
|
||||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_recuperated_county_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = ep3_roman_restoration.0300.a.failure
|
||||
left_icon = scope:inefficient_governor
|
||||
right_icon = scope:inefficient_governor.primary_title
|
||||
|
||||
scope:inefficient_governor = {
|
||||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_devastated_county_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Fire the Governor
|
||||
name = ep3_roman_restoration.0300.b
|
||||
change_influence = massive_influence_loss
|
||||
save_scope_as = actor
|
||||
scope:inefficient_governor = {
|
||||
save_scope_as = recipient
|
||||
primary_title = { save_scope_as = landed_title }
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = hook
|
||||
value = no
|
||||
}
|
||||
scope:inefficient_governor = {
|
||||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_recuperated_county_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
force_step_down_landed_titles = yes
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Opt-Out
|
||||
name = ep3_roman_restoration.0300.c
|
||||
|
||||
scope:inefficient_governor = {
|
||||
every_sub_realm_county = {
|
||||
custom = ep3_roman_restoration.0300.every_sub_realm_county
|
||||
add_county_modifier = {
|
||||
modifier = restore_rome_lowered_county_opinion_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
ambitious = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Every 10-30 years, a random kingdom will raid you
|
||||
ep3_roman_restoration.0500 = {
|
||||
type = character_event
|
||||
title = ep3_roman_restoration.0500.t
|
||||
desc = ep3_roman_restoration.0500.desc
|
||||
theme = emperor
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = emotion_thinking_scepter
|
||||
}
|
||||
|
||||
right_portrait = {
|
||||
character = scope:marshal
|
||||
animation = inspect_weapon
|
||||
}
|
||||
|
||||
lower_center_portrait = scope:target_kingdom
|
||||
|
||||
cooldown = { years = { 10 30 } }
|
||||
|
||||
trigger = {
|
||||
exists = cp:councillor_marshal
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
is_ai = yes
|
||||
is_at_war = no
|
||||
primary_title = { tier >= tier_kingdom }
|
||||
NOR = {
|
||||
is_allied_to = root
|
||||
any_truce_target = { this = root }
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
}
|
||||
any_top_realm_border_county = {
|
||||
any_neighboring_county = {
|
||||
holder.top_liege = root
|
||||
NOT = {
|
||||
title_province = { has_province_modifier = recently_looted_modifier }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
cp:councillor_marshal = { save_scope_as = marshal }
|
||||
ordered_neighboring_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
is_at_war = no
|
||||
primary_title = { tier >= tier_kingdom }
|
||||
any_top_realm_border_county = {
|
||||
any_neighboring_county = {
|
||||
holder.top_liege = root
|
||||
NOT = {
|
||||
title_province = { has_province_modifier = recently_looted_modifier }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
order_by = {
|
||||
value = 1
|
||||
add = { # inverted opinion since we're looking for ppl who hate you
|
||||
value = "opinion(root)"
|
||||
multiply = -1
|
||||
}
|
||||
if = {
|
||||
limit = { can_raid_trigger = yes }
|
||||
add = 50
|
||||
}
|
||||
}
|
||||
save_scope_as = target_kingdom
|
||||
}
|
||||
scope:target_kingdom = {
|
||||
random_top_realm_border_county = {
|
||||
limit = {
|
||||
any_neighboring_county = {
|
||||
holder.top_liege = root
|
||||
NOT = {
|
||||
title_province = { has_province_modifier = recently_looted_modifier }
|
||||
}
|
||||
}
|
||||
}
|
||||
random_neighboring_county = {
|
||||
limit = {
|
||||
holder.top_liege = root
|
||||
NOT = {
|
||||
title_province = { has_province_modifier = recently_looted_modifier }
|
||||
}
|
||||
}
|
||||
save_scope_as = target_county
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = ep3_roman_restoration.0500.a
|
||||
}
|
||||
|
||||
after = {
|
||||
scope:target_kingdom = {
|
||||
start_war = {
|
||||
cb = ep3_roman_empire_border_war
|
||||
target = root
|
||||
target_title = scope:target_county
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Special Bubonic Plague Spawns - Commented out and disabled because this is not very fun
|
||||
#ep3_roman_restoration.0510 = {
|
||||
# hidden = yes
|
||||
#
|
||||
# immediate = {
|
||||
# random_realm_county = {
|
||||
# limit = { exists = holder }
|
||||
# holder = { save_scope_as = target_holder }
|
||||
# save_scope_as = infected_county
|
||||
# title_province = {
|
||||
# save_scope_as = target_province
|
||||
# create_epidemic_outbreak = {
|
||||
# type = bubonic_plague
|
||||
# intensity = major
|
||||
# save_scope_as = epidemic
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# trigger_event = epidemic_events.1100
|
||||
# }
|
||||
#}
|
||||
|
||||
# Mongol Invasion Spawns
|
||||
ep3_roman_restoration.0520 = {
|
||||
scope = none
|
||||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_global_variable = mongols_have_appeared
|
||||
any_player = {
|
||||
THIS = culture:mongol.culture_head
|
||||
realm_size >= 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
set_global_variable = {
|
||||
name = mongols_have_appeared
|
||||
value = yes
|
||||
}
|
||||
debug_log = "Mongols appeared!"
|
||||
debug_log_date = yes
|
||||
spawn_temujin_character_effect = yes
|
||||
scope:temujin = {
|
||||
save_scope_as = story_owner
|
||||
create_story = story_mongol_invasion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3405,6 +3405,7 @@ ep3_story_cycle_admin_eunuch.2060 = {
|
|||
court_position_generator_effect = {
|
||||
VAR = target
|
||||
EMPLOYER = root
|
||||
ONLY_EMPTY = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3520,6 +3521,7 @@ ep3_story_cycle_admin_eunuch.2061 = {
|
|||
court_position_generator_effect = {
|
||||
VAR = target
|
||||
EMPLOYER = root
|
||||
ONLY_EMPTY = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -526,6 +526,7 @@ grand_ambitions.0003 = {
|
|||
immediate = {
|
||||
# Create Adventurer
|
||||
save_scope_as = adventurer
|
||||
clear_saved_scope = lost_primary_title
|
||||
hidden_effect = {
|
||||
# Plus for our memory variable.
|
||||
scope:story.var:target_title = { save_scope_as = lost_primary_title }
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -47,6 +47,10 @@ ep3_story_cycle_violet_poet.0001 = {
|
|||
modifier = double_moon_modifier
|
||||
save_scope_as = double_moon_book
|
||||
}
|
||||
random_owned_story = {
|
||||
type = story_cycle_violet_poet
|
||||
set_variable = { name = artifact value = scope:double_moon_book }
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:double_moon_book = {
|
||||
set_artifact_rarity = illustrious
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue