idk why I dont have a cursor

This commit is contained in:
Magpie490 2025-06-02 16:22:24 +01:00
parent 64c9d3694d
commit e22f5e5844
59 changed files with 14361 additions and 7042 deletions

View file

@ -126,7 +126,12 @@ portrait_wear_armor_trigger = {
}
}
}
NOT = { has_any_charioteer_trait = yes }
NOT = {
OR = {
has_court_position = court_astrologer_court_position
has_any_charioteer_trait = yes
}
}
portrait_ep2_wedding_clothes_trigger = no
trigger_if = {
limit = { portrait_sickness_trigger = yes }
@ -271,6 +276,7 @@ portrait_wear_helmet_trigger = { # Different from Armor, as Kings and Emperors s
}
is_incapable = no
is_imprisoned = no
NOT = { has_court_position = court_astrologer_court_position }
trigger_if = {
limit = { portrait_sickness_trigger = yes }
is_in_army = yes
@ -394,6 +400,52 @@ is_dwarf_height = {
}
}
should_use_fat_animation = {
OR = {
AND = { # Dwarf not fat
scope:current_weight <= 40
is_dwarf_height = yes
}
AND = { # Fat non dwarf
scope:current_weight >= 40
is_dwarf_height = no
}
AND = { # Pregnant non dwarf
portrait_has_trait_trigger = { TRAIT = pregnant }
is_dwarf_height = no
}
}
}
should_use_fat_dwarf_animation = {
# Fat dwarf
scope:current_weight >= 40
is_dwarf_height = yes
}
should_use_pregnant_animation = {
portrait_has_trait_trigger = { TRAIT = pregnant }
scope:current_weight <= 40
is_dwarf_height = no
}
should_use_fat_pregnant_animation = {
portrait_has_trait_trigger = { TRAIT = pregnant }
OR = {
scope:current_weight >= 40
AND = {
is_dwarf_height = yes
scope:current_weight <= 40
}
}
}
should_use_fat_dwarf_pregnant_animation = {
portrait_has_trait_trigger = { TRAIT = pregnant }
is_dwarf_height = yes
scope:current_weight >= 40
}
portrait_shared_clothing_contents_trigger = {
trigger_if = {
limit = { exists = top_liege.var:adopted_cultural_style }
@ -637,7 +689,10 @@ portrait_fp3_iranian_clothing_spouse_trigger = {
#turkic
portrait_fp3_turkic_clothing_trigger = {
has_fp3_dlc_trigger = yes
OR = {
has_fp3_dlc_trigger = yes
has_mpo_dlc_trigger = yes
}
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = turkic
@ -645,7 +700,24 @@ portrait_fp3_turkic_clothing_trigger = {
}
portrait_fp3_turkic_clothing_spouse_trigger = {
has_fp3_dlc_trigger = yes
OR = {
has_fp3_dlc_trigger = yes
has_mpo_dlc_trigger = yes
}
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = culture
CULTURE_FLAG = turkic
}
}
portrait_turkic_clothing_trigger = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = turkic
}
}
portrait_turkic_clothing_spouse_trigger = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = culture
CULTURE_FLAG = turkic
@ -869,20 +941,6 @@ portrait_rus_clothing_spouse_trigger = {
}
}
portrait_turkic_clothing_trigger = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = scope:culture
CULTURE_FLAG = turkic
}
}
portrait_turkic_clothing_spouse_trigger = {
portrait_shared_clothing_contents_trigger = {
CULTURE_SCOPE = culture
CULTURE_FLAG = turkic
}
}
portrait_can_use_noble_headgear_trigger = {
NAND = {
portrait_has_trait_trigger = { TRAIT = peasant_leader }
@ -1068,19 +1126,20 @@ portrait_commoner_trigger = {
government_has_flag = government_is_landless_adventurer
has_realm_law = camp_purpose_scholars
}
government_has_flag = government_is_herder
}
NOR = {
portrait_high_nobles_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
portrait_royalty_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
portrait_imperial_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
portrait_low_nobles_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
}
trigger_if = {
@ -1107,10 +1166,10 @@ portrait_commoner_trigger = {
liege ?= {
highest_held_title_tier >= tier_duchy
}
OR = {
OR = {
has_council_position = councillor_chancellor
has_council_position = councillor_steward
}
}
}
}
trigger_if = {
@ -1140,11 +1199,12 @@ portrait_commoner_no_mayors_trigger = {
government_has_flag = government_is_landless_adventurer
has_realm_law = camp_purpose_scholars
}
government_has_flag = government_is_herder
}
trigger_if = {
limit = { exists = this } # To check if this is an actual character
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_spouse ?= {
AND = {
highest_held_title_tier > tier_county
@ -1190,13 +1250,13 @@ portrait_low_nobles_trigger = {
}
NOR = {
portrait_imperial_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
portrait_royalty_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
portrait_high_nobles_trigger = {
CULTURE_INPUT = $CULTURE_INPUT$
CULTURE_INPUT = $CULTURE_INPUT$
}
}
OR = {
@ -1208,11 +1268,11 @@ portrait_low_nobles_trigger = {
liege ?= {
highest_held_title_tier >= tier_duchy
}
OR = {
OR = {
has_council_position = councillor_chancellor
has_council_position = councillor_steward
}
portrait_$CULTURE_INPUT$_clothing_trigger = yes
}
portrait_$CULTURE_INPUT$_clothing_trigger = yes
}
AND = { # Courtiers
highest_held_title_tier < tier_county
@ -1242,8 +1302,9 @@ portrait_low_nobles_trigger = {
highest_held_title_tier = tier_county
}
NOR = {
government_has_flag = government_is_herder
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1272,7 +1333,7 @@ portrait_low_nobles_trigger = {
}
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1319,7 +1380,7 @@ portrait_high_nobles_trigger = {
OR = {
highest_held_title_tier >= tier_duchy # Most cultures do not have specific clothes for royalty and imperial tier, so we use the high nobility for anything from duke/duchess and up
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1353,7 +1414,7 @@ portrait_high_nobles_trigger = {
OR = {
highest_held_title_tier >= tier_duchy
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1388,6 +1449,7 @@ portrait_high_nobles_trigger = {
}
}
AND = { # Family members of rulers
highest_held_title_tier <= tier_duchy
any_close_family_member = {
is_ruler = yes
highest_held_title_tier > tier_duchy
@ -1418,7 +1480,7 @@ portrait_high_nobles_headgear_trigger = {
OR = {
highest_held_title_tier = tier_duchy
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_county
}
AND = {
@ -1451,7 +1513,7 @@ portrait_high_nobles_headgear_trigger = {
OR = {
highest_held_title_tier = tier_duchy
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_county
}
AND = {
@ -1485,6 +1547,7 @@ portrait_high_nobles_headgear_trigger = {
}
}
AND = { # Family members of rulers
highest_held_title_tier <= tier_duchy
any_close_family_member = {
is_ruler = yes
highest_held_title_tier > tier_duchy
@ -1500,7 +1563,7 @@ portrait_high_nobles_headgear_trigger = {
highest_held_title_tier >= tier_kingdom
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1510,7 +1573,7 @@ portrait_high_nobles_headgear_trigger = {
}
portrait_$CULTURE_INPUT$_clothing_trigger = yes
}
}
}
}
portrait_royalty_trigger = {
@ -1522,7 +1585,7 @@ portrait_royalty_trigger = {
highest_held_title_tier = tier_kingdom
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1544,7 +1607,7 @@ portrait_royalty_trigger = {
highest_held_title_tier = tier_kingdom
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1563,7 +1626,7 @@ portrait_royalty_trigger = {
highest_held_title_tier >= tier_kingdom
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1615,7 +1678,7 @@ portrait_royalty_african_headgear_trigger = {
}
}
}
NOT = { government_has_flag = government_is_republic }
NOT = { government_has_flag = government_is_special_republic }
OR = {
portrait_african_clothing_trigger = yes
AND = {
@ -1653,7 +1716,7 @@ portrait_royalty_african_headgear_trigger = {
has_realm_law = camp_purpose_legitimists
}
}
NOT = { government_has_flag = government_is_republic }
NOT = { government_has_flag = government_is_special_republic }
OR = {
portrait_african_clothing_spouse_trigger = yes
AND = {
@ -1684,7 +1747,7 @@ portrait_imperial_trigger = {
highest_held_title_tier = tier_empire
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1705,7 +1768,7 @@ portrait_imperial_trigger = {
highest_held_title_tier = tier_empire
NOR = {
AND = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
primary_title.tier > tier_barony
}
AND = {
@ -1744,7 +1807,7 @@ portrait_imperial_nobles_headgear_trigger = {
is_ruler = yes
government_has_flag = government_is_landless_adventurer
}
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
AND = {
is_ruler = yes
government_has_flag = government_is_theocracy
@ -2000,6 +2063,22 @@ portrait_beggar_trigger = {
}
}
}
trigger_if = {
limit = {
is_married = yes
}
NOT = {
any_consort = {
OR = {
is_landed = yes
AND = {
government_has_flag = government_is_nomadic
is_ruler = yes
}
}
}
}
}
}
@ -2036,7 +2115,7 @@ portrait_mayor_trigger = {
portrait_mayor_headgear_trigger = {
exists = this
highest_held_title_tier < tier_county
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
portrait_$CULTURE_INPUT$_clothing_trigger = yes
}
@ -2181,17 +2260,9 @@ portrait_religious_head_popes_trigger = {
exists = this
OR = {
AND = {
faith = faith:roman_catholic
faith = faith:catholic
is_adult = yes
religion = religion:catholic_religion
primary_title ?= {
is_head_of_faith = yes
}
}
AND = {
faith = faith:sevillian
is_adult = yes
religion = religion:catholic_religion
religion = religion:christianity_religion
primary_title ?= {
is_head_of_faith = yes
}
@ -2242,25 +2313,8 @@ portrait_religious_christian_trigger = {
}
portrait_religious_catholic_trigger = {
OR = {
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:roman_catholic }
}
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:sevillian }
}
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:celtic }
}
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:iberian }
}
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:orleaniste }
}
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:teutonic }
}
faith = {
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:catholic }
}
}
@ -2377,7 +2431,7 @@ portrait_religious_african_trigger = {
portrait_reichskrone_trigger = {
exists = this
AND = {
OR = {
has_primary_title = title:e_hre
any_equipped_character_artifact = {
has_variable = reichskrone
@ -2411,9 +2465,9 @@ portrait_ep2_western_travel_cloak_trigger = {
# thou shalt shed thy cloak whilst at an activity
trigger_if = {
limit = {
involved_activity ?= {
involved_activity ?= {
NOR = {
has_activity_type = activity_hunt
has_activity_type = activity_hunt
has_activity_type = activity_roaming
}
}
@ -2446,9 +2500,9 @@ portrait_ep2_mena_travel_cloak_trigger = {
# thou shalt shed thy cloak whilst at an activity
trigger_if = {
limit = {
involved_activity ?= {
involved_activity ?= {
NOR = {
has_activity_type = activity_hunt
has_activity_type = activity_hunt
has_activity_type = activity_roaming
}
}
@ -2535,5 +2589,3 @@ portrait_ep2_wedding_clothes_trigger = {
}
### General headgear triggers ###