scripted_triggers updated files
This commit is contained in:
parent
37045a17ee
commit
072e45c086
36 changed files with 4934 additions and 1754 deletions
|
|
@ -5,12 +5,13 @@
|
|||
# Character must have a valid reasion to be naked.
|
||||
OR = {
|
||||
has_character_modifier = diplomacy_majesty_4090_no_raiment_modifier # Lunatic event where character goes naked instead of buying new clothes.
|
||||
has_character_modifier = natural_primitivism_court_naturism_modifier
|
||||
has_character_flag = is_naked # Special flag used in certain events.
|
||||
# faith = { has_doctrine_parameter = naked_adherents_active }
|
||||
rite = { rite_has_parameter = naked_adherents_active }
|
||||
culture = { has_cultural_parameter = naked_culture_active }
|
||||
trigger_if = {
|
||||
limit = {
|
||||
faith = { has_doctrine_parameter = naked_priests_active }
|
||||
rite = { rite_has_parameter = naked_priests_active }
|
||||
}
|
||||
OR = {
|
||||
government_has_flag = government_is_theocracy
|
||||
|
|
@ -23,6 +24,25 @@
|
|||
}
|
||||
}
|
||||
|
||||
natural_primitivism_supports_naturism_trigger = {
|
||||
exists = this
|
||||
OR = {
|
||||
should_be_naked_trigger = yes
|
||||
rite = { rite_has_parameter = naked_adherents_active }
|
||||
rite = { rite_has_parameter = naked_priests_active }
|
||||
culture = { has_cultural_parameter = naked_culture_active }
|
||||
has_personal_tenet_flag = tenet_natural_primitivism_promote_naturism_decision
|
||||
}
|
||||
}
|
||||
|
||||
natural_primitivism_fulfillment_trigger = {
|
||||
exists = this
|
||||
OR = {
|
||||
rite = { rite_has_parameter = naked_adherents_active }
|
||||
has_personal_tenet_flag = tenet_natural_primitivism_promote_naturism_decision
|
||||
}
|
||||
}
|
||||
|
||||
# Can only be checked in the interface since the setting isn't synced
|
||||
should_be_fully_naked_portrait_trigger = {
|
||||
should_show_nudity = yes
|
||||
|
|
@ -120,12 +140,12 @@ portrait_wear_armor_trigger = {
|
|||
is_in_army = yes
|
||||
}
|
||||
OR = {
|
||||
# Mercenaries, Holy Orders, Adventurers
|
||||
# Mercenaries, Military Orders, Adventurers
|
||||
AND = {
|
||||
is_ruler = yes
|
||||
OR = {
|
||||
government_has_flag = government_is_mercenary
|
||||
government_has_flag = government_is_holy_order
|
||||
government_has_flag = government_is_military_holy_order
|
||||
has_realm_law = camp_purpose_mercenaries
|
||||
has_realm_law = camp_purpose_brigands
|
||||
}
|
||||
|
|
@ -137,7 +157,7 @@ portrait_wear_armor_trigger = {
|
|||
exists = knight_army
|
||||
AND = {
|
||||
OR = {
|
||||
is_landed_or_landless_administrative = no
|
||||
is_landed_or_landless_administrative_or_theocratic = no
|
||||
liege = { is_at_war = yes }
|
||||
}
|
||||
is_councillor = no
|
||||
|
|
@ -176,7 +196,7 @@ portrait_wear_armor_trigger = {
|
|||
AND = {
|
||||
has_council_position = councillor_marshal
|
||||
OR = {
|
||||
is_landed_or_landless_administrative = no
|
||||
is_landed_or_landless_administrative_or_theocratic = no
|
||||
primary_title.tier < tier_kingdom
|
||||
}
|
||||
}
|
||||
|
|
@ -184,22 +204,16 @@ portrait_wear_armor_trigger = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
is_independent_ruler = no
|
||||
OR = {
|
||||
has_government = celestial_government
|
||||
has_government = meritocratic_government
|
||||
has_government = steppe_admin_government
|
||||
}
|
||||
government_allows = merit
|
||||
}
|
||||
OR = {
|
||||
vassal_contract_has_flag = celestial_province_protectorate
|
||||
vassal_contract_has_flag = celestial_province_military
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
has_title = title:e_minister_grand_marshal
|
||||
vassal_contract_has_flag = province_military
|
||||
vassal_contract_has_flag = celestial_grand_marshal_obligation
|
||||
}
|
||||
is_adult = yes
|
||||
trigger_if = {
|
||||
limit = { has_trait = devoted }
|
||||
faith = { has_doctrine_parameter = clergy_can_fight }
|
||||
rite = { rite_has_parameter = clergy_can_fight }
|
||||
}
|
||||
save_temporary_scope_as = fighter_temp
|
||||
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:fighter_temp }
|
||||
|
|
@ -262,7 +276,7 @@ portrait_accoladed_knight_trigger = {
|
|||
}
|
||||
AND = {
|
||||
liege ?= {
|
||||
highest_held_title_tier = tier_empire
|
||||
highest_held_title_tier >= tier_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -294,17 +308,24 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
government_has_flag = government_is_landless_adventurer
|
||||
has_realm_law = camp_purpose_mercenaries
|
||||
}
|
||||
# Holy Orders
|
||||
# Military Orders
|
||||
# Rank-and-file military order members only wear helmets when actively fighting
|
||||
# (commanding an army or riding out as a knight). Otherwise they're shown in their
|
||||
# tonsured monastic form. Mirrors the commanding-army / knight_army logic used for
|
||||
# regular knights & marshals below. NOTE: portrait_wear_armor_trigger still lets
|
||||
# them wear their armor at all times, per the military-order aesthetic.
|
||||
AND = {
|
||||
is_ruler = yes
|
||||
government_has_flag = government_is_holy_order
|
||||
has_trait = order_member
|
||||
OR = {
|
||||
is_commanding_army = yes
|
||||
exists = knight_army
|
||||
}
|
||||
}
|
||||
has_trait = order_member
|
||||
# Commanding and lower than a King or uncrowned
|
||||
AND = {
|
||||
is_commanding_army = yes
|
||||
OR = {
|
||||
is_landed_or_landless_administrative = no
|
||||
is_landed_or_landless_administrative_or_theocratic = no
|
||||
AND = {
|
||||
exists = primary_title
|
||||
OR = {
|
||||
|
|
@ -321,7 +342,7 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
is_knight = yes
|
||||
is_councillor = no
|
||||
OR = {
|
||||
is_landed_or_landless_administrative = no
|
||||
is_landed_or_landless_administrative_or_theocratic = no
|
||||
AND = {
|
||||
exists = primary_title
|
||||
primary_title.tier < tier_kingdom
|
||||
|
|
@ -341,7 +362,7 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
AND = {
|
||||
has_council_position = councillor_marshal
|
||||
OR = {
|
||||
is_landed_or_landless_administrative = no
|
||||
is_landed_or_landless_administrative_or_theocratic = no
|
||||
primary_title.tier < tier_duchy
|
||||
}
|
||||
}
|
||||
|
|
@ -359,21 +380,27 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
# Military style governor
|
||||
AND = {
|
||||
is_independent_ruler = no
|
||||
government_allows = merit
|
||||
OR = {
|
||||
has_government = celestial_government
|
||||
has_government = meritocratic_government
|
||||
has_government = steppe_admin_government
|
||||
}
|
||||
OR = {
|
||||
vassal_contract_has_flag = celestial_province_protectorate
|
||||
vassal_contract_has_flag = celestial_province_military
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
has_title = title:e_minister_grand_marshal
|
||||
vassal_contract_has_flag = province_military
|
||||
vassal_contract_has_flag = celestial_grand_marshal_obligation
|
||||
AND = {
|
||||
has_council_position = councillor_marshal
|
||||
liege = {
|
||||
OR = {
|
||||
AND = {
|
||||
is_independent_ruler = yes
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
tgp_is_ceremonial_liege_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
is_adult = yes
|
||||
trigger_if = {
|
||||
limit = { has_trait = devoted }
|
||||
faith = { has_doctrine_parameter = clergy_can_fight }
|
||||
rite = { rite_has_parameter = clergy_can_fight }
|
||||
}
|
||||
save_temporary_scope_as = fighter_temp
|
||||
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:fighter_temp }
|
||||
|
|
@ -391,7 +418,7 @@ portrait_wear_helmet_trigger = { # Different from Armor, as (crowned) Kings and
|
|||
is_leading_faction_type = peasant_faction
|
||||
AND = {
|
||||
is_ruler = yes
|
||||
is_landed_or_landless_administrative = no
|
||||
is_landed_or_landless_administrative_or_theocratic = no
|
||||
OR = {
|
||||
government_has_flag = government_is_feudal
|
||||
government_has_flag = government_is_clan
|
||||
|
|
@ -434,27 +461,27 @@ portrait_wear_no_crown_trigger = { # Rulers should be coronated to wear a crown
|
|||
}
|
||||
}
|
||||
|
||||
portrait_wear_christian_holy_order_trigger = { # Christian holy order members/vassals should wear different armor
|
||||
portrait_wear_christian_holy_order_trigger = { # Christian Military Order members/vassals should wear different armor
|
||||
OR = {
|
||||
AND = { # Is a Christian holy order member
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
government_has_flag = government_is_holy_order
|
||||
AND = { # Is a Christian Military Order member
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
AND = { # Is a Christian holy order vassal
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
government_has_flag = government_is_military_holy_order
|
||||
}
|
||||
AND = { # Is a Christian Military Order vassal
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
is_playable_character = no
|
||||
portrait_wear_armor_trigger = yes
|
||||
liege ?= { government_has_flag = government_is_holy_order }
|
||||
liege ?= { government_has_flag = government_is_military_holy_order }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -733,12 +760,12 @@ portrait_fp2_iberian_christian_clothing_trigger = {
|
|||
trigger_if = {
|
||||
limit = { exists = this }
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
capital_province ?= {
|
||||
geographical_region = world_europe_west_iberia
|
||||
}
|
||||
|
|
@ -755,12 +782,12 @@ portrait_fp2_iberian_christian_clothing_spouse_trigger = {
|
|||
CULTURE_FLAG = iberian_christian
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
capital_province ?= {
|
||||
geographical_region = world_europe_west_iberia
|
||||
}
|
||||
|
|
@ -2628,34 +2655,34 @@ portrait_war_nobles_helmet_trigger = {
|
|||
portrait_$CULTURE_INPUT$_clothing_trigger = yes
|
||||
NOR = {
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
government_has_flag = government_is_holy_order
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
government_has_flag = government_is_military_holy_order
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
is_playable_character = no
|
||||
portrait_wear_armor_trigger = yes
|
||||
liege ?= {
|
||||
government_has_flag = government_is_holy_order
|
||||
government_has_flag = government_is_military_holy_order
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
portrait_wear_armor_trigger = yes
|
||||
OR = {
|
||||
any_character_war = {
|
||||
|
|
@ -2704,34 +2731,34 @@ portrait_western_crusades_trigger = {
|
|||
exists = this
|
||||
OR = {
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
government_has_flag = government_is_holy_order
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
government_has_flag = government_is_military_holy_order
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
is_playable_character = no
|
||||
portrait_wear_armor_trigger = yes
|
||||
liege ?= {
|
||||
government_has_flag = government_is_holy_order
|
||||
government_has_flag = government_is_military_holy_order
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
OR = {
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
portrait_wear_armor_trigger = yes
|
||||
OR = {
|
||||
any_character_war = {
|
||||
|
|
@ -2754,6 +2781,25 @@ portrait_western_crusades_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
#Add culture triggers because this is only western armor... so why are we applying it elsewhere...?
|
||||
portrait_era3_armor_trigger = yes
|
||||
|
||||
OR = {
|
||||
faith = faith:roman_catholic
|
||||
portrait_commoner_armor_trigger = {
|
||||
CULTURE_INPUT = western
|
||||
}
|
||||
portrait_low_nobles_armor_trigger = {
|
||||
CULTURE_INPUT = western
|
||||
}
|
||||
portrait_high_nobles_armor_trigger = {
|
||||
CULTURE_INPUT = western
|
||||
}
|
||||
portrait_royalty_armor_trigger = {
|
||||
CULTURE_INPUT = western
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2815,6 +2861,19 @@ portrait_prisoner_trigger = {
|
|||
}
|
||||
|
||||
|
||||
# Saints count as beautified even if Beautify Deceased is off, but de-aging still needs the setting
|
||||
portrait_beautified_trigger = {
|
||||
exists = this
|
||||
OR = {
|
||||
AND = {
|
||||
is_alive = no
|
||||
should_limit_age_for_dead_portraits = yes
|
||||
}
|
||||
has_trait = saint
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
portrait_sickness_trigger = {
|
||||
exists = this
|
||||
OR = {
|
||||
|
|
@ -2859,20 +2918,31 @@ portrait_religious_devoted_trigger = {
|
|||
OR = {
|
||||
AND = {
|
||||
has_character_flag = need_priest_outfit
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
portrait_has_trait_trigger = { TRAIT = devoted }
|
||||
# Clerics with a poverty rite take the habit, because portrait_religious_high bars the priestly look
|
||||
AND = {
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
portrait_has_trait_trigger = { TRAIT = cleric }
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
OR = {
|
||||
is_ruler = no
|
||||
pam_is_clergy_ruler_trigger = yes
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
OR = {
|
||||
AND = {
|
||||
has_council_position = councillor_court_chaplain
|
||||
faith = {
|
||||
has_doctrine = doctrine_theocracy_lay_clergy
|
||||
rite = {
|
||||
rite_has_doctrine = doctrine_theocracy_lay_clergy
|
||||
}
|
||||
}
|
||||
is_theocratic_lessee = yes
|
||||
|
|
@ -2885,13 +2955,100 @@ portrait_religious_devoted_trigger = {
|
|||
}
|
||||
}
|
||||
|
||||
# Historical Latin monastic orders grouped by habit color (PAM art), in landed title scope
|
||||
# Dynamic orders have no static title key and fall back to the mixed devoted pool
|
||||
portrait_pam_black_habit_order_title_trigger = {
|
||||
OR = {
|
||||
this = title:d_benedictine_order
|
||||
this = title:d_cluniacs
|
||||
this = title:d_iberian_cluniacs
|
||||
this = title:d_eastern_cluniacs
|
||||
this = title:d_fleurians
|
||||
this = title:d_columban_benedictines
|
||||
this = title:d_sankt_gallen_benedictines
|
||||
this = title:d_maurian_benedictines
|
||||
this = title:d_ottonian_benedictines
|
||||
this = title:d_guntherian_benedictines
|
||||
this = title:d_hirsau_benedictines
|
||||
this = title:d_princely_benedictines
|
||||
this = title:d_ripollese_benedictines
|
||||
this = title:d_anianian_benedictines
|
||||
this = title:d_st_denis_benedictines
|
||||
this = title:d_corbine_benedictines
|
||||
this = title:d_gurloesian_benedictines
|
||||
this = title:d_gallic_benedictines
|
||||
this = title:d_latin_benedictines
|
||||
this = title:d_ugo_benedictines
|
||||
this = title:d_glagolitic_benedictines
|
||||
this = title:d_martinian_benedictines
|
||||
this = title:d_edgaric_benedictines
|
||||
this = title:d_pastoral_benedictines
|
||||
this = title:d_norman_benedictines
|
||||
this = title:d_augustinian_canons
|
||||
this = title:d_fontevraud_order
|
||||
this = title:d_dominicans # Blackfriars: the black template includes the black-and-white habits
|
||||
}
|
||||
}
|
||||
|
||||
portrait_pam_white_habit_order_title_trigger = {
|
||||
OR = {
|
||||
this = title:d_carthusians
|
||||
this = title:d_premonstratensians
|
||||
this = title:d_cistercians
|
||||
this = title:d_norman_cistercians
|
||||
this = title:d_baltic_cistercians
|
||||
this = title:d_iberian_cistercians
|
||||
this = title:d_eastern_cistercians
|
||||
this = title:d_eremetic_benedictines # Romualdine hermits, precursors of the white-clad Camaldolese
|
||||
}
|
||||
}
|
||||
|
||||
portrait_pam_gray_habit_order_title_trigger = {
|
||||
this = title:d_tironensians # The Grey Monks of Tiron
|
||||
}
|
||||
|
||||
portrait_pam_brown_habit_order_title_trigger = {
|
||||
OR = {
|
||||
this = title:d_vallombrosans
|
||||
this = title:d_franciscans
|
||||
this = title:d_carmelites
|
||||
# Insular abbeys: undyed wool habits
|
||||
this = title:d_ulaid_monasteries
|
||||
this = title:d_midlands_monasteries
|
||||
this = title:d_gaelic_columbans
|
||||
this = title:d_brythonic_abbeys
|
||||
this = title:d_gaelic_abbeys
|
||||
}
|
||||
}
|
||||
|
||||
portrait_pam_camaldolese_order_title_trigger = {
|
||||
this = title:d_camaldolese
|
||||
}
|
||||
|
||||
# Ruler of a historical monastic order, or a monk/nun in its court.
|
||||
portrait_pam_monastic_order_member_trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
government_has_flag = government_is_monastic_holy_order
|
||||
primary_title ?= { $ORDER_TITLE_TRIGGER$ = yes }
|
||||
}
|
||||
AND = {
|
||||
employer ?= {
|
||||
government_has_flag = government_is_monastic_holy_order
|
||||
primary_title ?= { $ORDER_TITLE_TRIGGER$ = yes }
|
||||
}
|
||||
portrait_religious_devoted_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_religious_high_trigger = {
|
||||
exists = this
|
||||
OR = {
|
||||
has_character_flag = need_priest_outfit
|
||||
is_theocratic_lessee = yes
|
||||
AND = {
|
||||
is_ruler = yes
|
||||
exists = primary_title # Check exists = primary_title instead of is_ruler, as dead characters aren't rulers
|
||||
government_has_flag = government_is_theocracy
|
||||
}
|
||||
AND = {
|
||||
|
|
@ -2903,10 +3060,97 @@ portrait_religious_high_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
# Ordained clerics dress as priests, unless they rise to lay rule
|
||||
AND = {
|
||||
portrait_has_trait_trigger = { TRAIT = cleric }
|
||||
OR = {
|
||||
is_ruler = no
|
||||
pam_is_clergy_ruler_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_is_archbishop_trigger = {
|
||||
exists = this
|
||||
exists = primary_title # Check exists = primary_title instead of is_ruler, as dead characters aren't rulers
|
||||
government_has_flag = government_is_theocracy
|
||||
OR = {
|
||||
any_held_title = {
|
||||
has_clerical_region = yes
|
||||
}
|
||||
primary_title = {
|
||||
has_clerical_region = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_is_prince_bishop_trigger = {
|
||||
exists = this
|
||||
is_landed = yes
|
||||
government_has_flag = government_is_theocracy
|
||||
any_held_title = {
|
||||
tier = tier_county
|
||||
}
|
||||
portrait_is_archbishop_trigger = no
|
||||
}
|
||||
|
||||
portrait_is_kingdom_bishop_trigger = {
|
||||
exists = this
|
||||
highest_held_title_tier < tier_county
|
||||
has_council_position = councillor_court_chaplain
|
||||
liege ?= {
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
}
|
||||
|
||||
portrait_is_cardinal_trigger = {
|
||||
exists = this
|
||||
has_pam_dlc_trigger = yes
|
||||
exists = clerical_elector_title
|
||||
portrait_religious_head_no_poverty_trigger = no
|
||||
NOT = {
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Shared with the no_cloak weight cut in 06_cloaks_special.txt
|
||||
portrait_pam_prelate_cope_trigger = {
|
||||
exists = this
|
||||
has_pam_dlc_trigger = yes
|
||||
is_female = no # The cope has no female variant
|
||||
portrait_religious_western_christian_trigger = yes
|
||||
portrait_is_cardinal_trigger = no
|
||||
NOT = {
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
portrait_religious_head_popes_trigger = yes
|
||||
AND = {
|
||||
portrait_religious_high_trigger = yes
|
||||
OR = {
|
||||
portrait_is_archbishop_trigger = yes
|
||||
portrait_is_prince_bishop_trigger = yes
|
||||
portrait_is_kingdom_bishop_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
NOR = {
|
||||
has_character_modifier = vow_of_poverty_modifier
|
||||
should_be_naked_trigger = yes
|
||||
portrait_wear_armor_trigger = yes
|
||||
AND = {
|
||||
portrait_sickness_trigger = yes
|
||||
portrait_beautified_trigger = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2914,7 +3158,7 @@ portrait_religious_high_trigger = {
|
|||
portrait_iconoclast_high_trigger = {
|
||||
exists = this
|
||||
AND = {
|
||||
faith = { has_doctrine = tenet_aniconism }
|
||||
rite = { rite_has_tenet = tenet_aniconism }
|
||||
faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion } }
|
||||
}
|
||||
OR = {
|
||||
|
|
@ -2927,8 +3171,8 @@ portrait_iconoclast_high_trigger = {
|
|||
has_council_position = councillor_court_chaplain
|
||||
}
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2973,33 +3217,41 @@ portrait_religious_high_headgear_trigger = {
|
|||
}
|
||||
}
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Includes Challenger HoFs
|
||||
portrait_religious_head_trigger = {
|
||||
exists = this
|
||||
primary_title ?= {
|
||||
is_head_of_faith = yes
|
||||
OR = {
|
||||
primary_title ?= {
|
||||
is_head_of_faith = yes
|
||||
}
|
||||
has_character_flag = antipope_flag
|
||||
}
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_religious_head_no_poverty_trigger = {
|
||||
exists = this
|
||||
primary_title ?= {
|
||||
is_head_of_faith = yes
|
||||
OR = {
|
||||
primary_title ?= {
|
||||
is_head_of_faith = yes
|
||||
}
|
||||
has_character_flag = antipope_flag
|
||||
}
|
||||
}
|
||||
|
||||
portrait_religious_head_popes_trigger = {
|
||||
exists = this
|
||||
# Every held-title check is paired with a primary_title one, as dead characters hold no titles
|
||||
OR = {
|
||||
AND = {
|
||||
OR = {
|
||||
|
|
@ -3007,13 +3259,20 @@ portrait_religious_head_popes_trigger = {
|
|||
faith = faith:roman_catholic
|
||||
}
|
||||
is_adult = yes
|
||||
primary_title ?= {
|
||||
is_head_of_faith = yes
|
||||
OR = {
|
||||
any_held_title ?= {
|
||||
is_head_of_faith = yes
|
||||
}
|
||||
primary_title ?= {
|
||||
is_head_of_faith = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
any_equipped_character_artifact = {
|
||||
has_variable = pope_hat
|
||||
}
|
||||
has_title = title:k_papal_state
|
||||
primary_title ?= title:k_papal_state
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3024,8 +3283,8 @@ portrait_religious_head_ruler_trigger = {
|
|||
}
|
||||
is_ruler = yes
|
||||
NOT = {
|
||||
faith = {
|
||||
has_doctrine_parameter = vows_of_poverty_active
|
||||
rite = {
|
||||
rite_has_parameter = vows_of_poverty_active
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3051,23 +3310,68 @@ portrait_religious_faith_or_foundational_trigger = {
|
|||
|
||||
portrait_religious_christian_trigger = {
|
||||
OR = {
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:catholic_religion
|
||||
religion = religion:protestant_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
}
|
||||
}
|
||||
|
||||
portrait_religious_catholic_trigger = {
|
||||
religion = religion:catholic_religion
|
||||
faith = {
|
||||
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:roman_catholic }
|
||||
}
|
||||
}
|
||||
|
||||
# Eastern Christian: Orthodox, Miaphysite, Church of the East, Iconoclast, Bogomilist, Paulician, Messalian, etc.
|
||||
# Rite doctrine, not faith: Chalcedonian christian_faith has rites of both traditions
|
||||
portrait_religious_orthodox_trigger = {
|
||||
OR = {
|
||||
faith = faith:chaldean
|
||||
faith = faith:greek_catholic
|
||||
religion = religion:eastern_orthodox_religion
|
||||
religion = religion:oriental_orthodox_religion
|
||||
rite = {
|
||||
rite_has_doctrine = special_doctrine_is_eastern_christian_faith
|
||||
}
|
||||
portrait_christian_faith_orthodox_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Western Christian: Catholic, Cathar, Waldensian, Lollard, Adamites, Bosnian Church, Adoptionist, Conversos, etc.
|
||||
# Rite doctrine, not faith, with a culture fallback for the doctrine-less Chalcedonian faith
|
||||
portrait_religious_western_christian_trigger = {
|
||||
OR = {
|
||||
rite = {
|
||||
rite_has_doctrine = special_doctrine_is_western_christian_faith
|
||||
}
|
||||
AND = {
|
||||
portrait_religious_christian_trigger = yes
|
||||
NOT = { portrait_religious_orthodox_trigger = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_christian_faith_orthodox_trigger = {
|
||||
AND = { # Fallback for the generic Chalcedonian christian_faith (no Western/Eastern doctrine).
|
||||
faith = faith:christian_faith
|
||||
OR = { # 867 start date
|
||||
culture = culture:greek
|
||||
culture = culture:bulgarian
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_religious_orthodox_landed_clergy_trigger = {
|
||||
exists = this
|
||||
portrait_religious_orthodox_trigger = yes
|
||||
OR = {
|
||||
is_ruler = yes
|
||||
AND = { # Vassal of a king+ ruler
|
||||
liege != root
|
||||
liege.highest_held_title_tier >= tier_empire
|
||||
is_clergy = yes
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
is_theocratic_lessee = yes
|
||||
government_has_flag = government_is_theocracy
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3083,6 +3387,33 @@ portrait_religious_muslim_trigger = {
|
|||
religion = religion:islam_religion
|
||||
}
|
||||
|
||||
portrait_western_christian_clean_shaven_clergy_trigger = {
|
||||
exists = this
|
||||
portrait_religious_western_christian_trigger = yes
|
||||
OR = {
|
||||
portrait_religious_devoted_trigger = yes
|
||||
portrait_religious_high_trigger = yes
|
||||
portrait_religious_high_no_poverty_trigger = yes
|
||||
}
|
||||
NOT = { has_trait = order_member }
|
||||
}
|
||||
|
||||
# Used by the +200 weight entries in 01_beards_base.txt
|
||||
should_always_have_beard_trigger = {
|
||||
OR = {
|
||||
scope:faith.religion = religion:islam_religion
|
||||
is_culture_or_descended_from_trigger = { CULTURE = culture:emishi }
|
||||
AND = {
|
||||
portrait_religious_orthodox_trigger = yes
|
||||
OR = {
|
||||
portrait_religious_devoted_trigger = yes
|
||||
portrait_religious_high_trigger = yes
|
||||
portrait_religious_high_no_poverty_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
portrait_religious_norse_trigger = {
|
||||
religion = religion:folkgerman_religion
|
||||
}
|
||||
|
|
@ -3106,8 +3437,7 @@ portrait_religious_sami_trigger = {
|
|||
|
||||
portrait_religious_emishi_trigger = {
|
||||
has_cp7_dlc_trigger = yes
|
||||
always = no
|
||||
# religion = religion:kamuyism_religion
|
||||
religion = religion:kamuyism_religion
|
||||
}
|
||||
portrait_religious_shamanism_trigger = {
|
||||
# technically this just makes it so shamanists wear vanilla steppe religious clothing so probably doesn't need a dlc check
|
||||
|
|
@ -3129,7 +3459,7 @@ portrait_religious_steppe_trigger = {
|
|||
# religion = religion:tani_religion
|
||||
religion = religion:mediterranean_religion
|
||||
# faith = {
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:old_bon }
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:bon_faith }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
|
@ -3138,7 +3468,7 @@ portrait_religious_buddhist_trigger = {
|
|||
OR = {
|
||||
religion = religion:buddhism_religion
|
||||
# faith = {
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:bon }
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:bon_faith }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
|
@ -3161,7 +3491,7 @@ portrait_religious_zoroastrian_trigger = {
|
|||
# religion = religion:yazidi_religion
|
||||
# religion = religion:zunism_religion
|
||||
# faith = {
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mandeaism }
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mandaean_faith }
|
||||
# }
|
||||
# religion = religion:dualism_religion
|
||||
# religion = religion:basque_religion
|
||||
|
|
@ -3362,6 +3692,39 @@ use_longsword_default_trigger = {
|
|||
culture = { has_cultural_pillar = heritage_japonic }
|
||||
}
|
||||
|
||||
royal_councillor_or_regent_trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
is_councillor = yes
|
||||
liege = {
|
||||
OR = {
|
||||
AND = {
|
||||
is_independent_ruler = yes
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
}
|
||||
tgp_is_ceremonial_liege_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
tgp_is_ceremonial_regent_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
korea_high_rank_trigger = {
|
||||
merit_level >= 5
|
||||
}
|
||||
|
||||
korea_mid_rank_trigger = {
|
||||
OR = {
|
||||
merit_level = 4
|
||||
merit_level = 3
|
||||
}
|
||||
}
|
||||
|
||||
korea_low_rank_trigger = {
|
||||
merit_level <= 2
|
||||
}
|
||||
|
||||
### N3OW triggers ###
|
||||
|
||||
artifact_visual_after_death_trigger = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue