3594 lines
79 KiB
Text
3594 lines
79 KiB
Text
namespace = bp2_adult_education
|
|
|
|
# INVALIDATION - PRISON
|
|
bp2_adult_education.0005 = {
|
|
type = character_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.0005.t
|
|
desc = bp2_adult_education.0005.desc
|
|
theme = prison
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = prisonhouse
|
|
}
|
|
|
|
immediate = {
|
|
imprisoner ?= {
|
|
save_scope_as = jailor
|
|
}
|
|
create_character_memory = {
|
|
type = imprisoned_adult_education
|
|
participants = {
|
|
jailor = scope:jailor
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = bp2_adult_education.0005.a
|
|
}
|
|
}
|
|
|
|
scripted_trigger adult_education_teacher_would_leave_trigger = {
|
|
NOT = { # Don't poach player courtiers
|
|
liege ?= { is_ai = no }
|
|
}
|
|
OR = {
|
|
has_relation_friend = root
|
|
opinion = {
|
|
target = root
|
|
value >= 60
|
|
}
|
|
}
|
|
}
|
|
|
|
# CONCLUSION EVENT
|
|
bp2_adult_education.0009 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.0009.t
|
|
desc = {
|
|
desc = bp2_adult_education.0009.desc
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:teacher_1 = { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
desc = bp2_adult_education.0009.desc_teacher_1
|
|
}
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:teacher_2 = { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
desc = bp2_adult_education.0009.desc_teacher_2
|
|
}
|
|
}
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = thinking
|
|
}
|
|
left_portrait = {
|
|
character = scope:teacher_1
|
|
triggered_animation = {
|
|
trigger = {
|
|
scope:teacher_1 = { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
animation = admiration
|
|
}
|
|
animation = eyeroll
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher_2
|
|
triggered_animation = {
|
|
trigger = {
|
|
scope:teacher_2 = { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
animation = ecstasy
|
|
}
|
|
animation = personality_zealous
|
|
}
|
|
|
|
immediate = {
|
|
#Reward effects
|
|
adult_education_completed_log_entry_effect = yes
|
|
scope:activity = {
|
|
random_attending_character = {
|
|
limit = {
|
|
has_character_flag = teacher_1
|
|
}
|
|
save_scope_as = teacher_1
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
has_character_flag = teacher_2
|
|
}
|
|
save_scope_as = teacher_2
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
trigger = {
|
|
has_government = landless_adventurer_government
|
|
}
|
|
name = bp2_adult_education.0009.e
|
|
add_contact = scope:teacher_1
|
|
add_contact = scope:teacher_2
|
|
ai_chance = {
|
|
base = 0
|
|
}
|
|
}
|
|
|
|
option = {
|
|
trigger = {
|
|
NOR = {
|
|
scope:teacher_1 ?= { adult_education_teacher_would_leave_trigger = yes }
|
|
scope:teacher_2 ?= { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
}
|
|
name = bp2_adult_education.0009.a
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
option = {
|
|
trigger = {
|
|
scope:teacher_1 ?= { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
name = bp2_adult_education.0009.b
|
|
hidden_effect = {
|
|
current_travel_plan ?= { add_companion = scope:teacher_1 }
|
|
if = {
|
|
limit = {
|
|
scope:teacher_1.liege != root
|
|
}
|
|
add_courtier = scope:teacher_1
|
|
}
|
|
}
|
|
show_as_tooltip = { add_courtier = scope:teacher_1 }
|
|
ai_chance = {
|
|
base = 10
|
|
}
|
|
}
|
|
|
|
option = {
|
|
trigger = {
|
|
scope:teacher_2 ?= { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
name = bp2_adult_education.0009.c
|
|
hidden_effect = {
|
|
current_travel_plan ?= { add_companion = scope:teacher_2 }
|
|
if = {
|
|
limit = {
|
|
scope:teacher_2.liege != root
|
|
}
|
|
add_courtier = scope:teacher_2
|
|
}
|
|
}
|
|
show_as_tooltip = { add_courtier = scope:teacher_2 }
|
|
ai_chance = {
|
|
base = 10
|
|
}
|
|
}
|
|
|
|
option = {
|
|
trigger = {
|
|
OR = {
|
|
scope:teacher_1 ?= { adult_education_teacher_would_leave_trigger = yes }
|
|
scope:teacher_2 ?= { adult_education_teacher_would_leave_trigger = yes }
|
|
}
|
|
}
|
|
name = bp2_adult_education.0009.d
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
after = {
|
|
if = {
|
|
limit = {
|
|
is_ai = yes
|
|
}
|
|
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
|
|
}
|
|
}
|
|
silent_disappearance_ai_if_created_effect = yes
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
## ARRIVAL EVENTS
|
|
bp2_adult_education.0010 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.0010.t
|
|
desc = {
|
|
first_valid = {
|
|
triggered_desc = {
|
|
trigger = {
|
|
location = {
|
|
has_university_building_trigger = yes
|
|
}
|
|
}
|
|
desc = bp2_adult_education.0010.desc_uni
|
|
}
|
|
desc = bp2_adult_education.0010.desc_religious
|
|
}
|
|
desc = bp2_adult_education.0010.desc_end
|
|
triggered_desc = {
|
|
trigger = {
|
|
"scope:host.capital_province.squared_distance(scope:location)" >= squared_distance_massive
|
|
}
|
|
desc = bp2_adult_education.0010.desc_very_very_far
|
|
}
|
|
}
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = happy_teacher
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity.activity_location = { save_scope_as = location }
|
|
}
|
|
|
|
option = {
|
|
name = bp2_adult_education.0010.a
|
|
}
|
|
}
|
|
|
|
### ADULT EDUCATION AT DESTINATION EVENTS ###
|
|
|
|
# You take part in an intellectual debate. A teacher observes.
|
|
|
|
bp2_adult_education.1000 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1000.t
|
|
desc = bp2_adult_education.1000.desc
|
|
theme = university
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = dismissal
|
|
}
|
|
center_portrait = {
|
|
character = scope:student
|
|
animation = eyeroll
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = thinking
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
|
|
trigger = {
|
|
NOT = {
|
|
scope:activity = {
|
|
has_variable = has_had_event_1000
|
|
}
|
|
}
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
set_variable = has_had_event_1000
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
save_scope_as = student
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: quote the classics
|
|
option = {
|
|
name = bp2_adult_education.1000.a
|
|
flavor = bp2_adult_education.1000.a.tt
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skill = learning
|
|
target = scope:student
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1000.a.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1000.a.success.tt
|
|
left_icon = scope:student
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = university_debate_won_log
|
|
score = 25
|
|
tags = { positive }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
scope:activity = { activity_special_type_progression_major = yes }
|
|
}
|
|
}
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = impressed_opinion
|
|
opinion = 20
|
|
}
|
|
}
|
|
root = {
|
|
stress_impact = {
|
|
diligent = minor_stress_impact_loss
|
|
gregarious = minor_stress_impact_loss
|
|
}
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1000.a.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1000.a.failure.tt
|
|
left_icon = scope:student
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = university_debate_won_log
|
|
score = 25
|
|
tags = { negative }
|
|
character = scope:student
|
|
target = root
|
|
|
|
#Effect
|
|
root = {
|
|
progress_towards_rival_effect = {
|
|
CHARACTER = scope:student
|
|
REASON = rival_bested_me_in_debate
|
|
OPINION = default_rival_opinion
|
|
}
|
|
stress_impact = {
|
|
ambitious = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
scholar = major_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = disappointed_opinion
|
|
opinion = -20
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: improptu poetry
|
|
option = {
|
|
name = bp2_adult_education.1000.b
|
|
flavor = bp2_adult_education.1000.b.tt
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skill = diplomacy
|
|
target = scope:student
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1000.b.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1000.b.success.tt
|
|
left_icon = scope:student
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = university_debate_won_log
|
|
score = 25
|
|
tags = { positive }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
root = { add_diplomacy_skill = 1 }
|
|
}
|
|
}
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = impressed_opinion
|
|
opinion = 20
|
|
}
|
|
}
|
|
root = {
|
|
stress_impact = {
|
|
gregarious = medium_stress_impact_loss
|
|
}
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1000.b.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1000.b.failure.tt
|
|
left_icon = scope:student
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = university_debate_won_log
|
|
score = 25
|
|
tags = { negative }
|
|
character = scope:student
|
|
target = root
|
|
|
|
#Effect
|
|
root = {
|
|
progress_towards_rival_effect = {
|
|
CHARACTER = scope:student
|
|
REASON = rival_bested_me_in_debate
|
|
OPINION = default_rival_opinion
|
|
}
|
|
stress_impact = {
|
|
ambitious = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
deceitful = medium_stress_impact_gain
|
|
lifestyle_poet = major_stress_impact_gain
|
|
shy = major_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = disappointed_opinion
|
|
opinion = -20
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option C: I have books to read, bye
|
|
option = {
|
|
name = bp2_adult_education.1000.c
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
stress_impact = {
|
|
gregarious = minor_stress_impact_gain
|
|
ambitious = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
vengeful = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
}
|
|
|
|
# Learning the local language
|
|
|
|
bp2_adult_education.1010 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1010.t
|
|
desc = bp2_adult_education.1010.desc
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = thinking
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = personality_rational
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
|
|
trigger = {
|
|
NOR = {
|
|
scope:activity = { has_variable = has_had_event_1010 }
|
|
scope:activity = { has_variable = has_had_event_1011 }
|
|
scope:activity = { has_variable = has_had_event_1012 }
|
|
knows_language_of_culture = scope:activity.activity_location.county.culture
|
|
}
|
|
num_of_known_languages <= language_soft_cap
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
set_variable = has_had_event_1010
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: learn the language
|
|
option = {
|
|
name = bp2_adult_education.1010.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_uni_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = { learn_language_of_culture = scope:location.county.culture }
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
activity_special_type_progression_major = yes
|
|
}
|
|
stress_impact = {
|
|
base = major_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
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: try to learn the language through poetry
|
|
option = {
|
|
name = bp2_adult_education.1010.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skill = diplomacy
|
|
value = high_skill_rating
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1010.b.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.success.tt
|
|
left_icon = root
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_uni_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = {
|
|
learn_language_of_culture = scope:location.county.culture
|
|
if = {
|
|
limit = {
|
|
NOT = {
|
|
has_trait = lifestyle_poet
|
|
}
|
|
}
|
|
add_trait = lifestyle_poet
|
|
}
|
|
else = {
|
|
add_diplomacy_skill = 1
|
|
add_trait_xp = {
|
|
trait = lifestyle_poet
|
|
value = 10
|
|
}
|
|
}
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
activity_special_type_progression_medium = yes
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1010.b.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
random = {
|
|
chance = 30
|
|
add_diplomacy_skill = 1
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
lifestyle_poet = major_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option D: Goliardic Life intent: try to learn the language through the people
|
|
option = {
|
|
name = bp2_adult_education.1010.d
|
|
flavor = bp2_adult_education.1010.d.tt
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skill = intrigue
|
|
value = high_skill_rating
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1010.b.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.success.tt
|
|
left_icon = root
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_uni_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = {
|
|
learn_language_of_culture = scope:location.county.culture
|
|
add_intrigue_skill = 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1010.b.failure
|
|
random_list = {
|
|
5 = {
|
|
modifier = {
|
|
has_trait = education_diplomacy
|
|
add = 5
|
|
}
|
|
modifier = {
|
|
has_diplomacy_lifestyle_trait_trigger = yes
|
|
add = 10
|
|
}
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
add_diplomacy_skill = 1
|
|
}
|
|
|
|
}
|
|
5 = {
|
|
modifier = {
|
|
has_trait = education_intrigue
|
|
add = 5
|
|
}
|
|
modifier = {
|
|
has_intrigue_lifestyle_trait_trigger = yes
|
|
add = 10
|
|
}
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
add_intrigue_skill = 1
|
|
}
|
|
}
|
|
5 = {
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
add_prowess_skill = 1
|
|
}
|
|
}
|
|
60 = {
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
add_character_modifier = {
|
|
modifier = bp2_uni_bad_encounters_modifier
|
|
years = 5
|
|
}
|
|
}
|
|
}
|
|
15 = {
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
custom_tooltip = goliard_shenanigans_get_lovers_pox.tt
|
|
contract_disease_effect = { DISEASE = lovers_pox TREATMENT_EVENT = no }
|
|
}
|
|
}
|
|
15 = {
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1010.b.failure.tt
|
|
left_icon = root
|
|
increase_wounds_no_death_effect = { REASON = fight }
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
craven = major_stress_impact_gain
|
|
shy = major_stress_impact_gain
|
|
gregarious = minor_stress_impact_loss
|
|
brave = minor_stress_impact_loss
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = shy
|
|
add = -75
|
|
}
|
|
modifier = {
|
|
has_trait = craven
|
|
add = -75
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1010.c
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
diligent = medium_stress_impact_gain
|
|
ambitious = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = lazy
|
|
add = 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Learning the lithurgical language
|
|
|
|
scripted_effect bp2_learn_lithurgical_language_effect = {
|
|
if = {
|
|
limit = {
|
|
scope:activity.activity_location.county.faith.religion = religion:islam_religion
|
|
}
|
|
learn_language = language_arabic
|
|
}
|
|
else_if = {
|
|
limit = {
|
|
OR = {
|
|
scope:activity.activity_location.county.faith.religion = religion:judaism_religion
|
|
scope:activity.activity_location.county.faith = faith:nestorian
|
|
}
|
|
}
|
|
learn_language = language_aramaic
|
|
}
|
|
else_if = {
|
|
limit = {
|
|
scope:activity.activity_location.county.faith = faith:catholic
|
|
}
|
|
learn_language = language_latin
|
|
}
|
|
else_if = {
|
|
limit = {
|
|
OR = {
|
|
scope:activity.activity_location.county.faith = faith:orthodox
|
|
scope:activity.activity_location.county.faith = faith:coptic
|
|
}
|
|
}
|
|
learn_language = language_greek
|
|
}
|
|
}
|
|
|
|
bp2_adult_education.1011 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1011.t
|
|
desc = bp2_adult_education.1011.desc
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = thinking
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = personality_rational
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
|
|
trigger = {
|
|
NOR = {
|
|
scope:activity = { has_variable = has_had_event_1010 }
|
|
scope:activity = { has_variable = has_had_event_1011 }
|
|
scope:activity = { has_variable = has_had_event_1012 }
|
|
}
|
|
num_of_known_languages <= language_soft_cap
|
|
OR = {
|
|
scope:activity.activity_location.county.faith.religion = religion:islam_religion
|
|
scope:activity.activity_location.county.faith.religion = religion:judaism_religion
|
|
scope:activity.activity_location.county.faith = faith:catholic
|
|
scope:activity.activity_location.county.faith = faith:orthodox
|
|
scope:activity.activity_location.county.faith = faith:coptic
|
|
scope:activity.activity_location.county.faith = faith:nestorian
|
|
}
|
|
trigger_if = {
|
|
limit = {
|
|
scope:activity.activity_location.county.faith.religion = religion:islam_religion
|
|
}
|
|
NOT = { knows_language = language_arabic }
|
|
}
|
|
trigger_else_if = {
|
|
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 }
|
|
}
|
|
trigger_else_if = {
|
|
limit = {
|
|
scope:activity.activity_location.county.faith = faith:catholic
|
|
}
|
|
NOT = { knows_language = language_latin }
|
|
}
|
|
trigger_else_if = {
|
|
limit = {
|
|
OR = {
|
|
scope:activity.activity_location.county.faith = faith:orthodox
|
|
scope:activity.activity_location.county.faith = faith:coptic
|
|
}
|
|
}
|
|
NOT = { knows_language = language_greek }
|
|
}
|
|
trigger_else = {
|
|
always = no
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
set_variable = has_had_event_1011
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: hit the religious texts
|
|
option = {
|
|
name = bp2_adult_education.1011.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_lithurgy_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = { bp2_learn_lithurgical_language_effect = yes }
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
activity_special_type_progression_major = yes
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = major_stress_impact_gain
|
|
diligent = medium_stress_impact_loss
|
|
stubborn = minor_stress_impact_loss
|
|
lazy = medium_stress_impact_gain
|
|
fickle = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = lazy
|
|
add = -75
|
|
}
|
|
modifier = {
|
|
has_trait = fickle
|
|
add = -75
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option D: Study hard intent: learn from the masters
|
|
option = {
|
|
name = bp2_adult_education.1011.d
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skills = { learning diplomacy }
|
|
value = high_skill_rating
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1011.d.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1011.d.success.tt
|
|
left_icon = root
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_lithurgy_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_learn_lithurgical_language_effect = yes
|
|
add_character_modifier = {
|
|
modifier = bp2_dialogue_with_the_masters_modifier
|
|
years = 10
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
activity_special_type_progression_medium = yes
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
opinion = 30
|
|
modifier = pleased_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
shy = minor_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1011.d.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1011.d.failure.tt
|
|
left_icon = root
|
|
add_character_modifier = {
|
|
modifier = foolish_endeavor_modifier
|
|
years = 5
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = shy
|
|
add = -75
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = 75
|
|
}
|
|
modifier = {
|
|
has_trait = arrogant
|
|
add = 75
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: learn from class
|
|
option = {
|
|
name = bp2_adult_education.1011.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skills = { learning diplomacy }
|
|
value = high_skill_rating
|
|
40 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1011.d.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1011.d.success.tt
|
|
left_icon = root
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_lithurgy_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_learn_lithurgical_language_effect = yes
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
activity_special_type_progression_medium = yes
|
|
}
|
|
}
|
|
stress_impact = {
|
|
shy = medium_stress_impact_gain
|
|
lazy = medium_stress_impact_gain
|
|
fickle = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
60 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1011.b.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1011.d.failure.tt
|
|
left_icon = root
|
|
custom_tooltip = bp2_adult_education.1011.b.tt
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
opinion = -20
|
|
modifier = disappointed_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = shy
|
|
add = -75
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = 75
|
|
}
|
|
modifier = {
|
|
has_trait = arrogant
|
|
add = 75
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1010.c
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
diligent = medium_stress_impact_gain
|
|
ambitious = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = lazy
|
|
add = 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Learning the teacher's language
|
|
|
|
bp2_adult_education.1012 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1012.t
|
|
desc = bp2_adult_education.1012.desc
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = thinking
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = personality_rational
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
|
|
trigger = {
|
|
NOR = {
|
|
scope:activity = { has_variable = has_had_event_1010 }
|
|
scope:activity = { has_variable = has_had_event_1011 }
|
|
scope:activity = { has_variable = has_had_event_1012 }
|
|
}
|
|
num_of_known_languages <= language_soft_cap
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
save_temporary_scope_as = teacher_check
|
|
}
|
|
}
|
|
NOT = { knows_language_of_culture = scope:teacher_check.culture }
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
modifier = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
culture != scope:activity.activity_location.county.culture
|
|
}
|
|
}
|
|
add = 2
|
|
}
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
set_variable = has_had_event_1012
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = 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
|
|
}
|
|
root = { NOT = { knows_language_of_culture = prev.culture } }
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: get close to the teacher
|
|
option = {
|
|
name = bp2_adult_education.1012.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skill = learning
|
|
value = high_skill_rating
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1012.a.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1012.a.success.tt
|
|
left_icon = root
|
|
right_icon = scope:teacher
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_teacher_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = {
|
|
learn_language_of_culture = scope:teacher.culture
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
activity_special_type_progression_major = yes
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_learned_my_language
|
|
CHARACTER = scope:teacher
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
shy = medium_stress_impact_gain
|
|
lazy = medium_stress_impact_gain
|
|
fickle = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1012.a.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1012.a.failure.tt
|
|
left_icon = root
|
|
right_icon = scope:teacher
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = minor }
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
opinion = -20
|
|
modifier = disappointed_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
gregarious = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
ambitious = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: find someone to help
|
|
option = {
|
|
name = bp2_adult_education.1012.b
|
|
flavor = bp2_adult_education.1012.b.tt
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skill = intrigue
|
|
value = high_skill_rating
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1012.a.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1012.a.success.tt
|
|
left_icon = root
|
|
right_icon = scope:teacher
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = learned_language_of_teacher_log
|
|
score = 25
|
|
tags = { language good activity }
|
|
show_in_conclusion = yes
|
|
character = root
|
|
|
|
#Effect
|
|
root = {
|
|
learn_language_of_culture = scope:teacher.culture
|
|
add_intrigue_skill = 1
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
activity_special_type_progression_medium = yes
|
|
}
|
|
stress_impact = {
|
|
shy = medium_stress_impact_gain
|
|
lazy = medium_stress_impact_gain
|
|
fickle = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1012.a.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1012.a.failure.tt
|
|
left_icon = root
|
|
right_icon = scope:teacher
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = minor }
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
opinion = -20
|
|
modifier = disappointed_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
gregarious = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
ambitious = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1010.c
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
diligent = medium_stress_impact_gain
|
|
ambitious = medium_stress_impact_gain
|
|
fickle = minor_stress_impact_loss
|
|
lazy = minor_stress_impact_loss
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = lazy
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = -100
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = -100
|
|
}
|
|
modifier = {
|
|
has_trait = ambitious
|
|
add = -75
|
|
}
|
|
modifier = {
|
|
has_trait = fickle
|
|
add = 75
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Goliards activities
|
|
|
|
bp2_adult_education.1020 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1020.t
|
|
desc = {
|
|
desc = bp2_adult_education.1020.desc
|
|
random_valid = {
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:student = {
|
|
OR = {
|
|
has_trait = lustful
|
|
has_trait = rakish
|
|
AND = {
|
|
has_trait = lifestyle_poet
|
|
NOT = { has_trait = chaste }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
desc = bp2_adult_education.1020.desc.lusty_poetry
|
|
}
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:student = {
|
|
drinks_alcohol_trigger = yes
|
|
OR = {
|
|
has_trait = drunkard
|
|
has_trait = gluttonous
|
|
AND = {
|
|
has_trait = lifestyle_poet
|
|
NOT = { has_trait = temperate }
|
|
}
|
|
}
|
|
}
|
|
scope:location.county.faith = {
|
|
NOT = {
|
|
has_doctrine = doctrine_theocracy_lay_clergy
|
|
}
|
|
}
|
|
}
|
|
desc = bp2_adult_education.1020.desc.drinking_poetry
|
|
}
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:student = {
|
|
OR = {
|
|
has_trait = cynical
|
|
AND = {
|
|
has_trait = lifestyle_poet
|
|
NOT = { has_trait = zealous }
|
|
}
|
|
}
|
|
}
|
|
scope:location.county.faith = {
|
|
NOT = {
|
|
has_doctrine = doctrine_theocracy_lay_clergy
|
|
}
|
|
}
|
|
}
|
|
desc = bp2_adult_education.1020.desc.satyre_poetry
|
|
}
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:location = {
|
|
geographical_region = world_europe_west
|
|
}
|
|
current_date >= 1100.1.1
|
|
}
|
|
desc = bp2_adult_education.1020.desc.carmina_burana
|
|
}
|
|
triggered_desc = {
|
|
trigger = {
|
|
scope:student = {
|
|
NOT = { has_trait = zealous }
|
|
OR = {
|
|
has_trait = profligate
|
|
has_trait = generous
|
|
}
|
|
}
|
|
}
|
|
desc = bp2_adult_education.1020.desc.dice
|
|
}
|
|
desc = bp2_adult_education.1020.desc.donkey
|
|
}
|
|
desc = bp2_adult_education.1020.desc.end
|
|
}
|
|
theme = university
|
|
|
|
left_portrait = {
|
|
character = scope:student
|
|
animation = drink
|
|
}
|
|
center_portrait = {
|
|
character = root
|
|
animation = admiration
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = disapproval
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
scope:activity.activity_location = { geographical_region = world_europe }
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
save_scope_as = student
|
|
hidden_effect = {
|
|
random_list = {
|
|
10 = { add_trait = lifestyle_poet }
|
|
10 = { add_trait = drunkard }
|
|
10 = { add_trait = rakish }
|
|
10 = { add_trait = profligate }
|
|
40 = { }
|
|
}
|
|
}
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: Absolutely no
|
|
option = {
|
|
name = bp2_adult_education.1020.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
scope:activity = { activity_special_type_progression_major = yes }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_refused_the_goliards
|
|
CHARACTER = scope:teacher
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
diligent = minor_stress_impact_loss
|
|
shy = minor_stress_impact_loss
|
|
cynical = minor_stress_impact_gain
|
|
gregarious = major_stress_impact_gain
|
|
lifestyle_reveler = massive_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = lifestyle_reveler
|
|
add = -100
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = -50
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option B: Study hard intent: ...why not?
|
|
option = {
|
|
name = bp2_adult_education.1020.b
|
|
flavor = bp2_adult_education.1020.b.tt
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = participated_in_goliardy_log
|
|
score = 25
|
|
tags = { activity }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1020.c.tt }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_followed_the_goliards
|
|
CHARACTER = scope:teacher
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
zealous = medium_stress_impact_gain
|
|
diligent = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = -100
|
|
}
|
|
modifier = {
|
|
has_trait = lifestyle_reveler
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = 50
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option C: Goliardic Life intent: oh yeah
|
|
option = {
|
|
name = bp2_adult_education.1020.c
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = participated_in_goliardy_log
|
|
score = 25
|
|
tags = { activity }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1020.c.tt }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_followed_the_goliards
|
|
CHARACTER = scope:teacher
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:student }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_goliardic_shenanigans
|
|
CHARACTER = scope:student
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
diligent = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 200
|
|
}
|
|
}
|
|
|
|
# Option D: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1020.d
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
stress_impact = {
|
|
base = minor_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
}
|
|
|
|
# "Getting hazed"
|
|
|
|
bp2_adult_education.1030 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1030.t
|
|
desc = {
|
|
desc = bp2_adult_education.1030.desc
|
|
first_valid = {
|
|
triggered_desc = {
|
|
trigger = {
|
|
drinks_alcohol_trigger = yes
|
|
}
|
|
desc = bp2_adult_education.1030.desc_alcohol
|
|
}
|
|
desc = bp2_adult_education.1030.desc_fallback
|
|
}
|
|
}
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
triggered_animation = {
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
animation = eyeroll
|
|
}
|
|
triggered_animation = {
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
animation = ecstasy
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = scope:student
|
|
animation = wedding_drunk
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
save_scope_as = student
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: ...maybe?
|
|
option = {
|
|
name = bp2_adult_education.1030.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skill = diplomacy
|
|
value = average_skill_rating
|
|
40 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1030.a.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1030.a.success.tt
|
|
left_icon = root
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = one_of_the_boys_log
|
|
score = 25
|
|
tags = { }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
root = {
|
|
add_character_modifier = {
|
|
modifier = bp2_uni_connections_modifier
|
|
years = 10
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
diligent = minor_stress_impact_gain
|
|
gregarious = minor_stress_impact_loss
|
|
shy = minor_stress_impact_loss
|
|
}
|
|
}
|
|
60 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1030.a.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1030.a.failure.tt
|
|
left_icon = root
|
|
add_character_modifier = {
|
|
modifier = bp2_uni_isolation_modifier
|
|
years = 10
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
gregarious = medium_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 75
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: hit me!
|
|
option = {
|
|
name = bp2_adult_education.1030.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = one_of_the_boys_log
|
|
score = 25
|
|
tags = { }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1030.b.tt }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:student }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_goliardic_shenanigans
|
|
CHARACTER = scope:student
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
}
|
|
ai_chance = {
|
|
base = 125
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1030.c
|
|
if = {
|
|
limit = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
stress_impact = {
|
|
gregarious = medium_stress_impact_gain
|
|
lifestyle_reveler = medium_stress_impact_gain
|
|
}
|
|
}
|
|
else = {
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
diligent = minor_stress_impact_loss
|
|
}
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_activity_intent = university_revelry_intent
|
|
add = -50
|
|
}
|
|
modifier = {
|
|
has_activity_intent = study_hard_intent
|
|
add = 50
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# The teachers have opposing schools of thought
|
|
|
|
bp2_adult_education.1040 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1040.t
|
|
desc = bp2_adult_education.1040.desc
|
|
theme = university
|
|
|
|
left_portrait = {
|
|
character = scope:teacher_1
|
|
animation = anger
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
center_portrait = {
|
|
character = root
|
|
animation = worry
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher_2
|
|
animation = rage
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
has_character_flag = teacher_1
|
|
save_temporary_scope_as = teacher_1_temp
|
|
}
|
|
any_attending_character = {
|
|
has_character_flag = teacher_2
|
|
trigger_if = {
|
|
limit = {
|
|
scope:teacher_1_temp = { has_trait = education_diplomacy }
|
|
}
|
|
NOT = { has_trait = education_diplomacy }
|
|
}
|
|
trigger_else_if = {
|
|
limit = {
|
|
scope:teacher_1_temp = { has_trait = education_martial }
|
|
}
|
|
NOT = { has_trait = education_martial }
|
|
}
|
|
trigger_else_if = {
|
|
limit = {
|
|
scope:teacher_1_temp = { has_trait = education_stewardship }
|
|
}
|
|
NOT = { has_trait = education_stewardship }
|
|
}
|
|
trigger_else_if = {
|
|
limit = {
|
|
scope:teacher_1_temp = { has_trait = education_intrigue }
|
|
}
|
|
NOT = { has_trait = education_intrigue }
|
|
}
|
|
trigger_else = {
|
|
NOT = { has_trait = education_learning }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
has_character_flag = teacher_1
|
|
}
|
|
save_scope_as = teacher_1
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
has_character_flag = teacher_2
|
|
}
|
|
save_scope_as = teacher_2
|
|
}
|
|
}
|
|
hidden_effect = {
|
|
scope:teacher_1 = {
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
set_relation_rival = {
|
|
target = scope:teacher_2
|
|
reason = rival_grave_insult
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: side with teacher_1
|
|
option = {
|
|
name = bp2_adult_education.1040.a
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = sided_with_teacher_log
|
|
score = 25
|
|
tags = { activity positive }
|
|
character = root
|
|
target = scope:teacher_1
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
root = {
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher_1 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_1
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_not_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_2
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
honest = minor_stress_impact_loss
|
|
gregarious = minor_stress_impact_gain
|
|
craven = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option B: side with teacher_2
|
|
option = {
|
|
name = bp2_adult_education.1040.b
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = sided_with_teacher_log
|
|
score = 25
|
|
tags = { activity positive }
|
|
character = root
|
|
target = scope:teacher_2
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
root = {
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_2
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_1 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_not_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_1
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
honest = minor_stress_impact_loss
|
|
gregarious = minor_stress_impact_gain
|
|
craven = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option C: Study hard intent: both have merits
|
|
option = {
|
|
name = bp2_adult_education.1040.c
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skill = learning
|
|
value = high_skill_rating
|
|
40 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
modifier = {
|
|
has_trait = scholar
|
|
add = 20
|
|
}
|
|
modifier = {
|
|
has_trait = deceitful
|
|
add = 10
|
|
}
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = 10
|
|
}
|
|
desc = bp2_adult_education.1040.c.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1040.c.success.tt
|
|
left_icon = scope:teacher_1
|
|
right_icon = scope:teacher_2
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = balanced_teachers_opinions_log
|
|
score = 25
|
|
tags = { activity positive learning }
|
|
character = root
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_massive
|
|
scope:activity = { activity_special_type_progression_massive = yes }
|
|
root = {
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher_1 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_1
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_2
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
scholar = minor_stress_impact_loss
|
|
deceitful = minor_stress_impact_loss
|
|
diligent = minor_stress_impact_loss
|
|
}
|
|
}
|
|
60 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1040.c.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1040.c.failure.tt
|
|
left_icon = scope:teacher_1
|
|
right_icon = scope:teacher_2
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_1 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_not_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_1
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_not_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_2
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 150
|
|
}
|
|
}
|
|
|
|
|
|
# Option D: Goliardic Life intent: let's discuss it around some wine
|
|
option = {
|
|
name = bp2_adult_education.1040.d
|
|
flavor = bp2_adult_education.1040.d.tt
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skill = intrigue
|
|
value = average_skill_rating
|
|
40 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1040.d.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1040.d.success.tt
|
|
left_icon = scope:teacher_1
|
|
right_icon = scope:teacher_2
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = balanced_teachers_opinions_log
|
|
score = 25
|
|
tags = { activity positive intrigue }
|
|
character = root
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
root = {
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = massive }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher_1 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_1
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_2
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
gregarious = medium_stress_impact_loss
|
|
shy = minor_stress_impact_gain
|
|
callous = minor_stress_impact_gain
|
|
inappetetic = medium_stress_impact_gain
|
|
reclusive = medium_stress_impact_gain
|
|
}
|
|
}
|
|
60 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1040.d.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1040.d.failure.tt
|
|
left_icon = scope:teacher_1
|
|
right_icon = scope:teacher_2
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_1 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_not_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_1
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher_2 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_not_supported_me_in_dispute
|
|
CHARACTER = scope:teacher_2
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
gregarious = medium_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
inappetetic = medium_stress_impact_gain
|
|
reclusive = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 150
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = 50
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option E: opt-out: does it really matter?
|
|
option = {
|
|
name = bp2_adult_education.1040.e
|
|
reverse_add_opinion = {
|
|
target = scope:teacher_1
|
|
modifier = ignored_opinion
|
|
opinion = -15
|
|
}
|
|
reverse_add_opinion = {
|
|
target = scope:teacher_2
|
|
modifier = ignored_opinion
|
|
opinion = -15
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = lazy
|
|
add = 50
|
|
}
|
|
modifier = {
|
|
has_trait = fickle
|
|
add = 25
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# All students are foreigners
|
|
|
|
bp2_adult_education.1050 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1050.t
|
|
desc = bp2_adult_education.1050.desc
|
|
theme = university
|
|
|
|
left_portrait = {
|
|
character = scope:student_1
|
|
animation = happiness
|
|
}
|
|
center_portrait = {
|
|
character = root
|
|
animation = personality_rational
|
|
}
|
|
right_portrait = {
|
|
character = scope:student_2
|
|
animation = admiration
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
root.culture = {
|
|
this != scope:activity.activity_location.county.culture
|
|
}
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
has_character_flag = student_1
|
|
culture = {
|
|
NOR = {
|
|
this = scope:activity.activity_location.county.culture
|
|
this = root.culture
|
|
}
|
|
}
|
|
save_temporary_scope_as = student_1_temp
|
|
}
|
|
any_attending_character = {
|
|
has_character_flag = student_2
|
|
culture = {
|
|
NOR = {
|
|
this = scope:activity.activity_location.county.culture
|
|
this = root.culture
|
|
this = scope:student_1_temp.culture
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
has_character_flag = student_1
|
|
}
|
|
save_scope_as = student_1
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
has_character_flag = student_2
|
|
}
|
|
save_scope_as = student_2
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: learn from each other
|
|
option = {
|
|
name = bp2_adult_education.1050.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
scope:activity = { activity_special_type_progression_major = yes }
|
|
scope:student_1.culture = {
|
|
change_cultural_acceptance = {
|
|
target = root.culture
|
|
value = low_positive_culture_acceptance
|
|
desc = cultural_acceptance_gain_hold_court_event_outcome
|
|
}
|
|
}
|
|
scope:student_2.culture = {
|
|
change_cultural_acceptance = {
|
|
target = root.culture
|
|
value = low_positive_culture_acceptance
|
|
desc = cultural_acceptance_gain_hold_court_event_outcome
|
|
}
|
|
}
|
|
stress_impact = {
|
|
arrogant = medium_stress_impact_gain
|
|
impatient = medium_stress_impact_gain
|
|
zealous = medium_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
reclusive = major_stress_impact_gain
|
|
irritable = major_stress_impact_gain
|
|
humble = medium_stress_impact_loss
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = humble
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = impatient
|
|
add = -50
|
|
}
|
|
modifier = {
|
|
has_trait = arrogant
|
|
add = -50
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: have fun together
|
|
option = {
|
|
name = bp2_adult_education.1050.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1020.c.tt }
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = major }
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:student_1 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_in_foreign_land
|
|
CHARACTER = scope:student_1
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:student_2 }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_in_foreign_land
|
|
CHARACTER = scope:student_2
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
diligent = medium_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
gregarious = minor_stress_impact_loss
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = -50
|
|
}
|
|
modifier = {
|
|
has_trait = shy
|
|
add = -50
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = 50
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1050.c
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
stress_impact = {
|
|
shy = minor_stress_impact_loss
|
|
diligent = minor_stress_impact_loss
|
|
humble = medium_stress_impact_gain
|
|
gregarious = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = -100
|
|
}
|
|
modifier = {
|
|
has_trait = humble
|
|
add = -50
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Sic et Non inspired reflections
|
|
|
|
bp2_adult_education.1060 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1060.t
|
|
desc = bp2_adult_education.1060.desc
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = personality_rational
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
always = yes
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
modifier = {
|
|
has_trait = theologian
|
|
add = 2
|
|
}
|
|
modifier = {
|
|
has_trait = scholar
|
|
add = 1
|
|
}
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
}
|
|
root = { save_scope_as = book_creator }
|
|
}
|
|
|
|
# Option A: Study hard intent: think and try to resolve the questions
|
|
option = {
|
|
name = bp2_adult_education.1060.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skill = learning
|
|
value = high_skill_rating
|
|
15 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1060.a.crit_success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1060.a.crit_success.tt
|
|
left_icon = root
|
|
hidden_effect = {
|
|
if = {
|
|
limit = {
|
|
has_dlc_feature = royal_court
|
|
root = { has_royal_court = yes }
|
|
}
|
|
create_artifact_book_effect = {
|
|
OWNER = root
|
|
CREATOR = root
|
|
SET_SUBJECT = flag:learning
|
|
SET_TOPIC = flag:learning_theological_treaties
|
|
}
|
|
}
|
|
else = {
|
|
save_temporary_scope_value_as = {
|
|
name = should_be_trinket
|
|
value = yes
|
|
}
|
|
create_artifact_book_effect = {
|
|
OWNER = root
|
|
CREATOR = root
|
|
SET_SUBJECT = flag:learning
|
|
SET_TOPIC = flag:learning_theological_treaties
|
|
}
|
|
}
|
|
hidden_effect_new_object = {
|
|
scope:newly_created_artifact = {
|
|
set_artifact_name = sic_et_non_book_name
|
|
set_artifact_description = sic_et_non_book_desc
|
|
set_artifact_rarity = famed
|
|
}
|
|
}
|
|
}
|
|
custom_tooltip = bp2_adult_education.1060.a.tt
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = sic_et_non_log
|
|
score = 25
|
|
tags = { good learning activity }
|
|
character = root
|
|
|
|
#Effect
|
|
custom_tooltip = adult_education_tt_positive_massive
|
|
scope:activity = { activity_special_type_progression_massive = yes }
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_loss
|
|
}
|
|
}
|
|
40 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1060.a.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1060.a.success.tt
|
|
left_icon = root
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
scope:activity = { activity_special_type_progression_major = yes }
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
}
|
|
}
|
|
45 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1060.a.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1060.a.failure.tt
|
|
left_icon = root
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
}
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: the answer is out of these walls!
|
|
option = {
|
|
name = bp2_adult_education.1060.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
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 = {
|
|
base = minor_stress_impact_loss
|
|
diligent = minor_stress_impact_gain
|
|
scholar = major_stress_impact_gain
|
|
theologian = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1060.c
|
|
stress_impact = {
|
|
base = medium_stress_impact_loss
|
|
}
|
|
ai_chance = {
|
|
base = 50
|
|
modifier = {
|
|
has_trait = lazy
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = intellect_bad
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = dull
|
|
add = 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Class debate vs other student
|
|
|
|
bp2_adult_education.1070 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1070.t
|
|
desc = bp2_adult_education.1070.desc
|
|
theme = university
|
|
|
|
left_portrait = {
|
|
character = scope:teacher
|
|
animation = thinking
|
|
outfit_tags = { spectacles_outfit }
|
|
}
|
|
center_portrait = {
|
|
character = root
|
|
animation = dismissal
|
|
}
|
|
right_portrait = {
|
|
character = scope:student
|
|
animation = wedding_objection_start
|
|
}
|
|
lower_right_portrait = scope:student_2
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
has_character_flag = student_1
|
|
}
|
|
any_attending_character = {
|
|
has_character_flag = student_2
|
|
}
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
}
|
|
save_scope_as = student
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = student_1
|
|
has_character_flag = student_2
|
|
}
|
|
this != scope:student
|
|
}
|
|
save_scope_as = student_2
|
|
}
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
# Option A: Study hard intent:
|
|
option = {
|
|
name = bp2_adult_education.1070.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
duel = {
|
|
skill = learning
|
|
target = scope:student
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1070.a.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1070.a.success.tt
|
|
left_icon = root
|
|
right_icon = scope:student
|
|
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = won_a_debate_log
|
|
score = 25
|
|
tags = { }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
root = {
|
|
reverse_add_opinion = {
|
|
target = scope:teacher
|
|
modifier = proud_opinion
|
|
opinion = 20
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
arrogant = minor_stress_impact_loss
|
|
shy = minor_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
scope:activity = { activity_special_type_progression_major = yes }
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1070.a.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1070.a.failure.tt
|
|
left_icon = root
|
|
right_icon = scope:student
|
|
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = won_a_debate_log
|
|
score = 25
|
|
tags = { }
|
|
character = scope:student
|
|
target = root
|
|
|
|
#Effect
|
|
root = {
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent:
|
|
option = {
|
|
name = bp2_adult_education.1070.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
duel = {
|
|
skill = diplomacy
|
|
target = scope:student
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1070.b.success
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1070.a.success.tt
|
|
left_icon = root
|
|
right_icon = scope:student
|
|
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = won_a_debate_log
|
|
score = 25
|
|
tags = { }
|
|
character = root
|
|
target = scope:student
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = major }
|
|
reverse_add_opinion = {
|
|
target = scope:teacher
|
|
modifier = proud_opinion
|
|
opinion = 20
|
|
}
|
|
stress_impact = {
|
|
base = minor_stress_impact_loss
|
|
arrogant = minor_stress_impact_loss
|
|
shy = minor_stress_impact_gain
|
|
honest = minor_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_tiny
|
|
scope:activity = { activity_special_type_progression_tiny = yes }
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
min = -49
|
|
}
|
|
desc = bp2_adult_education.1070.b.failure
|
|
send_interface_toast = {
|
|
title = bp2_adult_education.1070.a.failure.tt
|
|
left_icon = root
|
|
right_icon = scope:student
|
|
|
|
scope:activity = {
|
|
add_activity_log_entry = {
|
|
key = won_a_debate_log
|
|
score = 25
|
|
tags = { }
|
|
character = scope:student
|
|
target = root
|
|
|
|
#Effect
|
|
root = {
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = minor }
|
|
stress_impact = {
|
|
base = medium_stress_impact_gain
|
|
shy = medium_stress_impact_gain
|
|
arrogant = medium_stress_impact_gain
|
|
deceitful = medium_stress_impact_gain
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option C: opt-out
|
|
option = {
|
|
name = bp2_adult_education.1070.c
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:student_2 }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_put_me_in_the_spot
|
|
CHARACTER = scope:student_2
|
|
OPINION = default_rival_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
shy = major_stress_impact_loss
|
|
reclusive = major_stress_impact_loss
|
|
}
|
|
ai_chance = {
|
|
base = 50
|
|
modifier = {
|
|
has_trait = shy
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = reclusive
|
|
add = 100
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Teacher is an infidel
|
|
|
|
bp2_adult_education.1080 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1080.t
|
|
desc = bp2_adult_education.1080.desc
|
|
theme = university
|
|
|
|
center_portrait = {
|
|
character = root
|
|
animation = worry
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = idle
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
OR = {
|
|
is_infidel_trigger = { WHO = this TARGET = root }
|
|
is_heathen_trigger = { WHO = this TARGET = root }
|
|
is_heretic_trigger = { WHO = this TARGET = root }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
modifier = {
|
|
has_trait = zealous
|
|
add = 1
|
|
}
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
OR = {
|
|
is_infidel_trigger = { WHO = this TARGET = root }
|
|
is_heathen_trigger = { WHO = this TARGET = root }
|
|
is_heretic_trigger = { WHO = this TARGET = root }
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: don't care as long as I learn
|
|
option = {
|
|
name = bp2_adult_education.1080.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
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 = {
|
|
zealous = major_stress_impact_gain
|
|
theologian = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: prank
|
|
option = {
|
|
name = bp2_adult_education.1080.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
|
|
bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = bp2_adult_education.1080.b.tt }
|
|
stress_impact = {
|
|
diligent = medium_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
}
|
|
}
|
|
|
|
# Option C: Zealous/Theologian: a disgrace!
|
|
option = {
|
|
name = bp2_adult_education.1080.c
|
|
trigger = {
|
|
OR = {
|
|
has_trait = zealous
|
|
has_focus_or_focus_trait_trigger = { FOCUS = learning_theology_focus }
|
|
has_trait = faith_warrior
|
|
has_trait = crusader_king
|
|
}
|
|
NOT = {
|
|
any_secret = { type = secret_non_believer }
|
|
}
|
|
}
|
|
add_piety = major_piety_gain
|
|
add_prestige = medium_prestige_gain
|
|
stress_impact = {
|
|
cynical = major_stress_impact_gain
|
|
gregarious = major_stress_impact_gain
|
|
compassionate = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_zeal = 1
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option D: secret non believer - convert
|
|
option = {
|
|
name = bp2_adult_education.1080.d
|
|
trigger = {
|
|
OR = {
|
|
any_secret = { type = secret_non_believer }
|
|
has_trait = cynical
|
|
}
|
|
is_ai = no
|
|
}
|
|
set_character_faith = scope:teacher.faith
|
|
if = {
|
|
limit = {
|
|
scope:teacher.faith = { has_doctrine = doctrine_monotheist }
|
|
}
|
|
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_converted_explorer
|
|
CHARACTER = scope:teacher
|
|
OPINION = 30
|
|
}
|
|
}
|
|
else = {
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = pious_opinion
|
|
opinion = 30
|
|
}
|
|
}
|
|
}
|
|
stress_impact = {
|
|
zealous = massive_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 50
|
|
ai_value_modifier = {
|
|
ai_zeal = -0.5
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option E: tolerance/learning
|
|
option = {
|
|
name = bp2_adult_education.1080.e
|
|
trigger = {
|
|
OR = {
|
|
has_trait = compassionate
|
|
has_trait = gregarious
|
|
has_trait = diligent
|
|
has_focus_or_focus_trait_trigger = { FOCUS = learning_scholarship_focus }
|
|
has_focus_or_focus_trait_trigger = { FOCUS = learning_medicine_focus }
|
|
has_trait = lifestyle_herbalist
|
|
has_trait = lifestyle_physician
|
|
}
|
|
}
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
add_character_modifier = tolerant_opinion_modifier
|
|
if = {
|
|
limit = {
|
|
can_set_relation_friend_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
REASON = friend_religious_tolerance
|
|
CHARACTER = scope:teacher
|
|
OPINION = default_friend_opinion
|
|
}
|
|
}
|
|
stress_impact = {
|
|
zealous = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_zeal = -1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# Study a live bird
|
|
|
|
bp2_adult_education.1090 = {
|
|
type = activity_event
|
|
content_source = dlc_009
|
|
title = bp2_adult_education.1090.t
|
|
desc = bp2_adult_education.1090.desc
|
|
theme = university
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = admiration
|
|
}
|
|
right_portrait = {
|
|
character = scope:teacher
|
|
animation = hunting_falcon
|
|
}
|
|
|
|
cooldown = { years = 5 }
|
|
|
|
trigger = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
weight_multiplier = {
|
|
base = 1
|
|
modifier = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
has_trait = education_martial
|
|
}
|
|
}
|
|
add = 0.5
|
|
}
|
|
modifier = {
|
|
scope:activity = {
|
|
any_attending_character = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
has_trait = lifestyle_hunter
|
|
}
|
|
}
|
|
add = 1
|
|
}
|
|
}
|
|
|
|
immediate = {
|
|
scope:activity = {
|
|
activity_location = { save_scope_as = location }
|
|
random_attending_character = {
|
|
limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
OR = {
|
|
has_trait = education_martial
|
|
has_trait = lifestyle_hunter
|
|
}
|
|
}
|
|
alternative_limit = {
|
|
OR = {
|
|
has_character_flag = teacher_1
|
|
has_character_flag = teacher_2
|
|
}
|
|
}
|
|
save_scope_as = teacher
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option A: Study hard intent: Kill it and study its innards
|
|
option = {
|
|
name = bp2_adult_education.1090.a
|
|
trigger = {
|
|
has_activity_intent = study_hard_intent
|
|
}
|
|
add_prestige = medium_prestige_loss
|
|
custom_tooltip = adult_education_tt_positive_major
|
|
scope:activity = { activity_special_type_progression_major = yes }
|
|
stress_impact = {
|
|
humble = minor_stress_impact_gain
|
|
compassionate = medium_stress_impact_gain
|
|
zealous = medium_stress_impact_gain
|
|
lazy = medium_stress_impact_gain
|
|
craven = major_stress_impact_gain
|
|
}
|
|
if = {
|
|
limit = {
|
|
OR = {
|
|
culture = { has_cultural_tradition = tradition_vegetarianism }
|
|
faith = { has_doctrine = tenet_sanctity_of_nature }
|
|
}
|
|
}
|
|
custom_tooltip = bp2_adult_education.1090.a.tt
|
|
add_stress = major_stress_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = sadistic
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = scholar
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = whole_of_body
|
|
add = 100
|
|
}
|
|
modifier = {
|
|
has_trait = diligent
|
|
add = 50
|
|
}
|
|
modifier = {
|
|
has_trait = craven
|
|
add = -50
|
|
}
|
|
modifier = {
|
|
has_trait = compassionate
|
|
add = -25
|
|
}
|
|
}
|
|
}
|
|
|
|
# Option B: Goliardic Life intent: Let it out and study the chaos
|
|
option = {
|
|
name = bp2_adult_education.1090.b
|
|
trigger = {
|
|
has_activity_intent = university_revelry_intent
|
|
}
|
|
flavor = bp2_adult_education.1090.b.tt
|
|
bp2_lifestyle_xp_gain_per_type_effect = { VALUE = major }
|
|
scope:teacher = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = disappointed_opinion
|
|
opinion = -25
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
can_set_relation_rival_trigger = { CHARACTER = scope:teacher }
|
|
}
|
|
progress_towards_rival_effect = {
|
|
REASON = rival_chaos_in_class
|
|
CHARACTER = scope:teacher
|
|
OPINION = 0
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
forgiving = minor_stress_impact_gain
|
|
compassionate = medium_stress_impact_gain
|
|
diligent = major_stress_impact_gain
|
|
shy = major_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 100
|
|
modifier = {
|
|
has_trait = fickle
|
|
add = 50
|
|
}
|
|
modifier = {
|
|
has_trait = gregarious
|
|
add = 50
|
|
}
|
|
modifier = {
|
|
has_trait = shy
|
|
add = -100
|
|
}
|
|
}
|
|
}
|
|
|
|
#Option C: opt out - look from afar
|
|
option = {
|
|
name = bp2_adult_education.1090.c
|
|
custom_tooltip = adult_education_tt_positive_medium
|
|
scope:activity = { activity_special_type_progression_medium = yes }
|
|
stress_impact = {
|
|
brave = minor_stress_impact_gain
|
|
diligent = minor_stress_impact_gain
|
|
gregarious = minor_stress_impact_gain
|
|
ambitious = minor_stress_impact_gain
|
|
}
|
|
ai_chance = {
|
|
base = 75
|
|
}
|
|
}
|
|
}
|