event fixes pt II
This commit is contained in:
parent
e8f9381e3a
commit
0555f85c12
55 changed files with 4908 additions and 134006 deletions
|
|
@ -91,8 +91,6 @@ bp2_adult_education.0009 = {
|
|||
}
|
||||
|
||||
immediate = {
|
||||
#Reward effects
|
||||
adult_education_completed_log_entry_effect = yes
|
||||
scope:activity = {
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
|
|
@ -195,11 +193,11 @@ bp2_adult_education.0009 = {
|
|||
scope:activity = {
|
||||
every_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
silent_disappearance_ai_if_created_effect = yes
|
||||
|
|
@ -283,9 +281,9 @@ bp2_adult_education.1000 = {
|
|||
}
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -297,18 +295,18 @@ bp2_adult_education.1000 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
save_scope_as = student
|
||||
}
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
save_scope_as = teacher
|
||||
|
|
@ -357,7 +355,7 @@ bp2_adult_education.1000 = {
|
|||
}
|
||||
}
|
||||
root = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = minor_stress_impact_loss
|
||||
gregarious = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -389,11 +387,11 @@ bp2_adult_education.1000 = {
|
|||
REASON = rival_bested_me_in_debate
|
||||
OPINION = default_rival_opinion
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
ambitious = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
scholar = major_stress_impact_gain
|
||||
erudite = major_stress_impact_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -455,7 +453,7 @@ bp2_adult_education.1000 = {
|
|||
}
|
||||
}
|
||||
root = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
gregarious = medium_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -486,7 +484,7 @@ bp2_adult_education.1000 = {
|
|||
REASON = rival_bested_me_in_debate
|
||||
OPINION = default_rival_opinion
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
ambitious = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
deceitful = medium_stress_impact_gain
|
||||
|
|
@ -516,7 +514,7 @@ bp2_adult_education.1000 = {
|
|||
name = bp2_adult_education.1000.c
|
||||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
gregarious = minor_stress_impact_gain
|
||||
ambitious = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
|
|
@ -557,9 +555,9 @@ bp2_adult_education.1010 = {
|
|||
num_of_known_languages <= language_soft_cap
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -575,9 +573,9 @@ bp2_adult_education.1010 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
save_scope_as = teacher
|
||||
|
|
@ -605,7 +603,7 @@ bp2_adult_education.1010 = {
|
|||
custom_tooltip = adult_education_tt_positive_major
|
||||
activity_special_type_progression_major = yes
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_gain
|
||||
diligent = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_gain
|
||||
|
|
@ -690,7 +688,7 @@ bp2_adult_education.1010 = {
|
|||
add_diplomacy_skill = 1
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
lifestyle_poet = major_stress_impact_gain
|
||||
|
|
@ -811,7 +809,7 @@ bp2_adult_education.1010 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
craven = major_stress_impact_gain
|
||||
shy = major_stress_impact_gain
|
||||
gregarious = minor_stress_impact_loss
|
||||
|
|
@ -837,7 +835,7 @@ bp2_adult_education.1010 = {
|
|||
name = bp2_adult_education.1010.c
|
||||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
ambitious = medium_stress_impact_gain
|
||||
|
|
@ -884,6 +882,12 @@ scripted_effect bp2_learn_lithurgical_language_effect = {
|
|||
}
|
||||
learn_language = language_greek
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:activity.activity_location.county.faith = faith:armenian_apostolic
|
||||
}
|
||||
learn_language = language_armenian
|
||||
}
|
||||
}
|
||||
|
||||
bp2_adult_education.1011 = {
|
||||
|
|
@ -926,6 +930,7 @@ bp2_adult_education.1011 = {
|
|||
limit = {
|
||||
OR = {
|
||||
scope:activity.activity_location.county.faith.religion = religion:judaism_religion
|
||||
scope:activity.activity_location.county.faith = faith:nestorian
|
||||
}
|
||||
}
|
||||
NOT = { knows_language = language_aramaic }
|
||||
|
|
@ -942,6 +947,12 @@ bp2_adult_education.1011 = {
|
|||
}
|
||||
NOT = { knows_language = language_greek }
|
||||
}
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
scope:activity.activity_location.county.faith = faith:armenian_apostolic
|
||||
}
|
||||
NOT = { knows_language = language_armenian }
|
||||
}
|
||||
trigger_else = {
|
||||
always = no
|
||||
}
|
||||
|
|
@ -957,9 +968,9 @@ bp2_adult_education.1011 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
save_scope_as = teacher
|
||||
|
|
@ -987,7 +998,7 @@ bp2_adult_education.1011 = {
|
|||
activity_special_type_progression_major = yes
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_gain
|
||||
diligent = medium_stress_impact_loss
|
||||
stubborn = minor_stress_impact_loss
|
||||
|
|
@ -1057,7 +1068,7 @@ bp2_adult_education.1011 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -1076,7 +1087,7 @@ bp2_adult_education.1011 = {
|
|||
modifier = foolish_endeavor_modifier
|
||||
years = 5
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -1134,7 +1145,7 @@ bp2_adult_education.1011 = {
|
|||
activity_special_type_progression_medium = yes
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = medium_stress_impact_gain
|
||||
lazy = medium_stress_impact_gain
|
||||
fickle = medium_stress_impact_gain
|
||||
|
|
@ -1160,7 +1171,7 @@ bp2_adult_education.1011 = {
|
|||
modifier = disappointed_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1189,7 +1200,7 @@ bp2_adult_education.1011 = {
|
|||
name = bp2_adult_education.1010.c
|
||||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
ambitious = medium_stress_impact_gain
|
||||
|
|
@ -1232,9 +1243,9 @@ bp2_adult_education.1012 = {
|
|||
num_of_known_languages <= language_soft_cap
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
save_temporary_scope_as = teacher_check
|
||||
}
|
||||
|
|
@ -1247,9 +1258,9 @@ bp2_adult_education.1012 = {
|
|||
modifier = {
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
culture != scope:activity.activity_location.county.culture
|
||||
}
|
||||
|
|
@ -1264,17 +1275,17 @@ bp2_adult_education.1012 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
culture != scope:activity.activity_location.county.culture
|
||||
root = { NOT = { knows_language_of_culture = prev.culture } }
|
||||
}
|
||||
alternative_limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
root = { NOT = { knows_language_of_culture = prev.culture } }
|
||||
}
|
||||
|
|
@ -1329,7 +1340,7 @@ bp2_adult_education.1012 = {
|
|||
OPINION = default_friend_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = medium_stress_impact_gain
|
||||
lazy = medium_stress_impact_gain
|
||||
fickle = medium_stress_impact_gain
|
||||
|
|
@ -1355,7 +1366,7 @@ bp2_adult_education.1012 = {
|
|||
modifier = disappointed_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
gregarious = medium_stress_impact_gain
|
||||
|
|
@ -1408,7 +1419,7 @@ bp2_adult_education.1012 = {
|
|||
custom_tooltip = adult_education_tt_positive_medium
|
||||
activity_special_type_progression_medium = yes
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = medium_stress_impact_gain
|
||||
lazy = medium_stress_impact_gain
|
||||
fickle = medium_stress_impact_gain
|
||||
|
|
@ -1434,7 +1445,7 @@ bp2_adult_education.1012 = {
|
|||
modifier = disappointed_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
gregarious = medium_stress_impact_gain
|
||||
|
|
@ -1454,7 +1465,7 @@ bp2_adult_education.1012 = {
|
|||
name = bp2_adult_education.1010.c
|
||||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
ambitious = medium_stress_impact_gain
|
||||
|
|
@ -1524,9 +1535,9 @@ bp2_adult_education.1020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:location.county.faith = {
|
||||
scope:location.county.rite = {
|
||||
NOT = {
|
||||
has_doctrine = doctrine_theocracy_lay_clergy
|
||||
rite_has_doctrine = doctrine_theocracy_lay_clergy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1543,9 +1554,9 @@ bp2_adult_education.1020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:location.county.faith = {
|
||||
scope:location.county.rite = {
|
||||
NOT = {
|
||||
has_doctrine = doctrine_theocracy_lay_clergy
|
||||
rite_has_doctrine = doctrine_theocracy_lay_clergy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1598,15 +1609,15 @@ bp2_adult_education.1020 = {
|
|||
scope:activity.activity_location = { geographical_region = world_europe }
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1621,9 +1632,9 @@ bp2_adult_education.1020 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
save_scope_as = student
|
||||
|
|
@ -1639,9 +1650,9 @@ bp2_adult_education.1020 = {
|
|||
}
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
save_scope_as = teacher
|
||||
|
|
@ -1667,7 +1678,7 @@ bp2_adult_education.1020 = {
|
|||
OPINION = default_friend_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = minor_stress_impact_loss
|
||||
shy = minor_stress_impact_loss
|
||||
cynical = minor_stress_impact_gain
|
||||
|
|
@ -1722,7 +1733,7 @@ bp2_adult_education.1020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
shy = medium_stress_impact_gain
|
||||
zealous = medium_stress_impact_gain
|
||||
|
|
@ -1785,7 +1796,7 @@ bp2_adult_education.1020 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1799,7 +1810,7 @@ bp2_adult_education.1020 = {
|
|||
name = bp2_adult_education.1020.d
|
||||
custom_tooltip = adult_education_tt_positive_medium
|
||||
scope:activity = { activity_special_type_progression_medium = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -1853,9 +1864,9 @@ bp2_adult_education.1030 = {
|
|||
trigger = {
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1870,9 +1881,9 @@ bp2_adult_education.1030 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
save_scope_as = student
|
||||
|
|
@ -1919,7 +1930,7 @@ bp2_adult_education.1030 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = minor_stress_impact_gain
|
||||
gregarious = minor_stress_impact_loss
|
||||
shy = minor_stress_impact_loss
|
||||
|
|
@ -1940,7 +1951,7 @@ bp2_adult_education.1030 = {
|
|||
years = 10
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
diligent = medium_stress_impact_gain
|
||||
gregarious = medium_stress_impact_gain
|
||||
|
|
@ -1985,7 +1996,7 @@ bp2_adult_education.1030 = {
|
|||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -2002,7 +2013,7 @@ bp2_adult_education.1030 = {
|
|||
}
|
||||
custom_tooltip = adult_education_tt_positive_medium
|
||||
scope:activity = { activity_special_type_progression_medium = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
gregarious = medium_stress_impact_gain
|
||||
lifestyle_reveler = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -2010,7 +2021,7 @@ bp2_adult_education.1030 = {
|
|||
else = {
|
||||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
diligent = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -2168,7 +2179,7 @@ bp2_adult_education.1040 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
honest = minor_stress_impact_loss
|
||||
gregarious = minor_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
|
|
@ -2216,7 +2227,7 @@ bp2_adult_education.1040 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
honest = minor_stress_impact_loss
|
||||
gregarious = minor_stress_impact_gain
|
||||
craven = medium_stress_impact_gain
|
||||
|
|
@ -2242,7 +2253,7 @@ bp2_adult_education.1040 = {
|
|||
min = -49
|
||||
}
|
||||
modifier = {
|
||||
has_trait = scholar
|
||||
has_trait = erudite
|
||||
add = 20
|
||||
}
|
||||
modifier = {
|
||||
|
|
@ -2293,8 +2304,8 @@ bp2_adult_education.1040 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
scholar = minor_stress_impact_loss
|
||||
stress_and_fulfillment_impact = {
|
||||
erudite = minor_stress_impact_loss
|
||||
deceitful = minor_stress_impact_loss
|
||||
diligent = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -2330,7 +2341,7 @@ bp2_adult_education.1040 = {
|
|||
OPINION = default_rival_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -2399,7 +2410,7 @@ bp2_adult_education.1040 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
gregarious = medium_stress_impact_loss
|
||||
shy = minor_stress_impact_gain
|
||||
|
|
@ -2440,7 +2451,7 @@ bp2_adult_education.1040 = {
|
|||
OPINION = default_rival_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
gregarious = medium_stress_impact_gain
|
||||
shy = medium_stress_impact_gain
|
||||
|
|
@ -2582,7 +2593,7 @@ bp2_adult_education.1050 = {
|
|||
desc = cultural_acceptance_gain_hold_court_event_outcome
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = medium_stress_impact_gain
|
||||
impatient = medium_stress_impact_gain
|
||||
zealous = medium_stress_impact_gain
|
||||
|
|
@ -2636,7 +2647,7 @@ bp2_adult_education.1050 = {
|
|||
OPINION = default_friend_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = medium_stress_impact_gain
|
||||
shy = medium_stress_impact_gain
|
||||
gregarious = minor_stress_impact_loss
|
||||
|
|
@ -2663,7 +2674,7 @@ bp2_adult_education.1050 = {
|
|||
name = bp2_adult_education.1050.c
|
||||
custom_tooltip = adult_education_tt_positive_medium
|
||||
scope:activity = { activity_special_type_progression_medium = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = minor_stress_impact_loss
|
||||
diligent = minor_stress_impact_loss
|
||||
humble = medium_stress_impact_gain
|
||||
|
|
@ -2710,7 +2721,7 @@ bp2_adult_education.1060 = {
|
|||
add = 2
|
||||
}
|
||||
modifier = {
|
||||
has_trait = scholar
|
||||
has_trait = erudite
|
||||
add = 1
|
||||
}
|
||||
}
|
||||
|
|
@ -2788,7 +2799,7 @@ bp2_adult_education.1060 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -2805,7 +2816,7 @@ bp2_adult_education.1060 = {
|
|||
custom_tooltip = adult_education_tt_positive_major
|
||||
scope:activity = { activity_special_type_progression_major = yes }
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
|
|
@ -2822,7 +2833,7 @@ bp2_adult_education.1060 = {
|
|||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
|
|
@ -2842,10 +2853,10 @@ bp2_adult_education.1060 = {
|
|||
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1060.b.tt }
|
||||
custom_tooltip = adult_education_tt_positive_tiny
|
||||
scope:activity = { activity_special_type_progression_tiny = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = minor_stress_impact_gain
|
||||
scholar = major_stress_impact_gain
|
||||
erudite = major_stress_impact_gain
|
||||
theologian = major_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -2856,7 +2867,7 @@ bp2_adult_education.1060 = {
|
|||
# Option C: opt-out
|
||||
option = {
|
||||
name = bp2_adult_education.1060.c
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -2912,9 +2923,9 @@ bp2_adult_education.1070 = {
|
|||
has_character_flag = student_2
|
||||
}
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2929,18 +2940,18 @@ bp2_adult_education.1070 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
}
|
||||
save_scope_as = student
|
||||
}
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = student_1
|
||||
has_character_flag = student_2
|
||||
has_variable = {
|
||||
name = student_1
|
||||
name = student_2
|
||||
}
|
||||
this != scope:student
|
||||
}
|
||||
|
|
@ -2948,9 +2959,9 @@ bp2_adult_education.1070 = {
|
|||
}
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
save_scope_as = teacher
|
||||
|
|
@ -2995,7 +3006,7 @@ bp2_adult_education.1070 = {
|
|||
modifier = proud_opinion
|
||||
opinion = 20
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
arrogant = minor_stress_impact_loss
|
||||
shy = minor_stress_impact_gain
|
||||
|
|
@ -3029,7 +3040,7 @@ bp2_adult_education.1070 = {
|
|||
|
||||
#Effect
|
||||
root = {
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
shy = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
|
|
@ -3084,7 +3095,7 @@ bp2_adult_education.1070 = {
|
|||
modifier = proud_opinion
|
||||
opinion = 20
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
arrogant = minor_stress_impact_loss
|
||||
shy = minor_stress_impact_gain
|
||||
|
|
@ -3120,7 +3131,7 @@ bp2_adult_education.1070 = {
|
|||
#Effect
|
||||
root = {
|
||||
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = minor }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
shy = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
|
|
@ -3150,7 +3161,7 @@ bp2_adult_education.1070 = {
|
|||
OPINION = default_rival_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
shy = major_stress_impact_loss
|
||||
reclusive = major_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3191,9 +3202,9 @@ bp2_adult_education.1080 = {
|
|||
trigger = {
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
OR = {
|
||||
is_infidel_trigger = { WHO = this TARGET = root }
|
||||
|
|
@ -3217,9 +3228,9 @@ bp2_adult_education.1080 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
OR = {
|
||||
is_infidel_trigger = { WHO = this TARGET = root }
|
||||
|
|
@ -3241,7 +3252,7 @@ bp2_adult_education.1080 = {
|
|||
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
|
||||
custom_tooltip = adult_education_tt_positive_medium
|
||||
scope:activity = { activity_special_type_progression_medium = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
theologian = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -3258,7 +3269,7 @@ bp2_adult_education.1080 = {
|
|||
}
|
||||
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
|
||||
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1080.b.tt }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
diligent = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -3282,7 +3293,7 @@ bp2_adult_education.1080 = {
|
|||
}
|
||||
add_piety = major_piety_gain
|
||||
add_prestige = medium_prestige_gain
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
cynical = major_stress_impact_gain
|
||||
gregarious = major_stress_impact_gain
|
||||
compassionate = major_stress_impact_gain
|
||||
|
|
@ -3331,7 +3342,7 @@ bp2_adult_education.1080 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = massive_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -3369,7 +3380,7 @@ bp2_adult_education.1080 = {
|
|||
OPINION = default_friend_opinion
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = major_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -3404,9 +3415,9 @@ bp2_adult_education.1090 = {
|
|||
trigger = {
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3417,9 +3428,9 @@ bp2_adult_education.1090 = {
|
|||
modifier = {
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
has_trait = education_martial
|
||||
}
|
||||
|
|
@ -3429,9 +3440,9 @@ bp2_adult_education.1090 = {
|
|||
modifier = {
|
||||
scope:activity = {
|
||||
any_attending_character = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
has_trait = lifestyle_hunter
|
||||
}
|
||||
|
|
@ -3445,9 +3456,9 @@ bp2_adult_education.1090 = {
|
|||
activity_location = { save_scope_as = location }
|
||||
random_attending_character = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
OR = {
|
||||
has_trait = education_martial
|
||||
|
|
@ -3455,9 +3466,9 @@ bp2_adult_education.1090 = {
|
|||
}
|
||||
}
|
||||
alternative_limit = {
|
||||
OR = {
|
||||
has_character_flag = teacher_1
|
||||
has_character_flag = teacher_2
|
||||
has_variable = {
|
||||
name = teacher_1
|
||||
name = teacher_2
|
||||
}
|
||||
}
|
||||
save_scope_as = teacher
|
||||
|
|
@ -3474,7 +3485,7 @@ bp2_adult_education.1090 = {
|
|||
add_prestige = medium_prestige_loss
|
||||
custom_tooltip = adult_education_tt_positive_major
|
||||
scope:activity = { activity_special_type_progression_major = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = minor_stress_impact_gain
|
||||
compassionate = medium_stress_impact_gain
|
||||
zealous = medium_stress_impact_gain
|
||||
|
|
@ -3485,7 +3496,7 @@ bp2_adult_education.1090 = {
|
|||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_tradition = tradition_vegetarianism }
|
||||
faith = { has_doctrine = tenet_sanctity_of_nature }
|
||||
rite = { rite_has_tenet = tenet_sanctity_of_nature }
|
||||
}
|
||||
}
|
||||
custom_tooltip = bp2_adult_education.1090.a.tt
|
||||
|
|
@ -3498,7 +3509,7 @@ bp2_adult_education.1090 = {
|
|||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = scholar
|
||||
has_trait = erudite
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
|
|
@ -3546,7 +3557,7 @@ bp2_adult_education.1090 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = minor_stress_impact_gain
|
||||
compassionate = medium_stress_impact_gain
|
||||
diligent = major_stress_impact_gain
|
||||
|
|
@ -3574,7 +3585,7 @@ bp2_adult_education.1090 = {
|
|||
name = bp2_adult_education.1090.c
|
||||
custom_tooltip = adult_education_tt_positive_medium
|
||||
scope:activity = { activity_special_type_progression_medium = yes }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
brave = minor_stress_impact_gain
|
||||
diligent = minor_stress_impact_gain
|
||||
gregarious = minor_stress_impact_gain
|
||||
|
|
|
|||
|
|
@ -1,514 +0,0 @@
|
|||
namespace = bp2_character_interaction
|
||||
|
||||
# Influence Ward's Personality - Success Event
|
||||
bp2_character_interaction.1001 = {
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_character_interaction.1001.t
|
||||
desc = {
|
||||
desc = bp2_character_interaction.1001.desc_intro
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:lustful }
|
||||
desc = bp2_character_interaction.1001.desc_lustful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:chaste }
|
||||
desc = bp2_character_interaction.1001.desc_chaste
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:gluttonous }
|
||||
desc = bp2_character_interaction.1001.desc_gluttonous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:temperate }
|
||||
desc = bp2_character_interaction.1001.desc_temperate
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:greedy }
|
||||
desc = bp2_character_interaction.1001.desc_greedy
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:generous }
|
||||
desc = bp2_character_interaction.1001.desc_generous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:lazy }
|
||||
desc = bp2_character_interaction.1001.desc_lazy
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:diligent }
|
||||
desc = bp2_character_interaction.1001.desc_diligent
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:wrathful }
|
||||
desc = bp2_character_interaction.1001.desc_wrathful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:calm }
|
||||
desc = bp2_character_interaction.1001.desc_calm
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:patient }
|
||||
desc = bp2_character_interaction.1001.desc_patient
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:impatient }
|
||||
desc = bp2_character_interaction.1001.desc_impatient
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:arrogant}
|
||||
desc = bp2_character_interaction.1001.desc_arrogant
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:humble }
|
||||
desc = bp2_character_interaction.1001.desc_humble
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:deceitful }
|
||||
desc = bp2_character_interaction.1001.desc_deceitful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:honest }
|
||||
desc = bp2_character_interaction.1001.desc_honest
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:craven }
|
||||
desc = bp2_character_interaction.1001.desc_craven
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:target_trait = trait:brave
|
||||
scope:recipient = { is_landed = yes }
|
||||
}
|
||||
desc = bp2_character_interaction.1001.desc_brave_self
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:target_trait = trait:brave
|
||||
scope:recipient = { exists = liege }
|
||||
}
|
||||
desc = bp2_character_interaction.1001.desc_brave_liege
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:target_trait = trait:brave
|
||||
}
|
||||
desc = bp2_character_interaction.1001.desc_brave_root
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:shy }
|
||||
desc = bp2_character_interaction.1001.desc_shy
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:gregarious }
|
||||
desc = bp2_character_interaction.1001.desc_gregarious
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:ambitious }
|
||||
desc = bp2_character_interaction.1001.desc_ambitious
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:content }
|
||||
desc = bp2_character_interaction.1001.desc_content
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:arbitrary }
|
||||
desc = bp2_character_interaction.1001.desc_arbitrary
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:just }
|
||||
desc = bp2_character_interaction.1001.desc_just
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:cynical }
|
||||
desc = bp2_character_interaction.1001.desc_cynical
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:zealous }
|
||||
desc = bp2_character_interaction.1001.desc_zealous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:paranoid }
|
||||
desc = bp2_character_interaction.1001.desc_paranoid
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:trusting }
|
||||
desc = bp2_character_interaction.1001.desc_trusting
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:compassionate }
|
||||
desc = bp2_character_interaction.1001.desc_compassionate
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:callous }
|
||||
desc = bp2_character_interaction.1001.desc_callous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:sadistic }
|
||||
desc = bp2_character_interaction.1001.desc_sadistic
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:stubborn }
|
||||
desc = bp2_character_interaction.1001.desc_stubborn
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:fickle }
|
||||
desc = bp2_character_interaction.1001.desc_fickle
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:eccentric }
|
||||
desc = bp2_character_interaction.1001.desc_eccentric
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:vengeful }
|
||||
desc = bp2_character_interaction.1001.desc_vengeful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:forgiving }
|
||||
desc = bp2_character_interaction.1001.desc_forgiving
|
||||
}
|
||||
}
|
||||
}
|
||||
theme = family
|
||||
override_background = {
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
age < 12
|
||||
}
|
||||
}
|
||||
reference = bp2_nursery
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
age >= 12
|
||||
}
|
||||
}
|
||||
reference = garden
|
||||
}
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = happiness
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:recipient
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
OR = {
|
||||
scope:target_trait = trait:greedy
|
||||
scope:target_trait = trait:generous
|
||||
}
|
||||
}
|
||||
animation = hunting_shortbow_rest_arrow_default
|
||||
}
|
||||
animation = admiration
|
||||
}
|
||||
|
||||
trigger = {
|
||||
exists = scope:target_trait
|
||||
}
|
||||
|
||||
immediate = {
|
||||
scope:recipient = {
|
||||
set_favorite_toy_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = bp2_character_interaction.1001.a
|
||||
flavor = bp2_character_interaction.1001.a.flavor
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = pleased_opinion
|
||||
opinion = 20
|
||||
}
|
||||
scope:recipient = {
|
||||
add_trait = scope:target_trait
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = admiration_opinion
|
||||
opinion = 20
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
any_parent = {
|
||||
this != root
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
every_parent = {
|
||||
limit = {
|
||||
this != root
|
||||
is_ai = no
|
||||
}
|
||||
send_interface_message = {
|
||||
type = event_childhood_good_text
|
||||
title = guardian_influenced_personality
|
||||
desc = guardian_influenced_personality_desc
|
||||
left_icon = scope:recipient
|
||||
right_icon = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Influence Ward's Personality - Basic Failure Event
|
||||
bp2_character_interaction.1002 = {
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_character_interaction.1002.t
|
||||
desc = {
|
||||
desc = bp2_character_interaction.1002.desc_intro
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:lustful }
|
||||
desc = bp2_character_interaction.1002.desc_lustful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:chaste }
|
||||
desc = bp2_character_interaction.1002.desc_chaste
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:gluttonous }
|
||||
desc = bp2_character_interaction.1002.desc_gluttonous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:temperate }
|
||||
desc = bp2_character_interaction.1002.desc_temperate
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:greedy }
|
||||
desc = bp2_character_interaction.1002.desc_greedy
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:generous }
|
||||
desc = bp2_character_interaction.1002.desc_generous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:lazy }
|
||||
desc = bp2_character_interaction.1002.desc_lazy
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:diligent }
|
||||
desc = bp2_character_interaction.1002.desc_diligent
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:wrathful }
|
||||
desc = bp2_character_interaction.1002.desc_wrathful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:calm }
|
||||
desc = bp2_character_interaction.1002.desc_calm
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:patient }
|
||||
desc = bp2_character_interaction.1002.desc_patient
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:impatient }
|
||||
desc = bp2_character_interaction.1002.desc_impatient
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:arrogant}
|
||||
desc = bp2_character_interaction.1002.desc_arrogant
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:humble }
|
||||
desc = bp2_character_interaction.1002.desc_humble
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:deceitful }
|
||||
desc = bp2_character_interaction.1002.desc_deceitful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:honest }
|
||||
desc = bp2_character_interaction.1002.desc_honest
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:craven }
|
||||
desc = bp2_character_interaction.1002.desc_craven
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:brave }
|
||||
desc = bp2_character_interaction.1002.desc_brave
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:shy }
|
||||
desc = bp2_character_interaction.1002.desc_shy
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:gregarious }
|
||||
desc = bp2_character_interaction.1002.desc_gregarious
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:ambitious }
|
||||
desc = bp2_character_interaction.1002.desc_ambitious
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:content }
|
||||
desc = bp2_character_interaction.1002.desc_content
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:arbitrary }
|
||||
desc = bp2_character_interaction.1002.desc_arbitrary
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:just }
|
||||
desc = bp2_character_interaction.1002.desc_just
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:cynical }
|
||||
desc = bp2_character_interaction.1002.desc_cynical
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:zealous }
|
||||
desc = bp2_character_interaction.1002.desc_zealous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:paranoid }
|
||||
desc = bp2_character_interaction.1002.desc_paranoid
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:trusting }
|
||||
desc = bp2_character_interaction.1002.desc_trusting
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:compassionate }
|
||||
desc = bp2_character_interaction.1002.desc_compassionate
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:callous }
|
||||
desc = bp2_character_interaction.1002.desc_callous
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:sadistic }
|
||||
desc = bp2_character_interaction.1002.desc_sadistic
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:stubborn }
|
||||
desc = bp2_character_interaction.1002.desc_stubborn
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:fickle }
|
||||
desc = bp2_character_interaction.1002.desc_fickle
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:eccentric }
|
||||
desc = bp2_character_interaction.1002.desc_eccentric
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:vengeful }
|
||||
desc = bp2_character_interaction.1002.desc_vengeful
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:target_trait = trait:forgiving }
|
||||
desc = bp2_character_interaction.1002.desc_forgiving
|
||||
}
|
||||
}
|
||||
}
|
||||
theme = family
|
||||
override_background = {
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
age < 12
|
||||
}
|
||||
}
|
||||
reference = bp2_nursery
|
||||
}
|
||||
override_background = {
|
||||
trigger = {
|
||||
scope:recipient = {
|
||||
age >= 12
|
||||
}
|
||||
}
|
||||
reference = garden
|
||||
}
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = stress
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:recipient
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
OR = {
|
||||
scope:target_trait = trait:greedy
|
||||
scope:target_trait = trait:generous
|
||||
}
|
||||
}
|
||||
animation = hunting_shortbow_rest_arrow_default
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = { scope:target_trait = trait:paranoid }
|
||||
animation = disapproval
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = { scope:recipient = { age >= 12 } }
|
||||
animation = shame
|
||||
}
|
||||
animation = clutching_toy
|
||||
}
|
||||
|
||||
immediate = {
|
||||
scope:recipient = {
|
||||
set_favorite_toy_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = bp2_character_interaction.1002.a
|
||||
flavor = bp2_character_interaction.1002.a.flavor
|
||||
scope:recipient = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = confused_opinion
|
||||
opinion = -20
|
||||
}
|
||||
}
|
||||
add_opinion = {
|
||||
target = scope:recipient
|
||||
modifier = disappointed_opinion
|
||||
opinion = -20
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
any_parent = {
|
||||
this != root
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
every_parent = {
|
||||
limit = {
|
||||
this != root
|
||||
is_ai = no
|
||||
}
|
||||
send_interface_message = {
|
||||
type = event_childhood_bad_text
|
||||
title = guardian_influenced_personality_fail
|
||||
desc = guardian_influenced_personality_fail_desc
|
||||
left_icon = scope:recipient
|
||||
right_icon = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,831 +0,0 @@
|
|||
namespace = bp2_decision
|
||||
|
||||
##################################################
|
||||
#
|
||||
# FIND WET NURSE
|
||||
# 0001 Find a character to be a wet nurse
|
||||
#
|
||||
##################################################
|
||||
|
||||
bp2_decision.0001 = { #find wet nurse candidates
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_decision.0001.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { exists = root.primary_spouse }
|
||||
desc = bp2_decision.0001.desc
|
||||
}
|
||||
desc = bp2_decision.0001.desc_widower
|
||||
}
|
||||
}
|
||||
theme = family
|
||||
override_background = {
|
||||
reference = bp2_nursery
|
||||
}
|
||||
left_portrait = {
|
||||
character = scope:wet_nurse_candidate_1
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:wet_nurse_candidate_2
|
||||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
any_spouse = { }
|
||||
}
|
||||
random_spouse = {
|
||||
save_scope_as = spouse
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
exists = capital_province
|
||||
any_pool_character = {
|
||||
province = root.capital_province
|
||||
can_be_employed_as = wet_nurse_court_position
|
||||
}
|
||||
}
|
||||
random_pool_character = {
|
||||
province = root.capital_province
|
||||
limit = { can_be_employed_as = wet_nurse_court_position}
|
||||
save_scope_as = wet_nurse_candidate_1
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = capital_province
|
||||
any_pool_character = {
|
||||
province = root.capital_province
|
||||
can_be_employed_as = wet_nurse_court_position
|
||||
this != scope:wet_nurse_candidate_1
|
||||
}
|
||||
}
|
||||
save_scope_as = wet_nurse_candidate_2
|
||||
}
|
||||
else = {
|
||||
create_character = { #create poor candidate without a child
|
||||
template = generic_peasant_character
|
||||
gender = female
|
||||
age = { 18 25 }
|
||||
culture = root.culture
|
||||
faith = root.faith
|
||||
location = root.location
|
||||
save_scope_as = wet_nurse_candidate_2
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_character = { #create a good candidate with a child
|
||||
template = bp2_wet_nurse_template
|
||||
location = root.location
|
||||
save_scope_as = wet_nurse_candidate_1
|
||||
}
|
||||
create_character = {
|
||||
template = peasant_child_character
|
||||
age = { 0 5 }
|
||||
culture = root.culture
|
||||
faith = root.faith
|
||||
location = root.location
|
||||
save_scope_as = wet_nurse_candidate_1_child
|
||||
}
|
||||
scope:wet_nurse_candidate_1_child = {
|
||||
set_mother = scope:wet_nurse_candidate_1
|
||||
}
|
||||
create_character = { #create poor candidate without a child
|
||||
template = generic_peasant_character
|
||||
gender = female
|
||||
age = { 18 25 }
|
||||
culture = root.culture
|
||||
faith = root.faith
|
||||
location = root.location
|
||||
save_scope_as = wet_nurse_candidate_2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Expensive wet nurse with great health and a chance for good trait
|
||||
option = {
|
||||
name = bp2_decision.0001.a
|
||||
custom_tooltip = bp2_decision.0001.a.aptitude
|
||||
pay_treasury_or_gold = {
|
||||
target = scope:wet_nurse_candidate_1
|
||||
value = tiny_treasury_or_gold_value
|
||||
}
|
||||
hidden_effect = {
|
||||
add_courtier = scope:wet_nurse_candidate_1
|
||||
add_courtier = scope:wet_nurse_candidate_1_child
|
||||
}
|
||||
if = { #reappoint the former wet nurse, fire current one if exists
|
||||
limit = {
|
||||
employs_court_position = wet_nurse_court_position
|
||||
}
|
||||
every_court_position_holder = {
|
||||
type = wet_nurse_court_position
|
||||
save_temporary_scope_as = current_wet_nurse
|
||||
}
|
||||
replace_court_position = {
|
||||
recipient = scope:wet_nurse_candidate_1
|
||||
holder = scope:current_wet_nurse
|
||||
court_position = wet_nurse_court_position
|
||||
}
|
||||
}
|
||||
else = {
|
||||
appoint_court_position = {
|
||||
recipient = scope:wet_nurse_candidate_1
|
||||
court_position = wet_nurse_court_position
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
greedy = major_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = greedy
|
||||
add = -100
|
||||
}
|
||||
modifier = {
|
||||
short_term_gold < minor_gold_value
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Cheaper wet nurse; all random traits
|
||||
option = {
|
||||
name = bp2_decision.0001.b
|
||||
custom_tooltip = bp2_decision.0001.b.aptitude
|
||||
pay_treasury_or_gold = {
|
||||
target = scope:wet_nurse_candidate_2
|
||||
value = {
|
||||
add = tiny_treasury_or_gold_value
|
||||
divide = 3
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
add_courtier = scope:wet_nurse_candidate_2
|
||||
}
|
||||
if = { #reappoint the former wet nurse, fire current one if exists
|
||||
limit = {
|
||||
employs_court_position = wet_nurse_court_position
|
||||
}
|
||||
every_court_position_holder = {
|
||||
type = wet_nurse_court_position
|
||||
save_temporary_scope_as = current_wet_nurse
|
||||
}
|
||||
replace_court_position = {
|
||||
recipient = scope:wet_nurse_candidate_2
|
||||
holder = scope:current_wet_nurse
|
||||
court_position = wet_nurse_court_position
|
||||
}
|
||||
}
|
||||
else = {
|
||||
appoint_court_position = {
|
||||
recipient = scope:wet_nurse_candidate_2
|
||||
court_position = wet_nurse_court_position
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 50
|
||||
modifier = {
|
||||
short_term_gold < tiny_gold_value_check
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# On seconds thoughts, I won't hire a wet nurse at all...
|
||||
option = {
|
||||
name = bp2_decision.0001.c
|
||||
ai_chance = {
|
||||
base = 0
|
||||
modifier = {
|
||||
short_term_gold < tiny_gold_value_check
|
||||
add = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
after = {
|
||||
if = {
|
||||
limit = { scope:wet_nurse_candidate_1 = { has_court_position = wet_nurse_court_position } }
|
||||
scope:wet_nurse_candidate_2 = {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { scope:wet_nurse_candidate_2 = { has_court_position = wet_nurse_court_position } }
|
||||
scope:wet_nurse_candidate_1 = {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
scope:wet_nurse_candidate_1_child = {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
scope:wet_nurse_candidate_1 = {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
scope:wet_nurse_candidate_2 = {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
scope:wet_nurse_candidate_1_child = {
|
||||
silent_disappearance_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bp2_decision.0002 = { #rites of passage
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_decision.0002.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:teentribal != root }
|
||||
desc = bp2_decision.0002.desc
|
||||
}
|
||||
desc = bp2_decision.0002.desc_root
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:duel
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = bp2_decision.0002.desc_duel
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:scarification
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = bp2_decision.0002.desc_scarification
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:seclusion
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = bp2_decision.0002.desc_seclusion
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:hair_shaving
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = bp2_decision.0002.desc_hair_shaving
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:cleansing
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = bp2_decision.0002.desc_cleansing
|
||||
}
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:teentribal != root }
|
||||
desc = bp2_decision.0002.desc_end
|
||||
}
|
||||
desc = bp2_decision.0002.desc_end_root
|
||||
}
|
||||
}
|
||||
theme = family
|
||||
override_background = {
|
||||
reference = holy_site_generic_scope
|
||||
}
|
||||
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = war_defender
|
||||
}
|
||||
right_portrait = {
|
||||
trigger = { scope:teentribal != root }
|
||||
character = scope:teentribal
|
||||
animation = throne_room_bow_1
|
||||
}
|
||||
lower_right_portrait = {
|
||||
trigger = { exists = scope:priest }
|
||||
character = scope:priest
|
||||
}
|
||||
|
||||
immediate = {
|
||||
capital_province = {
|
||||
save_scope_as = holy_site_scope
|
||||
}
|
||||
location = {
|
||||
save_scope_as = rite_location
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_landed = yes
|
||||
character_can_rites_of_passage_trigger = yes
|
||||
}
|
||||
save_scope_as = teentribal
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_child = {
|
||||
character_can_rites_of_passage_trigger = yes
|
||||
}
|
||||
}
|
||||
save_scope_as = liege
|
||||
random_child = {
|
||||
limit = {
|
||||
character_can_rites_of_passage_trigger = yes
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
has_character_flag = unproven_adult_flag
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
is_primary_heir_of = scope:liege
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
|
||||
add = 10
|
||||
}
|
||||
}
|
||||
save_scope_as = teentribal
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_courtier = {
|
||||
is_hostage_of = root
|
||||
character_can_rites_of_passage_trigger = yes
|
||||
}
|
||||
}
|
||||
save_scope_as = liege
|
||||
random_courtier = {
|
||||
limit = {
|
||||
is_hostage_of = root
|
||||
character_can_rites_of_passage_trigger = yes
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
has_character_flag = unproven_adult_flag
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
|
||||
add = 10
|
||||
}
|
||||
}
|
||||
save_scope_as = teentribal
|
||||
}
|
||||
}
|
||||
if = { #grab a court chaplain if you have one
|
||||
limit = {
|
||||
cp:councillor_court_chaplain ?= {
|
||||
is_available_ai_adult = yes
|
||||
}
|
||||
}
|
||||
cp:councillor_court_chaplain = {
|
||||
save_scope_as = priest
|
||||
}
|
||||
}
|
||||
if = { #duel rite for warrior cultures
|
||||
limit = {
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_pillar = ethos_bellicose
|
||||
has_cultural_pillar = ethos_stoic
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = {
|
||||
add_to_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:duel
|
||||
}
|
||||
}
|
||||
}
|
||||
if = { #scarification rite for warrior cultures
|
||||
limit = {
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_pillar = ethos_bellicose
|
||||
has_cultural_pillar = ethos_stoic
|
||||
has_cultural_pillar = ethos_communal
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = {
|
||||
add_to_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:scarification
|
||||
}
|
||||
}
|
||||
}
|
||||
if = { #seclusion rite for non-communal cultures
|
||||
limit = {
|
||||
culture = {
|
||||
NOT = {
|
||||
has_cultural_pillar = ethos_communal
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = {
|
||||
add_to_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:seclusion
|
||||
}
|
||||
}
|
||||
}
|
||||
if = { #hair shaving rite non-warrior cultures
|
||||
limit = {
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_pillar = ethos_spiritual
|
||||
has_cultural_pillar = ethos_communal
|
||||
has_cultural_pillar = ethos_egalitarian
|
||||
has_cultural_pillar = ethos_bureaucratic
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = {
|
||||
add_to_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:hair_shaving
|
||||
}
|
||||
}
|
||||
}
|
||||
if = { #cleansing for non-warrior cultures
|
||||
limit = {
|
||||
culture = {
|
||||
NOT = {
|
||||
has_cultural_pillar = ethos_bellicose
|
||||
has_cultural_pillar = ethos_stoic
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = {
|
||||
add_to_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:cleansing
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:rite_location = {
|
||||
OR = {
|
||||
is_riverside_province = yes
|
||||
is_coastal = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = cleansing_type
|
||||
value = flag:water_cleanse
|
||||
}
|
||||
}
|
||||
else = {
|
||||
set_variable = {
|
||||
name = cleansing_type
|
||||
value = flag:fire_cleanse
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = { #combat duel
|
||||
name = bp2_decision.0002.a
|
||||
flavor = bp2_decision.0002.a.flavor
|
||||
custom_tooltip = bp2_decision.0002.a.tt
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:duel
|
||||
}
|
||||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
random_list = {
|
||||
1 = {
|
||||
desc = bp2_decision.0002.a.win
|
||||
show_chance = no
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = proven_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
}
|
||||
}
|
||||
1= {
|
||||
desc = bp2_decision.0002.a.lose
|
||||
show_chance = no
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = insecure_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = { #set variable to determine which rite was completed when creating a memory
|
||||
set_variable = {
|
||||
name = chosen_rite_memory
|
||||
value = flag:dueling_rite_memory
|
||||
}
|
||||
}
|
||||
trigger_event = bp2_yearly.7021
|
||||
ai_chance = {
|
||||
base = 1
|
||||
}
|
||||
}
|
||||
|
||||
option = { #scarification
|
||||
name = bp2_decision.0002.b
|
||||
flavor = bp2_decision.0002.b.tt
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:scarification
|
||||
}
|
||||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
random_list = {
|
||||
1 = {
|
||||
desc = bp2_decision.0002.b_scarred
|
||||
show_chance = no
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = proven_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
custom_tooltip = bp2_decision.0002.b_scarred.tt
|
||||
}
|
||||
}
|
||||
1= {
|
||||
desc = bp2_decision.0002.b_modifier
|
||||
show_chance = no
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = insecure_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = { #set variable to determine which rite was completed when creating a memory
|
||||
set_variable = {
|
||||
name = chosen_rite_memory
|
||||
value = flag:scarification_rite_memory
|
||||
}
|
||||
}
|
||||
trigger_event = bp2_yearly.7023
|
||||
ai_chance = {
|
||||
base = 1
|
||||
}
|
||||
}
|
||||
|
||||
option = { #seclusion
|
||||
name = bp2_decision.0002.c
|
||||
flavor = bp2_decision.0002.c.tt
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:seclusion
|
||||
}
|
||||
}
|
||||
}
|
||||
show_as_tooltip = {
|
||||
custom_tooltip = bp2_decision.0002.c.destination
|
||||
random_list = {
|
||||
1 = {
|
||||
desc = bp2_decision.0002.c_win
|
||||
show_chance = no
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = proven_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.c_trait
|
||||
}
|
||||
}
|
||||
1= {
|
||||
desc = bp2_decision.0002.c_lose
|
||||
show_chance = no
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = insecure_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
add_trait_xp = {
|
||||
trait = lifestyle_traveler
|
||||
track = danger
|
||||
value = 25
|
||||
}
|
||||
increase_wounds_no_death_effect = { REASON = wild_animal }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = { #set variable to determine which rite was completed when creating a memory
|
||||
set_variable = {
|
||||
name = chosen_rite_memory
|
||||
value = flag:seclusion_rite_memory
|
||||
}
|
||||
}
|
||||
trigger_event = bp2_yearly.7024
|
||||
ai_chance = {
|
||||
base = 1
|
||||
}
|
||||
}
|
||||
|
||||
option = { #hair shave
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:hair_shaving
|
||||
}
|
||||
}
|
||||
}
|
||||
name = bp2_decision.0002.d
|
||||
flavor = bp2_decision.0002.d.tt
|
||||
show_as_tooltip = {
|
||||
random_list = {
|
||||
1 = {
|
||||
show_chance = no
|
||||
desc = bp2_decision.0002.d_bald
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = proven_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
add_character_modifier = {
|
||||
modifier = shaven_bald_modifier
|
||||
years = 3
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
add_piety = medium_piety_gain
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
show_chance = no
|
||||
desc = bp2_decision.0002.d_shave
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = insecure_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
custom_tooltip = bp2_decision.0002.d_artifact
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:teentribal = { #set variable to determine which rite was completed when creating a memory
|
||||
set_variable = {
|
||||
name = chosen_rite_memory
|
||||
value = flag:shaving_hair_rite_memory
|
||||
}
|
||||
}
|
||||
trigger_event = bp2_yearly.7026
|
||||
ai_chance = {
|
||||
base = 1
|
||||
}
|
||||
}
|
||||
|
||||
option = { #fire/water cleansing
|
||||
trigger = {
|
||||
scope:teentribal = {
|
||||
is_target_in_variable_list = {
|
||||
name = possible_rites
|
||||
target = flag:cleansing
|
||||
}
|
||||
}
|
||||
}
|
||||
name = bp2_decision.0002.e
|
||||
flavor = bp2_decision.0002.e.tt
|
||||
show_as_tooltip = {
|
||||
random_list = {
|
||||
1 = {
|
||||
show_chance = no
|
||||
desc = bp2_decision.0002.e.full
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = proven_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
num_sinful_traits > 0
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.e_flip
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
add_piety = medium_piety_gain
|
||||
if = {
|
||||
limit = {
|
||||
scope:teentribal.var:cleansing_type = flag:water_cleanse
|
||||
}
|
||||
add_stress = minor_stress_gain
|
||||
}
|
||||
else = {
|
||||
add_character_modifier = {
|
||||
modifier = scorched_soles_modifier
|
||||
years = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
show_chance = no
|
||||
desc = bp2_decision.0002.e.partially
|
||||
scope:teentribal = {
|
||||
add_character_modifier = {
|
||||
modifier = insecure_adult_modifier
|
||||
years = 10
|
||||
}
|
||||
custom_tooltip = bp2_decision.0002.effect_tt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:teentribal.var:cleansing_type = flag:water_cleanse
|
||||
}
|
||||
scope:teentribal = { #set variable to determine which rite was completed when creating a memory
|
||||
set_variable = {
|
||||
name = chosen_rite_memory
|
||||
value = flag:water_cleanse_rite_memory
|
||||
}
|
||||
}
|
||||
trigger_event = bp2_yearly.7027
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:teentribal.var:cleansing_type = flag:fire_cleanse
|
||||
}
|
||||
scope:teentribal = { #set variable to determine which rite was completed when creating a memory
|
||||
set_variable = {
|
||||
name = chosen_rite_memory
|
||||
value = flag:fire_cleanse_rite_memory
|
||||
}
|
||||
}
|
||||
trigger_event = bp2_yearly.7028
|
||||
}
|
||||
ai_chance = {
|
||||
base = 1
|
||||
}
|
||||
}
|
||||
|
||||
option = { # opt out - trigger the decision cooldown, don't get your money back. Think of it as a non-refundable deposit.
|
||||
name = bp2_decision.0002.f
|
||||
flavor = bp2_decision.0002.tt
|
||||
scope:teentribal ?= {
|
||||
remove_variable ?= cleansing_type
|
||||
remove_variable ?= chosen_rite_memory
|
||||
clear_variable_list ?= possible_rites
|
||||
}
|
||||
ai_chance = { #there is no reason for the AI to back out at this point
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
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,538 +0,0 @@
|
|||
namespace = bp2_yearly
|
||||
|
||||
# bp2_yearly.3000 - Asserting yourself in your studies or loafing
|
||||
|
||||
################################
|
||||
# What's a Study Day Worth? #
|
||||
# by Claudia Baldassi #
|
||||
# bp2_yearly.3000 #
|
||||
################################
|
||||
|
||||
# Asserting yourself in your studies or loafing
|
||||
|
||||
bp2_yearly.3000 = {
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_yearly.3000.t
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
exists = scope:educator
|
||||
}
|
||||
desc = bp2_yearly.3000.desc
|
||||
}
|
||||
desc = bp2_yearly.3000.desc_no_educator
|
||||
}
|
||||
desc = bp2_yearly.3000.desc_ending
|
||||
}
|
||||
theme = education
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = boredom
|
||||
}
|
||||
right_portrait = {
|
||||
trigger = { exists = scope:educator }
|
||||
character = scope:educator
|
||||
animation = personality_rational
|
||||
}
|
||||
cooldown = { years = 10 } #Should not happen more than once for the same child
|
||||
|
||||
trigger = {
|
||||
has_bp2_dlc_trigger = yes
|
||||
age >= 8
|
||||
is_available_child = yes
|
||||
has_education_focus_trigger = yes
|
||||
OR = {
|
||||
exists = warden
|
||||
any_relation = {
|
||||
type = guardian
|
||||
location = root.location
|
||||
}
|
||||
exists = liege
|
||||
AND = {
|
||||
top_liege = this
|
||||
employs_court_position = court_tutor_court_position
|
||||
}
|
||||
any_parent = {
|
||||
is_alive = yes
|
||||
location = root.location
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
weight_multiplier = {
|
||||
base = 1
|
||||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
is_hostage = yes
|
||||
location = warden.location
|
||||
}
|
||||
warden = {
|
||||
save_scope_as = educator
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_relation = {
|
||||
type = guardian
|
||||
location = root.location
|
||||
}
|
||||
}
|
||||
random_relation = {
|
||||
type = guardian
|
||||
limit = {
|
||||
location = root.location
|
||||
}
|
||||
save_scope_as = educator
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
exists = liege
|
||||
root.liege = {
|
||||
employs_court_position = court_tutor_court_position
|
||||
court_position:court_tutor_court_position = { location = root.location }
|
||||
}
|
||||
}
|
||||
root.liege.court_position:court_tutor_court_position = {
|
||||
save_scope_as = educator
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
top_liege = this
|
||||
employs_court_position = court_tutor_court_position
|
||||
court_position:court_tutor_court_position = { location = root.location }
|
||||
}
|
||||
court_position:court_tutor_court_position = {
|
||||
save_scope_as = educator
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_parent = {
|
||||
is_alive = yes
|
||||
location = root.location
|
||||
}
|
||||
}
|
||||
random_parent = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
location = root.location
|
||||
}
|
||||
save_scope_as = educator
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { exists = liege }
|
||||
liege = {
|
||||
save_scope_as = educator
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Option A: study hard
|
||||
option = {
|
||||
name = bp2_yearly.3000.a
|
||||
if = {
|
||||
limit = {
|
||||
has_focus = education_diplomacy
|
||||
}
|
||||
add_diplomacy_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_martial
|
||||
}
|
||||
add_martial_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_stewardship
|
||||
}
|
||||
add_stewardship_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_intrigue
|
||||
}
|
||||
add_intrigue_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_learning
|
||||
}
|
||||
add_learning_skill = 1
|
||||
}
|
||||
hidden_effect = { education_point_acquisition_effect = yes }
|
||||
custom_tooltip = bp2_yearly.3000.a.tt
|
||||
|
||||
stress_impact = {
|
||||
base = medium_stress_impact_gain
|
||||
diligent = medium_stress_impact_loss
|
||||
lazy = minor_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = diligent
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lazy
|
||||
add = -100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = curious
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = pensive
|
||||
add = 150
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Option B: study a bit
|
||||
option = {
|
||||
name = bp2_yearly.3000.b
|
||||
hidden_effect = { education_point_acquisition_effect = yes }
|
||||
custom_tooltip = bp2_yearly.3000.a.tt
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_gain
|
||||
diligent = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = diligent
|
||||
add = 50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lazy
|
||||
add = -50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = curious
|
||||
add = 50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = pensive
|
||||
add = 75
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Option C: play
|
||||
option = {
|
||||
name = bp2_yearly.3000.c
|
||||
add_prowess_skill = 1
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = major_stress_impact_gain
|
||||
pensive = major_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = diligent
|
||||
add = -100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lazy
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = pensive
|
||||
add = -75
|
||||
}
|
||||
modifier = {
|
||||
has_trait = rowdy
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
################################
|
||||
# SheHe Knows This Room #
|
||||
# by Claudia Baldassi #
|
||||
# bp2_yearly.3010 #
|
||||
################################
|
||||
|
||||
# Child returns home: This home is unfamiliar to me: parent POV
|
||||
|
||||
bp2_yearly.3010 = {
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_yearly.3010.t
|
||||
desc = bp2_yearly.3010.desc
|
||||
theme = hostage
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = worry
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:child
|
||||
animation = sadness
|
||||
}
|
||||
|
||||
override_background = { reference = corridor_day }
|
||||
|
||||
cooldown = { years = 20 }
|
||||
|
||||
trigger = {
|
||||
has_bp2_dlc_trigger = yes
|
||||
is_available_adult = yes
|
||||
is_landless_adventurer = no
|
||||
any_child = {
|
||||
age >= 12
|
||||
location = root.location
|
||||
NOT = { has_relation_ward = root } # Your ward grew up here
|
||||
any_memory = {
|
||||
memory_type = hostage_returned_hostage
|
||||
memory_age_years <= 1
|
||||
}
|
||||
any_memory = {
|
||||
memory_type = hostage_created_hostage
|
||||
memory_age_years >= 6
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
weight_multiplier = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 1
|
||||
has_trait = compassionate
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
# for the responding event
|
||||
save_scope_as = parent
|
||||
random_child = {
|
||||
limit = {
|
||||
any_memory = {
|
||||
memory_type = hostage_returned_hostage
|
||||
memory_age_years <= 1
|
||||
}
|
||||
any_memory = {
|
||||
memory_type = hostage_created_hostage
|
||||
memory_age_years >= 6
|
||||
}
|
||||
age >= 12
|
||||
location = root.location
|
||||
}
|
||||
save_scope_as = child
|
||||
}
|
||||
}
|
||||
|
||||
# Option A: I wanna help
|
||||
option = {
|
||||
name = bp2_yearly.3010.a
|
||||
scope:child = {
|
||||
add_character_flag = helpful_parent_flag
|
||||
add_opinion = {
|
||||
target = scope:parent
|
||||
modifier = feel_accepted_opinion
|
||||
opinion = 20
|
||||
}
|
||||
trigger_event = bp2_yearly.3011
|
||||
}
|
||||
stress_impact = {
|
||||
callous = medium_stress_impact_gain
|
||||
fickle = medium_stress_impact_gain
|
||||
paranoid = medium_stress_impact_gain
|
||||
content = minor_stress_impact_gain
|
||||
lazy = minor_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
# Option B: he'll manage
|
||||
option = {
|
||||
name = bp2_yearly.3010.b
|
||||
scope:child = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = ignored_opinion
|
||||
opinion = -15
|
||||
}
|
||||
scope:child = { trigger_event = bp2_yearly.3011 }
|
||||
}
|
||||
stress_impact = {
|
||||
compassionate = medium_stress_impact_gain
|
||||
gregarious = medium_stress_impact_gain
|
||||
family_first = medium_stress_impact_gain
|
||||
patient = medium_stress_impact_gain
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = callous
|
||||
add = 50
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Child returns home: This home is unfamiliar to me: child POV
|
||||
|
||||
bp2_yearly.3011 = {
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_yearly.3011.t
|
||||
desc = {
|
||||
desc = bp2_yearly.3011.desc
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
has_character_flag = helpful_parent_flag
|
||||
}
|
||||
desc = bp2_yearly.3011.desc_parent
|
||||
}
|
||||
desc = bp2_yearly.3011.desc_no_parent
|
||||
}
|
||||
}
|
||||
theme = hostage
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = sadness
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:parent
|
||||
animation = worry
|
||||
}
|
||||
|
||||
override_background = { reference = corridor_day }
|
||||
|
||||
# Option A: accept you're a stranger now
|
||||
option = {
|
||||
name = bp2_yearly.3011.a
|
||||
if = {
|
||||
limit = {
|
||||
has_character_flag = helpful_parent_flag
|
||||
}
|
||||
scope:parent = {
|
||||
send_interface_toast = {
|
||||
title = bp2_yearly.3010.a.tt
|
||||
left_icon = scope:child
|
||||
scope:child = {
|
||||
add_character_modifier = {
|
||||
modifier = bp2_stranger_at_home_modifier
|
||||
years = 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_modifier = {
|
||||
modifier = bp2_stranger_at_home_modifier
|
||||
years = 30
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
gregarious = medium_stress_impact_gain
|
||||
humble = medium_stress_impact_gain
|
||||
patient = minor_stress_impact_gain
|
||||
pensive = medium_stress_impact_loss
|
||||
bossy = medium_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
ai_value_modifier = {
|
||||
ai_vengefulness = 0.5
|
||||
}
|
||||
modifier = {
|
||||
has_trait = pensive
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = bossy
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Option B: try to integrate again
|
||||
option = {
|
||||
name = bp2_yearly.3011.b
|
||||
if = {
|
||||
limit = {
|
||||
has_character_flag = helpful_parent_flag
|
||||
}
|
||||
scope:parent = {
|
||||
send_interface_toast = {
|
||||
title = bp2_yearly.3010.b.tt
|
||||
left_icon = scope:child
|
||||
scope:child = {
|
||||
add_character_modifier = {
|
||||
modifier = bp2_stranger_no_more_modifier
|
||||
years = 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_character_modifier = {
|
||||
modifier = bp2_stranger_no_more_modifier
|
||||
years = 30
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stubborn = major_stress_impact_gain
|
||||
lazy = medium_stress_impact_gain
|
||||
reclusive = medium_stress_impact_gain
|
||||
arrogant = medium_stress_impact_gain
|
||||
wrathful = minor_stress_impact_gain
|
||||
impatient = minor_stress_impact_gain
|
||||
charming = medium_stress_impact_loss
|
||||
curious = medium_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_character_flag = helpful_parent_flag
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lazy
|
||||
add = -50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = reclusive
|
||||
add = -50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = charming
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
has_trait = curious
|
||||
add = 100
|
||||
}
|
||||
ai_value_modifier = {
|
||||
ai_energy = -0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
after = {
|
||||
if = {
|
||||
limit = {
|
||||
has_character_flag = helpful_parent_flag
|
||||
}
|
||||
remove_character_flag = helpful_parent_flag
|
||||
}
|
||||
}
|
||||
}
|
||||
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
File diff suppressed because it is too large
Load diff
|
|
@ -1,206 +0,0 @@
|
|||
namespace = bp2_yearly_extra
|
||||
|
||||
################################
|
||||
# My Favorite Councilor #
|
||||
# by Johan Husén #
|
||||
# bp2_yearly_extra #
|
||||
################################
|
||||
|
||||
# Gaining some skills from your councilor
|
||||
|
||||
bp2_yearly_extra.0001 = {
|
||||
type = character_event
|
||||
content_source = dlc_009
|
||||
title = bp2_yearly_extra.0001.t
|
||||
desc = bp2_yearly_extra.0001.desc
|
||||
theme = education
|
||||
left_portrait = {
|
||||
character = root
|
||||
animation = thinking
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:target_councilor
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
scope:target_councilor = { has_council_position = councillor_court_chaplain }
|
||||
}
|
||||
animation = chaplain
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
scope:target_councilor = { has_council_position = councillor_steward }
|
||||
}
|
||||
animation = steward
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
scope:target_councilor = { has_council_position = councillor_marshal }
|
||||
}
|
||||
animation = marshal
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
scope:target_councilor = { has_council_position = councillor_spymaster }
|
||||
}
|
||||
animation = spymaster
|
||||
}
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
scope:target_councilor = { has_council_position = councillor_chancellor }
|
||||
}
|
||||
animation = chancellor
|
||||
}
|
||||
}
|
||||
cooldown = { years = 15 }
|
||||
|
||||
trigger = {
|
||||
has_bp2_dlc_trigger = yes
|
||||
is_available_child = yes
|
||||
OR = {
|
||||
AND = {
|
||||
has_focus = education_diplomacy
|
||||
exists = cp:councillor_chancellor
|
||||
}
|
||||
AND = {
|
||||
has_focus = education_martial
|
||||
exists = cp:councillor_marshal
|
||||
}
|
||||
AND = {
|
||||
has_focus = education_stewardship
|
||||
exists = cp:councillor_steward
|
||||
}
|
||||
AND = {
|
||||
has_focus = education_intrigue
|
||||
exists = cp:councillor_spymaster
|
||||
}
|
||||
AND = {
|
||||
has_focus = education_learning
|
||||
exists = cp:councillor_court_chaplain
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
weight_multiplier = {
|
||||
base = 1
|
||||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
has_focus = education_diplomacy
|
||||
exists = cp:councillor_chancellor
|
||||
}
|
||||
cp:councillor_chancellor = { save_scope_as = target_councilor }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_martial
|
||||
exists = cp:councillor_marshal
|
||||
}
|
||||
cp:councillor_marshal = { save_scope_as = target_councilor }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_stewardship
|
||||
exists = cp:councillor_steward
|
||||
}
|
||||
cp:councillor_steward = { save_scope_as = target_councilor }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_intrigue
|
||||
exists = cp:councillor_spymaster
|
||||
}
|
||||
cp:councillor_spymaster = { save_scope_as = target_councilor }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_focus = education_learning
|
||||
exists = cp:councillor_court_chaplain
|
||||
}
|
||||
cp:councillor_court_chaplain = { save_scope_as = target_councilor }
|
||||
}
|
||||
}
|
||||
|
||||
# Option A: I want to help out!
|
||||
option = {
|
||||
name = bp2_yearly_extra.0001.a
|
||||
flavor = bp2_yearly_extra.0001.a.tt
|
||||
|
||||
if = {
|
||||
limit = { has_focus = education_diplomacy }
|
||||
add_diplomacy_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_focus = education_martial }
|
||||
add_martial_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_focus = education_stewardship }
|
||||
add_stewardship_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_focus = education_intrigue }
|
||||
add_intrigue_skill = 1
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_focus = education_learning }
|
||||
add_learning_skill = 1
|
||||
}
|
||||
stress_impact = {
|
||||
base = miniscule_stress_impact_gain
|
||||
diligent = minor_stress_impact_loss
|
||||
lazy = minor_stress_impact_gain
|
||||
}
|
||||
scope:target_councilor = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = frustrated_opinion
|
||||
opinion = -20
|
||||
}
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = lazy
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Option B: I just like to see them work.
|
||||
option = {
|
||||
name = bp2_yearly_extra.0001.b
|
||||
flavor = bp2_yearly_extra.0001.b.tt
|
||||
scope:target_councilor = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = thankful_opinion
|
||||
opinion = 20
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
diligent = medium_stress_impact_loss
|
||||
}
|
||||
ai_chance = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_trait = diligent
|
||||
factor = 0
|
||||
}
|
||||
modifier = {
|
||||
has_trait = lazy
|
||||
add = 50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = curious
|
||||
add = 50
|
||||
}
|
||||
modifier = {
|
||||
has_trait = pensive
|
||||
add = 50
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue