fixing old broken triggers and traits

This commit is contained in:
Thakia 2026-10-11 17:32:15 -03:00
parent 5e4166e13d
commit 9302d1a22d
22 changed files with 138 additions and 130 deletions

View file

@ -1001,7 +1001,7 @@
# }
# modifier = {
# add = 25
# has_trait = scholar
# has_trait = erudite
# }
# # Or else they're just sufficiently nerdy.
# modifier = {
@ -1160,7 +1160,7 @@
# }
# modifier = {
# add = 25
# has_trait = scholar
# has_trait = erudite
# }
# # Or else they're just sufficiently nerdy.
# modifier = {

View file

@ -2277,7 +2277,7 @@ on_game_start = {
limit = {
highest_held_title_tier > tier_kingdom
NOT = {
has_any_shunned_or_criminal_trait_in_faith_trigger = {
has_any_shunned_or_criminal_trait_in_rite_trigger = {
CHARACTER = scope:ruler
FAITH = scope:ruler.faith
}
@ -3304,7 +3304,7 @@ on_game_start_after_lobby = {
# any_parent = {
# OR = {
# has_trait = ambitious
# has_trait = scholar
# has_trait = erudite
# has_trait = diligent
# has_trait = confucian_education
# }

View file

@ -225,7 +225,7 @@ chief_qadi_court_position_template = {
trait = generous
trait = just
trait = temperate
trait = scholar
trait = erudite
learning = { 6 10 }
}
@ -409,7 +409,7 @@ court_tutor_court_position_template = {
}
trait = patient
trait = calm
trait = scholar
trait = erudite
learning = { 5 7 }

View file

@ -15,7 +15,7 @@
# trait = zealous
# trait = stubborn
# trait = vengeful
# trait = scholar
# trait = erudite
# trait = education_learning_4
# trait = reckless
# random_traits = no

View file

@ -216,7 +216,7 @@ learning_scholarship_focus_friend_template = {
min_template_decent_skill
max_template_decent_skill
}
trait = scholar
trait = erudite
dynasty = none
}

View file

@ -166,7 +166,7 @@ administrator_character = {
add = 15
}
add_trait = scholar
add_trait = erudite
}
}
}

View file

@ -40,6 +40,7 @@ pool_repopulate_prowess = {
gender_female_chance = root_soldier_female_chance
culture = root.culture
faith = root.faith
rite = root.rite
prowess = {
min_guest_template_skill max_guest_template_skill
}
@ -203,6 +204,7 @@ pool_repopulate_diplomacy = {
random_traits = yes
culture = root.culture
faith = root.faith
rite = root.rite
diplomacy = {
min_guest_template_skill max_guest_template_skill
}
@ -300,6 +302,7 @@ pool_repopulate_martial = {
random_traits = yes
culture = root.culture
faith = root.faith
rite = root.rite
martial = {
min_guest_template_skill max_guest_template_skill
}
@ -346,8 +349,8 @@ pool_repopulate_martial = {
}
if = {
limit = {
faith = {
has_doctrine = tenet_warmonger
rite = {
rite_has_tenet = tenet_warmonger
}
}
random_list = {
@ -468,6 +471,7 @@ pool_repopulate_stewardship = {
random_traits = yes
culture = root.culture
faith = root.faith
rite = root.rite
stewardship = {
min_guest_template_skill max_guest_template_skill
}
@ -540,6 +544,7 @@ pool_repopulate_intrigue = {
gender_female_chance = 50 #No gender blocks for spymaster
culture = root.culture
faith = root.faith
rite = root.rite
intrigue = {
min_guest_template_skill max_guest_template_skill
}
@ -616,6 +621,7 @@ pool_repopulate_learning = {
random_traits = yes
culture = root.culture
faith = root.faith
rite = root.rite
learning = {
min_guest_template_skill max_guest_template_skill
}
@ -627,7 +633,7 @@ pool_repopulate_learning = {
}
random_traits_list = {
count = { 0 1 }
scholar = {}
erudite = {}
theologian = {}
whole_of_body = {}
lifestyle_physician = {}
@ -670,7 +676,7 @@ pool_repopulate_learning = {
if = {
limit = {
faith = {
has_doctrine = tenet_monasticism
faith_has_monasticism_trigger = yes
}
}
random_list = {
@ -718,6 +724,7 @@ pool_repopulate_spouse = {
random_traits = yes
culture = root.culture
faith = root.faith
rite = root.rite
random_traits_list = {
education_diplomacy_1 = { weight = { base = 35 } }
education_diplomacy_2 = { weight = { base = 35 } }
@ -802,7 +809,7 @@ pool_repopulate_spouse = {
strategist = {}
architect = {}
schemer = {}
scholar = {}
erudite = {}
whole_of_body = {}
fecund = {}
intellect_good_1 = {}
@ -860,6 +867,7 @@ pool_repopulate_local_flavor = {
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance #because council gender is doctrine dependent
random_traits = yes
faith = root.faith
rite = root.rite
random_culture = {
culture:NEOW_ashkenaze = {
@ -1022,7 +1030,7 @@ pool_repopulate_local_flavor = {
education_diplomacy_4 = { weight = { base = 20 } }
}
random_traits_list = {
scholar = {}
erudite = {}
theologian = {}
lifestyle_physician = {}
lifestyle_mystic = {}
@ -1580,16 +1588,16 @@ pool_repopulate_local_flavor = {
450 = {
trigger = {
NOT = {
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = this.faith GENDER_CHARACTER = this }
trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = this.rite GENDER_CHARACTER = this }
}
}
add_trait = witch
}
150 = {
trigger = {
faith = {
has_doctrine = tenet_warmonger
}
rite = {
rite_has_tenet = tenet_warmonger
}
NOR = {
has_trait = craven
has_trait = berserker
@ -1664,7 +1672,7 @@ pool_repopulate_local_flavor = {
# remove_trait = diplomat
# remove_trait = administrator
# remove_trait = architect
# remove_trait = scholar
# remove_trait = erudite
# add_martial_skill = 4
# add_prowess_skill = 6
# random_list = {
@ -1724,7 +1732,7 @@ pool_repopulate_local_flavor = {
remove_trait = diplomat
remove_trait = administrator
remove_trait = architect
remove_trait = scholar
remove_trait = erudite
add_martial_skill = 4
add_prowess_skill = 6
random_list = {

View file

@ -171,7 +171,7 @@
# faith = faith:vaishnavism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = scholar
# trait = erudite
# random_traits_list = {
# count = 3
# diligent = {}
@ -320,7 +320,7 @@
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# trait = devoted
# trait = lifestyle_mystic
# trait = intellect_good_3
@ -377,7 +377,7 @@
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = journaller
# trait = scholar
# trait = erudite
# random_traits_list = {
# count = 3
# gregarious = {}
@ -572,7 +572,7 @@
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = scholar
# trait = erudite
# trait = lifestyle_poet
# random_traits_list = {
# count = 3
@ -622,7 +622,7 @@
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = lifestyle_mystic
# trait = scholar
# trait = erudite
# trait = devoted
# random_traits_list = {
# count = 3
@ -910,7 +910,7 @@
# trait = zealous
# trait = humble
# trait = diligent
# trait = scholar
# trait = erudite
# trait = lifestyle_physician
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -1192,7 +1192,7 @@
# trait = patient
# trait = diligent
# trait = shy
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -1295,7 +1295,7 @@
# trait = diligent
# trait = humble
# trait = stubborn
# trait = scholar
# trait = erudite
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -1383,7 +1383,7 @@
# trait = stubborn
# trait = devoted
# trait = lifestyle_mystic
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -1511,7 +1511,7 @@
# trait = lustful
# trait = ambitious
# trait = stubborn
# trait = scholar
# trait = erudite
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -1555,7 +1555,7 @@
# trait = compassionate
# trait = lustful
# trait = diligent
# trait = scholar
# trait = erudite
# trait = lifestyle_poet
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
@ -1604,7 +1604,7 @@
# trait = gregarious
# trait = diligent
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -1688,7 +1688,7 @@
# trait = diligent
# trait = humble
# trait = administrator
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -1936,7 +1936,7 @@
# trait = diligent
# trait = calm
# trait = lifestyle_physician
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -1982,7 +1982,7 @@
# trait = diligent
# trait = generous
# trait = journaller
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2075,7 +2075,7 @@
# trait = diligent
# trait = patient
# trait = shrewd
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2119,7 +2119,7 @@
# trait = diligent
# trait = patient
# trait = shrewd
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2162,7 +2162,7 @@
# trait = patient
# trait = diligent
# trait = humble
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2204,7 +2204,7 @@
# trait = patient
# trait = humble
# trait = just
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2291,7 +2291,7 @@
# trait = patient
# trait = just
# trait = diligent
# trait = scholar
# trait = erudite
# trait = lifestyle_physician
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -2334,7 +2334,7 @@
# trait = patient
# trait = cynical
# trait = shrewd
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2376,7 +2376,7 @@
# trait = patient
# trait = humble
# trait = brave
# trait = scholar
# trait = erudite
# trait = adventurer
# trait = lifestyle_mystic
# trait = lifestyle_traveler
@ -2509,7 +2509,7 @@
# trait = just
# trait = diligent
# trait = patient
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2550,7 +2550,7 @@
# trait = diligent
# trait = just
# trait = zealous
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -2970,7 +2970,7 @@
# trait = patient
# trait = diligent
# trait = just
# trait = scholar
# trait = erudite
# trait = journaller
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -3018,7 +3018,7 @@
# trait = fickle
# trait = cynical
# trait = devoted
# trait = scholar
# trait = erudite
# trait = lifestyle_poet
# trait = stuttering
# diplomacy = { min_template_decent_skill max_template_decent_skill }
@ -3059,7 +3059,7 @@
# trait = fickle
# trait = cynical
# trait = devoted
# trait = scholar
# trait = erudite
# trait = lifestyle_poet
# trait = stuttering
# diplomacy = { min_template_decent_skill max_template_decent_skill }
@ -3104,7 +3104,7 @@
# trait = stubborn
# trait = diligent
# trait = shy
# trait = scholar
# trait = erudite
# trait = lifestyle_poet
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -3145,7 +3145,7 @@
# trait = zealous
# trait = diligent
# trait = patient
# trait = scholar
# trait = erudite
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
@ -3188,7 +3188,7 @@
# trait = humble
# trait = diligent
# trait = patient
# trait = scholar
# trait = erudite
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
@ -3231,7 +3231,7 @@
# trait = humble
# trait = diligent
# trait = zealous
# trait = scholar
# trait = erudite
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
@ -3273,7 +3273,7 @@
# trait = arrogant
# trait = diligent
# trait = patient
# trait = scholar
# trait = erudite
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -3314,7 +3314,7 @@
# trait = patient
# trait = diligent
# trait = shy
# trait = scholar
# trait = erudite
# trait = journaller
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -3355,7 +3355,7 @@
# trait = ambitious
# trait = diligent
# trait = stubborn
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -3478,8 +3478,8 @@
# trait = eccentric
# trait = diligent
# trait = stubborn
# trait = scholar
# trait = scholar
# trait = erudite
# trait = erudite
# trait = intellect_good_2
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -3521,7 +3521,7 @@
# trait = zealous
# trait = diligent
# trait = patient
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
@ -3820,7 +3820,7 @@
# trait = diligent
# trait = patient
# trait = cynical
# trait = scholar
# trait = erudite
# trait = theologian
# trait = diplomat
# diplomacy = { min_template_high_skill max_template_high_skill }
@ -3863,7 +3863,7 @@
# trait = honest
# trait = just
# trait = forgiving
# trait = scholar
# trait = erudite
# trait = theologian
# trait = diplomat
# diplomacy = { min_template_high_skill max_template_high_skill }
@ -3904,7 +3904,7 @@
# trait = craven
# trait = humble
# trait = gregarious
# trait = scholar
# trait = erudite
# trait = disfigured
# trait = administrator
# diplomacy = { min_template_high_skill max_template_high_skill }
@ -3990,7 +3990,7 @@
# trait = zealous
# trait = just
# trait = diligent
# trait = scholar
# trait = erudite
# trait = theologian
# trait = administrator
# diplomacy = { min_template_high_skill max_template_high_skill }
@ -4073,7 +4073,7 @@
# trait = humble
# trait = diligent
# trait = theologian
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
@ -4324,7 +4324,7 @@
# trait = devoted
# trait = adventurer
# trait = lifestyle_traveler
# trait = scholar
# trait = erudite
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -4730,7 +4730,7 @@
# trait = honest
# trait = brave
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -4770,7 +4770,7 @@
# trait = diligent
# trait = temperate
# trait = patient
# trait = scholar
# trait = erudite
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -4857,7 +4857,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -4901,7 +4901,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -4945,7 +4945,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -4989,7 +4989,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -5034,7 +5034,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -5079,7 +5079,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# trait = loyal
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
@ -5125,7 +5125,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -5169,7 +5169,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -5213,7 +5213,7 @@
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
@ -5379,7 +5379,7 @@
# trait = zealous
# trait = just
# trait = stubborn
# trait = scholar
# trait = erudite
# trait = lifestyle_poet
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_high_skill max_template_high_skill }
@ -5422,7 +5422,7 @@
# trait = diligent
# trait = generous
# trait = administrator
# trait = scholar
# trait = erudite
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
@ -5545,7 +5545,7 @@
# trait = temperate
# trait = just
# trait = theologian
# trait = scholar
# trait = erudite
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }