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

@ -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 = {