event fixing pt III
This commit is contained in:
parent
0555f85c12
commit
e660a1513e
112 changed files with 4671 additions and 148791 deletions
|
|
@ -141,7 +141,7 @@ tgp_ceremonial_liege_events.0001 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_gain
|
||||
arrogant = minor_stress_impact_gain
|
||||
just = minor_stress_impact_loss
|
||||
|
|
@ -223,7 +223,7 @@ tgp_ceremonial_liege_events.0001 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
lazy = minor_stress_impact_loss
|
||||
diligent = minor_stress_impact_gain
|
||||
honest = minor_stress_impact_gain
|
||||
|
|
@ -322,7 +322,7 @@ tgp_ceremonial_liege_events.0010 = {
|
|||
REASON = friend_took_lessons_to_heart
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = minor_stress_impact_loss
|
||||
temperate = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
|
|
@ -389,7 +389,7 @@ tgp_ceremonial_liege_events.0010 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = minor_stress_impact_loss
|
||||
gregarious = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -421,7 +421,7 @@ tgp_ceremonial_liege_events.0010 = {
|
|||
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_administrative
|
||||
government_has_flag = government_has_influence
|
||||
}
|
||||
change_influence = medium_influence_gain
|
||||
}
|
||||
|
|
@ -429,7 +429,7 @@ tgp_ceremonial_liege_events.0010 = {
|
|||
add_prestige = medium_prestige_gain
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_gain
|
||||
arrogant = minor_stress_impact_loss
|
||||
humble = minor_stress_impact_gain
|
||||
|
|
@ -482,7 +482,7 @@ tgp_ceremonial_liege_events.0010 = {
|
|||
title = tgp_ceremonial_liege_events.0010.tt.success
|
||||
left_icon = root
|
||||
right_icon = scope:spouse
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_loss
|
||||
paranoid = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -516,7 +516,7 @@ tgp_ceremonial_liege_events.0010 = {
|
|||
opinion = -15
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -663,7 +663,7 @@ tgp_ceremonial_liege_events.0020 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
ambitious = minor_stress_impact_loss
|
||||
arrogant = minor_stress_impact_loss
|
||||
|
|
@ -721,7 +721,7 @@ tgp_ceremonial_liege_events.0020 = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_administrative
|
||||
government_has_flag = government_has_influence
|
||||
}
|
||||
change_influence = minor_influence_gain
|
||||
}
|
||||
|
|
@ -757,7 +757,7 @@ tgp_ceremonial_liege_events.0020 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
ambitious = minor_stress_impact_loss
|
||||
deceitful = minor_stress_impact_loss
|
||||
honest = minor_stress_impact_gain
|
||||
|
|
@ -800,7 +800,7 @@ tgp_ceremonial_liege_events.0020 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
loyal = minor_stress_impact_loss
|
||||
|
|
@ -960,7 +960,7 @@ tgp_ceremonial_liege_events.0030 = {
|
|||
}
|
||||
}
|
||||
add_learning_lifestyle_xp = minor_lifestyle_xp
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
patient = minor_stress_impact_loss
|
||||
forgiving = minor_stress_impact_loss
|
||||
calm = minor_stress_impact_loss
|
||||
|
|
@ -978,7 +978,7 @@ tgp_ceremonial_liege_events.0030 = {
|
|||
title = tgp_ceremonial_liege_events.0030.tt.failure
|
||||
left_icon = root
|
||||
right_icon = scope:scholar
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
wrathful = minor_stress_impact_gain
|
||||
vengeful = minor_stress_impact_gain
|
||||
|
|
@ -1072,7 +1072,7 @@ tgp_ceremonial_liege_events.0030 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = minor_stress_impact_loss
|
||||
paranoid = minor_stress_impact_loss
|
||||
wrathful = minor_stress_impact_loss
|
||||
|
|
@ -1214,18 +1214,18 @@ tgp_ceremonial_liege_events.0040 = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
faith = { trait_is_virtue = honest }
|
||||
rite = { trait_is_virtue_rite = honest }
|
||||
}
|
||||
add_piety = minor_piety_loss
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
just = minor_stress_impact_gain
|
||||
honest = minor_stress_impact_gain
|
||||
deceitful = minor_stress_impact_loss
|
||||
|
|
@ -1266,12 +1266,12 @@ tgp_ceremonial_liege_events.0040 = {
|
|||
add_prestige = minor_prestige_gain
|
||||
if = {
|
||||
limit = {
|
||||
faith = { trait_is_virtue = honest }
|
||||
rite = { trait_is_virtue_rite = honest }
|
||||
}
|
||||
add_piety = minor_piety_gain
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
just = minor_stress_impact_loss
|
||||
humble = minor_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
|
|
@ -1302,4 +1302,4 @@ tgp_ceremonial_liege_events.0040 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -52,7 +52,7 @@ tgp_china_career.0001 = {
|
|||
animation = reading
|
||||
}
|
||||
|
||||
cooldown = { days = 1 }
|
||||
cooldown = { weeks = 1 }
|
||||
|
||||
trigger = {
|
||||
exists = top_liege
|
||||
|
|
|
|||
|
|
@ -28,14 +28,15 @@ scripted_effect set_up_local_examiner_effect = {
|
|||
age = { 33 79 }
|
||||
location = root.location
|
||||
faith = scope:hegemon.faith
|
||||
rite = scope:hegemon.rite
|
||||
culture = scope:hegemon.culture
|
||||
gender_female_chance = {
|
||||
if = {
|
||||
limit = { scope:hegemon.faith = { has_doctrine = doctrine_gender_male_dominated } }
|
||||
limit = { scope:hegemon.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
|
||||
add = 0
|
||||
}
|
||||
else_if = {
|
||||
limit = { scope:hegemon.faith = { has_doctrine = doctrine_gender_female_dominated } }
|
||||
limit = { scope:hegemon.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
|
||||
add = 100
|
||||
}
|
||||
else = {
|
||||
|
|
@ -114,7 +115,7 @@ tgp_china_decision.1000 = {
|
|||
value = scope:duel_value
|
||||
multiplier = -3
|
||||
}
|
||||
stress_impact = { base = medium_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { base = medium_stress_impact_gain }
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -266,7 +267,7 @@ tgp_china_decision.1001 = {
|
|||
value = scope:duel_value
|
||||
multiplier = -3
|
||||
}
|
||||
stress_impact = { base = medium_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { base = medium_stress_impact_gain }
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -419,7 +420,7 @@ tgp_china_decision.1002 = {
|
|||
value = scope:duel_value
|
||||
multiplier = -3
|
||||
}
|
||||
stress_impact = { base = medium_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { base = medium_stress_impact_gain }
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ tgp_china_ministry.0004 = {
|
|||
limit = {
|
||||
scope:contributor = {
|
||||
NOT = {
|
||||
any_character_war = { this = prev }
|
||||
any_character_war = { this = scope:grand_campaign_war }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -296,7 +296,10 @@ tgp_china_ministry.0005 = {
|
|||
trigger = { list_size:titles_won >= list_size:titles_lost }
|
||||
text = tgp_china_ministry.0005.a_win
|
||||
}
|
||||
name = tgp_china_ministry.0005.a_lost
|
||||
name = {
|
||||
trigger = { list_size:titles_won < list_size:titles_lost }
|
||||
text = tgp_china_ministry.0005.a_lost
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
list_size:titles_won >= list_size:titles_lost
|
||||
|
|
@ -472,7 +475,10 @@ tgp_china_ministry.0008 = {
|
|||
trigger = { list_size:titles_won >= list_size:titles_lost }
|
||||
text = tgp_china_ministry.0005.a_win
|
||||
}
|
||||
name = tgp_china_ministry.0005.a_lost
|
||||
name = {
|
||||
trigger = { list_size:titles_won < list_size:titles_lost }
|
||||
text = tgp_china_ministry.0005.a_lost
|
||||
}
|
||||
show_as_tooltip = {
|
||||
scope:owner = {
|
||||
if = {
|
||||
|
|
@ -506,6 +512,7 @@ tgp_china_ministry.0008 = {
|
|||
}
|
||||
# Minister of Revenue - Budget events
|
||||
# Top liege is enforced to enact a new budget
|
||||
# NOTE: Also used for other Treasury budget using governments - Administrative & Meritocratic (not Ecclesiastical)
|
||||
tgp_china_ministry.0100 = {
|
||||
type = character_event
|
||||
title = tgp_china_ministry.0100.t
|
||||
|
|
@ -583,6 +590,10 @@ tgp_china_ministry.0100 = {
|
|||
is_ai = yes
|
||||
is_travelling = no
|
||||
}
|
||||
# Exclude Church Treasury (it is simpler and gets auto-enacted yearly)
|
||||
NOT = {
|
||||
government_has_mechanic = theocracy
|
||||
}
|
||||
# You should enact a new budget if you fulfill ANY of these reasons
|
||||
OR = {
|
||||
# The AI hasn't set a new budget recently
|
||||
|
|
@ -1269,78 +1280,78 @@ tgp_china_ministry.1000 = {
|
|||
opinion = 50
|
||||
}
|
||||
add_character_modifier = tgp_personal_honors_modifier
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_chancellor
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_chancellor_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_censor
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_censor_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_grand_marshal
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_grand_marshal_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_personnel
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_personnel_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_revenue
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_revenue_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_rites
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_rites_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_war
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_war_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_justice
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_justice_modifier
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# has_title = title:e_minister_of_works
|
||||
# }
|
||||
# house = {
|
||||
# add_house_modifier = tgp_e_minister_of_works_modifier
|
||||
# }
|
||||
# }
|
||||
if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_chancellor
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_chancellor_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_censor
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_censor_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_grand_marshal
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_grand_marshal_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_personnel
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_personnel_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_revenue
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_revenue_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_rites
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_rites_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_war
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_war_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_justice
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_justice_modifier
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_title = title:e_minister_of_works
|
||||
}
|
||||
house = {
|
||||
add_house_modifier = tgp_e_minister_of_works_modifier
|
||||
}
|
||||
}
|
||||
dynasty = { add_dynasty_prestige = 2000 }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ tgp_china_yearly.0001 = {
|
|||
}
|
||||
change_merit = minor_merit_gain
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
generous = medium_stress_impact_loss
|
||||
compassionate = medium_stress_impact_loss
|
||||
|
|
@ -128,7 +128,7 @@ tgp_china_yearly.0001 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = medium_stress_impact_loss
|
||||
generous = medium_stress_impact_gain
|
||||
compassionate = medium_stress_impact_gain
|
||||
|
|
@ -175,7 +175,7 @@ tgp_china_yearly.0001 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
lazy = medium_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
|
|
@ -333,7 +333,7 @@ tgp_china_yearly.0005 = {
|
|||
#Is mentioned parent woman or man?
|
||||
if = {
|
||||
limit = {
|
||||
faith = { has_doctrine = doctrine_gender_equal }
|
||||
rite = { rite_has_doctrine = doctrine_gender_equal }
|
||||
}
|
||||
random_list = {
|
||||
50 = {
|
||||
|
|
@ -346,13 +346,13 @@ tgp_china_yearly.0005 = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { has_doctrine = doctrine_gender_female_dominated }
|
||||
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
|
||||
}
|
||||
scope:orphan_mother ?= { save_scope_as = parent }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { has_doctrine = doctrine_gender_male_dominated }
|
||||
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
|
||||
}
|
||||
scope:orphan_father ?= { save_scope_as = parent }
|
||||
}
|
||||
|
|
@ -414,7 +414,7 @@ tgp_china_yearly.0005 = {
|
|||
change_influence = major_influence_loss
|
||||
add_courtier = scope:grieving_child
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = medium_stress_impact_loss
|
||||
callous = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -436,7 +436,7 @@ tgp_china_yearly.0005 = {
|
|||
|
||||
change_merit = minor_merit_gain
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = medium_stress_impact_gain
|
||||
callous = medium_stress_impact_loss
|
||||
}
|
||||
|
|
@ -483,7 +483,7 @@ tgp_china_yearly.0005 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
lazy = medium_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
|
|
@ -611,7 +611,7 @@ tgp_china_yearly.0010 = {
|
|||
silent_disappearance_effect = yes
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = medium_stress_impact_loss
|
||||
callous = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -625,7 +625,7 @@ tgp_china_yearly.0010 = {
|
|||
years = 5
|
||||
}
|
||||
|
||||
stress_impact = { ambitious = medium_stress_impact_loss }
|
||||
stress_and_fulfillment_impact = { ambitious = medium_stress_impact_loss }
|
||||
}
|
||||
|
||||
option = { #I wonder what the books say about this.
|
||||
|
|
@ -652,7 +652,7 @@ tgp_china_yearly.0010 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
lazy = medium_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
|
|
@ -720,6 +720,7 @@ tgp_china_yearly.0015 = {
|
|||
location = root.location
|
||||
culture = root.culture
|
||||
faith = root.faith
|
||||
rite = root.rite
|
||||
trait = honest
|
||||
trait = diligent
|
||||
trait = honest
|
||||
|
|
@ -730,6 +731,7 @@ tgp_china_yearly.0015 = {
|
|||
location = root.location
|
||||
culture = root.culture
|
||||
faith = root.faith
|
||||
rite = root.rite
|
||||
trait = gluttonous
|
||||
trait = greedy
|
||||
trait = gregarious
|
||||
|
|
@ -756,7 +758,7 @@ tgp_china_yearly.0015 = {
|
|||
name = tgp_china_yearly.0015.b
|
||||
add_treasury_or_gold = medium_treasury_or_gold_value
|
||||
change_merit = minor_merit_loss
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = medium_stress_loss
|
||||
diligent = medium_stress_gain
|
||||
}
|
||||
|
|
@ -805,7 +807,7 @@ tgp_china_yearly.0015 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
lazy = medium_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
|
|
@ -926,7 +928,7 @@ tgp_china_yearly.0020 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
ambitious = medium_stress_loss
|
||||
}
|
||||
|
||||
|
|
@ -949,7 +951,7 @@ tgp_china_yearly.0020 = {
|
|||
}
|
||||
}
|
||||
change_merit = minor_merit_gain
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = medium_stress_loss
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -1044,7 +1046,7 @@ tgp_china_yearly.0020 = {
|
|||
# any_councillor = {
|
||||
# is_available_ai_adult = yes
|
||||
# NOT = {
|
||||
# any_learning_councillor = { exists = this }
|
||||
# any_learning_councillor = {}
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
|
@ -1052,7 +1054,7 @@ tgp_china_yearly.0020 = {
|
|||
# limit = {
|
||||
# is_available_ai_adult = yes
|
||||
# NOT = {
|
||||
# any_learning_councillor = { exists = this }
|
||||
# any_learning_councillor = {}
|
||||
# }
|
||||
# }
|
||||
# weight = {
|
||||
|
|
|
|||
|
|
@ -101,6 +101,8 @@ author_book.0001 = {
|
|||
}
|
||||
option = {
|
||||
name = author_book.0001.b #I will let my elder/spouse/other select one
|
||||
# The name and tooltip both name the influencer, so hide the option when nobody was found
|
||||
trigger = { exists = scope:trusted_influencer }
|
||||
custom_tooltip = author_book.0001.b.tt
|
||||
scope:trusted_influencer = {
|
||||
add_opinion = {
|
||||
|
|
@ -119,7 +121,7 @@ author_book.0001 = {
|
|||
id = author_book.1000
|
||||
days = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
lazy = minor_stress_impact_gain
|
||||
lifestyle_poet = minor_stress_impact_loss #offsets penalty a bit
|
||||
|
|
@ -248,7 +250,7 @@ author_book.0004 = {
|
|||
id = author_book.1000
|
||||
months = 6
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
lazy = minor_stress_impact_gain
|
||||
journaller = minor_stress_impact_loss #offsets penalty a bit
|
||||
|
|
@ -376,7 +378,7 @@ author_book.0005 = {
|
|||
id = author_book.1000
|
||||
years = 1
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_gain
|
||||
lazy = minor_stress_impact_gain
|
||||
journaller = minor_stress_impact_loss #offsets penalty a bit
|
||||
|
|
@ -576,7 +578,7 @@ author_book.1000 = {
|
|||
generate_ci_poem_title_effect = yes #We need a title
|
||||
}
|
||||
create_artifact = {
|
||||
name = ci_poem_name
|
||||
name = TODO #This is replaced below
|
||||
type = miscellaneous
|
||||
creator = root
|
||||
description = TODO #This is replaced below
|
||||
|
|
@ -766,6 +768,7 @@ author_book.1000 = {
|
|||
}
|
||||
#Now we set the description:
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_name = ci_poem_name
|
||||
set_artifact_description = ci_poem_description_full
|
||||
#And now we give modifiers:
|
||||
switch = {
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ tgp_dynastic_cycle.0001 = {
|
|||
tgp_dynastic_cycle.0051 = { # BOOKMARK EVENT
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0051.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
|
|
@ -218,6 +219,7 @@ tgp_dynastic_cycle.0051 = { # BOOKMARK EVENT
|
|||
tgp_dynastic_cycle.0052 = { # JOINED MOVEMENT - Unaligned
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0052.t
|
||||
desc = {
|
||||
desc = tgp_dynastic_cycle.0052.desc.intro
|
||||
|
|
@ -307,6 +309,7 @@ tgp_dynastic_cycle.0052 = { # JOINED MOVEMENT - Unaligned
|
|||
tgp_dynastic_cycle.0053 = { # JOINED MOVEMENT - Expansion
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0053.t
|
||||
desc = {
|
||||
desc = tgp_dynastic_cycle.0053.desc.intro
|
||||
|
|
@ -396,6 +399,7 @@ tgp_dynastic_cycle.0053 = { # JOINED MOVEMENT - Expansion
|
|||
tgp_dynastic_cycle.0054 = { # JOINED MOVEMENT - Advancement
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0054.t
|
||||
desc = {
|
||||
desc = tgp_dynastic_cycle.0054.desc.intro
|
||||
|
|
@ -485,6 +489,7 @@ tgp_dynastic_cycle.0054 = { # JOINED MOVEMENT - Advancement
|
|||
tgp_dynastic_cycle.0055 = { # JOINED MOVEMENT - Pro-Hegemon
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0055.t
|
||||
desc = {
|
||||
desc = tgp_dynastic_cycle.0055.desc.intro
|
||||
|
|
@ -575,6 +580,7 @@ tgp_dynastic_cycle.0055 = { # JOINED MOVEMENT - Pro-Hegemon
|
|||
tgp_dynastic_cycle.0056 = { # JOINED MOVEMENT - Conservative
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0056.t
|
||||
desc = {
|
||||
desc = tgp_dynastic_cycle.0056.desc.intro
|
||||
|
|
@ -666,6 +672,7 @@ tgp_dynastic_cycle.0056 = { # JOINED MOVEMENT - Conservative
|
|||
tgp_dynastic_cycle.0061 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0061.t
|
||||
desc = tgp_dynastic_cycle.0061.desc
|
||||
theme = dynastic_cycle
|
||||
|
|
@ -725,6 +732,7 @@ tgp_dynastic_cycle.0061 = {
|
|||
tgp_dynastic_cycle.0062 = { # Notification for relevant people
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0061.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
|
|
@ -802,6 +810,7 @@ tgp_dynastic_cycle.0062 = { # Notification for relevant people
|
|||
name = tgp_dynastic_cycle.0062.b
|
||||
clicksound = "event:/DLC/EP4/MX/CueTracks/mx_mtgp_dynastic_cycle_end"
|
||||
save_scope_as = actor
|
||||
save_scope_as = puppet_or_actor
|
||||
title:h_china.holder = {
|
||||
save_scope_as = recipient
|
||||
}
|
||||
|
|
@ -818,6 +827,7 @@ tgp_dynastic_cycle.0062 = { # Notification for relevant people
|
|||
tgp_dynastic_cycle.0071 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0071.t
|
||||
desc = tgp_dynastic_cycle.0071.desc
|
||||
theme = dynastic_cycle
|
||||
|
|
@ -1041,6 +1051,7 @@ tgp_dynastic_cycle.0071 = {
|
|||
tgp_dynastic_cycle.0072 = { # Notification for relevant people
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0071.t
|
||||
desc = {
|
||||
triggered_desc = {
|
||||
|
|
@ -1143,6 +1154,7 @@ tgp_dynastic_cycle.0072 = { # Notification for relevant people
|
|||
name = tgp_dynastic_cycle.0072.b
|
||||
clicksound = "event:/DLC/EP4/MX/CueTracks/mx_mtgp_dynastic_cycle_start"
|
||||
save_scope_as = actor
|
||||
save_scope_as = puppet_or_actor
|
||||
title:h_china.holder = {
|
||||
save_scope_as = recipient
|
||||
}
|
||||
|
|
@ -1159,6 +1171,7 @@ tgp_dynastic_cycle.0072 = { # Notification for relevant people
|
|||
tgp_dynastic_cycle.0081 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0081.t
|
||||
desc = tgp_dynastic_cycle.0081.desc
|
||||
theme = dynastic_cycle
|
||||
|
|
@ -1229,6 +1242,7 @@ tgp_dynastic_cycle.0081 = {
|
|||
tgp_dynastic_cycle.0082 = { # Notification for relevant people
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0081.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
|
|
@ -1394,6 +1408,7 @@ tgp_dynastic_cycle.0082 = { # Notification for relevant people
|
|||
tgp_dynastic_cycle.0091 = {
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0091.t
|
||||
desc = tgp_dynastic_cycle.0091.desc
|
||||
theme = dynastic_cycle
|
||||
|
|
@ -1436,6 +1451,7 @@ tgp_dynastic_cycle.0091 = {
|
|||
tgp_dynastic_cycle.0092 = { # Notification for relevant people
|
||||
type = character_event
|
||||
window = fullscreen_event
|
||||
queue_icon = "gfx/interface/icons/situation_types/dynastic_cycle.dds"
|
||||
title = tgp_dynastic_cycle.0091.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
|
|
@ -1699,8 +1715,8 @@ tgp_dynastic_cycle.9000 = {
|
|||
current_date >= 960.1.1
|
||||
}
|
||||
set_global_variable = {
|
||||
name = chinese_fashion_change
|
||||
value = 1
|
||||
name = chinese_fashion
|
||||
value = flag:song
|
||||
}
|
||||
}
|
||||
remove_character_flag = received_chinese_hegemonic_ascension_event
|
||||
|
|
@ -2280,8 +2296,8 @@ tgp_dynastic_cycle.9001 = {
|
|||
current_date >= 960.1.1
|
||||
}
|
||||
set_global_variable = {
|
||||
name = chinese_fashion_change
|
||||
value = 1
|
||||
name = chinese_fashion
|
||||
value = flag:song
|
||||
}
|
||||
}
|
||||
remove_character_flag = received_chinese_hegemonic_ascension_event
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -330,17 +330,7 @@ tgp_east_asia_decision_events.0030 = {
|
|||
show_as_tooltip = { change_government = clan_government }
|
||||
}
|
||||
show_as_tooltip = {
|
||||
if = {
|
||||
limit = {
|
||||
capital_province = {
|
||||
NOR = {
|
||||
has_holding_type = temple_citadel_holding
|
||||
has_holding_type = castle_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
capital_province = { set_holding_type = castle_holding }
|
||||
}
|
||||
clan_convert_capital_effect = yes
|
||||
change_government = clan_government
|
||||
#Start off crown authorities
|
||||
if = {
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ tgp_east_asia_interaction_events.1000 = {
|
|||
change_to_mandala_interaction_effect = yes
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -374,7 +374,7 @@ tgp_east_asia_interaction_events.1001 = {
|
|||
change_to_mandala_interaction_effect = yes
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -476,7 +476,7 @@ tgp_east_asia_interaction_events.1002 = {
|
|||
change_to_mandala_interaction_effect = yes
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -649,19 +649,19 @@ scripted_trigger is_root_faith_dominant_gender = {
|
|||
OR = {
|
||||
AND = {
|
||||
is_male = yes
|
||||
root.faith = {
|
||||
root.rite = {
|
||||
OR = {
|
||||
has_doctrine_parameter = male_dominated_law
|
||||
has_doctrine_parameter = gender_equal_law
|
||||
rite_has_parameter = male_dominated_law
|
||||
rite_has_parameter = gender_equal_law
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
is_female = yes
|
||||
root.faith = {
|
||||
root.rite = {
|
||||
OR = {
|
||||
has_doctrine_parameter = female_dominated_law
|
||||
has_doctrine_parameter = gender_equal_law
|
||||
rite_has_parameter = female_dominated_law
|
||||
rite_has_parameter = gender_equal_law
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1085,7 +1085,7 @@ tgp_east_asia_interaction_events.2000 = {
|
|||
limit = {
|
||||
has_execute_reason = scope:recipient
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
sadistic = medium_stress_impact_loss
|
||||
compassionate = minor_stress_impact_gain
|
||||
forgiving = medium_stress_impact_gain
|
||||
|
|
@ -1093,7 +1093,7 @@ tgp_east_asia_interaction_events.2000 = {
|
|||
}
|
||||
}
|
||||
else = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
sadistic = medium_stress_impact_loss
|
||||
compassionate = major_stress_impact_gain
|
||||
forgiving = medium_stress_impact_gain
|
||||
|
|
@ -1102,5 +1102,12 @@ tgp_east_asia_interaction_events.2000 = {
|
|||
content = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
# Benevolent Governance personal tenet: counted once for the purge, not once per body
|
||||
if = {
|
||||
limit = {
|
||||
has_personal_tenet_flag = tenet_benevolent_governance_clemency_fulfillment
|
||||
}
|
||||
change_spiritual_fulfillment = massive_spiritual_fulfillment_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,528 +0,0 @@
|
|||
namespace = tgp_faction_events
|
||||
|
||||
scripted_effect faction_demand_japanese_regent_rejected_effect = {
|
||||
# This effect should always be placed here, _before_ all the other effects in the block.
|
||||
trigger_event = { on_action = on_faction_demand_rejected }
|
||||
show_as_tooltip = {
|
||||
scope:faction = {
|
||||
faction_start_war = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Ceremonial Regent Faction Demand
|
||||
tgp_faction_events.0101 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_leader
|
||||
opening = "FACTION_JAPANESE_REPLACE_REGENT"
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { tgp_has_ceremonial_liege_title_trigger = yes }
|
||||
desc = "FACTION_JAPANESE_REPLACE_RULER_DESC"
|
||||
}
|
||||
desc = "FACTION_JAPANESE_REPLACE_REGENT_DESC"
|
||||
}
|
||||
}
|
||||
|
||||
trigger = {
|
||||
# May have ceased to exist by the time this triggers
|
||||
exists = scope:faction
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Grab our scope for loc.
|
||||
save_scope_as = faction_target
|
||||
}
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_ACCEPT"
|
||||
add_dread = medium_dread_loss
|
||||
# LEGITIMACY LOSS FOR ACCEPTING FACTION DEMANDS
|
||||
faction_accept_demand_legitimacy_effect = yes
|
||||
add_prestige = -500
|
||||
faction_demand_regent_transfer_effect = {
|
||||
NEW_REGENT = scope:faction_leader
|
||||
REASON = faction_demand
|
||||
}
|
||||
add_character_flag = {
|
||||
flag = recent_replace_regent_faction_war
|
||||
years = 10
|
||||
}
|
||||
scope:faction_leader = {
|
||||
trigger_event = { id = tgp_faction_events.0102 }
|
||||
}
|
||||
# This effect should always be placed here, _after_ everything except the ai_chance.
|
||||
trigger_event = { on_action = on_faction_demand_accepted }
|
||||
ai_chance = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 90
|
||||
scope:faction = { faction_power >= 100 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power >= 125 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power >= 150 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power >= 200 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
any_character_war = {
|
||||
is_war_leader = root
|
||||
is_defender = root
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
any_ally = {
|
||||
NOR = {
|
||||
target_is_liege_or_above = root
|
||||
target_is_vassal_or_below = root
|
||||
}
|
||||
max_military_strength > root.max_military_strength
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = 10000
|
||||
scope:faction_leader = { is_yes_men_enabled = yes }
|
||||
}
|
||||
modifier = { # The Kampaku always fights
|
||||
factor = 0
|
||||
has_title = title:e_japan
|
||||
government_has_flag = government_is_japan_administrative
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_REFUSE"
|
||||
faction_demand_japanese_regent_rejected_effect = yes
|
||||
scope:faction_leader = {
|
||||
trigger_event = {
|
||||
id = tgp_faction_events.0103
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_boldness = 4.0
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power < 80 }
|
||||
}
|
||||
modifier = {
|
||||
add = 100
|
||||
scope:faction = { faction_power < 60 }
|
||||
}
|
||||
modifier = {
|
||||
add = 1000
|
||||
scope:faction = { faction_power < 40 }
|
||||
}
|
||||
modifier = {
|
||||
add = 10000
|
||||
scope:faction_leader = { is_no_men_enabled = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Japanese Regent Faction Demand Accepted
|
||||
tgp_faction_events.0102 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_target
|
||||
opening = "FACTION_JAPANESE_REPLACE_REGENT_ACCEPTED"
|
||||
desc = "FACTION_JAPANESE_REPLACE_REGENT_ACCEPTED_DESC"
|
||||
|
||||
immediate = {
|
||||
show_as_tooltip = {
|
||||
get_title = primary_title
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_japan_administrative
|
||||
tgp_has_ceremonial_liege_title_trigger = no
|
||||
NOT = {
|
||||
has_realm_law = japanese_regency_succession_law
|
||||
}
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_regency_succession_law
|
||||
}
|
||||
else = {
|
||||
add_realm_law_skip_effects = single_heir_succession_law
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_ACCEPTED_OPT"
|
||||
}
|
||||
}
|
||||
|
||||
# Japanese Regent Faction Demand Refused
|
||||
tgp_faction_events.0103 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_target
|
||||
opening = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED"
|
||||
desc = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED_DESC"
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_REFUSED_OPT"
|
||||
scope:faction = {
|
||||
faction_start_war = {}
|
||||
every_faction_member = {
|
||||
limit = {
|
||||
NOT = { this = scope:faction.faction_leader }
|
||||
}
|
||||
trigger_event = tgp_faction_events.0104
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Japanese Regent Faction Demand Refused Member Notice
|
||||
tgp_faction_events.0104 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_target
|
||||
opening = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED"
|
||||
desc = "FACTION_JAPANESE_REPLACE_REGENT_REFUSED_DESC"
|
||||
|
||||
option = { name = "FACTION_DEMAND_REFUSED_OPT" }
|
||||
}
|
||||
|
||||
# Japanese Regent Faction Demand Send Notice
|
||||
tgp_faction_events.0105 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_leader
|
||||
opening = "FACTION_JAPANESE_REPLACE_REGENT_SEND_DEMAND_NOTIFICATION"
|
||||
desc = "FACTION_JAPANESE_REPLACE_REGENT_SEND_DEMAND_NOTIFICATION_DESC"
|
||||
|
||||
option = { name = "FACTION_DEMAND_SEND_DEMAND_NOTIFICATION_OPT" }
|
||||
}
|
||||
|
||||
scripted_effect faction_demand_restore_emperor_rejected_effect = {
|
||||
# This effect should always be placed here, _before_ all the other effects in the block.
|
||||
trigger_event = { on_action = on_faction_demand_rejected }
|
||||
show_as_tooltip = {
|
||||
scope:faction = {
|
||||
faction_start_war = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Restore Emperor Faction Demand
|
||||
tgp_faction_events.0201 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_leader
|
||||
opening = "FACTION_JAPANESE_RESTORE_EMPEROR"
|
||||
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_DESC"
|
||||
|
||||
trigger = {
|
||||
# May have ceased to exist by the time this triggers
|
||||
exists = scope:faction
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Grab our scope for loc.
|
||||
save_scope_as = faction_target
|
||||
}
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_ACCEPT"
|
||||
add_dread = medium_dread_loss
|
||||
# LEGITIMACY LOSS FOR ACCEPTING FACTION DEMANDS
|
||||
faction_accept_demand_legitimacy_effect = yes
|
||||
add_prestige = -500
|
||||
scope:faction = {
|
||||
special_character = { save_scope_as = ceremonial_liege }
|
||||
faction_leader = {
|
||||
trigger_event = { id = tgp_faction_events.0202 }
|
||||
}
|
||||
if = {
|
||||
limit = { exists = this }
|
||||
destroy_faction = yes
|
||||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
restore_ceremonial_liege_faction_combined_effect = yes
|
||||
}
|
||||
# This effect should always be placed here, _after_ everything except the ai_chance.
|
||||
trigger_event = { on_action = on_faction_demand_accepted }
|
||||
ai_chance = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 90
|
||||
scope:faction = { faction_power >= 100 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power >= 125 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power >= 150 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power >= 200 }
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
any_character_war = {
|
||||
is_war_leader = root
|
||||
is_defender = root
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
any_ally = {
|
||||
NOR = {
|
||||
target_is_liege_or_above = root
|
||||
target_is_vassal_or_below = root
|
||||
}
|
||||
max_military_strength > root.max_military_strength
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = 10000
|
||||
scope:faction_leader = { is_yes_men_enabled = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = {
|
||||
trigger = {
|
||||
scope:faction_leader = { tgp_has_ceremonial_liege_title_trigger = no }
|
||||
}
|
||||
text = tgp_faction_events.0201.b
|
||||
}
|
||||
name = {
|
||||
trigger = {
|
||||
scope:faction_leader = { tgp_has_ceremonial_liege_title_trigger = yes }
|
||||
}
|
||||
text = tgp_faction_events.0201.b.cm
|
||||
}
|
||||
faction_demand_restore_emperor_rejected_effect = yes
|
||||
scope:faction_leader = {
|
||||
trigger_event = {
|
||||
id = tgp_faction_events.0203
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_boldness = 4.0
|
||||
}
|
||||
modifier = {
|
||||
add = 50
|
||||
scope:faction = { faction_power < 80 }
|
||||
}
|
||||
modifier = {
|
||||
add = 100
|
||||
scope:faction = { faction_power < 60 }
|
||||
}
|
||||
modifier = {
|
||||
add = 1000
|
||||
scope:faction = { faction_power < 40 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Restore Emperor Faction Demand Accepted
|
||||
tgp_faction_events.0202 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_target
|
||||
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_ACCEPTED"
|
||||
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_ACCEPTED_DESC"
|
||||
|
||||
immediate = {
|
||||
save_scope_as = faction_restoration
|
||||
scope:faction.special_character = { save_scope_as = ceremonial_monarch }
|
||||
if = {
|
||||
limit = { this = scope:ceremonial_monarch }
|
||||
restore_ceremonial_liege_faction_combined_effect = yes
|
||||
}
|
||||
else = {
|
||||
scope:faction_target = { save_scope_as = defender }
|
||||
trigger_event = tgp_faction_events.0206
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_ACCEPTED_OPT"
|
||||
}
|
||||
}
|
||||
|
||||
# Restore Emperor Faction Demand Refused
|
||||
tgp_faction_events.0203 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_target
|
||||
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED"
|
||||
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED_DESC"
|
||||
|
||||
option = {
|
||||
name = "FACTION_DEMAND_REFUSED_OPT"
|
||||
scope:faction = {
|
||||
faction_start_war = {}
|
||||
every_faction_member = {
|
||||
limit = {
|
||||
NOT = { this = scope:faction.faction_leader }
|
||||
}
|
||||
trigger_event = tgp_faction_events.0204
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Restore Emperor Faction Demand Refused Member Notice
|
||||
tgp_faction_events.0204 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_target
|
||||
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED"
|
||||
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_REFUSED_DESC"
|
||||
|
||||
option = { name = "FACTION_DEMAND_REFUSED_OPT" }
|
||||
}
|
||||
|
||||
# Restore Emperor Faction Demand Send Notice
|
||||
tgp_faction_events.0205 = {
|
||||
type = letter_event
|
||||
sender = scope:faction_leader
|
||||
opening = "FACTION_JAPANESE_RESTORE_EMPEROR_SEND_DEMAND_NOTIFICATION"
|
||||
desc = "FACTION_JAPANESE_RESTORE_EMPEROR_SEND_DEMAND_NOTIFICATION_DESC"
|
||||
|
||||
option = { name = "FACTION_DEMAND_SEND_DEMAND_NOTIFICATION_OPT" }
|
||||
}
|
||||
|
||||
# Restore Emperor Faction Aftermath
|
||||
tgp_faction_events.0206 = {
|
||||
type = character_event
|
||||
title = tgp_faction_events.0206.t
|
||||
desc = tgp_faction_events.0206.desc
|
||||
override_background = { reference = throne_room_scope }
|
||||
theme = war
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = war_over_win
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:ceremonial_liege
|
||||
animation = war_over_tie
|
||||
}
|
||||
lower_center_portrait = scope:defender
|
||||
|
||||
trigger = {
|
||||
tgp_realm_has_ceremonial_liege_trigger = yes
|
||||
tgp_has_ceremonial_liege_title_trigger = no
|
||||
}
|
||||
|
||||
on_trigger_fail = {
|
||||
if = {
|
||||
limit = { tgp_realm_has_ceremonial_liege_trigger = yes }
|
||||
restore_ceremonial_liege_faction_combined_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:attacker } }
|
||||
save_scope_as = attacker
|
||||
}
|
||||
tgp_save_realm_ceremonial_liege_effect = yes
|
||||
scope:ceremonial_liege = { save_scope_as = background_throne_room_scope }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_faction_events.0206.a
|
||||
restore_ceremonial_liege_faction_combined_effect = yes
|
||||
add_hook = {
|
||||
target = scope:ceremonial_liege
|
||||
type = favor_hook
|
||||
}
|
||||
scope:ceremonial_liege = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = grateful_opinion
|
||||
opinion = 50
|
||||
}
|
||||
}
|
||||
every_in_list = {
|
||||
list = attackers
|
||||
limit = {
|
||||
NOT = { this = root }
|
||||
}
|
||||
custom = faction_member_custom
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = respect_opinion
|
||||
opinion = 25
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
ambitious = minor_stress_impact_gain
|
||||
arbitrary = minor_stress_impact_gain
|
||||
arrogant = minor_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_greed = -0.5
|
||||
ai_boldness = -0.5
|
||||
ai_honor = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_faction_events.0206.b
|
||||
faction_demand_regent_transfer_effect = {
|
||||
NEW_REGENT = scope:attacker
|
||||
REASON = faction_demand
|
||||
}
|
||||
add_tyranny = major_tyranny_gain
|
||||
reverse_add_opinion = {
|
||||
target = scope:ceremonial_liege
|
||||
modifier = angry_opinion
|
||||
opinion = -50
|
||||
}
|
||||
every_in_list = {
|
||||
list = attackers
|
||||
limit = {
|
||||
NOR = {
|
||||
this = root
|
||||
house ?= root.house
|
||||
}
|
||||
}
|
||||
custom = faction_member_custom
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = angry_opinion
|
||||
opinion = -25
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
honest = minor_stress_impact_gain
|
||||
just = minor_stress_impact_gain
|
||||
content = minor_stress_impact_gain
|
||||
humble = minor_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = -50
|
||||
ai_value_modifier = {
|
||||
ai_greed = 0.5
|
||||
ai_boldness = 0.5
|
||||
ai_honor = -0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,502 +0,0 @@
|
|||
##########################
|
||||
# GOVERNOR CONTRACT EVENTS
|
||||
##########################
|
||||
namespace = tgp_governor_contract_event
|
||||
|
||||
### Missing Equipment
|
||||
# Intro event
|
||||
tgp_governor_contract_event.2000 = {
|
||||
type = character_event
|
||||
title = tgp_governor_contract_event.2000.t
|
||||
desc = tgp_governor_contract_event.2000.desc
|
||||
theme = administrative
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = worry
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = missing_equipment
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = robbery_location
|
||||
}
|
||||
}
|
||||
|
||||
# Save the capital location
|
||||
top_liege = {
|
||||
capital_province = {
|
||||
save_scope_as = capital_location
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Let's pay the workshops a visit.
|
||||
name = tgp_governor_contract_event.2000.a
|
||||
|
||||
# Travel to the capital and visit a workshop/production facility
|
||||
custom_tooltip = {
|
||||
text = tgp_governor_contract_event.2000.a_tt
|
||||
governor_contract_travel_or_progress_effect = {
|
||||
DESTINATION = scope:capital_location
|
||||
ARRIVAL_EVENT = tgp_governor_contract_event.2001
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_governor_contract_event.2000.b
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = buy_replacements
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
|
||||
modifier = { # The AI may take this if they have A LOT of gold
|
||||
add = 100
|
||||
short_term_gold >= massive_gold_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_governor_contract_event.2000.c
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
|
||||
modifier = { # Pick this only if necessary
|
||||
add = 100
|
||||
is_available = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Arrival at the workshop
|
||||
tgp_governor_contract_event.2001 = {
|
||||
type = character_event
|
||||
title = tgp_governor_contract_event.2001.t
|
||||
desc = tgp_governor_contract_event.2001.desc
|
||||
theme = administrative
|
||||
override_background = { reference = market }
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = disapproval
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:foreman
|
||||
animation = reading
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = missing_equipment
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
}
|
||||
|
||||
# Save the capital location
|
||||
top_liege = {
|
||||
capital_province = {
|
||||
save_scope_as = capital_location
|
||||
}
|
||||
}
|
||||
|
||||
# Find/create a foreman for us to talk to
|
||||
if = {
|
||||
limit = {
|
||||
any_pool_character = {
|
||||
province = scope:capital_location
|
||||
is_physically_able_ai_adult = yes
|
||||
}
|
||||
}
|
||||
random_pool_character = {
|
||||
province = scope:capital_location
|
||||
limit = {
|
||||
is_physically_able_ai_adult = yes
|
||||
}
|
||||
save_scope_as = foreman
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_character = {
|
||||
template = scholar_character
|
||||
culture = scope:capital_location.county.culture
|
||||
faith = scope:capital_location.county.faith
|
||||
location = scope:capital_location
|
||||
gender_female_chance = root_faith_dominant_gender_female_chance
|
||||
save_scope_as = foreman
|
||||
}
|
||||
}
|
||||
|
||||
# Check if you have an important relation at the imperial court
|
||||
top_liege = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
is_close_or_extended_family_of = root
|
||||
root = { has_hook = prev }
|
||||
}
|
||||
}
|
||||
save_scope_as = court_relation
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
cp:councillor_chancellor ?= {
|
||||
OR = {
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
is_close_or_extended_family_of = root
|
||||
root = { has_hook = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
cp:councillor_chancellor = { save_scope_as = court_relation }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
cp:councillor_marshal ?= {
|
||||
OR = {
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
is_close_or_extended_family_of = root
|
||||
root = { has_hook = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
cp:councillor_marshal = { save_scope_as = court_relation }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
cp:councillor_steward ?= {
|
||||
OR = {
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
is_close_or_extended_family_of = root
|
||||
root = { has_hook = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
cp:councillor_steward = { save_scope_as = court_relation }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
cp:councillor_spymaster ?= {
|
||||
OR = {
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
is_close_or_extended_family_of = root
|
||||
root = { has_hook = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
cp:councillor_spymaster = { save_scope_as = court_relation }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
cp:councillor_court_chaplain ?= {
|
||||
OR = {
|
||||
has_relation_friend = root
|
||||
has_relation_lover = root
|
||||
is_close_or_extended_family_of = root
|
||||
root = { has_hook = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
cp:councillor_court_chaplain = { save_scope_as = court_relation }
|
||||
}
|
||||
}
|
||||
|
||||
hidden_effect = { # Delay the travel until the events are resolved
|
||||
current_travel_plan ?= {
|
||||
delay_travel_plan = { days = 180 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # A _clerical_ error? [relation] will hear about this...
|
||||
name = tgp_governor_contract_event.2001.a
|
||||
|
||||
trigger = {
|
||||
exists = scope:court_relation
|
||||
}
|
||||
|
||||
custom_tooltip = {
|
||||
text = tgp_governor_contract_event.2001.a.tt
|
||||
trigger_event = {
|
||||
id = tgp_governor_contract_event.2002
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Surely some additional compensation is in order?
|
||||
name = tgp_governor_contract_event.2001.b
|
||||
|
||||
duel = {
|
||||
skill = diplomacy
|
||||
value = 10
|
||||
50 = { # Success
|
||||
desc = tgp_governor_contract_event.2001.tt_success_desc
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 2.5
|
||||
}
|
||||
trigger_event = {
|
||||
id = tgp_governor_contract_event.2002
|
||||
}
|
||||
custom_tooltip = tgp_governor_contract_event.2001.tt_success
|
||||
}
|
||||
50 = { # Failure
|
||||
desc = tgp_governor_contract_event.2001.tt_failure_desc
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -2.5
|
||||
}
|
||||
trigger_event = {
|
||||
id = tgp_governor_contract_event.2003
|
||||
}
|
||||
custom_tooltip = tgp_governor_contract_event.2001.tt_failure
|
||||
show_as_tooltip = { # Actual deduction is done in follow-up event
|
||||
change_influence = medium_influence_loss
|
||||
add_prestige = medium_prestige_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
content = medium_stress_impact_gain
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
|
||||
modifier = {
|
||||
factor = 2
|
||||
diplomacy >= good_skill_level
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
exists = scope:court_relation
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_trait = content
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # It would be unfortunate if your incompetence became public, no?
|
||||
name = tgp_governor_contract_event.2001.c
|
||||
|
||||
duel = {
|
||||
skill = intrigue
|
||||
value = 10
|
||||
50 = { # Success
|
||||
desc = tgp_governor_contract_event.2001.tt_success_desc
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 2.5
|
||||
}
|
||||
trigger_event = {
|
||||
id = tgp_governor_contract_event.2002
|
||||
}
|
||||
custom_tooltip = tgp_governor_contract_event.2001.tt_success
|
||||
}
|
||||
50 = { # Failure
|
||||
desc = tgp_governor_contract_event.2001.tt_failure_desc
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -2.5
|
||||
}
|
||||
trigger_event = {
|
||||
id = tgp_governor_contract_event.2003
|
||||
}
|
||||
custom_tooltip = tgp_governor_contract_event.2001.tt_failure
|
||||
show_as_tooltip = { # Actual deduction is done in follow-up event
|
||||
change_influence = medium_influence_loss
|
||||
add_prestige = medium_prestige_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
compassionate = medium_stress_impact_gain
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
|
||||
modifier = {
|
||||
factor = 2
|
||||
intrigue >= good_skill_level
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.2
|
||||
has_trait = deceitful
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_trait = compassionate
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Very well. Just make certain that it does.
|
||||
name = tgp_governor_contract_event.2001.d
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = offered_replacements
|
||||
}
|
||||
|
||||
current_travel_plan ?= { resume_travel_plan = yes }
|
||||
|
||||
ai_chance = {
|
||||
base = 50
|
||||
|
||||
modifier = {
|
||||
factor = 2
|
||||
has_trait = content
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Workship visit: Success
|
||||
tgp_governor_contract_event.2002 = {
|
||||
type = character_event
|
||||
title = tgp_governor_contract_event.2002.t
|
||||
desc = tgp_governor_contract_event.2002.desc
|
||||
theme = administrative
|
||||
override_background = { reference = market }
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = schadenfreude
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:foreman
|
||||
animation = obsequious_bow
|
||||
}
|
||||
|
||||
immediate = {
|
||||
generate_governance_outcome_effect = { OPTIONS = 4 }
|
||||
}
|
||||
|
||||
# Special governor trait option
|
||||
option = { # Let's secure a number of shipments in the future.
|
||||
name = tgp_governor_contract_event.2002.a
|
||||
|
||||
trigger = {
|
||||
exists = scope:governance_option_a
|
||||
}
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = secure_future_deliveries
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Secure me your next #EMP two#! shipments.
|
||||
name = tgp_governor_contract_event.2002.b
|
||||
trigger = { exists = scope:governance_option_b }
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = demand_extra_shipment
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 25
|
||||
}
|
||||
}
|
||||
|
||||
option = { # A monetary compensation is in order.
|
||||
name = tgp_governor_contract_event.2002.c
|
||||
trigger = { exists = scope:governance_option_c }
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = demand_gold
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 25
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Send me the best equipment you have available.
|
||||
name = tgp_governor_contract_event.2002.d
|
||||
trigger = { exists = scope:governance_option_d }
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = demand_best_equipment
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 25
|
||||
}
|
||||
}
|
||||
|
||||
after = {
|
||||
current_travel_plan ?= { resume_travel_plan = yes }
|
||||
}
|
||||
}
|
||||
|
||||
# Workship visit: Failure
|
||||
tgp_governor_contract_event.2003 = {
|
||||
type = character_event
|
||||
title = tgp_governor_contract_event.2003.t
|
||||
desc = tgp_governor_contract_event.2003.desc
|
||||
theme = administrative
|
||||
override_background = { reference = market }
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = disappointed
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:foreman
|
||||
animation = anger
|
||||
}
|
||||
|
||||
immediate = {
|
||||
}
|
||||
|
||||
option = { # Fine.
|
||||
name = tgp_governor_contract_event.2003.a
|
||||
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = offered_replacements
|
||||
}
|
||||
|
||||
change_influence = medium_influence_loss
|
||||
add_prestige = medium_prestige_loss
|
||||
}
|
||||
|
||||
after = {
|
||||
current_travel_plan ?= { resume_travel_plan = yes }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,176 +0,0 @@
|
|||
namespace = tgp_house_blocs
|
||||
|
||||
# Message management
|
||||
|
||||
tgp_house_blocs.0001 = {
|
||||
type = character_event
|
||||
hidden = yes
|
||||
|
||||
trigger = { has_character_flag = bloc_message_flag }
|
||||
|
||||
immediate = {
|
||||
# Notify all members about them leaving.
|
||||
send_interface_message = {
|
||||
type = msg_left_house_bloc
|
||||
title = msg_left_bloc_root
|
||||
desc = msg_left_bloc_desc_root
|
||||
left_icon = scope:leaver.house
|
||||
right_icon = scope:bloc.leading_house
|
||||
custom_description = {
|
||||
text = leave_house_bloc_effect
|
||||
subject = house.house_head
|
||||
}
|
||||
}
|
||||
every_player = {
|
||||
limit = {
|
||||
confederation ?= scope:bloc
|
||||
NOT = { this = root }
|
||||
}
|
||||
send_interface_message = {
|
||||
type = msg_left_house_bloc
|
||||
title = msg_left_bloc
|
||||
desc = msg_left_bloc_desc
|
||||
left_icon = scope:leaver.house
|
||||
right_icon = scope:bloc.leading_house
|
||||
custom_description = {
|
||||
text = leave_house_bloc_effect
|
||||
subject = scope:leaver.house_head
|
||||
}
|
||||
}
|
||||
}
|
||||
remove_character_flag = bloc_message_flag
|
||||
}
|
||||
}
|
||||
|
||||
tgp_house_blocs.0002 = {
|
||||
type = character_event
|
||||
hidden = yes
|
||||
|
||||
trigger = { has_character_flag = bloc_message_flag }
|
||||
|
||||
immediate = {
|
||||
# Notify all members about them leaving.
|
||||
send_interface_message = {
|
||||
type = msg_joined_house_bloc
|
||||
title = msg_joined_bloc_root
|
||||
desc = msg_joined_bloc_desc_root
|
||||
left_icon = scope:joiner.house
|
||||
right_icon = scope:bloc.leading_house
|
||||
custom_description = {
|
||||
text = join_house_bloc_effect
|
||||
subject = scope:joiner
|
||||
object = scope:bloc.leading_house.house_head
|
||||
}
|
||||
}
|
||||
every_player = {
|
||||
limit = {
|
||||
confederation ?= scope:bloc
|
||||
NOT = { this = root }
|
||||
}
|
||||
send_interface_message = {
|
||||
type = msg_joined_house_bloc
|
||||
title = msg_joined_bloc
|
||||
desc = msg_joined_bloc_desc
|
||||
left_icon = scope:joiner.house
|
||||
right_icon = scope:bloc.leading_house
|
||||
custom_description = {
|
||||
text = join_house_bloc_effect
|
||||
subject = scope:joiner
|
||||
object = scope:bloc.leading_house.house_head
|
||||
}
|
||||
}
|
||||
}
|
||||
remove_character_flag = bloc_message_flag
|
||||
}
|
||||
}
|
||||
|
||||
tgp_house_blocs.0010 = {
|
||||
type = character_event
|
||||
hidden = yes
|
||||
|
||||
immediate = {
|
||||
bloc_leader_change_aspiration_cohesion_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Strength Unlock
|
||||
|
||||
tgp_house_blocs.1001 = {
|
||||
type = character_event
|
||||
title = tgp_house_blocs.1001.t
|
||||
desc = tgp_house_blocs.1001.desc
|
||||
theme = war
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = thinking
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:bloc_leader
|
||||
animation = japanese_war_fan
|
||||
}
|
||||
override_background = { reference = army_camp }
|
||||
|
||||
trigger = {
|
||||
is_ruler = yes
|
||||
exists = house.house_confederation
|
||||
NOT = { is_at_war_with = house.house_confederation.leading_house.house_head }
|
||||
}
|
||||
|
||||
immediate = {
|
||||
house = {
|
||||
house_confederation = {
|
||||
leading_house.house_head = { save_scope_as = bloc_leader }
|
||||
}
|
||||
every_house_member = {
|
||||
limit = {
|
||||
is_landed = yes
|
||||
top_liege = root.top_liege
|
||||
OR = {
|
||||
liege = scope:bloc_leader
|
||||
liege = root
|
||||
}
|
||||
NOR = {
|
||||
this = root
|
||||
is_at_war_with = house.house_confederation.leading_house.house_head
|
||||
}
|
||||
}
|
||||
add_to_list = war_joiners
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_house_blocs.1001.a
|
||||
scope:war = {
|
||||
add_attacker = root
|
||||
}
|
||||
every_in_list = {
|
||||
list = war_joiners
|
||||
save_temporary_scope_as = war_joiner_temp
|
||||
scope:war = {
|
||||
add_attacker = scope:war_joiner_temp
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_house_blocs.1001.b
|
||||
house = {
|
||||
set_variable = {
|
||||
name = bloc_leaving_reason
|
||||
value = flag:reason_events
|
||||
days = 4
|
||||
}
|
||||
tgp_leave_house_bloc_effect = {
|
||||
OPINION = flag:yes
|
||||
TRUCE = flag:yes
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,125 +0,0 @@
|
|||
###################################
|
||||
# JAPAN CAREER EVENTS
|
||||
###################################
|
||||
namespace = tgp_japan_career
|
||||
|
||||
### EVENT LIST ####################################################################
|
||||
## 0001 - Intro in 1066
|
||||
## 0002 - Intro in 1178
|
||||
###################################################################################
|
||||
|
||||
# Intro Event - Who are you playing as and what is your situation
|
||||
# Also acts as an introduction when you start playing in Japan
|
||||
tgp_japan_career.0001 = {
|
||||
type = character_event
|
||||
window = big_event_window
|
||||
title = tgp_japan_career.0001.t
|
||||
desc = {
|
||||
desc = tgp_japan_career.0001.desc
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { has_title = title:k_chrysanthemum_throne } #is tenno
|
||||
desc = tgp_japan_career.0001.tenno_desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { has_title = title:e_japan } #is kampaku
|
||||
desc = tgp_japan_career.0001.kampaku_desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { government_has_flag = government_is_japan_feudal } #is soryo
|
||||
desc = tgp_japan_career.0001.soryo_desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { government_has_flag = government_is_japan_administrative } #is ritsuryo
|
||||
desc = tgp_japan_career.0001.ritsuryo_desc
|
||||
}
|
||||
}
|
||||
desc = tgp_japan_career.0001.desc_2
|
||||
}
|
||||
theme = diplomacy
|
||||
override_icon = {
|
||||
trigger = { government_has_flag = government_is_japan_feudal }
|
||||
reference ="gfx/interface/icons/event_types/type_war.dds"
|
||||
}
|
||||
override_header_background = {
|
||||
trigger = { government_has_flag = government_is_japan_feudal }
|
||||
reference = "gfx/interface/window_event/event_header_red.dds"
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
has_title = title:k_chrysanthemum_throne
|
||||
}
|
||||
reference = tgp_garden_asia
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
has_title = title:e_japan
|
||||
}
|
||||
reference = tgp_study_japan
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
government_has_flag = government_is_japan_feudal
|
||||
}
|
||||
reference = tgp_crossroad_inn_asia
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
government_has_flag = government_is_japan_administrative
|
||||
}
|
||||
reference = bedchamber
|
||||
}
|
||||
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
government_has_flag = government_is_japan_feudal #Soryo ruler should have their sword out
|
||||
}
|
||||
animation = inspect_weapon
|
||||
}
|
||||
animation = chancellor
|
||||
}
|
||||
|
||||
right_portrait = {
|
||||
character = player_heir
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
government_has_flag = government_is_japan_feudal #Soryo ruler should have their sword out
|
||||
}
|
||||
animation = horse_archer_aggressive
|
||||
camera = camera_event_scheme_vs_left_look_left
|
||||
}
|
||||
animation = holding_scrolls
|
||||
}
|
||||
|
||||
trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
government_is_japanese_trigger = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Scopes
|
||||
save_scope_as = new_ruler
|
||||
house ?= { save_scope_as = ruler_family }
|
||||
top_liege = { save_scope_as = kampaku }
|
||||
player_heir ?= { save_scope_as = heir }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_japan_career.0001.a
|
||||
add_character_modifier = {
|
||||
modifier = tgp_japan_peace_modifier
|
||||
years = 20
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_japan_career.0001.b
|
||||
add_character_modifier = {
|
||||
modifier = tgp_japan_war_modifier
|
||||
years = 20
|
||||
}
|
||||
}
|
||||
}
|
||||
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
|
|
@ -136,7 +136,7 @@ tgp_japan_yearly_events.1000 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_gain
|
||||
craven = minor_stress_impact_gain
|
||||
brave = minor_stress_impact_loss
|
||||
|
|
@ -210,7 +210,7 @@ tgp_japan_yearly_events.1000 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
craven = minor_stress_impact_loss
|
||||
impatient = minor_stress_impact_loss
|
||||
|
|
@ -234,7 +234,7 @@ tgp_japan_yearly_events.1000 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1000.c
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
craven = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
|
|
@ -369,12 +369,12 @@ tgp_japan_yearly_events.1010 = {
|
|||
|
||||
scope:buddhist_councillor_2.faith = {
|
||||
change_fervor = {
|
||||
value = 1
|
||||
value = trivial_fervor_gain
|
||||
desc = fervor_gain_persecuted
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = minor_stress_impact_gain
|
||||
}
|
||||
|
||||
|
|
@ -437,12 +437,12 @@ tgp_japan_yearly_events.1010 = {
|
|||
|
||||
scope:buddhist_councillor_1.faith = {
|
||||
change_fervor = {
|
||||
value = 1
|
||||
value = trivial_fervor_gain
|
||||
desc = fervor_gain_persecuted
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = minor_stress_impact_gain
|
||||
}
|
||||
|
||||
|
|
@ -488,7 +488,7 @@ tgp_japan_yearly_events.1010 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = minor_stress_impact_gain
|
||||
cynical = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
|
|
@ -720,7 +720,7 @@ tgp_japan_yearly_events.1020 = {
|
|||
modifier = tgp_siren_yokai_love_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
lustful = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -741,7 +741,7 @@ tgp_japan_yearly_events.1020 = {
|
|||
}
|
||||
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
lifestyle_gardener = minor_stress_impact_loss
|
||||
lifestyle_herbalist = minor_stress_impact_loss
|
||||
lifestyle_mystic = minor_stress_impact_loss
|
||||
|
|
@ -752,7 +752,7 @@ tgp_japan_yearly_events.1020 = {
|
|||
modifier = tgp_shadow_yokai_imitation_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = minor_stress_impact_loss
|
||||
callous = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -855,7 +855,7 @@ tgp_japan_yearly_events.1020 = {
|
|||
years = 5
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
architect = minor_stress_impact_loss
|
||||
diligent = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -865,7 +865,7 @@ tgp_japan_yearly_events.1020 = {
|
|||
modifier = tgp_shadow_yokai_torch_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -910,7 +910,7 @@ tgp_japan_yearly_events.1020 = {
|
|||
|
||||
add_piety = major_piety_gain
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
paranoid = minor_stress_impact_gain
|
||||
craven = minor_stress_impact_loss
|
||||
|
|
@ -983,7 +983,7 @@ tgp_japan_yearly_events.1030 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
|
|
@ -999,13 +999,15 @@ tgp_japan_yearly_events.1030 = {
|
|||
# Pray for your heirs/dynasty
|
||||
option = {
|
||||
name = tgp_japan_yearly_events.1030.b
|
||||
|
||||
trigger = {
|
||||
is_lowborn = no
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = tgp_shrine_heir_modifier
|
||||
years = 5
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
family_first = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1028,7 +1030,7 @@ tgp_japan_yearly_events.1030 = {
|
|||
years = 5
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1056,7 +1058,7 @@ tgp_japan_yearly_events.1030 = {
|
|||
add_piety = minor_piety_gain
|
||||
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1073,7 +1075,7 @@ tgp_japan_yearly_events.1030 = {
|
|||
name = tgp_japan_yearly_events.1030.e
|
||||
trigger = { has_trait = cynical }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = medium_stress_impact_loss
|
||||
}
|
||||
|
||||
|
|
@ -1141,7 +1143,7 @@ tgp_japan_yearly_events.1040 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
zealous = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
|
|
@ -1170,7 +1172,7 @@ tgp_japan_yearly_events.1040 = {
|
|||
delay_travel_plan = { days = 14 }
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = medium_stress_impact_loss
|
||||
callous = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1197,7 +1199,7 @@ tgp_japan_yearly_events.1040 = {
|
|||
years = 3
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = medium_stress_impact_loss
|
||||
craven = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1284,7 +1286,7 @@ tgp_japan_yearly_events.1050 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
generous = medium_stress_impact_loss
|
||||
greedy = medium_stress_impact_gain
|
||||
craven = minor_stress_impact_loss
|
||||
|
|
@ -1317,7 +1319,7 @@ tgp_japan_yearly_events.1050 = {
|
|||
title = tgp_japan_yearly_events.1050.tt.success
|
||||
left_icon = root
|
||||
right_icon = scope:messenger
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1339,7 +1341,7 @@ tgp_japan_yearly_events.1050 = {
|
|||
target = liege
|
||||
gold = minor_gold_value
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -1380,7 +1382,7 @@ tgp_japan_yearly_events.1050 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_loss
|
||||
brave = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1504,7 +1506,7 @@ tgp_japan_yearly_events.1060 = {
|
|||
|
||||
scope:prisoner = { death = { death_reason = death_execution killer = root } }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
callous = minor_stress_impact_gain
|
||||
calm = minor_stress_impact_gain
|
||||
|
|
@ -1539,7 +1541,7 @@ tgp_japan_yearly_events.1060 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
forgiving = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1572,7 +1574,7 @@ tgp_japan_yearly_events.1060 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
callous = minor_stress_impact_loss
|
||||
sadistic = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1602,7 +1604,7 @@ tgp_japan_yearly_events.1060 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
just = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -1678,7 +1680,7 @@ tgp_japan_yearly_events.1070 = {
|
|||
add_piety = minor_piety_gain
|
||||
add_character_modifier = { modifier = tgp_temple_builder_modifier years = 3 }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
just = minor_stress_impact_loss
|
||||
zealous = medium_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
|
|
@ -1704,7 +1706,7 @@ tgp_japan_yearly_events.1070 = {
|
|||
}
|
||||
add_character_modifier = { modifier = tgp_rebuilder_modifier years = 3 }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
lazy = minor_stress_impact_loss
|
||||
zealous = medium_stress_impact_gain
|
||||
cynical = medium_stress_impact_loss
|
||||
|
|
@ -1735,7 +1737,7 @@ tgp_japan_yearly_events.1070 = {
|
|||
days = { 25 35 }
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
|
|
@ -1830,7 +1832,7 @@ tgp_japan_yearly_events.1071 = {
|
|||
modifier = tgp_burned_yokai_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -1839,7 +1841,7 @@ tgp_japan_yearly_events.1071 = {
|
|||
modifier = tgp_burned_weather_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -1848,7 +1850,7 @@ tgp_japan_yearly_events.1071 = {
|
|||
modifier = tgp_faith_defender_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -1859,7 +1861,7 @@ tgp_japan_yearly_events.1071 = {
|
|||
value = scope:rival
|
||||
years = 2
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
vengeful = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -1891,7 +1893,7 @@ tgp_japan_yearly_events.1071 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1071.b
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
lazy = minor_stress_impact_loss
|
||||
calm = minor_stress_impact_loss
|
||||
diligent = minor_stress_impact_gain
|
||||
|
|
@ -1981,7 +1983,7 @@ tgp_japan_yearly_events.1080 = {
|
|||
years = 3
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
gregarious = medium_stress_impact_loss
|
||||
calm = medium_stress_impact_loss
|
||||
|
|
@ -2017,7 +2019,7 @@ tgp_japan_yearly_events.1080 = {
|
|||
title = tgp_japan_yearly_events.1080.tt.success
|
||||
left_icon = root
|
||||
right_icon = scope:fisherman
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
}
|
||||
if = {
|
||||
|
|
@ -2082,7 +2084,7 @@ tgp_japan_yearly_events.1080 = {
|
|||
opinion = -15
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -2350,7 +2352,7 @@ tgp_japan_yearly_events.1090 = {
|
|||
years = 10
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_loss
|
||||
|
|
@ -2497,7 +2499,7 @@ tgp_japan_yearly_events.1100 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_loss
|
||||
just = minor_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
|
|
@ -2531,7 +2533,7 @@ tgp_japan_yearly_events.1100 = {
|
|||
years = 5
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
deceitful = minor_stress_impact_loss
|
||||
paranoid = minor_stress_impact_loss
|
||||
|
|
@ -2590,7 +2592,7 @@ tgp_japan_yearly_events.1110 = {
|
|||
years = 5
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
zealous = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
|
|
@ -2612,7 +2614,7 @@ tgp_japan_yearly_events.1110 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1110.b
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_loss
|
||||
zealous = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
|
|
@ -2628,7 +2630,7 @@ tgp_japan_yearly_events.1110 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
|
|
@ -2677,7 +2679,7 @@ tgp_japan_yearly_events.1110 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
craven = minor_stress_impact_gain
|
||||
zealous = minor_stress_impact_gain
|
||||
compassionate = minor_stress_impact_gain
|
||||
|
|
@ -2787,7 +2789,7 @@ tgp_japan_yearly_events.1120 = {
|
|||
INVALIDATION_EVENT = single_combat.1006
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
craven = medium_stress_impact_gain
|
||||
arrogant = minor_stress_impact_loss
|
||||
brave = minor_stress_impact_loss
|
||||
|
|
@ -2843,7 +2845,7 @@ tgp_japan_yearly_events.1120 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
calm = minor_stress_impact_loss
|
||||
compassionate = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -2875,7 +2877,7 @@ tgp_japan_yearly_events.1120 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
impatient = minor_stress_impact_loss
|
||||
irritable = minor_stress_impact_loss
|
||||
callous = minor_stress_impact_loss
|
||||
|
|
@ -2903,7 +2905,7 @@ tgp_japan_yearly_events.1120 = {
|
|||
delay_travel_plan = { days = 60 }
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
brave = minor_stress_impact_gain
|
||||
}
|
||||
|
||||
|
|
@ -3101,7 +3103,7 @@ tgp_japan_yearly_events.1130 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
lifestyle_poet = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3157,7 +3159,7 @@ tgp_japan_yearly_events.1130 = {
|
|||
add_diplomacy_skill = 1
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = minor_stress_impact_loss
|
||||
callous = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3255,7 +3257,7 @@ tgp_japan_yearly_events.1140 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
calm = minor_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
just = minor_stress_impact_loss
|
||||
|
|
@ -3310,7 +3312,7 @@ tgp_japan_yearly_events.1140 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_loss
|
||||
humble = minor_stress_impact_gain
|
||||
stubborn = minor_stress_impact_loss
|
||||
|
|
@ -3351,7 +3353,7 @@ tgp_japan_yearly_events.1140 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3394,6 +3396,7 @@ tgp_japan_yearly_events.1150 = {
|
|||
title:e_japan.holder = {
|
||||
has_realm_law = japanese_bureaucracy_0
|
||||
this != root
|
||||
exists = location.county
|
||||
}
|
||||
|
||||
any_held_title = {
|
||||
|
|
@ -3426,7 +3429,7 @@ tgp_japan_yearly_events.1150 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
generous = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -3479,7 +3482,7 @@ tgp_japan_yearly_events.1150 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
gregarious = minor_stress_impact_loss
|
||||
generous = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_gain
|
||||
|
|
@ -3544,7 +3547,7 @@ tgp_japan_yearly_events.1150 = {
|
|||
add_scheme_modifier = { type = bided_my_time }
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
generous = minor_stress_impact_gain
|
||||
patient = minor_stress_impact_loss
|
||||
|
|
@ -3581,7 +3584,7 @@ tgp_japan_yearly_events.1150 = {
|
|||
modifier = tgp_japan_poetic_to_the_powerful_modifier
|
||||
years = { 10 20 }
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_loss
|
||||
gregarious = minor_stress_impact_loss
|
||||
lifestyle_poet = minor_stress_impact_loss
|
||||
|
|
@ -3686,7 +3689,7 @@ tgp_japan_yearly_events.1150 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
callous = minor_stress_impact_loss
|
||||
greedy = minor_stress_impact_loss
|
||||
|
|
@ -3858,7 +3861,7 @@ tgp_japan_yearly_events.1151 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = minor_stress_impact_gain
|
||||
callous = minor_stress_impact_gain
|
||||
fickle = minor_stress_impact_gain
|
||||
|
|
@ -3899,7 +3902,7 @@ tgp_japan_yearly_events.1151 = {
|
|||
add_prestige = miniscule_prestige_gain
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = minor_stress_impact_loss
|
||||
callous = minor_stress_impact_loss
|
||||
fickle = minor_stress_impact_loss
|
||||
|
|
@ -3969,7 +3972,7 @@ tgp_japan_yearly_events.1151 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
brave = minor_stress_impact_loss
|
||||
vengeful = minor_stress_impact_loss
|
||||
craven = minor_stress_impact_gain
|
||||
|
|
@ -4033,7 +4036,7 @@ tgp_japan_yearly_events.1151 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
brave = minor_stress_impact_gain
|
||||
calm = minor_stress_impact_loss
|
||||
craven = minor_stress_impact_loss
|
||||
|
|
@ -4268,7 +4271,7 @@ tgp_japan_yearly_events.1160 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_gain
|
||||
vengeful = minor_stress_impact_gain
|
||||
calm = minor_stress_impact_loss
|
||||
|
|
@ -4349,7 +4352,7 @@ tgp_japan_yearly_events.1160 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_loss
|
||||
callous = medium_stress_impact_loss
|
||||
vengeful = major_stress_impact_loss
|
||||
|
|
@ -4387,7 +4390,7 @@ tgp_japan_yearly_events.1160 = {
|
|||
MURDERER = root
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_loss
|
||||
paranoid = minor_stress_impact_loss
|
||||
callous = medium_stress_impact_loss
|
||||
|
|
@ -4526,7 +4529,7 @@ tgp_japan_yearly_events.1170 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
calm = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
|
|
@ -4552,7 +4555,7 @@ tgp_japan_yearly_events.1170 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
impatient = minor_stress_impact_loss
|
||||
irritable = minor_stress_impact_loss
|
||||
arrogant = minor_stress_impact_loss
|
||||
|
|
@ -4586,7 +4589,7 @@ tgp_japan_yearly_events.1170 = {
|
|||
|
||||
add_learning_lifestyle_xp = minor_lifestyle_xp
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
lifestyle_poet = minor_stress_impact_loss
|
||||
calm = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -4670,6 +4673,10 @@ tgp_japan_yearly_events.1180 = {
|
|||
years = 10
|
||||
}
|
||||
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = { ai_zeal = 1 }
|
||||
|
|
@ -4779,7 +4786,7 @@ tgp_japan_yearly_events.1190 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1190.a
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_gain
|
||||
lazy = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -4815,7 +4822,7 @@ tgp_japan_yearly_events.1190 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1190.b
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
arrogant = minor_stress_impact_gain
|
||||
lazy = minor_stress_impact_loss
|
||||
|
|
@ -4857,7 +4864,7 @@ tgp_japan_yearly_events.1190 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1190.c
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_loss
|
||||
lazy = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -5130,7 +5137,7 @@ tgp_japan_yearly_events.1220 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = medium_stress_impact_loss
|
||||
zealous = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -5145,7 +5152,7 @@ tgp_japan_yearly_events.1220 = {
|
|||
option = {
|
||||
name = tgp_japan_yearly_events.1220.c
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = minor_stress_impact_loss
|
||||
zealous = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -5179,6 +5186,7 @@ tgp_japan_yearly_events.1220 = {
|
|||
title = tgp_japan_yearly_events.1220.tt_lose
|
||||
left_icon = root
|
||||
right_icon = scope:monk
|
||||
|
||||
add_learning_lifestyle_xp = 150
|
||||
}
|
||||
}
|
||||
|
|
@ -5245,7 +5253,7 @@ tgp_japan_yearly_events.1230 = {
|
|||
}
|
||||
show_as_unavailable = { always = yes }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
paranoid = minor_stress_impact_gain
|
||||
zealous = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -5280,7 +5288,7 @@ tgp_japan_yearly_events.1230 = {
|
|||
|
||||
destroy_artifact = scope:cursed_artifact
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = miniscule_stress_impact_loss
|
||||
paranoid = minor_stress_impact_loss
|
||||
lifestyle_mystic = minor_stress_impact_loss
|
||||
|
|
@ -5309,7 +5317,7 @@ tgp_japan_yearly_events.1230 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
paranoid = medium_stress_impact_gain
|
||||
cynical = minor_stress_impact_loss
|
||||
|
|
@ -5385,6 +5393,7 @@ tgp_japan_yearly_events.1240 = {
|
|||
template = travel_messenger
|
||||
culture = scope:ref_ruler.culture
|
||||
faith = scope:ref_ruler.faith
|
||||
rite = scope:ref_ruler.rite
|
||||
location = root.location
|
||||
save_scope_as = traveler
|
||||
after_creation = { add_trait = lifestyle_poet }
|
||||
|
|
@ -5411,7 +5420,7 @@ tgp_japan_yearly_events.1240 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = minor_stress_impact_gain
|
||||
lifestyle_poet = minor_stress_impact_loss
|
||||
compassionate = minor_stress_impact_loss
|
||||
|
|
@ -5436,7 +5445,7 @@ tgp_japan_yearly_events.1240 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
compassionate = minor_stress_impact_gain
|
||||
callous = minor_stress_impact_loss
|
||||
|
|
@ -5478,7 +5487,7 @@ tgp_japan_yearly_events.1240 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
lifestyle_poet = minor_stress_impact_loss
|
||||
patient = minor_stress_impact_loss
|
||||
|
|
|
|||
|
|
@ -1,180 +0,0 @@
|
|||
namespace = tgp_korea_decision
|
||||
|
||||
# unify_goryeo_decision
|
||||
|
||||
tgp_korea_decision.9101 = { # Ruler
|
||||
type = character_event
|
||||
title = tgp_korea_decision.9101.t
|
||||
desc = {
|
||||
desc = tgp_korea_decision.9101.intro
|
||||
desc = tgp_korea_decision.9101.desc
|
||||
}
|
||||
theme = realm
|
||||
override_effect_2d = { reference = legend_glow }
|
||||
override_background = { reference = throne_room_scope }
|
||||
left_portrait = {
|
||||
character = scope:king_of_goryeo
|
||||
animation = holding_hu
|
||||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = "mx_cue_epic_sacral_moment"
|
||||
save_scope_as = background_throne_room_scope
|
||||
korea_unify_goryeo_reward_effect = yes
|
||||
}
|
||||
|
||||
option = { # Samhan
|
||||
name = tgp_korea_decision.9101.a
|
||||
# Rename Goryeo culture
|
||||
hidden_effect = {
|
||||
culture:goryeo = {
|
||||
set_culture_name = {
|
||||
noun = samhan_hybrid_name
|
||||
collective_noun = samhan_hybrid_collective_noun
|
||||
prefix = samhan_hybrid_prefix
|
||||
}
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 10
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Goryeo
|
||||
name = tgp_korea_decision.9101.b
|
||||
trigger = { culture = culture:goguryeo }
|
||||
custom_tooltip = {
|
||||
text = tgp_korea_decision.9101.b.reason
|
||||
title:e_goryeo = { set_title_name = "cn_goryeo" }
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
after = {
|
||||
# Inform Vassals
|
||||
every_player = {
|
||||
limit = { is_vassal_or_below_of = root }
|
||||
trigger_event = tgp_korea_decision.9102
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_korea_decision.9102 = { # Vassal
|
||||
type = character_event
|
||||
title = tgp_korea_decision.9102.t
|
||||
desc = {
|
||||
desc = tgp_korea_decision.9101.intro
|
||||
desc = tgp_korea_decision.9102.desc
|
||||
}
|
||||
theme = realm
|
||||
override_effect_2d = { reference = legend_glow }
|
||||
override_background = { reference = throne_room_scope }
|
||||
left_portrait = {
|
||||
character = scope:king_of_goryeo
|
||||
animation = war_over_tie
|
||||
}
|
||||
|
||||
immediate = {
|
||||
show_as_tooltip = {
|
||||
scope:king_of_goryeo = { korea_unify_goryeo_reward_effect = yes }
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_korea_decision.9101.a
|
||||
}
|
||||
}
|
||||
|
||||
# NEW CEREMONIAL REGENCY EVENT
|
||||
|
||||
#tgp_korea_decision.9201 = {
|
||||
# orphan = yes # DEPRECATED
|
||||
# type = character_event
|
||||
# title = tgp_korea_decision.9201.t
|
||||
# desc = tgp_korea_decision.9201.desc
|
||||
# theme = crown
|
||||
# left_portrait = {
|
||||
# character = root
|
||||
# animation = holding_hu
|
||||
# }
|
||||
# override_background = { reference = throne_room_scope }
|
||||
#
|
||||
# trigger = {
|
||||
# OR = {
|
||||
# exists = primary_title.previous_holder
|
||||
# NOT = { primary_title = title:e_viet }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# immediate = {
|
||||
# show_as_tooltip = {
|
||||
# scope:founder = { get_title = scope:new_title }
|
||||
# scope:regent_title.holder = { add_realm_law_skip_effects = single_heir_succession_law } # Regency inherited separately
|
||||
# scope:new_title = { add_title_law = single_heir_succession_law }
|
||||
# }
|
||||
# every_player = {
|
||||
# limit = {
|
||||
# top_liege = root
|
||||
# NOT = { this = root }
|
||||
# }
|
||||
# trigger_event = {
|
||||
# id = tgp_korea_decision.9202
|
||||
# delayed = yes
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# option = {
|
||||
# name = tgp_korea_decision.9201.a
|
||||
# ai_chance = {
|
||||
# base = 100
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
||||
#tgp_korea_decision.9202 = {
|
||||
# orphan = yes # DEPRECATED
|
||||
# type = character_event
|
||||
# title = tgp_korea_decision.9201.t
|
||||
# desc = tgp_korea_decision.9202.desc
|
||||
# theme = crown
|
||||
# left_portrait = {
|
||||
# character = root
|
||||
# animation = throne_room_bow_1
|
||||
# }
|
||||
# right_portrait = {
|
||||
# character = scope:founder
|
||||
# animation = holding_hu
|
||||
# }
|
||||
# override_background = { reference = throne_room_scope }
|
||||
# immediate = {
|
||||
# show_as_tooltip = {
|
||||
# scope:founder = { get_title = scope:new_title }
|
||||
# scope:regent_title.holder = { add_realm_law_skip_effects = single_heir_succession_law } # Regency inherited separately
|
||||
# scope:new_title = { add_title_law = single_heir_succession_law }
|
||||
# }
|
||||
# }
|
||||
# option = { name = tgp_korea_decision.9202.a }
|
||||
#}
|
||||
|
||||
#tgp_korea_decision.9203 = {
|
||||
# orphan = yes # DEPRECATED
|
||||
# hidden = yes
|
||||
# type = character_event
|
||||
# trigger = {
|
||||
# government_has_flag = government_is_meritocratic
|
||||
# is_independent_ruler = yes
|
||||
# highest_held_title_tier >= tier_empire
|
||||
# tgp_realm_has_ceremonial_liege_trigger = no
|
||||
# }
|
||||
# immediate = {
|
||||
# save_scope_as = founder
|
||||
# save_scope_as = background_throne_room_scope
|
||||
# #tgp_create_ceremonial_regent_title_effect = { FOUNDER = root }
|
||||
# trigger_event = {
|
||||
# id = tgp_korea_decision.9201
|
||||
# delayed = yes
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
|
@ -1 +0,0 @@
|
|||
#
|
||||
|
|
@ -1,278 +0,0 @@
|
|||
#Mandala Capital Events
|
||||
|
||||
namespace = tgp_east_asia_mandala_capital_events
|
||||
|
||||
tgp_east_asia_mandala_capital_events.1000 = {
|
||||
type = character_event
|
||||
window = big_event_window
|
||||
title = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_05 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.t.final
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_04 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.t.fourth
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_03 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.t.third
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_02 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.t.second
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.t
|
||||
}
|
||||
}
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_05 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.desc.final
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_04 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.desc.fourth
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_03 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.desc.third
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_02 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.desc.second
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.desc
|
||||
}
|
||||
}
|
||||
theme = mandala
|
||||
left_portrait = {
|
||||
character = scope:onlooker
|
||||
animation = admiration
|
||||
}
|
||||
center_portrait = {
|
||||
character = root
|
||||
animation = personality_zealous
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:onlooker_2
|
||||
camera = camera_event_scheme_vs_center_positioned_left
|
||||
animation = ecstasy
|
||||
}
|
||||
override_effect_2d = { reference = legend_glow }
|
||||
immediate = {
|
||||
mandala_owner_reward_01_effect = yes
|
||||
scope:province = { save_scope_as = project_location }
|
||||
#Grab some characters who are celebrating and excited
|
||||
random_courtier = {
|
||||
limit = {
|
||||
is_available_adult = yes
|
||||
this != root
|
||||
}
|
||||
save_scope_as = onlooker
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:onlooker }
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.capital_province
|
||||
limit = { is_available_adult = yes }
|
||||
save_scope_as = onlooker
|
||||
}
|
||||
}
|
||||
random_courtier = {
|
||||
limit = {
|
||||
is_available_adult = yes
|
||||
this != root
|
||||
this != scope:onlooker
|
||||
}
|
||||
save_scope_as = onlooker_2
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { exists = scope:onlooker_2 }
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.capital_province
|
||||
limit = { is_available_adult = yes }
|
||||
save_scope_as = onlooker_2
|
||||
}
|
||||
}
|
||||
}
|
||||
#Run effects
|
||||
option = {
|
||||
name = {
|
||||
text = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_05 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.a.final
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_04 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.a.fourth
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_03 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.a.third
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:great_project = { great_project_type = mandala_capital_02 }
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.a.second
|
||||
}
|
||||
desc = tgp_east_asia_mandala_capital_events.1000.a
|
||||
}
|
||||
}
|
||||
}
|
||||
#Did you contribute something?
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_01 }
|
||||
}
|
||||
check_and_reward_contributions_01_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_02 }
|
||||
}
|
||||
check_and_reward_contributions_02_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_03 }
|
||||
}
|
||||
check_and_reward_contributions_03_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_04 }
|
||||
}
|
||||
check_and_reward_contributions_04_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_05 }
|
||||
}
|
||||
check_and_reward_contributions_05_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_east_asia_mandala_capital_events.1010 = {
|
||||
type = character_event
|
||||
window = big_event_window
|
||||
title = tgp_east_asia_mandala_capital_events.1010.t
|
||||
desc = tgp_east_asia_mandala_capital_events.1010.desc
|
||||
theme = mandala
|
||||
left_portrait = {
|
||||
character = root
|
||||
triggered_animation = {
|
||||
trigger = { ai_honor <= 0 }
|
||||
animation = scheme
|
||||
}
|
||||
animation = personality_compassionate
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:envoy
|
||||
animation = obsequious_bow
|
||||
}
|
||||
lower_right_portrait = {
|
||||
character = scope:overlord_scope
|
||||
}
|
||||
immediate = {
|
||||
scope:owner = {
|
||||
save_scope_as = overlord_scope
|
||||
save_scope_as = value_target
|
||||
}
|
||||
scope:province = { save_scope_as = project_location }
|
||||
create_character = {
|
||||
template = travel_messenger
|
||||
location = root.location
|
||||
culture = scope:overlord_scope.location.culture
|
||||
faith = scope:overlord_scope.location.faith
|
||||
gender_female_chance = scope_value_target_soldier_female_chance
|
||||
save_scope_as = envoy
|
||||
}
|
||||
}
|
||||
#Run effects
|
||||
option = {
|
||||
name = tgp_east_asia_mandala_capital_events.1010.a
|
||||
#Did you contribute something?
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_01 }
|
||||
}
|
||||
check_and_reward_contributions_01_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_02 }
|
||||
}
|
||||
check_and_reward_contributions_02_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_03 }
|
||||
}
|
||||
check_and_reward_contributions_03_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_04 }
|
||||
}
|
||||
check_and_reward_contributions_04_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:great_project = { great_project_type = mandala_capital_05 }
|
||||
}
|
||||
check_and_reward_contributions_05_effect = yes
|
||||
}
|
||||
#Get some opinion
|
||||
if = {
|
||||
limit = {
|
||||
scope:overlord_scope = { is_ai = yes }
|
||||
}
|
||||
mandala_contributor_opinion_reward_effect = { OVERLORD = scope:overlord_scope }
|
||||
}
|
||||
}
|
||||
#Sweep, sweep
|
||||
after = {
|
||||
scope:envoy = {
|
||||
if = { # Cleanup
|
||||
limit = {
|
||||
root = { is_ai = yes }
|
||||
is_courtier = no
|
||||
}
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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,372 +0,0 @@
|
|||
#########################
|
||||
# MENTORING SCHEME EVENTS
|
||||
#########################
|
||||
namespace = mentoring_scheme_event
|
||||
|
||||
# Outcome event - Become better at whatever you studied
|
||||
mentoring_scheme_event.0001 = {
|
||||
hidden = yes
|
||||
|
||||
immediate = {
|
||||
send_interface_message = {
|
||||
type = mentoring_scheme_good_message
|
||||
title = mentoring_success_message
|
||||
left_icon = scope:target
|
||||
|
||||
## Base
|
||||
# Merit
|
||||
if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_merit }
|
||||
}
|
||||
change_merit = {
|
||||
value = 10
|
||||
multiply = {
|
||||
value = scope:target.merit_level
|
||||
subtract = merit_level
|
||||
}
|
||||
}
|
||||
}
|
||||
# Confucian Education
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_confucian_education }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = confucian_education
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = confucian_education
|
||||
value = 2
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = confucian_education
|
||||
}
|
||||
}
|
||||
## Commander Traits
|
||||
# Logistician
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_logistician }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = logistician
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = logistician
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = logistician
|
||||
}
|
||||
}
|
||||
# Military Engineer
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_military_engineer }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = military_engineer
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = military_engineer
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = military_engineer
|
||||
}
|
||||
}
|
||||
# Aggressive Attacker
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_aggressive_attacker }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = aggressive_attacker
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = aggressive_attacker
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = aggressive_attacker
|
||||
}
|
||||
}
|
||||
# Unyielding Defender
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_unyielding_defender }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = unyielding_defender
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = unyielding_defender
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = unyielding_defender
|
||||
}
|
||||
}
|
||||
# Forder
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_forder }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = forder
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = forder
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = forder
|
||||
}
|
||||
}
|
||||
# Flexible Leader
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_flexible_leader }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = flexible_leader
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = flexible_leader
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = flexible_leader
|
||||
}
|
||||
}
|
||||
# Desert Warrior
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_desert_warrior }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = desert_warrior
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = desert_warrior
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = desert_warrior
|
||||
}
|
||||
}
|
||||
# Jungle Stalker
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_jungle_stalker }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = jungle_stalker
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = jungle_stalker
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = jungle_stalker
|
||||
}
|
||||
}
|
||||
# Reaver
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_reaver }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = reaver
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = reaver
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = reaver
|
||||
}
|
||||
}
|
||||
# Reckless
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_reckless }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = reckless
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = reckless
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = reckless
|
||||
}
|
||||
}
|
||||
# Holy Warrior
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_holy_warrior }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = holy_warrior
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = holy_warrior
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = holy_warrior
|
||||
}
|
||||
}
|
||||
# Open Terrain Expert
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_open_terrain_expert }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = open_terrain_expert
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = open_terrain_expert
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = open_terrain_expert
|
||||
}
|
||||
}
|
||||
# Rough Terrain Expert
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_rough_terrain_expert }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = rough_terrain_expert
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = rough_terrain_expert
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = rough_terrain_expert
|
||||
}
|
||||
}
|
||||
# Forest Fighter
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_forest_fighter }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = forest_fighter
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = forest_fighter
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = forest_fighter
|
||||
}
|
||||
}
|
||||
# Cautious Leader
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_cautious_leader }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = cautious_leader
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = cautious_leader
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = cautious_leader
|
||||
}
|
||||
}
|
||||
# Organizer
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_organizer }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = organizer
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = organizer
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = organizer
|
||||
}
|
||||
}
|
||||
# Winter Soldier
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:scheme = { has_variable = mentoring_winter_soldier }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_trait = winter_soldier
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = winter_soldier
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_trait = winter_soldier
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Outcome event - You did not make progress
|
||||
mentoring_scheme_event.0002 = {
|
||||
hidden = yes
|
||||
|
||||
immediate = {
|
||||
send_interface_message = {
|
||||
type = mentoring_scheme_bad_message
|
||||
title = mentoring_failure_message
|
||||
left_icon = scope:target
|
||||
|
||||
custom_tooltip = mentoring_failure_message_desc
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,603 +0,0 @@
|
|||
##########################
|
||||
# NATURAL DISASTER CONTRACT EVENTS
|
||||
##########################
|
||||
namespace = tgp_natural_disaster_contract_event
|
||||
|
||||
### Food Shortage
|
||||
tgp_natural_disaster_contract_event.0001 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0001.t
|
||||
desc = tgp_natural_disaster_contract_event.0001.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_food_shortage
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = natural_disaster_contract_destination
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0001.a
|
||||
|
||||
custom_tooltip = tgp_natural_disaster_travel_to_contract_destination
|
||||
governor_contract_travel_or_progress_effect = {
|
||||
DESTINATION = scope:natural_disaster_contract_destination
|
||||
ARRIVAL_EVENT = tgp_natural_disaster_contract_event.0002
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0001.b
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_natural_disaster_contract_event.0002 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0002.t
|
||||
desc = tgp_natural_disaster_contract_event.0002.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
override_background = {
|
||||
reference = ruined_holding
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_food_shortage
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = ongoing_destination
|
||||
}
|
||||
}
|
||||
generate_governance_outcome_effect = { OPTIONS = 4 }
|
||||
}
|
||||
|
||||
option = { # Special governor trait option
|
||||
name = tgp_natural_disaster_contract_event.0002.a
|
||||
trigger = {
|
||||
has_trait = governor # To show that the trait unlocks the option
|
||||
exists = scope:governance_option_a
|
||||
}
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = distribution_of_food
|
||||
}
|
||||
ai_chance = {
|
||||
base = 200
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0002.b
|
||||
trigger = { exists = scope:governance_option_b }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = pay_from_own_pocket
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0002.c
|
||||
trigger = { exists = scope:governance_option_c }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = haggle_with_merchants
|
||||
}
|
||||
duel = {
|
||||
skill = stewardship
|
||||
value = decent_skill_rating
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0002.c.tt.success
|
||||
scope:ongoing_contract ?= {
|
||||
complete_task_contract = haggle_with_merchants
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0002.c.tt.failure
|
||||
scope:ongoing_contract ?= {
|
||||
complete_task_contract = haggle_with_merchants_failure
|
||||
}
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 50
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0002.d
|
||||
trigger = { exists = scope:governance_option_d }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = demand_food_from_nobles
|
||||
}
|
||||
ai_chance = {
|
||||
base = 80
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### Destroyed by Nature
|
||||
tgp_natural_disaster_contract_event.0005 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0005.t
|
||||
desc = tgp_natural_disaster_contract_event.0005.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_ravaged_buildings
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = natural_disaster_contract_destination
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0005.a
|
||||
|
||||
custom_tooltip = tgp_natural_disaster_travel_to_contract_destination
|
||||
governor_contract_travel_or_progress_effect = {
|
||||
DESTINATION = scope:natural_disaster_contract_destination
|
||||
ARRIVAL_EVENT = tgp_natural_disaster_contract_event.0006
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0005.b
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_natural_disaster_contract_event.0006 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0006.t
|
||||
desc = tgp_natural_disaster_contract_event.0006.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
override_background = {
|
||||
reference = ruined_holding
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_ravaged_buildings
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = ongoing_destination
|
||||
}
|
||||
}
|
||||
generate_governance_outcome_effect = { OPTIONS = 4 }
|
||||
}
|
||||
|
||||
option = { # Special governor trait option
|
||||
name = tgp_natural_disaster_contract_event.0006.a
|
||||
trigger = {
|
||||
has_trait = governor # To show that the trait unlocks the option
|
||||
exists = scope:governance_option_a
|
||||
}
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = rebuild_settlement
|
||||
}
|
||||
ai_chance = {
|
||||
base = 200
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0006.b
|
||||
trigger = { exists = scope:governance_option_b }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = temporary_shelters
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0006.c
|
||||
trigger = { exists = scope:governance_option_c }
|
||||
duel = {
|
||||
skills = { martial stewardship }
|
||||
value = decent_skill_rating
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0006.c.tt.desc.success
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = remove_debris
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0006.c.tt.desc.failure
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = remove_debris_failure
|
||||
}
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 80
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0006.d
|
||||
trigger = { exists = scope:governance_option_d }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = labor_exchange
|
||||
}
|
||||
ai_chance = {
|
||||
base = 50
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### Treating the Innocents
|
||||
tgp_natural_disaster_contract_event.0010 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0010.t
|
||||
desc = tgp_natural_disaster_contract_event.0010.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_medieval_medicine
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = natural_disaster_contract_destination
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0010.a
|
||||
|
||||
custom_tooltip = tgp_natural_disaster_travel_to_contract_destination
|
||||
governor_contract_travel_or_progress_effect = {
|
||||
DESTINATION = scope:natural_disaster_contract_destination
|
||||
ARRIVAL_EVENT = tgp_natural_disaster_contract_event.0011
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0010.b
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_natural_disaster_contract_event.0011 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0011.t
|
||||
desc = tgp_natural_disaster_contract_event.0011.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
override_background = {
|
||||
reference = ruined_holding
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_medieval_medicine
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = ongoing_destination
|
||||
}
|
||||
}
|
||||
generate_governance_outcome_effect = { OPTIONS = 4 }
|
||||
}
|
||||
|
||||
option = { # Special governor trait option
|
||||
name = tgp_natural_disaster_contract_event.0011.a
|
||||
trigger = {
|
||||
has_trait = governor # To show that the trait unlocks the option
|
||||
exists = scope:governance_option_a
|
||||
}
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = assisting_physician
|
||||
}
|
||||
ai_chance = {
|
||||
base = 200
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0011.b
|
||||
trigger = { exists = scope:governance_option_b }
|
||||
duel = {
|
||||
skill = learning
|
||||
value = decent_skill_rating
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0011.b.tt.success
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = medical_assistance
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0011.b.tt.failure
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = medical_assistance_failure
|
||||
}
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 50
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0011.c
|
||||
trigger = { exists = scope:governance_option_c }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = prayers_to_the_people
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0011.d
|
||||
trigger = { exists = scope:governance_option_d }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = better_pay_up
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### Provisional Relocation
|
||||
tgp_natural_disaster_contract_event.0015 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0015.t
|
||||
desc = tgp_natural_disaster_contract_event.0015.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_disaster_displacement
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = natural_disaster_contract_destination
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0015.a
|
||||
|
||||
custom_tooltip = tgp_natural_disaster_travel_to_contract_destination
|
||||
governor_contract_travel_or_progress_effect = {
|
||||
DESTINATION = scope:natural_disaster_contract_destination
|
||||
ARRIVAL_EVENT = tgp_natural_disaster_contract_event.0016
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0015.b
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_natural_disaster_contract_event.0016 = {
|
||||
type = character_event
|
||||
title = tgp_natural_disaster_contract_event.0016.t
|
||||
desc = tgp_natural_disaster_contract_event.0016.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
override_background = {
|
||||
reference = ruined_holding
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# Save the contract
|
||||
random_character_active_contract = {
|
||||
limit = {
|
||||
has_task_contract_type = tgp_disaster_displacement
|
||||
}
|
||||
save_scope_as = ongoing_contract
|
||||
|
||||
# Save the location
|
||||
task_contract_location = {
|
||||
save_scope_as = ongoing_destination
|
||||
}
|
||||
}
|
||||
generate_governance_outcome_effect = { OPTIONS = 4 }
|
||||
}
|
||||
|
||||
option = { # Special governor trait option
|
||||
name = tgp_natural_disaster_contract_event.0016.a
|
||||
trigger = {
|
||||
has_trait = governor # To show that the trait unlocks the option
|
||||
exists = scope:governance_option_a
|
||||
}
|
||||
duel = {
|
||||
skill = martial
|
||||
value = decent_skill_rating
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0016.a.tt.desc.success
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = deployed_troops
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = tgp_natural_disaster_contract_event.0016.a.tt.desc.failure
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = deployed_troops_failure
|
||||
}
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 200
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0016.b
|
||||
trigger = { exists = scope:governance_option_b }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = setting_an_example
|
||||
}
|
||||
ai_chance = {
|
||||
base = 80
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0016.c
|
||||
trigger = { exists = scope:governance_option_c }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = confiscate_for_personal_inspection
|
||||
}
|
||||
ai_chance = {
|
||||
base = 50
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = tgp_natural_disaster_contract_event.0016.d
|
||||
trigger = { exists = scope:governance_option_d }
|
||||
scope:ongoing_contract = {
|
||||
complete_task_contract = paying_off_the_looters
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,905 +0,0 @@
|
|||
namespace = natural_disaster_flavor_events
|
||||
|
||||
scripted_trigger is_location_affected_by_disaster_in_recovery_trigger = {
|
||||
location.county = {
|
||||
any_county_situation = {
|
||||
tgp_natural_disaster_situation_is_disaster_trigger = yes
|
||||
situation_current_phase = recovery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scripted_effect create_random_misc_artifact_effect = {
|
||||
create_artifact = {
|
||||
name = random_misc_artifact
|
||||
description = random_misc_artifact_desc
|
||||
type = miscellaneous
|
||||
visuals = ring
|
||||
rarity = common
|
||||
modifier = artifact_prowess_1_modifier
|
||||
max_durability = 15
|
||||
save_scope_as = random_misc_artifact
|
||||
}
|
||||
hidden_effect = {
|
||||
random_list = {
|
||||
50 = {
|
||||
scope:random_misc_artifact = {
|
||||
add_artifact_modifier = character_travel_speed_1
|
||||
}
|
||||
}
|
||||
50 = {
|
||||
scope:random_misc_artifact = {
|
||||
add_artifact_modifier = artifact_travel_safety_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# As Scavengers Gather
|
||||
natural_disaster_flavor_events.0001 = {
|
||||
type = character_event
|
||||
title = natural_disaster_flavor_events.0001.t
|
||||
desc = natural_disaster_flavor_events.0001.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = survey
|
||||
}
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
is_location_affected_by_disaster_in_recovery_trigger = yes
|
||||
is_available_travelling_adult = yes
|
||||
is_landed = no
|
||||
}
|
||||
|
||||
widgets = {
|
||||
widget = {
|
||||
is_shown = {
|
||||
scope:random_weather = flag:fog
|
||||
}
|
||||
gui = event_window_widget_vfx_rainy_fog container = foreground_shader_vfx_container
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
location.county = {
|
||||
random_county_situation = {
|
||||
limit = {
|
||||
tgp_natural_disaster_situation_is_disaster_trigger = yes
|
||||
}
|
||||
save_scope_as = disaster_situation
|
||||
}
|
||||
}
|
||||
|
||||
create_character = {
|
||||
template = generic_peasant_character
|
||||
location = root.location
|
||||
culture = root.location.culture
|
||||
faith = root.location.faith
|
||||
gender_female_chance = root_soldier_female_chance
|
||||
save_scope_as = person_in_need
|
||||
}
|
||||
|
||||
random_list = {
|
||||
20 = {
|
||||
save_scope_value_as = {
|
||||
name = random_weather
|
||||
value = flag:fog
|
||||
}
|
||||
}
|
||||
80 = { }
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Valuables
|
||||
name = natural_disaster_flavor_events.0001.a
|
||||
add_piety = minor_piety_loss
|
||||
random_list = {
|
||||
33 = { # Gold
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0001.a.gold.toast
|
||||
left_icon = root
|
||||
add_gold = {
|
||||
add = miniscule_gold_value
|
||||
multiply = 3
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = greedy
|
||||
}
|
||||
}
|
||||
33 = { # Provisions
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0001.a.provisions.toast
|
||||
left_icon = root
|
||||
domicile = {
|
||||
change_provisions = miniscule_provisions_gain
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = gluttonous
|
||||
}
|
||||
}
|
||||
33 = { # Artifact
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0001.a.artifact.toast
|
||||
left_icon = root
|
||||
create_random_misc_artifact_effect = yes
|
||||
}
|
||||
modifier = {
|
||||
add = 15
|
||||
has_trait = brave
|
||||
}
|
||||
}
|
||||
}
|
||||
current_travel_plan = {
|
||||
delay_travel_plan = {
|
||||
days = 10
|
||||
}
|
||||
}
|
||||
random = {
|
||||
chance = 20
|
||||
contract_disease_effect = { DISEASE = ill TREATMENT_EVENT = yes }
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
just = minor_stress_impact_gain
|
||||
greedy = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_greed = 1
|
||||
ai_compassion = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Survivors
|
||||
name = natural_disaster_flavor_events.0001.b
|
||||
|
||||
duel = {
|
||||
skill = prowess
|
||||
value = medium_skill_rating
|
||||
50 = { # Success
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
min = 20
|
||||
max = 90
|
||||
reverse_add_opinion = {
|
||||
target = scope:person_in_need
|
||||
modifier = grateful_opinion
|
||||
opinion = 25
|
||||
}
|
||||
}
|
||||
50 = { # Failure
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0001.b.failure.toast # fix this
|
||||
left_icon = root
|
||||
right_icon = scope:person_in_need
|
||||
scope:person_in_need = {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0001.b.success.toast
|
||||
left_icon = root
|
||||
right_icon = scope:person_in_need
|
||||
current_travel_plan = {
|
||||
add_companion = scope:person_in_need
|
||||
}
|
||||
}
|
||||
current_travel_plan = {
|
||||
delay_travel_plan = {
|
||||
days = 10
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
lazy = minor_stress_impact_gain
|
||||
compassionate = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_compassion = 1
|
||||
ai_rationality = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Opt out
|
||||
name = natural_disaster_flavor_events.0001.c
|
||||
|
||||
custom_tooltip = RESUME_TRAVEL_PLAN_EFFECT
|
||||
|
||||
stress_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
craven = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_compassion = -1
|
||||
ai_rationality = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Waking Nightmare
|
||||
natural_disaster_flavor_events.0005 = {
|
||||
type = character_event
|
||||
title = natural_disaster_flavor_events.0005.t
|
||||
desc = natural_disaster_flavor_events.0005.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = shock
|
||||
}
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
is_landed = no
|
||||
}
|
||||
|
||||
widget = { gui = event_window_widget_vfx_earthquake container = foreground_shader_vfx_container }
|
||||
|
||||
immediate = {
|
||||
location.county = {
|
||||
random_county_situation = {
|
||||
limit = {
|
||||
tgp_natural_disaster_situation_is_disaster_trigger = yes
|
||||
}
|
||||
save_scope_as = disaster_situation
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Run for your life
|
||||
name = natural_disaster_flavor_events.0005.a
|
||||
duel = {
|
||||
skill = prowess
|
||||
value = medium_skill_rating
|
||||
50 = { # Success
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0005.a.success.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0005.a.success.toast
|
||||
left_icon = root
|
||||
add_character_modifier = {
|
||||
modifier = tgp_selfish_actions_character_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
50 = { # Failure
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0005.a.failure.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0005.a.failure.toast
|
||||
left_icon = root
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
craven = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = -1
|
||||
ai_compassion = 1
|
||||
ai_rationality = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Find a safe location
|
||||
name = natural_disaster_flavor_events.0005.b
|
||||
duel = {
|
||||
skill = learning
|
||||
value = medium_skill_rating
|
||||
50 = { # Success
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0005.b.success.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0005.b.success.toast
|
||||
left_icon = root
|
||||
add_character_modifier = {
|
||||
modifier = tgp_finding_safe_spot_character_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
50 = { # Failure
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0005.b.failure.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0005.b.failure.toast
|
||||
left_icon = root
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
fickle = minor_stress_impact_gain
|
||||
diligent = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_rationality = 2
|
||||
ai_energy = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Desperate Souls
|
||||
natural_disaster_flavor_events.0010 = {
|
||||
type = character_event
|
||||
title = natural_disaster_flavor_events.0010.t
|
||||
desc = natural_disaster_flavor_events.0010.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = worry
|
||||
}
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
is_location_affected_by_disaster_in_recovery_trigger = yes
|
||||
is_available_travelling_adult = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
location.county = {
|
||||
random_county_situation = {
|
||||
limit = {
|
||||
tgp_natural_disaster_situation_is_disaster_trigger = yes
|
||||
}
|
||||
save_scope_as = disaster_situation
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Reassure them that help is coming
|
||||
name = natural_disaster_flavor_events.0010.a
|
||||
duel = {
|
||||
skill = diplomacy
|
||||
value = medium_skill_rating
|
||||
50 = { # Success
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0010.a.success.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0010.a.success.toast
|
||||
left_icon = root
|
||||
add_diplomacy_lifestyle_xp = medium_lifestyle_experience
|
||||
}
|
||||
}
|
||||
50 = { # Failure
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0010.a.failure.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0010.a.failure.toast
|
||||
left_icon = root
|
||||
add_character_modifier = {
|
||||
modifier = tgp_deceitful_overconfidence_character_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
honest = minor_stress_impact_gain
|
||||
deceitful = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = -1
|
||||
ai_compassion = -1
|
||||
ai_sociability = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Lie your way out of the situation
|
||||
name = natural_disaster_flavor_events.0010.b
|
||||
duel = {
|
||||
skill = intrigue
|
||||
value = medium_skill_rating
|
||||
50 = { # Success
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0010.b.success.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0010.b.success.toast
|
||||
left_icon = root
|
||||
add_intrigue_lifestyle_xp = medium_lifestyle_experience
|
||||
}
|
||||
}
|
||||
50 = { # Failure
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = natural_disaster_flavor_events.0010.b.failure.toast
|
||||
min = 20
|
||||
max = 90
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0010.b.failure.toast
|
||||
left_icon = root
|
||||
add_character_modifier = {
|
||||
modifier = tgp_deceitful_overconfidence_character_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
honest = minor_stress_impact_gain
|
||||
deceitful = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = -1
|
||||
ai_compassion = -2
|
||||
ai_rationality = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Ignore their pleas
|
||||
name = natural_disaster_flavor_events.0010.c
|
||||
flavor = natural_disaster_flavor_events.0010.c.tt
|
||||
current_travel_plan.current_location.county = {
|
||||
if = {
|
||||
limit = {
|
||||
holder = { save_temporary_scope_as = county_holder }
|
||||
OR = {
|
||||
scope:county_holder = root
|
||||
root = { is_vassal_or_below_of = scope:county_holder }
|
||||
}
|
||||
}
|
||||
add_county_modifier = {
|
||||
modifier = tgp_abandoned_population_modifier
|
||||
years = 10
|
||||
}
|
||||
}
|
||||
else = {
|
||||
root = { add_prestige = minor_prestige_loss }
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
callous = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_compassion = -2
|
||||
ai_rationality = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Selfless Acts
|
||||
natural_disaster_flavor_events.0015 = {
|
||||
type = character_event
|
||||
title = natural_disaster_flavor_events.0015.t
|
||||
desc = natural_disaster_flavor_events.0015.desc
|
||||
theme = disaster
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = shock
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:spouse
|
||||
animation = fear
|
||||
}
|
||||
lower_center_portrait = {
|
||||
trigger = { exists = scope:heir }
|
||||
character = scope:heir
|
||||
}
|
||||
lower_right_portrait = {
|
||||
trigger = { exists = scope:courtier }
|
||||
character = scope:courtier
|
||||
}
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
is_location_affected_by_disaster_in_recovery_trigger = yes
|
||||
is_landed = yes
|
||||
primary_spouse ?= {
|
||||
is_at_same_location = root
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
location.county = {
|
||||
random_county_situation = {
|
||||
limit = { tgp_natural_disaster_situation_is_disaster_trigger = yes }
|
||||
save_scope_as = disaster_situation
|
||||
}
|
||||
}
|
||||
primary_spouse = {
|
||||
save_scope_as = spouse
|
||||
}
|
||||
primary_heir ?= {
|
||||
if = {
|
||||
limit = {
|
||||
this != scope:spouse
|
||||
is_at_same_location = root
|
||||
}
|
||||
save_scope_as = heir
|
||||
}
|
||||
}
|
||||
random_courtier = {
|
||||
limit = {
|
||||
this != scope:spouse
|
||||
this != scope:heir
|
||||
has_any_court_position = yes
|
||||
is_at_same_location = root
|
||||
}
|
||||
save_scope_as = courtier
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Save your spouse
|
||||
name = natural_disaster_flavor_events.0015.a
|
||||
random = {
|
||||
chance = {
|
||||
value = 25
|
||||
subtract = prowess
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.a.failure
|
||||
left_icon = root
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
exists = scope:heir
|
||||
exists = scope:courtier
|
||||
}
|
||||
}
|
||||
random = {
|
||||
chance = {
|
||||
value = 35
|
||||
subtract = prowess
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.a.failure
|
||||
left_icon = scope:heir
|
||||
right_icon = scope:courtier
|
||||
primary_heir ?= {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
scope:courtier ?= {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:damage_done } }
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0015.a.success
|
||||
left_icon = root
|
||||
}
|
||||
}
|
||||
|
||||
add_prowess_skill = 1
|
||||
reverse_add_opinion = {
|
||||
target = primary_spouse
|
||||
modifier = grateful_opinion
|
||||
opinion = 25
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
craven = minor_stress_impact_gain
|
||||
brave = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = 1
|
||||
ai_boldness = 1
|
||||
ai_energy = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Save your heir
|
||||
name = natural_disaster_flavor_events.0015.b
|
||||
trigger = { exists = scope:heir }
|
||||
|
||||
random = {
|
||||
chance = {
|
||||
value = 25
|
||||
subtract = prowess
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.b.failure
|
||||
left_icon = root
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
random = {
|
||||
chance = {
|
||||
value = 35
|
||||
subtract = prowess
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.b.failure
|
||||
left_icon = scope:spouse
|
||||
right_icon = scope:courtier
|
||||
primary_spouse = {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
scope:courtier ?= {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:damage_done } }
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0015.b.success
|
||||
left_icon = root
|
||||
}
|
||||
}
|
||||
|
||||
add_prowess_skill = 1
|
||||
reverse_add_opinion = {
|
||||
target = primary_heir
|
||||
modifier = grateful_opinion
|
||||
opinion = 25
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
craven = minor_stress_impact_gain
|
||||
brave = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = 1
|
||||
ai_boldness = 1
|
||||
ai_energy = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Save your courtier
|
||||
name = natural_disaster_flavor_events.0015.c
|
||||
trigger = { exists = scope:courtier }
|
||||
|
||||
random = {
|
||||
chance = {
|
||||
value = 25
|
||||
subtract = prowess
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.c.failure
|
||||
left_icon = root
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
random = {
|
||||
chance = {
|
||||
value = 35
|
||||
subtract = prowess
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.c.failure
|
||||
left_icon = scope:spouse
|
||||
right_icon = scope:heir
|
||||
primary_spouse = {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
primary_heir ?= {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:damage_done } }
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0015.c.success
|
||||
left_icon = root
|
||||
}
|
||||
}
|
||||
|
||||
add_prowess_skill = 1
|
||||
reverse_add_opinion = {
|
||||
target = scope:courtier
|
||||
modifier = grateful_opinion
|
||||
opinion = 25
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
craven = minor_stress_impact_gain
|
||||
brave = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = 1
|
||||
ai_boldness = 1
|
||||
ai_energy = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { # Save yourself
|
||||
name = natural_disaster_flavor_events.0015.d
|
||||
random = {
|
||||
chance = {
|
||||
value = 45
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_bad
|
||||
title = natural_disaster_flavor_events.0015.a.failure
|
||||
left_icon = scope:spouse
|
||||
right_icon = scope:heir
|
||||
primary_spouse = {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
primary_heir ?= {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
scope:courtier ?= {
|
||||
increase_wounds_effect = { REASON = wounds }
|
||||
}
|
||||
}
|
||||
save_scope_as = damage_done
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:damage_done } }
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = natural_disaster_flavor_events.0015.a.success
|
||||
left_icon = root
|
||||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
brave = minor_stress_impact_gain
|
||||
craven = minor_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_honor = -1
|
||||
ai_compassion = -1
|
||||
ai_boldness = -1
|
||||
ai_rationality = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,289 +0,0 @@
|
|||
namespace = tgp_silk_road_events
|
||||
|
||||
# visit_silk_road_market_decision
|
||||
|
||||
tgp_silk_road_events.0010 = {
|
||||
type = character_event
|
||||
title = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
OR = {
|
||||
scope:market_temp = title:c_jingzhao # Chang'an
|
||||
scope:market_temp = title:c_shazhou # Dunhuang
|
||||
}
|
||||
}
|
||||
desc = tgp_silk_road_events.0010.t.market
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:market_temp = title:c_lhasa } # Lhasa
|
||||
desc = tgp_silk_road_events.0010.t.khrom
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:market_temp = title:c_dvin } # Dvin
|
||||
desc = tgp_silk_road_events.0010.t.shuka
|
||||
}
|
||||
desc = tgp_silk_road_events.0010.t
|
||||
}
|
||||
}
|
||||
desc = tgp_silk_road_events.0010.desc
|
||||
theme = silk_road
|
||||
override_background = { reference = market }
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = steward
|
||||
}
|
||||
|
||||
immediate = {
|
||||
culture = { save_scope_as = culture_temp }
|
||||
save_scope_as = new_trinket # Purely for error suppression
|
||||
}
|
||||
|
||||
option = {
|
||||
name = tgp_silk_road_events.0010.a
|
||||
duel = {
|
||||
skills = { learning stewardship }
|
||||
value = average_skill_rating
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = 3.5
|
||||
min = -49
|
||||
}
|
||||
culture = {
|
||||
add_to_variable_list = {
|
||||
name = silk_road_unlocked_innovations
|
||||
target = scope:innovation_temp
|
||||
}
|
||||
}
|
||||
every_player = {
|
||||
limit = { culture = root.culture }
|
||||
send_interface_toast = {
|
||||
type = msg_silk_road_innovation_spread
|
||||
title = msg_silk_road_innovation_spread_title
|
||||
desc = msg_silk_road_innovation_visit_desc
|
||||
left_icon = root
|
||||
right_icon = scope:market_temp
|
||||
custom_tooltip = msg_silk_road_innovation_spread_tt
|
||||
}
|
||||
}
|
||||
}
|
||||
#
|
||||
50 = {
|
||||
compare_modifier = {
|
||||
value = scope:duel_value
|
||||
multiplier = -3.5
|
||||
min = -49
|
||||
}
|
||||
desc = SILK_ROAD_MARKET_EMPTY_HANDED
|
||||
send_interface_toast = {
|
||||
title = tgp_silk_road_events.0010.a_nada
|
||||
type = event_toast_effect_bad
|
||||
left_icon = root
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 50
|
||||
|
||||
ai_value_modifier = {
|
||||
ai_rationality = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
option = {
|
||||
name = tgp_silk_road_events.0010.b
|
||||
|
||||
random_list = {
|
||||
desc = tgp_silk_road_events.0010.b_tt
|
||||
# get a famed-quality or masterwork-quality item
|
||||
10 = {
|
||||
desc = tgp_silk_road_events.0010.b_trinket
|
||||
|
||||
hidden_effect = {
|
||||
root = {
|
||||
add_character_flag = { flag = used_in_feast_default.1016 } # uncommon, famed, masterwork items
|
||||
generate_trinket_effect = {
|
||||
TRINKET_RECEIVER = root
|
||||
TRINKET_GIVER = root
|
||||
GRAB_ALL_TRINKETS = yes
|
||||
HISTORY_TYPE = given_unknown
|
||||
}
|
||||
remove_character_flag = used_in_feast_default.1016
|
||||
}
|
||||
}
|
||||
send_interface_toast = {
|
||||
title = tgp_silk_road_events.0010.b_trinket
|
||||
type = event_toast_effect_good
|
||||
left_icon = root
|
||||
right_icon = scope:new_trinket
|
||||
scope:new_trinket = {
|
||||
set_owner = root
|
||||
}
|
||||
}
|
||||
custom_tooltip = purchase_artifact_famed_tt
|
||||
}
|
||||
# make a profit
|
||||
25 = {
|
||||
desc = tgp_silk_road_events.0010.b_big_gold
|
||||
send_interface_toast = {
|
||||
title = tgp_silk_road_events.0010.b_big_gold
|
||||
type = event_toast_effect_good
|
||||
left_icon = root
|
||||
add_short_term_gold = massive_gold_value
|
||||
}
|
||||
}
|
||||
# break even
|
||||
40 = {
|
||||
desc = tgp_silk_road_events.0010.b_small_gold
|
||||
send_interface_toast = {
|
||||
title = tgp_silk_road_events.0010.b_small_gold
|
||||
type = event_toast_effect_good
|
||||
left_icon = root
|
||||
add_short_term_gold = major_gold_value # should be the same as the cost of the decision to visit a market
|
||||
}
|
||||
}
|
||||
# get nothing, and if you're greedy, get stressed because you got nothing
|
||||
25 = {
|
||||
desc = tgp_silk_road_events.0010.a_nada
|
||||
send_interface_toast = {
|
||||
title = tgp_silk_road_events.0010.a_nada
|
||||
type = event_toast_effect_bad
|
||||
left_icon = root
|
||||
}
|
||||
stress_impact = {
|
||||
greedy = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 10
|
||||
|
||||
ai_value_modifier = {
|
||||
ai_boldness = 1
|
||||
ai_greed = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# yearly event for spreading innovations from markets to holder's culture
|
||||
|
||||
scripted_effect silk_road_market_spread_innovation_effect = {
|
||||
# Find relevant innovation
|
||||
scope:market_temp ?= {
|
||||
random_county_situation_sub_region = {
|
||||
limit = {
|
||||
situation_sub_region_has_county = scope:market_temp
|
||||
OR = {
|
||||
sub_region_current_phase = phase_exceptional_bounty
|
||||
sub_region_current_phase = phase_steady_trading
|
||||
sub_region_current_phase = phase_hardship
|
||||
}
|
||||
}
|
||||
save_temporary_scope_as = sub_region_temp
|
||||
var:innovation ?= { save_temporary_scope_as = innovation_temp }
|
||||
}
|
||||
}
|
||||
# Unlock for culture if relevant
|
||||
if = {
|
||||
limit = {
|
||||
NOR = {
|
||||
scope:culture_temp = {
|
||||
any_in_list = {
|
||||
variable = silk_road_unlocked_innovations
|
||||
this = scope:innovation_temp
|
||||
}
|
||||
}
|
||||
scope:innovation_temp = { is_known_by_culture = scope:culture_temp }
|
||||
}
|
||||
}
|
||||
every_player = {
|
||||
limit = { culture = scope:culture_temp }
|
||||
send_interface_message = {
|
||||
type = msg_silk_road_innovation_spread
|
||||
title = msg_silk_road_innovation_spread_title
|
||||
desc = msg_silk_road_innovation_spread_desc
|
||||
left_icon = scope:market_temp.holder
|
||||
right_icon = scope:market_temp
|
||||
custom_tooltip = msg_silk_road_innovation_spread_tt
|
||||
}
|
||||
}
|
||||
scope:culture_temp = {
|
||||
add_to_variable_list = {
|
||||
name = silk_road_unlocked_innovations
|
||||
target = scope:innovation_temp
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tgp_silk_road_events.0100 = {
|
||||
hidden = yes
|
||||
type = character_event
|
||||
|
||||
trigger = {
|
||||
OR = {
|
||||
has_title = title:c_jingzhao # Chang'an
|
||||
has_title = title:c_lhasa # Lhasa
|
||||
has_title = title:c_lahur # Lahur
|
||||
has_title = title:c_shazhou # Dunhuang
|
||||
has_title = title:c_khiva # Khiva
|
||||
has_title = title:c_dvin # Dvin
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
culture = { save_temporary_scope_as = culture_temp }
|
||||
# Find market for yearly if relevant
|
||||
if = {
|
||||
limit = { NOT = { exists = scope:title } }
|
||||
title:c_jingzhao = { add_to_list = potential_markets } # Chang'an
|
||||
title:c_lhasa = { add_to_list = potential_markets } # Lhasa
|
||||
title:c_lahur = { add_to_list = potential_markets } # Lahur
|
||||
title:c_shazhou = { add_to_list = potential_markets } # Dunhuang
|
||||
title:c_khiva = { add_to_list = potential_markets } # Khiva
|
||||
title:c_dvin = { add_to_list = potential_markets } # Dvin
|
||||
every_in_list = {
|
||||
list = potential_markets
|
||||
limit = {
|
||||
save_temporary_scope_as = county_temp
|
||||
holder = root
|
||||
any_county_situation_sub_region = {
|
||||
situation_sub_region_has_county = scope:county_temp
|
||||
OR = {
|
||||
sub_region_current_phase = phase_exceptional_bounty
|
||||
sub_region_current_phase = phase_steady_trading
|
||||
sub_region_current_phase = phase_hardship
|
||||
}
|
||||
# Has not spread to this culture before or is known by this culture
|
||||
var:innovation ?= {
|
||||
save_temporary_scope_as = innovation_temp
|
||||
NOR = {
|
||||
scope:culture_temp = {
|
||||
any_in_list = {
|
||||
variable = silk_road_unlocked_innovations
|
||||
this = scope:innovation_temp
|
||||
}
|
||||
}
|
||||
is_known_by_culture = scope:culture_temp
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
save_temporary_scope_as = market_temp
|
||||
silk_road_market_spread_innovation_effect = yes
|
||||
}
|
||||
}
|
||||
# Use gained market otherwise
|
||||
else = {
|
||||
scope:title = { save_temporary_scope_as = market_temp }
|
||||
silk_road_market_spread_innovation_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,320 +0,0 @@
|
|||
namespace = tgp_travel_danger_events
|
||||
#You encounter an orphan while traveling trough an area struck by natural disaster
|
||||
tgp_travel_danger_events.0001 = {
|
||||
type = character_event
|
||||
title = tgp_travel_danger_events.0001.t
|
||||
desc = {
|
||||
desc = tgp_travel_danger_events.0001.intro
|
||||
#Triggered desc based on success
|
||||
first_valid = {
|
||||
triggered_desc ={
|
||||
trigger = {
|
||||
location = {
|
||||
county = {
|
||||
any_county_situation = {
|
||||
situation_type = natural_disaster_flood
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = tgp_travel_danger_events.0001.flood
|
||||
}
|
||||
triggered_desc ={
|
||||
trigger = {
|
||||
location = {
|
||||
county = {
|
||||
any_county_situation = {
|
||||
situation_type = natural_disaster_earthquake
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = tgp_travel_danger_events.0001.earthquake
|
||||
}
|
||||
}
|
||||
|
||||
desc = tgp_travel_danger_events.0001.desc
|
||||
}
|
||||
theme = travel_danger
|
||||
|
||||
override_background = {
|
||||
trigger = {
|
||||
location = {
|
||||
geographical_region = world_asia
|
||||
county = {
|
||||
any_county_situation = {
|
||||
situation_type = natural_disaster_earthquake
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
reference = tgp_ruined_holding
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
location = {
|
||||
geographical_region = world_asia
|
||||
county = {
|
||||
any_county_situation = {
|
||||
situation_type = natural_disaster_flood
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
reference = tgp_overflowing_river
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
location = {
|
||||
NOT = { geographical_region = world_asia }
|
||||
county = {
|
||||
any_county_situation = {
|
||||
situation_type = natural_disaster_earthquake
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
reference = burning_building
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
location = {
|
||||
NOT = { geographical_region = world_asia }
|
||||
county = {
|
||||
any_county_situation = {
|
||||
situation_type = natural_disaster_flood
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
reference = bp3_riverside
|
||||
}
|
||||
override_effect_2d = {
|
||||
trigger = { scope:disaster_situation = { situation_type = natural_disaster_earthquake } }
|
||||
reference = smoke
|
||||
}
|
||||
override_effect_2d = {
|
||||
trigger = { scope:disaster_situation = { situation_type = natural_disaster_flood } }
|
||||
reference = rain
|
||||
}
|
||||
left_portrait = {
|
||||
character = root
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
has_trait_benevolent_trigger = yes
|
||||
}
|
||||
animation = stunned
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
has_trait_malicious_trigger = yes
|
||||
}
|
||||
animation = dismissal
|
||||
}
|
||||
|
||||
animation = disbelief
|
||||
camera = camera_event_scheme_left
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:peasant_character_child
|
||||
animation = sadness
|
||||
camera = camera_event_right_pointing_left
|
||||
}
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
is_location_valid_for_travel_event_on_land = yes
|
||||
is_available_travelling_adult = yes
|
||||
|
||||
location = {
|
||||
county = {
|
||||
any_county_situation = {
|
||||
tgp_natural_disaster_situation_is_disaster_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
location.county = {
|
||||
random_county_situation = {
|
||||
limit = {
|
||||
tgp_natural_disaster_situation_is_disaster_trigger = yes
|
||||
}
|
||||
save_scope_as = disaster_situation
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_pool_character = {
|
||||
province = root.location
|
||||
age = { 8 12 }
|
||||
has_trait = diligent
|
||||
faith = root.location.faith
|
||||
culture = root.location.culture
|
||||
}
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.location
|
||||
limit = {
|
||||
age = { 8 12 }
|
||||
has_trait = diligent
|
||||
faith = root.location.faith
|
||||
culture = root.location.culture
|
||||
}
|
||||
save_scope_as = peasant_character_child
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_character = {
|
||||
template = peasant_child_character
|
||||
age = { 8 12 }
|
||||
trait = diligent
|
||||
faith = root.location.faith
|
||||
culture = root.location.culture
|
||||
location = root.location
|
||||
|
||||
save_scope_as = peasant_character_child
|
||||
}
|
||||
}
|
||||
scope:peasant_character_child = {
|
||||
remove_character_flag ?= peasant_outfit
|
||||
}
|
||||
}
|
||||
#Send men to clear the rubble
|
||||
option = {
|
||||
name = tgp_travel_danger_events.0001.a
|
||||
current_travel_plan = {
|
||||
delay_travel_plan = { days = 10 }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_allows = merit
|
||||
}
|
||||
change_merit = medium_merit_gain
|
||||
}
|
||||
else = {
|
||||
add_prestige = medium_prestige_gain
|
||||
}
|
||||
stress_impact = {
|
||||
impatient = medium_stress_impact_gain
|
||||
compassionate = medium_stress_impact_loss
|
||||
}
|
||||
scope:peasant_character_child = {
|
||||
if = {
|
||||
limit = {
|
||||
is_pool_character = no
|
||||
}
|
||||
silent_disappearance_ai_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_compassion = 1
|
||||
ai_vengefulness = -1
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_trait = impatient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Take the child on as a ward
|
||||
option = {
|
||||
name = tgp_travel_danger_events.0001.b
|
||||
trigger = {
|
||||
num_of_relation_ward < 2
|
||||
}
|
||||
show_as_tooltip = { add_courtier = scope:peasant_character_child }
|
||||
hidden_effect = {
|
||||
scope:peasant_character_child = {
|
||||
add_to_court_and_entourage_effect = yes
|
||||
}
|
||||
}
|
||||
scope:peasant_character_child = { set_relation_guardian = root }
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
root.current_travel_plan = {
|
||||
any_entourage_character = { has_trait = compassionate }
|
||||
}
|
||||
}
|
||||
root.current_travel_plan = {
|
||||
every_entourage_character = {
|
||||
custom = custom.every_compassionate_entourage_character
|
||||
limit = { has_trait = compassionate }
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = impressed_by_kindness
|
||||
opinion = 15
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { faith = { trait_is_virtue = compassionate } }
|
||||
add_piety = medium_piety_gain
|
||||
}
|
||||
stress_impact = {
|
||||
callous = major_stress_impact_gain
|
||||
sadistic = major_stress_impact_gain
|
||||
compassionate = major_stress_impact_loss
|
||||
}
|
||||
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_compassion = 1
|
||||
ai_vengefulness = -1
|
||||
}
|
||||
modifier = {
|
||||
factor = 5
|
||||
has_trait = compassionate
|
||||
}
|
||||
modifier = {
|
||||
factor = 5
|
||||
OR = {
|
||||
has_trait = wrathful
|
||||
has_trait = callous
|
||||
has_trait = sadistic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#Ignore the child
|
||||
option = {
|
||||
name = tgp_travel_danger_events.0001.c
|
||||
|
||||
current_travel_plan ?= {
|
||||
add_destination_progress = { days = 5 }
|
||||
}
|
||||
|
||||
scope:peasant_character_child = {
|
||||
if = {
|
||||
limit = {
|
||||
is_pool_character = no
|
||||
}
|
||||
silent_disappearance_ai_effect = yes
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
compassionate = major_stress_impact_gain
|
||||
impatient = major_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_compassion = -1
|
||||
ai_vengefulness = 1
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_trait = compassionate
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue