diff --git a/common/court_positions/types/00_camp_officers.txt b/common/court_positions/types/00_camp_officers.txt index 2830113ae..c819f94b4 100644 --- a/common/court_positions/types/00_camp_officers.txt +++ b/common/court_positions/types/00_camp_officers.txt @@ -54,15 +54,6 @@ second_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { has_perk = local_arbitration_perk } @@ -85,56 +76,7 @@ second_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = diplomacy multiply = 1.5 @@ -175,45 +117,58 @@ second_camp_officer = { limit = { has_trait = sadistic } - add = 10 - desc = court_position_sadistic_trait + add = { + value = 10 + desc = court_position_sadistic_trait + } } if = { limit = { has_trait = callous } - add = 10 - desc = court_position_callous_trait + add = { + value = 10 + desc = court_position_callous_trait + } } if = { limit = { has_trait = overseer } - add = 20 - desc = court_position_overseer_trait + add = { + value = 20 + desc = court_position_overseer_trait + } } if = { limit = { has_trait = loyal } - add = 15 - desc = court_position_loyal_trait + add = { + value = 15 + desc = court_position_loyal_trait + } } if = { limit = { has_trait = craven } - add = -20 - desc = court_position_craven_trait + add = { + value = -20 + desc = court_position_craven_trait + } } if = { limit = { has_trait = fickle } - add = -20 - desc = court_position_fickle_trait + add = { + value = -20 + desc = court_position_fickle_trait + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -251,18 +206,8 @@ second_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = second_camp_officer - any_court_position_holder = { - type = second_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = second } } multiply = 0 } } @@ -365,15 +310,6 @@ quartermaster_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 10 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { has_perk = local_inspection_perk } @@ -396,56 +332,7 @@ quartermaster_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = stewardship multiply = 2.5 @@ -501,17 +388,22 @@ quartermaster_camp_officer = { limit = { has_trait = profligate } - add = -50 - desc = court_position_profligate_trait + add = { + value = -50 + desc = court_position_profligate_trait + } } if = { limit = { has_trait = improvident } - add = -50 - desc = court_position_improvident_trait + add = { + value = -50 + desc = court_position_improvident_trait + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -552,18 +444,8 @@ quartermaster_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = quartermaster_camp_officer - any_court_position_holder = { - type = quartermaster_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = quartermaster } } multiply = 0 } } @@ -652,15 +534,6 @@ armorer_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -674,56 +547,7 @@ armorer_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = stewardship multiply = 2.5 @@ -737,6 +561,7 @@ armorer_camp_officer = { desc = court_position_skill_learning } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -773,18 +598,9 @@ armorer_camp_officer = { revoke_cost = { prestige = { value = minor_court_position_prestige_revoke_cost + if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = armorer_camp_officer - any_court_position_holder = { - type = armorer_camp_officer - exists = dynasty - house = prev.house - } - } - desc = inner_circle_salary_mod + limit = { camp_officer_inner_circle_revoke_trigger = { POS = armorer } } multiply = 0 } } @@ -866,15 +682,6 @@ chief_forager_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -888,56 +695,7 @@ chief_forager_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = prowess max = 60 @@ -1038,6 +796,7 @@ chief_forager_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -1075,18 +834,8 @@ chief_forager_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = chief_forager_camp_officer - any_court_position_holder = { - type = chief_forager_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = chief_forager } } multiply = 0 } } @@ -1176,19 +925,10 @@ master_thief_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -1198,56 +938,7 @@ master_thief_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = intrigue multiply = 2.5 @@ -1288,20 +979,21 @@ master_thief_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } custom_tooltip = { text = master_thief_camp_officer_parameter_tt @@ -1325,18 +1017,8 @@ master_thief_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = master_thief_camp_officer - any_court_position_holder = { - type = master_thief_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = master_thief } } multiply = 0 } } @@ -1421,15 +1103,6 @@ head_porter_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { has_perk = local_inspection_perk } @@ -1452,56 +1125,7 @@ head_porter_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -1517,10 +1141,13 @@ head_porter_camp_officer = { limit = { has_trait = logistician } - add = 15 - desc = court_position_logistician_trait + add = { + value = 15 + desc = court_position_logistician_trait + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -1561,18 +1188,8 @@ head_porter_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = head_porter_camp_officer - any_court_position_holder = { - type = head_porter_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = head_porter } } multiply = 0 } } @@ -1660,15 +1277,6 @@ head_groom_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -1682,56 +1290,7 @@ head_groom_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = learning multiply = 1 @@ -1893,6 +1452,7 @@ head_groom_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -1930,18 +1490,8 @@ head_groom_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = head_groom_camp_officer - any_court_position_holder = { - type = head_groom_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = head_groom } } multiply = 0 } } @@ -2024,15 +1574,6 @@ huntperson_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -2046,56 +1587,7 @@ huntperson_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = prowess multiply = 2 @@ -2157,6 +1649,7 @@ huntperson_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -2194,18 +1687,8 @@ huntperson_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = huntperson_camp_officer - any_court_position_holder = { - type = huntperson_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = huntperson } } multiply = 0 } } @@ -2294,15 +1777,6 @@ kennelperson_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -2316,56 +1790,7 @@ kennelperson_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -2386,7 +1811,10 @@ kennelperson_camp_officer = { has_character_modifier = dog_story_modifier } } - add = 20 + add = { + value = 20 + desc = story_cycle_pet_dog + } } if = { limit = { @@ -2396,9 +1824,13 @@ kennelperson_camp_officer = { has_character_modifier = cat_story_modifier } } - add = -20 + add = { + value = -20 + desc = story_cycle_pet_cat + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -2436,18 +1868,8 @@ kennelperson_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = kennelperson_camp_officer - any_court_position_holder = { - type = kennelperson_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = kennelperson } } multiply = 0 } } @@ -2529,15 +1951,6 @@ chief_engineer_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -2551,56 +1964,7 @@ chief_engineer_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = learning multiply = 2.5 @@ -2617,15 +1981,22 @@ chief_engineer_camp_officer = { limit = { has_trait = strategist } - add = 15 + add = { + value = 15 + desc = court_position_strategist_trait + } } if = { limit = { has_perk = engineered_for_destruction_perk } - add = 15 + add = { + value = 15 + desc = court_position_engineered_for_destruction_modifier + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -2663,18 +2034,8 @@ chief_engineer_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = chief_engineer_camp_officer - any_court_position_holder = { - type = chief_engineer_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = chief_engineer } } multiply = 0 } } @@ -2759,19 +2120,10 @@ witness_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -2781,56 +2133,7 @@ witness_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = diplomacy multiply = 2.5 @@ -2841,73 +2144,90 @@ witness_camp_officer = { limit = { has_trait = diplomat } - add = 20 - desc = court_position_diplomat_trait + add = { + value = 20 + desc = court_position_diplomat_trait + } } if = { limit = { has_trait = trusting } - add = 10 - desc = court_position_trusting_trait + add = { + value = 10 + desc = court_position_trusting_trait + } } if = { limit = { has_trait = loyal } - add = 10 - desc = court_position_loyal_trait + add = { + value = 10 + desc = court_position_loyal_trait + } } if = { limit = { has_trait = gregarious } - add = 10 - desc = court_position_gregarious_trait + add = { + value = 10 + desc = court_position_gregarious_trait + } } if = { limit = { has_trait = humble } - add = 10 - desc = court_position_humble_trait + add = { + value = 10 + desc = court_position_humble_trait + } } if = { limit = { has_trait = flagellant } - add = 20 - desc = court_position_flagellant_trait + add = { + value = 20 + desc = court_position_flagellant_trait + } } if = { limit = { has_trait = arrogant } - add = -20 - desc = court_position_arrogant_trait + add = { + value = -20 + desc = court_position_arrogant_trait + } } if = { limit = { has_trait = shy } - add = -20 - desc = court_position_shy_trait + add = { + value = -20 + desc = court_position_shy_trait + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } custom_tooltip = { text = witness_camp_officer_parameter_tt @@ -2931,18 +2251,8 @@ witness_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = witness_camp_officer - any_court_position_holder = { - type = witness_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = witness } } multiply = 0 } } @@ -3021,19 +2331,10 @@ person_haggler_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -3043,56 +2344,7 @@ person_haggler_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = diplomacy multiply = 1.5 @@ -3154,20 +2406,21 @@ person_haggler_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } custom_tooltip = { text = person_haggler_camp_officer_parameter_tt @@ -3191,18 +2444,8 @@ person_haggler_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = person_haggler_camp_officer - any_court_position_holder = { - type = person_haggler_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = person_haggler } } multiply = 0 } } @@ -3283,19 +2526,10 @@ camp_cook_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -3305,56 +2539,7 @@ camp_cook_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = intrigue multiply = 2.5 @@ -3416,20 +2601,21 @@ camp_cook_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } custom_tooltip = { text = camp_cook_camp_officer_parameter_tt @@ -3453,18 +2639,8 @@ camp_cook_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = camp_cook_camp_officer - any_court_position_holder = { - type = camp_cook_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = camp_cook } } multiply = 0 } } @@ -3547,19 +2723,10 @@ master_bard_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -3569,56 +2736,7 @@ master_bard_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = diplomacy multiply = 2.5 @@ -3632,7 +2750,9 @@ master_bard_camp_officer = { desc = court_position_skill_learning } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus add = court_position_aptitude_low_penalty_value + add = general_aptitude_bonus if = { limit = { has_trait = gregarious @@ -3702,14 +2822,14 @@ master_bard_camp_officer = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } custom_tooltip = { text = master_bard_camp_officer_parameter_tt @@ -3733,18 +2853,8 @@ master_bard_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = master_bard_camp_officer - any_court_position_holder = { - type = master_bard_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = master_bard } } multiply = 0 } } @@ -3828,19 +2938,10 @@ stooge_camp_officer = { value = 100 desc = BASE } - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -3850,56 +2951,7 @@ stooge_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = learning multiply = -2 @@ -3927,14 +2979,14 @@ stooge_camp_officer = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } @@ -3954,18 +3006,8 @@ stooge_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = stooge_camp_officer - any_court_position_holder = { - type = stooge_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = stooge } } multiply = 0 } } @@ -4027,15 +3069,6 @@ master_of_arms_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -4049,56 +3082,7 @@ master_of_arms_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -4131,6 +3115,7 @@ master_of_arms_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -4170,18 +3155,8 @@ master_of_arms_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = master_of_arms_camp_officer - any_court_position_holder = { - type = master_of_arms_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = master_of_arms } } multiply = 0 } } @@ -4267,15 +3242,6 @@ light_cavalry_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -4289,56 +3255,7 @@ light_cavalry_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -4371,6 +3288,7 @@ light_cavalry_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -4410,18 +3328,8 @@ light_cavalry_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = light_cavalry_captain_camp_officer - any_court_position_holder = { - type = light_cavalry_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = light_cavalry_captain } } multiply = 0 } } @@ -4512,15 +3420,6 @@ camelry_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -4534,56 +3433,7 @@ camelry_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -4616,6 +3466,7 @@ camelry_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -4655,18 +3506,8 @@ camelry_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = camelry_captain_camp_officer - any_court_position_holder = { - type = camelry_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = camelry_captain } } multiply = 0 } } @@ -4753,15 +3594,6 @@ elephantry_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -4775,56 +3607,7 @@ elephantry_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -4857,6 +3640,7 @@ elephantry_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -4896,18 +3680,8 @@ elephantry_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = elephantry_captain_camp_officer - any_court_position_holder = { - type = elephantry_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = elephantry_captain } } multiply = 0 } } @@ -4999,15 +3773,6 @@ heavy_cavalry_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -5021,56 +3786,7 @@ heavy_cavalry_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -5103,6 +3819,7 @@ heavy_cavalry_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -5142,18 +3859,8 @@ heavy_cavalry_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = heavy_cavalry_captain_camp_officer - any_court_position_holder = { - type = heavy_cavalry_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = heavy_cavalry_captain } } multiply = 0 } } @@ -5240,15 +3947,6 @@ horse_archer_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -5262,56 +3960,7 @@ horse_archer_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -5344,6 +3993,7 @@ horse_archer_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -5383,18 +4033,8 @@ horse_archer_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = horse_archer_captain_camp_officer - any_court_position_holder = { - type = horse_archer_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = horse_archer_captain } } multiply = 0 } } @@ -5481,15 +4121,6 @@ archer_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -5503,56 +4134,7 @@ archer_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -5585,6 +4167,7 @@ archer_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -5624,18 +4207,8 @@ archer_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = archer_captain_camp_officer - any_court_position_holder = { - type = archer_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = archer_captain } } multiply = 0 } } @@ -5722,15 +4295,6 @@ heavy_infantry_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -5744,56 +4308,7 @@ heavy_infantry_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -5826,6 +4341,7 @@ heavy_infantry_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -5865,18 +4381,8 @@ heavy_infantry_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = heavy_infantry_captain_camp_officer - any_court_position_holder = { - type = heavy_infantry_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = heavy_infantry_captain } } multiply = 0 } } @@ -5963,15 +4469,6 @@ light_infantry_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -5985,56 +4482,7 @@ light_infantry_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -6067,6 +4515,7 @@ light_infantry_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -6106,18 +4555,8 @@ light_infantry_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = light_infantry_captain_camp_officer - any_court_position_holder = { - type = light_infantry_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = light_infantry_captain } } multiply = 0 } } @@ -6204,15 +4643,6 @@ pike_captain_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -6226,56 +4656,7 @@ pike_captain_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = martial multiply = 2.5 @@ -6308,6 +4689,7 @@ pike_captain_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -6347,18 +4729,8 @@ pike_captain_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = pike_captain_camp_officer - any_court_position_holder = { - type = pike_captain_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = pike_captain } } multiply = 0 } } @@ -6445,15 +4817,6 @@ master_of_spoils_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -6467,56 +4830,7 @@ master_of_spoils_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = stewardship multiply = 2 @@ -6546,31 +4860,40 @@ master_of_spoils_camp_officer = { limit = { has_trait = reaver } - add = 15 - desc = court_position_reaver_trait + add = { + value = 15 + desc = court_position_reaver_trait + } } if = { limit = { has_trait = avaricious } - add = 15 - desc = court_position_avaricious_trait + add = { + value = 15 + desc = court_position_avaricious_trait + } } if = { limit = { has_trait = profligate } - add = -50 - desc = court_position_profligate_trait + add = { + value = -50 + desc = court_position_profligate_trait + } } if = { limit = { has_trait = improvident } - add = -50 - desc = court_position_improvident_trait + add = { + value = -50 + desc = court_position_improvident_trait + } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -6608,18 +4931,8 @@ master_of_spoils_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = master_of_spoils_camp_officer - any_court_position_holder = { - type = master_of_spoils_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = master_of_spoils } } multiply = 0 } } @@ -6684,15 +4997,6 @@ laureate_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { @@ -6706,56 +5010,7 @@ laureate_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - OR = { has_government = landless_adventurer_government has_government = landless_minority_government } - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = diplomacy multiply = 2 @@ -6782,6 +5037,7 @@ laureate_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { @@ -6816,18 +5072,8 @@ laureate_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = laureate_camp_officer - any_court_position_holder = { - type = laureate_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = laureate } } multiply = 0 } } @@ -6915,19 +5161,10 @@ camp_priest_camp_officer = { # How good is this character in this position? root scope is the holder of the court position aptitude = { value = 0 - if = { - limit = { - employer ?= { has_perk = soon_forgiven_perk } - } - add = { - value = 10 - desc = court_position_soon_forgiven_perk - } - } if = { limit = { employer ?= { - has_government = landless_adventurer_government + OR = { has_government = landless_adventurer_government has_government = landless_minority_government } has_perk = positions_of_power_perk } any_relation = { type = friend } @@ -6937,56 +5174,7 @@ camp_priest_camp_officer = { desc = court_position_positions_of_power_perk_friend } } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - any_relation = { type = lover } - } - add = { - value = 5 - desc = court_position_positions_of_power_perk_lover - } - } - if = { - limit = { - employer ?= { - has_government = landless_adventurer_government - has_perk = positions_of_power_perk - } - is_married = yes - } - add = { - value = 10 - desc = court_position_positions_of_power_perk_marriage - } - } - if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_best_friend = prev - } - } - add = { - value = 30 - desc = court_position_best_friend - } - } - else_if = { - limit = { - employer ?= { - has_perk = likable_perk - has_relation_friend = prev - } - } - add = { - value = 15 - desc = court_position_friend - } - } + add = { value = learning multiply = 4 @@ -7003,10 +5191,10 @@ camp_priest_camp_officer = { } } if = { - limit = { has_trait = scholar } + limit = { has_trait = erudite } add = { value = 15 - desc = court_position_scholar_trait + desc = court_position_erudite_trait } } if = { @@ -7017,20 +5205,21 @@ camp_priest_camp_officer = { } } add = court_position_aptitude_high_penalty_value + add = general_aptitude_bonus } is_shown = { has_ep3_dlc_trigger = yes custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } } valid_position = { custom_tooltip = { text = landless_government_tt - government_has_flag = government_is_landless_adventurer + OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority } } custom_tooltip = { text = camp_priest_camp_officer_parameter_tt @@ -7056,18 +5245,8 @@ camp_priest_camp_officer = { prestige = { value = minor_court_position_prestige_revoke_cost - # Set to 0 with Dynasty Perk Inner Circle if = { - limit = { - dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_1 } - - employs_court_position = camp_priest_camp_officer - any_court_position_holder = { - type = camp_priest_camp_officer - exists = dynasty - house = prev.house - } - } + limit = { camp_officer_inner_circle_revoke_trigger = { POS = camp_priest } } multiply = 0 } } diff --git a/common/culture/traditions/00_combat_traditions.txt b/common/culture/traditions/00_combat_traditions.txt index 5225b9523..a41a1f5bb 100644 --- a/common/culture/traditions/00_combat_traditions.txt +++ b/common/culture/traditions/00_combat_traditions.txt @@ -244,10 +244,7 @@ tradition_mountaineers = { NOR = { # has_cultural_pillar = heritage_somalian # has_cultural_pillar = heritage_east_african -# this = culture:georgian -# any_parent_culture_or_above = { -# this = culture:georgian -# } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:georgian } has_cultural_tradition = tradition_caucasian_wolves has_cultural_tradition = tradition_horn_mountain_skirmishing } diff --git a/common/culture/traditions/00_maa_traditions.txt b/common/culture/traditions/00_maa_traditions.txt index d71f4fb0c..d92b1b3e4 100644 --- a/common/culture/traditions/00_maa_traditions.txt +++ b/common/culture/traditions/00_maa_traditions.txt @@ -1578,26 +1578,8 @@ tradition_strong_kinship = { #There can be only one! is_shown = { OR = { - this = culture:gaelic - this = culture:scottish - any_parent_culture_or_above = { - OR = { - this = culture:gaelic - this = culture:scottish - } - } - } - } - can_pick = { - OR = { - this = culture:gaelic - this = culture:scottish - any_parent_culture_or_above = { - OR = { - this = culture:gaelic - this = culture:scottish - } - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:gaelic } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:scottish } } } @@ -1683,22 +1665,9 @@ tradition_amharic_highlanders = { #Ethiopian Unique Tradition, replaces hill dwe is_shown = { NOT = { has_cultural_tradition = tradition_hill_dwellers } always = no -# OR = { -# this = culture:ethiopian -# any_parent_culture_or_above = { -# this = culture:ethiopian -# } -# } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:ethiopian } } can_pick = { - NOT = { has_cultural_tradition = tradition_hill_dwellers } - always = no -# OR = { -# this = culture:ethiopian -# any_parent_culture_or_above = { -# this = culture:ethiopian -# } -# } custom_description = { text = culture_in_hills_desc any_culture_county = { @@ -1809,20 +1778,9 @@ tradition_polders = { #Dutch Unique Tradition, bonuses to buildings along coastl } is_shown = { - OR = { - this = culture:dutch - any_parent_culture_or_above = { - this = culture:dutch - } - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:dutch } } can_pick = { - OR = { - this = culture:dutch - any_parent_culture_or_above = { - this = culture:dutch - } - } custom_description = { text = culture_on_coast_desc any_culture_county = { @@ -1932,7 +1890,7 @@ tradition_caucasian_wolves = { } #For Georgians this replaces the Mountaineers tradition - is_shown = { + is_shown = { has_cultural_pillar = heritage_caucasian has_dlc_feature = hybridize_culture NOR = { @@ -1950,10 +1908,6 @@ tradition_caucasian_wolves = { } } } - NOT = { - has_cultural_tradition = tradition_fp3_fierce_independence - has_cultural_tradition = tradition_staunch_traditionalists - } } parameters = { @@ -2062,17 +2016,9 @@ tradition_hird = { has_cultural_tradition = tradition_warrior_culture has_cultural_tradition = tradition_fp1_coastal_warriors } - OR = { - AND = { - has_cultural_pillar = heritage_north_germanic - has_fp1_dlc_trigger = no - } - any_parent_culture_or_above = { - OR = { - this = culture:old_saxon - this = culture:norse #For instance Norman culture - } - } + AND = { + has_cultural_pillar = heritage_north_germanic + has_fp1_dlc_trigger = no } } can_pick = { diff --git a/common/culture/traditions/00_realm_traditions.txt b/common/culture/traditions/00_realm_traditions.txt index 1da6b2425..bd21be003 100644 --- a/common/culture/traditions/00_realm_traditions.txt +++ b/common/culture/traditions/00_realm_traditions.txt @@ -222,16 +222,10 @@ tradition_republican_legacy = { } is_shown = { +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:roman } NOT = { has_cultural_tradition = tradition_parochialism } } can_pick = { -# OR ={ -# this = culture:roman -# any_parent_culture_or_above = { -# this = culture:roman -# } -# } - NOT = { has_cultural_tradition = tradition_parochialism } custom_tooltip = { text = cultrad_not_nomadic_government_type scope:character = { @@ -413,9 +407,9 @@ tradition_hereditary_hierarchy = { } if = { limit = { - OR = { - has_variable = defensive_traditionalist_discount - has_variable = aggressive_traditionalist_discount + has_variable = { + name = defensive_traditionalist_discount + name = aggressive_traditionalist_discount } } add = { @@ -639,14 +633,8 @@ tradition_tribe_unity = { is_shown = { #Replaced by Strong Kinship NOR = { - this = culture:gaelic - this = culture:scottish - any_parent_culture_or_above = { - OR = { - this = culture:gaelic - this = culture:scottish - } - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:gaelic } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:scottish } } } can_pick = { @@ -739,13 +727,10 @@ tradition_tribe_unity = { value = 200 if = { limit = { - NOT = { - scope:character = { - OR = { - government_has_flag = government_is_clan - government_has_flag = government_is_tribal - government_has_flag = government_is_administrative - } + scope:character = { + NOR = { + government_has_flag = government_is_clan + government_has_flag = government_is_tribal } } } @@ -946,14 +931,10 @@ tradition_female_only_inheritance = { has_cultural_pillar = heritage_akan has_cultural_pillar = heritage_west_african has_cultural_pillar = heritage_yoruba -# any_parent_culture_or_above = { -# OR = { -# this = culture:nubian -# this = culture:daju -# } -# } - scope:character.faith = { - has_doctrine_parameter = female_dominated_law +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:nubian } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:daju } + scope:character.rite = { + rite_has_parameter = female_dominated_law } } text = tradition_female_only_inheritance_requirements @@ -1075,12 +1056,12 @@ tradition_equal_inheritance = { parameters = { gender_equal_inheritance = yes } - doctrine_character_modifier = { + faith_character_modifier = { name = tradition_equal_inheritance_name doctrine = doctrine_gender_male_dominated opinion_of_female_rulers = 10 } - doctrine_character_modifier = { + faith_character_modifier = { name = tradition_equal_inheritance_name doctrine = doctrine_gender_female_dominated opinion_of_male_rulers = 10 @@ -1158,14 +1139,14 @@ tradition_equal_inheritance = { NOR = { scope:character = { is_female = yes - faith = { - has_doctrine_parameter = male_dominated_law + rite = { + rite_has_parameter = male_dominated_law } } scope:character = { is_male = yes - faith = { - has_doctrine_parameter = female_dominated_law + rite = { + rite_has_parameter = female_dominated_law } } } @@ -1735,9 +1716,9 @@ tradition_isolationist = { } if = { limit = { - OR = { - has_variable = defensive_traditionalist_discount - has_variable = aggressive_traditionalist_discount + has_variable = { + name = defensive_traditionalist_discount + name = aggressive_traditionalist_discount } } add = { @@ -2162,21 +2143,9 @@ tradition_parochialism = { is_shown = { #Replaced by tradition_republican_legacy NOT = { has_cultural_tradition = tradition_republican_legacy } -# NOR ={ -# this = culture:roman -# any_parent_culture_or_above = { -# this = culture:roman -# } -# } +# NOT = { culture_is_or_has_ancestor_trigger = { CULTURE = culture:roman } } } can_pick = { -# NOR ={ -# this = culture:roman -# any_parent_culture_or_above = { -# this = culture:roman -# } -# } - NOT = { has_cultural_tradition = tradition_republican_legacy } custom_tooltip = { text = cultrad_not_nomadic_government_type scope:character = { @@ -2404,7 +2373,6 @@ tradition_staunch_traditionalists = { can_pick = { NOT = { has_cultural_tradition = tradition_fp3_fierce_independence - has_cultural_tradition = tradition_caucasian_wolves } } @@ -2455,9 +2423,9 @@ tradition_staunch_traditionalists = { } if = { limit = { - OR = { - has_variable = defensive_traditionalist_discount - has_variable = aggressive_traditionalist_discount + has_variable = { + name = defensive_traditionalist_discount + name = aggressive_traditionalist_discount } } add = { @@ -2510,12 +2478,7 @@ tradition_hill_dwellers = { is_shown = { #Cannot be picked if you have access to Highland Farming NOT = { has_cultural_tradition = tradition_amharic_highlanders } - NOR = { - this = culture:ethiopian - any_parent_culture_or_above = { - this = culture:ethiopian - } - } + NOT = { culture_is_or_has_ancestor_trigger = { CULTURE = culture:ethiopian } } } can_pick = { custom_description = { @@ -3484,11 +3447,9 @@ tradition_castle_keepers = { custom_tooltip = { scope:character = { OR = { - government_has_flag = government_is_feudal - government_has_flag = government_is_clan #Update for FP3 - government_has_flag = government_is_administrative - government_has_flag = government_has_merit - government_has_flag = government_is_japan_feudal + government_has_flag = government_is_feudal + government_has_flag = government_is_clan + government_has_flag = government_is_japan_feudal } } text = must_be_feudal_or_clan @@ -3499,14 +3460,6 @@ tradition_castle_keepers = { culture_tradition:tradition_city_keepers = { is_in_list = traits } } } - custom_tooltip = { - text = cultrad_not_nomadic_government_type - scope:character = { - NOT = { - government_has_flag = government_is_nomadic - } - } - } } parameters = { @@ -3604,10 +3557,9 @@ tradition_city_keepers = { custom_tooltip = { scope:character = { OR = { + government_has_mechanic = administrative government_has_flag = government_is_feudal government_has_flag = government_is_clan - government_has_flag = government_is_administrative - government_has_flag = government_has_merit government_has_flag = government_is_japan_feudal } } @@ -3850,8 +3802,8 @@ tradition_monastic_communities = { can_pick = { scope:character = { - faith = { - has_doctrine_parameter = take_vows_active + rite = { + rite_has_parameter = take_vows_active } } custom_tooltip = { diff --git a/common/culture/traditions/00_regional_traditions.txt b/common/culture/traditions/00_regional_traditions.txt index 6a4734899..e29b7e18b 100644 --- a/common/culture/traditions/00_regional_traditions.txt +++ b/common/culture/traditions/00_regional_traditions.txt @@ -15,7 +15,7 @@ tradition_byzantine_succession = { OR = { has_cultural_pillar = heritage_byzantine scope:character = { - has_title = title:e_byzantium + is_roman_emperor_trigger = yes } } #replaced by new Byzantine traditions @@ -24,7 +24,7 @@ tradition_byzantine_succession = { can_pick = { has_cultural_pillar = heritage_byzantine scope:character = { - has_title = title:e_byzantium + is_roman_emperor_trigger = yes } custom_tooltip = { text = cannot_have_tradition_court_eunuchs @@ -776,29 +776,14 @@ tradition_visigothic_codes = { } is_shown = { - always = no -# OR = { -# this = culture:visigothic -# this = culture:basque -# any_parent_culture_or_above = { -# OR = { -# this = culture:visigothic -# this = culture:basque -# } -# } -# } + OR = { + always = no +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:visigothic } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:daju } + } } can_pick = { -# OR = { -# this = culture:visigothic -# this = culture:basque -# any_parent_culture_or_above = { -# OR = { -# this = culture:visigothic -# this = culture:basque -# } -# } -# } + always = no # scope:character = { # has_religion = religion:christianity_religion #The Visigothic code is strongly associated with Christian canon law. # } @@ -1009,10 +994,7 @@ tradition_desert_nomads = { is_shown = { OR = { - this = culture:bedouin - any_parent_culture_or_above = { - this = culture:bedouin - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:bedouin } any_parent_culture = { has_cultural_tradition = tradition_desert_nomads } @@ -1294,8 +1276,8 @@ tradition_steppe_tolerance = { } character_modifier = { # easier to self-convert and create or reform faith - faith_creation_piety_cost_mult = -0.2 - faith_conversion_piety_cost_mult = -0.2 + rite_creation_piety_cost_mult = -0.1 + faith_conversion_piety_cost_mult = -0.3 different_faith_opinion = 10 different_faith_county_opinion_mult = -0.25 # reduced penalty for different faiths (note this appears confusing in the UI right now) } @@ -1368,21 +1350,11 @@ tradition_nubian_warrior_queens = { } is_shown = { - NOT = { has_game_rule = inversed_gender_equality } always = no -# any_parent_culture_or_above = { -# OR = { -# this = culture:nubian -# this = culture:daju -# } -# } - } - can_pick = { -# any_parent_culture_or_above = { -# OR = { -# this = culture:nubian -# this = culture:daju -# } +# NOT = { has_game_rule = inversed_gender_equality } +# OR = { +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:nubian } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:daju } # } } @@ -1471,21 +1443,12 @@ tradition_nubian_warrior_kings = { } is_shown = { - has_game_rule = inversed_gender_equality - any_parent_culture_or_above = { - OR = { - this = culture:nubian - this = culture:daju - } - } - } - can_pick = { - any_parent_culture_or_above = { - OR = { - this = culture:nubian - this = culture:daju - } - } + always = no +# has_game_rule = inversed_gender_equality +# OR = { +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:nubian } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:daju } +# } } parameters = { diff --git a/common/culture/traditions/00_ritual_traditions.txt b/common/culture/traditions/00_ritual_traditions.txt index b638d5b17..a7b1dfffe 100644 --- a/common/culture/traditions/00_ritual_traditions.txt +++ b/common/culture/traditions/00_ritual_traditions.txt @@ -40,8 +40,11 @@ tradition_monogamous = { } } - parameters = { + partners = { number_of_spouses = 1 + } + + parameters = { romance_scheme_bonus_vs_spouse = yes } @@ -59,8 +62,8 @@ tradition_monogamous = { if = { limit = { NOT = { - scope:character.faith = { - has_doctrine = doctrine_monogamy + scope:character.rite = { + rite_has_doctrine = doctrine_monogamy } } } @@ -125,7 +128,7 @@ tradition_polygamous = { } } - parameters = { + partners = { number_of_spouses = 4 } @@ -139,10 +142,10 @@ tradition_polygamous = { if = { limit = { NOT = { - scope:character.faith = { + scope:character.rite = { OR = { - has_doctrine = doctrine_polygamy - has_doctrine = doctrine_concubines + rite_has_doctrine = doctrine_polygamy + rite_has_doctrine = doctrine_concubines } } } @@ -208,11 +211,13 @@ tradition_concubines = { } } - parameters = { + partners = { number_of_spouses = 1 number_of_consorts = 3 - number_of_consorts_hegemony = 5 + number_of_consorts_by_tier = { + hegemony = 5 + } } cost = { @@ -225,10 +230,10 @@ tradition_concubines = { if = { limit = { NOT = { - scope:character.faith = { + scope:character.rite = { OR = { - has_doctrine = doctrine_polygamy - has_doctrine = doctrine_concubines + rite_has_doctrine = doctrine_polygamy + rite_has_doctrine = doctrine_concubines } } } @@ -750,12 +755,10 @@ tradition_sorcerous_metallurgy = { } can_pick = { - scope:character = { - faith = { - NOR = { - has_doctrine_parameter = witchcraft_illegal - has_doctrine_parameter = witchcraft_shunned - } + scope:character.rite = { + NOR = { + rite_has_parameter = witchcraft_illegal + rite_has_parameter = witchcraft_shunned } } } @@ -951,7 +954,7 @@ tradition_religion_blending = { } character_modifier = { - faith_creation_piety_cost_mult = -0.2 + rite_creation_piety_cost_mult = -0.1 faith_conversion_piety_cost_mult = -0.2 ignore_opinion_of_different_faith = yes } @@ -1052,6 +1055,7 @@ tradition_religious_patronage = { extra_piety_from_temple_construction = yes renown_from_temple_construction = yes consolidate_rule_decision = yes + cheaper_grand_cathedral_construction = yes } character_modifier = { monthly_piety_from_buildings_mult = 0.25 @@ -1393,9 +1397,9 @@ tradition_faith_bound = { } if = { limit = { - OR = { - has_variable = defensive_traditionalist_discount - has_variable = aggressive_traditionalist_discount + has_variable = { + name = defensive_traditionalist_discount + name = aggressive_traditionalist_discount } } add = { diff --git a/common/culture/traditions/00_societal_traditions.txt b/common/culture/traditions/00_societal_traditions.txt index 85ee7f0e7..9b39884c3 100644 --- a/common/culture/traditions/00_societal_traditions.txt +++ b/common/culture/traditions/00_societal_traditions.txt @@ -685,6 +685,7 @@ tradition_diasporic = { # Disaporic peoples are marginalized people who have lost their traditional homeland and been forced to live elsewhere. Any hybrid or divergent culture will, by definition, have a new homeland. As a result, new cultures can never pick this tradition, and only historical cultures may start with it. is_shown = { always = no } + can_pick = { always = no } parameters = { wanderers_learn_languages = yes @@ -701,7 +702,7 @@ tradition_diasporic = { diplomatic_range_mult = 0.2 } - cost = { prestige = 400 } + cost = { prestige = 9999 } ai_will_do = { value = 0 } } @@ -928,8 +929,8 @@ tradition_vegetarianism = { if = { limit = { NOT = { - scope:character.faith = { - has_doctrine = tenet_dharmic_pacifism + scope:character.rite = { + rite_has_tenet = tenet_dharmic_pacifism } } } @@ -2030,7 +2031,7 @@ tradition_philosopher_culture = { count >= 5 culture = prev primary_title.tier >= tier_county - has_trait = scholar + has_trait = erudite } } } @@ -2040,7 +2041,7 @@ tradition_philosopher_culture = { } add = { value = tradition_unfulfilled_criteria_penalty - desc = rulers_with_scholar_desc + desc = rulers_with_erudite_desc } } @@ -2348,9 +2349,9 @@ tradition_zealous_people = { } if = { limit = { - OR = { - has_variable = defensive_traditionalist_discount - has_variable = aggressive_traditionalist_discount + has_variable = { + name = defensive_traditionalist_discount + name = aggressive_traditionalist_discount } } add = { diff --git a/common/culture/traditions/03_fp2_traditions.txt b/common/culture/traditions/03_fp2_traditions.txt index 1b83e5261..ef623682a 100644 --- a/common/culture/traditions/03_fp2_traditions.txt +++ b/common/culture/traditions/03_fp2_traditions.txt @@ -192,7 +192,7 @@ tradition_fp2_strategy_gamers = { limit = { martial >= extremely_high_skill_rating learning >= extremely_high_skill_rating - has_trait = scholar + has_trait = erudite } add = 100 } @@ -334,8 +334,8 @@ tradition_fp2_ritualised_friendship = { } character_modifier = { - scheme_phase_duration_against_friend_add = 20 - scheme_phase_duration_against_best_friend_add = 40 + scheme_phase_duration_against_friend_add = medium_scheme_phase_duration_bonus_value + scheme_phase_duration_against_best_friend_add = major_scheme_phase_duration_bonus_value } cost = { diff --git a/common/culture/traditions/03_fp3_traditions.txt b/common/culture/traditions/03_fp3_traditions.txt index 4762b1727..4305cf122 100644 --- a/common/culture/traditions/03_fp3_traditions.txt +++ b/common/culture/traditions/03_fp3_traditions.txt @@ -383,7 +383,7 @@ tradition_fp3_beacon_of_learning = { # Offshoot of tradition_philosopher_culture count >= 5 culture = prev primary_title.tier >= tier_county - has_trait = scholar + has_trait = erudite } } } @@ -393,7 +393,7 @@ tradition_fp3_beacon_of_learning = { # Offshoot of tradition_philosopher_culture } add = { value = tradition_unfulfilled_criteria_penalty - desc = rulers_with_scholar_desc + desc = rulers_with_erudite_desc } } @@ -690,9 +690,11 @@ tradition_fp3_pragmatic_creed = { } if = { limit = { - culture_pillar:ethos_courtly = { is_in_list = traits } - culture_pillar:ethos_bureaucratic = { is_in_list = traits } - culture_pillar:ethos_spiritual = { is_in_list = traits } + NOR = { + culture_pillar:ethos_courtly = { is_in_list = traits } + culture_pillar:ethos_bureaucratic = { is_in_list = traits } + culture_pillar:ethos_spiritual = { is_in_list = traits } + } } add = { value = tradition_incompatible_ethos_penalty diff --git a/common/culture/traditions/07_ep3_traditions.txt b/common/culture/traditions/07_ep3_traditions.txt index a83f8615e..38035be7f 100644 --- a/common/culture/traditions/07_ep3_traditions.txt +++ b/common/culture/traditions/07_ep3_traditions.txt @@ -12,22 +12,17 @@ tradition_ep3_indomitable_azatani = { layers = { 0 = martial 1 = mena - 4 = indomitable_azatani.dds + 4 = indomitable_azatani.dds } is_shown = { always = no -# OR = { -# this = culture:armenian -# any_parent_culture_or_above = { -# this = culture:armenian -# } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:armenian } +# # DLC check. +# has_ep3_dlc_trigger = yes +# NOT = { +# has_cultural_tradition = tradition_horse_breeder # } - # DLC check. - has_ep3_dlc_trigger = yes - NOT = { - has_cultural_tradition = tradition_horse_breeder - } } can_pick = { culture_not_pacifistic_trigger = yes @@ -41,7 +36,7 @@ tradition_ep3_indomitable_azatani = { NOT = { has_cultural_tradition = tradition_horse_breeder } #To prevent stacking after hybridization } } - + parameters = { unlock_maa_ayrudzi = yes house_hostility_more_common = yes @@ -54,7 +49,7 @@ tradition_ep3_indomitable_azatani = { light_cavalry_damage_mult = 0.2 heavy_cavalry_damage_mult = 0.2 } - + cost = { prestige = { add = { @@ -109,11 +104,11 @@ tradition_ep3_indomitable_azatani = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { @@ -142,22 +137,17 @@ tradition_ep3_audacious_cadets = { layers = { 0 = martial 1 = western - 4 = audacious_cadets.dds + 4 = audacious_cadets.dds } is_shown = { always = no -# OR = { -# this = culture:norman -# any_parent_culture_or_above = { -# this = culture:norman -# } +# culture_is_or_has_ancestor_trigger = { CULTURE = culture:norman } +# # DLC check. +# has_ep3_dlc_trigger = yes +# NOT = { +# has_cultural_tradition = tradition_swords_for_hire # } - # DLC check. - has_ep3_dlc_trigger = yes - NOT = { - has_cultural_tradition = tradition_swords_for_hire - } } can_pick = { culture_not_pacifistic_trigger = yes @@ -171,7 +161,7 @@ tradition_ep3_audacious_cadets = { NOT = { has_cultural_tradition = tradition_swords_for_hire } #To prevent stacking after hybridization } } - + parameters = { unlock_maa_conrois = yes unlock_voluntary_laampdom = yes @@ -193,7 +183,7 @@ tradition_ep3_audacious_cadets = { character_travel_speed_mult = 0.1 character_travel_safety_mult = 0.1 } - + cost = { prestige = { add = { @@ -238,11 +228,11 @@ tradition_ep3_audacious_cadets = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { @@ -270,14 +260,14 @@ tradition_ep3_imperial_tagmata = { layers = { 0 = martial 1 = mediterranean - 4 = imperial_tagmata.dds + 4 = imperial_tagmata.dds } is_shown = { has_cultural_pillar = heritage_greek OR = { - exists = title:e_NEOW_byzantium.holder - exists = title:e_marblist.holder + exists = title:e_NEOW_byzantium.holder + exists = title:e_marblist.holder } # DLC check. has_ep3_dlc_trigger = yes @@ -287,7 +277,7 @@ tradition_ep3_imperial_tagmata = { } can_pick = { } - + parameters = { unlock_maa_cataphract = yes unlock_maa_akritai = yes @@ -301,7 +291,7 @@ tradition_ep3_imperial_tagmata = { knight_effectiveness_mult = -0.25 men_at_arms_title_limit = 1 } - + cost = { prestige = { add = { @@ -350,17 +340,17 @@ tradition_ep3_imperial_tagmata = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 400 if = { limit = { # Admin should be more into this scope:character = { - government_allows = administrative + government_has_mechanic = administrative } } multiply = 2 @@ -388,8 +378,8 @@ tradition_ep3_roman_ceremonies = { is_shown = { has_cultural_pillar = heritage_greek OR = { - exists = title:e_NEOW_byzantium.holder - exists = title:e_marblist.holder + exists = title:e_NEOW_byzantium.holder + exists = title:e_marblist.holder } # DLC check. has_ep3_dlc_trigger = yes @@ -399,7 +389,7 @@ tradition_ep3_roman_ceremonies = { } can_pick = { } - + parameters = { holds_triumphs = yes hosts_chariot_races = yes @@ -413,7 +403,7 @@ tradition_ep3_roman_ceremonies = { county_modifier = { county_opinion_add = -10 } - + cost = { prestige = { add = { @@ -460,17 +450,17 @@ tradition_ep3_roman_ceremonies = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { limit = { # Admin should be more into this scope:character = { - government_allows = administrative + government_has_mechanic = administrative } } multiply = 2 @@ -484,11 +474,11 @@ tradition_ep3_palace_politics = { layers = { 0 = intrigue 1 = mediterranean - 4 = palace_politics.dds + 4 = palace_politics.dds } is_shown = { - has_cultural_pillar = heritage_greek + has_cultural_pillar = heritage_greek # DLC check. has_ep3_dlc_trigger = yes NOT = { @@ -505,9 +495,12 @@ tradition_ep3_palace_politics = { NOT = { culture_tradition:tradition_merciful_blindings = { is_in_list = traits } } } } - + parameters = { + unlock_maa_varangian_guards = yes + unlock_akolouthos = yes reduced_bodyguard_aptitude = yes + can_blind_prisoners = yes can_castrate_prisoners = yes eunuch_trait_bonuses = yes can_appoint_chief_eunuch = yes @@ -517,25 +510,13 @@ tradition_ep3_palace_politics = { cultrad_unlocks_t2_countermeasures = yes palace_politics_trait_bonuses = yes palace_politics_trait_maluses = yes - landing_house_members_give_prestige = yes - penalty_for_revoking_titles_from_house_members = yes - cb_lower_prestige_level_requirement = yes - disloyal_trait_less_spurned = yes - disloyal_trait_more_common = yes - loyal_trait_more_common = yes } character_modifier = { monthly_court_grandeur_change_mult = 0.2 political_scheme_phase_duration_add = minor_scheme_phase_duration_bonus_value personal_scheme_phase_duration_add = minor_scheme_phase_duration_bonus_value - dynasty_house_opinion = 15 - opinion_of_liege = -10 - - ai_honor = -20 - ai_war_chance = 0.5 - ai_war_cooldown = -0.25 } - + cost = { prestige = { add = { @@ -583,17 +564,17 @@ tradition_ep3_palace_politics = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { limit = { # Admin should be more into this scope:character = { - government_allows = administrative + government_has_mechanic = administrative } } multiply = 2 @@ -617,10 +598,10 @@ tradition_ep3_cultivated_sophistication = { can_pick = { custom_tooltip = { text = must_have_administrative_government_tt - scope:character = { government_allows = administrative } + scope:character = { government_has_mechanic = administrative } } } - + parameters = { less_likely_to_culture_convert = yes other_cultures_more_likely_to_hybridize = yes @@ -632,7 +613,7 @@ tradition_ep3_cultivated_sophistication = { diplomatic_range_mult = 0.2 cultural_head_fascination_mult = -0.10 } - + cost = { prestige = { add = { @@ -679,16 +660,16 @@ tradition_ep3_cultivated_sophistication = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { limit = { # Admin should be more into this - has_cultural_pillar = heritage_greek + has_cultural_pillar = heritage_greek } multiply = 2 } diff --git a/common/culture/traditions/NEOW_traditions.txt b/common/culture/traditions/NEOW_traditions.txt index 02893ae8d..96bf9848d 100644 --- a/common/culture/traditions/NEOW_traditions.txt +++ b/common/culture/traditions/NEOW_traditions.txt @@ -19,10 +19,7 @@ tradition_british_palace_politics = { OR = { has_cultural_pillar = heritage_anglo_frisian has_cultural_pillar = heritage_scottish - this = culture:prytoneg - any_parent_culture_or_above = { - this = culture:prytoneg - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:prytoneg } } scope:character = { OR = { @@ -135,12 +132,7 @@ tradition_swords_of_freedom = { } is_shown = { - OR = { - this = culture:kuhjung - any_parent_culture_or_above = { - this = culture:kuhjung - } - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:kuhjung } } can_pick = { culture_not_pacifistic_trigger = yes @@ -322,7 +314,7 @@ tradition_british_meritocracy = { # Offshoot of tradition_philosopher_culture count >= 5 culture = prev primary_title.tier >= tier_county - has_trait = scholar + has_trait = erudite } } } @@ -332,7 +324,7 @@ tradition_british_meritocracy = { # Offshoot of tradition_philosopher_culture } add = { value = tradition_unfulfilled_criteria_penalty - desc = rulers_with_scholar_desc + desc = rulers_with_erudite_desc } } @@ -379,14 +371,8 @@ tradition_defiant = { # defiant has_cultural_pillar = heritage_french has_cultural_pillar = heritage_mosellic has_cultural_pillar = heritage_west_germanic - this = culture:rottisch - this = culture:rhinelander - any_parent_culture_or_above = { - OR = { - this = culture:rottisch - this = culture:rhinelander - } - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:rottisch } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:rhinelander } } } @@ -1109,16 +1095,9 @@ tradition_romanticised_banditry = { # romanticized banditry has_cultural_pillar = heritage_sardic has_cultural_pillar = heritage_italian has_cultural_pillar = heritage_albanian - this = culture:goral - this = culture:NEOW_slovak - this = culture:nakh - any_parent_culture_or_above = { - OR = { - this = culture:goral - this = culture:NEOW_slovak - this = culture:nakh - } - } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:goral } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:NEOW_slovak } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:nakh } } } diff --git a/common/culture/traditions/tgp_traditions.txt b/common/culture/traditions/tgp_traditions.txt index 5ab458964..7099ae195 100644 --- a/common/culture/traditions/tgp_traditions.txt +++ b/common/culture/traditions/tgp_traditions.txt @@ -23,7 +23,6 @@ culture_tradition:tradition_horse_lords = { is_in_list = traits } culture_tradition:tradition_devoted_horsemanship = { is_in_list = traits } culture_tradition:tradition_tgp_imperial_peace = { is_in_list = traits } - culture_tradition:tradition_tgp_imperial_peace = { is_in_list = traits } } } @@ -65,14 +64,14 @@ tradition_tgp_rice_cultivators = { 1 = asian 4 = svamp.dds } - + is_shown = { has_tgp_dlc_trigger = yes NOT = { culture_tradition:tradition_intensive_farming = { is_in_list = traits } } } - + can_pick = { custom_tooltip = { text = culture_in_terraced_hills_terrain_desc @@ -83,7 +82,7 @@ tradition_tgp_rice_cultivators = { } } } - + parameters = { rice_cultivators_next_level_paddy_fields = yes rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle = yes @@ -94,7 +93,7 @@ tradition_tgp_rice_cultivators = { terraced_hills_construction_gold_cost = -0.1 terraced_hills_levy_size = 0.1 } - + cost = { prestige = { add = { @@ -127,11 +126,11 @@ tradition_tgp_rice_cultivators = { desc = culture_in_terraced_hills_terrain_count_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 400 if = { @@ -175,13 +174,12 @@ tradition_tgp_imperial_peace = { government_is_japanese_trigger = yes } } - + can_pick = { # Mutually exclusive with Bushido and other Horse Archer MaA NOR = { culture_tradition:tradition_horse_lords = { is_in_list = traits } culture_tradition:tradition_devoted_horsemanship = { is_in_list = traits } - culture_tradition:tradition_tgp_imperial_peace = { is_in_list = traits } culture_tradition:tradition_tgp_bushido = { is_in_list = traits } } } @@ -196,7 +194,7 @@ tradition_tgp_imperial_peace = { character_modifier = { defender_holding_advantage = 2 } - + cost = { prestige = { add = { @@ -220,7 +218,7 @@ tradition_tgp_imperial_peace = { multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 50 if = { @@ -249,14 +247,13 @@ tradition_tgp_defiant_ambushers = { has_tgp_dlc_trigger = yes has_cultural_pillar = heritage_ainuic } - + can_pick = { # Mutually exclusive with other Horse Archer MaA NOR = { culture_tradition:tradition_horse_lords = { is_in_list = traits } culture_tradition:tradition_devoted_horsemanship = { is_in_list = traits } culture_tradition:tradition_tgp_imperial_peace = { is_in_list = traits } - culture_tradition:tradition_tgp_bushido = { is_in_list = traits } } } @@ -271,7 +268,7 @@ tradition_tgp_defiant_ambushers = { raid_speed = 0.1 levy_reinforcement_rate_even_if_baron = 0.1 } - + cost = { prestige = { add = { @@ -295,7 +292,7 @@ tradition_tgp_defiant_ambushers = { multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 50 if = { @@ -327,7 +324,7 @@ tradition_tgp_warrior_monks = { has_religion = religion:buddhism_religion } } - + can_pick = { # Mutually exclusive with other Warrior Monk NOT = { @@ -344,7 +341,7 @@ tradition_tgp_warrior_monks = { character_modifier = { prowess_per_piety_level = 1 } - + cost = { prestige = { add = { @@ -365,11 +362,11 @@ tradition_tgp_warrior_monks = { desc = not_courtly_communal_or_spiritual_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 50 if = { @@ -403,7 +400,7 @@ tradition_tgp_ephemeral_grace = { } } } - + can_pick = { # Mutually exclusive with Poetry and Gardening NOT = { culture_tradition:tradition_poetry = { is_in_list = traits } } @@ -419,7 +416,7 @@ tradition_tgp_ephemeral_grace = { ai_romance_scheme_increase = yes poet_trait_romance_bonuses = yes } - + cost = { prestige = { add = { @@ -479,11 +476,11 @@ tradition_tgp_ephemeral_grace = { desc = tradition_travel_discount_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 50 if = { @@ -512,7 +509,7 @@ tradition_tgp_inward_perfection = { has_tgp_dlc_trigger = yes has_east_asian_heritage_pillar_trigger = yes } - + can_pick = { # Mutually exclusive with other Isolationist NOR = { @@ -538,7 +535,7 @@ tradition_tgp_inward_perfection = { monthly_lifestyle_xp_gain_mult = 0.05 diplomatic_range_mult = -0.25 } - + cost = { prestige = { add = { @@ -561,7 +558,7 @@ tradition_tgp_inward_perfection = { } } } - + ai_will_do = { value = 50 } @@ -585,7 +582,7 @@ tradition_cultural_primacy = { } } } - + can_pick = { # Mutually exclusive with other Isolationist NOR = { @@ -637,7 +634,7 @@ tradition_cultural_primacy = { } } } - + ai_will_do = { value = 50 } @@ -663,7 +660,7 @@ tradition_maritime_way_of_life = { } } } - + can_pick = { has_cultural_pillar = heritage_austronesian custom_description = { @@ -676,7 +673,7 @@ tradition_maritime_way_of_life = { } } } - + parameters = { can_travel_along_rivers = yes coastal_tribe_bonuses = yes #Maa bonuses for coastal tribal @@ -688,7 +685,7 @@ tradition_maritime_way_of_life = { coastal_sea_travel_danger = medium_sea_danger_reduction sea_travel_danger = medium_sea_danger_reduction } - + cost = { prestige = { add = { @@ -731,7 +728,7 @@ tradition_maritime_way_of_life = { scope:character = { has_variable = tradition_seafaring_travel_discount } - + } add = { @@ -740,11 +737,11 @@ tradition_maritime_way_of_life = { } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { # Make stacking more less common @@ -793,11 +790,11 @@ tradition_tgp_hydraulic_builders = { 1 = asian 4 = wat.dds } - + can_pick = { scope:character = { government_has_flag = government_is_mandala } } - + is_shown = { has_tgp_dlc_trigger = yes scope:character = { government_has_flag = government_is_mandala } @@ -823,7 +820,7 @@ tradition_tgp_hydraulic_builders = { terraced_hills_development_growth_factor = 0.1 terraced_hills_construction_gold_cost = -0.1 } - + cost = { prestige = { add = { @@ -854,11 +851,11 @@ tradition_tgp_hydraulic_builders = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 400 if = { @@ -888,7 +885,7 @@ tradition_tgp_fortified_strongholds = { 1 = asian 4 = wall.dds } - + is_shown = { has_tgp_dlc_trigger = yes scope:character = { government_has_flag = government_is_mandala } @@ -907,7 +904,7 @@ tradition_tgp_fortified_strongholds = { } } } - + parameters = { founding_temple_citadels_gives_more_piety = yes warmonger_city_founders = yes @@ -918,7 +915,7 @@ tradition_tgp_fortified_strongholds = { temple_citadel_holding_holding_build_gold_cost = -0.2 temple_citadel_holding_holding_build_speed = -0.1 } - + cost = { prestige = { add = { @@ -951,7 +948,7 @@ tradition_tgp_fortified_strongholds = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } @@ -969,7 +966,7 @@ tradition_tgp_religious_hospitality = { 1 = asian 4 = wat.dds } - + is_shown = { has_tgp_dlc_trigger = yes scope:character = { government_has_flag = government_is_mandala } @@ -981,13 +978,13 @@ tradition_tgp_religious_hospitality = { development_gain_from_religious_exiles_is_doubled = yes ai_uses_religious_exiles = yes } - + character_modifier = { different_faith_opinion = 20 faith_conversion_piety_cost_mult = -0.25 different_faith_county_opinion_mult = -0.5 } - + cost = { prestige = { add = { @@ -1010,7 +1007,7 @@ tradition_tgp_religious_hospitality = { desc = not_courtly_communal_egalitarian_or_spiritual_desc } } - + if = { limit = { culture_tradition_reduction_trigger = { TRADITION = tradition_tgp_religious_hospitality } @@ -1046,7 +1043,7 @@ tradition_tgp_esoteric_power = { 1 = asian 4 = kris.dds } - + is_shown = { has_tgp_dlc_trigger = yes scope:character = { government_has_flag = government_is_mandala } @@ -1061,7 +1058,7 @@ tradition_tgp_esoteric_power = { } } } - + parameters = { increases_effect_of_mandala_realm_contracts = yes may_commission_kris = yes @@ -1071,7 +1068,7 @@ tradition_tgp_esoteric_power = { character_modifier = { jungle_travel_danger = jungle_medium_danger_reduction } - + cost = { prestige = { add = { @@ -1103,7 +1100,7 @@ tradition_tgp_esoteric_power = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } @@ -1121,7 +1118,7 @@ tradition_tgp_barangay_confederations = { 1 = asian 4 = wall.dds } - + is_shown = { has_tgp_dlc_trigger = yes scope:character = { government_has_flag = government_is_tribal } @@ -1147,7 +1144,7 @@ tradition_tgp_barangay_confederations = { character_modifier = { fellow_confederation_member_opinion = 10 } - + cost = { prestige = { add = { @@ -1225,7 +1222,7 @@ tradition_nudists = { 1 = asian 4 = jungle.dds } - + parameters = { naked_culture_active = yes lustful_trait_less_common = yes @@ -1242,7 +1239,7 @@ tradition_nudists = { jungle_advantage = 5 jungle_travel_danger = jungle_medium_danger_reduction } - + cost = { prestige = { add = { @@ -1315,9 +1312,9 @@ tradition_tgp_mountain_island = { 1 = asian 4 = mountain.dds } - + is_shown = { - NOR = { #This is replaced by Himalayan Settlers, Mountaineer Ruralism and Mountain Herding. + NOR = { #This is replaced by Himalayan Settlers, Mountaineer Ruralism and Mountain Herding. has_cultural_tradition = tradition_himalayan_settlers has_cultural_tradition = tradition_mountaineer_ruralism has_cultural_tradition = tradition_mountain_homes @@ -1375,7 +1372,7 @@ tradition_tgp_mountain_island = { forest_construction_gold_cost = -0.1 forest_holding_construction_gold_cost = -0.1 } - + cost = { prestige = { add = { @@ -1421,11 +1418,11 @@ tradition_tgp_mountain_island = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 100 if = { @@ -1482,7 +1479,7 @@ tradition_stratified_society = { character_modifier = { } - + cost = { prestige = { add = { @@ -1566,7 +1563,7 @@ tradition_fortress_mastery = { } } } - + ai_will_do = { value = 50 } @@ -1574,19 +1571,16 @@ tradition_fortress_mastery = { tradition_tgp_art_of_war = { category = regional - + layers = { 0 = martial 1 = asian - 4 = marching_soldiers.dds + 4 = marching_soldiers.dds } is_shown = { OR = { -# this = culture:han -# any_parent_culture_or_above = { -# this = culture:han -# } + culture_is_or_has_ancestor_trigger = { CULTURE = culture:han } has_cultural_pillar = heritage_chinese } # DLC check. @@ -1658,17 +1652,17 @@ tradition_tgp_art_of_war = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 400 if = { limit = { # Admin should be more into this scope:character = { - government_allows = administrative + government_has_mechanic = administrative } } multiply = 2 @@ -1724,9 +1718,9 @@ tradition_tgp_court_machinations = { } } } - + } - + can_pick_for_hybridization = { custom_tooltip = { text = only_one_marriage_tradition_allowed @@ -1736,10 +1730,16 @@ tradition_tgp_court_machinations = { } } - parameters = { - number_of_consorts_hegemony = 20 - number_of_consorts = 3 + partners = { number_of_spouses = 1 + number_of_consorts = 3 + + number_of_consorts_by_tier = { + hegemony = 20 + } + } + + parameters = { can_appoint_chief_eunuch = yes court_machinations_eunuch_trait_bonuses = yes courtiers_more_likely_to_join_hostile_schemes_in_court = yes @@ -1751,7 +1751,7 @@ tradition_tgp_court_machinations = { character_modifier = { owned_political_scheme_success_chance_add = 10 } - + cost = { prestige = { add = { @@ -1792,10 +1792,10 @@ tradition_tgp_court_machinations = { if = { limit = { NOT = { - scope:character.faith = { + scope:character.rite = { OR = { - has_doctrine = doctrine_polygamy - has_doctrine = doctrine_concubines + rite_has_doctrine = doctrine_polygamy + rite_has_doctrine = doctrine_concubines } } } @@ -1805,17 +1805,17 @@ tradition_tgp_court_machinations = { desc = cheaper_tradition_from_faith } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 200 if = { limit = { # Admin should be more into this scope:character = { - government_allows = administrative + government_has_mechanic = administrative } } multiply = 2 @@ -1859,7 +1859,7 @@ tradition_scholar_officials = { parameters = { can_always_convert_to_confucianism = yes can_author_books = yes - + wants_to_learn_chinese = yes learn_language_success_chance_for_others = yes @@ -1896,12 +1896,12 @@ tradition_scholar_officials = { if = { limit = { scope:character = { - has_trait = scholar + has_trait = erudite } } multiply = { value = 0.75 - #desc = + #desc = } } if = { @@ -1912,7 +1912,7 @@ tradition_scholar_officials = { } multiply = { value = 0.5 - #desc = + #desc = } } } @@ -1931,9 +1931,9 @@ tradition_sinophilic = { is_shown = { has_tgp_dlc_trigger = yes NOT = { has_cultural_pillar = heritage_chinese } #Can't be Sinophilic when you're Chinese -# culture:han.culture_head ?= { -# in_diplomatic_range = scope:character -# } + culture:han.culture_head ?= { + in_diplomatic_range = scope:character + } } parameters = { @@ -1978,7 +1978,7 @@ tradition_sinophilic = { count >= 5 culture = prev primary_title.tier >= tier_county - has_trait = scholar + has_trait = erudite } } } @@ -1988,7 +1988,7 @@ tradition_sinophilic = { } add = { value = tradition_unfulfilled_criteria_penalty - desc = rulers_with_scholar_desc + desc = rulers_with_erudite_desc } } } @@ -2003,10 +2003,10 @@ tradition_tgp_japanese_houses = { 1 = asian 4 = fan.dds } - + is_shown = { has_tgp_dlc_trigger = yes - NOT = { + NOT = { has_game_rule = no_adoption } culture_head = { # Only eastern Buddhists and regional faiths @@ -2021,20 +2021,23 @@ tradition_tgp_japanese_houses = { culture_tradition:tradition_ep3_cultivated_sophistication = { is_in_list = traits } } } - + parameters = { adultery_always_accepted = yes allows_noble_family_adoption = yes free_adoption = yes wider_adoption = yes better_ward_education = yes + } + + partners = { number_of_spouses = 4 } character_modifier = { house_relation_change_mult = 0.25 } - + cost = { prestige = { add = { @@ -2095,7 +2098,7 @@ tradition_cultivation = { } } } - + can_pick = { custom_description = { text = culture_not_bellicose @@ -2105,7 +2108,7 @@ tradition_cultivation = { } NOT = { has_cultural_tradition = tradition_warrior_culture } } - + parameters = { can_always_convert_to_taoism = yes mystic_trait_from_education = yes @@ -2115,7 +2118,7 @@ tradition_cultivation = { character_modifier = { life_expectancy = 5 } - + cost = { prestige = { add = { @@ -2149,7 +2152,7 @@ tradition_cultivation = { count >= 5 culture = prev primary_title.tier >= tier_county - has_trait = scholar + has_trait = erudite } } } @@ -2159,7 +2162,7 @@ tradition_cultivation = { } add = { value = tradition_unfulfilled_criteria_penalty - desc = rulers_with_scholar_desc + desc = rulers_with_erudite_desc } } @@ -2185,11 +2188,11 @@ tradition_cultivation = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 100 if = { @@ -2228,7 +2231,7 @@ tradition_intensive_farming = { culture_tradition:tradition_tgp_rice_cultivators = { is_in_list = traits } } } - + can_pick = { custom_tooltip = { text = culture_in_farmlands_or_floodplains_terrain_desc @@ -2248,7 +2251,7 @@ tradition_intensive_farming = { } } } - + parameters = { content_trait_more_common = yes martial_education_worse_outcomes = yes @@ -2267,7 +2270,7 @@ tradition_intensive_farming = { terraced_hills_tax_mult = 0.05 terraced_hills_levy_size = 0.1 } - + cost = { prestige = { add = { @@ -2311,11 +2314,11 @@ tradition_intensive_farming = { desc = inspired_by_culture_desc } } - + multiply = tradition_replacement_cost_if_relevant } } - + ai_will_do = { value = 400 if = {