more file updating

This commit is contained in:
Thakia 2026-10-09 20:41:46 -03:00
parent 4afc9466f5
commit fde59745b8
99 changed files with 5706 additions and 2115 deletions

View file

@ -30,7 +30,7 @@ recruit_court_position_decision = {
decision_group_type = courtier
is_shown = {
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
}
is_valid_showing_failures_only = {
@ -50,6 +50,7 @@ recruit_court_position_decision = {
is_landless_adventurer = no
}
is_valid = {
can_employ_court_position_type = court_physician_court_position
NOR = {
employs_court_position = court_physician_court_position
custom_tooltip = {
@ -71,6 +72,7 @@ recruit_court_position_decision = {
is_landless_adventurer = no
}
is_valid = {
can_employ_court_position_type = travel_leader_court_position
NOR = {
employs_court_position = travel_leader_court_position
custom_tooltip = {
@ -88,7 +90,7 @@ recruit_court_position_decision = {
limit = {
NOR = {
highest_held_title_tier > tier_barony
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
gold > low_skill_court_physician_cost
is_at_war = no
}
@ -100,10 +102,11 @@ recruit_court_position_decision = {
item = { # Wet Nurse
value = find_wet_nurse_decision
is_shown = {
is_landed_or_landless_administrative = yes
has_bp2_dlc_trigger = yes
is_landed_or_landless_administrative_or_theocratic = yes
wet_nurse_court_position_unlocked_trigger = yes
}
is_valid = {
can_employ_court_position_type = wet_nurse_court_position
NOR = {
employs_court_position = wet_nurse_court_position
custom_tooltip = {
@ -111,6 +114,17 @@ recruit_court_position_decision = {
has_character_flag = recruit_wet_nurse_cooldown
}
}
trigger_if = {
limit = {
government_has_flag = government_is_nomadic
}
custom_tooltip = {
text = has_wet_nurse_domicile_building
domicile ?= {
has_domicile_parameter = nomad_unlock_wet_nurse
}
}
}
}
current_description = find_wet_nurse_decision_desc
localization = find_wet_nurse_decision
@ -157,6 +171,7 @@ recruit_court_position_decision = {
}
}
is_valid = {
can_employ_court_position_type = charioteer_court_position
NOR = {
employs_court_position = charioteer_court_position
custom_tooltip = {
@ -180,6 +195,7 @@ recruit_court_position_decision = {
}
}
is_valid = {
can_employ_court_position_type = bookmaker_court_position
NOR = {
employs_court_position = bookmaker_court_position
custom_tooltip = {
@ -203,6 +219,7 @@ recruit_court_position_decision = {
}
}
is_valid = {
can_employ_court_position_type = chief_eunuch_court_position
NOR = {
employs_court_position = chief_eunuch_court_position
custom_tooltip = {
@ -225,6 +242,7 @@ recruit_court_position_decision = {
is_landless_adventurer = no
}
is_valid = {
can_employ_court_position_type = court_gardener_court_position
NOR = {
employs_court_position = court_gardener_court_position
custom_tooltip = {
@ -255,7 +273,7 @@ recruit_court_position_decision = {
is_valid = {
age >= 6
is_alive = yes
NOT = { exists = involved_activity }
is_in_activity = no
is_imprisoned = no
NOT = { knows_court_language_of = root }
custom_tooltip = {
@ -289,7 +307,7 @@ recruit_court_position_decision = {
value = invite_a_linguist_liege
is_shown = {
# Standard filter checks.
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
# Liege checks.
top_liege != this
liege = { has_royal_court = yes has_dlc_feature = royal_court }
@ -321,7 +339,7 @@ recruit_court_position_decision = {
is_valid = {
age >= 6
is_alive = yes
NOT = { exists = involved_activity }
is_in_activity = no
is_imprisoned = no
custom_tooltip = {
text = scheming_already
@ -359,6 +377,7 @@ recruit_court_position_decision = {
is_landless_adventurer = no
}
is_valid = {
can_employ_court_position_type = court_astrologer_court_position
NOR = {
employs_court_position = court_astrologer_court_position
custom_tooltip = {
@ -394,6 +413,7 @@ recruit_court_position_decision = {
is_landless_adventurer = no
}
is_valid = {
can_employ_court_position_type = siege_engineer_court_position
NOR = {
employs_court_position = siege_engineer_court_position
custom_tooltip = {
@ -429,6 +449,7 @@ recruit_court_position_decision = {
is_landless_adventurer = no
}
is_valid = {
can_employ_court_position_type = foreign_emissary_court_position
NOR = {
employs_court_position = foreign_emissary_court_position
custom_tooltip = {
@ -642,6 +663,7 @@ recruit_court_position_decision = {
employer = root
template = pool_repopulate_stewardship
faith = root.faith
rite = root.rite
culture = root.culture
save_scope_as = new_commander
}
@ -802,15 +824,15 @@ gain_weight_decision = { #by Linnéa Thimrén
is_shown = {
OR = {
has_character_modifier = malnourished_modifier
current_weight < -50
has_character_modifier = malnourished_modifier
}
NOT = { has_character_modifier = gaining_weight_modifier }
}
is_valid_showing_failures_only = {
is_imprisoned = no
NOT = { has_trait = incapable }
is_incapable = no
}
effect = {
@ -872,19 +894,19 @@ lose_weight_decision = { #by Linnéa Thimrén
is_shown = {
OR = {
has_character_modifier = obese_modifier
current_weight > 50
has_character_modifier = obese_modifier
}
NOT = { has_character_modifier = losing_weight_modifier }
}
is_valid_showing_failures_only = {
is_imprisoned = no
NOT = { has_trait = incapable }
is_incapable = no
}
effect = {
stress_impact = {
stress_and_fulfillment_impact = {
gluttonous = medium_stress_impact_gain
}
add_character_modifier = {
@ -940,6 +962,10 @@ commit_suicide_decision = { #by Linnéa Thimrén
}
desc = {
first_valid = {
triggered_desc = {
trigger = { has_fulfillment_parameter = sp_suicide_available }
desc = commit_suicide_decision_desc_doomed
}
triggered_desc = {
trigger = { has_variable = mourning_parent }
desc = commit_suicide_decision_desc_parent
@ -991,7 +1017,7 @@ commit_suicide_decision = { #by Linnéa Thimrén
triggered_desc = {
trigger = {
has_trait = witch
faith = { has_doctrine_parameter = witchcraft_illegal }
rite = { rite_has_parameter = witchcraft_illegal }
}
desc = commit_suicide_decision_desc_witch
}
@ -999,7 +1025,7 @@ commit_suicide_decision = { #by Linnéa Thimrén
trigger = {
has_trait = cannibal
NOT = {
faith = { has_doctrine_parameter = cannibalism_legal }
rite = { rite_has_parameter = cannibalism_legal }
}
}
desc = commit_suicide_decision_desc_cannibal
@ -1007,14 +1033,14 @@ commit_suicide_decision = { #by Linnéa Thimrén
triggered_desc = {
trigger = {
has_trait = sodomite
faith = { has_doctrine_parameter = homosexuality_illegal }
rite = { rite_has_parameter = homosexuality_illegal }
}
desc = commit_suicide_decision_desc_sodomite
}
triggered_desc = {
trigger = {
has_trait = deviant
faith = { has_doctrine_parameter = deviancy_illegal }
rite = { rite_has_parameter = deviancy_illegal }
}
desc = commit_suicide_decision_desc_deviant
}
@ -1024,8 +1050,8 @@ commit_suicide_decision = { #by Linnéa Thimrén
has_trait = adulterer
has_trait = fornicator
}
trait_is_criminal_in_faith_trigger = {
FAITH = faith
trait_is_criminal_in_rite_trigger = {
RITE = rite
TRAIT = trait:adulterer
GENDER_CHARACTER = this
}
@ -1049,57 +1075,62 @@ commit_suicide_decision = { #by Linnéa Thimrén
is_shown = {
is_adult = yes
NOT = { can_execute_decision = initiate_consolamentum_decision }
OR = {
has_fulfillment_parameter = sp_suicide_available
has_trait = depressed
has_trait = incapable
has_trait = cancer
has_trait = leper
has_trait = great_pox
has_trait = lunatic
has_character_flag = make_suicide_available
stress >= extremely_high_stress
has_trait = incapable
AND = { #You have a criminal trait and you are stressed
stress >= very_high_stress
OR = {
AND = {
has_trait = witch
faith = { has_doctrine_parameter = witchcraft_illegal }
rite ?= { rite_has_parameter = witchcraft_illegal }
}
AND = {
has_trait = cannibal
NOT = {
faith = { has_doctrine_parameter = cannibalism_legal }
rite = { rite_has_parameter = cannibalism_legal }
}
}
AND = {
has_trait = sodomite
faith = { has_doctrine_parameter = homosexuality_illegal }
rite ?= { rite_has_parameter = homosexuality_illegal }
}
AND = {
has_trait = deviant
faith = { has_doctrine_parameter = deviancy_illegal }
rite ?= { rite_has_parameter = deviancy_illegal }
}
AND = {
OR = {
has_trait = adulterer
has_trait = fornicator
has_trait = adulterer
}
trait_is_criminal_in_faith_trigger = {
FAITH = faith
trait_is_criminal_in_rite_trigger = {
RITE = rite
TRAIT = trait:adulterer
GENDER_CHARACTER = this
}
}
}
}
stress >= extremely_high_stress
has_trait = great_pox
has_trait = leper
has_trait = cancer
}
NOT = { can_execute_decision = initiate_consolamentum_decision }
}
is_valid_showing_failures_only = {
not = { exists = involved_activity }
is_imprisoned = no
is_commanding_army = no
custom_tooltip = {
text = sp_suicide_blocked_tt
NOT = { has_fulfillment_parameter = sp_suicide_blocked }
}
}
effect = {
@ -1147,6 +1178,14 @@ commit_suicide_decision = { #by Linnéa Thimrén
add = 20
has_character_flag = make_suicide_available
}
modifier = {
add = 20
has_fulfillment_parameter = sp_suicide_available
}
modifier = {
factor = 0
has_fulfillment_parameter = sp_suicide_blocked
}
}
}
@ -1169,6 +1208,7 @@ secede_from_empire_decision = { #by Sean Hughes
}
is_shown = {
is_landed = yes
liege ?= {
highest_held_title_tier >= tier_empire
this != root
@ -1182,12 +1222,11 @@ secede_from_empire_decision = { #by Sean Hughes
}
liege ?= {
any_character_war = {
primary_attacker = prev
primary_attacker ?= prev
war_days >= 9125 # Offensive war lasting over 25 years.
}
}
}
is_landed = yes
}
is_valid = {
@ -1852,25 +1891,34 @@ stress_loss_irritable_decision = { #by Linnéa Thimrén
}
}
### Indulge in Flagellation ###
### Mortify Flesh ###
stress_loss_flagellant_decision = { #by Linnéa Thimrén
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
}
desc = {
first_valid = {
triggered_desc = {
trigger = {
OR = {
has_personal_tenet_flag = tenet_mortification_mortify_flesh
rite = { rite_has_parameter = tenet_mortification_mortify_flesh }
}
}
desc = stress_loss_mortification_decision_desc
}
#Both
triggered_desc = {
trigger = {
has_trait = flagellant
faith = { has_doctrine_parameter = self_mutilation_active }
has_personal_tenet_flag = self_mutilation_active
}
desc = stress_loss_flagellant_exaltation_decision_desc
}
#Exaltation of Pain
triggered_desc = {
trigger = {
faith = { has_doctrine_parameter = self_mutilation_active }
has_personal_tenet_flag = self_mutilation_active
}
desc = stress_loss_exaltation_decision_desc
}
@ -1895,7 +1943,10 @@ stress_loss_flagellant_decision = { #by Linnéa Thimrén
is_shown = {
OR = {
has_trait = flagellant
faith = { has_doctrine_parameter = self_mutilation_active }
has_personal_tenet_flag = self_mutilation_active
has_personal_tenet_flag = tenet_mortification_mortify_flesh
rite = { rite_has_parameter = tenet_mortification_mortify_flesh }
has_fulfillment_parameter = sp_flagellant_decision
}
}
@ -1905,19 +1956,38 @@ stress_loss_flagellant_decision = { #by Linnéa Thimrén
}
effect = {
show_as_tooltip = { #The effect is actually applied in the event itself
flagellation_decision_effect = yes
add_character_flag = {
flag = recent_flagellant
days = 60
}
trigger_event = {
on_action = stress_loss_flagellant
if = {
limit = {
OR = {
has_personal_tenet_flag = tenet_mortification_mortify_flesh
rite = { rite_has_parameter = tenet_mortification_mortify_flesh }
}
}
custom_tooltip = stress_loss_mortification_decision_effect_tt
trigger_event = pam_tenet_events.0010
}
else = {
show_as_tooltip = { #The effect is actually applied in the event itself
flagellation_decision_effect = yes
}
trigger_event = {
on_action = stress_loss_flagellant
}
}
}
ai_potential = {
OR = {
has_trait = flagellant
faith = { has_doctrine_parameter = self_mutilation_active }
has_personal_tenet_flag = self_mutilation_active
has_personal_tenet_flag = tenet_mortification_mortify_flesh
rite = { rite_has_parameter = tenet_mortification_mortify_flesh }
has_fulfillment_parameter = sp_flagellant_decision
}
is_adult = yes
}