Yay things work now

This commit is contained in:
Heidesommer 2026-05-20 04:02:41 -04:00
parent 294570f0f6
commit 719ab62dc9
25 changed files with 5584 additions and 5210 deletions

View file

@ -2910,9 +2910,9 @@ accolade_knight_of_god = {
scope:accolade_type = { scope:accolade_type = {
type_has_accolade_category = defensive type_has_accolade_category = defensive
} }
NOT = { # NOT = {
faith.religion = religion:west_african_roog_religion # faith.religion = religion:west_african_roog_religion
} # }
} }
desc = accolade_health_god desc = accolade_health_god
} }

View file

@ -5288,9 +5288,9 @@ palace_of_ctesiphon_02 = {
AND = { AND = {
OR = { OR = {
zoroastrian_or_syncretic_with_eastern_trigger = { CHARACTER = scope:holder } zoroastrian_or_syncretic_with_eastern_trigger = { CHARACTER = scope:holder }
faith = faith:manichean # faith = faith:manichean
faith = faith:nestorian # faith = faith:nestorian
faith = faith:hellenic_pagan # faith = faith:hellenic_pagan
} }
highest_held_title_tier >= tier_kingdom highest_held_title_tier >= tier_kingdom
top_liege = this top_liege = this

View file

@ -2731,25 +2731,25 @@ learn_language_interaction = {
} }
} }
modifier = { # Nestorian clergy/pious people want to learn aramaic # modifier = { # Nestorian clergy/pious people want to learn aramaic
add = 50 # add = 50
scope:actor = { # scope:actor = {
faith = faith:nestorian # faith = faith:nestorian
OR = { # OR = {
has_trait = zealous # has_trait = zealous
has_trait = humble # has_trait = humble
is_clergy = yes # is_clergy = yes
} # }
NOT = { # NOT = {
knows_language = language_aramaic # knows_language = language_aramaic
} # }
} # }
scope:recipient = { # scope:recipient = {
culture = { # culture = {
has_cultural_pillar = language_aramaic # has_cultural_pillar = language_aramaic
} # }
} ## }
} ## }
modifier = { modifier = {
add = 20 add = 20

View file

@ -355,8 +355,7 @@ RandomSaint = { # Used for statue artifact
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:orthodox religion = religion:eastern_orthodox_religion
faith = faith:nestorian
} }
} }
localization_key = west_christian_fertility_god_name localization_key = west_christian_fertility_god_name
@ -366,8 +365,7 @@ RandomSaint = { # Used for statue artifact
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:orthodox religion = religion:eastern_orthodox_religion
faith = faith:nestorian
} }
} }
localization_key = west_christian_wealth_god_name localization_key = west_christian_wealth_god_name
@ -377,8 +375,7 @@ RandomSaint = { # Used for statue artifact
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:orthodox religion = religion:eastern_orthodox_religion
faith = faith:nestorian
} }
} }
localization_key = west_christian_household_god_name localization_key = west_christian_household_god_name
@ -388,8 +385,7 @@ RandomSaint = { # Used for statue artifact
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:orthodox religion = religion:eastern_orthodox_religion
faith = faith:nestorian
} }
} }
localization_key = west_christian_knowledge_god_name localization_key = west_christian_knowledge_god_name
@ -399,8 +395,7 @@ RandomSaint = { # Used for statue artifact
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:orthodox religion = religion:eastern_orthodox_religion
faith = faith:nestorian
} }
} }
localization_key = west_christian_war_god_name localization_key = west_christian_war_god_name
@ -410,8 +405,7 @@ RandomSaint = { # Used for statue artifact
trigger = { trigger = {
OR = { OR = {
religion = religion:catholic_religion religion = religion:catholic_religion
faith = faith:orthodox religion = religion:eastern_orthodox_religion
faith = faith:nestorian
} }
} }
localization_key = west_christian_water_god_name localization_key = west_christian_water_god_name

View file

@ -746,9 +746,9 @@ GetCoronationSite = {
text = { # Palatine Chapel in Aachen text = { # Palatine Chapel in Aachen
trigger = { trigger = {
OR = { OR = {
faith.religion = religion:eastern_orthodox_religion religion = religion:eastern_orthodox_religion
faith.religion = religion:catholic_religion religion = religion:catholic_religion
faith.religion = religion:protestant_religion religion = religion:protestant_religion
} }
has_special_building = yes has_special_building = yes
has_building_or_higher = palace_of_aachen_01 has_building_or_higher = palace_of_aachen_01
@ -758,7 +758,11 @@ GetCoronationSite = {
text = { # Hagia Sophia text = { # Hagia Sophia
trigger = { trigger = {
religion = religion:christianity_religion OR = {
religion = religion:eastern_orthodox_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
}
has_special_building = yes has_special_building = yes
has_building = hagia_sophia_01 has_building = hagia_sophia_01
} }
@ -776,7 +780,11 @@ GetCoronationSite = {
text = { # Church of the Holy Sepulchre text = { # Church of the Holy Sepulchre
trigger = { trigger = {
religion = religion:christianity_religion OR = {
religion = religion:eastern_orthodox_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
}
has_special_building = yes has_special_building = yes
OR = { OR = {
has_building_or_higher = dome_of_the_rock_01 has_building_or_higher = dome_of_the_rock_01
@ -788,7 +796,11 @@ GetCoronationSite = {
text = { # Wawel Cathedral text = { # Wawel Cathedral
trigger = { trigger = {
religion = religion:christianity_religion OR = {
religion = religion:eastern_orthodox_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
}
this.barony = title:b_krakow this.barony = title:b_krakow
} }
localization_key = CoronationSiteWawelCathedral localization_key = CoronationSiteWawelCathedral
@ -796,7 +808,11 @@ GetCoronationSite = {
text = { # Westminster Abbey text = { # Westminster Abbey
trigger = { trigger = {
religion = religion:christianity_religion OR = {
religion = religion:eastern_orthodox_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
}
has_special_building = yes has_special_building = yes
has_building_or_higher = the_tower_of_london_01 has_building_or_higher = the_tower_of_london_01
} }

View file

@ -1,4 +1,17 @@
### Found Holy Order ###
create_holy_order_decision = { create_holy_order_decision = {
picture = {
trigger = {
culture = { has_graphical_east_asia_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/holding_types/tgp_chinese_pagoda.dds"
}
picture = {
trigger = {
culture = { has_graphical_india_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/holding_types/tgp_castle_se_asia.dds"
}
picture = { picture = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
} }
@ -8,7 +21,10 @@ create_holy_order_decision = {
is_shown = { is_shown = {
is_landed = yes is_landed = yes
NOT = { NOR = {
faith = {
has_doctrine = special_doctrine_immaterial_harmony
}
faith = { faith = {
any_faith_holy_order = { any_faith_holy_order = {
holy_order_patron = root holy_order_patron = root
@ -16,12 +32,6 @@ create_holy_order_decision = {
} }
} }
} }
#trigger_if = {
# limit = { faith = { has_doctrine_parameter = no_holy_orders_til_hof } }
# exists = faith.religious_head
#}
# Jomsvikings should use their special decision if appropriate. # Jomsvikings should use their special decision if appropriate.
trigger_if = { trigger_if = {
limit = { has_fp1_dlc_trigger = yes } limit = { has_fp1_dlc_trigger = yes }
@ -83,19 +93,6 @@ create_holy_order_decision = {
} }
is_valid = { is_valid = {
trigger_if = {
limit = {
faith = {
has_doctrine = doctrine_holy_order_head
NOT = {
exists = religious_head
}
}
}
can_create_head_of_faith_title_trigger = {
FAITH = this.faith
}
}
trigger_if = { trigger_if = {
limit = { limit = {
any_character_struggle = { any_character_struggle = {
@ -123,7 +120,7 @@ create_holy_order_decision = {
trigger_if = { trigger_if = {
limit = { limit = {
exists = faith.religious_head exists = faith.religious_head
NOT = { root = root.faith.religious_head } root != root.faith.religious_head
} }
faith.religious_head = { faith.religious_head = {
opinion = { opinion = {
@ -151,7 +148,22 @@ create_holy_order_decision = {
} }
cost = { cost = {
gold = { gold = {
value = holy_order_gold_cost value = 0
if = {
limit = {
has_treasury = no
}
add = holy_order_gold_cost
}
}
treasury = {
value = 0
if = {
limit = {
has_treasury = yes
}
add = holy_order_gold_cost
}
} }
piety = { piety = {
value = holy_order_piety_cost value = holy_order_piety_cost
@ -167,7 +179,7 @@ create_holy_order_decision = {
} }
hidden_effect = { hidden_effect = {
if = { if = {
limit = { NOT = { scope:barony.holder = root } } limit = { scope:barony.holder != root }
create_title_and_vassal_change = { create_title_and_vassal_change = {
type = leased_out type = leased_out
save_scope_as = change save_scope_as = change
@ -195,46 +207,16 @@ create_holy_order_decision = {
NEW_HO_SCOPE = new_holy_order NEW_HO_SCOPE = new_holy_order
FOUNDER = root FOUNDER = root
} }
#if a ho_hof faith creates a ho and they don't have a hof yet, make it their hof
if = {
limit = {
faith = {
has_doctrine = doctrine_holy_order_head
NOT = {
exists = religious_head
}
}
}
faith = {
set_religious_head_title = scope:new_holy_order.title
create_head_of_faith_title_effect = yes
#TODO add events to inform faithful
}
}
} }
create_holy_order_effect = yes create_holy_order_effect = yes
} }
ai_potential = { ai_potential = {
OR = {
highest_held_title_tier >= tier_kingdom highest_held_title_tier >= tier_kingdom
AND = {
highest_held_title_tier >= tier_duchy
faith = {
has_doctrine = doctrine_holy_order_head
NOT = {
exists = religious_head
}
}
}
}
is_playable_character = yes is_playable_character = yes
OR = { OR = {
any_held_title = { any_held_title = {
tier = tier_barony title_tier = barony
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root } barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = root }
} }
any_vassal = { any_vassal = {
@ -258,18 +240,35 @@ create_holy_order_decision = {
} }
} }
} }
modifier = {
government_has_flag = government_is_mandala
add = -150
}
} }
} }
### Borrow Gold from Holy Order ###
borrow_from_holy_order_decision = { #by Linnéa Thimrén borrow_from_holy_order_decision = { #by Linnéa Thimrén
picture = {
trigger = {
culture = { has_graphical_india_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/decisions/hindu_religious.dds"
}
picture = { picture = {
reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds" reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds"
} }
desc = borrow_from_holy_order_decision_desc desc = borrow_from_holy_order_decision_desc
selection_tooltip = borrow_from_holy_order_decision_tooltip selection_tooltip = borrow_from_holy_order_decision_tooltip
ai_check_interval = 72 ai_check_interval_by_tier = {
barony = 0
county = 72
duchy = 72
kingdom = 72
empire = 72
hegemony = 72
}
cost = { cost = {
piety = 50 piety = 50
@ -281,10 +280,9 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
is_playable_character = yes is_playable_character = yes
highest_held_title_tier > tier_barony highest_held_title_tier > tier_barony
faith = { faith = {
any_faith_holy_order = { #Your faith must have a Holy Order any_faith_holy_order = { count >= 1 } #Your faith must have a Holy Order
always = yes
}
} }
# cannot already have a loan - keep it simple
NOR = { NOR = {
exists = var:loan_amount_owed exists = var:loan_amount_owed
exists = var:loan_holder exists = var:loan_holder
@ -299,6 +297,9 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
any_faith_holy_order = { any_faith_holy_order = {
leader = { leader = {
gold >= holy_order_gold_value gold >= holy_order_gold_value
NOT = {
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
}
} }
} }
} }
@ -307,30 +308,23 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
effect = { effect = {
hidden_effect = { hidden_effect = {
set_variable = {
name = amount_to_loan
value = holy_order_gold_value
days = 1
}
add_character_flag = {
flag = borrow_from_holy_order
days = 3560
}
faith = { faith = {
random_faith_holy_order = { random_faith_holy_order = {
limit = { limit = {
leader = { gold >= holy_order_gold_value }
}
leader = { leader = {
save_scope_as = recipient gold >= holy_order_gold_value
NOT = {
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
} }
}
}
leader = { save_scope_as = recipient }
save_scope_as = order save_scope_as = order
} }
} }
trigger_event = holy_order.0200 trigger_event = holy_order.0200
} }
custom_tooltip = borrow_from_holy_order_decision_effect_tooltip custom_tooltip = borrow_from_holy_order_decision_effect_tooltip
} }
ai_potential = { ai_potential = {
@ -348,7 +342,14 @@ borrow_from_holy_order_decision = { #by Linnéa Thimrén
} }
} }
### Revoke Holy Order Lease ###
cancel_holy_order_lease_decision = { cancel_holy_order_lease_decision = {
picture = {
trigger = {
culture = { has_graphical_india_culture_group_trigger = yes }
}
reference = "gfx/interface/illustrations/decisions/hindu_soldiers.dds"
}
picture = { picture = {
reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
} }
@ -369,17 +370,22 @@ cancel_holy_order_lease_decision = {
} }
} }
ai_check_interval = 36 ai_check_interval_by_tier = {
barony = 0
county = 36
duchy = 36
kingdom = 36
empire = 36
hegemony = 36
}
is_shown = { is_shown = {
is_landless_adventurer = no is_landless_adventurer = no
is_playable_character = yes is_playable_character = yes
any_sub_realm_barony = { any_sub_realm_barony = {
barony_is_valid_for_holy_order_lease_cancellation_trigger = yes barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = root }
county.holder = root
} }
} }
widget = { widget = {
@ -387,7 +393,7 @@ cancel_holy_order_lease_decision = {
barony_valid = { barony_valid = {
trigger_if = { trigger_if = {
limit = { exists = this } limit = { exists = this }
barony_is_valid_for_holy_order_lease_cancellation_trigger = yes barony_is_valid_for_holy_order_lease_cancellation_trigger = { ACTOR = root }
} }
trigger_else = { trigger_else = {
custom_description = { custom_description = {
@ -403,19 +409,6 @@ cancel_holy_order_lease_decision = {
is_at_war = no is_at_war = no
} }
cost = {
piety = {
value = 0
if = {
limit = {
exists = scope:barony
scope:barony.lessee.faith = root.faith
}
add = cancel_holy_order_piety_cost
}
}
}
effect = { effect = {
revoke_holy_order_lease_effect = { revoke_holy_order_lease_effect = {
CHARACTER = root CHARACTER = root
@ -435,7 +428,7 @@ cancel_holy_order_lease_decision = {
#every_ruler = { #every_ruler = {
# limit = { # limit = {
# faith = scope:holy_order_creator.faith # faith = scope:holy_order_creator.faith
# NOT = { this = scope:holy_order_creator } # this != scope:holy_order_creator
# } # }
# send_interface_message = { # send_interface_message = {
# type = holy_order_founded_message # type = holy_order_founded_message
@ -446,7 +439,7 @@ cancel_holy_order_lease_decision = {
#} #}
#every_neighboring_top_liege_realm_owner = { #every_neighboring_top_liege_realm_owner = {
# limit = { # limit = {
# NOT = { faith = scope:holy_order_creator.faith } # faith != scope:holy_order_creator.faith
# } # }
# send_interface_message = { # send_interface_message = {
# type = enemy_holy_order_founded_message # type = enemy_holy_order_founded_message
@ -459,26 +452,11 @@ cancel_holy_order_lease_decision = {
} }
ai_potential = { ai_potential = {
OR = {
faith:principlist.religious_head_title = { title_held_years > 0 }
AND = {
is_landed = yes
highest_held_title_tier >= tier_county
any_sub_realm_barony = {
county.holder = { is_ai = yes }
is_under_holy_order_lease = yes
}
}
AND = {
is_playable_character = yes is_playable_character = yes
highest_held_title_tier >= tier_county highest_held_title_tier >= tier_county
any_sub_realm_barony = { any_sub_realm_barony = {
county.holder = { is_ai = yes } county.holder = { is_ai = yes }
is_under_holy_order_lease = yes is_under_holy_order_lease = yes
}
}
} }
} }
@ -488,9 +466,7 @@ cancel_holy_order_lease_decision = {
modifier = { modifier = {
add = 100 add = 100
exists = scope:barony.lessee exists = scope:barony.lessee
NOT = { scope:barony.lessee.faith != root.faith
scope:barony.lessee.faith = root.faith
}
} }
# Revoke if cynical # Revoke if cynical
modifier = { modifier = {
@ -504,10 +480,6 @@ cancel_holy_order_lease_decision = {
} }
} }
} }
#but don't revoke your HoF!
NOT = {
root.faith.religious_head = scope:barony.lessee
}
} }
} }
} }

View file

@ -52,7 +52,7 @@ restore_european_union_decision = {
has_government = administrative_government has_government = administrative_government
} }
any_held_title = { any_held_title = {
region = world_europe geographical_region = world_europe
} }
} }

View file

@ -3998,25 +3998,25 @@
multiply = faith_unchanged_doctrine_cost_mult multiply = faith_unchanged_doctrine_cost_mult
} }
# Multiplier for traditional mountain-based religions or faiths. # Multiplier for traditional mountain-based religions or faiths.
if = { # if = {
limit = { # limit = {
OR = { # OR = {
this = faith:bosnian_church # this = faith:bosnian_church
this = faith:armenian_apostolic # this = faith:armenian_apostolic
this = faith:lamaism # this = faith:lamaism
this = faith:vajrayana # this = faith:vajrayana
this = faith:mahayana # this = faith:mahayana
this = faith:haymanot # this = faith:haymanot
religion = religion:basque_religion # religion = religion:basque_religion
religion = religion:kushitism_religion # religion = religion:kushitism_religion
religion = religion:zunism_religion # religion = religion:zunism_religion
religion = religion:tani_religion # religion = religion:tani_religion
religion = religion:qiangic_religion # religion = religion:qiangic_religion
religion = religion:bon_religion # religion = religion:bon_religion
} # }
} # }
multiply = faith_tenet_discount_mountain_background_value # multiply = faith_tenet_discount_mountain_background_value
} # }
} }
is_shown = { always = yes } is_shown = { always = yes }

View file

@ -829,27 +829,27 @@ is_valid_heresy = {
#Depending on the origin faith's religion/religion group, there may have additional requirements for a heresy to be considered valid. #Depending on the origin faith's religion/religion group, there may have additional requirements for a heresy to be considered valid.
OR = { OR = {
#For Christian Faiths, the origin and heretical faiths must not both be Ecumenical (excepting the faiths which aren't technically ecumenical). #For Christian Faiths, the origin and heretical faiths must not both be Ecumenical (excepting the faiths which aren't technically ecumenical).
AND = { # AND = {
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } # OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
NAND = { # NAND = {
$ORIGIN_FAITH$ = { # $ORIGIN_FAITH$ = {
has_doctrine = special_doctrine_ecumenical_christian # has_doctrine = special_doctrine_ecumenical_christian
OR = { # OR = {
this = faith:insular_celtic # this = faith:insular_celtic
this = faith:bosnian_church # this = faith:bosnian_church
this = faith:mozarabic_church # this = faith:mozarabic_church
} # }
} # }
$HERETICAL_FAITH$ = { # $HERETICAL_FAITH$ = {
has_doctrine = special_doctrine_ecumenical_christian # has_doctrine = special_doctrine_ecumenical_christian
OR = { # OR = {
this = faith:insular_celtic # this = faith:insular_celtic
this = faith:bosnian_church # this = faith:bosnian_church
this = faith:mozarabic_church # this = faith:mozarabic_church
} # }
} # }
} # }
} # }
AND = { #FP3: for Zoroastrianism, Bedhin faiths are never heresies of each other AND = { #FP3: for Zoroastrianism, Bedhin faiths are never heresies of each other
religion_tag = zoroastrianism_religion religion_tag = zoroastrianism_religion
NAND = { NAND = {

View file

@ -11,3 +11,7 @@ doctrine_is_spiritual_type = {
has_doctrine = doctrine_holy_order_head has_doctrine = doctrine_holy_order_head
} }
} }
has_locked_hof = {
always = no
}

View file

@ -14029,12 +14029,12 @@ crusader_king = {
trigger = { NOT = { exists = this } } trigger = { NOT = { exists = this } }
desc = trait_crusader_king_fallback_desc desc = trait_crusader_king_fallback_desc
} }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = faith:nestorian # faith = faith:nestorian
} # }
desc = beth_nahrain_crusader_desc # desc = beth_nahrain_crusader_desc
} # }
triggered_desc = { triggered_desc = {
trigger = { is_female = yes } trigger = { is_female = yes }
desc = trait_crusader_king_female_desc desc = trait_crusader_king_female_desc
@ -14049,12 +14049,12 @@ crusader_king = {
trigger = { NOT = { exists = this } } trigger = { NOT = { exists = this } }
desc = trait_crusader_king_fallback_dead desc = trait_crusader_king_fallback_dead
} }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = faith:nestorian # faith = faith:nestorian
} # }
desc = nick_beth_nahrain # desc = nick_beth_nahrain
} # }
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } } faith = { OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion } }
@ -14070,117 +14070,117 @@ crusader_king = {
trigger = { faith = { religion_tag = islam_religion } } trigger = { faith = { religion_tag = islam_religion } }
desc = trait_crusader_king_islam desc = trait_crusader_king_islam
} }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = { religion_tag = bon_religion } # faith = { religion_tag = bon_religion }
is_female = yes # is_female = yes
} # }
desc = trait_crusader_king_bon_female # desc = trait_crusader_king_bon_female
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = bon_religion } } # trigger = { faith = { religion_tag = bon_religion } }
desc = trait_crusader_king_bon_male # desc = trait_crusader_king_bon_male
} # }
triggered_desc = { triggered_desc = {
trigger = { faith = { religion_tag = buddhism_religion } } trigger = { faith = { religion_tag = buddhism_religion } }
desc = trait_crusader_king_buddhism desc = trait_crusader_king_buddhism
} }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = dualism_religion } } # trigger = { faith = { religion_tag = dualism_religion } }
desc = trait_crusader_king_dualism # desc = trait_crusader_king_dualism
} # }
triggered_desc = { triggered_desc = {
trigger = { faith = { religion_tag = folkgerman_religion } } trigger = { faith = { religion_tag = folkgerman_religion } }
desc = trait_crusader_king_germanic desc = trait_crusader_king_germanic
} }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = { religion_tag = hellenism_religion } # faith = { religion_tag = hellenism_religion }
is_female = yes # is_female = yes
} # }
desc = trait_crusader_king_hellenism_female # desc = trait_crusader_king_hellenism_female
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = hellenism_religion } } # trigger = { faith = { religion_tag = hellenism_religion } }
desc = trait_crusader_king_hellenism_male # desc = trait_crusader_king_hellenism_male
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = hinduism_religion } } # trigger = { faith = { religion_tag = hinduism_religion } }
desc = trait_crusader_king_hinduism # desc = trait_crusader_king_hinduism
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = jainism_religion } } # trigger = { faith = { religion_tag = jainism_religion } }
desc = trait_crusader_king_jainism # desc = trait_crusader_king_jainism
} # }
triggered_desc = { triggered_desc = {
trigger = { faith = { religion_tag = judaism_religion } } trigger = { faith = { religion_tag = judaism_religion } }
desc = trait_crusader_king_judaism desc = trait_crusader_king_judaism
} }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = magyar_religion } } # trigger = { faith = { religion_tag = magyar_religion } }
desc = trait_crusader_king_magyar # desc = trait_crusader_king_magyar
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = baltic_religion } } # trigger = { faith = { religion_tag = baltic_religion } }
desc = trait_crusader_king_baltic # desc = trait_crusader_king_baltic
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = slavic_religion } } # trigger = { faith = { religion_tag = slavic_religion } }
desc = trait_crusader_king_slavic # desc = trait_crusader_king_slavic
} # }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = { religion_tag = finno_ugric_religion } # faith = { religion_tag = finno_ugric_religion }
is_female = yes # is_female = yes
} # }
desc = trait_crusader_king_finno_ugric_female # desc = trait_crusader_king_finno_ugric_female
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = finno_ugric_religion } } # trigger = { faith = { religion_tag = finno_ugric_religion } }
desc = trait_crusader_king_finno_ugric_male # desc = trait_crusader_king_finno_ugric_male
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = siberian_religion } } # trigger = { faith = { religion_tag = siberian_religion } }
desc = trait_crusader_king_siberian # desc = trait_crusader_king_siberian
} # }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = { religion_tag = tengrism_religion } # faith = { religion_tag = tengrism_religion }
is_female = yes # is_female = yes
} # }
desc = trait_crusader_king_tengrism_female # desc = trait_crusader_king_tengrism_female
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = tengrism_religion } } # trigger = { faith = { religion_tag = tengrism_religion } }
desc = trait_crusader_king_tengrism_male # desc = trait_crusader_king_tengrism_male
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = west_african_religion } } # trigger = { faith = { religion_tag = west_african_religion } }
desc = trait_crusader_king_west_african # desc = trait_crusader_king_west_african
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = west_african_bori_religion } } # trigger = { faith = { religion_tag = west_african_bori_religion } }
desc = trait_crusader_king_west_african_bori # desc = trait_crusader_king_west_african_bori
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = west_african_roog_religion } } # trigger = { faith = { religion_tag = west_african_roog_religion } }
desc = trait_crusader_king_west_african_roog # desc = trait_crusader_king_west_african_roog
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = zoroastrianism_religion } } # trigger = { faith = { religion_tag = zoroastrianism_religion } }
desc = trait_crusader_king_zoroastrianism # desc = trait_crusader_king_zoroastrianism
} # }
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
faith = { religion_tag = zunism_religion } # faith = { religion_tag = zunism_religion }
is_female = yes # is_female = yes
} # }
desc = trait_crusader_king_zunism_female # desc = trait_crusader_king_zunism_female
} # }
triggered_desc = { # triggered_desc = {
trigger = { faith = { religion_tag = zunism_religion } } # trigger = { faith = { religion_tag = zunism_religion } }
desc = trait_crusader_king_zunism_male # desc = trait_crusader_king_zunism_male
} # }
triggered_desc = { triggered_desc = {
trigger = { is_female = yes } trigger = { is_female = yes }

View file

@ -4709,8 +4709,12 @@ coronation_events.6100 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:activity.var:activity_special_type_progression >= 25 scope:activity.var:activity_special_type_progression >= 25
scope:host.faith.religion = { scope:host = {
this = religion:christianity_religion OR = {
faith.religion = religion:eastern_orthodox_religion
faith.religion = religion:catholic_religion
faith.religion = religion:protestant_religion
}
} }
scope:host = { scope:host = {
OR = { OR = {
@ -4731,8 +4735,12 @@ coronation_events.6100 = {
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:activity.var:activity_special_type_progression >= 25 scope:activity.var:activity_special_type_progression >= 25
scope:host.faith.religion = { scope:host = {
this = religion:christianity_religion OR = {
faith.religion = religion:eastern_orthodox_religion
faith.religion = religion:catholic_religion
faith.religion = religion:protestant_religion
}
} }
scope:host = { scope:host = {
OR = { OR = {
@ -4763,8 +4771,12 @@ coronation_events.6100 = {
} }
triggered_desc = { triggered_desc = {
trigger = { trigger = {
scope:host.faith.religion = { scope:host = {
this = religion:christianity_religion OR = {
faith.religion = religion:eastern_orthodox_religion
faith.religion = religion:catholic_religion
faith.religion = religion:protestant_religion
}
} }
} }
desc = coronation_events.6100.desc_christian desc = coronation_events.6100.desc_christian

View file

@ -11613,7 +11613,11 @@ pilgrimage.6760 = {
any_secret = { type = secret_non_believer } any_secret = { type = secret_non_believer }
} }
location.county.holder.cp:councillor_court_chaplain ?= { location.county.holder.cp:councillor_court_chaplain ?= {
faith.religion ?= religion:christianity_religion OR = {
faith.religion = religion:eastern_orthodox_religion
faith.religion = religion:catholic_religion
faith.religion = religion:protestant_religion
}
OR = { OR = {
NOR = { NOR = {
faith = faith:orthodox faith = faith:orthodox

View file

@ -430,7 +430,9 @@ east_europe.0032 = {
trigger = { trigger = {
scope:old_faith.religion = { scope:old_faith.religion = {
OR = { OR = {
this = religion:christianity_religion this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
this = religion:islam_religion this = religion:islam_religion
this = religion:judaism_religion this = religion:judaism_religion
is_in_family = rf_eastern is_in_family = rf_eastern
@ -755,7 +757,11 @@ scripted_trigger generic_invalidation_criteria_trigger = {
} }
#Scope:heretic has converted to a different Abrahamic religion. #Scope:heretic has converted to a different Abrahamic religion.
faith.religion = { faith.religion = {
NOT = { this = religion:christianity_religion } NOR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
is_in_family = rf_abrahamic is_in_family = rf_abrahamic
} }
#Scope:heretic has converted to a totally different religious family. #Scope:heretic has converted to a totally different religious family.
@ -2330,7 +2336,9 @@ east_europe.0123 = {
limit = { limit = {
scope:heretic = { scope:heretic = {
faith.religion = { faith.religion = {
NOT = { this = religion:christianity_religion } NOR = { this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion }
is_in_family = rf_abrahamic is_in_family = rf_abrahamic
} }
} }
@ -2544,7 +2552,9 @@ east_europe.0124 = {
limit = { limit = {
scope:heretic = { scope:heretic = {
faith.religion = { faith.religion = {
NOT = { this = religion:christianity_religion } NOR = { this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion }
is_in_family = rf_abrahamic is_in_family = rf_abrahamic
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -8369,7 +8369,11 @@ ach_coronation.0027 = {
AND = { # If a European Christian, the crusades are going on AND = { # If a European Christian, the crusades are going on
location = { geographical_region = world_europe } location = { geographical_region = world_europe }
religion = { religion = {
this = religion:christianity_religion OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
exists = var:variable_ghw_unlocked exists = var:variable_ghw_unlocked
} }
} }
@ -8412,7 +8416,9 @@ ach_coronation.0027 = {
factor = 3 factor = 3
faith = { faith = {
has_variable = variable_ghw_cooldown # There was a recent crusade has_variable = variable_ghw_cooldown # There was a recent crusade
religion = { this = religion:christianity_religion } religion = {OR = { this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion } }
} }
} }
} }

View file

@ -5282,7 +5282,11 @@ ep3_governor_yearly.3060 = {
trigger = { trigger = {
scope:emperor = { scope:emperor = {
religion = { religion = {
this = religion:christianity_religion OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
} }
primary_title = { primary_title = {
this = title:e_byzantium this = title:e_byzantium
@ -5319,7 +5323,11 @@ ep3_governor_yearly.3060 = {
trigger = { trigger = {
scope:emperor = { scope:emperor = {
religion = { religion = {
this = religion:christianity_religion OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
} }
primary_title = { primary_title = {
this = title:e_byzantium this = title:e_byzantium

View file

@ -4407,7 +4407,11 @@ ep3_interactions_events.0620 = { # Ask for Influence accepted letter
triggered_desc = { triggered_desc = {
trigger = { trigger = {
faith.religion = { faith.religion = {
this = religion:christianity_religion OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
} }
} }
desc = ep3_interactions_events.0620.desc_byz desc = ep3_interactions_events.0620.desc_byz

View file

@ -6122,9 +6122,13 @@ fp2_yearly.9001 = {
} }
trigger = { trigger = {
root.religion = religion:christianity_religion root.religion = {
OR = {
this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
}
is_landed = yes is_landed = yes
NOT = { faith = faith:conversos }
} }
weight_multiplier = { weight_multiplier = {
@ -6319,7 +6323,9 @@ fp2_yearly.9001 = {
faith = { faith = {
religion = { religion = {
OR = { OR = {
this = religion:christianity_religion this = religion:eastern_orthodox_religion
this = religion:catholic_religion
this = religion:protestant_religion
this = religion:judaism_religion this = religion:judaism_religion
} }
} }

View file

@ -1380,7 +1380,12 @@ character_view_bg = {
trigger = { trigger = {
involved_activity ?= { has_activity_type = activity_feast } involved_activity ?= { has_activity_type = activity_feast }
location ?= involved_activity.activity_location location ?= involved_activity.activity_location
involved_activity.activity_location.culture = { has_building_gfx = byzantine_building_gfx } involved_activity.activity_location.culture = {
OR = {
has_building_gfx = byzantine_building_gfx
has_building_gfx = caucasian_building_gfx
}
}
} }
} }
@ -1521,7 +1526,12 @@ character_view_bg = {
trigger = { trigger = {
involved_activity ?= { has_activity_type = activity_feast } involved_activity ?= { has_activity_type = activity_feast }
location ?= involved_activity.activity_location location ?= involved_activity.activity_location
involved_activity.activity_location.culture = { has_building_gfx = indian_building_gfx } involved_activity.activity_location.culture = {
OR = {
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
} }
} }
@ -1531,7 +1541,12 @@ character_view_bg = {
trigger = { trigger = {
involved_activity ?= { has_activity_type = activity_feast } involved_activity ?= { has_activity_type = activity_feast }
location ?= involved_activity.activity_location location ?= involved_activity.activity_location
involved_activity.activity_location.culture = { has_building_gfx = indian_building_gfx } involved_activity.activity_location.culture = {
OR = {
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
is_character_window_main_character = yes is_character_window_main_character = yes
} }
} }
@ -1546,7 +1561,12 @@ character_view_bg = {
primary_spouse = { primary_spouse = {
involved_activity ?= { has_activity_type = activity_feast } involved_activity ?= { has_activity_type = activity_feast }
location ?= involved_activity.activity_location location ?= involved_activity.activity_location
involved_activity.activity_location.culture = { has_building_gfx = indian_building_gfx } involved_activity.activity_location.culture = {
OR = {
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
} }
} }
AND = { AND = {
@ -1554,7 +1574,12 @@ character_view_bg = {
betrothed = { betrothed = {
involved_activity ?= { has_activity_type = activity_feast } involved_activity ?= { has_activity_type = activity_feast }
location ?= involved_activity.activity_location location ?= involved_activity.activity_location
involved_activity.activity_location.culture = { has_building_gfx = indian_building_gfx } involved_activity.activity_location.culture = {
OR = {
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
} }
} }
AND = { AND = {
@ -1562,7 +1587,12 @@ character_view_bg = {
liege ?= { liege ?= {
involved_activity ?= { has_activity_type = activity_feast } involved_activity ?= { has_activity_type = activity_feast }
location ?= involved_activity.activity_location location ?= involved_activity.activity_location
involved_activity.activity_location.culture = { has_building_gfx = indian_building_gfx } involved_activity.activity_location.culture = {
OR = {
has_building_gfx = indian_building_gfx
has_building_gfx = tibetan_building_gfx
}
}
} }
} }
} }
@ -10595,31 +10625,13 @@ character_view_bg = {
########################################## ##########################################
# Japan, Emperor
texture = {
reference = "event_scenes/tgp_japan_throne_room.dds"
trigger = {
primary_title ?= title:e_japan
}
}
environment = {
reference = "environment_tgp_frontend_celestial_main"
trigger = {
primary_title ?= title:e_japan
}
}
##########################################
# East Asia, high rank # East Asia, high rank
texture = { texture = {
reference = "event_scenes/tgp_asia_throne_room.dds" reference = "event_scenes/tgp_asia_throne_room.dds"
trigger = { trigger = {
high_tier_throne_room_trigger = { REGION = east_asia } high_tier_throne_room_trigger = { REGION = east_asia }
culture = { has_graphical_east_asia_culture_group_trigger = yes }
} }
} }
@ -10628,6 +10640,7 @@ character_view_bg = {
trigger = { trigger = {
high_tier_throne_room_trigger = { REGION = east_asia } high_tier_throne_room_trigger = { REGION = east_asia }
culture = { has_graphical_east_asia_culture_group_trigger = yes }
} }
} }

View file

@ -67,6 +67,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'action_buttons' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'action_buttons' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'action_buttons' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'action_buttons' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -75,6 +80,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'other_inputs' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'other_inputs' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'other_inputs' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'other_inputs' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -83,6 +93,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'view_controls' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'view_controls' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'view_controls' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'view_controls' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -91,7 +106,13 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'selectors' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'selectors' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'selectors' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'selectors' )]"
blockoverride "icon_visible"
{
visible = no
} }
}
button_tab = { button_tab = {
layoutpolicy_horizontal = expanding layoutpolicy_horizontal = expanding
@ -99,6 +120,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'separators' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'separators' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'separators' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'separators' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -108,6 +134,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'indicators' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'indicators' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'indicators' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'indicators' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -117,6 +148,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'text_formats' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'text_formats' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'text_formats' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'text_formats' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -125,6 +161,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'portraits' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'portraits' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'portraits' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'portraits' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -133,6 +174,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'coas' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'coas' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'coas' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'coas' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
#button_tab = { #button_tab = {
@ -150,6 +196,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'animations' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'animations' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'animations' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'animations' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
button_tab = { button_tab = {
@ -158,6 +209,11 @@ window = {
onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'placeholders' )]" onclick = "[GetVariableSystem.Set( 'ui_library_tabs', 'placeholders' )]"
down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'placeholders' )]" down = "[GetVariableSystem.HasValue( 'ui_library_tabs', 'placeholders' )]"
blockoverride "icon_visible"
{
visible = no
}
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -137,7 +137,7 @@ types Lists
hbox = { hbox = {
margin = { 0 5 } margin = { 0 5 }
spacing = 15 spacing = 10
portrait_head_small = {} portrait_head_small = {}
@ -332,44 +332,10 @@ types Lists
} }
} }
block "traits_grid" {
# Traits # Traits
fixedgridbox = { fixedgrid_traits_list = {
name = "traits_grid" name = "traits_grid"
datamodel = "[CharacterListItem.GetTraits]"
flipdirection = yes
size = { 150 35 }
addcolumn = 30
addrow = 35
block "horizontal_slots"
{
maxhorizontalslots = 8
}
maxverticalslots = 1
item = {
widget = {
visible = "[Trait.IsValid]"
size = { 35 35 }
icon_trait = {
parentanchor = center
blockoverride "icon_size"
{
size = { 30 30 }
}
blockoverride "tooltip_placement"
{
using = tooltip_se
}
blockoverride "glow_radius"
{
glow_radius = 3
}
}
}
} }
} }
@ -387,13 +353,15 @@ types Lists
widget = { widget = {
datacontext = "[CharacterListItem.GetFirstClaim]" datacontext = "[CharacterListItem.GetFirstClaim]"
visible = "[Not( IsDataModelEmpty( CharacterListItem.GetTitleItems ) )]" visible = "[Not( IsDataModelEmpty( CharacterListItem.GetTitleItems ) )]"
size = { 55 58 } size = { 55 44 }
block "claims_visibility" {} block "claims_visibility" {}
coa_title_tiny_crown = { coa_title_tiny_crown = {
datacontext = "[Claim.GetTitle]" datacontext = "[Claim.GetTitle]"
using = tooltip_ne using = tooltip_ne
parentanchor = vcenter
position = { 0 -3 }
highlight_icon = { highlight_icon = {
name = "pressed_claim" name = "pressed_claim"
@ -430,7 +398,7 @@ types Lists
position = { 0 -6 } position = { 0 -6 }
text = "[CharacterListItem.GetTitleItemCount]" text = "[CharacterListItem.GetTitleItemCount]"
align = right align = center
minimumsize = { 15 0 } minimumsize = { 15 0 }
tooltip = "CHARACTER_LIST_CLAIM_TOOLTIP" tooltip = "CHARACTER_LIST_CLAIM_TOOLTIP"
@ -474,6 +442,45 @@ types Lists
} }
} }
type fixedgrid_traits_list = fixedgridbox {
datamodel = "[CharacterListItem.GetTraits]"
flipdirection = yes
size = { 150 35 }
addcolumn = 30
addrow = 35
block "horizontal_slots"
{
maxhorizontalslots = 8
}
maxverticalslots = 1
item = {
widget = {
visible = "[Trait.IsValid]"
size = { 35 35 }
icon_trait = {
parentanchor = center
blockoverride "icon_size"
{
size = { 30 30 }
}
blockoverride "tooltip_placement"
{
using = tooltip_se
}
blockoverride "glow_radius"
{
glow_radius = 3
}
}
}
}
}
type widget_character_list_item_finder = widget { type widget_character_list_item_finder = widget {
datacontext = "[CharacterListItem.GetCharacter]" datacontext = "[CharacterListItem.GetCharacter]"
@ -531,6 +538,7 @@ types Lists
} }
} }
block "character_name_relationship" {
hbox = { hbox = {
margin_left = 3 margin_left = 3
layoutpolicy_horizontal = expanding layoutpolicy_horizontal = expanding
@ -541,8 +549,10 @@ types Lists
align = nobaseline align = nobaseline
text = "[Character.GetUINameNoTooltip|U]" text = "[Character.GetUINameNoTooltip|U]"
fontsize_min = 14 fontsize_min = 14
block "character_name_width" {
max_width = 300 max_width = 300
} }
}
block "character_relation" block "character_relation"
{ {
@ -569,7 +579,7 @@ types Lists
expand = {} expand = {}
} }
}
hbox = { hbox = {
using = character_age_or_death_text using = character_age_or_death_text
} }
@ -1097,6 +1107,8 @@ types Lists
spacing = 5 spacing = 5
} }
block "pre_filters" {}
button_standard = { button_standard = {
name = "filters" name = "filters"
size = { 25 25 } size = { 25 25 }
@ -1158,6 +1170,8 @@ types Lists
} }
} }
block "post_sort" {}
expand = {} expand = {}
block "skill_sort_buttons" block "skill_sort_buttons"
@ -1951,274 +1965,54 @@ types Lists
} }
} }
type widget_republic_vassal_list_item = widget { type widget_compact_vassal_list_item = widget {
size = { 80 118 }
datacontext = "[CharacterListItem.GetCharacter]" datacontext = "[CharacterListItem.GetCharacter]"
vbox = { widget = {
margin = { 5 0 } size = { 85 100% }
parentanchor = hcenter
background = { background = {
using = Background_Area_With_Header using = Background_Area_Border_Solid
} }
background = {
using = Background_Frame
}
}
widget = {
parentanchor = bottom|hcenter
size = { 100% 30 }
hbox = { hbox = {
layoutpolicy_horizontal = expanding layoutpolicy_horizontal = expanding
margin = { 5 5 } margin = { 5 0 }
margin_bottom = 5
visible = "[Character.HasLandedTitles]"
text_single = { text_single = {
layoutpolicy_horizontal = expanding raw_text = "@soldier_icon!"
text = "[Character.GetUINameNoTooltip|U]"
using = Font_Size_Medium
autoresize = no
fontsize_min = 13
align = nobaseline align = nobaseline
max_width = 340 using = Font_Size_Tiny
} }
expand = {}
hbox_skills_grid = {}
}
hbox = {
layoutpolicy_horizontal = expanding
spacing = 5
portrait_head_small = {}
vbox = {
layoutpolicy_horizontal = expanding
layoutpolicy_vertical = expanding
margin_right = 5
hbox = {
layoutpolicy_horizontal = expanding
vbox = {
layoutpolicy_horizontal = expanding
margin_top = 3
hbox = {
layoutpolicy_horizontal = expanding
text_single = { text_single = {
name = "character_relation"
visible = "[Or(Character.GetLiege.IsLocalPlayer, Character.GetSuzerain.IsLocalPlayer)]"
layoutpolicy_horizontal = expanding layoutpolicy_horizontal = expanding
text = "[Character.GetRelationToString(GetPlayer)]" align = nobaseline|center
tooltip = "EXTENDED_RELATIONS_TOOLTIP" autoresize = no
text = "[Character.GetCurrentMilitaryStrength]"
tooltip = "[CharacterListItem.GetMilitaryStrengthTooltip]"
default_format = "#low" default_format = "#low"
autoresize = no
fontsize_min = 13
align = nobaseline
max_width = 420
}
expand = {}
}
hbox = {
layoutpolicy_horizontal = expanding
spacing = 5
text_single = {
visible = "[And( Character.HasOverlord, And( Character.UsesObedience, Character.IsObedientTo( Character.GetOverlord ) ) )]"
text = "MY_REALM_WINDOW_OBEDIENT"
align = nobaseline
max_width = 170
tooltipwidget = widget_obedience_tooltip
}
text_single = {
visible = "[And( Character.HasOverlord, And( Character.UsesObedience, Not( Character.IsObedientTo( Character.GetOverlord ) ) ) )]"
text = "MY_REALM_WINDOW_DISOBEDIENT"
align = nobaseline
max_width = 170
tooltipwidget = widget_obedience_tooltip
}
divider_light = {
visible = "[Character.UsesObedience]"
layoutpolicy_vertical = expanding
}
vassal_stance_icon = {
name = "vassal_stance"
size = { 30 30 }
}
divider_light = {
visible = "[And( Character.IsVassalOf( GetPlayer ), Not( Character.IsPlayer ) )]"
layoutpolicy_vertical = expanding
}
vassal_expected_legitimacy_widget = {
name = "legitimacy_expectation"
size = { 30 30 }
}
block "realm_size_powerful_status" {
flowcontainer = {
spacing = 10
text_single = {
visible = "[NotEqualTo_int32(Character.GetPrimaryTitle.GetTierFrame, '(int32)2')]" #nonbaron
layoutpolicy_horizontal = expanding
text = "REALM_WINDOW_SIZE"
align = nobaseline
max_width = 150
tooltip = "REALM_WINDOW_SIZE_TT"
} }
} }
} }
expand = {} portrait_head_small = {
} parentanchor = hcenter
block "vassal_buttons" {
hbox = {
visible = "[Character.IsPlayerInteractionShown('give_vassal_directive_interaction')]"
layoutpolicy_horizontal = expanding
spacing = 5
divider_light = {
visible = "[Character.IsPowerfulVassal]"
layoutpolicy_vertical = expanding
}
text_single = {
visible = "[Character.IsPowerfulVassal]"
layoutpolicy_horizontal = expanding
text = "MY_REALM_WINDOW_POWERFUL_VASSAL"
align = nobaseline
max_width = 200
}
expand = {}
}
}
}
block "own_vassal" {
vbox = {
visible = "[Character.GetLiege.IsLocalPlayer]"
layoutpolicy_vertical = expanding
margin_left = 10
hbox = {
visible = "[Character.GetGovernment.IsType('urbanrepublic_government')]"
spacing = 3
expand = {}
icon = {
name = "icon_influence"
size = { 30 30 }
texture = "[Character.GetInfluenceLevelTexture]"
}
text_single = {
name = "influence"
text = "[Character.GetInfluence|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
hbox = {
spacing = 3
expand = {}
icon = {
name = "prestige_icon"
size = { 30 30 }
texture = "[Character.GetPrestigeLevelTexture]"
}
text_single = {
name = "influence"
text = "[Character.GetPrestige|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
hbox = {
spacing = 3
expand = {}
icon = {
name = "icon_piety"
size = { 30 30 }
texture = "[Character.GetPietyLevelTexture]"
}
text_single = {
name = "piety"
text = "[Character.GetPiety|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
hbox = {
spacing = 3
expand = {}
icon = {
name = "icon_dynasty_prestige"
size = { 30 30 }
texture = "[Character.GetDynasty.GetDynastyPrestigeLevelTexture]"
}
text_single = {
name = "dynasty_prestige"
text = "[Character.GetDynasty.GetPrestige|0]"
default_format = "#high"
align = center|nobaseline
fontsize_min = 12
max_width = 50
}
expand = {}
}
}
}
block "own_vassal" {
vbox = {
visible = "[Character.GetLiege.IsLocalPlayer]"
layoutpolicy_vertical = expanding
margin_left = 10
hbox = {
coa_house_tiny = {
datacontext = "[Character.GetHouse]"
parentanchor = center
}
}
hbox = {
coa_title_tiny_crown = {
name = "allegiance_flag"
datacontext = "[Character.GetLiege.GetPrimaryTitle]"
visible = "[Title.IsValid]"
tooltip = "MRW_TITLE_ALLEGIANCE"
blockoverride "coa_tooltip" {}
}
}
} }
} }
}
}
}
}
expand = {}
}
}
type hbox_tributary_information = hbox { type hbox_tributary_information = hbox {
visible = "[Character.HasSuzerain]" visible = "[Character.HasSuzerain]"
@ -2541,11 +2335,17 @@ types Lists
### VASSAL GOLD ### VASSAL GOLD
hbox = { hbox = {
# Treasury Vassals don't pay in gold # Treasury Vassals don't pay in gold
visible = "[And( Not( SubjectContract.GetLiege.GetGovernment.HasGovernmentFlag( 'government_has_treasury' ) ), GreaterThan_CFixedPoint( MyRealmWindowVassalItem.GetContract.GetTaxRatioForLiege, '(CFixedPoint)0' ))]" visible = "[GreaterThan_CFixedPoint( MyRealmWindowVassalItem.GetContract.GetTaxRatioForLiege, '(CFixedPoint)0' )]"
icon = { icon = {
size = { 25 25 } size = { 25 25 }
texture = "gfx/interface/icons/icon_gold.dds" texture = "gfx/interface/icons/icon_gold.dds"
visible = "[Not( SubjectContract.GetLiege.GetGovernment.HasGovernmentFlag( 'government_has_treasury' ) )]"
}
icon = {
size = { 25 25 }
texture = "gfx/interface/icons/icon_imperial_treasury.dds"
visible = "[SubjectContract.GetLiege.GetGovernment.HasGovernmentFlag( 'government_has_treasury' )]"
} }
text_single = { text_single = {
@ -2862,7 +2662,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)5')]" visible = "[LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)5')]"
flipdirection = yes flipdirection = yes
addcolumn = 54 addcolumn = 52
addrow = 55 addrow = 55
maxhorizontalslots = 5 maxhorizontalslots = 5
maxverticalslots = 1 maxverticalslots = 1
@ -2882,7 +2682,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)5'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'))]" visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)5'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'))]"
flipdirection = yes flipdirection = yes
addcolumn = 39 addcolumn = 37
addrow = 40 addrow = 40
maxhorizontalslots = 7 maxhorizontalslots = 7
maxverticalslots = 1 maxverticalslots = 1
@ -2905,11 +2705,11 @@ types Lists
fixedgridbox = { fixedgridbox = {
name = "traits_small" name = "traits_small"
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)10'))]" visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)7'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)9'))]"
flipdirection = yes flipdirection = yes
addcolumn = 28 addcolumn = 29
addrow = 29 addrow = 29
maxhorizontalslots = 10 maxhorizontalslots = 9
maxverticalslots = 1 maxverticalslots = 1
item = { item = {
@ -2930,7 +2730,7 @@ types Lists
fixedgridbox = { fixedgridbox = {
name = "traits_tiny" name = "traits_tiny"
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)10')]" visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)9')]"
flipdirection = yes flipdirection = yes
addcolumn = 24 addcolumn = 24
addrow = 25 addrow = 25
@ -2993,7 +2793,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)4')]" visible = "[LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)4')]"
flipdirection = yes flipdirection = yes
addcolumn = 54 addcolumn = 52
addrow = 55 addrow = 55
maxhorizontalslots = 5 maxhorizontalslots = 5
maxverticalslots = 1 maxverticalslots = 1
@ -3013,7 +2813,7 @@ types Lists
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)4'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)6'))]" visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)4'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)6'))]"
flipdirection = yes flipdirection = yes
addcolumn = 39 addcolumn = 35
addrow = 40 addrow = 40
maxhorizontalslots = 7 maxhorizontalslots = 7
maxverticalslots = 1 maxverticalslots = 1
@ -3022,7 +2822,7 @@ types Lists
icon_trait = { icon_trait = {
blockoverride "icon_size" blockoverride "icon_size"
{ {
size = { 40 40 } size = { 38 38 }
} }
blockoverride "glow_radius" blockoverride "glow_radius"
@ -3038,9 +2838,9 @@ types Lists
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)6'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)8'))]" visible = "[And(GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)6'), LessThanOrEqualTo_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)8'))]"
flipdirection = yes flipdirection = yes
addcolumn = 28 addcolumn = 26
addrow = 29 addrow = 29
maxhorizontalslots = 10 maxhorizontalslots = 8
maxverticalslots = 1 maxverticalslots = 1
item = { item = {
@ -3063,10 +2863,10 @@ types Lists
datamodel = "[TraitArrays.GetTraits]" datamodel = "[TraitArrays.GetTraits]"
visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)8')]" visible = "[GreaterThan_int32(GetDataModelSize(TraitArrays.GetTraits), '(int32)8')]"
flipdirection = yes flipdirection = yes
addcolumn = 24 addcolumn = 25
addrow = 25 addrow = 25
maxhorizontalslots = 9 maxhorizontalslots = 8
datamodel_wrap = 9 datamodel_wrap = 8
maxverticalslots = 2 maxverticalslots = 2
item = { item = {
@ -3480,6 +3280,7 @@ template Scrollbar_Vertical
spriteborder = { 0 3 } spriteborder = { 0 3 }
framesize = { 12 40 } framesize = { 12 40 }
minimumsize = { -1 40 } minimumsize = { -1 40 }
block "vertical_scrollbar_size" {}
upframe = 1 upframe = 1
overframe = 2 overframe = 2

View file

@ -2427,6 +2427,16 @@ texticon = {
} }
} }
texticon = {
icon = commander_advantage_icon
iconsize = {
texture = "gfx/interface/icons/icon_commander_advantage.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = alliance_icon icon = alliance_icon
iconsize = { iconsize = {
@ -3106,6 +3116,16 @@ texticon = {
} }
} }
texticon = {
icon = time_icon
iconsize = {
texture = "gfx/interface/icons/icon_time.dds"
size = { 24 24 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = concubine_icon icon = concubine_icon
iconsize = { iconsize = {
@ -4009,6 +4029,56 @@ texticon = {
} }
} }
texticon = {
icon = north_pacific_attire
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_025.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = east_asian_wonders
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_026.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = celestial_court_attire
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_027.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = symbols_of_authority
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_028.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = {
icon = songs_of_the_realm
iconsize = {
texture = "gfx/interface/icons/dlc/dlc_029.dds"
size = { 25 25 }
offset = { 0 6 }
fontsize = 16
}
}
texticon = { texticon = {
icon = skills_icon icon = skills_icon
iconsize = { iconsize = {

File diff suppressed because it is too large Load diff