more file updating

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

View file

@ -15,8 +15,8 @@ commission_artifact_decision = {
sort_order = 100
is_shown = {
is_landed_or_landless_administrative = yes
highest_held_title_tier >= tier_county
is_landed_or_landless_administrative_or_theocratic = yes
exists = capital_province
}
@ -29,7 +29,7 @@ commission_artifact_decision = {
}
custom_tooltip = {
text = commission_artifact_decision.nomad_requirements
NOR = {
OR = {
has_character_modifier = mpo_artifact_material_modifier
culture ?= {
has_cultural_parameter = nomadic_metal_artifact_unlock
@ -42,6 +42,7 @@ commission_artifact_decision = {
minimum_cost = {
# Matches the cost defined in 00_inspirations.txt
gold = {
root = { save_temporary_scope_as = inspiration_sponsor }
value = basic_fund_inspiration_cost
if = {
limit = { # Estate discount bonus
@ -92,6 +93,7 @@ commission_artifact_decision = {
gui = "decision_view_widget_commission_artifact"
controller = decision_option_list_controller
decision_to_second_step_button = "COMMISSION_ARTIFACT_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
# Commission a Kris
item = {
@ -222,9 +224,7 @@ commission_artifact_decision = {
}
custom_tooltip = {
text = commission_artifact_decision.nomad_requirements
NOT = {
has_character_modifier = mpo_artifact_material_modifier
}
has_character_modifier = mpo_artifact_material_modifier
}
}
}
@ -245,6 +245,69 @@ commission_artifact_decision = {
}
}
# Mundane devotional items (crosses, croziers, etc.), not relics
item = {
value = commission_religious
is_shown = {
has_pam_dlc_trigger = yes
religion = religion:christianity_religion
}
is_valid = {
custom_tooltip = {
text = commission_artifact_decision.religious_requirements
OR = {
piety_level >= 3
any_court_position_holder = {
type = antiquarian_court_position
is_clergy = yes
}
}
}
custom_tooltip = {
text = commission_artifact_decision.religious_court_requirements
OR = {
has_royal_court = yes
any_sub_realm_barony = {
is_holy_site_of = root.faith
}
}
}
trigger_if = {
limit = {
government_has_flag = government_is_nomadic
}
custom_tooltip = {
text = commission_artifact_decision.nomad_requirements
has_character_modifier = mpo_artifact_material_modifier
}
}
}
current_description = {
desc = commission_artifact_decision_option_religious_desc
}
localization = {
desc = commission_artifact_decision_option_religious
}
icon = "gfx/interface/icons/artifact/pam_artifact_crucifix.dds"
ai_chance = {
value = 0
if = {
limit = {
has_royal_court = yes
has_dlc_feature = court_artifacts
# Only make this choice if we don't already have an artifact of this type.
NOT = {
any_character_artifact = {
artifact_slot_type = pedestal
}
}
}
add = 100
}
}
}
# Court Artifacts only appear if you have the Royal Court DLC, and are only valid if you have an active Royal Court
item = {
@ -258,9 +321,7 @@ commission_artifact_decision = {
}
custom_tooltip = {
text = commission_artifact_decision.nomad_requirements
NOT = {
has_character_modifier = mpo_artifact_material_modifier
}
has_character_modifier = mpo_artifact_material_modifier
}
}
}
@ -305,9 +366,7 @@ commission_artifact_decision = {
}
custom_tooltip = {
text = commission_artifact_decision.nomad_requirements
NOT = {
has_character_modifier = mpo_artifact_material_modifier
}
has_character_modifier = mpo_artifact_material_modifier
}
}
}
@ -349,9 +408,7 @@ commission_artifact_decision = {
}
custom_tooltip = {
text = commission_artifact_decision.nomad_requirements
NOT = {
has_character_modifier = mpo_artifact_material_modifier
}
has_character_modifier = mpo_artifact_material_modifier
}
}
}
@ -381,6 +438,36 @@ commission_artifact_decision = {
}
}
# A carnal devotional item, for those who exalt the flesh
item = {
value = commission_phallus
is_shown = {
has_personal_tenet_flag = tenet_carnal_exaltation_commission_artifacts_debauched
}
current_description = {
desc = commission_artifact_decision_option_phallus_desc
}
localization = {
desc = commission_artifact_decision_option_phallus
}
icon = "gfx/interface/icons/artifact/artifact_small_box.dds"
ai_chance = {
value = 0
if = {
limit = {
# Only make this choice if we don't already have an artifact of this type.
NOT = {
any_character_artifact = {
has_variable = commissioned_wooden_phallus
}
}
}
add = 100
}
}
}
#Alchemy isn't included here since that inspiration is much more tied to the pursuit of knowledge initiated by the inspired person
}
@ -489,11 +576,19 @@ commission_artifact_decision = {
}
create_inspiration = smith_inspiration
}
scope:commission_religious = { create_inspiration = religious_artifact_inspiration }
scope:commission_tapestry = {
root = { trigger_event = fund_inspiration.0044 }
}
scope:commission_furniture = { create_inspiration = artisan_inspiration }
scope:commission_book = { create_inspiration = book_inspiration }
scope:commission_phallus = {
set_variable = {
name = artifact_artisan_type
value = flag:artisan_type_phallus
}
create_inspiration = artisan_inspiration
}
}
if = {
limit = { exists = inspiration }

View file

@ -49,11 +49,11 @@ diarch_attempt_to_overthrow_liege = {
is_shown = {
# If you're not in a diarchy, we don't care.
OR = {
AND = {
exists = liege
is_diarch_of_target = liege
}
is_designated_diarch = yes
AND = {
is_diarch_of_target = liege
exists = liege
}
}
}

View file

@ -13,30 +13,29 @@ create_cadet_branch_decision = {
decision_group_type = major
ai_check_interval_by_tier = {
barony = 0
county = 6
county = 12
duchy = 6
kingdom = 6
empire = 6
hegemony = 6
kingdom = 1
empire = 1
hegemony = 1
}
is_shown = {
is_playable_character = yes
exists = house.house_head
is_house_head = no
highest_held_title_tier > tier_barony
government_allows = rulers_should_have_dynasty
is_house_head = no
NOR = {
government_has_flag = government_is_holy_order
government_has_flag = government_is_theocracy
AND = {
faith = { has_doctrine = doctrine_theocracy_temporal }
has_council_position = councillor_court_chaplain
rite ?= { rite_has_doctrine = doctrine_theocracy_temporal }
}
AND = {
has_tgp_dlc_trigger = yes
tgp_is_in_ceremonial_house_trigger = yes
has_tgp_dlc_trigger = yes
}
}
exists = house.house_head
is_playable_character = yes
}
is_valid = {
@ -65,7 +64,7 @@ create_cadet_branch_decision = {
}
# If you are Administrative, we let the player create a new House much easier, as to have easy access to their own Family Title and Estate.
trigger_else_if = {
limit = { government_allows = administrative }
limit = { government_allows = noble_families }
trigger_if = {
limit = {
is_ai = yes # We don't want the AI to create cadet branches willy nilly, so they have additional restrictions.
@ -79,12 +78,13 @@ create_cadet_branch_decision = {
any_held_title = {
place_in_line_of_succession = {
target = root
value <=3
value <= 3
}
}
}
}
}
highest_held_title_tier >= main_administrative_tier
}
# No triggers for players.
}
@ -104,6 +104,14 @@ create_cadet_branch_decision = {
}
}
}
# only feudal or japanese ruler create branch when liege is househead.
trigger_if = {
limit = {
government_is_japanese_trigger = no
NOT = { government_has_flag = government_is_feudal }
}
NOT = { target_is_liege_or_above = house.house_head }
}
# Marriage restrictions
trigger_if = {
limit = { is_male = yes }
@ -111,7 +119,7 @@ create_cadet_branch_decision = {
limit = {
OR = {
is_married = yes
faith = { has_doctrine = doctrine_gender_female_dominated }
rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
patrilinear_marriage = yes
@ -122,7 +130,7 @@ create_cadet_branch_decision = {
limit = {
OR = {
is_married = yes
faith = { has_doctrine = doctrine_gender_male_dominated }
rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
}
matrilinear_marriage = yes
@ -173,53 +181,29 @@ create_cadet_branch_decision = {
}
}
}
ai_potential = {
exists = house.house_head
is_adult = yes
highest_held_title_tier > tier_barony
any_child = { is_alive = yes }
}
ai_will_do = {
base = 30
modifier = { # Dukes and above are more keen
add = 70
exists = primary_title
primary_title.tier > tier_county
}
modifier = { # Prefer to stay in liege's dynasty
add = -50
government_is_japanese_trigger = no
top_liege != this
any_liege_or_above = {
dynasty = root.dynasty
any_child = { is_alive = yes } # move it beforehand for performance reason
trigger_if = {
limit = {
# always allow branch if in different realm, they need the estate.
NAND = {
government_allows = noble_families
trigger_if = {
limit = { exists = house.house_head.liege }
house.house_head.liege != root
}
}
}
}
modifier = { # Childless rulers should not found houses
factor = 0
# Childless rulers should not found houses
any_child = {
is_alive = yes
count < 3
count >= 3
}
}
modifier = { # Stop stealing player's house members
factor = 0
any_player = {
OR = {
any_child = {
OR = {
is_child_of = root
is_grandchild_of = root
is_great_grandchild_of = root
}
}
any_child = {
even_if_dead = yes
NOR = {
# Stop stealing player's house members
any_player = {
OR = {
any_child = {
OR = {
is_child_of = root
@ -227,9 +211,6 @@ create_cadet_branch_decision = {
is_great_grandchild_of = root
}
}
}
any_child = {
even_if_dead = yes
any_child = {
even_if_dead = yes
any_child = {
@ -240,32 +221,54 @@ create_cadet_branch_decision = {
}
}
}
any_child = {
even_if_dead = yes
any_child = {
even_if_dead = yes
any_child = {
OR = {
is_child_of = root
is_grandchild_of = root
is_great_grandchild_of = root
}
}
}
}
}
}
}
years_from_game_start >= 5
}
}
ai_will_do = {
base = 30
modifier = { # Dukes and above are more keen
add = {
value = primary_title.tier
subtract = tier_county
multiply = 20
}
}
# we don't want AI to split from their House unless they dislike their house head
modifier = {
factor = 0
government_has_flag = government_is_clan
opinion = {
target = house.house_head
value >= -50
add = {
value = 0
subtract = "opinion(house.house_head)"
}
}
# If an admin top liege ever ends up having their house head in a different realm, they should create a cadet branch ASAP
modifier = {
add = 1000
government_allows = administrative
top_liege = this
this != house.house_head.top_liege
}
modifier = {
add = -250
years_from_game_start < 5
government_allows = noble_families
liege = this
trigger_if = {
limit = { exists = house.house_head.liege }
house.house_head.liege != root
}
}
### TGP
@ -275,7 +278,7 @@ create_cadet_branch_decision = {
top_liege.primary_title = {
any_past_holder = { is_close_family_of = root }
}
add = -25
add = -20
}
modifier = { # Prefer to branch away from leading house if distant to split up blocs
@ -295,12 +298,13 @@ create_cadet_branch_decision = {
modifier = { # Ruler should not break family apart
government_is_japanese_trigger = yes
is_independent_ruler = yes
house.house_head ?= { is_vassal_or_below_of = root }
add = -1000
}
modifier = { # Close and extended family prefer to stay with Ritsuryo house heads
government_is_japanese_trigger = yes
government_allows = administrative
government_allows = noble_families
OR = {
is_close_or_extended_family_of = house.house_head
AND = {

View file

@ -31,8 +31,8 @@ invite_knights_decision = {
cooldown = { years = invite_knights_decision_cooldown_value }
is_shown = {
is_landless_adventurer = no
max_number_of_knights > 0
is_landless_adventurer = no
}
is_valid = {
@ -139,8 +139,8 @@ invite_claimants_decision = {
cooldown = { days = 3650 }
is_shown = {
is_landed_or_landless_administrative = yes
primary_title.tier > tier_county
is_landed_or_landless_administrative = yes
NOT = { government_has_flag = government_is_nomadic }
}
@ -210,10 +210,10 @@ scrape_the_barrel_decision = {
cooldown = { years = 2 }
is_shown = {
is_landed_or_landless_administrative = yes
has_royal_court = yes
has_dlc_feature = royal_court
court_grandeur_current_level <= 4
has_dlc_feature = royal_court
is_landed_or_landless_administrative_or_theocratic = yes
}
effect = {

View file

@ -147,13 +147,14 @@ diligent_development_focus_decision = {
cooldown = { days = @diligent_development_focus_cooldown_time }
is_shown = {
is_landed = yes
OR = {
has_trait = diligent
has_personal_tenet_flag = tenet_ora_et_labora_diligent_work_decision
top_participant_group:dynastic_cycle ?= {
participant_group_type = advancement_movement
}
}
is_landed = yes
NOT = { government_has_flag = government_is_nomadic } # They use develop_fertility_decision
}
@ -186,19 +187,22 @@ diligent_development_focus_decision = {
limit = {
has_trait = diligent
}
stress_impact = {
stress_and_fulfillment_impact = {
diligent = medium_stress_impact_gain
}
}
else = {
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
}
}
}
ai_potential = {
has_trait = diligent
OR = {
has_trait = diligent
has_personal_tenet_flag = tenet_ora_et_labora_diligent_work_decision
}
NOT = {
has_trait = temperate
}

View file

@ -26,8 +26,8 @@ unity_reinforce_army_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -107,8 +107,8 @@ unity_establish_network_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -188,8 +188,8 @@ unity_improve_taxation_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -266,8 +266,8 @@ unity_send_bailiffs_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -350,8 +350,8 @@ unity_placate_vassals_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -431,8 +431,8 @@ unity_organize_house_for_war_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid_showing_failures_only = {
@ -504,8 +504,8 @@ unity_encourage_house_economy_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid_showing_failures_only = {
@ -575,8 +575,8 @@ unity_steer_house_direction_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid_showing_failures_only = {
@ -840,8 +840,8 @@ unity_search_for_administrators_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -876,14 +876,15 @@ unity_search_for_administrators_decision = {
template = administrator_character
employer = root
faith = root.faith
rite = root.rite
culture = root.culture
gender_female_chance = {
if = {
limit = { root.faith = { has_doctrine = doctrine_gender_male_dominated } }
limit = { root.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { root.faith = { has_doctrine = doctrine_gender_female_dominated } }
limit = { root.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
@ -970,11 +971,11 @@ unity_improve_logistics_decision = {
cooldown = { years = 20 }
is_shown = {
has_fp3_dlc_trigger = yes
culture = { has_cultural_pillar = heritage_iranian }
government_has_flag = government_is_clan
is_landed = yes
culture ?= { has_cultural_pillar = heritage_iranian }
has_fp3_dlc_trigger = yes
exists = house
is_landed = yes
}
is_valid = {
@ -1061,11 +1062,11 @@ unity_promote_development_decision = {
cooldown = { years = 20 }
is_shown = {
has_fp3_dlc_trigger = yes
culture = { has_cultural_pillar = heritage_iranian }
government_has_flag = government_is_clan
is_landed = yes
culture ?= { has_cultural_pillar = heritage_iranian }
has_fp3_dlc_trigger = yes
exists = house
is_landed = yes
}
is_valid = {
@ -1151,8 +1152,8 @@ unity_consult_house_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
exists = house
is_landed = yes
}
is_valid = {
@ -1240,7 +1241,7 @@ unity_establish_futuwaa_lodges_decision = {
has_dlc_feature = diverge_culture
culture = { has_cultural_parameter = martial_custom_equal_combatant }
}
faith = { has_doctrine_parameter = combatant_can_be_either_gender_if_no_roco }
rite = { rite_has_parameter = combatant_can_be_either_gender_if_no_roco }
has_character_modifier = ignores_gender_army_rules
culture = {
OR = {
@ -1260,7 +1261,7 @@ unity_establish_futuwaa_lodges_decision = {
has_dlc_feature = diverge_culture
culture = { has_cultural_parameter = martial_custom_female_only_combatant }
}
faith = { has_doctrine_parameter = combatant_must_be_female_if_no_roco }
rite = { rite_has_parameter = combatant_must_be_female_if_no_roco }
}
}
desc = women
@ -1273,7 +1274,7 @@ unity_establish_futuwaa_lodges_decision = {
has_dlc_feature = diverge_culture
culture = { has_cultural_parameter = martial_custom_male_only_combatant }
}
faith = { has_doctrine_parameter = combatant_must_be_male_if_no_roco }
rite = { rite_has_parameter = combatant_must_be_male_if_no_roco }
}
}
desc = loc_men
@ -1286,10 +1287,10 @@ unity_establish_futuwaa_lodges_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
culture ?= { has_cultural_tradition = tradition_futuwaa }
exists = house
exists = capital_province
culture = { has_cultural_tradition = tradition_futuwaa }
is_landed = yes
}
is_valid = {
@ -1312,7 +1313,7 @@ unity_establish_futuwaa_lodges_decision = {
has_dlc_feature = diverge_culture
culture = { has_cultural_parameter = martial_custom_equal_combatant }
}
faith = { has_doctrine_parameter = combatant_can_be_either_gender_if_no_roco }
rite = { rite_has_parameter = combatant_can_be_either_gender_if_no_roco }
has_character_modifier = ignores_gender_army_rules
culture = {
OR = {
@ -1332,7 +1333,7 @@ unity_establish_futuwaa_lodges_decision = {
has_dlc_feature = diverge_culture
culture = { has_cultural_parameter = martial_custom_female_only_combatant }
}
faith = { has_doctrine_parameter = combatant_must_be_female_if_no_roco }
rite = { rite_has_parameter = combatant_must_be_female_if_no_roco }
}
}
save_scope_as = female_combatants
@ -1345,7 +1346,7 @@ unity_establish_futuwaa_lodges_decision = {
has_dlc_feature = diverge_culture
culture = { has_cultural_parameter = martial_custom_male_only_combatant }
}
faith = { has_doctrine_parameter = combatant_must_be_male_if_no_roco }
rite = { rite_has_parameter = combatant_must_be_male_if_no_roco }
}
}
save_scope_as = male_combatants
@ -1464,10 +1465,10 @@ unity_educate_youth_in_madrasas_decision = {
is_shown = {
government_has_flag = government_is_clan
is_landed = yes
culture ?= { has_cultural_tradition = tradition_fp3_beacon_of_learning }
exists = house
exists = capital_province # Sanity check
culture = { has_cultural_tradition = tradition_fp3_beacon_of_learning }
is_landed = yes
}
is_valid = {

View file

@ -13,14 +13,14 @@ commission_legend_artifact_decision = {
decision_group_type = major
is_shown = {
is_landed = yes
highest_held_title_tier >= tier_county
exists = capital_province
has_dlc_feature = legends
is_landed = yes
custom_tooltip = {
text = commission_legend_artifact_decision_var_tt
has_variable = finished_legend_var
}
exists = capital_province
has_dlc_feature = legends
}
is_valid_showing_failures_only = {
@ -128,9 +128,9 @@ clear_ground_for_legendary_building = {
sort_order = 100
is_shown = {
exists = var:legendary_reward_location
has_dlc_feature = legends
is_landed = yes
has_dlc_feature = legends
exists = var:legendary_reward_location
}
is_valid_showing_failures_only = {
@ -294,7 +294,7 @@ pick_legendary_barony_decision = {
is_invisible = yes
widget = {
controller = create_holy_order
barony_valid = {
title_valid = {
trigger_if = {
limit = { exists = this }
title_province = { has_special_building_slot = no }
@ -445,7 +445,6 @@ isolate_capital_decision = {
is_shown = {
is_landed = yes
exists = capital_county
highest_held_title_tier >= tier_county
trigger_if = {
limit = {
@ -453,17 +452,17 @@ isolate_capital_decision = {
}
OR = {
any_held_title = {
title_tier = county
has_province_with_epidemic = { intensity = any }
title_tier = county
}
capital_county = {
capital_county ?= {
any_neighboring_county = {
any_county_province_epidemic = {
count >= 1
}
}
}
capital_county = { has_county_modifier = isolate_capital_decision_modifier }
capital_county ?= { has_county_modifier = isolate_capital_decision_modifier }
}
}
trigger_else = {
@ -472,16 +471,17 @@ isolate_capital_decision = {
SIZE = 1
INTENSITY = minor
}
capital_county = {
capital_county ?= {
any_neighboring_county = {
any_county_province_epidemic = {
count >= 1
}
}
}
capital_county = { has_county_modifier = isolate_capital_decision_modifier }
capital_county ?= { has_county_modifier = isolate_capital_decision_modifier }
}
}
exists = capital_county
}
widget = {
@ -721,10 +721,7 @@ isolate_family_decision = {
}
is_shown = {
OR = {
is_landed = yes
any_held_title = { is_noble_family_title = yes } # Still exclude adventurers
}
NOT = { has_government = landless_adventurer_government }
OR = {
has_character_modifier = isolating_modifier
OR = {
@ -782,10 +779,7 @@ isolate_family_decision = {
}
is_valid = {
NOT = { has_character_modifier = isolating_modifier }
OR = {
is_landed = yes
any_held_title = { is_noble_family_title = yes } # Still exclude adventurers
}
NOT = { has_government = landless_adventurer_government }
trigger_if = {
limit = { exists = current_travel_plan }
is_available_travelling_adult = yes
@ -840,10 +834,7 @@ isolate_family_decision = {
}
is_valid = {
NOT = { has_character_modifier = isolating_modifier }
OR = {
is_landed = yes
any_held_title = { is_noble_family_title = yes } # Still exclude adventurers
}
NOT = { has_government = landless_adventurer_government }
custom_tooltip = {
text = you_are_at_your_capital_tt
exists = root.capital_province
@ -881,7 +872,7 @@ isolate_family_decision = {
limit = {
scope:isolate_family_disaster_decision = yes
}
show_as_tooltip = {
show_as_tooltip = {
isolate_family_decision_effect = yes
if = {
limit = { capital_province ?= location }
@ -898,7 +889,7 @@ isolate_family_decision = {
limit = {
scope:isolate_family_decision = yes
}
show_as_tooltip = {
show_as_tooltip = {
isolate_family_decision_effect = yes
add_legitimacy_effect = { LEGITIMACY = minor_legitimacy_loss }
add_prestige = major_prestige_loss

View file

@ -47,8 +47,8 @@ hold_court_decision = {
}
is_shown = {
is_landed = yes
has_royal_court = yes
is_landed = yes
has_dlc_feature = royal_court
}
@ -188,11 +188,11 @@ petition_liege_decision = {
}
is_shown = {
liege ?= { has_royal_court = yes }
is_playable_character = yes
top_liege != this
liege ?= { has_royal_court = yes }
has_dlc_feature = royal_court
tgp_is_ceremonial_liege_trigger = no
has_dlc_feature = royal_court
}
is_valid = {
@ -636,10 +636,6 @@ petition_liege_decision = {
text = petition_liege_faction_war_tt
any_targeting_faction = { target_of_powerful_faction_trigger = yes }
}
NAND = {
government_has_flag = government_is_administrative
liege = { government_has_flag = government_is_administrative }
}
}
current_description = petition_liege_faction_war_desc
localization = petition_liege_decision_option_faction_war
@ -656,10 +652,6 @@ petition_liege_decision = {
text = petition_liege_vassal_war_tt
petition_liege_vassal_war_trigger = yes
}
NAND = {
government_has_flag = government_is_administrative
liege = { government_has_flag = government_is_administrative }
}
}
current_description = petition_liege_vassal_war_desc
localization = petition_liege_decision_option_vassal_war
@ -688,10 +680,6 @@ petition_liege_decision = {
text = petition_liege_external_war_aid_tt
petition_liege_war_liege_involvement_trigger = yes
}
NAND = {
government_has_flag = government_is_administrative
liege = { government_has_flag = government_is_administrative }
}
}
current_description = petition_liege_war_aid_desc
localization = petition_liege_decision_option_war_aid
@ -830,6 +818,7 @@ petition_liege_decision = {
exists = liege
liege.capital_province.county.development_level >= petitioner_development_difference_decision_value
}
is_landed = yes
}
current_description = petition_liege_development_desc
localization = petition_liege_decision_option_development

View file

@ -62,20 +62,20 @@ pay_homage_decision = {
is_shown = {
is_landed = yes
primary_title.tier >= tier_county
top_liege != this
liege ?= { has_royal_court = yes }
has_dlc_feature = royal_court
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
}
liege ?= { has_royal_court = yes }
top_liege != this
primary_title.tier >= tier_county
NOT = {
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
liege = {
culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
liege ?= {
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
}
}
has_dlc_feature = royal_court
}
is_valid = {

View file

@ -18,7 +18,6 @@ submit_to_the_great_khan_decision = {
decision_group_type = major
is_shown = {
is_landless_adventurer = no
is_independent_ruler = yes
OR = {
exists = global_var:mongol_empire_has_spawned
@ -27,9 +26,6 @@ submit_to_the_great_khan_decision = {
exists = global_var:greatest_of_khans_title.holder
}
}
NOT = {
mpo_has_gok_mongol_empire_trigger = yes
}
OR = {
any_neighboring_top_liege_realm_owner = {
mpo_has_gok_mongol_empire_trigger = yes
@ -43,10 +39,12 @@ submit_to_the_great_khan_decision = {
}
}
}
mpo_has_gok_mongol_empire_trigger = no
is_landless_adventurer = no
}
is_valid_showing_failures_only = {
NOT = { highest_held_title_tier = tier_empire }
highest_held_title_tier < tier_empire
}
effect = {
@ -159,8 +157,8 @@ submit_to_the_great_khan_decision = {
limit = {
#khan is still nomadic or pluralist and thus doesn't care about religion
scope:mongol_emperor = {
faith = {
has_doctrine = doctrine_pluralism_pluralistic
rite = {
rite_has_doctrine = doctrine_pluralism_pluralistic
}
}
OR = {
@ -201,9 +199,8 @@ submit_to_the_great_khan_decision = {
}
trigger_if = {
limit = {
NOR = {
government_has_flag = government_is_herder
government_has_flag = government_is_nomadic
NOT = {
government_has_flag = government_is_in_steppe
}
}
gold >= medium_gold_value

View file

@ -36,16 +36,16 @@ pledge_loyalty_to_liege_decision = {
}
is_shown = {
is_landed = yes
primary_title.tier >= tier_county
is_independent_ruler = no
liege ?= { has_royal_court = yes }
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
is_landed = yes
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_japan_feudal
}
culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
primary_title.tier >= tier_county
}
is_valid = {
@ -72,7 +72,7 @@ pledge_loyalty_to_liege_decision = {
has_spawned_court_events = no # should only be used for human players
}
trigger_if = { # Has not Pledged Loyalty to this Liege before
limit = {
limit = {
has_variable = pledge_loyalty_to_liege_grace
}
custom_tooltip = {
@ -111,7 +111,7 @@ pledge_loyalty_to_liege_decision = {
custom_tooltip = { # Liege does not already have a hook
text = pledge_loyalty_to_liege_hook_tt
NOT = {
liege ?= { has_hook = prev }
liege ?= { has_hook = prev }
}
}
}
@ -178,7 +178,7 @@ pledge_loyalty_to_liege_decision = {
}
add = 90
}
if = { # Certain AI's really do not want increased obligations
limit = {
OR = {
@ -209,7 +209,7 @@ pledge_loyalty_to_liege_decision = {
limit = { gold > major_gold_value }
add = 50
}
if = { # Certain AI's really do not want to part with gold
limit = {
ai_greed >= 50
@ -235,7 +235,7 @@ pledge_loyalty_to_liege_decision = {
}
# used for refunding if travel is canceled mid-way
set_variable = {
name = pledge_loyalty_to_liege_gold_value
name = pledge_loyalty_to_liege_gold_value
value = medium_gold_value
}
custom_tooltip = pledge_loyalty_to_liege_decision_effects_gold
@ -303,7 +303,7 @@ pledge_loyalty_to_liege_decision = {
on_arrival_destinations = all_but_last
}
}
ai_potential = {
is_at_war = no
}
@ -362,7 +362,7 @@ petition_ceremonial_liege_decision = {
desc = petition_liege_decision_tooltip
}
}
title = {
first_valid = {
triggered_desc = {
@ -428,9 +428,9 @@ petition_ceremonial_liege_decision = {
}
is_shown = {
is_playable_character = yes
has_dlc_feature = royal_court
tgp_is_ceremonial_petition_shown_trigger = yes
has_dlc_feature = royal_court
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -443,11 +443,11 @@ petition_ceremonial_liege_decision = {
gui = "decision_view_widget_petition_liege"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_PETITION_DECISION_NEXT_STEP_BUTTON"
item = { # Regent endorsement
value = petition_ceremonial_liege_regent
is_valid = {
government_allows = administrative
is_valid = {
government_has_mechanic = administrative
is_independent_ruler = no
trigger_if = {
limit = { exists = top_liege.primary_title.var:administrative_ui_special_title.holder }
@ -465,7 +465,7 @@ petition_ceremonial_liege_decision = {
}
item = { # Appointment support
value = petition_ceremonial_liege_appointment
is_valid = { government_allows = administrative }
is_valid = { government_has_mechanic = administrative }
current_description = petition_ceremonial_liege_appointment_desc
localization = petition_ceremonial_liege_decision_option_appointment
icon = "gfx/interface/icons/message_feed/icon_scheme_promote.dds"
@ -504,7 +504,7 @@ petition_ceremonial_liege_decision = {
}
show_as_tooltip = {
switch = {
trigger = has_trait
trigger = has_trait
shy = { add_stress = medium_stress_impact_gain }
arrogant = { add_stress = medium_stress_impact_gain }
}
@ -543,6 +543,6 @@ petition_ceremonial_liege_decision = {
weeks = 2
}
}
ai_potential = { always = no } # Only players can do this. AI vassals go through the normal court events/hold court activity.
}

View file

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

View file

@ -32,21 +32,12 @@ rites_of_passage_decision = {
}
is_shown = {
has_bp2_dlc_trigger = yes
is_landed = yes
government_has_flag = government_is_tribal
OR = {
OR = {
AND = {
is_adult = no
NOT = {
any_memory = {
memory_type = completed_rites_of_passage
}
}
}
has_character_flag = unproven_adult_flag
}
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
OR = {
any_child = {
count >= 1
OR = {
@ -61,11 +52,23 @@ rites_of_passage_decision = {
has_character_flag = unproven_adult_flag
}
}
OR = {
AND = {
is_adult = no
NOT = {
any_memory = {
memory_type = completed_rites_of_passage
}
}
}
has_character_flag = unproven_adult_flag
}
any_courtier = {
is_hostage_of = root
character_can_rites_of_passage_trigger = yes
}
}
has_bp2_dlc_trigger = yes
}
cooldown = { days = 365 }
@ -73,31 +76,41 @@ rites_of_passage_decision = {
is_valid = {
OR = {
any_child = {
is_available = yes
character_can_rites_of_passage_trigger = yes
}
AND = {
is_available = yes
character_can_rites_of_passage_trigger = yes
}
character_can_rites_of_passage_trigger = yes
any_courtier = {
is_hostage_of = root
is_available = yes
character_can_rites_of_passage_trigger = yes
}
}
custom_description = {
text = rites_of_passage_trigger_chaplain
cp:councillor_court_chaplain ?= {
is_available_ai_adult = yes
}
}
}
is_valid_showing_failures_only = {
OR = {
is_available = yes
any_child = {
is_available = yes
trigger_if = {
limit = {
government_has_flag = government_is_nomadic
}
employs_court_position = court_astrologer_court_position
custom_tooltip = {
text = rites_of_passage_trigger_astrologer
court_position:court_astrologer_court_position ?= {
is_available_ai_adult = yes
}
}
}
cp:councillor_court_chaplain ?= {
is_available_ai_adult = yes
trigger_else = {
custom_tooltip = {
text = rites_of_passage_trigger_chaplain
cp:councillor_court_chaplain ?= {
is_available_ai_adult = yes
}
}
}
}

View file

@ -31,15 +31,15 @@ order_mass_eviction_decision = {
selection_tooltip = order_mass_eviction_decision_tooltip
is_shown = {
# Standard filter checks.
is_playable_character = yes
has_royal_court = yes
has_dlc_feature = royal_court
# Has a suitable lack of rooms.
amenity_level = {
target = court_lodging_standards
value <= medium_amenity_level
}
has_dlc_feature = royal_court
# Standard filter checks.
is_playable_character = yes
}
is_valid = {
@ -175,32 +175,28 @@ exoticise_a_grand_hall_decision = {
selection_tooltip = exoticise_a_grand_hall_decision_tooltip
is_shown = {
# Standard filter checks.
is_playable_character = yes
has_royal_court = yes
has_dlc_feature = royal_court
# Grandeur requirements.
trigger_if = {
limit = { is_ai = yes }
# AI need to border a player or an empire.
OR = {
any_neighboring_and_across_water_top_liege_realm_owner = { this.primary_title.tier >= tier_empire }
any_player = {
any_neighboring_and_across_water_top_liege_realm_owner = { this = root }
any_neighboring_and_across_water_realm_same_rank_owner = { this = root }
has_royal_court = yes
}
}
}
# Has suitably amazing rooms.
amenity_level = {
target = court_lodging_standards
value >= very_high_amenity_level
}
# Grandeur requirements.
OR = {
# AI need to border a player or an empire.
AND = {
is_ai = yes
OR = {
any_player = {
has_royal_court = yes
any_neighboring_and_across_water_realm_same_rank_owner = { this = root }
any_neighboring_and_across_water_top_liege_realm_owner = { this = root }
}
any_neighboring_and_across_water_top_liege_realm_owner = { this.primary_title.tier = tier_empire }
}
}
# Players handle this in the is_valid block.
is_ai = no
}
has_dlc_feature = royal_court
# Standard filter checks.
is_playable_character = yes
}
is_valid = {
@ -208,6 +204,10 @@ exoticise_a_grand_hall_decision = {
trigger_if = {
limit = { is_ai = no }
OR = {
custom_description = {
text = exoticise_a_grand_hall_decision.tt.any_valid_hegemony
any_hegemony = { exoticise_a_grand_hall_decision_list_builder_guts_trigger = yes }
}
custom_description = {
text = exoticise_a_grand_hall_decision.tt.any_valid_empire
any_empire = { exoticise_a_grand_hall_decision_list_builder_guts_trigger = yes }

View file

@ -34,9 +34,9 @@ jester_entertainment_decision = {
}
is_shown = {
highest_held_title_tier >= tier_duchy
is_landed_or_landless_administrative = yes
employs_court_position = court_jester_court_position
is_landed_or_landless_administrative_or_theocratic = yes
highest_held_title_tier >= tier_duchy
}
is_valid_showing_failures_only = {
@ -83,7 +83,6 @@ adopt_puppy_decision = {
sort_order = 89
is_shown = {
is_landed_or_landless_administrative = yes
is_lowborn = no
OR = {
any_owned_story = { type = debug_test_story }
@ -92,6 +91,7 @@ adopt_puppy_decision = {
# Or the character has the Kennel upgrade in their Estate
domicile ?= { has_domicile_parameter = estate_unlock_adopt_puppy_decision }
}
is_landed_or_landless_administrative_or_theocratic = yes
}
is_valid_showing_failures_only = {
@ -195,29 +195,14 @@ introduce_a_new_fashion_at_court_decision = {
sort_order = 80
is_shown = {
NOT = { has_title = title:k_fashion } # Kingdom of Fashion is very much the end-game of this interaction
NOT = { faith = { has_doctrine_parameter = naked_adherents_active } } # Must wear clothes
NOT = { culture = { has_cultural_parameter = naked_culture_active } } # Must wear clothes
is_available_at_peace_adult = yes
is_landed = yes
# Either has a royal court with high fashion or is part of a royal court with high fashion
OR = {
AND = {
has_royal_court = yes
has_dlc_feature = royal_court
OR = {
amenity_level = {
target = court_fashion
value >= 4
}
has_nickname = nick_prince_of_fashion
}
}
AND = {
liege = { has_royal_court = yes }
liege ?= { has_royal_court = yes }
has_royal_court = no # Narrative flow of the event is a bit weird if it's unclear which royal court it's taking place in
OR = {
liege = {
liege ?= {
amenity_level = {
target = court_fashion
value >= 4
@ -226,6 +211,17 @@ introduce_a_new_fashion_at_court_decision = {
has_nickname = nick_prince_of_fashion
}
}
AND = {
has_royal_court = yes
OR = {
amenity_level = {
target = court_fashion
value >= 4
}
has_nickname = nick_prince_of_fashion
}
has_dlc_feature = royal_court
}
}
trigger_if = {
limit = {
@ -236,6 +232,10 @@ introduce_a_new_fashion_at_court_decision = {
}
this = top_liege
}
is_available_at_peace_adult = yes
NOT = { culture = { has_cultural_parameter = naked_culture_active } } # Must wear clothes
NOT = { rite = { rite_has_parameter = naked_adherents_active } } # Must wear clothes
NOT = { has_title = title:k_fashion } # Kingdom of Fashion is very much the end-game of this interaction
}
is_valid_showing_failures_only = {
@ -264,7 +264,7 @@ introduce_a_new_fashion_at_court_decision = {
}
}
any_courtier_or_guest = {
NOT = { faith = { has_doctrine_parameter = naked_adherents_active } }
NOT = { rite = { rite_has_parameter = naked_adherents_active } }
is_available_at_peace_adult = yes
}
}
@ -310,7 +310,7 @@ introduce_a_new_fashion_at_court_decision = {
# Get someone to potentially oppose the fashion choice
random_courtier_or_guest = {
limit = {
NOT = { faith = { has_doctrine_parameter = naked_adherents_active } }
NOT = { rite = { rite_has_parameter = naked_adherents_active } }
is_available_at_peace_adult = yes
}
weight = {

View file

@ -31,20 +31,20 @@ train_for_tournament_decision = {
sort_order = 80
is_shown = {
has_dlc_feature = tours_and_tournaments
activity_is_valid_tournament_contestant_training_decision = yes
OR = {
exists = cp:councillor_marshal
AND = {
government_has_flag = government_is_landless_adventurer
employs_court_position = master_of_arms_camp_officer
}
any_councillor = {
martial > high_skill_rating
is_kurultai_trigger = yes
is_available_ai = yes
martial > high_skill_rating
}
AND = {
employs_court_position = master_of_arms_camp_officer
government_has_flag = government_is_landless_adventurer
}
}
activity_is_valid_tournament_contestant_training_decision = yes
has_dlc_feature = tours_and_tournaments
}
@ -88,7 +88,7 @@ train_for_tournament_decision = {
}
}
trigger_event = ep2_decision_events.0001
stress_impact = {
stress_and_fulfillment_impact = {
craven = major_stress_impact_gain
}
}

View file

@ -22,17 +22,16 @@ separatist_uprising_decision = {
sort_order = 350
is_shown = {
has_ep3_dlc_trigger = yes
has_government = landless_adventurer_government
NOT = { has_trait = populist_leader }
NOT = { has_variable = separatist_uprising_decision_var }
NOT = { has_trait = populist_leader }
has_ep3_dlc_trigger = yes
}
is_valid = {
custom_tooltip = {
text = separatist_uprising_culture_duchy_check_tt
exists = location.county
exists = location.duchy
exists = location.duchy.holder.liege
}
custom_tooltip = {
@ -43,8 +42,12 @@ separatist_uprising_decision = {
text = separatist_uprising_capital_county_tt
location.county != location.duchy.holder.top_liege.capital_county
}
NOT = {
location.duchy.holder.culture = root.culture
trigger_if = {
limit = { exists = location.duchy.holder }
location.duchy.holder.culture != root.culture
}
trigger_else = {
location.duchy.title_capital_county.holder.culture != root.culture
}
prestige_level >= 3
}

View file

@ -27,13 +27,13 @@ raise_stele_decision = {
sort_order = 80
is_shown = {
# DLC check.
has_fp1_dlc_trigger = yes
# Landed characters only: nobody likes a mercenary.
is_landed = yes
primary_title.tier > tier_barony
# Holds a suitable culture at a suitable period.
fp1_can_raise_stele_trigger = yes
primary_title.tier > tier_barony
# DLC check.
has_fp1_dlc_trigger = yes
}
is_valid = {

View file

@ -291,7 +291,7 @@ fp3_embellish_capital_decision = {
OR = {
has_trait = administrator
has_trait = architect
has_trait = scholar
has_trait = erudite
has_trait = lifestyle_gardener
has_trait = overseer
}
@ -335,7 +335,7 @@ fp3_embellish_capital_decision = {
OR = {
has_trait = administrator
has_trait = architect
has_trait = scholar
has_trait = erudite
has_trait = lifestyle_gardener
has_trait = overseer
}
@ -435,7 +435,7 @@ fp3_embellish_capital_decision = {
OR = {
has_trait = administrator
has_trait = architect
has_trait = scholar
has_trait = erudite
has_trait = lifestyle_gardener
has_trait = overseer
}
@ -479,7 +479,7 @@ fp3_embellish_capital_decision = {
OR = {
has_trait = administrator
has_trait = architect
has_trait = scholar
has_trait = erudite
has_trait = lifestyle_gardener
has_trait = overseer
}

View file

@ -17,9 +17,9 @@ fp3_sponsor_persian_scholars_decision = {
}
is_shown = {
culture = { has_cultural_pillar = heritage_iranian }
has_fp3_dlc_trigger = yes
culture ?= { has_cultural_pillar = heritage_iranian }
can_employ_court_position_type = court_scholar_court_position
has_fp3_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -295,7 +295,7 @@ fp3_sponsor_research_project_decision = {
modifier = {
factor = 10
OR = {
has_trait = scholar
has_trait = erudite
has_trait = lifestyle_physician
has_trait = lifestyle_mystic
}

View file

@ -19,32 +19,28 @@ restore_badd_fortress_decision = { #This allows a ruler with a Zandik or Chthoni
}
is_shown = {
faith = { #this is a decision for religious underdogs, needing a mountain home
OR = {
has_doctrine = doctrine_heretic_branch_zandik
has_doctrine = tenet_cthonic_redoubts
#Must be in the region
any_held_title = {
title_tier = county
title_province ?= {
OR = {
geographical_region = world_middle_east_persia
geographical_region = world_middle_east_arabia
geographical_region = world_asia_minor
geographical_region = world_middle_east_jerusalem
}
}
}
NOT = { exists = root.faith.religious_head }
is_playable_character = yes
exists = dynasty #just for sanity
#Must be in the region
any_held_title = {
title_tier = county
title_province = {
OR = {
geographical_region = world_asia_minor
geographical_region = world_middle_east_jerusalem
geographical_region = world_middle_east_arabia
geographical_region = world_middle_east_persia
}
}
#this is a decision for religious underdogs, needing a mountain home
OR = {
rite ?= { rite_has_tenet = tenet_cthonic_redoubts }
rite ?= { rite_has_doctrine = doctrine_heretic_branch_zandik }
}
#Can't already be an empire, that'd ruin the underdog theme
highest_held_title_tier <= tier_kingdom
is_playable_character = yes
#Not repeatable.
NOT = {
is_target_in_global_variable_list = {
@ -52,6 +48,9 @@ restore_badd_fortress_decision = { #This allows a ruler with a Zandik or Chthoni
target = flag:restored_badd_fortress #so it can't happen twice
}
}
#Can't already be an empire, that'd ruin the underdog theme
highest_held_title_tier <= tier_kingdom
exists = dynasty #just for sanity
}
is_valid = {
@ -60,11 +59,10 @@ restore_badd_fortress_decision = { #This allows a ruler with a Zandik or Chthoni
#Completely controls Badd
has_title = title:c_tabriz
has_title = title:b_ahar
faith = { #again, a decision for religious underdogs, needing a mountain home
OR = {
has_doctrine = doctrine_heretic_branch_zandik
has_doctrine = tenet_cthonic_redoubts
}
#again, a decision for religious underdogs, needing a mountain home
OR = {
rite = { rite_has_doctrine = doctrine_heretic_branch_zandik }
rite = { rite_has_tenet = tenet_cthonic_redoubts }
}
custom_tooltip = {
@ -173,20 +171,7 @@ destroy_the_magi_decision = { #This allows a ruler with sufficient piety and con
ai_check_interval = 0
is_shown = { #this is a decision for religious underdogs that have risen to prominence
faith = {
AND = {
has_doctrine = doctrine_heretic_branch_zandik
has_doctrine = doctrine_theocracy_temporal #you need to still have this doctrine for it to work
has_doctrine = doctrine_spiritual_head #you need to still have this doctrine for it to work
}
}
NOT = { exists = root.faith.religious_head } #if you have restored the Zoroastrian priesthood, you wouldn't wanna destroy it
is_ai = no #we don't want the AI to complicate things here
is_playable_character = yes
exists = dynasty #just for sanity
#Not repeatable.
NOT = {
is_target_in_global_variable_list = {
@ -194,18 +179,29 @@ destroy_the_magi_decision = { #This allows a ruler with sufficient piety and con
target = flag:destroyed_the_magi #so it can't happen twice
}
}
exists = dynasty #just for sanity
is_playable_character = yes
NOT = { exists = root.faith.religious_head } #if you have restored the Zoroastrian priesthood, you wouldn't wanna destroy it
rite ?= {
rite_has_doctrine = doctrine_heretic_branch_zandik
rite_has_doctrine = doctrine_theocracy_temporal
}
faith ?= { has_doctrine = doctrine_spiritual_head }
}
is_valid = {
piety_level >= high_piety_level
faith = { has_doctrine = doctrine_heretic_branch_zandik }
rite = { rite_has_doctrine = doctrine_heretic_branch_zandik }
custom_description = {
text = "restore_high_priesthood_holy_sites"
faith = {
any_holy_site = {
any_holy_site_barony = {
OR = {
county.holder = root
county.holder.top_liege = { this = root }
@ -252,14 +248,15 @@ kindle_royal_fire_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/fp3/fp3_decision_foundation.dds"
}
decision_group_type = religious
desc = kindle_royal_fire_decision_desc
selection_tooltip = kindle_royal_fire_decision_tooltip
sort_order = 90
is_shown = {
is_playable_character = yes
religion = religion:zoroastrianism_religion
religion ?= religion:zoroastrianism_religion
NOT = { has_character_modifier = fp3_royal_fire_modifier }
is_playable_character = yes
}
is_valid = {
@ -325,16 +322,17 @@ fp3_embrace_zoroastrianism_decision = {
picture = {
reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
}
decision_group_type = religious
desc = fp3_embrace_zoroastrianism_decision_desc
selection_tooltip = fp3_embrace_zoroastrianism_decision_tooltip
sort_order = 120
is_shown = {
culture = { has_cultural_pillar = heritage_iranian }
current_date <= 960.1.1
# Narratively, this decision is about embracing the faith of your ancestors over newer "modern" faiths
# Therefore, this decision should not be available to Zoroastrians looking to change their sect
NOT = { has_religion = religion:zoroastrianism_religion }
current_date <= 960.1.1
culture ?= { has_cultural_pillar = heritage_iranian }
}
is_valid = {

View file

@ -8,15 +8,15 @@ pray_to_protective_amulet_decision = {
sort_order = 100
is_shown = {
has_mpo_dlc_trigger = yes
any_character_artifact = {
has_variable = magic_amulet_var
}
OR = {
religion = religion:tengrism_religion
culture = { has_cultural_pillar = heritage_mongolic }
culture ?= { has_cultural_pillar = heritage_mongolic }
religion ?= religion:tengrism_religion
has_trait = nomadic_philosophy
}
has_mpo_dlc_trigger = yes
}
is_valid = {
@ -82,14 +82,14 @@ mpo_desperate_stance_decision = {
sort_order = 100
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
exists = situation:the_great_steppe
any_character_situation = {
any_participant_group = {
participant_group_type = nomad_rulers_capital
}
}
exists = situation:the_great_steppe
has_mpo_dlc_trigger = yes
}
is_valid = {
@ -150,9 +150,9 @@ adopt_nomadic_ways_decision = {
sort_order = 100
is_shown = {
has_mpo_dlc_trigger = yes
has_ep3_dlc_trigger = yes
is_landless_adventurer = yes
has_ep3_dlc_trigger = yes
has_mpo_dlc_trigger = yes
}
is_valid = {

View file

@ -14,9 +14,9 @@ mpo_divination_decision = {
}
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
has_religion = religion:tengrism_religion
has_mpo_dlc_trigger = yes
}
is_valid_showing_failures_only = {

View file

@ -9,27 +9,54 @@ mpo_pleasure_dome_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
OR = {
government_has_flag = government_is_nomadic
has_trait = nomadic_philosophy
}
NOT = { has_global_variable = devised_pleasure_dome }
culture = {
culture ?= {
OR = {
has_cultural_pillar = heritage_mongolic
has_cultural_pillar = heritage_turkic
has_cultural_pillar = heritage_mongolic
}
}
NOT = { has_global_variable = devised_pleasure_dome }
has_mpo_dlc_trigger = yes
}
widget = {
controller = create_holy_order
title_valid = {
trigger_if = {
limit = { exists = this }
title_province = {
trigger_if = {
limit = { scope:ruler = { is_ai = yes } }
has_special_building_slot = no
}
trigger_else = {
has_special_building = no
}
}
is_capital_barony = yes
holder = scope:ruler
is_leased_out = no
}
}
}
is_valid_showing_failures_only = {
custom_tooltip = {
text = mpo_pleasure_dome_no_barony_tt
any_held_title = {
tier = tier_barony
title_province = {
has_special_building_slot = no
trigger_if = {
limit = { root = { is_ai = yes } }
has_special_building_slot = no
}
trigger_else = {
has_special_building = no
}
}
is_capital_barony = yes
holder = root
@ -41,7 +68,7 @@ mpo_pleasure_dome_decision = {
is_valid = {
prestige_level >= very_high_prestige_level
highest_held_title_tier = tier_empire
highest_held_title_tier >= tier_empire
trigger_if = {
limit = {
government_has_flag = government_is_nomadic
@ -93,20 +120,6 @@ mpo_pleasure_dome_decision = {
}
}
widget = {
controller = create_holy_order
barony_valid = {
trigger_if = {
limit = { exists = this }
title_province = {
has_special_building_slot = no
}
is_capital_barony = yes
holder = scope:ruler
is_leased_out = no
}
}
}
effect = {
send_interface_toast = {
type = event_toast_effect_good
@ -157,19 +170,19 @@ mpo_establish_paiza_system_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
NOT = { has_character_flag = established_paiza_system }
exists = situation:the_great_steppe
any_character_situation = {
this = situation:the_great_steppe
}
government_has_flag = government_is_nomadic
OR = {
has_realm_law = nomadic_authority_2
has_realm_law = nomadic_authority_3
has_realm_law = nomadic_authority_4
has_realm_law = nomadic_authority_5
}
has_mpo_dlc_trigger = yes
NOT = { has_character_flag = established_paiza_system }
exists = situation:the_great_steppe
}
is_valid = {
@ -283,9 +296,9 @@ mpo_call_for_merchants_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
has_character_flag = established_paiza_system
government_has_flag = government_is_nomadic
has_mpo_dlc_trigger = yes
}
is_valid = {
@ -392,11 +405,11 @@ mpo_call_for_merchants_small_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
government_has_flag = government_is_nomadic
NOT = {
has_character_flag = established_paiza_system
}
has_mpo_dlc_trigger = yes
}
is_valid = {
@ -488,14 +501,14 @@ mpo_abuse_authority_paiza_decision = {
sort_order = 80
is_shown = {
has_mpo_dlc_trigger = yes
is_imprisoned = no
has_mpo_dlc_trigger = yes
any_character_artifact = {
root = { can_benefit_from_artifact = prev }
exists = var:paiza_patron
NOT = {
root = var:paiza_patron
var:paiza_patron = {
var:paiza_patron ?= {
is_at_war_with = root
}
}
@ -596,10 +609,12 @@ mpo_abuse_authority_paiza_decision = {
}
modifier = {
add = {
value = max_herd
subtract = herd
divide = max_herd
multiply = 20
domicile ?= {
value = max_herd
subtract = herd
divide = max_herd
multiply = 20
}
}
domicile ?= {
herd <= max_herd

View file

@ -9,11 +9,11 @@ mpo_pax_mongolica_decision = {
is_shown = {
government_has_flag = government_is_nomadic
exists = situation:the_great_steppe
any_character_situation = {
this = situation:the_great_steppe
}
NOT = { has_variable = pax_mongolica_var }
exists = situation:the_great_steppe
}
is_valid = {

View file

@ -91,7 +91,7 @@ author_book_decision = {
custom_tooltip = quickest_book_tt
trigger_event = author_book.0001
show_as_tooltip = {
stress_impact = {
stress_and_fulfillment_impact = {
base = minor_stress_impact_gain
lazy = minor_stress_impact_gain
lifestyle_poet = minor_stress_impact_loss #offsets penalty a bit
@ -109,7 +109,7 @@ author_book_decision = {
}
trigger_event = author_book.0004
show_as_tooltip = {
stress_impact = {
stress_and_fulfillment_impact = {
base = medium_stress_impact_gain
lazy = minor_stress_impact_gain
journaller = minor_stress_impact_loss #offsets penalty a bit
@ -123,7 +123,7 @@ author_book_decision = {
custom_tooltip = most_time_consuming_book_tt
trigger_event = author_book.0005
show_as_tooltip = {
stress_impact = {
stress_and_fulfillment_impact = {
base = major_stress_impact_gain
lazy = minor_stress_impact_gain
journaller = minor_stress_impact_loss #offsets penalty a bit

View file

@ -13,9 +13,9 @@ situation_dynastic_cycle_claim_mandate_decision = {
cooldown = { years = 5 }
is_shown = {
has_tgp_dlc_trigger = yes
exists = top_participant_group:dynastic_cycle #I am part of the dynastic cycle
situation:dynastic_cycle = { situation_current_phase = situation_dynastic_cycle_phase_chaos } #The era is division
has_tgp_dlc_trigger = yes
}
is_valid = {
@ -51,7 +51,7 @@ situation_dynastic_cycle_claim_mandate_decision = {
situation:dynastic_cycle = { save_scope_as = situation }
tgp_claim_mandate_of_heaven_effect = yes
}
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -60,7 +60,7 @@ situation_dynastic_cycle_claim_mandate_decision = {
empire = 3
hegemony = 12
}
ai_potential = {
ai_potential = {
situation:dynastic_cycle ?= { situation_current_phase = situation_dynastic_cycle_phase_chaos }
NOT = {
any_owned_story = {
@ -94,10 +94,10 @@ situation_dynastic_cycle_favor_own_culture_for_appointments = {
decision_group_type = dynastic_cycle
is_shown = {
has_title = title:h_china
top_participant_group:dynastic_cycle ?= {
has_participant_group_parameter = dynastic_cycle_hegemon_may_favour_own_culture_for_appointments
}
has_title = title:h_china
}
is_valid = {
@ -111,11 +111,11 @@ situation_dynastic_cycle_favor_own_culture_for_appointments = {
is_valid_showing_failures_only = {
is_available_adult = yes
}
cost = {
prestige = 250
}
widget = {
gui = "decision_view_widget_generic_multichoice_with_effects"
controller = decision_option_list_controller
@ -181,11 +181,11 @@ situation_dynastic_cycle_favor_own_culture_for_appointments = {
value = scope:hegemon_favored_culture
}
}
# Notify any vassal players
every_player = {
limit = { target_is_liege_or_above = root }
}
}
}
@ -196,16 +196,16 @@ situation_dynastic_cycle_favor_own_culture_for_appointments = {
situation:dynastic_cycle ?= {
remove_variable = dynastic_cycle_favored_culture
}
# Notify any vassal players
every_player = {
limit = { target_is_liege_or_above = root }
}
}
}
}
ai_check_interval_by_tier = {
barony = 0
county = 0
@ -214,12 +214,12 @@ situation_dynastic_cycle_favor_own_culture_for_appointments = {
empire = 0
hegemony = 36
}
ai_potential = { always = yes }
ai_will_do = {
base = 30
modifier = {
ai_boldness >= high_positive_ai_value
add = 45
@ -245,18 +245,18 @@ situation_dynastic_cycle_choose_movement_decision = {
sort_order = 80
is_shown = {
has_tgp_dlc_trigger = yes
is_ai = no
any_character_situation = {
situation_type = dynastic_cycle
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
top_participant_group:dynastic_cycle ?= {
NOR = {
participant_group_type = other_rulers
participant_group_type = hegemon_ruler
}
}
any_character_situation = {
situation_type = dynastic_cycle
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -360,7 +360,7 @@ situation_dynastic_cycle_choose_movement_decision = {
value = 0
if = {
limit = {
government_allows = administrative
government_has_flag = government_has_influence
}
# Base cost
value = monumental_influence_value
@ -425,7 +425,7 @@ situation_dynastic_cycle_choose_movement_decision = {
value = 0
if = {
limit = {
NOT = { government_allows = administrative }
NOT = { government_has_flag = government_has_influence }
}
# Base cost
value = {
@ -590,13 +590,13 @@ movement_petition_decision = {
sort_order = 80
is_shown = {
has_tgp_dlc_trigger = yes
top_participant_group:dynastic_cycle ?= {
NOR = {
participant_group_type = other_rulers
participant_group_type = hegemon_ruler
}
}
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -900,7 +900,7 @@ movement_petition_decision = {
}
}
ai_potential = {
ai_potential = {
always = no
}
ai_check_interval = 0
@ -916,7 +916,7 @@ movement_petition_change_laws_decision = {
reference = "gfx/interface/illustrations/event_story/tgp_dynastic_cycle_stability.dds"
}
is_invisible = yes
is_valid_showing_failures_only = {
is_available_adult = yes
is_any_movement_leader = yes
@ -1445,7 +1445,7 @@ ai_movement_petition_change_laws_decision = {
}
is_invisible = yes
cooldown = { years = 10 }
is_valid = {
is_available_ai_adult = yes
is_any_movement_leader = yes
@ -1540,7 +1540,7 @@ ai_movement_petition_change_laws_decision = {
top_participant_group:dynastic_cycle ?= {
participant_group_type = expansion_movement
}
add = 50
add = 50
}
modifier = {
situation:dynastic_cycle ?= {
@ -2047,7 +2047,7 @@ ai_movement_petition_change_laws_decision = {
set_variable = {
name = movement_petition
value = flag:error
}
}
}
if = {
limit = {
@ -2120,12 +2120,12 @@ renounce_noble_family_title_decision = {
decision_group_type = admin
is_shown = {
NOT = { top_liege = root } #This is not a general abdication decision
has_tgp_dlc_trigger = yes
is_playable_character = yes
is_house_head = yes
any_held_title = { is_noble_family_title = yes }
NOT = { religion = religion:buddhism_religion } # Uses tgp_japan_become_a_monk_decision
NOT = { top_liege = root } #This is not a general abdication decision
is_house_head = yes
is_playable_character = yes
has_tgp_dlc_trigger = yes
}
is_valid = {
@ -2177,7 +2177,7 @@ renounce_noble_family_title_decision = {
player = root
}
}
cost = {
influence = {
value = 0
@ -2277,26 +2277,26 @@ favor_dynastic_cycle_era_decision = {
sort_order = 80
is_shown = {
has_tgp_dlc_trigger = yes
is_ai = no
OR = {
AND = {
situation:dynastic_cycle ?= {
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
top_participant_group:dynastic_cycle ?= {
participant_group_type = hegemon_ruler
}
situation:dynastic_cycle ?= {
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
}
AND = {
situation:dynastic_cycle ?= {
situation_current_phase = situation_dynastic_cycle_phase_chaos
}
top_participant_group:dynastic_cycle ?= {
participant_group_type = other_rulers
}
situation:dynastic_cycle ?= {
situation_current_phase = situation_dynastic_cycle_phase_chaos
}
}
}
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -2393,13 +2393,13 @@ favor_movement_decision = {
sort_order = 80
is_shown = {
has_tgp_dlc_trigger = yes
is_ai = no
has_title = title:h_china
any_character_situation = {
situation_type = dynastic_cycle
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
has_title = title:h_china
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -2579,11 +2579,11 @@ favored_movement_consults_heaven_decision = {
sort_order = 80
is_shown = {
has_tgp_dlc_trigger = yes
any_character_situation = {
situation_type = dynastic_cycle
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
has_tgp_dlc_trigger = yes
top_participant_group:dynastic_cycle ?= {
NOT = { participant_group_type = other_rulers }
}
@ -3176,11 +3176,11 @@ house_head_consults_heaven_decision = {
sort_order = 80
is_shown = {
has_tgp_dlc_trigger = yes
any_character_situation = {
situation_type = dynastic_cycle
NOT = { situation_current_phase = situation_dynastic_cycle_phase_chaos }
}
has_tgp_dlc_trigger = yes
top_participant_group:dynastic_cycle ?= {
NOT = { participant_group_type = other_rulers }
}

View file

@ -18,18 +18,18 @@ restore_mandala_capital_decision = {
is_shown = {
government_has_flag = government_is_mandala
capital_province.county = { has_county_modifier = mandala_capital_sacked_modifier }
capital_province.county ?= { has_county_modifier = mandala_capital_sacked_modifier }
}
is_valid_showing_failures_only = {
is_at_war = no
is_imprisoned = no
NOT = { has_trait = incapable }
is_incapable = no
}
effect = {
remove_short_term_gold = major_gold_value
capital_province.county = {
capital_province.county = {
remove_county_modifier = mandala_capital_sacked_modifier
add_county_modifier = {
modifier = mandala_capital_restored_modifier
@ -71,18 +71,22 @@ convert_to_mandala_government_decision = {
}
is_shown = {
has_tgp_dlc_trigger = yes
is_landed = yes
highest_held_title_tier > tier_barony
has_mandala_culture_trigger = yes
NOT = { government_has_flag = government_is_mandala }
#We have a special decision for Mandala subjects...
trigger_if = {
limit = { is_tributary = yes }
NOT = {
NOT = {
overlord = { government_has_flag = government_is_mandala }
}
}
highest_held_title_tier > tier_barony
trigger_if = {
limit = { government_has_flag = government_is_celestial }
NOT = { has_title = title:h_china }
}
has_tgp_dlc_trigger = yes
}
is_valid = {
@ -90,7 +94,7 @@ convert_to_mandala_government_decision = {
limit = {
has_legitimacy = yes
dynasty ?= {
NOT = { has_dynasty_perk = tgp_sea_legacy_3 } #Bypasses Tribal Authority Requirement
NOT = { has_dynasty_perk = tgp_sea_legacy_3 } #Bypasses the Legitimacy requirement
}
}
legitimacy_level >= 4
@ -170,7 +174,7 @@ convert_to_mandala_government_decision = {
if = {
limit = {
culture = {
has_cultural_parameter = mandala_tributaries
has_cultural_parameter = mandala_tributaries
}
exists = confederation
}
@ -189,16 +193,24 @@ convert_to_mandala_government_decision = {
ai_potential = {
has_mandala_culture_trigger = yes
trigger_if = {
limit = {
has_legitimacy = yes
dynasty ?= {
NOT = { has_dynasty_perk = tgp_sea_legacy_3 }
}
}
legitimacy_level >= 4
}
trigger_if = {
limit = { government_has_flag = government_is_tribal }
has_realm_law = tribal_authority_3
prestige >= convert_to_mandala_government_tribal_value
}
trigger_else = {
prestige >= convert_to_mandala_government_nontribal_value
}
trigger_if = {
limit = {
limit = {
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
@ -207,17 +219,10 @@ convert_to_mandala_government_decision = {
primary_title.tier <= tier_duchy
}
primary_title.tier > tier_barony
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_is_theocracy
government_has_flag = government_is_mercenary
government_has_flag = government_is_holy_order
government_has_flag = government_is_administrative
government_has_flag = government_is_nomadic
government_has_flag = government_is_herder
government_has_flag = government_is_celestial
government_has_flag = government_is_steppe_admin
government_has_flag = government_is_meritocratic
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_tribal
}
NOT = {
any_owned_story = {
@ -264,17 +269,22 @@ assimilate_to_mandala_decision = {
duchy = 36
kingdom = 36
empire = 36
hegemony = 36
hegemony = 0
}
is_shown = {
has_tgp_dlc_trigger = yes
highest_held_title_tier > tier_barony
overlord ?= { government_has_flag = government_is_mandala }
NAND = {
NAND = {
government_has_flag = government_is_mandala
faith = overlord.faith
}
highest_held_title_tier > tier_barony
rite = { rite_has_doctrine = doctrine_polytheist }
NAND = {
has_title = title:h_china
government_has_mechanic = administrative
}
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -352,8 +362,8 @@ assimilate_to_mandala_decision = {
mandala_assimilation_effect = yes
if = {
limit = {
NOR = {
faith = overlord.faith
NOR = {
faith = overlord.faith
faith.religious_head ?= root
}
}
@ -361,9 +371,9 @@ assimilate_to_mandala_decision = {
}
#You got in early? Good for you!
if = {
limit = {
overlord = {
OR = {
limit = {
overlord = {
OR = {
middling_devaraja_quality_trigger = yes
poor_devaraja_quality_trigger = yes
terrible_devaraja_quality_trigger = yes
@ -371,21 +381,21 @@ assimilate_to_mandala_decision = {
}
}
if = {
limit = {
limit = {
overlord = { middling_devaraja_quality_trigger = yes }
}
add_character_flag = assimilation_payout_t1
custom_tooltip = { text = assimilation_payout_t1_tt }
}
else_if = {
limit = {
limit = {
overlord = { poor_devaraja_quality_trigger = yes }
}
add_character_flag = assimilation_payout_t2
custom_tooltip = { text = assimilation_payout_t2_tt }
}
else_if = {
limit = {
limit = {
overlord = { terrible_devaraja_quality_trigger = yes }
}
add_character_flag = assimilation_payout_t3
@ -428,7 +438,7 @@ assimilate_to_mandala_decision = {
primary_title.tier > tier_barony
#Keep the tributaries Wanua
trigger_if = {
limit = {
limit = {
government_has_flag = government_is_wanua
is_independent_ruler = yes
}
@ -436,7 +446,7 @@ assimilate_to_mandala_decision = {
}
#... but be more lenient on the Vassals
trigger_if = {
limit = {
limit = {
government_has_flag = government_is_wanua
is_independent_ruler = no
}
@ -487,12 +497,21 @@ assimilate_to_mandala_decision = {
opinion_target = overlord
multiplier = 1
}
modifier = {
add = {
value = highest_held_title_tier
multiply = -10
}
}
modifier = {
government_has_mechanic = administrative
factor = 0
}
modifier = {
capital_county.title_province = {
NOR = {
has_holding_type = temple_citadel_holding
has_holding_type = church_holding
has_holding_type = castle_holding
OR = {
has_holding_type = nomad_holding
has_holding_type = herder_holding
}
}
factor = 0
@ -518,11 +537,11 @@ mandala_adopt_clan_government_decision = {
}
is_shown = {
has_tgp_dlc_trigger = yes
government_has_flag = government_is_mandala
is_landed = yes
faith.religion = religion:islam_religion
faith.religion ?= religion:islam_religion
has_tgp_dlc_trigger = yes
highest_held_title_tier > tier_barony
is_landed = yes
}
is_valid_showing_failures_only = {
@ -593,17 +612,17 @@ visit_local_shrine_decision = {
}
is_shown = {
exists = capital_province
has_tgp_dlc_trigger = yes
highest_held_title_tier >= tier_county
faith = { has_doctrine = doctrine_pilgrimage_local_rites }
rite ?= { rite_has_doctrine = doctrine_pilgrimage_local_rites }
trigger_if = { # Allow a Capital exam to be hosted first.
limit = {
is_ai = yes
highest_held_title_tier = tier_hegemony
is_ai = yes
}
years_from_game_start >= 10
}
has_tgp_dlc_trigger = yes
exists = capital_province
}
is_valid_showing_failures_only = {
@ -644,22 +663,22 @@ seize_mandala_capital_decision = {
is_shown = {
government_has_flag = government_is_mandala
has_mandala_capital_trigger = no
any_subject = {
is_ai = yes
any_sub_realm_barony = {
kingdom = root.capital_county.kingdom
title_province = {
title_province ?= {
has_building_with_flag = mandala_capital_building
has_ruined_great_building = no
}
kingdom ?= root.capital_county.kingdom
}
}
has_mandala_capital_trigger = no
}
is_valid_showing_failures_only = {
is_imprisoned = no
NOT = { has_trait = incapable }
is_incapable = no
}
effect = {
@ -727,6 +746,7 @@ create_bunga_mas_decision = {
ai_check_interval = 0 #Not for AI
is_shown = {
highest_held_title_tier >= tier_county
#Tease Mandala rulers
trigger_if = {
limit = { is_tributary = no }
@ -735,9 +755,8 @@ create_bunga_mas_decision = {
#... unless you're actually the tributary of a Mandala
trigger_else = {
is_tributary = yes
suzerain = { government_has_flag = government_is_mandala }
suzerain ?= { government_has_flag = government_is_mandala }
}
highest_held_title_tier >= tier_county
exists = capital_province
}
@ -827,7 +846,7 @@ create_bunga_mas_decision = {
#Mandala Creation Aspect
if = {
limit = {
limit = {
government_has_flag = government_is_mandala
house = { has_house_aspiration_parameter = aspect_of_creation }
is_house_head = yes

View file

@ -19,13 +19,11 @@ visit_silk_road_market_decision = {
}
is_shown = {
exists = situation:silk_road_situation
OR = {
is_ai = no
any_character_situation = { situation_type = silk_road_situation }
is_ai = no
}
has_tgp_dlc_trigger = yes
is_playable_character = yes
#There is no point in showing this decision if you cannot benefit from going at all:
OR = {
silk_road_valid_market_to_visit_trigger = { SUB_REGION = china }
@ -35,6 +33,9 @@ visit_silk_road_market_decision = {
silk_road_valid_market_to_visit_trigger = { SUB_REGION = transcaspia }
silk_road_valid_market_to_visit_trigger = { SUB_REGION = occident }
}
is_playable_character = yes
has_tgp_dlc_trigger = yes
}
is_valid = {

View file

@ -17,14 +17,11 @@
selection_tooltip = adopt_steppe_administration_tooltip
is_shown = {
has_mpo_dlc_trigger = yes
has_tgp_dlc_trigger = yes
highest_held_title_tier >= tier_kingdom
government_has_flag = government_is_nomadic
OR = {
highest_held_title_tier = tier_kingdom
highest_held_title_tier = tier_empire
}
is_playable_character = yes
has_tgp_dlc_trigger = yes
has_mpo_dlc_trigger = yes
}
is_valid = {
@ -263,10 +260,10 @@ return_to_the_steppe_decision = {
}
is_shown = {
has_mpo_dlc_trigger = yes
has_tgp_dlc_trigger = yes
government_has_flag = government_is_steppe_admin
is_independent_ruler = yes
has_mpo_dlc_trigger = yes
has_tgp_dlc_trigger = yes
is_playable_character = yes
NOT = {
any_vassal_or_below = {
@ -400,24 +397,21 @@ convert_to_meritocratic_decision = {
selection_tooltip = convert_to_meritocratic_tooltip
is_shown = {
has_tgp_dlc_trigger = yes
highest_held_title_tier >= tier_kingdom # this isn't standard, but will cover some edge cases for orphaned steppe admin kingdoms
government_has_flag = government_is_steppe_admin
OR = {
highest_held_title_tier = tier_kingdom # this isn't standard, but will cover some edge cases for orphaned steppe admin kingdoms
highest_held_title_tier = tier_empire
}
is_playable_character = yes
any_sub_realm_county = {
count > 0
title_province = {
OR = {
has_holding_type = castle_holding
has_holding_type = temple_citadel_holding
has_holding_type = church_holding
has_holding_type = city_holding
has_holding_type = temple_citadel_holding
}
}
}
is_playable_character = yes
has_tgp_dlc_trigger = yes
}
is_valid = {

View file

@ -8,11 +8,15 @@ tgp_divine_reincarnation_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/hindu_religious.dds"
}
decision_group_type = religious
sort_order = 120
is_shown = {
is_ai = no
faith = { has_doctrine = tenet_reincarnation }
OR = {
rite ?= { rite_has_tenet = tenet_reincarnation }
has_personal_tenet_flag = tenet_reincarnation_trigger_decision
}
}
is_valid_showing_failures_only = {

View file

@ -14,7 +14,7 @@ tribute_mission_decision_mandala = {
is_shown = {
is_tributary = yes
suzerain = { government_has_flag = government_is_mandala }
suzerain ?= { government_has_flag = government_is_mandala }
}
is_valid_showing_failures_only = {
@ -148,8 +148,8 @@ tribute_mission_decision_china = {
cooldown = { years = 5 }
is_shown = {
title:h_china ?= { is_title_created = yes }
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = h_china }
title:h_china ?= { is_title_created = yes }
}
is_valid_showing_failures_only = {