event fixes pt IV

This commit is contained in:
trashmasteruni 2026-10-11 00:50:52 +02:00
parent e660a1513e
commit 4ee8abdc61
22 changed files with 2057 additions and 8852 deletions

View file

@ -165,6 +165,7 @@ learning_medicine.2001 = { #by Mathilda Bjarnehed
create_character = {
location = root.capital_province
faith = root.faith
rite = root.rite
culture = root.culture
template = witchy_template
save_scope_as = herbalist
@ -215,7 +216,7 @@ learning_medicine.2001 = { #by Mathilda Bjarnehed
limit = {
NOR = {
has_trait = lifestyle_herbalist
faith = { has_doctrine_parameter = witchcraft_accepted }
rite = { rite_has_parameter = witchcraft_accepted }
ai_zeal <= high_negative_ai_value
}
}
@ -408,7 +409,7 @@ learning_medicine.2002 = { #by Mathilda Bjarnehed
}
triggered_desc = {
trigger = {
faith = { NOT = { has_doctrine_parameter = witchcraft_accepted } }
NOT = { rite = { rite_has_parameter = witchcraft_accepted } }
}
desc = learning_medicine.2002.not_witchcraft_accepted.desc
}
@ -474,7 +475,7 @@ learning_medicine.2002 = { #by Mathilda Bjarnehed
title = learning_medicine.2002.a.failure.t
left_icon = scope:herbalist
if = {
limit = { scope:herbalist = { faith = { NOT = { has_doctrine_parameter = witchcraft_accepted } } } }
limit = { scope:herbalist = { NOT = { rite = { rite_has_parameter = witchcraft_accepted } } } }
reverse_add_opinion = {
target = scope:herbalist
modifier = impious_opinion
@ -482,7 +483,7 @@ learning_medicine.2002 = { #by Mathilda Bjarnehed
}
if = {
limit = { faith = { NOT = { has_doctrine_parameter = witchcraft_accepted } } }
limit = { NOT = { rite = { rite_has_parameter = witchcraft_accepted } } }
add_piety = minor_piety_loss
}
}
@ -640,6 +641,7 @@ learning_medicine.2010 = { #by Mathilda Bjarnehed
random_valid = {
triggered_desc = {
trigger = {
is_valid_for_east_asian_events_trigger = no
NOR = {
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
@ -649,6 +651,7 @@ learning_medicine.2010 = { #by Mathilda Bjarnehed
}
triggered_desc = {
trigger = {
is_valid_for_east_asian_events_trigger = no
NOR = {
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
@ -658,6 +661,7 @@ learning_medicine.2010 = { #by Mathilda Bjarnehed
}
triggered_desc = {
trigger = {
is_valid_for_east_asian_events_trigger = no
NOR = {
culture = { has_cultural_parameter = anglic_group_language_param }
scope:court_physician = { culture = { has_cultural_parameter = anglic_group_language_param } }
@ -674,6 +678,84 @@ learning_medicine.2010 = { #by Mathilda Bjarnehed
}
desc = learning_medicine.2010.merck.desc
}
triggered_desc = {
trigger = {
OR = {
culture = { has_cultural_pillar = heritage_chinese }
scope:court_physician.culture = { has_cultural_pillar = heritage_chinese }
}
}
desc = learning_medicine.2010.sun_simiao.desc
}
triggered_desc = {
trigger = {
OR = {
culture = { has_cultural_pillar = heritage_chinese }
scope:court_physician.culture = { has_cultural_pillar = heritage_chinese }
}
}
desc = learning_medicine.2010.zhan_zhongjing.desc
}
triggered_desc = {
trigger = {
OR = {
location = { geographical_region = world_asia }
is_valid_for_east_asian_events_trigger = yes # Culture is Japanese, Chinese or Korean
scope:court_physician.culture = { is_valid_for_east_asian_events_trigger = yes }
}
}
desc = learning_medicine.2010.hua_tuo.desc
}
triggered_desc = {
trigger = {
current_date >= 984.1.1
OR = {
culture = { has_cultural_pillar = heritage_japonic }
scope:court_physician.culture = { has_cultural_pillar = heritage_japonic }
}
}
desc = learning_medicine.2010.tamba_yasuyori.desc
}
triggered_desc = {
trigger = {
current_date >= 1120.1.1
location = {
geographical_region = world_europe
}
}
desc = learning_medicine.2010.hildegard.desc
}
triggered_desc = {
trigger = {
current_date >= 1316.12.30
location = {
geographical_region = world_europe
}
}
desc = learning_medicine.2010.mundinus.desc
}
triggered_desc = {
trigger = {
NOR = {
culture = { has_cultural_pillar = heritage_arabic }
scope:court_physician = { culture = { has_cultural_pillar = heritage_arabic } }
faith = { religion_tag = islam_religion }
scope:court_physician.faith = { religion_tag = islam_religion }
}
current_date >= 1225.1.1
}
desc = learning_medicine.2010.avicenna.desc
}
triggered_desc = {
trigger = {
NOR = {
has_culture = culture:italian
scope:court_physician = { has_culture = culture:italian }
}
current_date >= 1150.1.1
}
desc = learning_medicine.2010.trota.desc
}
}
desc = learning_medicine.2010.fallback.desc
}
@ -968,7 +1050,7 @@ learning_medicine.2021 = { #by Mathilda Bjarnehed
ai_rationality = 0.25
}
modifier = {
add = age
add = age
}
}
}
@ -1567,7 +1649,7 @@ learning_medicine.2024 = { #by Mathilda Bjarnehed
opinion = 10
}
stress_impact = {
stress_and_fulfillment_impact = {
wrathful = minor_stress_impact_gain
paranoid = minor_stress_impact_gain
sadistic = minor_stress_impact_gain
@ -1588,7 +1670,7 @@ learning_medicine.2024 = { #by Mathilda Bjarnehed
imprison_physician_effect = yes
stress_impact = {
stress_and_fulfillment_impact = {
forgiving = medium_stress_impact_gain
compassionate = minor_stress_impact_gain
content = minor_stress_impact_gain
@ -1638,7 +1720,7 @@ learning_medicine.2025 = { #by Mathilda Bjarnehed
option = {
name = learning_medicine.2025.b
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = medium_stress_impact_gain
}
@ -1980,7 +2062,7 @@ learning_medicine.2030 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = major_stress_loss
deceitful = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
@ -2016,7 +2098,7 @@ learning_medicine.2030 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
shy = minor_stress_impact_gain
@ -2075,7 +2157,7 @@ learning_medicine.2030 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
shy = minor_stress_impact_gain
@ -2133,7 +2215,7 @@ learning_medicine.2030 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_loss
deceitful = major_stress_impact_gain
paranoid = major_stress_impact_gain
@ -2158,7 +2240,7 @@ learning_medicine.2030 = { #by Mathilda Bjarnehed
years = 15
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
trusting = minor_stress_impact_gain
gregarious = minor_stress_impact_gain
@ -2347,7 +2429,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
add_trait = athletic
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_loss
lazy = minor_stress_impact_gain
}
@ -2363,7 +2445,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
add_trait = journaller
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_loss
dull = minor_stress_impact_gain
intellect_bad_1 = minor_stress_impact_gain
@ -2397,7 +2479,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
send_interface_toast = {
title = learning_medicine.2030.c.trait
add_trait = athletic
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_loss
}
}
@ -2414,7 +2496,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain
}
}
@ -2440,7 +2522,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
send_interface_toast = {
title = learning_medicine.2030.d.trait
add_trait = journaller
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_loss
}
}
@ -2457,7 +2539,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
dull = minor_stress_impact_gain
intellect_bad_1 = minor_stress_impact_gain
intellect_bad_2 = minor_stress_impact_gain
@ -2470,7 +2552,7 @@ learning_medicine.2040 = { #by Mathilda Bjarnehed
option = {
name = learning_medicine.2040.e
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_loss
diligent = minor_stress_impact_gain
}
@ -2566,6 +2648,7 @@ learning_medicine.2050 = { #by Mathilda Bjarnehed
location = root.capital_province
culture = root.capital_province.culture
faith = root.capital_province.faith
rite = root.capital_province.rite
template = pool_repopulate_prowess
save_scope_as = soldier
trait = wounded_2
@ -2640,7 +2723,7 @@ learning_medicine.2050 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain
}
@ -2682,7 +2765,7 @@ learning_medicine.2050 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
humble = medium_stress_impact_gain
}
@ -2697,7 +2780,7 @@ learning_medicine.2050 = { #by Mathilda Bjarnehed
add_dread = medium_dread_gain
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
compassionate = major_stress_impact_gain
forgiving = medium_stress_impact_gain
@ -2849,7 +2932,7 @@ learning_medicine.2052 = { #by Mathilda Bjarnehed
REASON = friend_reassurance
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain
}
}
@ -2864,7 +2947,7 @@ learning_medicine.2052 = { #by Mathilda Bjarnehed
opinion = -5
}
stress_impact = {
stress_and_fulfillment_impact = {
humble = minor_stress_impact_gain
}
}
@ -3080,7 +3163,7 @@ learning_medicine_special.2110 = {
add = 10
OR = {
has_trait = gluttonous
faith = { trait_is_virtue = gluttonous }
rite = { trait_is_virtue_rite = gluttonous }
}
}
modifier = { #We just like meeting interesting people, to be honest.
@ -3185,18 +3268,18 @@ learning_medicine_special.2110 = {
}
else_if = { #If your faith hates such things, you get a little piety.
limit = {
faith = { trait_is_sin = gluttonous }
rite = { trait_is_sin_rite = gluttonous }
}
add_piety = minor_piety_gain
}
else_if = { #Unless they like them, in which case you confuse and annoy people.
limit = {
faith = { trait_is_virtue = gluttonous }
rite = { trait_is_virtue_rite = gluttonous }
}
add_piety = minor_piety_loss
}
else = { add_prestige = miniscule_prestige_gain } #Otherwise you're just a bit of a neutral kill-joy, I guess.
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_gain
hashishiyah = medium_stress_impact_gain
shy = minor_stress_impact_loss
@ -3272,21 +3355,21 @@ learning_medicine_special.2110 = {
modifier = cosmic_insights_modifier
days = 3650
}
stress_impact = {
stress_and_fulfillment_impact = {
temperate = medium_stress_impact_gain
shy = minor_stress_impact_gain
hashishiyah = major_stress_impact_loss
}
if = {
limit = {
faith = {
rite = {
OR = {
religion_tag = islam_religion
trait_is_sin = gluttonous
faith = { religion_tag = islam_religion }
trait_is_sin_rite = gluttonous
}
}
}
stress_impact = { zealous = minor_stress_impact_gain }
stress_and_fulfillment_impact = { zealous = minor_stress_impact_gain }
}
ai_chance = {
base = 50
@ -3399,21 +3482,21 @@ learning_medicine_special.2110 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
temperate = major_stress_impact_gain
shy = medium_stress_impact_gain
hashishiyah = major_stress_impact_loss
}
if = {
limit = {
faith = {
rite = {
OR = {
religion_tag = islam_religion
trait_is_sin = gluttonous
faith = { religion_tag = islam_religion }
trait_is_sin_rite = gluttonous
}
}
}
stress_impact = { zealous = medium_stress_impact_gain }
stress_and_fulfillment_impact = { zealous = medium_stress_impact_gain }
}
ai_chance = {
base = 50
@ -3631,7 +3714,7 @@ learning_medicine_special.1002 = {
}
}
add_learning_lifestyle_xp = minor_lifestyle_xp
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
callous = medium_stress_impact_loss
sadistic = medium_stress_impact_loss
@ -3816,7 +3899,7 @@ learning_medicine_special.1103 = {
scope:scoped_capital ?= {
title_province = {
create_epidemic_outbreak = {
type = dysentery
type = dysentery
intensity = minor
}
}
@ -3947,7 +4030,7 @@ learning_medicine_special.1006 = {
scope:scoped_capital ?= {
title_province = {
create_epidemic_outbreak = {
type = dysentery
type = dysentery
intensity = minor
}
}
@ -4085,6 +4168,7 @@ learning_medicine_special.2100 = {
random_traits = no
employer = root
faith = scope:hallucinogenic_fish_locale.faith
rite = scope:hallucinogenic_fish_locale.rite
culture = scope:hallucinogenic_fish_locale.culture
intrigue = 10
learning = 10
@ -4146,7 +4230,7 @@ learning_medicine_special.2100 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = minor_stress_impact_gain
temperate = minor_stress_impact_gain
}
@ -4155,13 +4239,13 @@ learning_medicine_special.2100 = {
ai_value_modifier = { ai_boldness = 0.5 }
ai_value_modifier = {
trigger = {
faith = { has_doctrine_parameter = witchcraft_shunned }
rite = { rite_has_parameter = witchcraft_shunned }
}
ai_zeal = -0.25
}
ai_value_modifier = {
trigger = {
faith = { has_doctrine_parameter = witchcraft_illegal }
rite = { rite_has_parameter = witchcraft_illegal }
}
ai_zeal = -0.50
}
@ -4258,15 +4342,14 @@ learning_medicine_special.2100 = {
}
if = {
limit = {
faith = {
OR = {
has_doctrine_parameter = witchcraft_shunned
has_doctrine_parameter = witchcraft_illegal
}
OR = {
rite = { rite_has_parameter = witchcraft_shunned }
rite = { rite_has_parameter = witchcraft_illegal }
}
}
stress_impact = { zealous = medium_stress_impact_gain }
stress_and_fulfillment_impact = { zealous = medium_stress_impact_gain }
}
stress_and_fulfillment_impact = { witch = medium_stress_impact_loss }
ai_chance = {
base = 50
ai_value_modifier = {
@ -4275,13 +4358,13 @@ learning_medicine_special.2100 = {
}
ai_value_modifier = {
trigger = {
faith = { has_doctrine_parameter = witchcraft_shunned }
rite = { rite_has_parameter = witchcraft_shunned }
}
ai_zeal = -0.50
}
ai_value_modifier = {
trigger = {
faith = { has_doctrine_parameter = witchcraft_illegal }
rite = { rite_has_parameter = witchcraft_illegal }
}
ai_zeal = -0.75
}
@ -4297,11 +4380,9 @@ learning_medicine_special.2100 = {
modifier = {
add = -20
trigger = {
faith = {
OR = {
has_doctrine_parameter = witchcraft_shunned
has_doctrine_parameter = witchcraft_illegal
}
OR = {
rite = { rite_has_parameter = witchcraft_shunned }
rite = { rite_has_parameter = witchcraft_illegal }
}
}
has_trait = zealous
@ -4311,7 +4392,7 @@ learning_medicine_special.2100 = {
option = { #Suffer not the witch to live.
name = learning_medicine_special.2100.c
trigger = {
faith = { has_doctrine_parameter = witchcraft_illegal }
rite = { rite_has_parameter = witchcraft_illegal }
}
add_piety = major_piety_gain
custom_tooltip = learning_medicine_special.2100.c.tt
@ -4323,12 +4404,13 @@ learning_medicine_special.2100 = {
}
}
}
stress_impact = { compassionate = medium_stress_impact_gain }
pam_witch_justice_fulfillment_effect = yes
stress_and_fulfillment_impact = { compassionate = medium_stress_impact_gain }
ai_chance = {
base = 50
ai_value_modifier = {
trigger = {
faith = { has_doctrine_parameter = witchcraft_illegal }
rite = { rite_has_parameter = witchcraft_illegal }
}
ai_zeal = 0.75
}
@ -4359,13 +4441,13 @@ learning_medicine_special.2100 = {
name = learning_medicine_special.2100.d
if = {
limit = {
faith = { has_doctrine_parameter = witchcraft_shunned }
rite = { rite_has_parameter = witchcraft_shunned }
}
add_prestige = minor_prestige_gain
}
else_if = {
limit = {
faith = { has_doctrine_parameter = witchcraft_illegal }
rite = { rite_has_parameter = witchcraft_illegal }
}
add_prestige = medium_prestige_gain
}

View file

@ -149,27 +149,29 @@ learning_theology.2020 = { #by Mathilda Bjarnehed
trigger = {
root.religion = { is_in_family = rf_abrahamic }
NOT = { government_has_flag = government_is_theocracy }
is_clergy = no
any_learning_councillor = {
is_available_ai = yes
}
faith = { #Matches learning_theology_2020_randomize_virtue_options_effect, to make sure you can get at least 1 option
rite = { #Matches learning_theology_2020_randomize_virtue_options_effect, to make sure you can get at least 1 option
calc_true_if = {
amount >= 2
trait_is_virtue = brave
trait_is_virtue = just
trait_is_virtue = temperate
trait_is_virtue = chaste
trait_is_virtue = compassionate
trait_is_virtue = honest
trait_is_virtue = forgiving
trait_is_virtue = wrathful
trait_is_virtue = vengeful
trait_is_virtue = content
trait_is_virtue = patient
trait_is_virtue = calm
trait_is_virtue = humble
trait_is_virtue = diligent
trait_is_virtue = generous
trait_is_virtue_rite = brave
trait_is_virtue_rite = just
trait_is_virtue_rite = temperate
trait_is_virtue_rite = chaste
trait_is_virtue_rite = compassionate
trait_is_virtue_rite = honest
trait_is_virtue_rite = forgiving
trait_is_virtue_rite = wrathful
trait_is_virtue_rite = vengeful
trait_is_virtue_rite = content
trait_is_virtue_rite = patient
trait_is_virtue_rite = calm
trait_is_virtue_rite = humble
trait_is_virtue_rite = diligent
trait_is_virtue_rite = generous
}
}
}
@ -346,79 +348,79 @@ learning_theology.2020 = { #by Mathilda Bjarnehed
#That's not a virtue!
OR = {
AND = {
faith = { NOT = { trait_is_virtue = brave } }
rite = { NOT = { trait_is_virtue_rite = brave } }
scope:virtue_choice = flag:brave
}
AND = {
faith = { NOT = { trait_is_virtue = just } }
rite = { NOT = { trait_is_virtue_rite = just } }
scope:virtue_choice = flag:just
}
AND = {
faith = { NOT = { trait_is_virtue = temperate } }
rite = { NOT = { trait_is_virtue_rite = temperate } }
scope:virtue_choice = flag:temperate
}
AND = {
faith = { NOT = { trait_is_virtue = chaste } }
rite = { NOT = { trait_is_virtue_rite = chaste } }
scope:virtue_choice = flag:chaste
}
AND = {
faith = { NOT = { trait_is_virtue = compassionate } }
rite = { NOT = { trait_is_virtue_rite = compassionate } }
scope:virtue_choice = flag:compassionate
}
AND = {
faith = { NOT = { trait_is_virtue = honest } }
rite = { NOT = { trait_is_virtue_rite = honest } }
scope:virtue_choice = flag:honest
}
AND = {
faith = { NOT = { trait_is_virtue = forgiving } }
rite = { NOT = { trait_is_virtue_rite = forgiving } }
scope:virtue_choice = flag:forgiving
}
AND = {
faith = { NOT = { trait_is_virtue = wrathful } }
rite = { NOT = { trait_is_virtue_rite = wrathful } }
scope:virtue_choice = flag:wrathful
}
AND = {
faith = { NOT = { trait_is_virtue = vengeful } }
rite = { NOT = { trait_is_virtue_rite = vengeful } }
scope:virtue_choice = flag:vengeful
}
AND = {
faith = { NOT = { trait_is_virtue = content } }
rite = { NOT = { trait_is_virtue_rite = content } }
scope:virtue_choice = flag:content
}
AND = {
faith = { NOT = { trait_is_virtue = patient } }
rite = { NOT = { trait_is_virtue_rite = patient } }
scope:virtue_choice = flag:patient
}
AND = {
faith = { NOT = { trait_is_virtue = calm } }
rite = { NOT = { trait_is_virtue_rite = calm } }
scope:virtue_choice = flag:calm
}
AND = {
faith = { NOT = { trait_is_virtue = humble } }
rite = { NOT = { trait_is_virtue_rite = humble } }
scope:virtue_choice = flag:humble
}
AND = {
faith = { NOT = { trait_is_virtue = diligent } }
rite = { NOT = { trait_is_virtue_rite = diligent } }
scope:virtue_choice = flag:diligent
}
AND = {
faith = { NOT = { trait_is_virtue = generous } }
rite = { NOT = { trait_is_virtue_rite = generous } }
scope:virtue_choice = flag:generous
}
AND = {
faith = { NOT = { trait_is_virtue = greedy } }
rite = { NOT = { trait_is_virtue_rite = greedy } }
scope:virtue_choice = flag:greedy
}
AND = {
faith = { NOT = { trait_is_virtue = lustful } }
rite = { NOT = { trait_is_virtue_rite = lustful } }
scope:virtue_choice = flag:lustful
}
AND = {
faith = { NOT = { trait_is_virtue = ambitious } }
rite = { NOT = { trait_is_virtue_rite = ambitious } }
scope:virtue_choice = flag:ambitious
}
AND = {
faith = { NOT = { trait_is_virtue = gluttonous } }
rite = { NOT = { trait_is_virtue_rite = gluttonous } }
scope:virtue_choice = flag:gluttonous
}
}
@ -720,7 +722,16 @@ learning_theology.2021 = { #by Mathilda Bjarnehed
learning_theology.3002 = {
type = character_event
title = learning_theology.3002.t
desc = learning_theology.3002.desc
desc = {
first_valid = {
# A clergy scholar should not be told to leave it to the clergy
triggered_desc = {
trigger = { is_clergy = yes }
desc = learning_theology.3002.desc.clergy
}
desc = learning_theology.3002.desc
}
}
theme = learning_theology_focus
left_portrait = {
@ -818,6 +829,7 @@ learning_theology.3003 = {
desc = learning_theology.3003.desc
theme = learning_theology_focus
override_background = bp1_bonfire
left_portrait = {
character = root
animation = survey
@ -829,6 +841,7 @@ learning_theology.3003 = {
trigger = {
root.religion = { is_in_family = rf_abrahamic }
NOT = { government_has_flag = government_is_theocracy }
NOT = { has_character_flag = had_event_learning_theology_3003 }
NOR = {
has_character_modifier = scholarship_astrological_insights_modifier
@ -1734,7 +1747,7 @@ learning_theology.3031 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
ai_chance = {
@ -1918,7 +1931,7 @@ learning_theology.3043 = {
option = { # This is what I have been looking for
name = learning_theology.3043.a
add_trait = lifestyle_mystic
stress_impact = {
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_gain
}
ai_chance = {
@ -1933,7 +1946,7 @@ learning_theology.3043 = {
modifier = introspective_rest_modifier
years = 5
}
stress_impact = {
stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain
zealous = minor_stress_impact_gain
}
@ -2021,7 +2034,8 @@ learning_theology.3045 = {
trait = fickle
trait = diligent
add_piety = medium_piety_gain
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
stubborn = medium_stress_impact_gain
}
}
@ -2391,10 +2405,11 @@ learning_theology.3051 = {
option = { # Nah, I don't want this one
name = learning_theology.3051.b
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_gain
zealous = minor_stress_impact_gain
}
add_piety = miniscule_piety_value
ai_chance = {
base = 0
}
@ -2464,7 +2479,7 @@ learning_theology.3052 = {
}
add_piety = minor_piety_gain
add_learning_lifestyle_xp = minor_lifestyle_xp
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
arrogant = medium_stress_impact_gain
ambitious = medium_stress_impact_gain
@ -2493,7 +2508,7 @@ learning_theology.3052 = {
target = scope:passion_playwright
}
}
stress_impact = {
stress_and_fulfillment_impact = {
journaller = minor_stress_impact_loss # You find writing relaxing
arrogant = minor_stress_impact_loss
content = minor_stress_impact_gain
@ -2532,7 +2547,7 @@ learning_theology.3053 = {
option = { # Boo!
name = learning_theology.3053.a
add_piety = minor_piety_gain
stress_impact = {
stress_and_fulfillment_impact = {
deviant = medium_stress_impact_gain
lustful = medium_stress_impact_gain
}
@ -2556,7 +2571,7 @@ learning_theology.3053 = {
target = scope:passion_playwright
}
}
stress_impact = {
stress_and_fulfillment_impact = {
journaller = minor_stress_impact_loss # You find writing relaxing
arrogant = minor_stress_impact_loss
content = minor_stress_impact_gain
@ -2578,7 +2593,7 @@ learning_theology.3053 = {
add_piety = minor_piety_loss
add_courtier = scope:passion_playwright
set_relation_friend = { reason = friend_passion_play target = scope:passion_playwright }
stress_impact = {
stress_and_fulfillment_impact = {
deviant = minor_stress_impact_loss
lustful = minor_stress_impact_loss
chaste = minor_stress_impact_gain
@ -2753,7 +2768,7 @@ learning_theology.3054 = {
save_scope_as = lead_actor
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
humble = medium_stress_impact_gain
arrogant = minor_stress_impact_loss
@ -2797,7 +2812,7 @@ learning_theology.3054 = {
opinion = 15
target = scope:family_actor
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
ambitious = medium_stress_impact_gain
family_first = minor_stress_impact_loss
@ -2848,7 +2863,7 @@ learning_theology.3054 = {
}
add_courtier = scope:random_actor
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
ambitious = medium_stress_impact_gain
}
@ -2953,9 +2968,9 @@ learning_theology.3055 = {
triggered_desc = {
trigger = {
NOT = { scope:lead_actor = root }
OR = {
has_character_flag = inferior_acting_flag
has_character_flag = inferior_passion_play_flag
has_variable = {
name = inferior_acting_flag
name = inferior_passion_play_flag
}
}
desc = learning_theology.3055.desc.defeat_outro.hired_actor
@ -2963,9 +2978,9 @@ learning_theology.3055 = {
#Defeat
triggered_desc = {
trigger = {
OR = {
has_character_flag = inferior_acting_flag
has_character_flag = inferior_passion_play_flag
has_variable = {
name = inferior_acting_flag
name = inferior_passion_play_flag
}
}
desc = learning_theology.3055.desc.defeat_outro.solo
@ -2999,9 +3014,9 @@ learning_theology.3055 = {
triggered_animation = {
trigger = {
root = {
OR = {
has_character_flag = inferior_acting_flag
has_character_flag = inferior_passion_play_flag
has_variable = {
name = inferior_acting_flag
name = inferior_passion_play_flag
}
}
}
@ -3080,9 +3095,9 @@ learning_theology.3055 = {
name = learning_theology.3055.b
trigger = {
root = {
OR = {
has_character_flag = inferior_passion_play_flag
has_character_flag = inferior_acting_flag
has_variable = {
name = inferior_passion_play_flag
name = inferior_acting_flag
}
}
}
@ -3177,7 +3192,7 @@ learning_theology_special.1001 = {
}
}
OR = {
has_trait = scholar
has_trait = erudite
learning >= very_high_skill_rating
}
}
@ -3243,7 +3258,7 @@ learning_theology_special.1001 = {
random_list = {
10 = {
trigger = {
NOT = { faith = { has_doctrine = doctrine_adultery_women_accepted } }
NOT = { rite = { rite_has_doctrine = doctrine_adultery_women_accepted } }
}
save_scope_value_as = {
name = female_adultery_doctrine
@ -3252,7 +3267,7 @@ learning_theology_special.1001 = {
}
10 = {
trigger = {
NOT = { faith = { has_doctrine = doctrine_adultery_men_accepted } }
NOT = { rite = { rite_has_doctrine = doctrine_adultery_men_accepted } }
}
save_scope_value_as = {
name = male_adultery_doctrine
@ -3261,7 +3276,7 @@ learning_theology_special.1001 = {
}
10 = {
trigger = {
NOT = { faith = { has_doctrine = doctrine_homosexuality_accepted } }
NOT = { rite = { rite_has_doctrine = doctrine_homosexuality_accepted } }
}
save_scope_value_as = {
name = homosexuality_doctrine
@ -3270,7 +3285,7 @@ learning_theology_special.1001 = {
}
10 = {
trigger = {
NOT = { faith = { has_doctrine = doctrine_kinslaying_accepted } }
NOT = { rite = { rite_has_doctrine = doctrine_kinslaying_accepted } }
}
save_scope_value_as = {
name = kinslyaing_doctrine
@ -3279,7 +3294,7 @@ learning_theology_special.1001 = {
}
10 = {
trigger = {
NOT = { faith = { has_doctrine_parameter = witchcraft_accepted } }
NOT = { rite = { rite_has_parameter = witchcraft_accepted } }
}
save_scope_value_as = {
name = witchcraft_doctrine
@ -3288,7 +3303,7 @@ learning_theology_special.1001 = {
}
10 = {
trigger = {
NOT = { faith = { has_doctrine = doctrine_consanguinity_unrestricted } }
NOT = { rite = { rite_has_doctrine = doctrine_consanguinity_unrestricted } }
}
save_scope_value_as = {
name = consanguinity_doctrine
@ -3329,7 +3344,7 @@ learning_theology_special.1001 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
ai_chance = {
@ -3372,7 +3387,7 @@ learning_theology_special.1001 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
ai_chance = {
@ -3429,7 +3444,7 @@ learning_theology_special.1001 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
cynical = minor_stress_impact_gain
}
@ -3442,7 +3457,7 @@ learning_theology_special.1001 = {
name = learning_theology_special.1001.b
add_learning_lifestyle_xp = medium_lifestyle_xp
add_piety = minor_piety_loss
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
cynical = medium_stress_impact_loss
}
@ -3458,7 +3473,7 @@ learning_theology_special.1001 = {
name = learning_theology_special.1001.c
add_piety = medium_piety_gain
zealous_progression_effect = yes
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss
cynical = medium_stress_impact_gain
}
@ -3656,7 +3671,7 @@ learning_theology_special.1101 = {
template = scholar_character
faith = faith:kabbalist
culture = culture:french
trait = scholar
trait = erudite
trait = diligent
name = "Shlomo Yitzchaki"
gender = male
@ -3695,6 +3710,7 @@ learning_theology_special.1101 = {
location = root.capital_province
template = scholar_character
faith = root.faith
rite = root.rite
culture = root.culture
gender_female_chance = {
if = {
@ -3738,7 +3754,7 @@ learning_theology_special.1101 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
}

View file

@ -428,7 +428,7 @@ warhorse.0003 = {
name = warhorse.0003.rlung_rta
trigger = {
OR = {
faith = faith:lamaism
faith = faith:vajrayana_faith
culture = {
has_cultural_pillar = heritage_tibetan
}
@ -1051,7 +1051,7 @@ warhorse.1101 = {
modifier = horse_practice_modifier
years = 5
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_gain
diligent = medium_stress_impact_loss
}
@ -1065,7 +1065,7 @@ warhorse.1101 = {
option = { #Ride leisurely
name = warhorse.1101.b
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_loss
lazy = minor_stress_impact_loss
}
@ -1111,7 +1111,7 @@ warhorse.1201 = {
option = { #I'll pay whatever!
name = warhorse.1201.a
remove_short_term_gold = minor_gold_value
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
}
ai_chance = {
@ -1145,7 +1145,7 @@ warhorse.1201 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
}
ai_chance = {
@ -1330,7 +1330,7 @@ warhorse.1401 = {
scope:story = {
hidden_effect = { end_story = yes }
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_loss
}
}

View file

@ -21,7 +21,7 @@
# hidden = yes
# trigger = {
# scope:old_faith = { has_doctrine_parameter = sanctioned_false_conversion }
# scope:old_faith = { main_rite = { rite_has_parameter = sanctioned_false_conversion } }
# NOR = {
# any_secret = { type = secret_crypto_religionist }
# has_variable = forbid_crypto_reconversion
@ -43,7 +43,7 @@ false_conversion.0002 = {
scope = landed_title
trigger = {
scope:old_faith = { has_doctrine_parameter = sanctioned_false_conversion }
scope:old_faith = { main_rite = { rite_has_parameter = sanctioned_false_conversion } }
NOR = {
has_variable = false_convert
has_variable = forbid_crypto_reconversion
@ -147,8 +147,8 @@ false_conversion.0020 = {
# Deduct piety, but only if faith doesn't sanction false conversions
if = {
limit = {
faith = {
NOT = { has_doctrine_parameter = sanctioned_false_conversion }
rite = {
NOT = { rite_has_parameter = sanctioned_false_conversion }
}
}
add_piety = major_piety_loss
@ -214,10 +214,11 @@ false_conversion.0020 = {
# }
# }
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain #Damn it, I was passionate about my openly-practiced faith!
cynical = medium_stress_impact_gain #Damn it, they're all basically the same! Probably!
}
change_spiritual_fulfillment = major_spiritual_fulfillment_value #Openly living your true faith again.
ai_chance = {
base = 60
ai_value_modifier = {
@ -243,16 +244,17 @@ false_conversion.0020 = {
# Deduct piety, but only if faith doesn't sanction false conversions
if = {
limit = {
faith = {
NOT = { has_doctrine_parameter = sanctioned_false_conversion }
rite = {
NOT = { rite_has_parameter = sanctioned_false_conversion }
}
}
add_piety = major_piety_loss
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain #Damn it, I was passionate about my openly-practiced faith!
cynical = medium_stress_impact_gain #Damn it, they're all basically the same! Probably!
}
change_spiritual_fulfillment = major_spiritual_fulfillment_value #Openly living your true faith again.
ai_chance = {
base = 60
ai_value_modifier = {
@ -314,8 +316,8 @@ false_conversion.0030 = {
}
triggered_desc = {
trigger = {
faith = {
has_doctrine = doctrine_pluralism_pluralistic
rite = {
rite_has_doctrine = doctrine_pluralism_pluralistic
}
}
desc = false_conversion.0030.desc_no_secret_faith
@ -353,7 +355,7 @@ false_conversion.0030 = {
}
if = { #If pluralistic, look at any hidden faiths.
limit = {
faith = { has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
}
every_vassal = {
limit = { #Providing they are equal-to-or-less in hostility.
@ -393,7 +395,7 @@ false_conversion.0030 = {
save_temporary_scope_as = current_character
root.faith = {
faith_hostility_level_comparison = {
secret_faith <= scope:current_character.faith
scope:current_character.secret_faith <= scope:current_character.faith
}
}
OR = {
@ -575,7 +577,7 @@ false_conversion.0030 = {
}
if = { #Under pluralist lieges, tell suitable players that their liege is offering amnesty.
limit = {
faith = { has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
}
every_vassal = {
limit = {
@ -598,13 +600,13 @@ false_conversion.0030 = {
# Piety loss, but not if has false conversion sanction tenet
if = {
limit = {
faith = {
NOT = { has_doctrine = tenet_false_conversion_sanction }
rite = {
NOT = { rite_has_tenet = tenet_false_conversion_sanction }
}
}
add_piety = major_piety_loss
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_loss
trusting = minor_stress_impact_loss
}
@ -695,7 +697,7 @@ false_conversion.0031 = {
modifier = religious_freedom_opinion
target = root
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
cynical = medium_stress_impact_gain
deceitful = medium_stress_impact_gain
@ -709,7 +711,7 @@ false_conversion.0031 = {
}
option = { #I know how this goes: I'll keep my private faith private.
name = false_conversion.0031.b
stress_impact = {
stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain
trusting = medium_stress_impact_gain
deceitful = medium_stress_impact_loss
@ -821,7 +823,7 @@ false_conversion.1000 = {
first_valid = {
triggered_desc = {
trigger = {
faith = { has_doctrine_parameter = sanctioned_false_conversion }
rite = { rite_has_parameter = sanctioned_false_conversion }
any_in_list = {
list = spouses_and_family_to_convert
count > 1
@ -831,7 +833,7 @@ false_conversion.1000 = {
}
triggered_desc = {
trigger = {
faith = { has_doctrine_parameter = sanctioned_false_conversion }
rite = { rite_has_parameter = sanctioned_false_conversion }
}
desc = false_conversion.1000.b_sanctioned_single
}
@ -850,7 +852,7 @@ false_conversion.1000 = {
}
}
trigger = {
#faith = { has_doctrine_parameter = sanctioned_false_conversion }
#rite = { rite_has_parameter = sanctioned_false_conversion }
# Don't override old secret faiths
NOR = {
any_secret = { type = secret_crypto_religionist }
@ -866,7 +868,7 @@ false_conversion.1000 = {
religion_adopt_secret_faith_modifier = {
TARGET = root
FORCED = yes
FAITH = root.faith
RITE = root.rite
}
}
}
@ -947,11 +949,11 @@ false_conversion.1010 = {
value = yes
}
}
0 = {
10 = {
religion_adopt_secret_faith_modifier = {
TARGET = root
TARGET = scope:spouse
FORCED = yes
FAITH = root.faith
RITE = root.rite
}
save_scope_value_as = {
name = spouse_wants_secret_faith
@ -993,7 +995,7 @@ false_conversion.1010 = {
first_valid = {
triggered_desc = {
trigger = {
faith = { has_doctrine_parameter = sanctioned_false_conversion }
rite = { rite_has_parameter = sanctioned_false_conversion }
}
desc = false_conversion.1000.b_sanctioned_plural
}
@ -1025,14 +1027,14 @@ false_conversion.1010 = {
religion_adopt_secret_faith_modifier = {
TARGET = root
FORCED = yes
FAITH = root.faith
RITE = root.rite
}
}
}
}
# Secret-Faith Yearlies
# =====================
# #####################
## A Moment of Weakness
## Someone close to you is in pain, attempt to convert them to your crypto-religion as a coping method?
scripted_trigger false_conversion_2000_is_vulnerable_trigger = {
@ -1056,7 +1058,7 @@ scripted_trigger false_conversion_2000_is_vulnerable_trigger = {
}
}
}
has_trait = depressed_1
has_trait = depressed
}
}
@ -1220,14 +1222,16 @@ false_conversion.2000 = {
scope:vulnerable_relation = {
AND = {
has_character_modifier = stress_frozen_grief
OR = {
has_memory_type = friend_died
has_memory_type = best_friend_died
has_memory_type = lover_died
has_memory_type = soulmate_died
has_memory_type = relative_died
has_memory_type = spouse_died
has_memory_type = dog_died
any_memory = {
OR = {
has_memory_type = friend_died
has_memory_type = best_friend_died
has_memory_type = lover_died
has_memory_type = soulmate_died
has_memory_type = relative_died
has_memory_type = spouse_died
has_memory_type = dog_died
}
}
}
}
@ -1256,7 +1260,7 @@ false_conversion.2000 = {
}
}
else_if = {
limit = { scope:vulnerable_relation = { has_trait = depressed_1 } }
limit = { scope:vulnerable_relation = { has_trait = depressed } }
add_character_flag = {
flag = false_conversion_2000_depression
days = 1
@ -1318,7 +1322,7 @@ false_conversion.2000 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
}
@ -1341,7 +1345,7 @@ false_conversion.2000 = {
target = scope:vulnerable_relation
modifier = comforted_opinion
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
}
@ -1388,7 +1392,7 @@ false_conversion.2001 = {
option = { # Convert
name = false_conversion.2001.a
false_conversion_2000_convert = yes
stress_impact = {
stress_and_fulfillment_impact = {
honest = major_stress_impact_gain
craven = medium_stress_impact_gain
paranoid = medium_stress_impact_gain
@ -1402,9 +1406,6 @@ false_conversion.2001 = {
}
}
# Bonus event: Avoid a holy war by converting to the aggressor's religion
# TO-DO
# Your secret religion has been exposed, do you openly convert to it or abandon it?
false_conversion.8000 = {
type = character_event
@ -1459,7 +1460,7 @@ false_conversion.8000 = {
add_piety = medium_piety_loss
add_piety_level = -1
stress_impact = {
stress_and_fulfillment_impact = {
zealous = major_stress_impact_gain
content = minor_stress_impact_loss
arbitrary = minor_stress_impact_loss
@ -1474,7 +1475,7 @@ false_conversion.8000 = {
set_character_faith_with_conversion = secret_faith
remove_character_secret_faith = yes
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain
zealous = medium_stress_impact_loss
honest = minor_stress_impact_loss

File diff suppressed because it is too large Load diff

View file

@ -13,10 +13,10 @@
# 0018 - Confirm pledging.
# 0020 - AI rulers pledge to Undirected GHW.
# 0092 - AI rulers pledge to Directed GHW.
# 0090 - Holy Orders pledging to GHW.
# 0090 - Military Orders pledging to GHW.
# 0021 - AI rulers counterpledge to Undirected GHW.
# 0093 - AI rulers counterpledge to Directed GHW.
# 0091 - Holy Orders counterpledging to GHW.
# 0091 - Military Orders counterpledging to GHW.
# 0022, 0023 - The Pope calls out unpledged player.
# 0024 - Dead Recipient is replaced.
# 0025 - Converted Recipient is replaced.
@ -29,6 +29,7 @@
# 0051 - GHW was declared.
# 0052 - GHW was won.
# 0053 - GHW was lost.
# 0054 - GHW was invalidated after launching.
# 0055 - GHW failed to start.
# 0060 - Crusader trait gained.
# 0058 - Crusader trait lost.
@ -45,14 +46,30 @@ great_holy_war.0001 = {
has_doctrine = doctrine_spiritual_head
save_temporary_scope_as = the_faith
exists = religious_head
trigger_if = { # Player spiritual heads launch through a decision or bull, not this monthly pulse
limit = {
religious_head = { is_ai = no }
}
religious_head = { player_hof_requested_ghw_launch_trigger = yes }
}
NOR = {
exists = great_holy_war
exists = var:variable_ghw_cooldown
religion = { exists = var:variable_first_ghw_cooldown } # Do not event spam after Crusades have been just unlocked.
trigger_if = {
limit = {
NOT = {
religious_head = { religious_head_has_selected_ghw_target_trigger = yes }
}
}
religion = { exists = var:variable_first_ghw_cooldown } # Do not event spam after Crusades have been just unlocked.
}
}
religious_head = { is_imprisoned = no }
religion = { exists = var:variable_ghw_unlocked } #Activated by event for every religion.
suitable_faith_for_undirected_ghw_trigger = yes #Right combinations of Doctrines to have GHWs. And a valid target exists
religion = { exists = var:variable_ghw_unlocked } # Age of Crusades
OR = {
suitable_faith_for_undirected_ghw_trigger = yes #Right combinations of Doctrines to have GHWs. And a valid target exists
religious_head = { religious_head_has_selected_ghw_target_trigger = yes }
}
}
immediate = {
@ -60,7 +77,46 @@ great_holy_war.0001 = {
#Determine Sponsor.
religious_head = { save_scope_as = ghw_sponsor }
determine_ghw_target_effect = { FAITH = scope:the_faith }
if = {
limit = { scope:ghw_sponsor = { has_variable = player_ghw_launch } }
save_temporary_scope_value_as = {
name = skip_ghw_war_chest_gold
value = yes
}
}
if = {
limit = {
scope:ghw_sponsor = { has_variable = player_ghw_target_kingdom }
}
scope:ghw_sponsor = {
var:player_ghw_target_kingdom = { save_scope_as = target_kingdom }
remove_variable = player_ghw_target_kingdom
if = {
limit = { has_variable = player_ghw_launch }
remove_variable = player_ghw_launch
}
}
pam_determine_ghw_target_character_from_kingdom_effect = { FAITH = scope:the_faith }
}
else_if = {
limit = {
scope:ghw_sponsor = {
has_pam_dlc_trigger = yes
has_variable = pam_bull_ghw_target_kingdom
}
}
pam_use_bull_selected_ghw_target_effect = {
GHW_SPONSOR = scope:ghw_sponsor
FAITH = scope:the_faith
}
}
else = {
determine_ghw_target_effect = { FAITH = scope:the_faith }
if = {
limit = { scope:ghw_sponsor = { has_variable = player_ghw_launch } }
scope:ghw_sponsor = { remove_variable = player_ghw_launch }
}
}
# Launch the preparation phase
start_great_holy_war = {
@ -78,7 +134,10 @@ great_holy_war.0001 = {
}
}
if = {
limit = { scope:ghw_sponsor.gold > 0 }
limit = {
scope:ghw_sponsor.gold > 0
NOT = { exists = scope:skip_ghw_war_chest_gold }
}
great_holy_war = {
change_war_chest_gold = {
value = scope:ghw_sponsor.gold
@ -123,7 +182,7 @@ great_holy_war.0001 = {
scope:ghw_sponsor = {
random_courtier = {
alternative_limit = {
scope:the_faith = { has_doctrine = doctrine_gender_male_dominated }
scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
is_male = yes
is_adult = yes
is_ai = yes
@ -135,7 +194,7 @@ great_holy_war.0001 = {
faith = scope:the_faith
}
alternative_limit = {
scope:the_faith = { has_doctrine = doctrine_gender_female_dominated }
scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
is_female = yes
is_adult = yes
is_ai = yes
@ -174,13 +233,13 @@ great_holy_war.0001 = {
gender_female_chance = {
if = {
limit = {
scope:the_faith = { has_doctrine = doctrine_gender_male_dominated }
scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
}
add = 0
}
else_if = {
limit = {
scope:the_faith = { has_doctrine = doctrine_gender_female_dominated }
scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
}
add = 100
}
@ -242,7 +301,7 @@ great_holy_war.0001 = {
}
every_faith_holy_order = {
trigger_event = {
#Holy orders always join
#Military Orders always join
id = great_holy_war.0090
days = { 30 60 }
}
@ -272,7 +331,7 @@ great_holy_war.0001 = {
faith = {
every_faith_holy_order = {
trigger_event = {
# Holy orders always join
# Military Orders always join
id = great_holy_war.0091
days = { 30 60 }
}
@ -695,7 +754,7 @@ great_holy_war.0003 = {
if = {
limit = {
has_trait = excommunicated
faith = { has_doctrine_parameter = excommunication_active }
rite = { rite_has_parameter = excommunication_active }
}
custom_tooltip = great_holy_war.0003.a.lifted_excommunication
trigger_event = {
@ -738,7 +797,7 @@ great_holy_war.0003 = {
if = {
limit = {
has_trait = excommunicated
faith = { has_doctrine_parameter = excommunication_active }
rite = { rite_has_parameter = excommunication_active }
}
trigger_event = {
id = great_holy_war.0015
@ -1033,7 +1092,7 @@ great_holy_war.0010 = {
OR = {
current_date >= 2650.1.1 # Free for all after Historical years
AND = { # Any Faith is seriously under attack.
any_holy_site = {
any_holy_site_barony = {
holder.top_liege = {
faith.religion != root.religion
}
@ -1054,7 +1113,7 @@ great_holy_war.0010 = {
}
}
religion:islam_religion = root.religion
any_holy_site = {
any_holy_site_barony = {
holder.top_liege = {
faith.religion != root.religion
}
@ -1076,7 +1135,7 @@ great_holy_war.0010 = {
religion:islam_religion = {
exists = var:variable_ghw_unlocked
}
any_holy_site = {
any_holy_site_barony = {
holder.top_liege = {
faith.religion != root.religion
}
@ -1563,7 +1622,7 @@ great_holy_war.0016 = {
30 = { #Excommunication available only if target already not excommunicated and religion allows it.
trigger = {
NOT = { has_trait = excommunicated }
faith = { has_doctrine_parameter = excommunication_active }
rite = { rite_has_parameter = excommunication_active }
highest_held_title_tier >= tier_kingdom
}
modifier = { #Fool me once...
@ -1655,7 +1714,7 @@ great_holy_war.0016 = {
remove_character_flag = ghw_light_punishment
remove_character_flag = ghw_harsh_punishment
remove_character_flag = ghw_excommunication
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_gain
}
}
@ -1782,7 +1841,7 @@ great_holy_war.0018 = {
if = {
limit = {
has_trait = excommunicated
faith = { has_doctrine = tenet_communion }
faith = { faith_has_sacraments_trigger = yes }
}
trigger_event = {
id = great_holy_war.0015
@ -1811,7 +1870,7 @@ great_holy_war.0020 = {
is_at_war = no
is_imprisoned = no
highest_held_title_tier >= tier_county
NOT = { has_trait = incapable }
is_incapable = no
ai_zeal >= 0
root.faith = scope:the_faith
NOT = { target_is_liege_or_above = scope:target_character }
@ -1861,7 +1920,7 @@ great_holy_war.0020 = {
}
}
random_list = {
15 = { # Pledge.
25 = { # Pledge.
trigger = {
OR = { # Either be independent, or have no liege above you of the defending Faith, to avoid messy situations of vassals and lieges fighting against each other.
top_liege = this
@ -1881,7 +1940,7 @@ great_holy_war.0020 = {
if = {
limit = {
has_trait = excommunicated
faith = { has_doctrine_parameter = excommunication_active }
rite = { rite_has_parameter = excommunication_active }
}
trigger_event = {
id = great_holy_war.0015
@ -1893,7 +1952,7 @@ great_holy_war.0020 = {
trigger_event = { id = great_holy_war.0026 } # Set Beneficiary automatically.
}
}
85 = { # Do not pledge.
75 = { # Do not pledge.
random = { # When not pledging, there is still a chance that the AI will donate money.
chance = 35
modifier = {
@ -2047,6 +2106,10 @@ great_holy_war.0020 = {
factor = 0.5
highest_held_title_tier = tier_empire
}
modifier = { #Tier
factor = 0.25
highest_held_title_tier = tier_hegemony
}
}
}
}
@ -2057,7 +2120,7 @@ great_holy_war.0020 = {
#Requires a the_faith scope, defined in the cb.
great_holy_war.0092 = {
hidden = yes
trigger = {
is_ai = yes
is_ruler = yes
@ -2065,7 +2128,7 @@ great_holy_war.0092 = {
is_at_war = no
is_imprisoned = no
highest_held_title_tier >= tier_county
NOT = { has_trait = incapable }
is_incapable = no
ai_zeal >= 0
root.faith = scope:the_faith
NOT = { target_is_liege_or_above = scope:ghw_defender } #scope:target_character isn't created in the holy war decision where this event is called
@ -2115,7 +2178,7 @@ great_holy_war.0092 = {
}
}
random_list = {
15 = { #Pledge.
35 = { #Pledge.
trigger = {
OR = { # Either be independent, or have no liege above you of the defending Faith, to avoid messy situations of vassals and lieges fighting against each other.
top_liege = this
@ -2137,12 +2200,10 @@ great_holy_war.0092 = {
}
}
}
45 = {
}
40 = { #Do not pledge.
65 = { #Do not pledge.
random = { #When not pledging, there is still a chance that the AI will donate money.
chance = 15
chance = 35
modifier = {
factor = 0.75
has_trait = greedy
@ -2231,12 +2292,16 @@ great_holy_war.0092 = {
factor = 0.5
highest_held_title_tier = tier_empire
}
modifier = { #Tier
factor = 0.25
highest_held_title_tier = tier_hegemony
}
}
}
}
}
#AI hidden event to have a holy order pledge to a Great Holy War during the preparation phase.
#AI hidden event to have a Military Order pledge to a Great Holy War during the preparation phase.
#Event is fired when the Pope calls for the Crusade.
#Requires a the_faith scope, defined by event.
great_holy_war.0090 = {
@ -2244,6 +2309,7 @@ great_holy_war.0090 = {
scope = holy_order
trigger = {
is_military_order_trigger = yes
scope:the_faith = { #Crusade still exists
great_holy_war ?= {
NOT = { has_pledged_attacker = root.leader }
@ -2274,7 +2340,7 @@ great_holy_war.0021 = {
is_at_war = no
is_imprisoned = no
highest_held_title_tier >= tier_county
NOT = { has_trait = incapable }
is_incapable = no
root.faith = scope:the_faith.great_holy_war.ghw_target_character.faith
scope:the_faith = { #Crusade still exists
great_holy_war ?= {
@ -2323,7 +2389,7 @@ great_holy_war.0021 = {
}
}
random_list = {
10 = { #Pledge.
15 = { #Pledge.
trigger = {
OR = { # Either be independent, or have no liege above you of the attacking Faith, to avoid messy situations of vassals and lieges fighting against each other.
top_liege = this
@ -2335,7 +2401,7 @@ great_holy_war.0021 = {
}
scope:the_faith.great_holy_war = { pledge_defender = root }
}
45 = { #Do not pledge.
85 = { #Do not pledge.
modifier = { #More pledging happening at start of preparation phase.
factor = 0.75
NOT = { exists = scope:the_faith.great_holy_war.ghw_war }
@ -2461,6 +2527,10 @@ great_holy_war.0021 = {
factor = 0.5
highest_held_title_tier = tier_empire
}
modifier = { #Tier
factor = 0.25
highest_held_title_tier = tier_hegemony
}
}
}
}
@ -2472,7 +2542,7 @@ great_holy_war.0021 = {
#Requires a the_faith scope, defined in the cb.
great_holy_war.0093 = {
hidden = yes
trigger = {
is_ai = yes
is_ruler = yes
@ -2480,7 +2550,7 @@ great_holy_war.0093 = {
is_at_war = no
is_imprisoned = no
highest_held_title_tier >= tier_county
NOT = { has_trait = incapable }
is_incapable = no
root.faith = scope:target_faith
scope:the_faith = { #Crusade still exists
great_holy_war ?= {
@ -2528,7 +2598,7 @@ great_holy_war.0093 = {
}
}
random_list = {
25 = { #Pledge.
30 = { #Pledge.
trigger = {
OR = { # Either be independent, or have no liege above you of the attacking Faith, to avoid messy situations of vassals and lieges fighting against each other.
top_liege = this
@ -2540,7 +2610,7 @@ great_holy_war.0093 = {
}
scope:the_faith.great_holy_war = { pledge_defender = root }
}
75 = { #Do not pledge.
70 = { #Do not pledge.
modifier = { #More likely if war is close by.
factor = 0.5
scope:target_kingdom = {
@ -2636,12 +2706,16 @@ great_holy_war.0093 = {
factor = 0.5
highest_held_title_tier = tier_empire
}
modifier = { #Tier
factor = 0.25
highest_held_title_tier = tier_hegemony
}
}
}
}
}
#AI hidden event to have a holy order counterpledge to a Great Holy War during the preparation phase.
#AI hidden event to have a Military Order counterpledge to a Great Holy War during the preparation phase.
#Event is fired when the Pope calls for the Crusade and when the target Kingdom is switched.
#Requires a the_faith scope, defined by event.
great_holy_war.0091 = {
@ -2649,6 +2723,7 @@ great_holy_war.0091 = {
scope = holy_order
trigger = {
is_military_order_trigger = yes
scope:the_faith = { #Crusade still exists
great_holy_war ?= {
NOT = { has_pledged_defender = root.leader }
@ -2832,7 +2907,7 @@ great_holy_war.0023 = {
if = {
limit = {
has_trait = excommunicated
faith = { has_doctrine_parameter = excommunication_active }
rite = { rite_has_parameter = excommunication_active }
}
custom_tooltip = great_holy_war.0003.a.lifted_excommunication
trigger_event = {
@ -2846,7 +2921,7 @@ great_holy_war.0023 = {
pledge_ghw_war_chest_piety_effect = yes
}
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain
zealous = minor_stress_impact_loss
}
@ -2890,7 +2965,7 @@ great_holy_war.0023 = {
if = {
limit = {
has_trait = excommunicated
faith = { has_doctrine_parameter = excommunication_active }
rite = { rite_has_parameter = excommunication_active }
}
trigger_event = {
id = great_holy_war.0015
@ -2914,7 +2989,7 @@ great_holy_war.0023 = {
days = 550
}
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain
greedy = minor_stress_impact_gain
generous = minor_stress_impact_loss
@ -2977,7 +3052,7 @@ great_holy_war.0023 = {
id = great_holy_war.0016
days = 37
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_gain
cynical = minor_stress_impact_loss
}
@ -3049,7 +3124,7 @@ great_holy_war.0024 = {
}
}
#on_character_faith_change: of Recipient, pick another one.
#on_rite_change: of Recipient, pick another one.
great_holy_war.0025 = {
hidden = yes
scope = character
@ -3134,15 +3209,15 @@ great_holy_war.0026 = {
OR = {
AND = {
is_male = yes
faith = { has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
AND = {
is_female = yes
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
NOR = {
faith = { has_doctrine = doctrine_gender_male_dominated }
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
is_close_family_or_spouse_of_root_trigger = yes
@ -3156,15 +3231,15 @@ great_holy_war.0026 = {
OR = {
AND = {
is_male = yes
faith = { has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
AND = {
is_female = yes
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
NOR = {
faith = { has_doctrine = doctrine_gender_male_dominated }
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
is_close_family_or_spouse_of_root_trigger = yes
@ -3177,15 +3252,15 @@ great_holy_war.0026 = {
OR = {
AND = {
is_male = yes
faith = { has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
AND = {
is_female = yes
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
NOR = {
faith = { has_doctrine = doctrine_gender_male_dominated }
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
is_close_family_or_spouse_of_root_trigger = yes
@ -3197,15 +3272,15 @@ great_holy_war.0026 = {
OR = {
AND = {
is_male = yes
faith = { has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
AND = {
is_female = yes
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
NOR = {
faith = { has_doctrine = doctrine_gender_male_dominated }
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
age <= 40
@ -3215,15 +3290,15 @@ great_holy_war.0026 = {
OR = {
AND = {
is_male = yes
faith = { has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
AND = {
is_female = yes
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
NOR = {
faith = { has_doctrine = doctrine_gender_male_dominated }
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
}
@ -3344,7 +3419,7 @@ great_holy_war.0028 = {
}
}
#On_character_faith_change.
#on_rite_change.
great_holy_war.0029 = {
hidden = yes
scope = character
@ -3564,17 +3639,20 @@ great_holy_war.0040 = {
scope:great_holy_war = {
change_war_chest_gold = root.var:triple_great_holy_war_pledge_amount
}
scope:scoped_pope = {
add_opinion = {
target = root
modifier = donated_ghw_money_2
if = {
limit = { scope:scoped_pope != root }
scope:scoped_pope = {
add_opinion = {
target = root
modifier = donated_ghw_money_2
}
}
}
add_character_flag = { # Used to check whether the Pope will harass for more later.
flag = ghw_pledged_gold
days = 7300
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain
greedy = medium_stress_impact_gain
}
@ -3590,17 +3668,20 @@ great_holy_war.0040 = {
}
scope:great_holy_war = { change_war_chest_gold = root.var:double_great_holy_war_pledge_amount }
scope:scoped_pope = {
add_opinion = {
target = root
modifier = donated_ghw_money_1
if = {
limit = { scope:scoped_pope != root }
scope:scoped_pope = {
add_opinion = {
target = root
modifier = donated_ghw_money_1
}
}
}
add_character_flag = { # Used to check whether the Pope will harass for more later.
flag = ghw_pledged_gold
days = 7300
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain
greedy = medium_stress_impact_gain
}
@ -4067,6 +4148,58 @@ great_holy_war.0053 = {
after = { remove_variable = ghw_war_chest_donated_sum }
}
#The Crusade was invalidated after the war had already been launched (fired from the undirected GHW casus belli on_invalidated).
great_holy_war.0054 = {
title = great_holy_war.0054.title
desc = {
desc = great_holy_war.0054.desc.intro
first_valid = {
triggered_desc = {
trigger = { scope:ghw_sponsor = root }
desc = great_holy_war.0054.desc.sponsor
}
triggered_desc = {
trigger = { scope:ghw_defender = root }
desc = great_holy_war.0054.desc.defender
}
desc = great_holy_war.0054.desc.bystander
}
desc = great_holy_war.0054.desc.outro
}
theme = faith
override_background = {
reference = battlefield
}
left_portrait = {
character = scope:ghw_sponsor
animation = shame
}
right_portrait = {
character = scope:ghw_defender
animation = war_over_win
}
option = {
name = great_holy_war.0054.a
trigger = { scope:ghw_sponsor = root }
}
option = {
name = great_holy_war.0054.b
trigger = { scope:ghw_defender = root }
}
option = {
name = great_holy_war.0054.c
trigger = {
NOR = {
scope:ghw_sponsor = root
scope:ghw_defender = root
}
}
}
}
#on_great_holy_war_invalidation: Crusade has been invalidated before starting.
great_holy_war.0055 = {
hidden = yes
@ -4081,7 +4214,7 @@ great_holy_war.0055 = {
religious_head = { save_scope_as = ghw_sponsor }
save_scope_as = the_faith
change_fervor = {
value = -10
value = significant_fervor_loss
desc = fervor_loss_crusade_invalid
}
set_variable = {
@ -4347,7 +4480,7 @@ great_holy_war.0058 = {
}
}
#on_character_faith_change: check if the character has changed Religion, in which case the Crusader trait should be cleared.
#on_rite_change: check if the character has changed Religion, in which case the Crusader trait should be cleared.
great_holy_war.0059 = {
hidden = yes
scope = character
@ -4560,18 +4693,19 @@ great_holy_war.0083 = {
location = scope:fallback_host.capital_province
template = new_commander_character
faith = root.faith
rite = root.rite
culture = root.culture
save_scope_as = fallback_recipient
gender_female_chance = {
if = {
limit = {
root.faith = { has_doctrine = doctrine_gender_male_dominated }
root.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
add = 0
}
else_if = {
limit = {
root.faith = { has_doctrine = doctrine_gender_female_dominated }
root.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
add = 100
}
@ -4630,13 +4764,13 @@ great_holy_war.0084 = {
gender_female_chance = {
if = {
limit = {
root.faith = { has_doctrine = doctrine_gender_male_dominated }
root.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
add = 0
}
else_if = {
limit = {
root.faith = { has_doctrine = doctrine_gender_female_dominated }
root.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
add = 100
}

View file

@ -1,756 +0,0 @@
namespace = head_of_faith
##################################################
# #Islamic Caliphate Configuration
# 0001 - 0010 Heirs of the Prophet - Sunnis decide which caliph they consider most appropriate.
# 0011 - 0020 Heirs of the Prophet - Shias decide which caliph they consider most appropriate.
# 0021 - 0030 Heirs of the Prophet - Muhakkimas decide which caliph they consider most appropriate.
# 0031 - 0040 Heirs of the Prophet - Zandaqas decide which caliph they consider most appropriate.
#
##################################################
##################################################
# ISLAMIC CALIPHATE CONFIGURATION
scripted_trigger valid_prior_caliph_available_trigger = {
faith = { has_doctrine = muhammad_succession_$MS_TYPE$_doctrine }
scope:old_faith = {
# Uses a temporal faith...
has_doctrine = doctrine_temporal_head
# ... with a current holder...
exists = religious_head_title.holder
# ... that follows the correct succession of the Prophet.
has_doctrine = muhammad_succession_$MS_TYPE$_doctrine
# Plus make sure this isn't either of the major orthodoxies.
religious_head_title = {
NOR = {
this = title:d_sunni
this = title:d_shiite
}
}
}
}
scripted_effect grab_existing_caliph_effect = {
if = {
limit = { exists = $TITLE_PATH$.holder }
$TITLE_PATH$ = { save_scope_as = $DENOMINATION$_title }
$TITLE_PATH$.holder = { save_scope_as = $DENOMINATION$_caliph }
}
}
scripted_effect set_default_caliph_effect = {
faith = {
# Default to scope:old_title, if it exists.
if = {
limit = { exists = scope:old_title }
set_religious_head_title = scope:old_title
}
# Otherwise, try to pick the correct orthodoxy.
else_if = {
limit = {
has_doctrine = muhammad_succession_sunni_doctrine
exists = scope:sunni_title
}
set_religious_head_title = scope:sunni_title
}
else_if = {
limit = {
has_doctrine = muhammad_succession_shia_doctrine
exists = scope:shia_title
}
set_religious_head_title = scope:shia_title
}
}
}
scripted_effect set_religious_head_title_to_and_gain_hook_effect = {
# First, we set the new religious head.
faith = { set_religious_head_title = $NEW_RELIGIOUS_HEAD_TITLE$ }
# Next, if possible, we give a hook on the new religious head.
if = {
limit = {
NOT = { has_hook = $NEW_RELIGIOUS_HEAD_TITLE$.holder }
}
$NEW_RELIGIOUS_HEAD_TITLE$.holder = {
send_interface_toast = {
title = head_of_faith.0000.new_faith_submitted_for_hook
left_icon = root
root = {
add_hook = {
type = indebted_hook
target = $NEW_RELIGIOUS_HEAD_TITLE$.holder
}
}
}
}
}
# And always give a little opinion of them.
reverse_add_opinion = {
target = $NEW_RELIGIOUS_HEAD_TITLE$.holder
modifier = repentant_opinion
opinion = 25
}
}
scripted_effect set_religious_head_title_to_and_give_hook_effect = {
# First, we set the new religious head.
faith = { set_religious_head_title = $NEW_RELIGIOUS_HEAD_TITLE$ }
# Next, if possible, we give a hook on the new religious head.
if = {
limit = {
NOT = { has_hook = $NEW_RELIGIOUS_HEAD_TITLE$.holder }
}
$NEW_RELIGIOUS_HEAD_TITLE$.holder = {
send_interface_toast = {
title = head_of_faith.0000.new_faith_submitted_for_hook
left_icon = prev
add_hook = {
type = indebted_hook
target = prev
}
}
}
}
# And always give a little opinion of them.
reverse_add_opinion = {
target = $NEW_RELIGIOUS_HEAD_TITLE$.holder
modifier = repentant_opinion
opinion = 25
}
}
scripted_effect set_religious_head_title_to_&_gain_flag_effect = {
# First, we set the new religious head.
faith = { set_religious_head_title = $NEW_RELIGIOUS_HEAD_TITLE$ }
# Next, some piety.
add_piety = major_piety_gain
# Plus, we flag it that this character will likely try for independence later.
add_character_flag = wishes_to_schism_caliphate_flag
custom_tooltip = head_of_faith.0000.wishes_to_schism_caliphate_flag_added
# And always give a little opinion of them.
reverse_add_opinion = {
target = $NEW_RELIGIOUS_HEAD_TITLE$.holder
modifier = repentant_opinion
opinion = 25
}
}
##################################################
# Heirs of the Prophet - Sunni
# by Ewan Cowhig Croft
# 0001 - 0010
##################################################
# A temporal Sunni reformer decides their HoF.
head_of_faith.0001 = {
type = character_event
title = head_of_faith.0001.t
desc = head_of_faith.0001.desc
theme = faith
left_portrait = {
character = root
animation = personality_rational
}
lower_left_portrait = scope:sunni_caliph
lower_center_portrait = {
character = scope:old_caliph
trigger = {
valid_prior_caliph_available_trigger = { MS_TYPE = sunni }
}
}
cooldown = { years = 10 }
trigger = {
# Requires either a prior caliphate or a Shia one to exist.
OR = {
exists = title:d_sunni.holder
AND = {
exists = scope:old_faith.religious_head_title.holder
valid_prior_caliph_available_trigger = { MS_TYPE = sunni }
}
}
}
immediate = {
play_music_cue = "mx_cue_sacredrite"
# Grab caliphs.
grab_existing_caliph_effect = {
TITLE_PATH = title:d_sunni
DENOMINATION = sunni
}
grab_existing_caliph_effect = {
TITLE_PATH = scope:old_faith.religious_head_title
DENOMINATION = old
}
# And sort defaults.
set_default_caliph_effect = yes
}
# Realign with Sunni orthodoxy.
option = {
name = head_of_faith.0001.a
trigger = { exists = scope:sunni_caliph }
# Set up the new HoF.
set_religious_head_title_to_and_gain_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:sunni_title }
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:sunni_caliph
multiplier = 5
}
}
}
# Follow scope:old_faith's caliph.
option = {
name = head_of_faith.0001.b
trigger = {
exists = scope:old_caliph
valid_prior_caliph_available_trigger = { MS_TYPE = sunni }
}
# Set up the new HoF.
set_religious_head_title_to_and_gain_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:old_title }
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = 5
}
}
}
# Scope:sunni_caliph has our _present_ loyalties.
option = {
name = head_of_faith.0001.c
trigger = { exists = scope:sunni_caliph }
# Set up the new HoF.
set_religious_head_title_to_&_gain_flag_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:sunni_title }
# No stress for faith-guiding.
ai_chance = {
base = 100
ai_value_modifier = {
ai_vengefulness = 1
ai_zeal = 1
}
opinion_modifier = {
opinion_target = scope:sunni_caliph
multiplier = -2
}
}
}
# We shall follow scope:old_faith... for now...
option = {
name = head_of_faith.0001.d
trigger = {
exists = scope:old_caliph
valid_prior_caliph_available_trigger = { MS_TYPE = sunni }
}
# Set up the new HoF.
set_religious_head_title_to_&_gain_flag_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:old_title }
# No stress for faith-guiding.
ai_chance = {
base = 100
ai_value_modifier = {
ai_vengefulness = 1
ai_zeal = 1
}
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = -2
}
}
}
# No option for striking out on your own immediately; you have a decision for that, or could've taken a different succession doctrine.
}
##################################################
# Heirs of the Prophet - Shia
# by Ewan Cowhig Croft
# 0001 - 0010
##################################################
# A temporal Shia reformer decides their HoF.
head_of_faith.0011 = {
type = character_event
title = head_of_faith.0011.t
desc = head_of_faith.0011.desc
theme = faith
left_portrait = {
character = root
animation = personality_rational
}
lower_center_portrait = {
character = scope:old_caliph
trigger = {
valid_prior_caliph_available_trigger = { MS_TYPE = shia }
}
}
lower_right_portrait = scope:shia_caliph
cooldown = { years = 10 }
trigger = {
# Requires either a prior caliphate or a Shia one to exist.
OR = {
exists = title:d_shiite.holder
AND = {
exists = scope:old_faith.religious_head_title.holder
valid_prior_caliph_available_trigger = { MS_TYPE = shia }
}
}
}
immediate = {
play_music_cue = "mx_cue_sacredrite"
# Grab caliphs.
grab_existing_caliph_effect = {
TITLE_PATH = title:d_shiite
DENOMINATION = shia
}
grab_existing_caliph_effect = {
TITLE_PATH = scope:old_faith.religious_head_title
DENOMINATION = old
}
# And sort defaults.
set_default_caliph_effect = yes
}
# Realign with Shia orthodoxy.
option = {
name = head_of_faith.0011.a
trigger = { exists = scope:shia_caliph }
# Set up the new HoF.
set_religious_head_title_to_and_gain_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:shia_title }
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:shia_caliph
multiplier = 5
}
}
}
# Follow scope:old_faith's caliph.
option = {
name = head_of_faith.0011.c
trigger = {
exists = scope:old_caliph
valid_prior_caliph_available_trigger = { MS_TYPE = shia }
}
# Set up the new HoF.
set_religious_head_title_to_and_gain_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:old_title }
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = 5
}
}
}
# Scope:shia_caliph has our _present_ loyalties.
option = {
name = head_of_faith.0011.b
trigger = { exists = scope:shia_caliph }
# Set up the new HoF.
set_religious_head_title_to_&_gain_flag_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:shia_title }
# No stress for faith-guiding.
ai_chance = {
base = 100
ai_value_modifier = {
ai_vengefulness = 1
ai_zeal = 1
}
opinion_modifier = {
opinion_target = scope:shia_caliph
multiplier = -2
}
}
}
# We shall follow scope:old_faith... for now...
option = {
name = head_of_faith.0011.d
trigger = {
exists = scope:old_caliph
valid_prior_caliph_available_trigger = { MS_TYPE = shia }
}
# Set up the new HoF.
set_religious_head_title_to_&_gain_flag_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:old_title }
# No stress for faith-guiding.
ai_chance = {
base = 100
ai_value_modifier = {
ai_vengefulness = 1
ai_zeal = 1
}
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = -2
}
}
}
# No option for striking out on your own immediately; you have a decision for that, or could've taken a different succession doctrine.
}
##################################################
# Heirs of the Prophet - Muhakkima
# by Ewan Cowhig Croft
# 0001 - 0010
##################################################
# A temporal Muhakkima reformer decides their HoF.
head_of_faith.0021 = {
type = character_event
title = head_of_faith.0021.t
desc = head_of_faith.0021.desc
theme = faith
left_portrait = {
character = root
animation = personality_rational
}
lower_center_portrait = {
character = scope:old_caliph
trigger = {
valid_prior_caliph_available_trigger = { MS_TYPE = muhakkima }
}
}
cooldown = { years = 10 }
trigger = {
# Requires an old religious head to exist in some form.
exists = scope:old_faith.religious_head_title.holder
valid_prior_caliph_available_trigger = { MS_TYPE = muhakkima }
}
immediate = {
play_music_cue = "mx_cue_sacredrite"
# Grab the relevant caliph.
grab_existing_caliph_effect = {
TITLE_PATH = scope:old_faith.religious_head_title
DENOMINATION = old
}
# And sort defaults.
set_default_caliph_effect = yes
}
# Go our own way.
option = {
name = head_of_faith.0021.a
# Another splinter faith enters the ring.
faith = { remove_religious_head_title = yes }
# Nice chunk of piety for asserting your independence.
add_piety = major_piety_gain
# No stress for faith-guiding.
ai_chance = {
base = 100
ai_value_modifier = {
ai_zeal = 1
ai_boldness = 1
ai_vengefulness = 0.5
}
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = -2
}
}
}
# Follow scope:old_faith's caliph.
option = {
name = head_of_faith.0021.b
# Set up the new HoF.
set_religious_head_title_to_and_gain_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:old_title }
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = 5
}
}
}
}
##################################################
# Heirs of the Prophet - Zandaqa
# by Ewan Cowhig Croft
# 0001 - 0010
##################################################
scripted_effect decide_if_worthy_of_consideration_for_new_hof_effect = {
if = {
limit = { faith = { has_doctrine = muhammad_succession_zandaqa_doctrine } } # Check if Zandaqa (in case this gets expanded in the future for outside the Zandaqa)
if = {
limit = { has_strong_hook = scope:pledge_target }
use_hook = scope:pledge_target
set_religious_head_title_to_and_give_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:pledge_target.faith.religious_head_title }
}
else = {
show_as_tooltip = {
random_list = {
100 = { # You get Rejected
show_chance = no
desc = head_of_faith.0031.b.rejection
custom_tooltip = head_of_faith.0031.rejection.outcome
faith = { remove_religious_head_title = yes }
}
100 = { # Set up the new HoF.
show_chance = no
desc = head_of_faith.0031.b.acceptance
set_religious_head_title_to_and_give_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:pledge_target.faith.religious_head_title }
}
}
}
}
if = {
limit = { is_developer_testing_trigger = yes }
custom_tooltip = debug_generic_option_shortened_trigger_can_disable # Actually the opposite
scope:pledge_target = {
trigger_event = {
id = head_of_faith.0032
days = 2
}
}
}
else = { scope:pledge_target = { trigger_event = head_of_faith.0032 } }
}
else = { set_religious_head_title_to_and_give_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:pledge_target.faith.religious_head_title } }
}
# A temporal Zandaqa reformer decides their HoF.
head_of_faith.0031 = {
type = character_event
title = head_of_faith.0031.t
desc = head_of_faith.0031.desc
theme = faith
left_portrait = {
character = root
animation = personality_rational
}
lower_left_portrait = scope:sunni_caliph
lower_center_portrait = {
character = scope:old_caliph
trigger = {
valid_prior_caliph_available_trigger = { MS_TYPE = zandaqa }
}
}
lower_right_portrait = scope:shia_caliph
cooldown = { years = 10 }
trigger = {
# Requires any one caliphate to be around.
OR = {
exists = title:d_sunni.holder
exists = title:d_shiite.holder
AND = {
exists = scope:old_faith.religious_head_title.holder
valid_prior_caliph_available_trigger = { MS_TYPE = zandaqa }
}
}
}
immediate = {
play_music_cue = "mx_cue_sacredrite"
# Grab caliphs.
grab_existing_caliph_effect = {
TITLE_PATH = title:d_sunni
DENOMINATION = sunni
}
grab_existing_caliph_effect = {
TITLE_PATH = title:d_shiite
DENOMINATION = shia
}
grab_existing_caliph_effect = {
TITLE_PATH = scope:old_faith.religious_head_title
DENOMINATION = old
}
# And sort defaults.
set_default_caliph_effect = yes
save_scope_as = pledgeing_individual
}
# Go our own way.
option = {
name = head_of_faith.0031.a
# Another splinter faith enters the ring.
faith = { remove_religious_head_title = yes }
# Nice chunk of piety for asserting your independence.
add_piety = major_piety_gain
# No stress for faith-guiding.
ai_chance = {
base = 100
ai_value_modifier = {
ai_zeal = 1
ai_boldness = 1
ai_vengefulness = 0.5
}
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = -2
}
}
}
# Realign with Sunni orthodoxy.
option = {
name = head_of_faith.0031.b
trigger = { exists = scope:sunni_caliph }
scope:sunni_caliph = { save_scope_as = pledge_target }
decide_if_worthy_of_consideration_for_new_hof_effect = yes
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:sunni_caliph
multiplier = 5
}
}
}
# Realign with Shia orthodoxy.
option = {
name = head_of_faith.0031.c
trigger = { exists = scope:shia_caliph }
scope:shia_caliph = { save_scope_as = pledge_target }
decide_if_worthy_of_consideration_for_new_hof_effect = yes
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:shia_caliph
multiplier = 5
}
}
}
# Follow scope:old_faith's caliph.
option = {
name = head_of_faith.0031.d
trigger = {
exists = scope:old_caliph
valid_prior_caliph_available_trigger = { MS_TYPE = zandaqa }
}
scope:old_caliph = { save_scope_as = pledge_target }
decide_if_worthy_of_consideration_for_new_hof_effect = yes
# No stress for faith-guiding.
ai_chance = {
base = 0
opinion_modifier = {
opinion_target = scope:old_caliph
multiplier = 5
}
}
}
}
head_of_faith.0032 = {
type = letter_event
sender = scope:pledgeing_individual
opening = head_of_faith.0032.t
desc = head_of_faith.0032.desc
option = { # Yes, I will be your head
name = head_of_faith.0032.a
add_piety = medium_piety_gain
scope:pledgeing_individual = {
send_interface_message = {
type = event_religious_good
title = head_of_faith.0032.notif.a
right_icon = scope:pledge_target
set_religious_head_title_to_and_give_hook_effect = { NEW_RELIGIOUS_HEAD_TITLE = scope:pledge_target.faith.religious_head_title }
}
}
ai_chance = { # This should be a rare outcome (HOFs are usually more zealous than rational, so it should help balance it)
base = 100
ai_value_modifier = {
ai_compassion = 0.05
ai_greed = 0.1
ai_rationality = 0.5 # Rational HOFs wish to expand their influence
ai_sociability = 0.05
ai_zeal = -0.5 # Faithful HOFs dislike the Zandaqa
}
opinion_modifier = { # Opinion plays into it (no need to check with friendship, since you *should* have good op of your friends. Otherwise they are not really your friends!)
who = root
opinion_target = scope:pledgeing_individual
multiplier = 0.2
}
}
}
option = { # No, go away I don't want to be your hof
name = head_of_faith.0032.b
add_piety = medium_piety_loss
trigger = { NOT = { scope:pledgeing_individual = { has_strong_hook = scope:pledge_target } } }
show_as_unavailable = { always = yes }
scope:pledgeing_individual = {
send_interface_message = {
type = event_religious_bad
title = head_of_faith.0032.notif.b
right_icon = scope:pledge_target
faith = { remove_religious_head_title = yes }
}
}
ai_chance = { base = 100 }
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,231 +0,0 @@
namespace = human_sacrifice
##################################################
#Flowery War CB events
#0001 - Fail to sacrifice suitable victims by the time limit.
#0002 - A victim died before they could be sacrificed.
#0003 - A victim was released rather than be sacrificed.
##################################################
##################################################
# Thirsting Gods
# by Ewan Cowhig Croft
# 0001
##################################################
# You have disappointed your deities by not sacrificing marked captives.
# by Ewan Cowhig Croft
human_sacrifice.0001 = {
type = character_event
title = human_sacrifice.0001.t
desc = human_sacrifice.0001.desc
theme = faith
left_portrait = {
character = root
animation = shame
}
trigger = {
faith = { has_doctrine_parameter = human_sacrifice_active }
any_prisoner = { has_character_modifier = designated_human_sacrifice_modifier }
}
weight_multiplier = {
base = 1
}
immediate = {
every_prisoner = {
limit = { has_character_modifier = designated_human_sacrifice_modifier }
add_to_list = designated_sacrifices_list
}
save_scope_value_as = {
name = designated_sacrifice_count
value = {
value = 0
every_in_list = {
list = designated_sacrifices_list
add = 1
}
}
}
}
option = { #Immediately sacrifice the remainder to try and make amends.
name = human_sacrifice.0001.a
every_prisoner = {
limit = { has_character_modifier = designated_human_sacrifice_modifier }
death = {
death_reason = death_sacrificed_to_gods
killer = root
}
}
add_piety = {
value = miniscule_piety_gain
multiply = scope:designated_sacrifice_count
}
add_character_modifier = {
modifier = human_sacrifice_coward_modifier
years = 10
}
stress_impact = {
callous = minor_stress_impact_loss
sadistic = medium_stress_impact_loss
zealous = major_stress_impact_loss
compassionate = medium_stress_impact_gain
cynical = major_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_compassion = 0.5
ai_zeal = -0.5
}
modifier = {
add = 10
has_trait = callous
}
modifier = {
add = 20
has_trait = sadistic
}
modifier = {
add = 30
has_trait = zealous
}
modifier = {
add = -20
has_trait = compassionate
}
modifier = {
add = -30
has_trait = cynical
}
}
}
option = { #Accept the loss of piety with dignity.
name = human_sacrifice.0001.b
add_piety = {
value = medium_piety_loss
multiply = scope:designated_sacrifice_count
}
stress_impact = { zealous = medium_stress_impact_gain }
ai_chance = {
base = 50
ai_value_modifier = {
ai_zeal = 0.5
ai_energy = -0.25
}
modifier = {
add = -30
has_trait = zealous
}
}
}
option = { #Internally decry the barbarism of your faith.
name = human_sacrifice.0001.c
if = {
limit = {
NOT = {
any_secret = { type = secret_non_believer }
}
}
give_non_believer_secret_effect = yes
}
else = { add_prestige = minor_prestige_gain }
stress_impact = {
compassionate = medium_stress_impact_loss
cynical = major_stress_impact_loss
callous = minor_stress_impact_gain
sadistic = medium_stress_impact_gain
zealous = major_stress_impact_gain
}
ai_chance = {
base = 50
ai_value_modifier = {
ai_compassion = 0.5
ai_zeal = -0.5
}
modifier = {
add = 20
has_trait = compassionate
}
modifier = {
add = 30
has_trait = cynical
}
modifier = {
add = -10
has_trait = callous
}
modifier = {
add = -20
has_trait = sadistic
}
modifier = {
add = -30
has_trait = zealous
}
}
}
}
# A marked captive has died without being sacrificed.
# by Ewan Cowhig Croft
#human_sacrifice.0002 = {
#hidden = yes
#
#trigger = {
#has_character_modifier = designated_human_sacrifice_modifier
#imprisoner = {
#faith = { has_doctrine_parameter = human_sacrifice_active }
#}
#}
#
#immediate = {
#save_scope_as = dead_designated_sacrifice
#imprisoner = {
#send_interface_message = {
#type = event_religious_bad_with_text
#title = designated_sacrifice_died.t
#desc = designated_sacrifice_died.desc
#right_icon = scope:dead_designated_sacrifice
#add_piety = minor_piety_loss
#}
#}
#}
#}
# A marked captive has been released without being sacrificed.
# by Ewan Cowhig Croft
human_sacrifice.0003 = {
hidden = yes
trigger = {
has_character_modifier = designated_human_sacrifice_modifier
scope:imprisoner = {
faith = { has_doctrine_parameter = human_sacrifice_active }
}
}
immediate = {
save_scope_as = released_designated_sacrifice
scope:imprisoner = {
if = {
limit = {
scope:released_designated_sacrifice = { is_alive = yes }
}
send_interface_message = {
type = event_religious_bad_with_text
title = designated_sacrifice_release.t
desc = designated_sacrifice_released.desc
right_icon = scope:released_designated_sacrifice
add_piety = medium_piety_loss
}
}
}
remove_character_modifier = designated_human_sacrifice_modifier
}
}

View file

@ -1,115 +0,0 @@
namespace = jewish_events
### Rabbinic priesthood wants to become monogamous
jewish_events.0001 = {
type = character_event
title = jewish_events.0001.t
desc = jewish_events.0001.desc
theme = learning
left_portrait = {
character = root
animation = personality_bold
}
option = { #Just accept it
name = jewish_events.0001.a
show_as_tooltip = {
root.faith = {
remove_doctrine = doctrine_polygamy
add_doctrine = doctrine_monogamy
}
}
ai_chance = {
base = 100
}
}
option = { #Refuse to change
name = jewish_events.0001.b
trigger = {
this = root.culture.culture_head
root.culture = {
NOT = { has_cultural_tradition = tradition_polygamous }
}
}
add_piety = major_piety_loss
show_as_tooltip = {
root.faith = {
remove_doctrine = doctrine_polygamy
add_doctrine = doctrine_monogamy
}
}
root.culture = {
if = {
limit = {
has_cultural_tradition = tradition_monogamous
}
remove_culture_tradition = tradition_monogamous
}
if = {
limit = {
has_cultural_tradition = tradition_concubines
}
remove_culture_tradition = tradition_concubines
}
add_culture_tradition = tradition_polygamous
}
}
option = { #Refuse to change but also you're powerful enough to supercede the priesthood
name = jewish_events.0001.c
trigger = {
exists = root.faith.religious_head
root.faith.religious_head = { is_vassal_or_below_of = root }
}
add_piety_level = -1
reverse_add_opinion = {
target = root.faith.religious_head
modifier = insulted_opinion
opinion = -75
}
root.faith = {
set_variable = {
name = rabbinicism_rejected_monogamy
value = yes
}
}
}
after = {
add_character_flag = had_event_jewish_events_0001
if = {
limit = {
NOT = { root.faith = { has_variable = rabbinicism_rejected_monogamy } }
}
if = {
limit = {
root.faith = { has_doctrine = doctrine_polygamy }
}
root.faith = {
set_variable = {
name = rabbinicism_accepted_monogamy
value = yes
}
remove_doctrine = doctrine_polygamy
add_doctrine = doctrine_monogamy
}
}
if = {
limit = {
exists = root.faith.religious_head
root.faith.religious_head = { is_vassal_or_below_of = root }
}
every_player = {
limit = {
faith = root.faith
NOT = { has_character_flag = had_event_jewish_events_0001 }
}
trigger_event = jewish_events.0001
}
}
}
}
}

View file

@ -421,11 +421,11 @@ court_ongoing.0502 = { #by Mathilda Bjarnehed
#Ew, no!
option = {
name = {
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
text = court_ongoing.0502.b.incest
}
name = {
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } } }
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } } }
text = court_ongoing.0502.b
}
@ -446,11 +446,11 @@ court_ongoing.0502 = { #by Mathilda Bjarnehed
add = 50
}
modifier = {
relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = 200
}
modifier = {
relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = 200
}
modifier = {
@ -530,11 +530,11 @@ court_ongoing.0512 = {
#Ew, no!
option = {
name = {
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
trigger = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
text = court_ongoing.0502.b.incest
}
name = {
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } } }
trigger = { NOT = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } } }
text = court_ongoing.0502.b
}
@ -551,7 +551,7 @@ court_ongoing.0512 = {
base = 0
modifier = {
relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = {
if = {
limit = { sexually_liberal_trigger = yes }
@ -563,7 +563,7 @@ court_ongoing.0512 = {
}
}
modifier = {
relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner }
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner }
add = 200
}
modifier = {
@ -597,7 +597,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -606,7 +606,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -631,7 +631,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -640,7 +640,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -665,7 +665,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -674,7 +674,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -705,7 +705,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Sodomy reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -714,7 +714,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
triggered_desc = {
trigger = { #Incest reject
exists = scope:hard_court_reject
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_faith_trigger = { CHARACTER = scope:owner } }
scope:target = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = scope:owner } }
NOT = { scope:owner = { has_relation_lover = scope:target } }
NOT = { scope:owner = { is_spouse_of = scope:target } }
}
@ -886,7 +886,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
# }
# }
#
# stress_impact = {
# stress_and_fulfillment_impact = {
# craven = minor_stress_impact_gain
# gregarious = minor_stress_impact_gain
# arrogant = minor_stress_impact_gain
@ -913,7 +913,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
# opinion = -15
# }
#
# stress_impact = {
# stress_and_fulfillment_impact = {
# compassionate = minor_stress_impact_gain
# honest = minor_stress_impact_gain
# }
@ -923,7 +923,7 @@ court_ongoing.0503 = { #by Mathilda Bjarnehed
# option = {
# name = court_ongoing.1000.c
#
# stress_impact = {
# stress_and_fulfillment_impact = {
# brave = minor_stress_impact_gain
# compassionate = minor_stress_impact_gain
# deceitful = minor_stress_impact_gain
@ -940,6 +940,7 @@ scripted_trigger court_ongoing_1010_insulter_trigger = {
exists = liege
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:potential_insulter.liege }
this != scope:target
this != root
OR = {
opinion = {
target = scope:target
@ -1105,7 +1106,7 @@ court_ongoing.1010 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
lazy = minor_stress_impact_gain
calm = minor_stress_impact_gain
@ -1171,7 +1172,7 @@ court_ongoing.1010 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain
vengeful = minor_stress_impact_gain
}
@ -1195,7 +1196,7 @@ court_ongoing.1010 = { #by Mathilda Bjarnehed
opinion = 15
}
stress_impact = {
stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_gain
vengeful = minor_stress_impact_gain
callous = minor_stress_impact_gain
@ -1691,7 +1692,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
lazy = minor_stress_impact_gain
}
@ -1790,7 +1791,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = medium_stress_impact_gain
compassionate = medium_stress_impact_gain
}
@ -1824,7 +1825,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
greedy = minor_stress_impact_gain
}
@ -1896,7 +1897,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
greedy = minor_stress_impact_gain
}
@ -1916,7 +1917,7 @@ court_ongoing.1022 = { #by Mathilda Bjarnehed
option = {
name = court_ongoing.1022.d
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_gain
}
@ -2496,7 +2497,7 @@ court_ongoing.1040 = { #by Mathilda Bjarnehed
}
court_ongoing_fetch_gift_target_outcome_effect = { GIFT = necklace OUTCOME = success }
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
}
@ -2526,7 +2527,7 @@ court_ongoing.1040 = { #by Mathilda Bjarnehed
}
court_ongoing_fetch_gift_target_outcome_effect = { GIFT = necklace OUTCOME = success }
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_gain
deceitful = minor_stress_impact_gain
}
@ -2596,7 +2597,7 @@ court_ongoing.1040 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain
honest = medium_stress_impact_gain
generous = minor_stress_impact_gain
@ -2751,7 +2752,7 @@ court_ongoing.1050 = { #by Mathilda Bjarnehed
}
court_ongoing_fetch_gift_target_outcome_effect = { GIFT = orchid OUTCOME = success }
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
}
@ -2770,7 +2771,7 @@ court_ongoing.1050 = { #by Mathilda Bjarnehed
option = {
name = court_ongoing.1050.b
stress_impact = {
stress_and_fulfillment_impact = {
craven = major_stress_impact_gain
lazy = medium_stress_impact_gain
}
@ -3661,7 +3662,7 @@ court_ongoing.1110 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_impact_gain
calm = minor_stress_impact_gain
deceitful = minor_stress_impact_gain
@ -3720,7 +3721,7 @@ court_ongoing.1110 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
honest = medium_stress_impact_gain
just = minor_stress_impact_gain
@ -3808,7 +3809,7 @@ court_ongoing.1110 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
honest = minor_stress_impact_gain
}
@ -4463,7 +4464,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
craven = minor_stress_impact_gain
}
@ -4502,7 +4503,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
}
@ -4546,7 +4547,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
lazy = minor_stress_impact_gain
}
@ -4591,7 +4592,7 @@ court_ongoing.1120 = { #by Mathilda Bjarnehed
trigger_event = court_ongoing.1121
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_gain
shy = medium_stress_impact_gain
craven = medium_stress_impact_gain
@ -4820,7 +4821,7 @@ court_ongoing.1121 = { #by Mathilda Bjarnehed
}
}
stress_impact = {
stress_and_fulfillment_impact = {
shy = medium_stress_impact_gain
craven = medium_stress_impact_gain
compassionate = minor_stress_impact_gain
@ -5158,7 +5159,7 @@ court_ongoing.1211 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
lazy = medium_stress_impact_gain
}
}
@ -5197,7 +5198,7 @@ court_ongoing.1211 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
}
}
@ -5361,7 +5362,7 @@ court_ongoing.1221 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
gluttonous = medium_stress_impact_gain
}
}
@ -5401,7 +5402,7 @@ court_ongoing.1221 = { #by Linnéa Thimrén
}
}
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_gain
}
}

View file

@ -1527,10 +1527,13 @@ governor_contract_event.2000 = {
limit = { liege = root.liege }
save_scope_as = other_gov
}
scope:ongoing_contract = { # Save other gov for reward effects
set_variable = {
name = other_gov
value = scope:other_gov
if = { # Save other gov for reward effects; there may be no neighbouring peer governor
limit = { exists = scope:other_gov }
scope:ongoing_contract = {
set_variable = {
name = other_gov
value = scope:other_gov
}
}
}
generate_governance_outcome_effect = { OPTIONS = 5 }
@ -2308,9 +2311,13 @@ governor_contract_event.2031 = {
location = root.location
culture = scope:ongoing_destination.county.culture
faith = scope:ongoing_destination.county.faith
rite = scope:ongoing_destination.county.rite
gender_female_chance = root_soldier_female_chance
save_scope_as = peasant
}
scope:peasant = {
set_character_rite = scope:ongoing_destination.county.rite
}
if = {
limit = {
is_ai = yes
@ -3296,7 +3303,7 @@ governor_contract_event.2071 = {
first_valid = {
triggered_desc = {
trigger = {
liege = { has_title = title:e_byzantium }
liege = { is_roman_emperor_trigger = yes }
}
desc = governor_contract_event.2071.desc.byz
}
@ -3818,6 +3825,7 @@ governor_contract_event.2091 = {
location = root.location
template = local_saint_template
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
save_scope_as = prophet
after_creation = {
@ -4037,7 +4045,8 @@ governor_contract_event.2092 = {
option = {
name = governor_contract_event.2092.a
scope:ongoing_contract = {
# scope:ongoing_contract can be a stale Task_contract weak ref by the time the player picks this option
scope:ongoing_contract ?= {
if = {
limit = {
scope:governor_contract_event_2091_duel ?= flag:prophet_persecute
@ -4089,7 +4098,7 @@ governor_contract_event.2093 = {
option = {
name = governor_contract_event.2093.a
scope:ongoing_contract = {
scope:ongoing_contract ?= {
complete_task_contract = failure_standard
}
}
@ -4146,11 +4155,11 @@ governor_contract_event.2100 = {
}
faith = root.faith
trigger_if = {
limit = { faith = { has_doctrine_parameter = clergy_must_be_male } }
limit = { rite = { rite_has_parameter = clergy_must_be_male } }
is_female = no
}
trigger_else_if = {
limit = { faith = { has_doctrine_parameter = clergy_must_be_female } }
limit = { rite = { rite_has_parameter = clergy_must_be_female } }
is_female = yes
}
trigger_else = { always = yes }

View file

@ -131,7 +131,7 @@ disbelieve_mandala_ongoing.0001 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
}
ai_chance = {
@ -150,7 +150,7 @@ disbelieve_mandala_ongoing.0001 = {
# Don't take the risk
option = {
name = disbelieve_mandala_ongoing.0001.b
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_gain
}
ai_chance = {
@ -219,7 +219,7 @@ disbelieve_mandala_ongoing.0010 = {
create_artifact_pedestal_reliquary_judaism_effect = { OWNER = scope:spymaster }
}
else = {
create_artifact_sculpture_religious_effect = { OWNER = scope:spymaster }
create_artifact_sculpture_religious_effect = { OWNER = scope:spymaster CREATOR = scope:spymaster }
}
scope:newly_created_artifact = { save_scope_as = fake_relic }
}
@ -276,7 +276,7 @@ disbelieve_mandala_ongoing.0010 = {
}
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss
honest = medium_stress_impact_gain
}
@ -300,7 +300,7 @@ disbelieve_mandala_ongoing.0010 = {
# Nah
option = {
name = disbelieve_mandala_ongoing.0010.b
stress_impact = {
stress_and_fulfillment_impact = {
honest = minor_stress_impact_loss
deceitful = minor_stress_impact_gain
}
@ -316,4 +316,4 @@ disbelieve_mandala_ongoing.0010 = {
}
}
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -16,13 +16,13 @@ debug.1 = { # Max Portraits in Event Window
left_portrait = {
character = root
animation = dancing
scripted_animation = bow_closed
# camera = camera_event_kneeling
}
right_portrait = {
character = scope:portrait_2
animation = throne_room_kneel_1
animation = whipping
# camera = camera_event_standing_with_horse_right
}
@ -1555,7 +1555,7 @@ debug.335 = {
orphan = yes
immediate = {
create_artifact_pedestal_crucifix_effect = { OWNER = root }
create_artifact_pedestal_crucifix_effect = { OWNER = root CREATOR = root }
}
option = {
@ -1571,7 +1571,7 @@ debug.336 = {
orphan = yes
immediate = {
create_artifact_pedestal_cross_effect = { OWNER = root }
create_artifact_pedestal_cross_effect = { OWNER = root CREATOR = root }
}
option = {
@ -1745,18 +1745,16 @@ debug.347 = {
orphan = yes
trigger = {
faith = {
NOR = {
has_doctrine = tenet_aniconism
religion = religion:judaism_religion
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
religion = religion:islam_religion
}
NOR = {
rite = { rite_has_tenet = tenet_aniconism }
faith.religion = religion:judaism_religion
OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion }
faith.religion = religion:islam_religion
}
}
immediate = {
create_artifact_sculpture_religious_effect = { OWNER = root }
create_artifact_sculpture_religious_effect = { OWNER = root CREATOR = root }
}
option = {
@ -1772,12 +1770,8 @@ debug.348 = {
orphan = yes
trigger = {
faith = {
NOT = {
has_doctrine = tenet_aniconism
}
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
}
NOT = { rite = { rite_has_tenet = tenet_aniconism } }
OR = { religion = faith.religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion }
}
immediate = {
@ -2310,7 +2304,8 @@ debug.411 = { # For usage debugging achievements. Should be a generic command ra
debug_log = "Iberia Converted to Mozarab!"
every_county_in_region = {
region = world_europe_west_iberia
# set_county_faith = faith:mozarabic_church
set_county_faith = faith:christian_faith
set_county_rite = rite:mozarabic_church
}
debug_log = "Woosh! Caucasian Iberia is now yours!"
@ -2340,6 +2335,7 @@ debug.412 = { # Spawn the CHESS-A-THRON 3000, a perfect creature designed to bea
gender_female_chance = root_faith_dominant_gender_female_chance
culture = root.culture
faith = root.faith
rite = root.rite
random_traits = yes
martial = 100
learning = 100
@ -2856,7 +2852,7 @@ debug.605 = {
option = {
name = debug_main
stress_impact = {
stress_and_fulfillment_impact = {
base = 30
}
}
@ -2883,7 +2879,7 @@ debug.605 = {
}
option = {
name = debug_main
stress_impact = {
stress_and_fulfillment_impact = {
base = 30
}
@ -3028,7 +3024,7 @@ debug.9600 = { # Event for testing Tax Collector script support
scope:tax_collector = {
tax_collector_aptitude = {
target = clan_tax_slot
value = 1
value = 0
}
}
}
@ -3042,7 +3038,7 @@ debug.9600 = { # Event for testing Tax Collector script support
scope:tax_collector = {
tax_collector_aptitude = {
target = clan_tax_slot
value = 2
value = 1
}
}
}
@ -3056,7 +3052,7 @@ debug.9600 = { # Event for testing Tax Collector script support
scope:tax_collector = {
tax_collector_aptitude = {
target = clan_tax_slot
value = 3
value = 2
}
}
}
@ -3070,7 +3066,7 @@ debug.9600 = { # Event for testing Tax Collector script support
scope:tax_collector = {
tax_collector_aptitude = {
target = clan_tax_slot
value = 4
value = 3
}
}
}
@ -3084,7 +3080,7 @@ debug.9600 = { # Event for testing Tax Collector script support
scope:tax_collector = {
tax_collector_aptitude = {
target = clan_tax_slot
value = 5
value = 4
}
}
}
@ -3144,6 +3140,7 @@ debug.9610 = { # Spawn a super tax collector
gender_female_chance = root_faith_dominant_gender_female_chance
culture = root.culture
faith = root.faith
rite = root.rite
random_traits = yes
trait = blind
stewardship = 100
@ -3176,6 +3173,7 @@ debug.9611 = { # Spawn a assassin
gender_female_chance = root_faith_dominant_gender_female_chance
culture = root.culture
faith = root.faith
rite = root.rite
random_traits = yes
intrigue = 100
prowess = 100
@ -3634,6 +3632,7 @@ debug.1005 = {
debug.1006 = {
type = character_event
window = fullscreen_event
queue_icon = "gfx/interface/icons/situation_types/the_great_steppe.dds"
title = LOREM_IPSUM_TITLE
desc = LOREM_IPSUM_DESCRIPTION
theme = legend
@ -4118,4 +4117,4 @@ debug.1119 = {
trigger_event = debug.1117
trigger_event = debug.1118
}
}
}

View file

@ -1,107 +0,0 @@
namespace = travel_destinations
travel_destinations.1000 = {
type = character_event
title = travel_destinations.1000.t
desc = travel_destinations.1000.desc
theme = travel
#override_background = { reference = fp4_legendary_oasis }
orphan = yes
left_portrait = {
character = root
animation = happiness
}
#right_portrait = {
# character = scope:local_character
# animation = toast_goblet
#}
trigger = {
#is_available_travelling_adult = yes
#is_landed = yes
#is_location_valid_for_travel_event_on_land = yes
#location = {
# has_special_building = yes
#}
}
immediate = {
#mp_delay_travel_plan = { DAYS = 90 }
random_living_character = { save_scope_as = local_character }
random_province = {
limit = {
has_special_building = yes
NOR = {
has_variable = no_province1
has_building_or_higher = generic_university
has_building_or_higher = hall_of_heroes_01
has_building_or_higher = hall_of_heroes_02
has_building_or_higher = hall_of_heroes_03
has_building_or_higher = hall_of_heroes_04
has_building_or_higher = hall_of_heroes_05
has_building_or_higher = special_greenhouse_01
has_building_or_higher = holy_site_cathedral_01
has_building_or_higher = holy_site_mosque_01
has_building_or_higher = holy_site_fire_temple_01
has_building_or_higher = holy_site_pagan_grand_temple_01
has_building_or_higher = holy_site_indian_grand_temple_01
has_building_or_higher = holy_site_other_grand_temple_01
has_building_or_higher = event_tower_of_silence_01
# TGP
has_building_or_higher = holy_site_buddhist_grand_temple_01
has_building_or_higher = holy_site_japanese_temple_01
has_building_or_higher = holy_site_chinese_temple_01
has_building_or_higher = holy_site_se_asia_pagan_temple_01
}
}
set_variable = {
name = no_province1
years = 1
}
save_scope_as = location
}
#location = {
# save_scope_as = location
#}
}
option = {
name = debug
stress_impact = {
ambitious = minor_stress_impact_loss
lazy = minor_stress_impact_gain
content = minor_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
factor = 0
OR = {
has_trait = lazy
has_trait = content
}
}
}
}
after = {
#mp_resume_travel_plan = yes
#if = { # Cleanup
# limit = {
# root = {
# is_ai = yes
# }
# scope:local_character = {
# has_character_flag = silently_disappear_me
# }
# }
# scope:local_character = {
# silent_disappearance_effect = yes
# }
#}
}
}

View file

@ -174,7 +174,7 @@ travel_events_bp3.1 = { # Seasons of Change
current_travel_plan ?= {
delay_travel_plan = { days = 2 }
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
@ -283,7 +283,7 @@ travel_events_bp3.5 = { # Caught Outside
option = {
name = travel_events_bp3.5.a
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
@ -483,6 +483,7 @@ travel_events_bp3.10 = { # Pilgrims on the Road
template = soldier_friend_character
culture = scope:grandmaster.culture
faith = scope:grandmaster.faith
rite = scope:grandmaster.rite
location = root.location
after_creation = {
@ -504,6 +505,7 @@ travel_events_bp3.10 = { # Pilgrims on the Road
template = soldier_friend_character
culture = root.culture
faith = root.faith
rite = root.rite
gender = root
location = root.location
save_scope_as = pilgrim_character
@ -532,7 +534,7 @@ travel_events_bp3.10 = { # Pilgrims on the Road
add_prestige = minor_prestige_gain
}
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss
paranoid = minor_stress_gain
}
@ -576,7 +578,7 @@ travel_events_bp3.10 = { # Pilgrims on the Road
}
}
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss
paranoid = minor_stress_gain
}
@ -662,7 +664,7 @@ travel_events_bp3.10 = { # Pilgrims on the Road
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_gain
greedy = minor_stress_impact_loss
callous = minor_stress_impact_loss
@ -701,7 +703,7 @@ travel_events_bp3.10 = { # Pilgrims on the Road
}
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = minor_stress_impact_loss
gregarious = minor_stress_gain
compassionate = minor_stress_gain
@ -899,6 +901,7 @@ travel_events_bp3.15 = { # The Stories of <X>
template = master_bard_camp_officer_template
culture = location.culture
faith = location.faith
rite = location.rite
gender = root
location = location
save_scope_as = bard_character
@ -907,7 +910,7 @@ travel_events_bp3.15 = { # The Stories of <X>
option = {
name = travel_events_bp3.15.a
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
custom_tooltip = travel_events_bp3.15.a.tt
@ -1170,6 +1173,7 @@ travel_events_bp3.20 = { # The <X> Guild
create_character = {
template = merchant_template
faith = location.faith
rite = location.rite
culture = location.culture
gender = root
location = location
@ -1192,7 +1196,7 @@ travel_events_bp3.20 = { # The <X> Guild
}
}
stress_impact = {
stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss
}
@ -1214,7 +1218,7 @@ travel_events_bp3.20 = { # The <X> Guild
change_county_control = -25
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_impact_loss
arbitrary = minor_stress_impact_loss
just = minor_stress_gain
@ -1258,7 +1262,7 @@ travel_events_bp3.20 = { # The <X> Guild
add_prestige = minor_prestige_gain
}
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss
}
@ -1378,6 +1382,7 @@ travel_events_bp3.25 = { # The Toils of War
template = soldier_friend_character
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
gender = root
employer = scope:liege
save_scope_as = soldier_character
@ -1413,7 +1418,7 @@ travel_events_bp3.25 = { # The Toils of War
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss
}
@ -1496,7 +1501,7 @@ travel_events_bp3.25 = { # The Toils of War
}
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss
craven = minor_stress_gain
shy = medium_stress_gain
@ -1520,7 +1525,7 @@ travel_events_bp3.25 = { # The Toils of War
option = {
name = travel_events_bp3.25.c
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
diligent = minor_stress_impact_loss
}
@ -1586,6 +1591,7 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
template = great_mercenary
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
gender_female_chance = root_soldier_female_chance
location = root.location
save_scope_as = soldier_character
@ -1604,6 +1610,7 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
}
}
}
add_character_flag = temporary_court_position_cost_removal
}
option = {
@ -1614,8 +1621,8 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
levies = {
value = 200
multiply = {
min = 1
value = highest_held_title_tier
min = 1
}
}
location = root.capital_province
@ -1657,7 +1664,7 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
scope:soldier_character = { add_to_court_and_entourage_effect = yes }
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = medium_stress_gain
shy = minor_stress_gain
}
@ -1688,27 +1695,21 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
max = 100
}
show_as_tooltip = {
if = {
limit = {
is_valid_to_hire_court_position_type = bodyguard_court_position
}
appoint_court_position = {
recipient = scope:soldier_character
court_position = bodyguard_court_position
}
}
else_if = {
limit = {
is_valid_to_hire_court_position_type = master_of_arms_camp_officer
}
appoint_court_position = {
recipient = scope:soldier_character
court_position = master_of_arms_camp_officer
}
}
hidden_effect = {
scope:soldier_character = { add_to_court_and_entourage_effect = yes }
}
if = {
limit = {
is_valid_to_hire_court_position_type = bodyguard_court_position
}
court_position_grant_effect = { POS = bodyguard CANDIDATE = scope:soldier_character EMPLOYER = root }
}
else_if = {
limit = {
is_valid_to_hire_court_position_type = master_of_arms_camp_officer
}
camp_officer_grant_effect = { POS = master_of_arms CANDIDATE = scope:soldier_character EMPLOYER = root }
}
custom_tooltip = will_have_excellent_aptitude
scope:soldier_character = {
add_opinion = {
@ -1718,63 +1719,7 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
}
}
hidden_effect = {
scope:soldier_character = { add_to_court_and_entourage_effect = yes }
if = {
limit = {
is_valid_to_hire_court_position_type = bodyguard_court_position
any_court_position_holder = {
count <= 1
has_court_position = bodyguard_court_position
}
}
appoint_court_position = {
recipient = scope:soldier_character
court_position = bodyguard_court_position
}
}
else_if = {
limit = {
is_valid_to_hire_court_position_type = bodyguard_court_position
any_court_position_holder = {
count > 1
has_court_position = bodyguard_court_position
}
}
add_character_flag = temporary_court_position_cost_removal
replace_court_position = {
recipient = scope:soldier_character
holder = court_position:bodyguard_court_position
court_position = bodyguard_court_position
}
remove_character_flag = temporary_court_position_cost_removal
}
else_if = {
limit = {
is_valid_to_hire_court_position_type = master_of_arms_camp_officer
NOT = { employs_court_position = master_of_arms_camp_officer }
}
appoint_court_position = {
recipient = scope:soldier_character
court_position = master_of_arms_camp_officer
}
}
else_if = {
limit = {
is_valid_to_hire_court_position_type = master_of_arms_camp_officer
employs_court_position = master_of_arms_camp_officer
}
add_character_flag = temporary_court_position_cost_removal
replace_court_position = {
recipient = scope:soldier_character
holder = court_position:master_of_arms_camp_officer
court_position = master_of_arms_camp_officer
}
remove_character_flag = temporary_court_position_cost_removal
}
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = medium_stress_gain
shy = minor_stress_gain
}
@ -1793,7 +1738,7 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
option = {
name = travel_events_bp3.30.d
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
@ -1826,7 +1771,7 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss
wrathful = medium_stress_impact_loss
compassionate = minor_stress_gain
@ -1850,17 +1795,16 @@ travel_events_bp3.30 = { # The Mercenaries of <X>
after = {
mp_resume_travel_plan = yes
if = {
limit = {
OR = {
is_ai = yes
scope:soldier_character != root
scope:soldier_character = {
if = {
limit = {
is_alive = yes
NOT = { is_courtier_of = root }
}
}
scope:soldier_character = {
silent_disappearance_ai_effect = yes
silent_disappearance_effect = yes
}
}
remove_character_flag = temporary_court_position_cost_removal
}
}
@ -1932,6 +1876,7 @@ travel_events_bp3.35 = { # The Teacher of Knights
template = old_knight_teacher
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
gender_female_chance = root_soldier_female_chance
location = root.location
save_scope_as = soldier_character
@ -1998,7 +1943,7 @@ travel_events_bp3.35 = { # The Teacher of Knights
custom_tooltip = travel_events_bp3.35.a.tt
}
stress_impact = {
stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss
paranoid = medium_stress_gain
}
@ -2054,7 +1999,7 @@ travel_events_bp3.35 = { # The Teacher of Knights
left_icon = root
add_prestige = minor_prestige_gain
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
if = {
@ -2088,7 +2033,7 @@ travel_events_bp3.35 = { # The Teacher of Knights
}
}
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss
craven = minor_stress_gain
}
@ -2119,7 +2064,7 @@ travel_events_bp3.35 = { # The Teacher of Knights
}
text = travel_events_bp3.35.c.home
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
gregarious = minor_stress_impact_loss
}
@ -2230,6 +2175,7 @@ travel_events_bp3.40 = { # The Local Champion
template = wrestler_character
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
gender_female_chance = root_soldier_female_chance
location = root.location
save_scope_as = soldier_character
@ -2292,7 +2238,7 @@ travel_events_bp3.40 = { # The Local Champion
left_icon = root
remove_short_term_gold = tiny_gold_value
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_gain
ambitious = minor_stress_gain
}
@ -2300,7 +2246,7 @@ travel_events_bp3.40 = { # The Local Champion
}
}
stress_impact = {
stress_and_fulfillment_impact = {
craven = medium_stress_gain
}
@ -2406,7 +2352,7 @@ travel_events_bp3.40 = { # The Local Champion
remove_short_term_gold = tiny_gold_value
scope:challenger_character = {
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_gain
ambitious = minor_stress_gain
}
@ -2478,7 +2424,7 @@ travel_events_bp3.45 = { # The Wandering Knight
}
bp3_travel_event_default_trigger = yes
location = { has_holding_type = castle_holding }
has_government = feudal_government
government_has_flag = government_is_feudal
}
immediate = {
@ -2488,6 +2434,7 @@ travel_events_bp3.45 = { # The Wandering Knight
template = wandering_knight_character
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
gender_female_chance = root_soldier_female_chance
location = root.location
save_scope_as = knight_character
@ -2527,7 +2474,7 @@ travel_events_bp3.45 = { # The Wandering Knight
add_to_court_and_entourage_effect = yes
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = medium_stress_gain
shy = minor_stress_gain
}
@ -2618,7 +2565,7 @@ travel_events_bp3.45 = { # The Wandering Knight
}
}
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss
shy = minor_stress_gain
}
@ -2696,6 +2643,7 @@ travel_events_bp3.50 = { # A Band of Two
age = { 6 10 }
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
location = root.location
save_scope_as = child_character
@ -2735,7 +2683,7 @@ travel_events_bp3.50 = { # A Band of Two
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = medium_stress_impact_loss
greedy = minor_stress_gain
}
@ -2764,7 +2712,7 @@ travel_events_bp3.50 = { # A Band of Two
years = 5
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss
}
@ -2826,7 +2774,7 @@ travel_events_bp3.50 = { # A Band of Two
}
}
stress_impact = {
stress_and_fulfillment_impact = {
callous = minor_stress_impact_loss
sadistic = minor_stress_impact_loss
compassionate = major_stress_gain
@ -2972,6 +2920,7 @@ travel_events_bp3.55 = { # Traveling Traders
create_character = {
template = merchant_template
faith = scope:republic_ruler.faith
rite = scope:republic_ruler.rite
culture = scope:republic_ruler.culture
gender = root
location = location
@ -3005,7 +2954,7 @@ travel_events_bp3.55 = { # Traveling Traders
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = minor_stress_impact_loss
greedy = minor_stress_gain
}
@ -3082,7 +3031,7 @@ travel_events_bp3.55 = { # Traveling Traders
}
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = minor_stress_gain
greedy = minor_stress_impact_loss
}
@ -3103,7 +3052,7 @@ travel_events_bp3.55 = { # Traveling Traders
option = {
name = travel_events_bp3.55.c
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
@ -3190,6 +3139,7 @@ travel_events_bp3.60 = { # A Small Deal
create_character = {
template = merchant_template
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
gender = root
location = location
@ -3301,6 +3251,7 @@ travel_events_bp3.65 = { # Purse Pursuit
age = { 16 20 }
dynasty = none
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
location = root.location
random_traits_list = {
@ -3360,7 +3311,7 @@ travel_events_bp3.65 = { # Purse Pursuit
}
}
stress_impact = {
stress_and_fulfillment_impact = {
paranoid = major_stress_gain
}
@ -3390,7 +3341,7 @@ travel_events_bp3.65 = { # Purse Pursuit
}
}
stress_impact = {
stress_and_fulfillment_impact = {
wrathful = medium_stress_impact_loss
callous = minor_stress_impact_loss
sadistic = minor_stress_impact_loss
@ -3421,7 +3372,7 @@ travel_events_bp3.65 = { # Purse Pursuit
add_gold = scope:gold_value
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
compassionate = minor_stress_impact_loss
forgiving = minor_stress_impact_loss
@ -3549,11 +3500,11 @@ travel_events_bp3.70 = { # <X> Festival
template = merchant_template
age = { 20 25 }
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
opposite_gender = root
location = location
save_scope_as = local_character
save_scope_as = dancing_partner
}
}
@ -3597,7 +3548,7 @@ travel_events_bp3.70 = { # <X> Festival
option = {
name = travel_events_bp3.70.b
stress_impact = {
stress_and_fulfillment_impact = {
base = major_stress_impact_loss
}
@ -3647,12 +3598,8 @@ travel_events_bp3.75 = { # Dreams Brewing
}
OR = {
root.culture = { has_cultural_parameter = allows_brewery }
root.faith = {
OR = {
this = faith:roman_catholic
has_doctrine_parameter = allows_brewery
}
}
root.faith = faith:roman_catholic
root.rite = { rite_has_parameter = allows_brewery }
}
OR = {
any_sub_realm_barony = {
@ -3669,11 +3616,9 @@ travel_events_bp3.75 = { # Dreams Brewing
has_holding_type = church_holding
NOT = { has_building_or_higher = breweries_01 }
}
root.faith = {
OR = {
has_doctrine_parameter = allows_brewery
this = faith:roman_catholic
}
OR = {
root.faith = faith:roman_catholic
root.rite = { rite_has_parameter = allows_brewery }
}
}
}
@ -3699,11 +3644,9 @@ travel_events_bp3.75 = { # Dreams Brewing
if = {
limit = {
NOT = { exists = scope:barony }
faith = {
OR = {
has_doctrine_parameter = allows_brewery
this = faith:roman_catholic
}
OR = {
faith = faith:roman_catholic
rite = { rite_has_parameter = allows_brewery }
}
}
random_sub_realm_barony = {
@ -3720,11 +3663,9 @@ travel_events_bp3.75 = { # Dreams Brewing
if = {
limit = {
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
faith = {
OR = {
this = faith:roman_catholic
has_doctrine_parameter = allows_brewery
}
OR = {
faith = faith:roman_catholic
rite = { rite_has_parameter = allows_brewery }
}
}
create_character = {
@ -3741,6 +3682,7 @@ travel_events_bp3.75 = { # Dreams Brewing
age = { 18 28 }
culture = root.location.culture
faith = root.faith
rite = root.rite
gender_female_chance = root_faith_clergy_gender_female_chance
random_traits_list = {
@ -3844,7 +3786,7 @@ travel_events_bp3.75 = { # Dreams Brewing
option = {
name = travel_events_bp3.75.c
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
@ -3855,7 +3797,7 @@ travel_events_bp3.75 = { # Dreams Brewing
after = {
mp_resume_travel_plan = yes
stress_impact = {
stress_and_fulfillment_impact = {
drunkard = medium_stress_impact_loss
}
if = {
@ -3967,17 +3909,15 @@ travel_events_bp3.80 = { # A Life of Service
save_temporary_scope_as = monk_character_temp
}
}
faith = {
OR = {
has_doctrine_parameter = take_vows_active
AND = {
any_faith_holy_order = { }
scope:monk_character_temp = {
is_adult = yes
OR = {
has_trait = education_martial
prowess > 10
}
OR = {
rite = { rite_has_parameter = take_vows_active }
AND = {
faith = { any_faith_holy_order = { } }
scope:monk_character_temp = {
is_adult = yes
OR = {
has_trait = education_martial
prowess > 10
}
}
}
@ -4030,7 +3970,7 @@ travel_events_bp3.80 = { # A Life of Service
save_scope_as = actor
scope:monk_character = {
save_scope_as = recipient
send_child_to_holy_order_effect = { GRANDMASTER = grandmaster }
send_child_to_holy_order_effect = { GRANDMASTER = scope:grandmaster }
}
}
else = {
@ -4047,7 +3987,7 @@ travel_events_bp3.80 = { # A Life of Service
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss
content = minor_stress_impact_loss
cynical = minor_stress_gain
@ -4080,7 +4020,7 @@ travel_events_bp3.80 = { # A Life of Service
}
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_gain
}
@ -4213,7 +4153,7 @@ travel_events_bp3.85 = { # Brewers of Fame
}
}
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = minor_stress_impact_loss
humble = minor_stress_gain
}
@ -4233,7 +4173,7 @@ travel_events_bp3.85 = { # Brewers of Fame
years = 5
}
stress_impact = {
stress_and_fulfillment_impact = {
greedy = minor_stress_gain
generous = minor_stress_impact_loss
}
@ -4254,7 +4194,7 @@ travel_events_bp3.85 = { # Brewers of Fame
option = {
name = travel_events_bp3.85.c
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
content = minor_stress_impact_loss
}
@ -4270,7 +4210,7 @@ travel_events_bp3.85 = { # Brewers of Fame
after = {
mp_resume_travel_plan = yes
stress_impact = {
stress_and_fulfillment_impact = {
drunkard = minor_stress_impact_loss
}
}
@ -4321,6 +4261,7 @@ travel_events_bp3.90 = { # Patron of the <Temple/Mosque/Church>
template = simple_priest_character_template
culture = root.location.culture
faith = root.location.faith
rite = root.location.rite
gender_female_chance = root_faith_clergy_gender_female_chance
employer = root.location.barony.holder
@ -4442,9 +4383,9 @@ travel_events_bp3.95 = { # A Pilgrim's Tale
faith = root.faith
barony = { is_holy_site = no }
}
rite = { NOT = { rite_has_doctrine = doctrine_pilgrimage_forbidden } }
faith = {
NOT = { has_doctrine = doctrine_pilgrimage_forbidden }
any_holy_site = {
any_holy_site_barony = {
unvisited_holy_site_trigger = yes
}
}
@ -4453,7 +4394,7 @@ travel_events_bp3.95 = { # A Pilgrim's Tale
immediate = {
mp_delay_travel_plan = { DAYS = 90 }
faith = {
random_holy_site = {
random_holy_site_barony = {
limit = {
unvisited_holy_site_trigger = yes
}
@ -4463,6 +4404,7 @@ travel_events_bp3.95 = { # A Pilgrim's Tale
create_character = {
template = merchant_template
faith = root.faith
rite = root.rite
culture = root.location.culture
gender = root
location = root.location
@ -4495,7 +4437,7 @@ travel_events_bp3.95 = { # A Pilgrim's Tale
target = scope:unvisited_holy_site
}
stress_impact = {
stress_and_fulfillment_impact = {
zealous = minor_stress_impact_loss
}
}
@ -4503,7 +4445,7 @@ travel_events_bp3.95 = { # A Pilgrim's Tale
option = {
name = travel_events_bp3.95.b
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
}
@ -4617,7 +4559,7 @@ travel_events_bp3.100 = { # Land of Milk and... Fish?
domicile ?= { change_provisions = miniscule_provisions_gain }
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
content = minor_stress_impact_loss
lazy = minor_stress_impact_loss
@ -4648,7 +4590,7 @@ travel_events_bp3.100 = { # Land of Milk and... Fish?
domicile ?= { change_provisions = minor_provisions_gain }
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
content = minor_stress_impact_loss
lazy = minor_stress_impact_loss
@ -4677,7 +4619,7 @@ travel_events_bp3.100 = { # Land of Milk and... Fish?
add_destination_progress = { days = 3 }
}
stress_impact = {
stress_and_fulfillment_impact = {
diligent = minor_stress_impact_loss
}
@ -4731,7 +4673,7 @@ scripted_effect bp3_skill_learning_duel_effect = {
left_icon = root
right_icon = scope:lifestyle_character
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_gain
}
}
@ -4994,7 +4936,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = diplomacy
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
drunkard = minor_stress_impact_loss
content = minor_stress_impact_loss
gregarious = minor_stress_impact_loss
@ -5007,7 +4949,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = prowess
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss
diligent = minor_stress_impact_loss
ambitious = minor_stress_impact_loss
@ -5020,7 +4962,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = prowess
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
brave = minor_stress_impact_loss
greedy = minor_stress_impact_loss
ambitious = minor_stress_impact_loss
@ -5033,7 +4975,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = learning
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
patient = minor_stress_impact_loss
eccentric = minor_stress_impact_loss
cynical = minor_stress_impact_loss
@ -5046,7 +4988,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = learning
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
patient = minor_stress_impact_loss
compassionate = minor_stress_impact_loss
humble = minor_stress_impact_loss
@ -5059,7 +5001,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = learning
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
patient = minor_stress_impact_loss
calm = minor_stress_impact_loss
content = minor_stress_impact_loss
@ -5072,7 +5014,7 @@ travel_events_bp3.105 = { # A Woman/Man of Unusual Skills
SKILL = stewardship
}
root = {
stress_impact = {
stress_and_fulfillment_impact = {
patient = minor_stress_impact_loss
calm = minor_stress_impact_loss
diligent = minor_stress_impact_loss
@ -5262,7 +5204,7 @@ travel_events_bp3.110 = { # Heart-to-Heart
OPINION = default_friend_opinion
}
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_loss
}
@ -5282,7 +5224,7 @@ travel_events_bp3.110 = { # Heart-to-Heart
name = travel_events_bp3.110.b
flavor = travel_events_bp3.110.b.flavor
stress_impact = {
stress_and_fulfillment_impact = {
base = major_stress_impact_loss
}
@ -5448,7 +5390,7 @@ travel_events_bp3.115 = { # Night by the Campfire
campfire_friendliness_effect = { VALUE = 5 }
stress_impact = {
stress_and_fulfillment_impact = {
gregarious = minor_stress_impact_loss
honest = minor_stress_impact_loss
shy = minor_stress_gain
@ -5510,7 +5452,7 @@ travel_events_bp3.115 = { # Night by the Campfire
}
}
stress_impact = {
stress_and_fulfillment_impact = {
deceitful = minor_stress_impact_loss
honest = minor_stress_gain
shy = minor_stress_gain
@ -5541,7 +5483,7 @@ travel_events_bp3.115 = { # Night by the Campfire
OPINION = default_friend_opinion
}
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
}
@ -5613,6 +5555,7 @@ travel_events_bp3.120 = { # The Wrecked Boat
template = merchant_template
location = root.location
faith = root.location.faith
rite = root.location.rite
culture = root.location.culture
after_creation = {
@ -5639,7 +5582,7 @@ travel_events_bp3.120 = { # The Wrecked Boat
option = {
name = travel_events_bp3.120.a
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_loss
compassionate = medium_stress_impact_loss
generous = minor_stress_impact_loss

File diff suppressed because it is too large Load diff

View file

@ -212,7 +212,7 @@ combat_event.0003 = {
add_martial_skill = 3
#AI will always pick this unless Humble.
stress_impact = {
stress_and_fulfillment_impact = {
humble = medium_stress_gain
}
ai_chance = {
@ -250,7 +250,7 @@ combat_event.0003 = {
add_martial_skill = 3
#AI will only pick this if Humble.
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_gain
}
ai_chance = {
@ -292,7 +292,7 @@ combat_event.0004 = {
add_martial_skill = 3
#AI will always pick this unless Humble
stress_impact = {
stress_and_fulfillment_impact = {
humble = medium_stress_gain
}
ai_chance = {
@ -330,7 +330,7 @@ combat_event.0004 = {
add_martial_skill = 3
#AI will never pick this unless Humble
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_gain
}
ai_chance = {
@ -390,7 +390,7 @@ combat_event.0005 = {
add_prestige_level = -1
stress_impact = {
stress_and_fulfillment_impact = {
vengeful = medium_stress_gain
arrogant = medium_stress_gain
wrathful = minor_stress_gain
@ -425,7 +425,7 @@ combat_event.0005 = {
}
}
stress_impact = {
stress_and_fulfillment_impact = {
forgiving = medium_stress_gain
humble = medium_stress_gain
calm = minor_stress_gain
@ -1045,11 +1045,9 @@ combat_event.1001 = {
OR = {
any_in_list = {
list = slain_combatants
exists = this
}
any_in_list = {
list = victorious_slain_combatants
exists = this
}
}
}
@ -1091,7 +1089,6 @@ combat_event.1001 = {
limit = {
any_in_list = {
list = prisoners_of_war
exists = this
}
}
# If anyone was captured after the battle, send a message to both the winner and loser of the combat to inform them of this.

View file

@ -64,6 +64,10 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
title = raiding.0002.t
desc = raiding.0002.desc
theme = raid
override_effect_2d = {
reference = smoke
}
override_background = { reference = burning_building }
left_portrait = {
character = root
@ -137,7 +141,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
root.capital_county = {
change_development_progress = medium_development_progress_gain
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain
forgiving = minor_stress_impact_gain
}
@ -192,7 +196,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
years = 10
}
}
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain
forgiving = minor_stress_impact_gain
}
@ -248,7 +252,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
}
scope:raid_army = { add_loot = scope:sacked_barony.county.title_province.raid_gold_value }
add_prestige = minor_prestige_value
stress_impact = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_gain
forgiving = minor_stress_impact_gain
}
@ -290,18 +294,18 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
}
if = {
limit = {
faith = {
rite = {
OR = {
trait_is_sin = compassionate
trait_is_sin = forgiving
trait_is_sin = calm
trait_is_sin_rite = compassionate
trait_is_sin_rite = forgiving
trait_is_sin_rite = calm
}
}
}
add_piety = minor_piety_loss
}
else = { add_piety = medium_piety_gain }
stress_impact = {
stress_and_fulfillment_impact = {
sadistic = minor_stress_impact_gain
vengeful = minor_stress_impact_gain
wrathful = minor_stress_impact_gain
@ -380,10 +384,33 @@ raiding.0003 = {
override_background = {
reference = burning_building
}
override_effect_2d = {
reference = smoke
}
left_portrait = {
character = scope:raider
animation = war_over_win
}
right_portrait = {
character = scope:raider_dummy
animation = celebrate_axe
hide_info = yes
}
immediate = {
scope:raider = {
ordered_knight = {
order_by = prowess
limit = {
is_in_army = yes
NOT = {
this = scope:raider
}
}
save_scope_as = raider_dummy
}
}
}
#Oh no!
option = {
@ -415,7 +442,7 @@ raiding.0003 = {
OPINION = 0
}
}
stress_impact = { forgiving = minor_stress_impact_gain }
stress_and_fulfillment_impact = { forgiving = minor_stress_impact_gain }
ai_chance = {
base = 0 #Otherwise every raiding culture will have a million rivals.
ai_value_modifier = { #Vengeful characters may do this, though.
@ -456,7 +483,7 @@ raiding.0003 = {
years = 10
}
}
stress_impact = { lazy = minor_stress_impact_gain }
stress_and_fulfillment_impact = { lazy = minor_stress_impact_gain }
ai_chance = {
base = 50
ai_value_modifier = {
@ -496,23 +523,39 @@ raiding.0004 = {
desc = raiding.0004.desc.spared_plundered #If the holding was spared, we have a lukewarm one response.
}
}
override_effect_2d = {
reference = smoke
}
theme = raid
override_background = {
reference = burning_building
}
left_portrait = {
character = scope:raider
animation = anger
animation = marshal
camera = camera_event_left_forward
}
right_portrait = {
character = scope:sacked_county_owner
animation = fear
triggered_animation = {
trigger = {
ai_vengefulness >= medium_positive_ai_value
ai_boldness > high_negative_ai_value
character = scope:raider_dummy
animation = celebrate_axe
hide_info = yes
}
lower_right_portrait = scope:sacked_county_owner
immediate = {
scope:sacked_county_owner ?= {
save_scope_as = bg_override_char
}
scope:raider = {
ordered_knight = {
order_by = prowess
limit = {
is_in_army = yes
NOT = {
this = scope:raider
}
}
save_scope_as = raider_dummy
}
animation = rage
}
}
@ -559,7 +602,7 @@ raiding.0004 = {
opinion = 20
}
}
stress_impact = { greedy = medium_stress_impact_gain }
stress_and_fulfillment_impact = { greedy = medium_stress_impact_gain }
ai_chance = {
base = 20 #Reduced base chance: the AI shouldn't bankrupt itself helping vassals.
ai_value_modifier = {
@ -632,7 +675,7 @@ raiding.0004 = {
}
}
}
stress_impact = { greedy = medium_stress_impact_gain }
stress_and_fulfillment_impact = { greedy = medium_stress_impact_gain }
ai_chance = {
base = 10 #Reduced base chance: the AI shouldn't bankrupt itself helping vassals.
ai_value_modifier = {
@ -775,7 +818,7 @@ raiding.0013 = {
scope:barony.holder.capital_barony = scope:barony
location = {
any_province_domicile = {
is_domicile_type = estate
domicile_is_estate_trigger = yes
}
}
}
@ -788,7 +831,7 @@ raiding.0013 = {
location = {
random_province_domicile = {
limit = {
is_domicile_type = estate
domicile_is_estate_trigger = yes
}
owner ?= { save_scope_as = estate_holder }
}
@ -866,7 +909,7 @@ raiding.0013 = {
modifier = {
location = {
any_province_domicile = {
is_domicile_type = estate
domicile_is_estate_trigger = yes
has_domicile_parameter = raids_less_likely_to_make_prisoners_1
}
}
@ -875,7 +918,7 @@ raiding.0013 = {
modifier = {
location = {
any_province_domicile = {
is_domicile_type = estate
domicile_is_estate_trigger = yes
has_domicile_parameter = raids_less_likely_to_make_prisoners_2
}
}
@ -884,7 +927,7 @@ raiding.0013 = {
modifier = {
location = {
any_province_domicile = {
is_domicile_type = estate
domicile_is_estate_trigger = yes
has_domicile_parameter = raids_less_likely_to_make_prisoners_3
}
}
@ -1030,7 +1073,7 @@ raiding.0013 = {
}
scripted_trigger raiding_0014_artifact_can_be_stolen = {
exists = this
NOT = { has_variable = artifact_prevent_transfer }
OR = {
scope:barony.holder = { # If the character is in the province and not leading an army, their stuff is probably valid to steal
location = scope:barony.title_province
@ -1312,7 +1355,10 @@ raiding.0040 = {
immediate = {
if = {
limit = {
raid_intent = raze_intent
OR = {
raid_intent = destruction_intent
raid_intent = raze_intent
}
has_raid_intent_immunity = no
}
scope:barony.title_province ?= {

View file

@ -5255,7 +5255,6 @@ court_yearly.0110 = {
has_royal_court = yes
has_dlc_feature = royal_court
any_parent = {
exists = yes
is_available_adult = yes
liege = root
is_landed = no
@ -5291,7 +5290,6 @@ court_yearly.0110 = {
modifier = {
add = 0.5
any_parent = {
exists = yes
is_available_adult = yes
liege = root
is_landed = no